/* =========================================================
   MedHedge Marketing Site
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --navy:        #10192B;
  --navy-2:      #1A2740;
  --gold:        #B8860B;
  --gold-soft:   #D4B45C;
  --sage:        #74A88E;
  --bone:        #F8F5EF;
  --bone-2:      #F1ECE1;
  --white:       #FFFFFF;
  --ink:         #0B1220;
  --ink-2:       #4A5568;
  --ink-3:       #8A94A6;
  --line:        rgba(16,25,43,0.09);
  --line-dark:   rgba(255,255,255,0.12);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --w:        1120px;
  --w-narrow: 760px;
  --nav-h:    56px;

  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   28px;
  --r-xl:   40px;
  --r-full: 999px;

  --shadow:    0 1px 2px rgba(16,25,43,0.04), 0 8px 28px rgba(16,25,43,0.06);
  --shadow-lg: 0 2px 6px rgba(16,25,43,0.05), 0 24px 64px rgba(16,25,43,0.12);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

::selection { background: rgba(184,134,11,0.22); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--w);
  margin: 0 auto;
  padding-inline: 32px;
}

.container--narrow { max-width: var(--w-narrow); }

.section { padding-block: 120px; }
.section--tight { padding-block: 80px; }
.section--tall  { padding-block: 160px; }

.bg-white { background: var(--white); }
.bg-bone  { background: var(--bone); }
:is(.bg-navy,.page-hero--navy,.cta)  { background: var(--navy); color: var(--white); }

@media (max-width: 760px) {
  .container { padding-inline: 24px; }
  .section       { padding-block: 76px; }
  .section--tight{ padding-block: 56px; }
  .section--tall { padding-block: 96px; }
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

:is(.bg-navy,.page-hero--navy,.cta) .eyebrow { color: var(--gold-soft); }

.display {
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.headline {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.subhead {
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: -0.005em;
}

:is(.bg-navy,.page-hero--navy,.cta) .lede { color: rgba(255,255,255,0.68); }

.body {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
}

:is(.bg-navy,.page-hero--navy,.cta) .body { color: rgba(255,255,255,0.64); }

.gold  { color: var(--gold); }
.muted { color: var(--ink-3); }

.center    { text-align: center; }
.measure   { max-width: 660px; }
.measure--c{ max-width: 660px; margin-inline: auto; }

.stack > * + * { margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding-inline: 26px;
  border: 1.5px solid transparent;
  border-radius: var(--r-full);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 220ms var(--ease), color 220ms var(--ease),
              border-color 220ms var(--ease), transform 160ms var(--ease),
              box-shadow 220ms var(--ease);
}

.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--navy);
  color: var(--white);
}
.btn--primary:hover { background: var(--navy-2); box-shadow: 0 10px 28px rgba(16,25,43,0.22); }

.btn--gold {
  background: var(--gold);
  color: var(--white);
}
.btn--gold:hover { background: #C29B33; box-shadow: 0 10px 28px rgba(184,134,11,0.32); }

.btn--light {
  background: var(--white);
  color: var(--navy);
}
.btn--light:hover { background: rgba(255,255,255,0.9); box-shadow: 0 10px 28px rgba(0,0,0,0.22); }

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--navy); background: rgba(16,25,43,0.03); }

:is(.bg-navy,.page-hero--navy,.cta) .btn--ghost { border-color: var(--line-dark); color: var(--white); }
:is(.bg-navy,.page-hero--navy,.cta) .btn--ghost:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.06); }

.btn--lg { height: 54px; padding-inline: 34px; font-size: 1rem; }
.btn--block { width: 100%; }

/* Text link with chevron */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap 220ms var(--ease);
}
.tlink::after { content: '›'; font-size: 1.15em; line-height: 1; transform: translateY(-1px); }
.tlink:hover  { gap: 10px; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.btn-row--center { justify-content: center; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms var(--ease), background 300ms var(--ease);
}

.nav--scrolled {
  border-bottom-color: var(--line);
  background: rgba(255,255,255,0.86);
}

.nav__inner {
  max-width: var(--w);
  height: 100%;
  margin: 0 auto;
  padding-inline: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy);
  flex-shrink: 0;
}
.nav__logo img { width: 24px; height: 24px; object-fit: contain; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 14px;
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 200ms var(--ease), background 200ms var(--ease);
}
.nav__link:hover  { color: var(--ink); background: rgba(16,25,43,0.04); }
.nav__link.active { color: var(--navy); font-weight: 600; }

