/* trans.study — shared design tokens (the brand DNA both front-ends inherit).
   Layout and components live in m/m.css and d/d.css; this is only the palette,
   type, reset, and a couple of shared primitives. */
:root {
  --ink: #14181f;
  --ink-soft: #3d4350;
  --ink-faint: #6b7280;
  --paper: #fbfaf7;
  --paper-raised: #ffffff;
  --line: #e7e4dc;
  --line-strong: #d6d2c7;

  --blue: #4aa3d4;
  --blue-ink: #1f6f9e;
  --pink: #e58aa0;
  --pink-ink: #c4536e;
  --accent: var(--blue-ink);
  /* the trans flag, distilled to a gradient — the site's one signature color move,
     reused for the header stripe, the brand asterisk, and active-nav indicators */
  --flag: linear-gradient(90deg, var(--blue), var(--pink));

  --exec: #b4554d;
  --judicial: #6a5a9c;
  --state: #b88a3e;

  --serif: "Iowan Old Style", "Charter", "Georgia", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 10px;
  --shadow: 0 1px 2px rgba(20,24,31,.05), 0 8px 24px rgba(20,24,31,.06);

  /* comfortable reading measure (~66 chars) — caps prose line length on wide screens */
  --measure: 66ch;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .4em; text-wrap: balance; }
/* fluid type scale — continuous with the viewport, no media-query jumps; rem term respects zoom.
   Per-page inline/CSS sizes still override where a heading needs a specific size. */
h1 { font-size: clamp(1.85rem, 1.15rem + 2.6vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 1.05rem + 1.3vw, 1.85rem); }
p { margin: 0 0 1em; }
/* Links — three deliberate tiers, so prose, navigation, and citations don't all
   look identical (that sameness is the default-template tell):
   1) prose / evidence links (this base rule) — coloured with a custom animated
      underline: thin and tinted at rest, full-strength on hover.
   2) nav, chips, buttons, the brand — opt out with `text-decoration: none` and
      carry their own affordances (see m.css / d.css).
   3) citation "↗" links — styled per component (.ann-src, .spot-src, .f-src …). */
a { color: var(--blue-ink); text-decoration-line: underline; text-decoration-thickness: 1.5px; text-decoration-color: color-mix(in srgb, var(--blue-ink) 32%, transparent); text-underline-offset: 2px; transition: text-decoration-color .15s ease, color .15s ease; }
a:hover { text-decoration-color: var(--blue-ink); }
.muted { color: var(--ink-faint); }
.small { font-size: .82rem; }

/* ── Brand mark: the wordmark plus a footnote-style citation marker "[1]" in the flag
   gradient, drawn as an inline SVG (a real graphic with an SVG gradient fill — robust
   on mobile, unlike the old CSS background-clip:text). It's a citation site, so the
   logo is a reference marker: "trans.study, and here's the source." Sizes off the
   brand font (em units) so it scales everywhere. */
.brand { display: inline-flex; align-items: flex-start; gap: .12em; letter-spacing: -.02em; text-decoration: none; }
.brand .brand-cite { height: .74em; width: auto; margin-top: .02em; flex: none; overflow: visible; }

/* selection + keyboard focus — small signals of a finished, considered site */
::selection { background: color-mix(in srgb, var(--blue) 26%, transparent); }
:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 2px; border-radius: 3px; }

