/* nnipacare.com — one stylesheet for the landing page, the resource library and the legal pages.
   Tokens match the app's theme-paper.css; the app will import this same token block.
   Thesis: the screen and the page are the same document. Paper, not glass. */

:root {
  color-scheme: light;
  --paper: #FAF8F4;
  --sheet: #FFFFFF;
  --deep: #F1EDE6;
  --ink: #1C1917;
  --ink-2: #3A3532;
  --muted: #6B6560;
  --faint: #8A837C;
  --rule: #E7E2DA;
  --rule-2: #D8D2C9;
  --brand: #345C4B;        /* eucalyptus: brand AND "complete" — never a second green */
  --brand-dark: #28473A;
  --brand-soft: #E4EDE8;
  --brand-ink: #7FB89E;    /* eucalyptus on dark grounds */
  --amber: #94670A;        /* needs a human */
  --amber-soft: #FAEEDD;
  --clay: #B3402B;         /* overdue */
  --clay-soft: #F6E3DE;
  --night: #1C1917;
  --night-2: #292624;
  --on-night: #F0EDE8;
  --on-night-muted: #A8A19A;

  --sans: "Public Sans", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --r1: 4px; --r2: 6px; --r3: 10px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { left: 8px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), 46rem); margin-inline: auto; }

/* ---------- type ---------- */
.eyebrow {
  margin: 0 0 14px; font: 600 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.display {
  margin: 0; font-family: var(--serif); font-weight: 450; font-optical-sizing: auto;
  font-size: clamp(2.3rem, 4.6vw, 4.4rem); line-height: 1.02; letter-spacing: -.02em; text-wrap: balance;
}
.display em { font-style: italic; color: var(--brand); }
.display-sm { margin: 0; font: 450 clamp(1.35rem, 2.2vw, 1.9rem)/1.25 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.mono { font-family: var(--mono); font-size: .92em; }
h2, h3 { text-wrap: balance; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r1); border: 1px solid var(--ink);
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--sheet); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--rule-2); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--ink); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--paper);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.stuck { border-color: var(--rule); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; }
.brand img { width: 92px; height: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--brand); }
.nav-links .nav-cta {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  background: var(--ink); color: #fff; border-radius: var(--r1);
}
.nav-links .nav-cta:hover { background: var(--brand-dark); color: #fff; }
@media (max-width: 860px) {
  .nav-links a:not(.nav-cta):not([href="/resources/"]) { display: none; }
}
@media (max-width: 420px) {
  .brand img { width: 76px; }
  .nav { min-height: 64px; gap: 12px; }
  .nav-links { gap: 12px; }
  .nav-links a[href="/resources/"] { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
  .nav-links .nav-cta { padding-inline: 12px; font-size: 13px; }
}

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

/* ---------- waitlist ---------- */
.waitlist { background: var(--deep); border-top: 1px solid var(--rule); padding: clamp(64px, 9vw, 120px) 0; scroll-margin-top: 60px; }
.waitlist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.waitlist-copy p:not(.eyebrow) { color: var(--ink-2); max-width: 32em; }
.waitlist-copy .display { margin-bottom: 20px; }
.waitlist-figure { margin: 36px 0 0; }
.waitlist-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r2); }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 3px; top: .38em; width: 6px; height: 11px;
  border: solid var(--brand); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.waitlist-form {
  background: var(--sheet); border: 1px solid var(--rule-2); border-radius: var(--r2);
  padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; box-shadow: 0 1px 0 var(--rule);
}
.field { display: grid; gap: 7px; margin: 0; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: 14px; font-weight: 600; color: var(--ink); padding: 0; }
.field i { font-style: normal; font-weight: 400; color: var(--faint); margin-left: 4px; }
.field input[type=email], .field input[type=text], .field select {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--rule-2); border-radius: var(--r1);
  background: var(--paper); color: var(--ink); font: 400 16px/1.3 var(--sans);
}
.field input:focus, .field select:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice { gap: 8px; }
.choice legend { margin-bottom: 8px; }
.choice label {
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px;
  border: 1px solid var(--rule); border-radius: var(--r1); cursor: pointer; font-size: 15px; background: var(--paper);
}
.choice label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.choice input { accent-color: var(--brand); width: 18px; height: 18px; margin: 0; flex: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: 13.5px; color: var(--muted); }
.form-note a { color: var(--ink-2); }
.form-status { margin: 0; font-size: 15px; font-weight: 600; min-height: 1.4em; }
.form-status[data-kind=error] { color: var(--clay); }
.form-status[data-kind=ok] { color: var(--brand); }
.waitlist-form.done .field, .waitlist-form.done button, .waitlist-form.done .form-note { display: none; }
.waitlist-form.done .form-status { font: 450 1.5rem/1.3 var(--serif); padding: 24px 0; }
@media (max-width: 860px) {
  .waitlist-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--on-night-muted); padding: 72px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid #35322F; }