.nav__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav__signin {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 8px 6px;
  transition: color 200ms var(--ease);
}
.nav__signin:hover { color: var(--ink); }

.nav__cta { height: 36px; padding-inline: 18px; font-size: 0.875rem; }

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  border: 0; background: none; cursor: pointer;
  padding: 0;
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 11px;
  width: 18px; height: 1.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 300ms var(--ease), opacity 200ms var(--ease);
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 23px; }
.nav__burger.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* Mobile drawer */
@media (max-width: 900px) {
  .nav__inner { padding-inline: 24px; }
  .nav__burger { display: block; }

  .nav__panel {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms var(--ease), transform 260ms var(--ease);
  }
  .nav__panel.open { opacity: 1; transform: translateY(0); pointer-events: auto; }

  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link  { padding: 14px 0; font-size: 1.125rem; font-weight: 600; color: var(--ink); border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__link:hover { background: none; }

  .nav__actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 20px; }
  .nav__signin  { text-align: center; padding: 10px; }
  .nav__cta     { height: 48px; font-size: 1rem; }
}

@media (min-width: 901px) {
  .nav__panel { display: contents; }
}

/* ---------- App content ---------- */
.app-content {
  padding-top: var(--nav-h);
  min-height: 60vh;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

.d1 { transition-delay: 90ms; }
.d2 { transition-delay: 180ms; }
.d3 { transition-delay: 270ms; }
.d4 { transition-delay: 360ms; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding-block: clamp(90px, 13vw, 160px) clamp(80px, 10vw, 120px);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 50% -8%, rgba(184,134,11,0.11), transparent 62%),
    radial-gradient(700px 420px at 12% 32%, rgba(116,168,142,0.09), transparent 60%),
    var(--bone);
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(16,25,43,0.07);
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--ink-2);
  margin-bottom: 30px;
  backdrop-filter: blur(8px);
}
.hero__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(116,168,142,0.2);
}

.hero__title { margin-bottom: 26px; }
.hero__title span { display: block; color: var(--ink-3); }

.hero__lede { max-width: 620px; margin: 0 auto 38px; }

.hero__note {
  margin-top: 22px;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.hero__visual {
  margin-top: clamp(54px, 7vw, 86px);
  position: relative;
}
.hero__visual svg { width: 100%; height: auto; filter: drop-shadow(0 32px 64px rgba(16,25,43,0.16)); }

/* ---------- Page hero (inner) ---------- */
.page-hero {
  padding-block: clamp(72px, 10vw, 120px) clamp(56px, 7vw, 84px);
  background:
    radial-gradient(800px 420px at 20% -10%, rgba(184,134,11,0.10), transparent 62%),
    var(--bone);
}
.page-hero__title { margin-bottom: 24px; max-width: 920px; }
.page-hero__lede  { max-width: 600px; margin-bottom: 34px; }

.page-hero--navy {
  background:
    radial-gradient(900px 460px at 78% -12%, rgba(184,134,11,0.22), transparent 62%),
    var(--navy);
  color: var(--white);
}

/* ---------- Section header ---------- */
.sec-head { margin-bottom: 64px; }
.sec-head .lede { margin-top: 20px; }
.sec-head--center { text-align: center; }
.sec-head--center .lede { margin-inline: auto; }

@media (max-width: 760px) { .sec-head { margin-bottom: 44px; } }

/* ---------- Stat strip ----------
   Currently unused. The three stat bands were replaced by prose sections, and the
   Investors market figures were pulled on 24 Sep 2026 pending sources. Kept so the
   figures can go back in with a citation line once they are sourced. */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
:is(.bg-navy,.page-hero--navy,.cta) .stats { background: var(--line-dark); border-color: var(--line-dark); }

.stat {
  background: var(--white);
  padding: 44px 28px;
  text-align: center;
}
:is(.bg-navy,.page-hero--navy,.cta) .stat { background: var(--navy); }
.bg-bone .stat { background: var(--bone); }

.stat__value {
  font-size: clamp(2.125rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--navy);
}
:is(.bg-navy,.page-hero--navy,.cta) .stat__value { color: var(--white); }

.stat__label {
  margin-top: 12px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink-3);
  letter-spacing: 0.01em;
}
:is(.bg-navy,.page-hero--navy,.cta) .stat__label { color: rgba(255,255,255,0.5); }

