/* Tavexia Lifecare Limited — tokens per website build brief §3 */

:root {
  /* Brand */
  --teal-900: #08343A;
  --teal-700: #0E4A52;
  --teal-500: #17707B;
  --gold-500: #D9A441;
  --gold-600: #B8862F;

  /* Text */
  --ink:      #14232A;
  --muted:    #4A6266;

  /* Surfaces */
  --paper:    #FFFFFF;
  --surface:  #F6F8F8;
  --border:   #D6E0E0;

  --font-sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --measure: 1120px;
  --gutter: 24px;
  --rhythm: 96px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--teal-700); margin: 0; font-weight: 700; }
h1 { font-size: 44px; line-height: 1.15; letter-spacing: -0.5px; }
h2 { font-size: 30px; line-height: 1.25; }
h3 { font-size: 21px; line-height: 1.35; }
p  { margin: 0; }
p + p { margin-top: 1.1em; }

a { color: var(--teal-500); }
a:hover { color: var(--teal-900); }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 2px;
}

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
/* Gold on light grounds is decorative only — 2.25:1 on white (brief §3).
   It carries text in exactly one place: the teal-900 band, where it is 5.98:1. */
.eyebrow::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), rgba(217, 164, 65, .25));
  margin-top: 10px;
}

.small { font-size: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 3px;
  border: 1px solid var(--teal-700);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn-primary { background: var(--teal-700); color: #fff; }
.btn-primary:hover { background: var(--teal-900); border-color: var(--teal-900); color: #fff; }
.btn-secondary { background: transparent; color: var(--teal-700); }
.btn-secondary:hover { background: var(--surface); color: var(--teal-900); border-color: var(--gold-500); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- motion (subtle tier) ---------- */
/* Hidden state applies only under .js-motion, which motion.js adds. Without
   JavaScript, or under prefers-reduced-motion, nothing is ever hidden. */
.js-motion [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 320ms ease-out, transform 320ms ease-out;
}
.js-motion [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
  transition: box-shadow 200ms ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 14px rgba(20, 35, 42, .09); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 92px;
  padding-block: 16px;
}
.site-header img { width: 240px; height: auto; display: block; }
.site-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.site-nav a:hover { color: var(--teal-700); border-bottom-color: var(--gold-500); }
.site-nav a[aria-current="page"] { color: var(--teal-700); border-bottom-color: var(--teal-700); }

/* ---------- sections ---------- */
.band { padding: var(--rhythm) 0; }
.band + .band { border-top: 1px solid transparent; }

.band.tint { background: var(--surface); position: relative; }
/* Gold hairline, fading out across the measure — a rule, not text. */
.band.tint::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500) 0%, rgba(217, 164, 65, .35) 38%, rgba(217, 164, 65, 0) 68%);
}

/* teal-900 ground: deep enough that gold clears AA as text (5.98:1). */
.band.deep { background: var(--teal-900); }
.band.deep h1, .band.deep h2, .band.deep h3 { color: #fff; }
.band.deep p { color: rgba(255,255,255,.86); }
.band.deep .eyebrow { color: var(--gold-500); }
.band.deep .eyebrow::after { background: var(--gold-500); opacity: .85; }

.lede { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 62ch; }
.band.deep .lede { color: rgba(255,255,255,.86); }
/* .prose sits on the same element as .wrap — keep the wrap at full measure and
   constrain the children, so prose stays left-aligned with the hero above it. */
.wrap.prose > * { max-width: 68ch; }
.prose h2 { margin-top: 48px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 16px; }

/* ---------- hero ---------- */
.hero { padding: 104px 0 96px; }
.hero h1 { max-width: 17ch; }
.hero .lede { margin-top: 24px; }

/* Asymmetric hero: copy left, key facts right. Fills the right column with
   something an investor actually wants rather than decoration. *

/* Dimensional mark sits above the facts panel. Decorative — alt="" so screen
   readers skip it; the wordmark in the header already names the company. *

.facts {
  border-top: 3px solid var(--gold-500);
  background: var(--surface);
  padding: 28px 30px 8px;
  margin: 0;
}
.facts div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-size: 15px; font-weight: 500; color: var(--teal-700); font-variant-numeric: tabular-nums; text-align: right; }

/* ---------- dark hero ---------- *

/* On a teal ground the solid teal button disappears — gold carries the CTA
   (teal-900 on gold is 5.98:1) and the secondary becomes a white outline. */
.band.deep .btn-primary {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--teal-900);
}
.band.deep .btn-primary:hover { background: var(--gold-600); border-color: var(--gold-600); color: var(--teal-900); }
.band.deep .btn-secondary { color: #fff; border-color: rgba(255,255,255,.42); background: transparent; }
.band.deep .btn-secondary:hover { background: rgba(255,255,255,.1); color: #fff; border-color: var(--gold-500); }

/* ---------- 3D mark ---------- */
/* Depth comes from stacked copies of one SVG on separate Z planes, turned as a
   group inside a perspective container. No WebGL, no library, one cached asset.
   Two nested transform layers: .mark3d-tilt carries pointer parallax written by
   motion.js, .mark3d-inner carries the idle CSS rotation. Keeping them separate
   means the pointer never fights the keyframes for the same property. *

/* Proximity glow — brightens as the pointer nears, sits behind everything. *

/* ---------- gold dust ---------- */
/* Two nested elements per particle: <b> takes the pointer displacement written
   by motion.js, <i> runs the twinkle. One element cannot do both, because a CSS
   animation on transform would overwrite whatever JS sets. *

/* Reduced motion: hold a static view, settle the dust, no pointer response. */
@media (prefers-reduced-motion: reduce) {
  .mark3d-inner { animation: none; transform: rotateY(-9deg) rotateX(4deg); }
  .mark3d-tilt  { transform: none; transition: none; }
  .mark3d::after { opacity: 0; }
  .sparkles i { animation: none; opacity: .5; transform: none; }
  .sparkles b { transform: none; transition: none; }
}

/* ---------- credibility strip ---------- */
.strip { padding: 34px 0; background: var(--surface); border-bottom: 1px solid var(--border); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.strip .stat { border-left: 2px solid var(--gold-500); padding-left: 18px; }
.strip .stat .k { font-size: 22px; font-weight: 700; color: var(--teal-700); }
.strip .stat .l { font-size: 11px; letter-spacing: 2px; }

/* ---------- markets preview ---------- */
.market-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold-500);
  border-radius: 3px;
  padding: 32px 28px;
  transition: border-color 220ms ease, transform 220ms ease;
}
.market-link:hover { border-color: var(--gold-500); transform: translateY(-2px); color: inherit; }
.market-link h3 { margin-bottom: 10px; }
.market-link p { color: var(--muted); font-size: 15.5px; }
.market-link .go { display: block; margin-top: 18px; font-size: 13px; font-weight: 500; color: var(--teal-500); letter-spacing: .4px; }

/* Mid-range: the six-item nav and the four-column strip both run out of room
   well before the 768px breakpoint, so they get their own step. */
@media (max-width: 1080px) {
  .site-header img { width: 204px; }
  .site-nav ul { gap: 20px; }
  .site-nav a { font-size: 14px; }
  .strip .wrap { grid-template-columns: repeat(2, 1fr); gap: 20px 32px; }
  .strip .stat .k { font-size: 19px; }
  .hero-deep .hero-mark { width: 132px; }
  .mark3d { width: 158px; height: 158px; }
  .hero-grid { gap: 44px; }
}

@media (max-width: 768px) {
  .hero-deep { padding: 56px 0; }
  .hero-deep .hero-aside { align-items: flex-start; }
  .hero-deep .hero-mark { width: 112px; }
  .mark3d { width: 124px; height: 124px; --depth: 4.2px; }
  .mark3d-layer:nth-child(n+7) { display: none; }
  /* Halve the animated particle count on phones too. */
  .sparkles b:nth-child(2n) { display: none; }
  .strip .wrap { grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
  .strip .stat .k { font-size: 18px; }
}

/* ---------- market pathway blocks ---------- */
.market {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
  padding: 44px 0;
  border-top: 1px solid var(--border);
}
.market:first-of-type { margin-top: 44px; }
.market h3 { margin-bottom: 14px; }
.market p { color: var(--muted); max-width: 62ch; }
/* On tinted bands the panel needs to lift off the ground it sits on. */
.band.tint .facts { background: var(--paper); }
@media (max-width: 768px) {
  .market { grid-template-columns: 1fr; gap: 28px; padding: 32px 0; }
}

/* ---------- deep band panels ---------- */
/* Match the card treatment on teal grounds — translucent, not a light slab. */
.band.deep .facts { background: rgba(255,255,255,.06); }
.band.deep .facts div { border-bottom-color: rgba(255,255,255,.16); }
.band.deep .facts dt { color: rgba(255,255,255,.62); }
.band.deep .facts dd { color: #fff; }

.band.deep .card {
  background: transparent;
  border: 1px solid rgba(255,255,255,.22);
  border-top: 3px solid var(--gold-500);
}
.band.deep .card p { color: rgba(255,255,255,.82); }

/* ---------- cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold-500);
  border-radius: 3px;
  padding: 36px 32px;
  transition: border-color 220ms ease;
}
.card:hover { border-color: var(--gold-500); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 16px; }

/* Index numeral. Teal on light grounds (gold-600 is only 3.24:1 there);
   gold on the teal-900 band, where it clears AA. */
.card .idx {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--teal-500);
  margin-bottom: 16px;
}
.band.deep .card .idx { color: var(--gold-500); }

/* ---------- data table ---------- */
.data { border-collapse: collapse; width: 100%; max-width: 640px; }
.data th, .data td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 16px; }
.data th { color: var(--muted); font-weight: 500; width: 42%; }
.data td { font-variant-numeric: tabular-nums; }

/* ---------- timeline / lists ---------- */
/* Ruled timeline with a gold node per entry — the accent carries the sequence
   without becoming text. */
.timeline { list-style: none; margin: 0; padding: 0; max-width: 74ch; }
.timeline li {
  position: relative;
  padding: 20px 0 20px 30px;
  border-left: 1px solid var(--border);
  display: flex;
  gap: 24px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 28px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 4px var(--surface);
}
.timeline li:last-child { border-left-color: transparent; }
.timeline .when { flex: none; width: 140px; color: var(--teal-700); font-weight: 500; font-size: 15px; }
.timeline .what { color: var(--muted); font-size: 16px; }
.bullets { padding-left: 20px; margin: 16px 0 0; color: var(--muted); }
.bullets li { margin-bottom: 8px; }
.bullets li::marker { color: var(--gold-500); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 20px 0 0; max-width: none; }
.chips li {
  font-size: 15px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  background: var(--paper);
  transition: border-color 220ms ease, color 220ms ease;
}
.chips li:hover { border-color: var(--gold-500); color: var(--ink); }

/* ---------- disclosure document lists ---------- */
/* Each row is one Regulation 46 item: the clause, what belongs there, and its
   current state. The status column is what makes the page honest while the
   documents are still being assembled. */
.doclist { width: 100%; border-collapse: collapse; margin-top: 28px; }
.doclist th {
  text-align: left; font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted); padding: 0 16px 10px 0;
  border-bottom: 2px solid var(--gold-500);
}
.doclist td { padding: 15px 16px 15px 0; border-bottom: 1px solid var(--border); font-size: 15.5px; vertical-align: top; }
.doclist td:first-child { width: 88px; color: var(--teal-500); font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; padding-top: 17px; }
.doclist td:last-child { width: 150px; }
.doclist .item { color: var(--ink); }
.doclist .note { display: block; color: var(--muted); font-size: 14px; margin-top: 3px; }
.status { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.status-live { color: var(--teal-700); background: var(--surface); border: 1px solid var(--border); }
.status-pending { color: #7A5A14; background: #FBF3E1; border: 1px solid #EBD9A8; }
/* On phones a three-column row leaves the disclosure text narrower than the
   status badge beside it. Stack each row instead so the text gets full width. */
@media (max-width: 768px) {
  .doclist thead { display: none; }
  .doclist, .doclist tbody, .doclist tr, .doclist td { display: block; width: auto; }
  .doclist tr { border-bottom: 1px solid var(--border); padding: 16px 0; }
  .doclist td { border: 0; padding: 0; }
  .doclist td:first-child { width: auto; padding-top: 0; margin-bottom: 5px; }
  .doclist td:last-child { width: auto; margin-top: 10px; }
}

/* ---------- notices ---------- */
.notice {
  border-left: 3px solid var(--gold-500);
  background: var(--surface);
  padding: 20px 24px;
  margin-top: 28px;
  font-size: 16px;
  color: var(--muted);
  max-width: 68ch;
}
.notice strong { color: var(--ink); }
.band.deep .notice { background: rgba(255,255,255,.08); color: rgba(255,255,255,.86); }
.band.deep .notice strong { color: #fff; }

/* ---------- form ---------- */
.form { max-width: 620px; display: grid; gap: 20px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field .req { color: var(--teal-500); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
}
.field textarea { min-height: 150px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.consent input { margin-top: 5px; flex: none; width: 17px; height: 17px; }

/* ---------- footer (statutory — every page, brief §6) ---------- */
/* Light ground: the statutory lockup is teal-inked and must not be recoloured,
   so the footer it lives in stays light (brief section 2). */
.site-footer {
  background: var(--surface);
  border-top: 3px solid var(--gold-500);
  color: var(--muted);
  font-size: 14px;
  padding: 64px 0 48px;
}
.site-footer img { width: 292px; height: auto; display: block; margin-bottom: 24px; }
.site-footer .foot-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer a { color: var(--teal-500); }
.site-footer a:hover { color: var(--teal-900); }
.site-footer h2 { color: var(--teal-700); font-size: 12px; line-height: normal; letter-spacing: 3px; text-transform: uppercase; margin: 0 0 14px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.statutory-line { margin-top: 18px; line-height: 1.8; }
.forward-looking {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 24px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  font-style: italic;
}

/* ---------- responsive: single breakpoint (brief §3) ---------- */
@media (max-width: 768px) {
  :root { --rhythm: 56px; }
  h1 { font-size: 32px; }
  h2 { font-size: 25px; }
  .hero { padding: 56px 0; }
  .grid-3, .grid-2, .site-footer .foot-grid, .hero-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; }
  /* Stacked, the header runs ~118px. Sticky, that permanently eats 15% of a
     phone viewport — so below the breakpoint it scrolls away instead. */
  .site-header { position: static; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 14px; min-height: 0; padding-block: 14px; }
  .site-nav ul { flex-wrap: wrap; gap: 12px 18px; }
  .site-nav a { font-size: 14px; }
  .site-header img { width: 192px; }
  .timeline li { flex-direction: column; gap: 4px; }
  .timeline .when { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  /* Belt and braces: even if .js-motion were applied, nothing stays hidden. */
  .js-motion [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================ split hero
   Dark 60 / light 40. The mark is built by motion.js as a stack of slices
   centred on Z, so it rotates through its own middle rather than receding.
   Everything degrades to a static, readable panel without JavaScript. */

.hero-split { padding: 26px 0 8px; }

.hs-card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  border-radius: 22px;
  overflow: hidden;
  min-height: 476px;
  box-shadow: 0 30px 80px -34px rgba(8, 52, 58, .45);
}

/* ---------------------------------------------------------------- dark side */
.hs-dark {
  position: relative;
  overflow: hidden;
  background: var(--teal-900);
  padding: 0 44px 26px;
  display: flex;
  flex-direction: column;
}
.hs-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 55% at 12% 88%, rgba(23, 112, 123, .42), transparent 70%);
}
.hs-body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 0 26px;
  max-width: 54ch;
}
.hs-dark .eyebrow { color: var(--gold-500); }
.hs-dark h1 {
  color: #fff;
  font-size: clamp(28px, 2.9vw, 41px);
  line-height: 1.14;
  letter-spacing: -.022em;
  max-width: none;
  margin: 0 0 15px;
}
.hs-dark h1 em { font-style: normal; display: block; color: var(--gold-300, #EAC27E); }
.hs-dark .lede {
  color: rgba(255, 255, 255, .74);
  max-width: 52ch;
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.6;
}
.hs-statutory {
  position: relative;
  margin: auto 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, .52);
}
.hs-statutory b { color: rgba(255, 255, 255, .86); font-weight: 600; }

/* ---------------------------------------------------------------- light side */
.hs-light {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
}
.hs-light::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(44% 38% at 50% 46%, rgba(217, 164, 65, .20), transparent 72%),
    radial-gradient(64% 56% at 50% 88%, rgba(23, 112, 123, .10), transparent 74%);
}


/* ---------------------------------------------------------------- the mark */
.hs-stage {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  perspective: 1050px;
  min-height: 210px;
}
.hs-tilt { transform: rotateX(9deg); transform-style: preserve-3d; }
.hs-spin {
  width: 218px;
  height: 218px;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.hs-spin {
  animation: hsTurn 7s cubic-bezier(.45, 0, .55, 1) infinite alternate;
}
.hs-spin:empty { animation: none; }
@keyframes hsTurn {
  from { transform: rotateY(-30deg); }
  to   { transform: rotateY(30deg); }
}

.hs-spin .hs-layer {
  position: absolute;
  inset: 0;
  transform: translateZ(calc(var(--z) * 1px));
}
.hs-spin .hs-layer svg {
  width: 100%;
  height: 100%;
  display: block;
  shape-rendering: geometricPrecision;
}

/* Without JavaScript the stack is never built, so show the flat mark instead. */
.hs-spin:empty {
  background: url("assets/tavexia-logo-mark.svg") center / contain no-repeat;
}

.hs-ground {
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  width: 210px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(8, 52, 58, .22), transparent 78%);
  filter: blur(3px);
  pointer-events: none;
}

/* ---------------------------------------------------------------- dust */
.hs-dust { position: absolute; inset: 0; pointer-events: none; }
/* The dust is drawn on a canvas by motion.js: 130 grains lit by the pointer.
   Nothing to style beyond making the canvas fill its parent. */
.hs-dust canvas { position: absolute; inset: 0; display: block; }

/* ---------------------------------------------------------------- stats */
.hs-stats {
  /* A grid, not a flex row: three equal cards that cannot wrap to a second
     line when the light panel narrows. */
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.hs-stat {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
  box-shadow: 0 6px 20px -12px rgba(8, 52, 58, .30);
}
.hs-stat b {
  display: block;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -.02em;
  color: var(--teal-900);
  line-height: 1;
}
.hs-stat b.g { color: var(--gold-600); }
.hs-stat span {
  display: block;
  margin-top: 7px;
  font-size: 10.5px;
  line-height: 1.4;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-split { padding: 22px 0 4px; }
  .hs-card { grid-template-columns: 1fr; min-height: 0; }
  .hs-dark { padding: 0 26px 26px; }
  .hs-body { padding: 34px 0 26px; max-width: none; }
  .hs-light { padding: 26px 22px; }
  .hs-stage { min-height: 300px; }
  .hs-spin { width: 210px; height: 210px; }
}

@media (prefers-reduced-motion: reduce) {
  .hs-spin { animation: none; transform: rotateY(-14deg); }
}

/* ---------------------------------------------------------------- split hero
   The dark-band treatments are scoped to .band.deep. The split hero uses its
   own panel class, so the same rules are restated here. Without them the
   primary button renders teal-on-teal and vanishes into the panel. */

.hs-dark .btn-primary {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--teal-900);
}
.hs-dark .btn-primary:hover {
  background: var(--gold-600);
  border-color: var(--gold-600);
  color: var(--teal-900);
}
.hs-dark .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .42);
}
.hs-dark .btn-secondary:hover {
  background: rgba(255, 255, 255, .10);
  color: #fff;
  border-color: var(--gold-500);
}
.hs-dark .eyebrow::after { background: var(--gold-500); opacity: .85; }

/* The hero is a first-screen composition; its button row sits tighter than
   the site default so the whole card clears the fold. */
.hs-body .btn-row { margin-top: 24px; }
.hs-ground { bottom: 0; width: 180px; }

/* ---------------------------------------------------------------- faq
   Restrained on purpose: an institutional page, not a support centre. */
.faq { margin-top: 34px; border-top: 1px solid var(--border); }
.faq-item { padding: 24px 0; border-bottom: 1px solid var(--border); }
.faq-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--teal-900);
  margin: 0 0 8px;
  max-width: 62ch;
}
.faq-item p { margin: 0; max-width: 78ch; color: var(--muted); }
.faq-item a { color: var(--teal-700); }

/* ---------------------------------------------------------------- social */
.foot-social {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  gap: 18px;
}
.foot-social a {
  font-size: 13px;
  color: var(--teal-500);
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 112, 123, .32);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.foot-social a:hover { color: var(--teal-900); border-bottom-color: var(--gold-500); }

/* ---------------------------------------------------------------- onward
   A quiet trail out of each page. Institutional sites earn depth by making
   the structure walkable, not by shouting "related articles". */
.onward {
  border-top: 1px solid var(--border);
  background: var(--paper);
  padding: 30px 0 34px;
}
.onward ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
}
.onward a {
  font-size: 15px;
  color: var(--teal-700);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 3px;
  transition: border-color .2s ease;
}
.onward a:hover { border-bottom-color: var(--gold-500); }