.footer-brand img { width: 120px; margin-bottom: 18px; }
.footer-brand p { max-width: 30em; margin: 0; }
.footer-brand em { color: var(--on-night); font-style: italic; font-family: var(--serif); font-size: 1.08em; }
.site-footer nav { display: grid; gap: 10px; align-content: start; }
.site-footer nav .eyebrow { color: #8A837C; margin-bottom: 4px; }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { color: var(--brand-ink); }
.footer-base { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; padding-top: 24px; font-size: 13px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- cards (resources) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.card { display: grid; align-content: start; gap: 8px; text-decoration: none; color: var(--ink); }
.card figure { margin: 0 0 10px; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r2); background: var(--deep); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover img { transform: scale(1.025); }
.card .eyebrow { margin: 0; font-size: 11.5px; }
.card h3 { margin: 0; font: 500 1.28rem/1.2 var(--serif); letter-spacing: -.005em; }
.card:hover h3 { color: var(--brand); }
.card p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.card-lg { grid-template-columns: 1.35fr 1fr; gap: 0 clamp(24px, 4vw, 56px); align-items: center; }
.card-lg figure { grid-row: span 4; aspect-ratio: 16 / 10; margin: 0; }
.card-lg h3 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.1; }
@media (max-width: 760px) { .card-lg { grid-template-columns: 1fr; } .card-lg figure { grid-row: auto; margin-bottom: 14px; } }

/* ---------- hub ---------- */
.hub-head { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 56px); max-width: 58rem; margin-left: max(var(--gutter), (100% - var(--max)) / 2); }
.hub-head .dek, .article-head .dek { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--ink-2); max-width: 40em; margin: 22px 0 0; }
.hub-lead { padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--rule); }
.hub-bucket { padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--rule); }
.bucket-title { margin: 0 0 28px; font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }

