/* Lyfafa v9b — "Shagun, Engineered" (Visual Direction 2, bolder pass)
   Color strategy: Committed — deep forest carries the hero + footer; cream carries the ledger body.
   Grammar: passbook rows are a SIGNATURE, not a default — table budget is two per page
   (family ledger + SIP schedule). Everything else uses the named forms in DESIGN.md. */

:root {
  --cream: #F7F4EC;
  --tint: #EFE9DB;
  --ink: #20261B;          /* deep forest-brown — text AND the drenched surfaces */
  --ink-soft: #5A5744;     /* secondary text, >=4.5:1 on cream */
  --saffron: #C2410C;      /* the ONE accent: CTAs, links, key emphasis */
  --saffron-deep: #A33509; /* hover */
  --gold: #C6B07D;         /* rules, chips ONLY — never text */
  --dark-soft: #CFC9B8;    /* secondary text on forest */
  --disp: 'Bricolage Grotesque', sans-serif;
  --body: 'Hind', sans-serif;
  --mono: 'Spline Sans Mono', monospace;
  --quote: 'Vollkorn', serif;
  --wrap: 68rem;
  /* motion tokens (DESIGN.md) */
  --ease-out-expo:  cubic-bezier(.16, 1, .3, 1);   /* entrances */
  --ease-out-quart: cubic-bezier(.25, 1, .5, 1);   /* micro-interactions */
  --ease-in-out:    cubic-bezier(.45, 0, .55, 1);  /* crossfades only */
  --dur-fast: 150ms;   /* hover, press, focus */
  --dur-med:  300ms;   /* reveals — UI ceiling */
  --dur-slow: 700ms;   /* hero orchestration only */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

img, video { max-width: 100%; height: auto; display: block; }

::selection { background: var(--saffron); color: var(--cream); }

h1, h2, h3 { font-family: var(--disp); line-height: 1.05; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7.5vw, 4.9rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4.6vw, 3rem); font-weight: 650; margin-bottom: .6rem; max-width: 24ch; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { max-width: 42rem; text-wrap: pretty; }

a { color: var(--saffron); transition: color var(--dur-fast) var(--ease-out-quart); }
a:hover { color: var(--saffron-deep); }

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

.mono, output { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -200vw; top: 0; background: var(--ink);
  color: var(--cream); padding: .5rem 1rem; z-index: 10;
}
.skip-link:focus { left: 0; color: var(--cream); }

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

section { padding: clamp(4rem, 7vw, 5.5rem) 0; } /* >=64px above every H2 */

/* Section hand-off: the surface swap IS the divider. The gold double seam appears
   only between two SAME-surface neighbors; cream<->tint and anything<->forest self-separate. */
main > section + section { border-top: 3px double var(--gold); }
main > section:not(.tint):not(.band-dark) + section.tint,
main > section.tint + section:not(.tint):not(.band-dark),
main > section.band-dark + section,
main > section + section.band-dark { border-top: none; }

.tint { background: var(--tint); }

/* one deliberate kicker style survives — mono, bracketed, no pill */
.kicker-line {
  font-family: var(--mono); font-size: .8rem; letter-spacing: .06em;
  color: var(--ink-soft); margin-bottom: 1rem;
}
.kicker-line::before { content: "[ "; color: var(--saffron); }
.kicker-line::after { content: " ]"; color: var(--saffron); }
/* the brand claim on the forest band: a display fragment, muted setup — lit payoff
   (the band's own dark-soft -> cream vocabulary; the brand word is the only lit thing) */
.safety-claim {
  font-family: var(--disp); font-size: clamp(1.15rem, 2.6vw, 1.6rem); font-weight: 500;
  letter-spacing: -0.01em; color: var(--dark-soft); margin-bottom: 1rem;
  text-align: center; max-width: none;
}
.safety-claim strong { color: var(--cream); font-weight: 650; }

.lead { color: var(--ink-soft); font-size: 1.1rem; }
.fine { font-size: .85rem; color: var(--ink-soft); max-width: 42rem; margin-top: .75rem; }

/* legacy class kept for inner pages — quiet mono, no border */
.eyebrow {
  font-family: var(--mono); font-size: .78rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--ink-soft); display: inline-block; margin-bottom: .8rem;
}

