@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
}

:root {
  --font-sans: "Outfit", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --color-navy: #0b2a4a;
  --color-navy-deep: #071c32;
  --color-ink: #122033;
  --color-muted: #3e5164;
  --color-paper: #f7fbfe;
  --color-sky: #e7f3fb;
  --color-sky-deep: #cfe6f4;
  --color-red: #c8102e;
  --color-teal: #0a7468;
  --color-teal-dark: #0a6e64;
  --color-line: #d5e2ec;
  --color-card: #ffffff;
  --color-gold: #f5b83d;
  --color-gold-hover: #ffc85a;
  --color-gold-ink: #1d1405;
  --header-h: 76px;
  --shadow-card: 0 1px 2px rgb(7 28 50 / 0.04), 0 22px 48px -30px rgb(7 28 50 / 0.3);
  --shadow-lift: 0 2px 6px rgb(7 28 50 / 0.06), 0 30px 60px -28px rgb(7 28 50 / 0.35);
  color-scheme: light;
}

@media (max-width: 639.98px) {
  :root { --header-h: 68px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
p { text-wrap: pretty; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 620;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
  color: var(--color-navy);
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin: 0 0 0.6rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.25rem; margin: 0 0 0.4rem; }
a { color: var(--color-teal-dark); }
a:hover { color: var(--color-navy); }
:focus-visible { outline: 3px solid var(--color-teal-dark); outline-offset: 2px; }
.skip {
  position: absolute; left: 1rem; top: -4rem; background: #fff; padding: 0.5rem 0.8rem; z-index: 50;
}
.skip:focus { top: 0.5rem; }

.container { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-teal-dark);
  margin: 0 0 0.7rem;
}

.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  display: flex; align-items: center;
  padding: 0 0.5rem;
}
.nav-pill {
  width: min(72rem, 100%);
  margin-inline: auto;
  height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0 0.4rem 0 1rem;
  border-radius: 999px;
  background: rgb(7 28 50 / 0.88);
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.18);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14), 0 10px 30px rgb(0 0 0 / 0.18);
}
.logo {
  color: #fff; text-decoration: none; font-weight: 700; letter-spacing: -0.02em;
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px;
}
.logo small { display: block; font-weight: 500; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(255 255 255 / 0.72); }
.logo-mark {
  width: 28px; height: 28px; border-radius: 999px; border: 2px solid var(--color-gold);
  display: grid; place-items: center; font-family: var(--font-display); color: var(--color-gold);
}
.nav-links { display: flex; align-items: center; gap: 0.15rem; }
.nav-links a, .menu-panel a {
  color: rgb(255 255 255 / 0.9);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
  min-height: 44px;
  display: inline-flex; align-items: center;
  padding: 0 0.75rem;
  border-radius: 999px;
}
.nav-links a:hover, .menu-panel a:hover { background: rgb(255 255 255 / 0.1); color: #fff; }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--color-gold); border-radius: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 44px; padding: 0.55rem 1.1rem; border-radius: 999px;
  font-weight: 750; text-decoration: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 1rem;
}
.btn-gold { background: var(--color-gold); color: var(--color-gold-ink); }
.btn-gold:hover { background: var(--color-gold-hover); color: var(--color-gold-ink); }
.btn-teal { background: var(--color-teal); color: #f8fffe; }
.btn-teal:hover { background: var(--color-teal-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgb(255 255 255 / 0.3); }
.form-card .btn-ghost { color: var(--color-navy); border-color: var(--color-line); background: #fff; }
.btn[disabled] { opacity: 0.65; cursor: progress; }
.menu { display: none; }
.menu > summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; color: #fff; cursor: pointer; border-radius: 999px; }
.menu > summary::-webkit-details-marker { display: none; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu { display: block; position: relative; }
  .menu[open] .menu-panel { display: flex; }
  .menu-panel {
    display: none; position: absolute; right: 0; top: 52px; width: min(20rem, calc(100vw - 1.5rem));
    flex-direction: column; gap: 0.25rem; padding: 0.8rem;
    background: var(--color-navy-deep); border-radius: 18px; border: 1px solid rgb(255 255 255 / 0.12);
  }
  .menu-panel a { border-radius: 12px; }
}

.hero {
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 2.2rem) 0 3.5rem;
  background:
    radial-gradient(ellipse at 12% 20%, rgb(245 184 61 / 0.28), transparent 42%),
    radial-gradient(ellipse at 80% 0%, rgb(13 138 125 / 0.35), transparent 46%),
    linear-gradient(180deg, #071c32 0%, #0b2a4a 70%, #123556 100%);
  color: #fff;
  overflow: clip;
}
.hero h1, .hero h2, .page-hero h1 { color: #fff; }
.hero .lede, .page-hero p { color: rgb(255 255 255 / 0.88); font-size: 1.12rem; }
.hero-grid { display: grid; gap: 1.75rem; align-items: start; }
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; }
}
.hero-points { display: grid; gap: 0.7rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.hero-points li {
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
}
.form-card {
  position: relative;
  background: #fff;
  color: var(--color-ink);
  border-radius: 28px;
  padding: 1.15rem 1.15rem 1.25rem;
  box-shadow: 0 40px 90px -24px rgb(0 0 0 / 0.55), 0 0 0 1px rgb(255 255 255 / 0.7);
}
.form-card h2 { font-size: 1.55rem; }
.form-card .quiet { color: var(--color-muted); margin-top: 0; }

.section { padding: 3.2rem 0; }
.section-sky { background: linear-gradient(180deg, var(--color-sky), var(--color-paper)); }
.grid-3, .grid-2 { display: grid; gap: 1rem; }
@media (min-width: 800px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
}
.card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: var(--shadow-card);
}
.card:hover { box-shadow: var(--shadow-lift); }
.num {
  width: 2.4rem; height: 2.4rem; border-radius: 999px; display: grid; place-items: center;
  background: var(--color-navy); color: #fff; font-weight: 750; margin-bottom: 0.7rem;
}
.callout {
  border-left: 4px solid var(--color-gold);
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-card);
}
.callout strong { color: var(--color-navy); }
.prose { max-width: 46rem; }
.prose p, .prose li { color: var(--color-ink); }
.prose ul, .prose ol { padding-left: 1.2rem; }

.page-hero {
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 2rem) 0 2.2rem;
  background:
    radial-gradient(ellipse at 80% 0%, rgb(13 138 125 / 0.35), transparent 50%),
    linear-gradient(180deg, #071c32, #0b2a4a);
  color: #fff;
}
.page-hero .eyebrow { color: var(--color-gold); }

details.faq {
  background: #fff; border: 1px solid var(--color-line); border-radius: 14px; padding: 0.2rem 0.9rem; margin: 0.55rem 0;
}
details.faq summary { cursor: pointer; font-weight: 700; min-height: 48px; display: flex; align-items: center; color: var(--color-navy); }
details.faq p { margin-top: 0; }

.intake { display: grid; gap: 0.85rem; }
.step-grid, .contact-grid { display: grid; gap: 0.75rem; }
@media (min-width: 640px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: span 2; }
}
.field { display: grid; gap: 0.3rem; }
.field label, .field legend { font-weight: 700; color: var(--color-navy); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid var(--color-line);
  padding: 0.55rem 0.75rem; font: inherit; background: #fff; color: var(--color-ink);
}
.choices { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.choice {
  display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; max-width: 100%;
  border: 1px solid var(--color-line); border-radius: 999px; padding: 0.2rem 0.75rem; background: var(--color-sky);
  white-space: normal;
}
.field .choice input[type="radio"], .choice input[type="radio"] {
  width: 18px; height: 18px; min-width: 18px; min-height: 0; padding: 0; border-radius: 50%;
  flex: 0 0 auto; margin: 0;
}
.choice { overflow-wrap: anywhere; }
.field-error { min-height: 1.1rem; margin: 0; color: var(--color-red); font-size: 0.92rem; }
.consent {
  display: flex; gap: 0.7rem; align-items: flex-start;
  background: var(--color-sky); border-radius: 14px; padding: 0.8rem;
}
.consent input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; flex: none; }
.hp {
  position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.thanks { background: #e8f6f1; border-radius: 14px; padding: 0.9rem 1rem; }
.dq-note { background: var(--color-sky); border-radius: 14px; padding: 0.9rem 1rem; }
.progress { font-size: 0.85rem; font-weight: 750; color: var(--color-teal-dark); margin: 0; }
.bar { height: 6px; background: var(--color-line); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--color-teal); width: 25%; }
.bar span[data-step-bar="2"] { width: 50%; }
.bar span[data-step-bar="3"] { width: 75%; }
.bar span[data-step-bar="4"] { width: 100%; }
.narrow { max-width: 40rem; margin-inline: auto; }
.step-nav { display: flex; gap: 0.5rem; justify-content: space-between; }

.site-footer {
  background: var(--color-navy-deep); color: rgb(255 255 255 / 0.86);
  padding: 3rem 0 1.5rem; margin-top: 2rem;
}
.site-footer h2 { color: #fff; font-family: var(--font-sans); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; }
.site-footer a { color: #c9d8e6; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--color-gold); }
.footer-grid { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.legal-note { border-top: 1px solid rgb(255 255 255 / 0.15); margin-top: 1.5rem; padding-top: 1rem; font-size: 0.86rem; }
.sticky-cta {
  position: sticky; bottom: 0; z-index: 30; display: flex; justify-content: center;
  padding: 0.5rem; background: rgb(7 28 50 / 0.92);
}
@media (min-width: 980px) { .sticky-cta { display: none; } }