/* ---------- article ---------- */
.article-head { padding: clamp(36px, 5vw, 72px) 0 clamp(28px, 3vw, 40px); max-width: 56rem; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--ink-2); }
.crumbs span { margin: 0 4px; }
.article-head .display { font-size: clamp(2.1rem, 4.2vw, 3.7rem); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.article-hero { margin-block: 0 clamp(36px, 5vw, 64px); }
.article-hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r2); }
.article-body { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 44rem); gap: clamp(28px, 5vw, 80px); justify-content: start; }
.answer { position: sticky; top: 92px; align-self: start; border-top: 3px solid var(--brand); padding-top: 18px; }
.answer p:last-child { margin: 0; font: 450 1.12rem/1.45 var(--serif); color: var(--ink); }
.prose { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { font: 500 clamp(1.5rem, 2.3vw, 1.95rem)/1.18 var(--serif); color: var(--ink); margin: 2.2em 0 .6em; letter-spacing: -.01em; }
.prose section:first-child h2 { margin-top: 0; }
.prose p { margin: 0 0 1.1em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--brand); }
.cites { font: 600 10.5px/1 var(--sans); letter-spacing: .04em; margin-left: 3px; vertical-align: super; }
.cites a { color: var(--brand); text-decoration: none; padding: 1px 4px; border: 1px solid var(--rule-2); border-radius: 3px; margin-left: 2px; background: var(--sheet); }
.cites a:hover { border-color: var(--brand); }
.faq details { border-top: 1px solid var(--rule); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--brand); font-size: 1.3em; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; }
.sources ol { padding-left: 1.3em; font-size: 15px; line-height: 1.5; }
.sources li { margin-bottom: 12px; scroll-margin-top: 90px; }
.sources li:target { background: var(--amber-soft); }
.sources li span { display: block; color: var(--muted); font-size: 13.5px; }
.sources li em { display: block; color: var(--muted); font-size: 13.5px; }
.sources a { color: var(--ink); }
.review-note { font-size: 14px; color: var(--muted); border-left: 2px solid var(--amber); padding-left: 14px; }
.article-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-block: clamp(48px, 6vw, 88px) 0;
  padding: clamp(28px, 4vw, 48px); background: var(--brand); color: #fff; border-radius: var(--r2);
}
.article-cta .eyebrow { color: #CFE2D8; }
.article-cta .display-sm { max-width: 30em; }
.article-cta .btn { background: #fff; color: var(--ink); border-color: #fff; flex: none; }
.article-cta .btn:hover { background: var(--paper); }
.continue { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 8vw, 104px); }
.next { position: relative; display: block; text-decoration: none; padding: 28px; border: 1px solid var(--rule-2); border-radius: var(--r2); background: var(--sheet); }
.next h3 { margin: 0; font: 500 1.5rem/1.2 var(--serif); padding-right: 40px; }
.next span { position: absolute; right: 26px; bottom: 24px; font-size: 1.6rem; color: var(--brand); transition: transform .2s var(--ease); }
.next:hover span { transform: translateX(4px); }
.related { display: grid; gap: 0; }
.related a { display: block; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.related a:first-child { border-top: 1px solid var(--rule); }
.related .eyebrow { margin: 0 0 4px; font-size: 11px; }
.related span { font-weight: 600; }
.related a:hover span { color: var(--brand); }
@media (max-width: 900px) {
  .article-body { grid-template-columns: 1fr; }
  .answer { position: static; }
  .continue { grid-template-columns: 1fr; }
  .article-cta { flex-direction: column; align-items: flex-start; }
}

/* ---------- legal ---------- */
.legal { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 104px); }
.legal .display { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 28px; }
.legal h2 { font: 600 1.15rem/1.3 var(--sans); margin: 2.2em 0 .6em; padding-top: 1.2em; border-top: 1px solid var(--rule); }
.legal p, .legal li { color: var(--ink-2); }
.legal .lead { font-size: 1.1rem; background: var(--sheet); border: 1px solid var(--rule-2); border-radius: var(--r2); padding: 20px 22px; }
.legal address { font-style: normal; background: var(--sheet); border: 1px solid var(--rule-2); padding: 16px 20px; border-radius: var(--r2); }
.legal a { color: var(--brand); }

/* =====================================================================
   Landing page
   ===================================================================== */
.page-home section { scroll-margin-top: 72px; }
.small { font-size: 15px; color: var(--muted); max-width: 34em; }

/* hero */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero .display { font-size: clamp(2.6rem, 5.2vw, 5rem); margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 32px 0 26px; }
.hero-note { margin: 0; font-size: 14px; color: var(--muted); padding-left: 14px; border-left: 2px solid var(--brand); }
.hero-figure { margin: 0; }
.hero-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 60% 55%; border-radius: var(--r2); }
figcaption { margin-top: 8px; font-size: 12px; color: var(--faint); letter-spacing: .02em; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: 2; }
  .hero-figure img { aspect-ratio: 4 / 3; }
}