/* ---------- header (sits on the forest hero) ---------- */
.site-head {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  max-width: var(--wrap); margin: 0 auto; padding: 1.1rem 1.25rem;
}
.hero-shell .site-head { border-bottom: 1px solid rgba(198, 176, 125, .35); }
.hero-shell .brand { color: var(--cream); }
.hero-shell .site-head nav a { color: var(--dark-soft); }
.hero-shell .site-head nav a:hover { color: var(--cream); }
.brand {
  font-family: var(--disp); font-weight: 700; font-size: 1.7rem; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: flex-start; gap: .2rem; line-height: 1;
}
/* the wax seal stamps the wordmark's shoulder — the Lyfafa lockup */
.brand-seal { width: 15px; height: 15px; margin-top: -1px; }
.site-head nav { display: flex; gap: 1.25rem; margin-left: auto; }
.site-head nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.site-head nav a:hover { color: var(--saffron); }
@media (max-width: 44rem) {
  /* one tight row: wordmark left, mono links right. The header button is redundant
     on mobile — the hero CTA sits just below and the sticky bar covers the rest. */
  .site-head { flex-wrap: nowrap; align-items: center; padding: .9rem 1.25rem; }
  .site-head .brand { font-size: 1.45rem; }
  .site-head nav {
    gap: 1rem; align-items: center;
    font-family: var(--mono); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase;
  }
  .site-head nav a { padding: .5rem 0; } /* tap target */
  .site-head .btn { display: none; }
}
body > .site-head { border-bottom: 1px solid var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; background: var(--saffron); color: var(--cream);
  font-family: var(--body); font-weight: 600; text-decoration: none;
  padding: .65em 1.5em; border-radius: 999px; border: none;
  font-size: 1rem; cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out-quart),
              transform var(--dur-fast) var(--ease-out-quart);
}
.btn:hover { background: var(--saffron-deep); color: var(--cream); transform: translateY(-1px); }
.btn:active { transform: scale(.97); } /* the only pressed-state on the site */
.btn-lg { font-size: 1.1rem; padding: .8em 1.9em; }
/* sticky bottom CTA — mobile only; JS hides it while hero CTA or the real form/footer is on screen */
.sticky-cta { display: none; }
.micro { font-family: var(--mono); font-size: .8rem; color: var(--ink-soft); margin-top: .6rem; }

/* ---------- hero: the forest drench ---------- */
.hero-shell { background: var(--ink); color: var(--cream); }
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 44rem) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { color: var(--cream); }
.hero .sub { margin: 1.2rem 0 1.7rem; font-size: 1.15rem; line-height: 1.7; color: var(--dark-soft); }
.hero .micro { color: var(--dark-soft); }

/* the envelope, alone — nothing competes with the H1 */
.hero-art { margin: 0; }
.hero-art img {
  margin: 0 auto;
  /* soft cream halo lifts the dark envelope off the forest ground */
  filter: drop-shadow(0 0 60px rgba(247, 244, 236, .14)) drop-shadow(0 28px 36px rgba(0, 0, 0, .45));
}

/* hero load choreography — the one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .hero-grid > div { animation: hero-rise var(--dur-slow) var(--ease-out-expo) both; }
  .hero-art img { animation: hero-rise .8s .15s var(--ease-out-expo) both; }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- trust strip ---------- */
/* bottom seam is the ceremonial double rule: the one cream->cream boundary above the fold */
.trust-strip { border-bottom: 3px double var(--gold); padding: 1rem 0; }
.trust-strip ul {
  list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  justify-content: center; font-family: var(--mono); font-size: .82rem;
}

