:root {
  --navy: #102d4f;
  --navy-deep: #091d34;
  --blue: #2d6d9f;
  --sky: #eaf2f8;
  --gold: #d5a93d;
  --ink: #182431;
  --muted: #607080;
  --line: #dbe3e9;
  --paper: #ffffff;
  --mist: #f5f7f8;
  --danger: #b52b2b;
  --shadow: 0 24px 60px rgba(9, 29, 52, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--mist); font-family: "DM Sans", sans-serif; line-height: 1.6; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.intake-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: 82px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span { display: grid; line-height: 1.15; }
.brand strong { color: var(--navy); font: 800 1.05rem "Libre Franklin", sans-serif; letter-spacing: 0.05em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 0.72rem; }
.back-link { color: var(--navy); font-weight: 700; text-decoration: none; }
.back-link:hover { color: var(--blue); }
.intake-hero { position: relative; overflow: hidden; color: white; background: var(--navy-deep); padding: 80px 0 110px; }
.intake-hero::before { content: ""; position: absolute; inset: 0; opacity: 0.14; background-image: linear-gradient(120deg, transparent 0 60%, var(--gold) 60% 60.5%, transparent 60.5%), radial-gradient(circle at 82% 15%, #5fa3cf 0, transparent 30%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr); gap: 72px; align-items: end; }
.eyebrow, .section-label { margin: 0 0 16px; color: var(--gold); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
h1, h2 { font-family: "Libre Franklin", sans-serif; }
h1 { max-width: 700px; margin: 0; font-size: clamp(2.7rem, 6.2vw, 5.7rem); line-height: 0.98; letter-spacing: -0.055em; }
.hero-copy { max-width: 700px; margin: 28px 0 0; color: rgba(255, 255, 255, 0.76); font-size: 1.1rem; }
.response-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px 0 4px; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.response-number { color: var(--gold); font-weight: 800; }
.response-card strong { font-size: 1.05rem; }
.response-card p { margin: 6px 0 0; color: rgba(255, 255, 255, 0.68); font-size: 0.92rem; }
.form-section { padding: 0 0 90px; }
.form-layout { position: relative; display: grid; grid-template-columns: 0.72fr 1.68fr; gap: 54px; margin-top: -52px; align-items: start; }
.form-aside { position: sticky; top: 28px; padding: 46px 10px 24px 0; }
.form-aside .section-label { color: var(--blue); }
.form-aside h2 { margin: 0 0 18px; color: var(--navy); font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: -0.035em; }
.form-aside > p:not(.section-label):not(.required-key) { color: var(--muted); }
.privacy-note { margin-top: 30px; padding: 20px; background: var(--sky); border-left: 4px solid var(--blue); }
.privacy-note strong { color: var(--navy); }
.privacy-note p { margin: 6px 0 0; color: #4e6273; font-size: 0.88rem; }
.required-key { margin-top: 24px; color: var(--muted); font-size: 0.82rem; }
.required-key span, .field b, .consent b { color: var(--danger); }
.intake-form { padding: clamp(28px, 5vw, 58px); background: var(--paper); box-shadow: var(--shadow); border-top: 5px solid var(--gold); }
.bot-field { position: absolute; left: -9999px; }
fieldset { min-width: 0; margin: 0 0 44px; padding: 0 0 44px; border: 0; border-bottom: 1px solid var(--line); }
fieldset:last-of-type { margin-bottom: 30px; padding-bottom: 36px; }
legend { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 26px; color: var(--navy); font: 800 1.22rem "Libre Franklin", sans-serif; }
legend span { display: inline-grid; width: 32px; height: 32px; place-items: center; color: white; background: var(--navy); border-radius: 50%; font: 700 0.84rem "DM Sans", sans-serif; }
.field-grid { display: grid; gap: 22px 18px; }
.two-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-wide { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; color: var(--navy); font-size: 0.82rem; font-weight: 700; }
.field > span { letter-spacing: 0.015em; }
input, select, textarea { width: 100%; border: 1px solid #cbd6de; border-radius: 3px; color: var(--ink); background: #fbfcfc; font: 500 0.96rem "DM Sans", sans-serif; transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease; }
input, select { min-height: 52px; padding: 0 15px; }
textarea { min-height: 150px; padding: 14px 15px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8a98a3; }
input:hover, select:hover, textarea:hover { border-color: #9eafbb; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: white; box-shadow: 0 0 0 4px rgba(45, 109, 159, 0.12); }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; color: #455664; font-size: 0.88rem; cursor: pointer; }
.consent input { min-height: auto; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); }
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 34px; }
button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 56px; padding: 0 24px; border: 0; color: white; background: var(--navy); font: 800 0.95rem "DM Sans", sans-serif; cursor: pointer; transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease; }
button:hover { transform: translateY(-2px); background: var(--blue); box-shadow: 0 10px 22px rgba(16, 45, 79, 0.2); }
button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
button span { font-size: 1.3rem; }
.submit-row p { margin: 0; color: var(--muted); font-size: 0.78rem; text-align: right; }
.submit-row a { color: var(--blue); font-weight: 700; }
footer { padding: 28px 0; color: rgba(255, 255, 255, 0.65); background: var(--navy-deep); font-size: 0.78rem; }
.footer-inner p { margin: 0; }
.footer-inner a { color: rgba(255, 255, 255, 0.82); font-weight: 700; }
.footer-inner a:hover { color: white; }
.thanks-page { min-height: 100vh; display: grid; place-items: center; padding: 32px; background: radial-gradient(circle at 75% 20%, rgba(45, 109, 159, 0.32), transparent 30%), var(--navy-deep); }
.thanks-card { width: min(680px, 100%); padding: clamp(38px, 8vw, 76px); text-align: center; background: white; border-top: 6px solid var(--gold); box-shadow: var(--shadow); }
.thanks-card img { width: 92px; margin-bottom: 18px; }
.thanks-card .eyebrow { color: var(--blue); }
.thanks-card h1 { margin: 0; color: var(--navy); font-size: clamp(2.2rem, 7vw, 4rem); line-height: 1.02; letter-spacing: -0.05em; }
.thanks-card > p:not(.eyebrow) { max-width: 500px; margin: 24px auto 30px; color: var(--muted); }
.thanks-card a { display: inline-flex; gap: 16px; color: var(--navy); font-weight: 800; text-decoration: none; }
.thanks-card a:hover { color: var(--blue); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 42px; } .form-layout { grid-template-columns: 1fr; gap: 8px; } .form-aside { position: static; padding: 40px 0 20px; } }
@media (max-width: 640px) { .shell { width: min(100% - 24px, 1180px); } .header-inner { min-height: 70px; } .brand img { width: 42px; height: 42px; } .brand small { display: none; } .back-link { font-size: 0.82rem; } .intake-hero { padding: 58px 0 78px; } .hero-copy { font-size: 1rem; } .form-layout { margin-top: -30px; } .form-aside { padding-top: 56px; } .intake-form { padding: 28px 20px; } .two-column { grid-template-columns: 1fr; } .field-wide { grid-column: auto; } .submit-row, .footer-inner { align-items: stretch; flex-direction: column; } button { width: 100%; } .submit-row p { text-align: left; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