/* statement */
.statement { background: var(--night); color: var(--on-night); padding: clamp(64px, 9vw, 128px) 0; }
.statement-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(28px, 5vw, 88px); align-items: end; }
.statement-line { font-size: clamp(2.2rem, 4.4vw, 4.2rem); }
.statement-line em { color: var(--brand-ink); }
.statement-body p { color: var(--on-night-muted); margin: 0 0 1em; font-size: 17px; }
.statement-body p:first-child { color: var(--on-night); }
@media (max-width: 860px) { .statement-grid { grid-template-columns: 1fr; } }

/* formats */
.formats { padding: clamp(72px, 10vw, 140px) 0; }
.formats-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.formats-figure { margin: 0; }
.formats-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r2); }
.formats .display, .lifecycle .display, .keep .display, .claims .display, .library .display, .specimen .display { font-size: clamp(2rem, 3.6vw, 3.3rem); margin-bottom: 20px; }
.source-list { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--rule); }
.source-list li { padding: 14px 0; border-bottom: 1px solid var(--rule); font-weight: 600; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.source-list em { font-style: normal; font-weight: 400; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .formats-grid { grid-template-columns: 1fr; } }

/* specimen — the signature */
.specimen { background: var(--brand); color: #fff; padding: clamp(72px, 10vw, 136px) 0; }
.specimen .eyebrow { color: #CFE2D8; }
.specimen .display em { color: #CFE2D8; }
.specimen .lede { color: #E4EDE8; }
.specimen-head { max-width: 50rem; margin-bottom: clamp(36px, 5vw, 56px); }
.specimen-board { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(16px, 2.5vw, 32px); align-items: start; }
.sheet { background: var(--sheet); color: var(--ink); border-radius: var(--r2); padding: 8px 0; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.sheet-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 22px 16px; border-bottom: 2px solid var(--ink); font-weight: 700; font-size: 15px; }
.sheet-tag { font-weight: 500; font-size: 12px; color: var(--faint); }
.row {
  display: grid; grid-template-columns: 11em 1fr auto; align-items: center; gap: 12px; width: 100%;
  padding: 16px 22px; border: 0; border-bottom: 1px solid var(--rule); background: none; text-align: left;
  font: inherit; color: inherit; cursor: pointer; transition: background .15s;
}
.row:last-child { border-bottom: 0; }
.row:hover { background: var(--paper); }
.row[aria-pressed=true] { background: var(--brand-soft); box-shadow: inset 3px 0 0 var(--brand); }
.row-gap[aria-pressed=true] { background: var(--amber-soft); box-shadow: inset 3px 0 0 var(--amber); }
.row-label { font-size: 14px; color: var(--muted); font-weight: 600; }
.row-value { display: flex; gap: 8px; flex-wrap: wrap; }
.redact { display: inline-block; width: var(--w); height: .8em; border-radius: 2px; background: var(--ink); opacity: .82; }
.row-value.empty { font-style: italic; color: var(--amber); font-weight: 600; }
.state { font-size: 12.5px; font-weight: 700; padding: 4px 9px; border-radius: 3px; white-space: nowrap; }
.state.ok { color: var(--brand); background: var(--brand-soft); }
.state.need { color: var(--amber); background: var(--amber-soft); }
.trace { position: relative; min-height: 260px; }
.trace-card { display: none; background: var(--paper); color: var(--ink); border-radius: var(--r2); padding: 22px; }
.trace-card.on { display: block; animation: lift .35s var(--ease); }
.trace-card.need { background: var(--amber-soft); border-left: 3px solid var(--amber); }
.trace-card .eyebrow { color: var(--muted); margin-bottom: 6px; }
.trace-doc { margin: 0; font: 500 1.4rem/1.2 var(--serif); }
.trace-loc { margin: 6px 0 18px; color: var(--muted); font-size: 15px; }
.trace-page { display: grid; gap: 9px; padding: 20px; background: var(--sheet); border: 1px solid var(--rule-2); border-radius: 3px; transform: rotate(-.6deg); }
.trace-page i { display: block; height: 9px; border-radius: 2px; background: var(--rule-2); }
.trace-page i:nth-child(2n) { width: 70%; }
.trace-page i.hit { background: var(--brand); opacity: .85; outline: 3px solid var(--brand-soft); }
.trace-page.grid { grid-template-columns: repeat(3, 1fr); }
.trace-page.grid i { width: auto; height: 22px; }
@keyframes lift { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.no-js .trace-card, html:not(.js) .trace-card { display: block; margin-bottom: 12px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: clamp(40px, 5vw, 64px) 0 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.25); }
.facts dt { font: 500 1.35rem/1.2 var(--serif); }
.facts dd { margin: 6px 0 0; color: #CFE2D8; font-size: 15px; }
@media (max-width: 860px) {
  .specimen-board { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr auto; }
  .row-label { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr; }
  .trace { min-height: 0; }
}

/* lifecycle */
.lifecycle { padding: clamp(72px, 10vw, 140px) 0; }
.lifecycle-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.lifecycle-figure { margin: 0; }
.lifecycle-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r2); }
.timeline { grid-column: 1 / -1; list-style: none; padding: 0; margin: clamp(16px, 3vw, 40px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--rule-2); }
.timeline li { position: relative; display: grid; gap: 8px; align-content: start; padding: 28px 24px 0 0; }
.timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--rule-2); }
.t-step { font: 500 1.4rem/1.1 var(--serif); }
.t-what { color: var(--muted); font-size: 15px; }
.t-state { justify-self: start; font-size: 12.5px; font-weight: 700; padding: 4px 9px; border-radius: 3px; background: var(--deep); color: var(--muted); }
.t-ok::before { background: var(--brand) !important; border-color: var(--brand) !important; }
.t-ok .t-state { background: var(--brand-soft); color: var(--brand); }
.t-need::before { background: var(--amber) !important; border-color: var(--amber) !important; }
.t-need .t-state { background: var(--amber-soft); color: var(--amber); }
@media (max-width: 860px) {
  .lifecycle-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--rule-2); margin-left: 6px; }
  .timeline li { padding: 0 0 26px 24px; }
  .timeline li::before { top: 4px; left: -7px; }
}