/* ---------- fate cards + marker verdict (form 6 + 7 — the cash "before" as objects) ---------- */
/* static — no motion; a stamped fate doesn't animate */
.fate-row { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.fate-card {
  transform: rotate(var(--r, 0deg));
  background: var(--cream); border: 1px solid var(--gold);
  padding: 1.5rem 1.75rem;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-soft);
}
.verdict {
  font-family: var(--disp); font-weight: 650; line-height: 1.15;
  font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -0.015em;
  max-width: 22ch; text-wrap: balance; margin-top: 2.5rem;
}
/* gold as highlighter background is chip-class use — still never glyph color */
.verdict mark {
  background: linear-gradient(104deg, transparent 2%, var(--gold) 3% 96%, transparent);
  color: inherit; padding: 0 .15em; border-radius: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; /* full swipe on each wrapped line */
}

/* ---------- calculator (unboxed split: sliders left, oversized numeral right — form 8) ---------- */
.calc { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem 3.5rem; max-width: 56rem; align-items: start; }
@media (max-width: 44rem) { .calc { grid-template-columns: 1fr; } }
/* both columns hang from the same gold hairline */
.calc-controls { border-top: 1px solid var(--gold); padding-top: 1.25rem; }
.field { margin-top: 1.75rem; }
.field-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  margin-bottom: .5rem;
}
.calc label { font-weight: 500; font-size: .95rem; }
.calc output { font-size: .95rem; color: var(--ink-soft); }
.calc input[type="range"] { width: 100%; accent-color: var(--saffron); display: block; }
.calc input[type="number"] {
  font-family: var(--mono); font-size: 1.05rem; width: 5.5rem;
  padding: .35rem .5rem; border: 1px solid var(--gold); border-radius: 4px;
  background: var(--cream); color: var(--ink); margin-top: .3rem;
}
.seg { border: 1px solid var(--gold); border-radius: 999px; display: inline-flex; overflow: hidden; }
.seg label { margin: 0; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span {
  display: inline-block; padding: .4rem 1.1rem; font-size: .9rem;
  transition: background-color var(--dur-fast) var(--ease-out-quart), color var(--dur-fast) var(--ease-out-quart);
}
.seg input:checked + span { background: var(--ink); color: var(--cream); }
.seg input:focus-visible + span { outline: 3px solid var(--saffron); outline-offset: -3px; }
.calc-result { align-self: start; }
/* mono caption sits right beneath the engraved figure */
.calc-lead { font-family: var(--mono); font-size: .82rem; letter-spacing: .04em; color: var(--ink-soft); margin-top: .35rem; }
/* the oversized numeral: one engraved figure over a gold hairline */
.calc-fig {
  font-family: var(--disp); font-weight: 650; font-variant-numeric: tabular-nums;
  font-size: clamp(3rem, 9vw, 6.5rem); line-height: 1; letter-spacing: -0.02em;
  border-top: 1px solid var(--gold); padding-top: 1.25rem;
}
/* figure updates instantly (tabular-nums = zero shift); one small tick acknowledges the change */
.calc-fig.tick { animation: fig-tick var(--dur-fast) var(--ease-out-quart); }
@keyframes fig-tick { from { transform: scale(1.02); } }
.calc-total { font-size: .95rem; margin-top: .4rem; }
.calc-disclaimer {
  font-size: .85rem; color: var(--ink-soft); margin-top: .9rem;
  border-top: 1px solid var(--gold); padding-top: .75rem;
}
.calc-note { font-size: .85rem; color: var(--ink-soft); margin-top: .5rem; }

/* ---------- steps (inner-page sequence — kept for how-it-works.html) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
@media (max-width: 60rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 34rem) { .steps { grid-template-columns: 1fr; } }
.steps li { border-top: 3px double var(--gold); padding-top: 1rem; }
.steps .n { font-family: var(--mono); font-size: 1rem; color: var(--saffron); display: block; }
.steps h3 { margin: .35rem 0 .35rem; }
.steps p { font-size: .95rem; color: var(--ink-soft); margin-bottom: .9rem; }

/* ---------- progress rail (form 9 — the home-page steps, one line, no mini-tables) ---------- */
.rail { list-style: none; display: flex; gap: 2rem; margin-top: 2.5rem; }
.rail li { flex: 1; border-top: 1px solid var(--gold); padding-top: .75rem; }
.rail .n { font-family: var(--mono); font-size: 1rem; color: var(--saffron); display: block; }
.rail h3 { font-size: 1.05rem; margin: .3rem 0 .25rem; }
.rail p { font-size: .82rem; color: var(--ink-soft); letter-spacing: .03em; }
@media (max-width: 44rem) {
  .rail { flex-direction: column; gap: 1.6rem; }
  .rail li { border-top: none; border-left: 1px solid var(--gold); padding: 0 0 0 1rem; }
  .rail .n { display: inline; margin-right: .5rem; }
  .rail h3 { display: inline; font-size: 1.1rem; }
  .rail p { font-size: .88rem; }
}

/* ---------- givers: asymmetric pair — SIP standing-instruction card (table #2) + chip cluster ---------- */
.routes {
  display: grid; grid-template-columns: 1fr 1fr; align-items: start;
  gap: 2rem 3.5rem; max-width: 56rem; margin: 2.5rem auto 0;
}
/* the SIP card: a literal bank schedule — it earns its rows and the ceremonial rule */
.route {
  border: 3px double var(--gold); border-radius: 10px;
  background: var(--cream); padding: 1.5rem 1.6rem 1.2rem;
}
/* the occasion side floats on the surface — no box (form 11); header aligns with the card's */
.route-open { padding-top: calc(1.5rem + 3px); }
.route-open .chips { margin-top: 1.4rem; }
@media (max-width: 44rem) { .routes { grid-template-columns: 1fr; } }
.route h3 { font-size: 1.35rem; }
.route-rule {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .05em;
  color: var(--ink-soft); margin: .35rem 0 1.1rem;
}
.route-row {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: .65rem 0; border-top: 1px solid var(--tint); font-size: .95rem;
  transition: background-color var(--dur-fast) var(--ease-out-quart);
}
.route-row .mono { font-size: .88rem; }
.route-foot { font-family: var(--mono); font-size: .75rem; color: var(--ink-soft); margin-top: 1rem; }
/* chip cluster: enumerations as gold-bordered mono pills, no card */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips span {
  border: 1px solid var(--gold); border-radius: 999px;
  padding: .35rem .9rem; font-family: var(--mono); font-size: .85rem;
}

/* ---------- safety: the statement band (archetype 3 — forest, one centered sentence) ---------- */
.safety { text-align: center; }
.safety h2 { max-width: none; margin: 0 auto; font-size: clamp(2rem, 5.5vw, 3.6rem); }
/* scroll-linked text fill: dark-soft -> cream as the band crosses the viewport.
   Readable at every point; static cream when unsupported or reduced-motion. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .safety h2 {
      background: linear-gradient(90deg, var(--cream) 45%, var(--dark-soft) 55%);
      background-size: 220% 100%;
      background-position: 100% 0;
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      color: transparent;
      animation: statement-fill linear both;
      animation-timeline: view();
      animation-range: cover 25% contain 60%;
    }
    @keyframes statement-fill { to { background-position: 0% 0; } }
  }
}

/* ---------- family timeline: gifts as moments on the gold time-thread (2026 -> 2044) ---------- */
/* the emotional slow-down: this seam weighs more than the others */
#ledger { padding-top: calc(clamp(4rem, 7vw, 5.5rem) * 1.5); }
#ledger h2 { margin-inline: auto; text-align: center; }
#ledger .fine { text-align: center; margin-inline: auto; margin-top: 2rem; }
.years {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; margin-top: 3.5rem; position: relative;
}
/* the thread */
.years::before {
  content: ""; position: absolute; left: 0; right: 0; top: 5px;
  border-top: 1px solid var(--gold);
}
/* each moment hangs from the thread by its marker */
.yr { position: relative; padding-top: 1.6rem; }
.yr::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--gold);
}
.yr-open::before { background: var(--saffron); border-color: var(--saffron); }
.yr-date { font-family: var(--mono); font-size: .8rem; color: var(--ink-soft); letter-spacing: .05em; }
.yr-open .yr-date { color: var(--saffron); }
.yr-who { font-family: var(--disp); font-weight: 600; font-size: 1.05rem; margin-top: .35rem; }
.yr-who img { display: inline-block; vertical-align: -0.3em; margin-right: .35rem; }
.yr-amt { font-family: var(--mono); font-size: .85rem; color: var(--ink-soft); margin-top: .25rem; }
.yr-quote {
  font-family: var(--quote); font-style: italic; font-size: 1rem;
  color: var(--ink-soft); margin-top: .8rem; max-width: 16rem;
}
.yr-quote [lang="en"] { font-size: .85rem; }
/* mobile: the thread turns vertical, moments stack along it */
@media (max-width: 44rem) {
  .years { grid-template-columns: 1fr; gap: 2.5rem; margin-top: 2.5rem; }
  .years::before { left: 5px; right: auto; top: 0; bottom: 0; border-top: none; border-left: 1px solid var(--gold); }
  .yr { padding: 0 0 0 1.75rem; }
  .yr::before { top: .35rem; }
  .yr-quote { max-width: none; }
}