@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .stat { padding: 32px 16px; } }

/* ---------- Feature grid ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid { gap: 20px; }
}

/* Plain feature block: no card chrome */
.feature__mark {
  width: 34px; height: 34px;
  margin-bottom: 20px;
  color: var(--gold);
}
.feature__mark svg { width: 100%; height: 100%; stroke-width: 1.5; }

.feature__title {
  font-size: 1.1875rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: var(--ink);
}
:is(.bg-navy,.page-hero--navy,.cta) .feature__title { color: var(--white); }

.feature__text {
  font-size: 0.9688rem;
  line-height: 1.65;
  color: var(--ink-2);
}
:is(.bg-navy,.page-hero--navy,.cta) .feature__text { color: rgba(255,255,255,0.6); }

/* ---------- Card ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px;
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.card--flat:hover { transform: none; box-shadow: none; }
.card--bone { background: var(--bone); border-color: transparent; }
.card--navy { background: var(--navy); border-color: transparent; color: var(--white); }
.card--navy .feature__title, .card--navy .subhead { color: var(--white); }
.card--navy .feature__text, .card--navy .body { color: rgba(255,255,255,0.64); }

@media (max-width: 680px) { .card { padding: 30px; } }

/* ---------- Tiles (big 2-up) ---------- */
.tile {
  position: relative;
  border-radius: var(--r-xl);
  padding: 56px 48px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  transition: transform 500ms var(--ease), box-shadow 500ms var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.tile--navy {
  background:
    radial-gradient(600px 300px at 88% 4%, rgba(184,134,11,0.26), transparent 64%),
    var(--navy);
  color: var(--white);
}
.tile--bone {
  background:
    radial-gradient(600px 300px at 88% 4%, rgba(116,168,142,0.18), transparent 64%),
    var(--bone-2);
  color: var(--ink);
}

.tile__title {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 18px;
}
.tile__text {
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 40ch;
}
.tile--navy .tile__text { color: rgba(255,255,255,0.66); }
.tile--bone .tile__text { color: var(--ink-2); }

.tile__foot { margin-top: auto; }

@media (max-width: 680px) { .tile { padding: 40px 30px; min-height: 0; } }

/* ---------- Split showcase ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.split--flip .split__media { order: -1; }
.split--top { align-items: start; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--flip .split__media { order: 0; }
}

.split__media svg,
.split__media img { width: 100%; height: auto; border-radius: var(--r-md); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  padding-block: 36px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
:is(.bg-navy,.page-hero--navy,.cta) .step { border-color: var(--line-dark); }

.step__num {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding-top: 6px;
}

.step__title {
  font-size: 1.375rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.step__text { font-size: 1rem; line-height: 1.65; color: var(--ink-2); max-width: 58ch; }
:is(.bg-navy,.page-hero--navy,.cta) .step__text { color: rgba(255,255,255,0.6); }

@media (max-width: 600px) {
  .step { grid-template-columns: 1fr; gap: 12px; padding-block: 28px; }
  .step__num { padding-top: 0; }
}

/* ---------- Mission / pull quote ---------- */
.mission {
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.028em;
  text-align: center;
}

.mission__by {
  margin-top: 36px;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  text-align: center;
}

/* ---------- Ledger list (check / cross) ---------- */
.ledger { display: grid; gap: 2px; }

.ledger__row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
:is(.bg-navy,.page-hero--navy,.cta) .ledger__row { color: rgba(255,255,255,0.66); border-color: var(--line-dark); }

.ledger__mark {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.6875rem;
  font-weight: 700;
  margin-top: 2px;
}
.ledger__mark--yes { background: rgba(116,168,142,0.18); color: var(--sage); }
.ledger__mark--no  { background: rgba(16,25,43,0.06);   color: var(--ink-3); }
:is(.bg-navy,.page-hero--navy,.cta) .ledger__mark--no { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.4); }