/* keep */
.keep { padding: clamp(64px, 8vw, 112px) 0; background: var(--deep); border-block: 1px solid var(--rule); }
.keep-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.keep-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.keep-cols > div { background: var(--sheet); border: 1px solid var(--rule-2); border-radius: var(--r2); padding: 26px; }
.keep-cols > div:last-child { border-top: 3px solid var(--brand); }
.keep-cols h3 { margin: 0 0 14px; font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.keep-cols > div:last-child h3 { color: var(--brand); }
.keep-cols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.keep-cols li { padding-bottom: 12px; border-bottom: 1px solid var(--rule); font-weight: 500; }
.keep-cols li:last-child { border: 0; padding: 0; }
@media (max-width: 860px) { .keep-grid, .keep-cols { grid-template-columns: 1fr; } }

/* claims */
.claims { padding: clamp(72px, 10vw, 140px) 0; }
.claims-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); }
.claims-list { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.claims-list li { counter-increment: c; position: relative; padding: 22px 0 22px 56px; border-top: 1px solid var(--rule-2); color: var(--ink-2); font-size: 17px; }
.claims-list li:last-child { border-bottom: 1px solid var(--rule-2); }
.claims-list li::before { content: counter(c, decimal-leading-zero); position: absolute; left: 0; top: 22px; font: 500 1.2rem/1.4 var(--serif); color: var(--brand); }
.claims-list strong { color: var(--ink); }
@media (max-width: 860px) { .claims-grid { grid-template-columns: 1fr; } }

/* name */
.name { padding: 0 0 clamp(72px, 10vw, 140px); }
.name-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.name figure { margin: 0; }
.name img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r2); }
.name .display { font-size: clamp(2.4rem, 4.6vw, 4.2rem); margin-bottom: 20px; }
@media (max-width: 860px) { .name-grid { grid-template-columns: 1fr; } }

