:root {
  --navy: #0d2238;
  --navy-light: #35516d;
  --muted: #526779;
  --lime: #c6f135;
  --line: #dce4d9;
  --background: #f5f8f2;
  --error: #9b241a;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: var(--navy);
  background: var(--background);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.intake-skip { position: fixed; z-index: 2; inset: .5rem auto auto .5rem; padding: .75rem; background: white; transform: translateY(-150%); }
.intake-skip:focus { transform: none; }
.intake-top, .intake-layout { max-width: 1180px; margin-inline: auto; padding-inline: 28px; }
.intake-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px; }
.intake-top img { display: block; width: auto; height: 44px; max-width: 100%; }
.intake-top a { font-size: .875rem; color: var(--navy-light); font-weight: 700; text-decoration: none; }
.intake-top a:hover { text-decoration: underline; }
.intake-layout { display: grid; grid-template: "intro form" auto "help form" 1fr / minmax(0, 360px) minmax(0, 1fr); gap: 26px 40px; align-items: start; padding-block: 8px 60px; }
.intake-intro { grid-area: intro; }
.intake-layout > form { grid-area: form; }
.intake-help { grid-area: help; }
.intake-layout-single { display: block; }
.intake-intro h1 { margin: 6px 0 14px; font-size: clamp(2.2rem, 4vw, 2.875rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.intake-intro h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--lime) 62%); }
.intake-intro p { margin: 0; color: var(--navy-light); font-size: 1.03rem; line-height: 1.55; }
.intake-intro .intake-tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 30px; background: #edf8ce; color: #425803; font-size: .78rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.intake-price { margin-block-start: 14px; padding: 12px 16px; border-radius: 12px; background: #edf8ce; line-height: 1.5; }
.intake-tag::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: #2ea84f; }
.intake-next { position: relative; overflow: hidden; isolation: isolate; padding: 22px 22px 8px; border-radius: 16px; color: #fff; background: var(--navy); }
.intake-next::after { content: ""; position: absolute; z-index: -1; inset: -40px -40px auto auto; width: 184px; aspect-ratio: 1; border-radius: 50%; border: 22px solid #c6f13520; }
.intake-next h2 { margin: 0 0 14px; font-size: .94rem; letter-spacing: .02em; color: var(--lime); text-transform: uppercase; }
.intake-next ol { list-style: none; margin: 0; padding: 0; }
.intake-next li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding-bottom: 16px; font-size: .925rem; line-height: 1.45; color: #dbe4ee; }
.intake-next strong { display: block; margin-bottom: 2px; color: white; }
.intake-next li > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--navy); font-size: .82rem; font-weight: 800; }
.intake-next li:first-child > span { background: #ef6957; }
.intake-next li:nth-child(2) > span { background: #47bc68; }
.intake-trust { display: flex; gap: 10px; align-items: start; margin: 16px 0 0; color: var(--muted); font-size: .86rem; }
.intake-trust svg { flex: none; }

.intake-card { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 1px 0 #0d223808, 0 18px 40px -24px #0d223840; }
.intake-progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 18px 22px 0; margin: 0; list-style: none; }
.intake-progress button { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; width: 100%; min-height: 38px; padding: 8px 0 0; border: 0; border-top: 6px solid var(--line); border-radius: 5px 5px 0 0; background: transparent; color: var(--muted); font-size: .79rem; font-weight: 750; text-align: left; }
.intake-progress button:disabled { cursor: default; }
.intake-progress button[aria-current] { border-top-color: var(--lime); color: var(--navy); cursor: default; }
.intake-progress .intake-complete button { border-top-color: var(--navy); color: var(--navy); }
.intake-progress button > span:first-child { display: grid; flex: 0 0 18px; height: 18px; place-items: center; border-radius: 50%; background: var(--line); font-size: .7rem; }
.intake-progress button[aria-current] > span:first-child { background: var(--lime); }
.intake-progress .intake-complete button > span:first-child { background: var(--navy); color: #fff; }
.intake-step { padding: 26px 30px 8px; }
.intake-step h2 { margin: 0 0 4px; font-size: 1.625rem; font-weight: 800; letter-spacing: -.03em; }
.intake-sub, .intake-hint { color: var(--muted); line-height: 1.5; }
.intake-sub { margin: 0 0 22px; font-size: .94rem; }
.intake-hint { margin: 8px 0 0; font-size: .825rem; }
.intake-child, .intake-question { min-width: 0; border: 0; padding: 0; margin-inline: 0; }
.intake-child { margin-block: 22px 0; }
.intake-child legend { width: 100%; margin-bottom: 12px; padding: 18px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; font-weight: 750; text-transform: uppercase; letter-spacing: .035em; }
.intake-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.intake-field { display: grid; gap: 6px; min-width: 0; }
.intake-field > label, .intake-question legend { font-size: .91rem; font-weight: 650; }
.intake-field + .intake-field { margin-top: 16px; }
.intake-grid .intake-field + .intake-field { margin-top: 0; }
.intake-field :is(input, select, textarea) { width: 100%; min-width: 0; min-height: 50px; border: 1px solid #d6e0d3; border-radius: 12px; padding: 0 14px; background: #fff; font-size: 1rem; }
.intake-field select { appearance: none; padding-right: 34px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230d2238' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center; }
.intake-field textarea { padding: 12px 14px; min-height: 96px; resize: vertical; }
.intake-field :is(input, select, textarea):focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 4px #c6f1358c; }
.intake-field [aria-invalid] { border-color: var(--error); }
.intake-question { margin-block: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.intake-question legend { padding: 0; margin-bottom: 8px; }
.intake-ball-question { border-bottom: 0; }
.intake-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.intake-choice { position: relative; }
.intake-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.intake-choice span { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 5px 14px; border: 1px solid #d6e0d3; border-radius: 26px; font-size: .9rem; font-weight: 650; cursor: pointer; }
.intake-choice span:hover { border-color: var(--muted); }
.intake-choice input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.intake-choice input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; box-shadow: 0 0 0 5px #c6f1358c; }
.intake-choice input[aria-invalid] + span { border-color: var(--error); }
.intake-dot { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px #ffffffa0; }
.intake-dot.red { background: #e5402f; }
.intake-dot.orange { background: #f39a1e; }
.intake-dot.green { background: #2ea84f; }
.intake-dot.lime { background: #bde82f; }
.intake-consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; margin-bottom: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: .91rem; line-height: 1.45; cursor: pointer; }
.intake-consent:has(input:checked) { border-color: var(--navy); background: #fbfdf7; }
.intake-consent input { width: 22px; height: 22px; margin: 0; accent-color: var(--navy); }
.intake-consent:has([aria-invalid]) { border-color: var(--error); }
.intake-consent a { text-underline-offset: 3px; text-decoration-color: #698700; }
.intake-summary { margin: 0 0 20px; padding: 6px 14px; border-radius: 14px; background: #f4f8ef; }
.intake-summary > div { display: grid; grid-template-columns: minmax(0, 8rem) minmax(0, 1fr) auto; gap: 10px; align-items: start; padding-block: 10px; font-size: .9rem; }
.intake-summary > div + div { border-top: 1px solid var(--line); }
.intake-summary dt { color: var(--muted); font-weight: 650; }
.intake-summary dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.intake-summary button { padding: 0; border: 0; background: none; color: #425803; font-size: .85rem; font-weight: 750; text-decoration: underline; }
.intake-error { margin: 12px 0; color: var(--error); font-size: .9rem; font-weight: 650; }
form > .intake-error { margin: 18px 30px 0; padding: 12px; border-radius: 8px; background: #fff3ee; }
.intake-actions, .intake-message-actions { display: flex; align-items: center; gap: 12px; }
.intake-actions { justify-content: space-between; padding: 20px 30px 26px; margin-top: 24px; border-top: 1px solid var(--line); }
.intake-actions span { color: var(--muted); font-size: .85rem; }
.intake-actions [data-submit] { margin-inline-start: auto; }
.intake-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 8px 24px; border: 1px solid transparent; border-radius: 14px; color: var(--navy); font-weight: 800; text-decoration: none; text-align: center; }
.intake-button.primary { background: var(--lime); box-shadow: 0 5px 0 #9cc21a; }
.intake-button.primary:hover { background: #d0f658; }
.intake-button.primary:disabled { cursor: default; opacity: .75; }
.intake-button.secondary { background: white; border-color: #c8d4c5; }
.intake-button.secondary:hover { border-color: var(--navy); }
.intake-message { max-width: 43rem; margin: 0 auto; padding: clamp(20px, 6vw, 48px); text-align: center; }
.intake-message h1 { margin: 0; font-size: clamp(1.85rem, 4vw, 2.25rem); line-height: 1.1; letter-spacing: -.03em; }
.intake-message p { line-height: 1.55; color: var(--navy-light); }
.intake-success { display: block; margin-inline: auto; }
.intake-message .intake-address { width: fit-content; max-width: 100%; margin-inline: auto; padding: 8px 14px; border-radius: 10px; background: #edf8ce; color: var(--navy); font-weight: 700; overflow-wrap: anywhere; }
.intake-message-actions { justify-content: center; flex-wrap: wrap; margin-top: 20px; }

@media (max-width: 900px) {
  .intake-top { padding: 14px 18px; }
  .intake-top img { height: 34px; }
  .intake-layout { grid-template: "intro" "form" "help" / minmax(0, 1fr); gap: 18px; padding: 0 0 40px; }
  .intake-intro, .intake-help { padding-inline: 18px; }
  .intake-intro p { font-size: .97rem; }
  .intake-layout > form { border-inline: 0; box-shadow: none; }
  .intake-progress { padding: 14px 18px 0; }
  .intake-progress button > span:nth-child(2) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .intake-progress button[aria-current] > span:nth-child(2) { position: static; width: auto; height: auto; overflow: visible; clip-path: none; font-size: .72rem; }
  .intake-step { padding: 18px 18px 6px; }
  .intake-step h2 { font-size: 1.43rem; }
  .intake-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .intake-summary > div { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
  .intake-summary dt { grid-column: 1 / -1; }
  form > .intake-error { margin-inline: 18px; }
  .intake-actions { padding: 14px 18px 18px; }
  .intake-progress:not([hidden]) ~ .intake-actions { position: sticky; z-index: 1; bottom: 0; margin-bottom: 0; padding-bottom: calc(18px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -8px 24px -12px #0d223840; }
  .intake-step :is(input, select, textarea) { scroll-margin-bottom: 90px; }
  .intake-actions span { display: none; }
  .intake-actions [data-submit] { flex: 1; }
  .intake-layout-single { padding-inline: 18px; }
}
.intake-privacy-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.25rem; padding: 1rem; font-size: .9rem; }
.intake-privacy-links a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
