.intake-page { min-height: 100vh; color: #e9eef7; background: radial-gradient(circle at 80% 10%, rgba(45,127,249,.18), transparent 28%), #06101d; }
.intake-header { border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(6,16,29,.9); }
.intake-nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.back-link { color: #c9d4e5; font-size: .88rem; font-weight: 700; }
.back-link:hover, .back-link:focus-visible { color: #d3a84f; }
.intake-main { padding: 70px 0 100px; }
.intake-shell { display: grid; grid-template-columns: minmax(260px,.62fr) minmax(0,1.38fr); gap: 70px; align-items: start; }
.intake-intro { position: sticky; top: 32px; }
.intake-intro h1 { margin: 18px 0 24px; font-size: clamp(2.6rem,5vw,4.75rem); line-height: 1; }
.intake-intro > p:not(.kicker) { color: #b8c5d8; font-size: 1.04rem; }
.privacy-note { margin-top: 35px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.privacy-note strong, .privacy-note span { display: block; }
.privacy-note strong { color: #f2c66e; }
.privacy-note span { margin-top: 7px; color: #9eabc0; font-size: .86rem; }
.form-card { min-width: 0; max-width: 100%; color: #0a1c33; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.progress-wrap { padding: 22px 32px 0; }
.progress-copy { display: flex; justify-content: space-between; gap: 20px; color: #5b687a; font-size: .78rem; font-weight: 750; }
.progress-track { height: 4px; margin-top: 13px; overflow: hidden; background: #e5eaf2; }
.progress-track span { display: block; width: 16.666%; height: 100%; background: #2d7ff9; transition: width .2s ease; }
#quick-start-form { min-width: 0; max-width: 100%; padding: 28px 32px 32px; }
.form-step { display: none; min-width: 0; max-width: 100%; }
.form-step.active { display: block; }
.form-step h2, .submission-ready h2 { margin: 3px 0 26px; font-family: Georgia, serif; font-size: clamp(1.85rem,3vw,2.75rem); line-height: 1.12; font-weight: 500; }
.step-kicker { margin: 0; color: #2d7ff9; font-size: .72rem; font-weight: 850; letter-spacing: .15em; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.wide { grid-column: 1 / -1; }
.form-step > label, .field-grid label { display: block; margin: 0 0 19px; color: #283a50; font-size: .88rem; font-weight: 750; }
.field-grid label { margin: 0; }
.form-step input[type="text"], .form-step input[type="email"], .form-step input[type="tel"], .form-step input:not([type]), .form-step select, .form-step textarea {
  width: 100%; min-height: 50px; margin-top: 7px; padding: 12px 13px; border: 1px solid #c8d1df; border-radius: 0; color: #0a1c33; background: #fbfcfe;
}
.form-step textarea { resize: vertical; }
.form-step input:focus, .form-step select:focus, .form-step textarea:focus { outline: 3px solid rgba(45,127,249,.18); border-color: #2d7ff9; }
.form-step [aria-invalid="true"] { border-color: #b42318 !important; }
fieldset { min-width: 0; max-width: 100%; padding: 0; margin: 0 0 24px; border: 0; }
legend { width: 100%; margin-bottom: 10px; color: #283a50; font-size: .88rem; font-weight: 800; }
.choice-stack, .choice-grid, .choice-row { display: grid; gap: 9px; }
.choice-grid { grid-template-columns: 1fr 1fr; }
.choice-row { grid-template-columns: repeat(4,1fr); }
.choice-stack label, .choice-grid label, .choice-row label, .ack-check { min-height: 49px; display: flex; align-items: flex-start; gap: 11px; padding: 11px 12px; border: 1px solid #d7dee9; color: #26384c; background: #fbfcfe; cursor: pointer; font-size: .87rem; font-weight: 650; }
.choice-stack, .choice-grid, .choice-row,
.choice-stack label, .choice-grid label, .choice-row label, .ack-check,
.choice-stack span, .choice-grid span, .choice-row span, .ack-check span {
  min-width: 0;
  max-width: 100%;
}
.choice-stack span, .choice-grid span, .choice-row span, .ack-check span { overflow-wrap: anywhere; }
.choice-stack label:has(input:checked), .choice-grid label:has(input:checked), .choice-row label:has(input:checked), .ack-check:has(input:checked) { border-color: #2d7ff9; background: #eef5ff; }
.choice-stack input, .choice-grid input, .choice-row input, .ack-check input { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto; accent-color: #2d7ff9; }
.compact-choices label { min-height: 45px; }
.conditional-panel { display: none; padding: 20px; margin-bottom: 18px; border: 1px solid #d9e0ea; background: #f7f9fc; }
.conditional-panel.visible { display: block; }
.conditional-panel h3 { margin: 0 0 18px; font-family: Georgia, serif; font-size: 1.3rem; }
.conditional-panel > label:last-child { margin-bottom: 0; }
.acknowledgment { padding: 18px; border: 1px solid #d8e0eb; background: #f6f8fb; }
.acknowledgment p { color: #516176; font-size: .87rem; }
.ack-check { margin: 0; background: #fff; }
.ack-check b { color: #b42318; }
.review-summary { margin-top: 18px; color: #516176; font-size: .88rem; }
.review-summary strong { color: #0a1c33; }
.review-summary dt { margin-top: 12px; font-weight: 750; }
.review-summary dd { margin: 3px 0 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.form-error { min-height: 24px; margin-top: 15px; color: #b42318; font-size: .86rem; font-weight: 750; }
.form-actions { display: flex; align-items: center; gap: 10px; padding-top: 13px; border-top: 1px solid #e0e5ed; }
.form-actions .button { min-height: 48px; }
.form-actions .button:disabled { cursor: wait; opacity: .68; }
.form-secondary { color: #172b44; border-color: #cbd4e1; background: #fff; }
#next-button, #submit-button { margin-left: auto; }
#submit-button { display: none; }
#back-button { visibility: hidden; }
.submission-ready { padding: 35px 32px 38px; }
.submission-ready p:not(.step-kicker) { color: #526176; }
.submission-ready .button { margin: 8px 8px 0 0; }

@media (max-width: 920px) {
  .intake-shell { grid-template-columns: 1fr; gap: 35px; }
  .intake-intro { position: static; }
  .intake-intro h1 { max-width: 720px; }
}

@media (max-width: 640px) {
  html, body { max-width: 100%; overflow-x: clip; }
  .intake-shell { width: calc(100% - 28px); min-width: 0; }
  .intake-nav { min-height: 72px; }
  .back-link { font-size: .78rem; }
  .intake-main { padding: 42px 0 70px; }
  .intake-intro h1 { font-size: 2.75rem; }
  .progress-wrap, #quick-start-form, .submission-ready { padding-left: 18px; padding-right: 18px; }
  .progress-copy { flex-direction: column; gap: 2px; }
  .field-grid, .choice-grid, .choice-row { grid-template-columns: 1fr; }
  .wide { grid-column: auto; }
  .form-step input:not([type="radio"]):not([type="checkbox"]), .form-step select, .form-step textarea { font-size: 16px; }
  .form-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .form-actions .button { width: 100%; margin: 0; }
  #next-button, #submit-button { grid-column: 1 / -1; }
  #clear-button { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .progress-track span { transition: none; }
}