/* library */
.library { padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid var(--rule); }
.library-head { display: grid; grid-template-columns: 5fr 5fr auto; gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.library-head p:not(.eyebrow) { margin: 0; color: var(--muted); }
.library-head .display { margin: 0; }
.library .cards { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .library-head { grid-template-columns: 1fr; } .library .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .library .cards { grid-template-columns: 1fr; } }

/* faq */
.faq-home { padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid var(--rule); }
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); }
.faq-home .display { font-size: clamp(2rem, 3.4vw, 3rem); }
.faq-home .faq p { color: var(--ink-2); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }


/* =====================================================================
   Round-3 council revisions (Codex critique, 2026-11-02)
   ===================================================================== */
.eyebrow { font-size: 13px; letter-spacing: .08em; }
figcaption, .field i, .sheet-tag { color: var(--muted); }
figcaption { font-size: 13px; line-height: 1.4; letter-spacing: 0; }
.nav-links .nav-cta { min-height: 44px; }
.faq summary { min-height: 44px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { flex: none; }

/* hero */
.hero { padding: 40px 0 64px; }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; }
.hero .display { font-size: clamp(40px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -.015em; margin-bottom: 20px; text-wrap: pretty; }
.hero .lede { font-size: 18px; line-height: 1.55; margin: 0; }
.hero-actions { margin: 24px 0 20px; gap: 16px 24px; }
.hero-note strong { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 600px) {
  .hero { padding: 24px 0 40px; }
  .hero .display { font-size: 36px; line-height: 1.06; }
  .hero-break { display: none; }
  .hero .lede { font-size: 17px; }
  .hero-actions { gap: 12px 20px; }
}

/* rhythm */
.statement { padding: 56px 0; }
.statement-line { font-size: clamp(32px, 3.4vw, 48px); }
.statement-grid { align-items: center; }
.statement-body p { margin: 0; color: var(--on-night) !important; }
.specimen, .formats, .lifecycle, .claims { padding: 80px 0; }
.keep, .library, .faq-home, .waitlist { padding-block: 72px; }
@media (max-width: 600px) {
  .statement { padding: 40px 0; }
  .specimen, .formats, .lifecycle, .claims, .keep, .library, .faq-home, .waitlist { padding-block: 56px; }
}

/* specimen */
.sheet { box-shadow: none; border: 1px solid var(--rule-2); border-radius: 4px; }
.specimen-field:last-child .row { border-bottom: 0; }
.trace-page { transform: none; }
.trace-page mark { background: var(--brand-soft); color: var(--ink); padding: 2px 4px; border-radius: 2px; box-shadow: inset 0 -2px 0 var(--brand); }
.trace-text { margin: 4px 0; font-size: 16px; color: var(--ink); }
.specimen .row:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
.trace-card.on { animation: none; }
.trace-doc { font: 600 20px/1.3 var(--sans); }
.facts dt { font: 600 18px/1.35 var(--sans); }
.state.need, .t-need .t-state { color: var(--ink-2); }
@media (max-width: 860px) {
  .sheet .trace { padding: 12px; background: var(--deep); border-bottom: 1px solid var(--rule); }
  .sheet .trace-card { padding: 16px; }
}

/* lifecycle */
.t-step { font: 600 18px/1.35 var(--sans); }
.timeline-note { grid-column: 1 / -1; margin: 0; font-size: 15px; color: var(--muted); }

/* cards / library */
.card .eyebrow, .related .eyebrow { font-size: 12px; letter-spacing: .06em; }
.card h3 { font-size: 22px; line-height: 1.22; }
.card p:not(.eyebrow) { font-size: 16px; line-height: 1.5; }
.card-copy { display: grid; gap: 8px; align-content: start; }
.card-lg { grid-template-columns: 1.2fr 1fr; align-items: center; }
.card-lg figure { grid-row: auto; }
.library .cards { grid-template-columns: 1.4fr 1fr 1fr 1fr; align-items: start; }
.library .card:not(.library-lead) figure { display: none; }
.library .card:not(.library-lead) { border-top: 1px solid var(--rule-2); padding-top: 18px; }
@media (max-width: 1000px) { .library .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .library .cards { grid-template-columns: 1fr; } }

/* hub */
.hub-head .display { font-size: clamp(36px, 4.3vw, 60px); max-width: 19ch; }
.hub-topics { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; }
.hub-topics a { padding-block: 8px; font-size: 15px; font-weight: 600; color: var(--brand); text-decoration: none; border-bottom: 1px solid var(--rule-2); }
.hub-bucket { scroll-margin-top: 88px; }
.hub-bucket .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
.hub-bucket .card { grid-template-columns: 200px 1fr; gap: 20px; align-items: start; padding-top: 22px; border-top: 1px solid var(--rule-2); }
.hub-bucket .card figure { margin: 0; aspect-ratio: 4 / 3; }
@media (max-width: 760px) {
  .hub-bucket .cards, .card-lg { grid-template-columns: 1fr; }
  .hub-bucket .card { grid-template-columns: 110px 1fr; gap: 14px; }
  .hub-bucket .card h3 { font-size: 19px; }
  .hub-bucket .card p:not(.eyebrow) { display: none; }
}

/* article */
.cites { font: 600 14px/1.5 var(--sans); letter-spacing: 0; margin: 0; vertical-align: baseline; }
.cites a { display: inline; padding: 0 1px; margin: 0; border: 0; background: transparent; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.review-status { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.review-status.overdue { padding: 12px 16px; border-left: 3px solid var(--amber); background: var(--amber-soft); color: var(--ink-2); font-size: 15px; }
.sources-jump { color: var(--ink-2); }
.article-head { max-width: 46rem; padding: 40px 0 32px; margin-inline: auto; }
.article-head .display { font-size: clamp(32px, 4vw, 52px); line-height: 1.06; }
.article-head .dek { font-size: 18px; line-height: 1.55; }
.answer { position: static; margin-top: 28px; padding-top: 16px; }
.answer p:last-child { font: 400 18px/1.6 var(--sans); }
.article-hero { max-width: 46rem; margin: 0 auto 36px; }
.article-hero img { aspect-ratio: 16 / 6; object-position: 50% 55%; }
.article-body { display: block; max-width: 46rem; margin-inline: auto; }
.prose { font-size: 18px; line-height: 1.65; }
.prose h2 { margin-top: 1.8em; }
.article-cta { border-radius: 4px; padding: 32px; max-width: 46rem; margin-inline: auto; }
.article-cta .display-sm { font-size: 24px; line-height: 1.3; }
.continue { max-width: 46rem; margin-inline: auto; grid-template-columns: 1fr; }
@media (max-width: 600px) {
  .article-head { padding-top: 28px; }
  .article-head .display { font-size: 32px; }
  .prose { font-size: 17px; }
  .article-cta { padding: 24px; }
  .article-cta .display-sm { font-size: 21px; }
}

/* waitlist */
.waitlist-form { padding: 28px; gap: 16px; border-radius: 4px; box-shadow: none; }
.field-help { margin: -4px 0 4px; font-size: 14px; color: var(--muted); }
.optional-details summary { cursor: pointer; font-size: 15px; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.optional-details summary i { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 6px; }
.optional-details[open] { display: grid; gap: 16px; }
.choice.invalid label { border-color: var(--clay); }
@media (max-width: 600px) { .waitlist-form { padding: 22px; } }
.lifecycle .timeline { margin-top: 0; }
.lifecycle-grid { row-gap: 32px; }