/* ---------- Math panel (economics) ---------- */
.math {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
:is(.bg-navy,.page-hero--navy,.cta) .math { border-color: var(--line-dark); }

.math__cell {
  padding: 36px 28px;
  text-align: center;
  border-right: 1px solid var(--line);
}
:is(.bg-navy,.page-hero--navy,.cta) .math__cell { border-color: var(--line-dark); }
.math__cell:last-child { border-right: 0; }
.math__cell--hl { background: rgba(184,134,11,0.09); }

.math__label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
:is(.bg-navy,.page-hero--navy,.cta) .math__label { color: rgba(255,255,255,0.45); }

.math__value {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--navy);
}
:is(.bg-navy,.page-hero--navy,.cta) .math__value { color: var(--white); }

.math__sub { margin-top: 10px; font-size: 0.8125rem; color: var(--ink-3); }

/* Period label above a math row, and the illustrative-figure footnote. */
.math__when {
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.math__note {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--ink-3);
}
:is(.bg-navy,.page-hero--navy,.cta) .math__sub { color: rgba(255,255,255,0.45); }

@media (max-width: 680px) {
  .math { grid-template-columns: 1fr; }
  .math__cell { border-right: 0; border-bottom: 1px solid var(--line); padding: 26px 20px; }
  .math__cell:last-child { border-bottom: 0; }
}

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); }
:is(.bg-navy,.page-hero--navy,.cta) .table-wrap { border-color: var(--line-dark); }

table.tbl {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
table.tbl th {
  text-align: left;
  padding: 16px 22px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--bone);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
:is(.bg-navy,.page-hero--navy,.cta) table.tbl th { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.5); border-color: var(--line-dark); }

table.tbl td {
  padding: 16px 22px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
:is(.bg-navy,.page-hero--navy,.cta) table.tbl td { color: rgba(255,255,255,0.66); border-color: var(--line-dark); }
table.tbl tr:last-child td { border-bottom: 0; }
table.tbl td strong { color: var(--ink); font-weight: 650; }
:is(.bg-navy,.page-hero--navy,.cta) table.tbl td strong { color: var(--white); }

tr.tbl__hl td { background: rgba(184,134,11,0.07); }
:is(.bg-navy,.page-hero--navy,.cta) tr.tbl__hl td { background: rgba(184,134,11,0.12); }

/* ---------- Allocation bars ---------- */
.alloc { display: grid; gap: 22px; }

.alloc__row { display: grid; gap: 10px; }
.alloc__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 0.9375rem;
}
.alloc__name { font-weight: 550; color: var(--white); }
.alloc__pct  { font-weight: 700; color: var(--gold-soft); font-variant-numeric: tabular-nums; }

.alloc__track {
  height: 6px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.09);
  overflow: hidden;
}
.alloc__fill {
  height: 100%;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  width: 0;
  transition: width 1200ms var(--ease);
}
.alloc__row.visible .alloc__fill { width: var(--pct); }

.alloc__sub { font-size: 0.8125rem; color: rgba(255,255,255,0.42); font-variant-numeric: tabular-nums; }

/* ---------- Timeline ---------- */
.tl { display: grid; gap: 0; }

.tl__item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding-block: 32px;
  border-top: 1px solid var(--line-dark);
  align-items: start;
}
.tl__item:last-child { border-bottom: 1px solid var(--line-dark); }

.tl__when {
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--gold-soft);
  padding-top: 4px;
}
.tl__title { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.02em; margin-bottom: 8px; color: var(--white); }
.tl__text  { font-size: 0.9688rem; line-height: 1.6; color: rgba(255,255,255,0.6); max-width: 58ch; }

