.lf-form {
	background: var(--lf-white);
	border: 1px solid var(--lf-border);
	border-radius: var(--lf-radius);
	padding: 1.5rem;
	font-family: var(--lf-font-body);
}

.lf-form-wizard,
.lf-form-wizard fieldset {
	font-family: var(--lf-font-body);
}

.lf-form__grid {
	display: grid;
	gap: 1rem;
}

@media (min-width: 640px) {
	.lf-form__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.lf-form__field {
	margin: 0 0 1rem;
}

.lf-form__field label {
	display: block;
	margin-bottom: 0.35rem;
	font-family: var(--lf-font-body);
	font-weight: 600;
	font-size: 0.9375rem;
}

.lf-form__field input,
.lf-form__field select,
.lf-form__field textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--lf-border);
	border-radius: 0.5rem;
	font-family: var(--lf-font-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	background: var(--lf-cream);
	color: var(--lf-navy);
}

.lf-form__field input:focus,
.lf-form__field select:focus,
.lf-form__field textarea:focus {
	outline: 2px solid var(--lf-orange);
	outline-offset: 2px;
	border-color: var(--lf-orange);
}

.lf-form__honeypot {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.lf-form-notice {
	padding: 1rem 1.25rem;
	border-radius: 0.5rem;
	margin-bottom: 1rem;
}

.lf-form-notice--success {
	background: #e8f5e9;
	color: #1b5e20;
}

.lf-form-notice--error {
	background: #ffebee;
	color: #b71c1c;
}

/* Wizard */
.lf-form-wizard {
	position: relative;
}

.lf-form-wizard__progress {
	height: 4px;
	margin-bottom: 1.5rem;
	background: var(--lf-border);
	border-radius: 999px;
	overflow: hidden;
}

.lf-form-wizard__progress-bar {
	height: 100%;
	width: 0;
	background: var(--lf-orange);
	transition: width 0.25s ease;
}

.lf-form-wizard__step {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
	display: none;
}

.lf-form-wizard__step.is-active {
	display: block;
}

.lf-form-wizard__step-title {
	margin: 0 0 1.25rem;
	font-family: var(--lf-font-body);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.45;
	color: var(--lf-navy);
}

.lf-form-wizard__hint {
	margin: -0.5rem 0 1rem;
	color: var(--lf-muted);
	font-size: 0.95rem;
}

.lf-form-wizard__choices {
	display: grid;
	gap: 0.75rem;
}

.lf-form-wizard__choices--inline {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lf-form-wizard__choices--grid {
	grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
}

.lf-form-choice {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.9rem 1rem;
	border: 2px solid var(--lf-border);
	border-radius: var(--lf-radius-sm);
	background: var(--lf-cream);
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.lf-form-choice:has(input:checked) {
	border-color: var(--lf-orange);
	background: #fff8f5;
}

.lf-form-choice input {
	flex-shrink: 0;
	width: 1.1rem;
	height: 1.1rem;
	margin: 0;
	accent-color: var(--lf-orange);
}

.lf-form-choice__label {
	font-family: var(--lf-font-body);
	font-weight: 600;
	font-size: 0.9375rem;
	line-height: 1.4;
}

.lf-form-wizard__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.lf-form__error {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border-radius: 0.5rem;
	background: #ffebee;
	color: #b71c1c;
	font-size: 0.95rem;
}