/* ---------- FAQ: the question ledger (edge-to-edge ruled rows) ---------- */
details { border-bottom: 1px solid var(--gold); padding: 1.1rem 0; }
details summary {
  font-family: var(--disp); font-weight: 500; font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  transition: color var(--dur-fast) var(--ease-out-quart);
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+"; font-family: var(--mono); font-size: 1rem; color: var(--saffron); flex: none;
}
details[open] summary::after { content: "−"; }
details summary:hover { color: var(--saffron); }
details p { margin-top: .6rem; color: var(--ink-soft); max-width: 42rem; }
details p + p { margin-top: .5rem; }
#questions details:first-of-type { border-top: 3px double var(--gold); margin-top: 2.5rem; }

/* ---------- final CTA band ---------- */
.cta-band { text-align: center; }
/* waitlist form: one input, one button, centered */
.wl { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; align-items: stretch; margin-top: 1.4rem; }
.wl input[type="email"] {
  font-family: var(--mono); font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--gold); border-radius: 999px;
  padding: .8em 1.4em; min-width: min(20rem, 80vw);
}
.wl input[type="email"]::placeholder { color: var(--ink-soft); }
.wl button { flex: none; }
.wl button:disabled { opacity: .6; cursor: default; transform: none; }
.wl-msg { width: 100%; font-size: .82rem; color: var(--ink-soft); min-height: 1.2em; margin-top: .3rem; }
/* the feel-good moment: a sealed confirmation, native <dialog> */
.wl-dialog {
  margin: auto; /* the global margin reset kills the UA's dialog centering — restore it */
  border: none; border-radius: 14px; background: var(--cream); color: var(--ink);
  padding: 2.2rem 2.4rem; max-width: min(24rem, calc(100vw - 2.5rem)); text-align: center;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45);
}
.wl-dialog::backdrop { background: rgba(32, 38, 27, .55); }
.wl-dialog img { margin: 0 auto .9rem; }
.wl-dialog h3 { font-size: 1.55rem; text-wrap: balance; }
.wl-dialog p { margin: .6rem auto 0; color: var(--ink-soft); font-size: .98rem; }
.wl-hindi { font-size: 1.1rem; color: var(--ink); }
.wl-dialog form { margin-top: 1.4rem; }
@media (prefers-reduced-motion: no-preference) {
  .wl-dialog[open] { animation: dlg-in var(--dur-med) var(--ease-out-expo); }
}
@keyframes dlg-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.cta-band .divider { margin: 0 auto 1.5rem; max-width: 22rem; opacity: .9; }
.cta-band h2 { margin: 0 auto 1.2rem; }
.cta-band .fine { margin: 1rem auto 0; }
.cta-band p { margin-left: auto; margin-right: auto; }