@media (max-width: 640px) {
  .tl__item { grid-template-columns: 1fr; gap: 10px; padding-block: 26px; }
  .tl__when { padding-top: 0; }
}

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  padding-block: clamp(90px, 11vw, 150px);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(760px 400px at 50% 0%, rgba(184,134,11,0.22), transparent 64%),
    var(--navy);
  color: var(--white);
}
.cta__title { margin-bottom: 22px; }
.cta__lede  { max-width: 540px; margin: 0 auto 38px; }
.cta__fine  { margin-top: 24px; font-size: 0.8125rem; color: rgba(255,255,255,0.4); }

/* ---------- Form ---------- */
.form { display: grid; gap: 20px; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

.form__field { display: grid; gap: 8px; }

.form__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.form__input::placeholder, .form__textarea::placeholder { color: var(--ink-3); }

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,134,11,0.14);
}

.form__textarea { min-height: 128px; resize: vertical; line-height: 1.6; }

.form__status {
  font-size: 0.875rem;
  line-height: 1.5;
  min-height: 1.3em;
}
.form__status--ok  { color: var(--sage); font-weight: 550; }
.form__status--err { color: #B4483C; font-weight: 550; }

.form__fine { font-size: 0.8125rem; color: var(--ink-3); line-height: 1.55; }
.form__fine a { color: var(--gold); font-weight: 550; }

/* ---------- Contact rail ---------- */
.rail { display: grid; gap: 28px; }

.rail__item { display: grid; gap: 4px; }
.rail__label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.rail__value { font-size: 1rem; color: var(--ink); font-weight: 550; line-height: 1.5; }
.rail__value a { color: var(--gold); }

/* ---------- Disclosure note ---------- */
.note {
  padding: 24px 28px;
  border-radius: var(--r-md);
  background: rgba(184,134,11,0.07);
  border: 1px solid rgba(184,134,11,0.2);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-2);
}
:is(.bg-navy,.page-hero--navy,.cta) .note { background: rgba(255,255,255,0.05); border-color: var(--line-dark); color: rgba(255,255,255,0.66); }
.note a { color: var(--gold); font-weight: 600; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding-block: 76px 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 56px;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__logo { display: flex; align-items: center; gap: 9px; color: var(--white); font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.025em; margin-bottom: 16px; }
.footer__logo img { width: 24px; height: 24px; }

.footer__tag { font-size: 0.9375rem; line-height: 1.6; max-width: 34ch; color: rgba(255,255,255,0.52); }

.footer__col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  margin-bottom: 18px;
}
.footer__col li + li { margin-top: 11px; }
.footer__col a { font-size: 0.9375rem; color: rgba(255,255,255,0.62); transition: color 200ms var(--ease); }
.footer__col a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 28px 36px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}
.footer__bottom a { color: rgba(255,255,255,0.6); }
.footer__bottom a:hover { color: var(--white); }

/* ---------- Source lines under a claim or a figure ---------- */
.cite {
  margin-top: 10px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--ink-3);
}
:is(.bg-navy,.page-hero--navy,.cta) .cite { color: rgba(255,255,255,0.42); }

.stat__cite {
  margin-top: 10px;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: var(--ink-3);
  opacity: 0.85;
}

/* ---------- People ---------- */
.person__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.person__name {
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.person__role {
  margin-top: 4px;
  margin-bottom: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.person__bio {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-2);
}

/* ---------- Footer version stamp ---------- */
.footer__version {
  margin-top: 10px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
}

/* ---------- Legal document switcher ---------- */
.legal__switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 44px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal__switch-link {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--ink-2);
  transition: border-color 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease);
}
.legal__switch-link:hover { border-color: var(--navy); color: var(--ink); }
.legal__switch-link.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- Legal pages ---------- */
.legal { max-width: 720px; margin-inline: auto; padding-block: 72px 110px; }
.legal__back { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 600; color: var(--gold); margin-bottom: 34px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 10px; }
.legal__date { font-size: 0.875rem; color: var(--ink-3); margin-bottom: 44px; }
.legal h2 { font-size: 1.1875rem; font-weight: 650; letter-spacing: -0.015em; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 1rem; line-height: 1.75; color: var(--ink-2); }
.legal p + p { margin-top: 14px; }
.legal a { color: var(--gold); font-weight: 550; }

/* ---------- Product visual helpers ---------- */
.shot { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
