/* ==========================================================================
   C_Verified homepage
   Mobile-first. Base styles target a 360-430px phone; min-width queries add
   tablet and desktop layout on top. Nothing here shrinks below a readable size.
   Breakpoints: 48em (768px) tablet, 64em (1024px) desktop, 90em (1440px) wide.
   ========================================================================== */

:root {
  --ink: #10211c;
  --ink-soft: #3d4f49;
  --ink-mute: #53594e;
  --forest: #0d3b31;
  --forest-deep: #071f1a;
  --green: #176b55;
  --mint: #a9dbc8;
  --cream: #f4f1e9;
  --paper: #fffdf8;
  --sand: #e8e0d2;
  --rust: #b84f3f;
  --amber: #8a5a20;
  --line: rgba(13, 59, 49, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);

  /* Fluid scale. Every minimum is a size that is actually readable on a phone. */
  --fs-micro: 0.8125rem;                                  /* 13px floor, fine print */
  --fs-label: 0.75rem;                                    /* 12px floor, eyebrows/mono */
  --fs-small: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
  --fs-body: clamp(1.0625rem, 1.03rem + 0.18vw, 1.125rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.42vw, 1.375rem);
  --fs-h3: clamp(1.25rem, 1.13rem + 0.6vw, 1.625rem);
  --fs-h2: clamp(2.125rem, 1.55rem + 2.9vw, 4.25rem);
  --fs-h1: clamp(2.75rem, 1.9rem + 4.3vw, 5.75rem);
  --fs-display: clamp(4rem, 2.4rem + 8vw, 9rem);

  --gutter: 1.25rem;
  --section-pad: 4.5rem;
  --measure: 38rem;
  --shell: 76rem;
  --radius: 1.25rem;
  --tap: 2.75rem;                                          /* 44px minimum target */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

@media (min-width: 48em) {
  :root { --gutter: 2.5rem; --section-pad: 7rem; --radius: 1.75rem; }
}
@media (min-width: 64em) {
  :root { --gutter: 3.5rem; --section-pad: 9rem; }
}
@media (min-width: 90em) {
  :root { --gutter: 4rem; --section-pad: 11rem; }
}

/* --------------------------------------------------------------- base --- */

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

html {
  scroll-behavior: smooth;
  background: var(--cream);
  -webkit-text-size-adjust: 100%;
}

/* The header is fixed, so anchor jumps must stop clear of it rather than
   landing the heading underneath the nav pill. */
:target, main > section[id] { scroll-margin-top: 5.5rem; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }

a { color: inherit; }
img, video { display: block; max-width: 100%; }
/* Logos and photos are wrapped in <picture> to offer WebP alongside the
   canonical PNG. display:contents keeps the wrapper out of layout so the <img>
   stays a direct child of its flex/grid parent. */
picture { display: contents; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
::selection { color: var(--paper); background: var(--green); }

h1, h2, h3, p, li { text-wrap: pretty; }
h1, h2, h3 { margin: 0; letter-spacing: -0.045em; font-weight: 800; }
h1 { font-size: var(--fs-h1); line-height: 0.94; letter-spacing: -0.055em; }
h2 { font-size: var(--fs-h2); line-height: 0.98; letter-spacing: -0.05em; }
h3 { font-size: var(--fs-h3); line-height: 1.18; letter-spacing: -0.03em; }

h1 em, h2 em {
  color: var(--green);
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.035em;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem; top: 1rem;
  z-index: 40;
  padding: 0.8rem 1rem;
  color: var(--paper);
  background: var(--forest-deep);
  border-radius: 0.75rem;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 260ms var(--ease);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #e0a73d; outline-offset: 3px; }

/* The C_Verified mark: bold name plus the green check. Never plain text. */
.cv { font-weight: 800; color: var(--forest); white-space: nowrap; }
.cv::after {
  content: "\2713";
  margin-left: 0.13em;
  color: var(--green);
  font-size: 0.8em;
  font-weight: 700;
}
.stakes-section .cv, .signature-section .cv, .final-cta .cv { color: var(--paper); }
.stakes-section .cv::after, .signature-section .cv::after, .final-cta .cv::after { color: var(--mint); }

.eyebrow {
  margin: 0 0 1rem;
  color: var(--green);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
}
.eyebrow-light { color: var(--mint); }

.section-lead {
  max-width: var(--measure);
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: var(--fs-lead);
  line-height: 1.55;
}

/* Scroll reveals. Kept subtle: opacity and a short lift, no blur. */
.reveal { opacity: 1; transform: none; }
.js .reveal:not(.is-visible) { opacity: 0; transform: translateY(1.5rem); }
.js .reveal { transition: opacity 700ms var(--ease), transform 700ms var(--ease); }

/* ------------------------------------------------------------ buttons --- */

.button, .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3rem;
  padding: 0.5rem 0.5rem 0.5rem 1.35rem;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-size: var(--fs-small);
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 400ms var(--ease), background 400ms var(--ease), color 400ms var(--ease);
}
.button-primary, .nav-cta { color: var(--paper); background: var(--forest); }
.button-primary:hover, .nav-cta:hover { background: #145342; }
.button-light { color: var(--forest); background: var(--paper); }
.button-light:hover { background: #eaf5ef; }
.button-quiet {
  padding-right: 1.35rem;
  color: var(--forest);
  background: transparent;
  border: 1px solid var(--line);
}
.button-quiet:hover { background: rgba(13, 59, 49, 0.06); }
.button:active, .nav-cta:active { transform: scale(0.985); }

.button-icon {
  width: 2rem; height: 2rem;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  transition: transform 400ms var(--ease), background 400ms var(--ease);
}
.button-light .button-icon { background: rgba(13, 59, 49, 0.08); }
.button:hover .button-icon, .nav-cta:hover .button-icon {
  transform: translate(2px, -2px);
  background: rgba(255, 255, 255, 0.22);
}
.button-light:hover .button-icon { background: rgba(13, 59, 49, 0.13); }

/* ----------------------------------------------------------- nav bar --- */

.site-header {
  position: fixed;
  inset: 0.7rem 0 auto;
  z-index: 30;
  pointer-events: none;
  transition: transform 380ms var(--ease);
}
/* Retracted while scrolling down so the pill never sits on top of the content
   being read. It returns on any upward scroll. See initializeNavigation(). */
.site-header.is-tucked { transform: translateY(-160%); }
.nav-shell {
  width: calc(100% - 1.4rem);
  max-width: var(--shell);
  min-height: 3.5rem;
  margin: 0 auto;
  padding: 0.4rem 0.4rem 0.4rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 14px 38px rgba(25, 53, 45, 0.13);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  transition: background 400ms var(--ease), box-shadow 400ms var(--ease);
}
.site-header.is-scrolled .nav-shell {
  background: rgba(255, 253, 248, 0.97);
  box-shadow: 0 12px 34px rgba(25, 53, 45, 0.17);
}

.brand {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  width: 8.75rem;
  flex: none;
}
.brand-logo { width: 100%; height: auto; }
.nav-links, .nav-cta { display: none; }

.menu-toggle {
  width: var(--tap); height: var(--tap);
  position: relative;
  flex: none;
  border-radius: 50%;
  background: var(--forest);
  cursor: pointer;
}
.menu-toggle i {
  position: absolute;
  left: 0.85rem;
  width: 1.05rem; height: 1.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform 400ms var(--ease), top 400ms var(--ease);
}
.menu-toggle i:first-of-type { top: 1.1rem; }
.menu-toggle i:last-of-type { top: 1.55rem; }
.menu-toggle[aria-expanded="true"] i:first-of-type { top: 1.32rem; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:last-of-type { top: 1.32rem; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 25;
  padding: 6rem var(--gutter) 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  color: #fff;
  background: rgba(6, 28, 22, 0.97);
  backdrop-filter: blur(24px);
  transition: opacity 400ms var(--ease), visibility 400ms var(--ease);
}
.mobile-menu.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: flex-start; }
.mobile-menu nav a {
  padding: 0.45rem 0;
  font-size: clamp(1.85rem, 8vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  text-decoration: none;
  opacity: 0;
  transform: translateY(1rem);
  transition: transform 500ms var(--ease), opacity 500ms var(--ease);
}
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: 45ms; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: 90ms; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: 135ms; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: 180ms; }
.mobile-menu-foot { display: grid; gap: 1rem; }
.mobile-menu-foot .button { width: 100%; }
.mobile-menu-foot p { margin: 0; color: #9db0aa; font-size: var(--fs-micro); }

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

.hero {
  padding: 5.75rem var(--gutter) 3.5rem;
  display: grid;
  gap: 2rem;
}
.hero-copy { max-width: 34rem; }
.hero-lead {
  max-width: 32rem;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: var(--fs-lead);
  line-height: 1.55;
}
.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-actions .button { flex: 1 1 auto; min-width: 10rem; }

.development-note {
  margin: 1.75rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink-mute);
  font-size: var(--fs-micro);
  font-weight: 650;
}
.development-note span {
  width: 0.45rem; height: 0.45rem;
  flex: none;
  border-radius: 50%;
  background: #d59a32;
  box-shadow: 0 0 0 0.28rem rgba(213, 154, 50, 0.16);
}

/* Hero media: photo with one legible decision card, not a field of tiny labels. */
.hero-media {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #d7ddd8;
  box-shadow: 0 24px 60px rgba(36, 65, 56, 0.18);
}
.hero-media > picture > img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 60% center;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 19, 15, 0.06) 0 38%, rgba(3, 19, 15, 0.82));
  pointer-events: none;
}

.checkpoint-card {
  position: absolute;
  z-index: 2;
  left: 0.75rem; right: 0.75rem; bottom: 0.75rem;
  padding: 1.1rem 1.15rem 1.15rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  background: rgba(5, 26, 20, 0.72);
  backdrop-filter: blur(16px);
}
.cc-kicker {
  margin: 0;
  color: var(--mint);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cc-subject {
  margin: 0.5rem 0 0;
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.cc-steps {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}
.cc-steps li {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: 0.6rem;
  align-items: start;
  color: rgba(255, 255, 255, 0.66);
  font-size: var(--fs-micro);
  line-height: 1.35;
  transition: color 400ms var(--ease);
}
.cc-steps li::before {
  content: "";
  width: 0.55rem; height: 0.55rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  transition: background 400ms var(--ease), box-shadow 400ms var(--ease);
}
.cc-steps li.is-active { color: #fff; }
.cc-steps li.is-active::before {
  background: var(--mint);
  border-color: var(--mint);
  box-shadow: 0 0 0 0.22rem rgba(168, 234, 209, 0.2);
}
.cc-outcome {
  margin: 1.05rem 0 0;
  padding-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.cc-outcome strong {
  color: #f4c684;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.cc-outcome span { color: rgba(255, 255, 255, 0.82); font-size: var(--fs-micro); }

.motion-toggle {
  position: absolute;
  z-index: 3;
  top: 0.75rem; right: 0.75rem;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(4, 25, 19, 0.66);
  backdrop-filter: blur(10px);
  font-size: var(--fs-micro);
  font-weight: 700;
  cursor: pointer;
}
.motion-icon {
  width: 0.6rem; height: 0.6rem;
  flex: none;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
[aria-pressed="true"] .motion-icon {
  border: 0;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: currentColor;
}

/* -------------------------------------------------------------- what --- */

.what-section {
  padding: var(--section-pad) var(--gutter);
  background: var(--paper);
}
.what-copy { max-width: var(--shell); margin-inline: auto; }
.what-copy h2 { max-width: 14ch; }

.what-steps {
  max-width: var(--shell);
  margin: 3rem auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}
.what-steps li {
  padding: 1.75rem 0;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.5rem 1rem;
  align-items: start;
  border-top: 1px solid var(--line);
}
.what-steps li:last-child { border-bottom: 1px solid var(--line); }
.step-index {
  grid-row: 1 / span 2;
  color: var(--green);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--fs-label);
  font-weight: 600;
  padding-top: 0.35rem;
}
.what-steps p { margin: 0; color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.6; }

.answer-rail {
  max-width: var(--shell);
  margin: 2.5rem auto 0;
  display: grid;
  gap: 0.6rem;
}
.answer {
  margin: 0;
  padding: 1.1rem 1.25rem;
  display: grid;
  gap: 0.3rem;
  border-radius: 0.85rem;
  border-left: 3px solid currentColor;
  background: rgba(13, 59, 49, 0.05);
}
.answer strong {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.answer span { color: var(--ink-soft); font-size: var(--fs-small); }
.answer-allow { color: #0a5a43; background: #e4f4ec; }
.answer-hold { color: var(--amber); background: #f8eedd; }
.answer-deny { color: #8e3228; background: #f9e5e1; }

.scope-note {
  max-width: var(--shell);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: var(--fs-small);
  line-height: 1.6;
}

/* --------------------------------------------------------- signature --- */

.signature-section {
  padding: var(--section-pad) var(--gutter);
  color: #fff;
  background: var(--forest-deep);
}
.signature-copy { max-width: var(--shell); margin-inline: auto; }
.signature-copy h2 { max-width: 12ch; }
.signature-copy .section-lead { color: #c6d2ce; }

/* No boxes. The numerals carry the section; hairlines only separate them. */
.signature-stats {
  max-width: var(--shell);
  margin: 3.5rem auto 0;
  display: grid;
}
.signature-stats div {
  padding: 2.25rem 0;
  border-top: 1px solid var(--line-light);
}
.signature-stats div:last-child { border-bottom: 1px solid var(--line-light); }
.signature-stats dt {
  color: var(--mint);
  font-size: clamp(3.5rem, 16vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.82;
}
.signature-stats dd {
  max-width: 34rem;
  margin: 1.1rem 0 0;
  color: #c6d2ce;
  font-size: var(--fs-body);
  line-height: 1.55;
}

.signature-turn {
  max-width: 28ch;
  margin: 3rem auto 0;
  color: #fff;
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.35;
}

.signature-section .scope-note {
  margin-top: 3rem;
  color: #9fb2ac;
  border-top-color: var(--line-light);
}
.signature-section .source-note { max-width: var(--shell); margin-inline: auto; }

@media (min-width: 48em) {
  .signature-stats div {
    display: grid;
    grid-template-columns: minmax(0, 19rem) minmax(0, 1fr);
    gap: 3rem;
    align-items: baseline;
  }
  .signature-stats dd { margin-top: 0; }
  .signature-turn { margin-inline: 0; }
}

/* ------------------------------------------------------------ stakes --- */

/* Folded into the signature section: one dark act, not two. */
.stakes-block {
  max-width: var(--shell);
  margin: 3.5rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid var(--line-light);
}
.stakes-block > h3 {
  max-width: 20ch;
  margin: 0;
  color: #fff;
  font-size: var(--fs-h3);
  line-height: 1.25;
}

.stakes-rail {
  max-width: var(--shell);
  margin: 2rem auto 0;
  padding: 0;
  list-style: none;
}
.stakes-rail li {
  padding: 1.75rem 0;
  display: grid;
  gap: 0.5rem;
  align-items: start;
  border-top: 1px solid var(--line-light);
}
.stakes-rail li:last-child { border-bottom: 1px solid var(--line-light); }
.stakes-rail h4 {
  max-width: 22ch;
  margin: 0;
  color: #fff;
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.35;
}
.stakes-rail p { margin: 0; color: #b6c5c0; font-size: var(--fs-small); line-height: 1.6; }

.case-strip {
  max-width: var(--shell);
  margin: 3rem auto 0;
  padding: 1.75rem;
  display: grid;
  gap: 0.85rem;
  color: var(--ink);
  background: var(--mint);
  border-radius: 0.25rem 2rem 0.25rem 2rem;
}
.case-number {
  margin: 0;
  font-size: var(--fs-display);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.75;
}
.case-strip blockquote { margin: 0; }
.case-strip blockquote p {
  margin: 0;
  max-width: 40rem;
  font-size: var(--fs-lead);
  line-height: 1.4;
}
.case-strip figcaption { color: #2f5147; font-size: var(--fs-micro); line-height: 1.5; }

/* ----------------------------------------------------------- example --- */

.example-section { padding: var(--section-pad) var(--gutter); }
.section-heading { max-width: var(--shell); margin-inline: auto; }
.section-heading h2 { max-width: 16ch; }

.product-workspace {
  max-width: var(--shell);
  margin: 2.5rem auto 0;
  display: grid;
  gap: 0.5rem;
  padding: 0.5rem;
  border: 1px solid rgba(13, 59, 49, 0.1);
  border-radius: calc(var(--radius) + 0.5rem);
  background: rgba(13, 59, 49, 0.06);
}

/* Tabs: a real segmented control on phones, no hidden horizontal scroll. */
.scenario-tabs {
  padding: 0.4rem;
  display: grid;
  gap: 0.35rem;
  border-radius: var(--radius);
  background: var(--forest-deep);
}
.scenario-tabs button {
  min-height: var(--tap);
  padding: 0.9rem 1rem;
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 0.15rem 0.75rem;
  align-items: center;
  text-align: left;
  color: #aebdb8;
  border: 0;
  border-radius: 0.85rem;
  background: transparent;
  cursor: pointer;
  transition: background 350ms var(--ease), color 350ms var(--ease);
}
.scenario-tabs button:hover { background: rgba(255, 255, 255, 0.06); }
.scenario-tabs button[aria-selected="true"] { color: #fff; background: rgba(255, 255, 255, 0.11); }
.scenario-index {
  color: var(--mint);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--fs-label);
  font-weight: 600;
}
.scenario-name { font-size: var(--fs-small); font-weight: 700; line-height: 1.3; }
.mini-status {
  color: #9fb0aa;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--fs-label);
  font-weight: 600;
  white-space: nowrap;
}
.scenario-tabs button[aria-selected="true"] .mini-status { color: var(--mint); }

.decision-panel {
  padding: 1.75rem 1.35rem 2rem;
  border-radius: var(--radius);
  background: var(--paper);
}
.decision-panel-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.panel-ref {
  margin: 0;
  color: var(--green);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.status-badge {
  padding: 0.5rem 0.7rem;
  color: var(--amber);
  background: #f4e5cd;
  border-radius: 0.5rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--fs-label);
  font-weight: 600;
  white-space: nowrap;
}
[data-state="verified"] .status-badge, [data-state="verified"] .receipt-result { color: #0a5a43; background: #d6efe5; }
[data-state="denied"] .status-badge, [data-state="denied"] .receipt-result { color: #8e3228; background: #f5d8d3; }

.decision-panel h3 { max-width: 18ch; }
.decision-panel blockquote {
  max-width: 40rem;
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 2px solid var(--line);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: var(--fs-lead);
  font-style: italic;
  line-height: 1.4;
}

.request-facts {
  margin: 0;
  display: grid;
  border-top: 1px solid var(--line);
}
.request-facts div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.request-facts dt { margin-bottom: 0.35rem; color: var(--ink-mute); font-size: var(--fs-micro); }
.request-facts dd { margin: 0; font-size: var(--fs-small); font-weight: 700; line-height: 1.45; }

.decision-result { margin-top: 1.75rem; display: grid; gap: 0.75rem; }
.result-label { margin: 0; display: grid; gap: 0.35rem; }
.result-label span { color: var(--ink-mute); font-size: var(--fs-micro); }
.result-label strong {
  color: var(--green);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--fs-h3);
  font-weight: 600;
}
.decision-result p:last-child { margin: 0; color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.65; }

.next-step {
  margin: 1.5rem 0 0;
  padding: 1rem 1.15rem;
  border-radius: 0.75rem;
  background: rgba(13, 59, 49, 0.06);
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1.5;
}

/* ----------------------------------------------------------- receipt --- */

.receipt-section {
  padding: var(--section-pad) var(--gutter);
  display: grid;
  gap: 2.5rem;
  background: var(--sand);
}
.receipt-copy { max-width: var(--measure); }
.receipt-copy h2 { max-width: 9ch; }

.receipt-card {
  padding: 0.55rem;
  border: 1px solid rgba(13, 59, 49, 0.11);
  border-radius: calc(var(--radius) + 0.35rem);
  background: rgba(13, 59, 49, 0.07);
  box-shadow: 0 24px 60px rgba(56, 72, 62, 0.15);
}
.receipt-card header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--paper);
}
.receipt-logo { width: 8.5rem; height: auto; }
.receipt-result {
  padding: 0.5rem 0.7rem;
  color: var(--amber);
  background: #f4e5cd;
  border-radius: 0.5rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--fs-label);
  font-weight: 600;
}
.receipt-card dl { margin: 0; padding: 0.35rem 1.15rem 1rem; background: var(--paper); }
.receipt-card dl div {
  display: grid;
  gap: 0.3rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}
.receipt-card dt { color: var(--ink-mute); font-size: var(--fs-micro); }
.receipt-card dd { margin: 0; font-size: var(--fs-small); font-weight: 700; line-height: 1.4; }
.receipt-card footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.9rem 1.15rem;
  border-radius: 0 0 var(--radius) var(--radius);
  border-top: 1px solid var(--line);
  color: var(--ink-mute);
  background: var(--paper);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--fs-label);
  font-weight: 600;
}

/* ----------------------------------------------------------- why now --- */

.why-now { position: relative; background: var(--forest-deep); isolation: isolate; }
.why-photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.75) contrast(1.03); }
/* Dark enough to hold white text at roughly 9:1, light enough that the
   photograph still reads as texture rather than a flat green block. */
.why-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 22, 17, 0.7) 0 30%, rgba(4, 22, 17, 0.86));
}
.why-content { padding: var(--section-pad) var(--gutter); max-width: var(--shell); margin-inline: auto; color: #fff; }
.why-heading h2 { max-width: 13ch; }

.why-stats {
  margin: 2.5rem 0 0;
  display: grid;
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}
.why-stats div { padding: 1.75rem 1.35rem; background: rgba(4, 22, 17, 0.78); }
.why-stats dt {
  color: var(--mint);
  font-size: clamp(2.75rem, 11vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.85;
}
.why-stats dd { max-width: 30rem; margin: 0.9rem 0 0; color: #c6d2ce; font-size: var(--fs-small); line-height: 1.6; }
.source-note { max-width: 44rem; margin: 1.75rem 0 0; color: #93a6a0; font-size: var(--fs-micro); line-height: 1.6; }

/* ------------------------------------------------------------- about --- */

.about-section {
  padding: var(--section-pad) var(--gutter);
  display: grid;
  gap: 2.25rem;
  background: #ece7dc;
}
.about-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(56, 72, 62, 0.16); }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% center; }
.about-copy h2 { max-width: 13ch; }
.about-copy p { max-width: var(--measure); margin: 1.5rem 0 0; color: var(--ink-soft); line-height: 1.7; }
.about-status {
  margin-top: 1.5rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  font-weight: 650;
}
.about-mark { margin: 1.75rem 0 0 !important; }
.about-mark img { width: min(100%, 11rem); height: auto; }

/* ----------------------------------------------------------- program --- */

.program-section { padding: var(--section-pad) var(--gutter); display: grid; gap: 2.5rem; }
.program-copy { max-width: var(--measure); }
.program-copy h2 { max-width: 13ch; }
.program-copy .button { margin-top: 2rem; }

.program-terms { margin: 0; padding: 0; list-style: none; max-width: var(--shell); }
.program-terms li {
  padding: 1.5rem 0;
  display: grid;
  gap: 0.4rem;
  align-items: start;
  border-top: 1px solid var(--line);
}
.program-terms li:last-child { border-bottom: 1px solid var(--line); }
.program-terms span {
  grid-row: 1 / span 2;
  padding-top: 0.3rem;
  color: var(--green);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: var(--fs-label);
  font-weight: 600;
}
.program-terms p { margin: 0; color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.55; }
.program-fineprint { margin: 1.25rem 0 0; color: var(--ink-mute); font-size: var(--fs-micro); }

/* --------------------------------------------------------- final cta --- */

.final-cta {
  padding: var(--section-pad) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  background: var(--forest);
}
.final-cta h2 { max-width: 15ch; }
.final-cta .button { margin-top: 2rem; }

/* ------------------------------------------------------------ footer --- */

.site-footer {
  padding: 2.75rem var(--gutter);
  display: grid;
  gap: 1.5rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; min-height: var(--tap); width: 9rem; }
.site-footer > p { max-width: 34rem; margin: 0; color: var(--ink-mute); font-size: var(--fs-micro); line-height: 1.6; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; margin-left: -0.6rem; }
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding-inline: 0.6rem;
  font-size: var(--fs-small);
  font-weight: 650;
  text-decoration: none;
  transition: color 300ms var(--ease);
}
.site-footer nav a:hover { color: var(--green); }
.site-footer > small { color: var(--ink-mute); font-size: var(--fs-micro); }

.footer-marks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.footer-marks img { width: auto; height: 2rem; }
.footer-marks picture img { height: 2.25rem; }

.footer-legal {
  display: grid;
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.footer-legal p {
  max-width: 46rem;
  margin: 0;
  color: var(--ink-mute);
  font-size: var(--fs-micro);
  line-height: 1.65;
}

/* ---------------------------------------------------------- 404 page --- */

.not-found-page { min-height: 100dvh; color: #fff; background: var(--forest-deep); }
.not-found {
  width: min(92vw, 1200px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 3rem 0;
  display: grid;
  align-content: center;
  gap: 2.5rem;
}
.not-found-brand { width: 11rem; padding: 0.7rem; border-radius: 1rem; background: var(--paper); }
.not-found-copy h1 { max-width: 10ch; }
.not-found-copy > p { max-width: 40rem; color: #b9c9c3; line-height: 1.7; }
.not-found-status { font-family: "Geist Mono", ui-monospace, monospace; font-size: var(--fs-micro); font-weight: 600; }
.not-found-status span {
  display: inline-block;
  width: 0.55rem; height: 0.55rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--mint);
}

/* ==========================================================================
   TABLET  >= 48em
   ========================================================================== */

@media (min-width: 48em) {
  .hero { padding-top: 8rem; grid-template-columns: 1fr; gap: 3rem; }
  .hero-copy { max-width: 40rem; }
  /* Tablet shows the native 16:9 framing, whose subjects sit on the right. The
     card belongs in the copy space the photograph leaves on the left. */
  .hero-media > picture > img { aspect-ratio: 16 / 10; object-position: center; }
  .checkpoint-card {
    left: 1.25rem;
    right: auto;
    bottom: 1.25rem;
    width: min(21rem, 48%);
  }
  .hero-media::after { background: linear-gradient(110deg, rgba(3, 19, 15, 0.62) 0 42%, rgba(3, 19, 15, 0.22)); }
  .motion-toggle { top: 1.25rem; right: 1.25rem; }

  .what-steps { grid-template-columns: repeat(3, 1fr); gap: 0 2rem; }
  .what-steps li { border-bottom: 1px solid var(--line); }
  .answer-rail { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }

  .stakes-rail li { grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; }
  .stakes-rail p { grid-column: 3; grid-row: 1; }
  .case-strip {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem 2.5rem;
    padding: 2.5rem;
    align-items: center;
  }
  .case-number { grid-row: 1 / span 2; }

  .scenario-tabs { grid-template-columns: repeat(3, 1fr); }
  .scenario-tabs button {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    gap: 0.75rem;
    min-height: 7.5rem;
    align-items: start;
  }
  .scenario-name { align-self: end; font-size: var(--fs-body); }
  .decision-panel { padding: 2.5rem; }
  .request-facts { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .request-facts div { padding: 1.25rem 1.25rem 1.25rem 0; border-bottom: 0; }
  .request-facts div + div { padding-left: 1.25rem; border-left: 1px solid var(--line); }
  .decision-result { grid-template-columns: 0.5fr 1.5fr; gap: 2rem; align-items: start; }

  .receipt-section { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
  .receipt-card dl div { grid-template-columns: 0.55fr 1.45fr; gap: 1rem; align-items: baseline; }

  .why-photo img { object-position: center; }
  .why-photo::after { background: linear-gradient(100deg, rgba(4, 22, 17, 0.96) 0 45%, rgba(4, 22, 17, 0.72)); }
  .why-stats { grid-template-columns: repeat(2, 1fr); }
  .why-stats .stat-main { grid-column: 1 / -1; }

  .about-section { grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; align-items: center; }
  .about-photo img { aspect-ratio: 4 / 5; }

  .program-section { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
  .program-terms { padding-top: 0.5rem; }

  .site-footer { grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
  .site-footer > small { grid-column: 1 / -1; }
}

/* ==========================================================================
   DESKTOP  >= 64em
   ========================================================================== */

@media (min-width: 64em) {
  .nav-shell { padding-left: 1.15rem; }
  .nav-links {
    display: flex;
    align-items: center;
    gap: clamp(0.25rem, 1.2vw, 1.25rem);
    margin-inline: auto;
  }
  .nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: var(--tap);
    min-height: var(--tap);
    padding-inline: 0.6rem;
    font-size: var(--fs-micro);
    font-weight: 650;
    text-decoration: none;
    transition: color 300ms var(--ease);
  }
  .nav-links a:hover { color: var(--green); }
  .nav-cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none; }
  .brand { width: 10rem; }

  .hero {
    min-height: 100dvh;
    padding-top: 9rem;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--gutter);
  }
  .hero-copy { max-width: none; }
  /* Desktop takes the art-directed portrait crop, which keeps both clinicians in
     frame. The card stays deliberately small so it reads as an artifact resting
     on the photograph rather than a panel covering it. */
  .hero-media > picture > img { aspect-ratio: 3 / 4; object-position: center; }
  .hero-media::after { background: linear-gradient(200deg, rgba(3, 19, 15, 0.02) 0 46%, rgba(3, 19, 15, 0.84)); }
  .checkpoint-card { width: min(20rem, 84%); left: 1.25rem; right: auto; bottom: 1.25rem; }

  .what-copy { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: end; }
  .what-copy .eyebrow { grid-column: 1; }
  .what-copy h2 { grid-column: 1; }
  .what-copy .section-lead { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin-top: 0; }

  .section-heading, .stakes-heading { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: end; }
  .section-heading .eyebrow, .section-heading h2 { grid-column: 1; }
  .section-heading .section-lead { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin-top: 0; }
  .stakes-heading .eyebrow { grid-column: 1; }
  .stakes-heading h2 { grid-column: 2; grid-row: 1 / span 2; }

  .product-workspace { grid-template-columns: 0.6fr 1.4fr; }
  .scenario-tabs { grid-template-columns: 1fr; }
  .scenario-tabs button { min-height: 8rem; }
  .decision-panel { padding: clamp(2.5rem, 4vw, 4rem); }

  .receipt-section { gap: 6rem; }
  .why-content { padding-block: var(--section-pad); }
  .why-heading { max-width: 40rem; }
  .about-section { gap: 5rem; }
  .program-section { gap: 6rem; }
}

/* ==========================================================================
   MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body:not(.motion-enabled) *, body:not(.motion-enabled) *::before, body:not(.motion-enabled) *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal:not(.is-visible), .js .reveal { opacity: 1; transform: none; }
}