.btn {
  display: inline-flex; align-items: center; gap: .5em; font: inherit; font-weight: 600;
  background: var(--accent); color: #fff; border: 0; padding: 13px 22px; border-radius: 999px;
  cursor: pointer; text-decoration: none; transition: transform .08s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* ── Playbook descent: the 6 escalation stages as full-viewport sections that
   sink from paper into near-black as the campaign turns from "reasonable-sounding"
   to criminalizing doctors — the thesis rendered as motion. ── */
.descent, .ds-coda { margin-inline: calc(50% - 50vw); }   /* full-bleed out of the padded column */
.ds { min-height: 100svh; display: grid; place-items: center; padding: 12vmin 7vw; background: var(--ds-bg); color: var(--ds-fg); }
.ds-inner { max-width: 680px; width: 100%; }
.ds-num { font-family: var(--serif); font-weight: 600; font-size: clamp(5.5rem, 24vw, 17rem); line-height: .78; letter-spacing: -.04em; color: var(--ds-acc); }
.ds-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 5.5vw, 3.4rem); letter-spacing: -.02em; margin: .08em 0 .35em; color: var(--ds-fg); }
.ds-sum { font-family: var(--serif); font-size: clamp(1.12rem, 2.8vw, 1.55rem); line-height: 1.5; max-width: 34ch; color: var(--ds-fg); opacity: .94; margin: 0; }
/* the descent palette — light & calm at the top, near-black & red at the bottom */
.ds:nth-child(1) { --ds-bg: #fbfaf7; --ds-fg: #14181f; --ds-acc: #1f6f9e; }
.ds:nth-child(2) { --ds-bg: #eae5dc; --ds-fg: #14181f; --ds-acc: #1f6f9e; }
.ds:nth-child(3) { --ds-bg: #3c4250; --ds-fg: #f3f1ec; --ds-acc: #8fccf0; }
.ds:nth-child(4) { --ds-bg: #292e39; --ds-fg: #f3f1ec; --ds-acc: #f4a6b9; }
.ds:nth-child(5) { --ds-bg: #181d25; --ds-fg: #f3f1ec; --ds-acc: #f29ab0; }
.ds:nth-child(6) { --ds-bg: #0c0f13; --ds-fg: #f3f1ec; --ds-acc: #ef6480; }
/* the "what this looks like" toggle + detail, restyled to read on any stage bg */
.ds .f-tech-toggle { margin-top: 20px; border: 1px solid currentColor; color: var(--ds-fg); opacity: .72; background: none; font: inherit; font-size: .78rem; font-weight: 700; padding: 6px 13px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.ds .f-tech-toggle:hover { opacity: 1; }
.ds .f-tech-toggle .chev { transition: transform .15s ease; }
.ds .f-tech-toggle.open .chev { transform: rotate(180deg); }
.ds .f-tech { margin: 16px auto 0; max-width: 560px; text-align: left; background: rgba(140,140,140,.14); border: 1px solid rgba(140,140,140,.28); border-radius: var(--radius); padding: 16px 18px; }
.ds .f-tech .mech { color: var(--ds-fg); opacity: .92; margin: 0 0 8px; }
.ds .f-tech .why { color: var(--ds-fg); opacity: .68; margin: 0 0 12px; }
.ds .f-tech .why b { color: var(--ds-acc); }
.ds .exl { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.ds .exl li { font-size: .9rem; line-height: 1.4; color: var(--ds-fg); opacity: .86; }
.ds .exl a { color: var(--ds-acc); }
.ds .ex-d { color: var(--ds-fg); opacity: .5; font-variant-numeric: tabular-nums; margin-right: 6px; }
.ds .docbadge { color: var(--ds-acc); border-color: currentColor; }
/* the dark coda — the conclusion at the bottom of the descent */
.ds-coda { background: #0c0f13; color: #f3f1ec; padding: 14vmin 7vw; display: grid; place-items: center; }
.ds-coda-inner { max-width: 680px; width: 100%; }
.ds-coda .skipped, .ds-coda .foundation { background: rgba(140,140,140,.1); border: 1px solid rgba(140,140,140,.22); color: #e7e2d8; border-radius: var(--radius); padding: 18px 20px; margin: 0 0 16px; font-size: 1.02rem; line-height: 1.5; }
.ds-coda .skipped b, .ds-coda .foundation b { color: var(--pink); }
/* entrance reveal — each stage assembles as it scrolls in (JS adds .in) */
.ds .ds-inner > *, .ds-coda .ds-coda-inner > * { opacity: 0; transform: translateY(26px); transition: opacity .85s ease, transform .95s cubic-bezier(.16, 1, .3, 1); }
.ds-inner > *:nth-child(2) { transition-delay: .09s; }
.ds-inner > *:nth-child(3) { transition-delay: .18s; }
.ds-inner > *:nth-child(4) { transition-delay: .27s; }
.ds-inner > *:nth-child(5) { transition-delay: .34s; }
.ds.in .ds-inner > *, .ds-coda.in .ds-coda-inner > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ds .ds-inner > *, .ds-coda .ds-coda-inner > * { opacity: 1 !important; transform: none !important; }
}

/* ── Rulings / SCOTUS focus pages: a court opinion shown as the justices' verbatim
   words (left/top) annotated with a sourced response (right/below), case by case.
   Shared component DNA; the desktop two-column annotation layout lives in d.css. ── */
.case { margin: 0 0 40px; }
.case-head { background: var(--paper-raised); border: 1px solid var(--line); border-left: 4px solid var(--judicial); border-radius: var(--radius); padding: 20px 20px 22px; box-shadow: var(--shadow); }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin: 0 0 12px; }
.case-tags .ct { font-size: .72rem; color: var(--ink-faint); letter-spacing: .02em; }
.case-tags .ct + .ct::before { content: "·"; margin-right: 8px; color: var(--line-strong); }
.case-tags .vote { font-size: .74rem; font-weight: 800; letter-spacing: .04em; color: #fff; background: var(--judicial); padding: 3px 9px; border-radius: 999px; margin-right: 4px; }
.case-name { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); margin: 0 0 .35em; }
.case-holding { font-size: 1.05rem; line-height: 1.55; color: var(--ink); margin: 0 0 14px; }
.case-plain { background: rgba(106,90,156,.07); border: 1px solid rgba(106,90,156,.2); border-radius: var(--radius); padding: 13px 15px; font-size: .98rem; line-height: 1.55; color: var(--ink-soft); margin: 0 0 14px; }
.case-plain b { color: var(--judicial); }
.case-lineup { margin: 0 0 16px; }
.case-lineup summary { cursor: pointer; font-size: .82rem; font-weight: 600; color: var(--ink-faint); }
.case-lineup p { font-size: .86rem; line-height: 1.55; color: var(--ink-faint); margin: 8px 0 0; }
.case-pdf { font-size: .9rem; }
.case-pending { font-size: .9rem; color: var(--ink-faint); font-style: italic; margin: 0 0 22px; padding: 11px 15px; background: rgba(106,90,156,.05); border: 1px dashed rgba(106,90,156,.28); border-radius: var(--radius); }

/* the in-case jump nav — scrollable chips */
.op-jump { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; margin: 18px 0 14px; }
.op-jump .opj-l { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); font-weight: 700; margin-right: 2px; }
.op-jump a { font-size: .82rem; font-weight: 600; text-decoration: none; color: var(--judicial); background: rgba(106,90,156,.08); border: 1px solid rgba(106,90,156,.2); padding: 5px 11px; border-radius: 999px; }
.op-jump a:hover { background: rgba(106,90,156,.16); }
.op-jump a.jd { color: var(--blue-ink); background: rgba(31,111,158,.08); border-color: rgba(31,111,158,.22); }

/* one opinion = one collapsible section */
.op { border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 12px; background: var(--paper-raised); overflow: hidden; scroll-margin-top: 76px; }
.op > .op-sum { list-style: none; cursor: pointer; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 14px 16px; }
.op > .op-sum::-webkit-details-marker { display: none; }
.op-sum::before { content: "▸"; color: var(--ink-faint); font-size: .8rem; margin-right: 2px; transition: transform .15s ease; }
.op[open] > .op-sum::before { transform: rotate(90deg); }
.op-role { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; color: #fff; background: var(--ink-soft); }
.op.role-majority .op-role { background: var(--judicial); }
.op.role-concurrence .op-role { background: #8a7db8; }
.op-just { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.op-n { font-size: .76rem; color: var(--ink-faint); margin-left: auto; }
.op-body { padding: 4px 16px 16px; border-top: 1px solid var(--line); }

/* the annotation: their quote + our response */
.ann { padding: 18px 0; border-bottom: 1px solid var(--line); }
.ann:last-child { border-bottom: 0; padding-bottom: 4px; }
.ann-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin: 0 0 8px; }
.kind { font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; padding: 3px 8px; border-radius: 5px; white-space: nowrap; }
.k-science { color: var(--blue-ink); background: rgba(31,111,158,.1); }
.k-framing { color: var(--pink-ink); background: rgba(196,83,110,.1); }
.k-legal { color: var(--judicial); background: rgba(106,90,156,.12); }
.k-dissent { color: var(--blue-ink); background: rgba(31,111,158,.1); }
.ann-loc { font-size: .76rem; color: var(--ink-faint); }
.ann-q blockquote { margin: 0; font-family: var(--serif); font-size: 1.08rem; line-height: 1.5; color: var(--ink); border-left: 3px solid var(--line-strong); padding-left: 14px; }
.ann-r { margin-top: 13px; }
.ann-rh { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--judicial); margin: 0 0 5px; }
.ann-r p { margin: 0; font-size: .96rem; line-height: 1.6; color: var(--ink-soft); }
.ann-src { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 4px; }
.ann-src li { font-size: .82rem; line-height: 1.4; }
.ann-src a { color: var(--blue-ink); text-decoration: none; }
.ann-src a:hover { text-decoration: underline; }

/* the dissent — the counter-voice, given room to speak plainly */
.dissent { margin: 28px 0 0; background: #f3f5f8; border: 1px solid #dde4ec; border-radius: var(--radius); padding: 22px 20px; scroll-margin-top: 76px; }
.dissent-head { margin: 0 0 16px; }
.dissent-head h3 { font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.7rem); margin: 8px 0 8px; }
.dissent-head .k-dissent { font-size: .68rem; }
.dq { margin: 0 0 18px; padding: 0 0 0 16px; border-left: 3px solid var(--blue-ink); }
.dq:last-child { margin-bottom: 0; }
.dq-t { font-family: var(--serif); font-size: 1.14rem; line-height: 1.45; color: var(--ink); margin: 0 0 6px; }
.dq cite { display: block; font-style: normal; font-size: .8rem; font-weight: 700; color: var(--blue-ink); margin: 0 0 6px; }
.dq-point { font-size: .88rem; line-height: 1.5; color: var(--ink-faint); margin: 0; }

/* ── The spotlight: the worst/most absurd lines, hand-picked. A dark, hard break
   from the calm annotation cards — the visceral gut-punch before the measured
   line-by-line. Each card = a verbatim quote tagged with the sin it reveals. ── */
.spotlight { margin: 22px 0 30px; background: #0c0f13; border-radius: var(--radius); padding: 26px 22px 24px; color: #f3f1ec; scroll-margin-top: 76px; }
.spotlight-head { margin: 0 0 20px; max-width: 60ch; }
.spotlight-head .sl-eyebrow { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: #ff6b6b; }
.spotlight-head h2 { color: #f3f1ec; font-size: clamp(1.5rem, 1.15rem + 1.7vw, 2.1rem); margin: 8px 0 8px; }
.spotlight-head p { color: #b9b3a6; font-size: .96rem; line-height: 1.55; margin: 0; }
.spotlight-head p b { color: #f3f1ec; }
.spot-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.spot { background: #14181f; border: 1px solid #262b34; border-left: 3px solid var(--spot-c, #ff6b6b); border-radius: 9px; padding: 16px 17px; }
.spot-label { display: flex; align-items: baseline; gap: 8px; font-weight: 800; font-size: 1.02rem; line-height: 1.2; color: var(--spot-c, #ff6b6b); margin: 0 0 11px; letter-spacing: .005em; }
.spot-label .sl-kind { font-size: .58rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; opacity: .8; border: 1px solid currentColor; border-radius: 4px; padding: 2px 5px; white-space: nowrap; }
.spot-q { font-family: var(--serif); font-size: 1.16rem; line-height: 1.38; color: #f6f4ef; margin: 0 0 9px; }
.spot-who { font-style: normal; font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: #cfcabd; margin: 0 0 11px; }
.spot-who .spot-case { font-weight: 600; opacity: .62; }
.spot-who .spot-case::before { content: "· "; opacity: .55; }
.spot-gloss { font-size: .9rem; line-height: 1.55; color: #aaa498; margin: 0; }
.spot-gloss b { color: #e7e2d8; }
.spot-src { margin: 10px 0 0; display: flex; flex-direction: column; gap: 3px; }
.spot-src a { font-size: .78rem; color: #82c4ec; text-decoration: none; }
.spot-src a:hover { text-decoration: underline; }
/* the sin → accent colour */
.spot.k-animus { --spot-c: #ff6b6b; }
.spot.k-ignorance { --spot-c: #e6b357; }
.spot.k-contempt { --spot-c: #c79bf0; }
.spot.k-cruelty { --spot-c: #ff8a8a; }
.spot.k-absurd { --spot-c: #5fd0bd; }

/* featured cross-link (e.g. Timeline → the annotated rulings) */
.feature-cta { display: flex; align-items: center; gap: 12px; margin: 14px 0 18px; padding: 14px 16px; background: rgba(106,90,156,.07); border: 1px solid rgba(106,90,156,.24); border-left: 4px solid var(--judicial); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.feature-cta:hover { background: rgba(106,90,156,.13); }
.feature-cta .fc-ic { font-size: 1.4rem; line-height: 1; }
.feature-cta .fc-tx { flex: 1; }
.feature-cta .fc-tx b { display: block; color: var(--judicial); font-size: .98rem; }
.feature-cta .fc-tx span { font-size: .84rem; color: var(--ink-soft); }
.feature-cta .fc-arrow { color: var(--judicial); font-weight: 700; font-size: 1.1rem; }

/* Homepage "have you heard?" prompt — presents a claim (not the answer) and lands
   you on its rebuttal card in Learn. Same mechanic as the questionnaire, featured. */
.heard-feature { display: block; margin: 22px 0 6px; max-width: 620px; padding: 17px 22px 18px; border-radius: var(--radius); background: var(--paper-raised); border: 1px solid var(--line); border-left: 4px solid var(--blue-ink); text-decoration: none; color: var(--ink); transition: background .15s ease, border-color .15s ease; }
.heard-feature:hover { background: #f4f1ea; border-left-color: var(--pink-ink); }
.hf-tag { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-ink); margin-bottom: 8px; }
.hf-claim { display: block; font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + .8vw, 1.55rem); line-height: 1.25; color: var(--ink); margin-bottom: 12px; }
.hf-go { display: inline-block; font-size: .92rem; font-weight: 700; color: var(--blue-ink); }
.heard-feature:hover .hf-go { color: var(--pink-ink); }
/* brief highlight when you land on a card via a deep link */
.card.landed { box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue-ink) 55%, transparent); border-color: var(--blue-ink); }

/* the human byline under the mission pull */
.byline-note { font-size: .95rem; line-height: 1.55; color: var(--ink-soft); border-left: 3px solid var(--pink); padding-left: 14px; margin: 14px 0 16px; max-width: 60ch; }

/* homepage KPI row — four stat tiles, each a deep link to its evidence card */
.kpi-row-wrap { margin: 30px 0 4px; }
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 980px; }
@media (max-width: 900px) { .kpi-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .kpi-row { grid-template-columns: 1fr; } }
.kpi { display: flex; flex-direction: column; gap: 6px; padding: 15px 16px 14px; background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: background .15s ease, border-color .15s ease; }
.kpi:hover { background: #f4f1ea; border-color: color-mix(in srgb, var(--blue-ink) 40%, var(--line)); }
.kpi-v { font-family: var(--sans); font-weight: 600; font-size: 1.9rem; line-height: 1; color: var(--ink); }
.kpi-l { font-size: .8rem; line-height: 1.45; color: var(--ink-soft); }
.kpi:hover .kpi-l { color: var(--ink); }

/* one-number stat chip inside a claim card's body */
.stat-chip { display: flex; align-items: baseline; gap: 12px; margin: 2px 0 14px; padding: 11px 14px; background: color-mix(in srgb, var(--blue-ink) 6%, var(--paper-raised)); border-radius: 10px; }
.stat-chip .sc-v { font-family: var(--sans); font-weight: 600; font-size: 1.7rem; line-height: 1; color: var(--ink); flex: none; }
.stat-chip .sc-l { font-size: .85rem; line-height: 1.4; color: var(--ink-soft); }

/* care note ahead of the heavy rulings content */
.care-note { font-size: .9rem; line-height: 1.55; color: #cfc7b8; border-left: 3px solid var(--pink-ink); padding-left: 13px; margin: 14px 0 0; max-width: 62ch; }
.care-note a { color: #e8b7c4; }

/* ── Media / "the cycle" section — infographic-style panels ── */
.m-sec { margin: 0 0 46px; scroll-margin-top: 76px; }
.m-sec > h2 { font-size: clamp(1.4rem, 1.1rem + 1.3vw, 1.9rem); margin: 0 0 6px; }
.m-lede { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.55; max-width: var(--measure); margin: 0 0 18px; }
.m-items { display: flex; flex-direction: column; gap: 12px; }
/* stat card: a highlighted figure + the point */
.m-stat { display: flex; gap: 18px; align-items: baseline; background: var(--paper-raised); border: 1px solid var(--line); border-left: 3px solid var(--pink-ink); border-radius: var(--radius); padding: 15px 18px; }
.m-stat-n { flex: 0 0 auto; max-width: 170px; font-family: var(--serif); font-weight: 700; font-size: 1.5rem; line-height: 1.08; color: var(--pink-ink); }
.m-stat-b { flex: 1; min-width: 0; }
.m-stat-l { margin: 0; font-size: .98rem; line-height: 1.5; color: var(--ink); }
.m-stat-d { margin: 6px 0 0; font-size: .88rem; line-height: 1.5; color: var(--ink-faint); }
/* trend row (Overton): year + shift, like a mini-timeline */
.m-trend { display: flex; gap: 16px; align-items: baseline; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.m-trend-y { flex: 0 0 auto; min-width: 3.4em; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--blue-ink); }
.m-trend-b { min-width: 0; }
.m-trend-b p { margin: 0; font-size: .96rem; line-height: 1.5; color: var(--ink); }
/* then → now (the recycled playbook) */
.m-tn { background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 15px 17px; }
.m-tn-row { display: flex; gap: 11px; align-items: baseline; margin: 0 0 9px; }
.m-tn-tag { flex: 0 0 auto; font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 5px; }
.m-tn-tag.t-then { color: var(--ink-soft); background: var(--line); }
.m-tn-tag.t-now { color: #fff; background: var(--pink-ink); }
.m-tn-row p { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--ink); }
.m-tn-mech { margin: 6px 0 0; padding-top: 9px; border-top: 1px dashed var(--line-strong); font-size: .88rem; line-height: 1.5; color: var(--ink-soft); }
.m-tn-mech b { color: var(--ink); }
.m-src { margin: 9px 0 0; display: flex; flex-wrap: wrap; gap: 3px 14px; }
.m-src a { font-size: .8rem; color: var(--blue-ink); text-decoration: none; overflow-wrap: anywhere; }
.m-src a:hover { text-decoration: underline; }
.m-stat-n, .m-stat-l, .m-stat-d, .m-trend-b p, .m-tn-row p, .m-tn-mech { overflow-wrap: anywhere; }
/* stack the stat number above the point on phones (no width fight) */
@media (max-width: 600px) {
  .m-stat { flex-direction: column; gap: 6px; }
  .m-stat-n { max-width: none; font-size: 1.3rem; }
}
/* language swap: loaded term ✗ / accurate word ✓ */
.m-swap { background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.m-swap-bad { font-weight: 700; font-size: 1rem; color: var(--ink); overflow-wrap: anywhere; }
.m-swap-x { color: var(--pink-ink); font-weight: 800; margin-right: 8px; }
.m-swap-why { margin: 7px 0 10px; font-size: .89rem; line-height: 1.5; color: var(--ink-soft); overflow-wrap: anywhere; }
.m-swap-good { padding-top: 10px; border-top: 1px dashed var(--line-strong); font-size: .95rem; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.m-swap-c { color: var(--blue-ink); font-weight: 800; margin-right: 6px; }

/* Values quiz — reuses .frame/.f-opt/.f-reveal; the chosen option is a neutral
   "your pick" highlight (no right/wrong), then the reveal shows what the law does. */
.vq-lead { margin: 44px 0 4px; padding-top: 30px; border-top: 1px solid var(--line); }
.vq-principle { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-ink); margin-bottom: 7px; }
.vq-q { font-family: var(--serif); font-size: clamp(1.05rem, 1rem + .5vw, 1.2rem); line-height: 1.4; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.vframe .f-opt.chosen { border-color: var(--blue-ink); box-shadow: inset 0 0 0 1px var(--blue-ink); color: var(--ink); font-weight: 700; }
.vframe .f-opt.chosen::before { content: "✓ "; color: var(--blue-ink); font-weight: 800; }

/* Site colophon — sources-for-every-claim commitment + AI-assistance disclosure,
   injected by store.js at the bottom of every page. */
.colophon { max-width: var(--measure); margin: 46px auto 12px; padding: 18px 0 4px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: .82rem; line-height: 1.55; }
.colophon p { margin: 0 0 8px; }
.colophon p:last-child { margin-bottom: 0; }
.colophon b { color: var(--ink-soft); }
.colophon .cph-star { color: var(--pink-ink); font-weight: 700; margin-right: 1px; }
.colophon .cph-ai { font-size: .78rem; opacity: .92; }

/* assets revalidate per _headers — cache-bust 2026-06-30 */