/* ---------- prose pages (how-it-works, trust, faq) ---------- */
.page-hero { padding: 3.5rem 0 2.5rem; }
.page-hero p { color: var(--ink-soft); font-size: 1.1rem; margin-top: .75rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.5rem; }
.prose p { margin-top: .75rem; }
.prose ul { margin: .75rem 0 0 1.25rem; max-width: 42rem; }
.prose li { margin-top: .35rem; }
.note-box {
  border: 3px double var(--gold);
  border-radius: 6px; padding: 1.25rem 1.5rem; margin-top: 1.5rem;
  background: var(--tint); max-width: 44rem;
}
.note-box h3 { margin-top: 0; }
.reg-list { list-style: none; margin: 1.5rem 0 0; max-width: 44rem; }
.reg-list li { border-top: 1px solid var(--gold); padding: 1rem 0; }
.reg-list li:last-child { border-bottom: 1px solid var(--gold); }
.reg-list strong { font-family: var(--disp); font-weight: 600; display: block; }
.reg-list p { color: var(--ink-soft); font-size: .95rem; margin-top: .25rem; }

/* legacy card class (inner pages + dark band remnants) */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
@media (max-width: 44rem) { .card-grid { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--gold); border-radius: 8px; padding: 1.4rem; background: var(--cream); }
.card p { font-size: .95rem; color: var(--ink-soft); }
.card h3 { margin-bottom: .35rem; }
.band-dark { background: var(--ink); color: var(--cream); }
.band-dark h2, .band-dark h3 { color: var(--cream); }
.band-dark .card { background: transparent; border-color: rgba(198, 176, 125, .5); }
.band-dark .card p { color: var(--dark-soft); }

