.lli-intake-shell,
.lli-intake-shell * {
	box-sizing: border-box;
}

.lli-intake-shell {
	--lli-dark: #272727;
	--lli-dark-soft: #303030;
	--lli-line: rgba(255, 255, 255, 0.22);
	--lli-line-strong: rgba(255, 255, 255, 0.48);
	--lli-text: #ffffff;
	--lli-muted: #bdb7ad;
	--lli-light: #f3f1ed;
	--lli-ink: #282725;
	--lli-ink-muted: #6f6a62;
	--lli-error: #e5a49f;
	display: block;
	width: 100%;
	max-width: 1600px;
	min-height: 0;
	margin: 0 auto;
	overflow: hidden;
	background: var(--lli-dark);
	color: var(--lli-text);
	font-family: inherit;
}

.lli-intake-form-panel {
	min-width: 0;
	padding: clamp(44px, 5vw, 84px) clamp(28px, 5vw, 76px);
	background: var(--lli-dark);
}

.lli-intake-intro {
	max-width: 760px;
	margin-bottom: 42px;
}

.lli-eyebrow {
	margin: 0 0 16px;
	color: var(--lli-muted);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.lli-intake-intro h2,
.lli-success h3 {
	margin: 0;
	font-family: inherit;
	font-size: clamp(34px, 4.2vw, 62px);
	font-weight: 400;
	line-height: 1.04;
	letter-spacing: 0;
}

.lli-intake-intro > p:last-child {
	max-width: 760px;
	margin: 22px 0 0;
	color: var(--lli-muted);
	font-size: 17px;
	line-height: 1.75;
}

.lli-intake-form {
	max-width: 780px;
	overflow-anchor: none;
}

.lli-progress {
	margin-bottom: 42px;
}

.lli-progress-meta {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 12px;
	color: var(--lli-muted);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lli-progress-track {
	height: 1px;
	overflow: hidden;
	background: var(--lli-line);
}

.lli-progress-track span {
	display: block;
	height: 100%;
	background: #ffffff;
	transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lli-step {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	animation: lli-step-in 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lli-step[hidden],
.lli-conditional[hidden],
.lli-button[hidden],
.lli-form-alert[hidden],
.lli-success[hidden] {
	display: none !important;
}

@keyframes lli-step-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.lli-step legend {
	display: block;
	width: 100%;
	margin: 0 0 28px;
	padding: 0;
	color: var(--lli-text);
	font-size: clamp(27px, 3vw, 40px);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: 0;
}

.lli-step-copy {
	margin: 0 0 18px;
	color: var(--lli-text);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.55;
}

.lli-question {
	margin-bottom: 36px;
}

.lli-choice-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}

.lli-choice-grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lli-choice-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lli-choice {
	position: relative;
	display: flex;
	align-items: center;
	min-width: 0;
	min-height: 58px;
	margin: 0;
	padding: 13px 18px;
	border: 1px solid var(--lli-line);
	background: transparent;
	color: var(--lli-text);
	cursor: pointer;
	transition: border-color 220ms ease, background-color 220ms ease, color 220ms ease;
}

.lli-choice:hover {
	border-color: var(--lli-line-strong);
	background: rgba(255, 255, 255, 0.035);
}

.lli-choice:has(input:checked) {
	border-color: #ffffff;
	background: #ffffff;
	color: var(--lli-ink);
}

.lli-choice input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.lli-choice span {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	font-size: 15px;
	line-height: 1.35;
}

.lli-choice span::before {
	content: "";
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	border: 1px solid currentColor;
	background: transparent;
	transition: background-color 180ms ease, box-shadow 180ms ease;
}

.lli-choice input[type="radio"] + span::before {
	border-radius: 50%;
}

.lli-choice input:checked + span::before {
	background: currentColor;
	box-shadow: inset 0 0 0 3px #ffffff;
}

.lli-choice input[type="checkbox"]:checked + span::before {
	box-shadow: inset 0 0 0 3px #ffffff;
}

.lli-choice:has(input:focus-visible) {
	outline: 2px solid #ffffff;
	outline-offset: 3px;
}

.lli-field {
	margin-top: 26px;
}

.lli-field-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.lli-field-grid > .lli-field {
	margin-top: 0;
}

.lli-field label {
	display: block;
	margin: 0 0 10px;
	color: var(--lli-muted);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.lli-field input,
.lli-field textarea,
.lli-field select,
.lli-step > .lli-field select {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 62px;
	margin: 0;
	padding: 17px 18px;
	border: 1px solid var(--lli-line);
	border-radius: 0;
	outline: 0;
	background: var(--lli-dark);
	box-shadow: none;
	color: var(--lli-text);
	font: inherit;
	font-size: 16px;
	line-height: 1.45;
	transition: border-color 180ms ease, background-color 180ms ease;
	appearance: auto;
}

.lli-field textarea {
	min-height: 156px;
	resize: vertical;
}

.lli-field input::placeholder,
.lli-field textarea::placeholder {
	color: #8f8b85;
	opacity: 1;
}

.lli-field input:focus,
.lli-field textarea:focus,
.lli-field select:focus {
	border-color: #ffffff;
	background: #2d2d2d;
}

.lli-field input[type="date"] {
	color-scheme: dark;
}

.lli-field.is-invalid input,
.lli-field.is-invalid textarea,
.lli-field.is-invalid select,
.lli-choice-group.is-invalid .lli-choice {
	border-color: var(--lli-error);
}

.lli-field-error {
	margin: 8px 0 0;
	color: var(--lli-error);
	font-size: 13px;
	line-height: 1.45;
}

.lli-choice-group > .lli-field-error {
	grid-column: 1 / -1;
}

.lli-switch {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 6px 0 26px;
	color: var(--lli-text);
	font-size: 15px;
	line-height: 1.4;
	cursor: pointer;
}

.lli-switch input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
}

.lli-switch-control {
	position: relative;
	width: 42px;
	height: 23px;
	border: 1px solid var(--lli-line-strong);
	border-radius: 999px;
	background: transparent;
	transition: background-color 180ms ease, border-color 180ms ease;
}

.lli-switch-control::after {
	content: "";
	position: absolute;
	top: 4px;
	left: 4px;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var(--lli-muted);
	transition: transform 180ms ease, background-color 180ms ease;
}

.lli-switch input:checked + .lli-switch-control {
	border-color: #ffffff;
	background: #ffffff;
}

.lli-switch input:checked + .lli-switch-control::after {
	background: var(--lli-dark);
	transform: translateX(19px);
}

.lli-switch:has(input:focus-visible) .lli-switch-control {
	outline: 2px solid #ffffff;
	outline-offset: 3px;
}

.lli-conditional {
	margin-bottom: 28px;
	animation: lli-step-in 280ms ease-out;
}

.lli-navigation {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
	margin-top: 42px;
}

.lli-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	min-width: 168px;
	min-height: 58px;
	padding: 14px 24px;
	border: 1px solid #ffffff;
	border-radius: 999px;
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.lli-button span[aria-hidden="true"] {
	transition: transform 220ms ease;
}

.lli-button--next,
.lli-button--submit {
	background: #ffffff;
	color: var(--lli-ink);
}

.lli-button--back {
	margin-right: auto;
	background: transparent;
	color: #ffffff;
}

.lli-button:hover:not(:disabled) span[aria-hidden="true"] {
	transform: translateX(4px);
}

.lli-button--back:hover:not(:disabled) span[aria-hidden="true"] {
	transform: translateX(-4px);
}

.lli-button--back:hover:not(:disabled) {
	background: rgba(255, 255, 255, 0.08);
}

.lli-button--next:hover:not(:disabled),
.lli-button--submit:hover:not(:disabled) {
	border-color: var(--lli-muted);
	background: var(--lli-muted);
}

.lli-button:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 4px;
}

.lli-button:disabled {
	cursor: wait;
	opacity: 0.58;
}

.lli-form-alert {
	margin: 0 0 28px;
	padding: 14px 16px;
	border: 1px solid var(--lli-error);
	color: var(--lli-error);
	font-size: 14px;
	line-height: 1.5;
}

.lli-review {
	margin-top: 34px;
	padding-top: 28px;
	border-top: 1px solid var(--lli-line);
}

.lli-review h3 {
	margin: 0 0 18px;
	color: var(--lli-text);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
}

.lli-review dl {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	gap: 10px 20px;
	margin: 0;
}

.lli-review dt {
	color: var(--lli-muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.lli-review dd {
	margin: 0;
	color: var(--lli-text);
	font-size: 14px;
	line-height: 1.5;
}

.lli-consent {
	margin: 28px 0 0;
	color: var(--lli-muted);
	font-size: 12px;
	line-height: 1.6;
}

.lli-consent a {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lli-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.lli-success {
	max-width: 680px;
	padding: 56px 0;
}

.lli-success h3 {
	margin-bottom: 24px;
}

.lli-success > p:last-child {
	max-width: 560px;
	margin: 0;
	color: var(--lli-muted);
	font-size: 17px;
	line-height: 1.7;
}

.lli-noscript {
	padding: 16px;
	border: 1px solid var(--lli-error);
	color: var(--lli-error);
}

@media (max-width: 1024px) {
	html,
	body {
		max-width: 100%;
		overflow-x: clip;
	}

	.lli-intake-form {
		max-width: none;
	}
}

@media (max-width: 640px) {
	.lli-intake-shell {
		width: 100%;
		min-width: 0;
		min-height: 0;
	}

	.lli-intake-form-panel {
		width: 100%;
		min-width: 0;
		padding: 44px 20px;
	}

	.lli-intake-intro {
		margin-bottom: 34px;
	}

	.lli-intake-intro h2 {
		font-size: 38px;
	}

	.lli-intake-intro > p:last-child {
		font-size: 15px;
		line-height: 1.65;
	}

	.lli-progress {
		margin-bottom: 32px;
	}

	.lli-progress-meta {
		gap: 12px;
		font-size: 10px;
	}

	.lli-step legend {
		margin-bottom: 24px;
		font-size: 29px;
	}

	.lli-choice-grid--two,
	.lli-choice-grid--three,
	.lli-field-grid {
		grid-template-columns: 1fr;
	}

	.lli-choice {
		min-height: 54px;
		padding: 12px 14px;
	}

	.lli-field input,
	.lli-field textarea,
	.lli-field select {
		min-height: 58px;
		padding: 15px 14px;
		font-size: 16px;
	}

	.lli-navigation {
		flex-wrap: wrap;
	}

	.lli-button {
		min-width: 0;
	}

	.lli-button--next,
	.lli-button--submit {
		flex: 1 1 190px;
	}

	.lli-button--back {
		flex: 0 0 auto;
	}

	.lli-review dl {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.lli-review dd {
		margin-bottom: 10px;
	}

}

@media (prefers-reduced-motion: reduce) {
	.lli-intake-shell *,
	.lli-intake-shell *::before,
	.lli-intake-shell *::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