/* ---------- footer (forest, closes the drench — hard cut, zero gap) ---------- */
.footer { background: var(--ink); color: var(--dark-soft); padding: 2.5rem 0; }
.foot-id { font-family: var(--mono); font-size: .85rem; color: var(--cream); }
.foot-risk { font-size: .85rem; margin-top: .75rem; max-width: 44rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.25rem; font-size: .85rem; }
.foot-links a { color: var(--dark-soft); }
.foot-links a:hover { color: var(--cream); }

/* ---------- mobile: designed, not collapsed (desktop untouched above 44rem) ---------- */
@media (max-width: 44rem) {
  /* sticky bottom CTA */
  .sticky-cta {
    display: block; position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
    z-index: 5; text-align: center; padding: .9em; font-size: 1.05rem; min-height: 48px;
    box-shadow: 0 8px 30px rgba(32, 38, 27, .35);
  }
  .sticky-cta[hidden] { display: none; }

  /* hero h1 buys back the drama band (~0.55–0.65x desktop) */
  h1 { font-size: clamp(2.6rem, 11vw, 3.6rem); }

  /* calculator: result numeral first, then controls — never slide blind */
  .calc { gap: 1.75rem; }
  .calc-result { order: -1; }
  .calc-fig { font-size: clamp(3rem, 13vw, 4rem); }
  .calc input[type="range"] { height: 2.2rem; }
  .calc input[type="number"] { padding: .55rem .6rem; width: 6rem; } /* 44px+ tap; 1.05rem ≈ 16.8px, no iOS zoom */

  /* fate cards: strewn pile, not a list */
  .fate-row { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .fate-card { font-size: .85rem; }
  .fate-card:nth-child(2) { margin-left: 18%; }
  .fate-card:nth-child(3) { margin-left: 7%; }

  /* trust strip: 2x2 grid instead of ragged centered wrap */
  .trust-strip ul { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.25rem; justify-items: start; }

  /* safety band holds the statement scale */
  .safety h2 { font-size: clamp(2.2rem, 9.5vw, 3rem); }

  /* two-ways: kill the cross-column alignment padding once stacked */
  .route-open { padding-top: 0; }

  /* waitlist: full-width stacked input + button */
  .wl input[type="email"] { width: 100%; min-width: 0; text-align: center; }
  .wl button { width: 100%; min-height: 48px; }

  /* footer legal links get tap room */
  .foot-links { gap: .35rem 1.5rem; }
  .foot-links a { display: inline-block; padding: .4rem 0; }
}

/* ---------- reduced motion: every animation and transition collapses to its end state ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
