/* =========================================================================
   Cabinhub News — the landing page (/about)

   One idea runs through this sheet: a published story is a stack of claims, and
   every claim carries the sentence it came from. The hero is the machine doing
   that: source documents on the left, the story assembling in the middle, the
   same claims leaving as a JSON object on the right. Nothing decorative is
   drawn that does not encode one of those three facts.

   Rules this file keeps:
     · colour and type come from css/tokens.css only; the six dark-ground
       values below are local to the ink bed and are declared once, named, and
       checked against the bed they sit on (4.5:1 for body text);
     · motion is transform and opacity only, one orchestrated assembly, and the
       reduced-motion block at the end composes the finished board instead of
       hiding it;
     · every block that receives script-written text reserves its height, so a
       late answer or a longer headline cannot move the page;
     · no !important outside the reduced-motion safety block.
   ========================================================================= */

/* ------------------------------------------------------------ page tokens */
.lp {
  /* The ink bed. In the light theme this is the product's own --ink, so the
     page's darkest surface is the same black the wordmark is set in; in dark
     it lifts one step to --paper-2 and takes a hairline, because a ground the
     same value as the page would leave the hero floating. */
  --bed-bg: var(--ink);
  --bed-ink: var(--paper);
  --bed-soft: #C9BEB4;          /* 7.0:1 on --ink */
  /* 5.6:1 on --ink and 4.9:1 on the record's own 6%-lifted ground, which is
     where the faint ink actually lands (the JSON block). It was #9B8F85, 4.8:1
     on the bed but only 4.2:1 on that lifted ground, so every JSON key and
     every slip timestamp measured 2.59:1 against it after the ground moved.
     WCAG 1.4.3 wants 4.5:1 for 12px text; measured 2026-11-10 on the live gate. */
  --bed-faint: #A79A8F;
  /* The accent, lifted onto the bed. --accent-hover (#D64221) is a light-theme
     value: it measures 3.94:1 on --ink and 3.41:1 on the record ground, so the
     JSON keys it colours failed 1.4.3 at 12px in every theme. This is the dark
     theme's own --accent-hover, which is already checked for a dark ground. */
  --bed-key: #FF9C6B;
  --bed-rule: rgba(247, 245, 242, 0.18);
  --bed-up: #79CE9B;            /* 7.9:1 on --ink */
  --bed-down: #FF9C86;          /* 7.4:1 on --ink */
  /* The figures table sits on --paper-2, not on --paper. --signal (#177E43)
     measures 4.7:1 on --paper but 4.36:1 on --paper-2, so a 13px gain figure
     was below 1.4.3 there (measured 2026-11-10, light theme, both widths).
     This is the same green one step darker; 6.05:1 on --paper. */
  --fig-up: #136B39;

  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
}
[data-theme="dark"] .lp {
  --bed-bg: #100D0B;
  /* --paper is the DARK ground in this theme (tokens.css: #15110E), so binding
     --bed-ink to it painted the H1, the story headline and every JSON value in
     near-black on a near-black bed. Measured on the 1440 dark shot: the title
     read as an empty box. In dark, the bed's ink is --ink (#F3EEE9). */
  --bed-ink: var(--ink);
  --bed-soft: #C9BFB6;
  --bed-faint: #9F948A;
  /* Same role as the light theme's --bed-key: in dark the bed is near-black and
     the dark theme's own --accent already lifts to this value, but naming it
     keeps the record's keys on ONE token in both themes. */
  --bed-key: var(--accent-hover);
  --bed-rule: rgba(243, 238, 233, 0.16);
  --bed-up: #79CE9B;
  --bed-down: #FF9C86;
  /* In dark the bed is near-black and --signal already clears 1.4.3 on
     --paper-2 (5.0:1); the token exists so the table has one name in both. */
  --fig-up: var(--signal);
}

.lp main { display: block; }
.lp ::selection { background: var(--accent-soft); color: var(--ink); }
.lp :target { scroll-margin-top: calc(72px + env(safe-area-inset-top, 0px)); }

/* Links and buttons. One hit area token, one focus ring (base.css owns it). */
/* A text link is still a tap target: measured 2026-11-10 (n3_routes, /about,
   1440 and 360) the footer links came in at 116x24 and 167x24. --tap is the
   44px the rest of the estate uses. No negative margin: the first attempt used
   one to keep the footer's rhythm, and it pushed the focus ring outside the
   .call frame, which then clipped it (25 rings, measured by n3_focus). The
   footer's own padding absorbs the height instead. */
.lp .link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  padding-block: 0.12em;
}
.lp .link:hover { color: var(--accent-hover); border-bottom-color: currentColor; }
.lp .link:active { color: var(--accent-press); }

.lp .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 0 1.15rem;
  border: 1px solid var(--accent);
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: var(--fs-meta);
  font-weight: 560;
  text-decoration: none;
  transition: background var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease),
    transform var(--dur-1) var(--ease);
}
.lp .btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.lp .btn:active { background: var(--accent-press); border-color: var(--accent-press); transform: translateY(1px); }
.lp .btn--quiet {
  background: transparent;
  border-color: var(--rule-strong);
  color: var(--ink);
}
.lp .btn--quiet:hover { background: var(--paper-3); border-color: var(--ink-faint); }
.lp .btn--small { min-height: var(--tap); padding: 0 0.8rem; font-size: var(--fs-label); }

/* -------------------------------------------------------------- masthead */
.mast { border-bottom: 1px solid var(--rule); }
.mast__inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(0.7rem, 1.4vw, 1rem) var(--pad-r) clamp(0.7rem, 1.4vw, 1rem) var(--pad-l);
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.6rem);
}
.mast__mark { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; color: inherit; }
.mast__icon { display: block; }
.mast__word { display: inline-flex; gap: 0.34em; align-items: baseline; font-family: var(--font-display); font-size: var(--fs-mark); letter-spacing: -0.01em; }
.mast__word-2 { color: var(--accent); }
.mast__kicker {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--fs-label);
  line-height: 1.35;
  border-left: 1px solid var(--rule);
  padding-left: 1rem;
}
/* The controls are built by theme.js and landing.js, so the row they sit in
   must reserve their footprint before either script runs: an empty div grew to
   a 44px switch and then a two-button locale switch, shifting the wordmark and
   the kicker (0.0029 CLS, measured 2026-11-10 on both widths). One tap target
   for the theme switch plus two for the locale pair plus the gap. */
.mast__controls { margin-left: auto; display: inline-flex; align-items: center; gap: 0.5rem; min-height: var(--tap); min-width: calc(var(--tap) * 3 + 0.5rem); justify-content: flex-end; }

.lp .theme-switch { display: inline-flex; }
.lp .theme-switch__btn,
.lp .locale-switch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-ui);
  font-size: var(--fs-label);
  transition: color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease),
    background var(--dur-1) var(--ease);
}
.lp .theme-switch__btn:hover,
.lp .locale-switch__btn:hover { color: var(--ink); border-color: var(--ink-faint); }
.lp .theme-switch__btn svg { display: block; }
.lp .locale-switch { display: inline-flex; }
.lp .locale-switch__btn:first-child { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.lp .locale-switch__btn:last-child { border-radius: 0 var(--r-sm) var(--r-sm) 0; border-left: 0; }
.lp .locale-switch__btn[aria-pressed="true"] {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
}

/* ------------------------------------------------------------------ hero */
.hero { padding: clamp(1rem, 3vw, 2.2rem) var(--pad-r) 0 var(--pad-l); }
.hero__bed {
  max-width: var(--page);
  margin: clamp(1.3rem, 3vw, 2.2rem) auto 0;
  background: var(--bed-bg);
  color: var(--bed-ink);
  border-radius: var(--r-lg);
  padding: clamp(1.1rem, 2.6vw, 2rem);
  position: relative;
  overflow: hidden;
  /* The board is the page's only layout-contained block: its columns hold
     text written after paint, and `contain` guarantees a late line cannot
     reflow the CTA under it. */
  contain: layout paint style;
}
.hero__meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 32px;
  font-size: var(--fs-label);
  color: var(--bed-faint);
}
.hero__live { display: inline-flex; align-items: center; gap: 0.42rem; color: var(--bed-up); font-weight: 560; }
.hero__live .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent);
  animation: lp-pulse 2.4s var(--ease) infinite;
}
.hero__stamp { display: inline-flex; align-items: center; gap: 0.55rem; font-variant-numeric: tabular-nums; }
.hero__sep { width: 1px; height: 0.85em; background: var(--bed-rule); }
.hero__pause {
  margin-left: auto;
  min-height: 32px;
  min-inline-size: 4.4rem;
  padding: 0 0.7rem;
  border: 1px solid var(--bed-rule);
  border-radius: var(--r-xs);
  background: transparent;
  color: var(--bed-soft);
  font-family: var(--font-ui);
  font-size: var(--fs-label);
  cursor: pointer;
  transition: color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.hero__pause:hover { color: var(--bed-ink); border-color: var(--bed-soft); }
.hero__pause[aria-pressed="true"] { color: var(--bed-ink); border-color: var(--bed-soft); }
.hero__pause[aria-disabled="true"] { color: var(--bed-faint); cursor: default; }
.hero__bed:not([data-state="ready"]) .hero__live { color: var(--bed-soft); }
.hero__bed:not([data-state="ready"]) .hero__live .dot { animation: none; box-shadow: none; }
.hero__bed:not([data-state="ready"]) .hero__stamp { visibility: hidden; }
.hero__bed[data-state="error"] :is(.hero__note, .quotes, .board__col--sources, .board__col--record) {
  display: none;
}
.hero__bed[data-state="error"] .board { grid-template-columns: 1fr; min-height: 0; }
.hero__bed[data-state="error"] :is(.story, .story__headline) { min-height: 0; }
.hero__bed[data-state="error"] .board__label { display: none; }
.hero__bed[data-state="loading"] :is(.board, .quotes, .hero__note) { visibility: hidden; }
.hero__bed[data-state="error"] .story__headline { margin-bottom: 0; }


.hero__intro {
  max-width: var(--page);
  margin: 0 auto;
  display: grid;
  gap: .65rem;
}
.hero__title {
  margin: 0;
  max-width: 29ch;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.5rem + 3.5vw, 4rem);
  font-weight: 400;
  line-height: 1.045;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.hero__sub {
  margin: 0;
  max-width: 63ch;
  color: var(--ink-soft);
  font-size: var(--fs-deck);
  line-height: 1.5;
}
.pricing__who {
  margin: .75rem 0 0;
  color: var(--ink-soft);
  font-size: var(--fs-small);
  line-height: 1.5;
  text-wrap: pretty;
}

/* The AI notice the compliance rules require to sit with the copy, not in a
   footer. Quiet, but present at first paint and not hidden by script. */
.hero__ai {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: var(--ink-faint);
  font-size: var(--fs-micro);
}
.hero__ai-mark {
  width: 6px;
  height: 6px;
  background: var(--accent-hover);
  transform: rotate(45deg);
  flex: none;
}

/* ------------------------------------------------ bilingual hero (no swap)
   The hero's five strings that change height are carried twice in the markup
   and chosen here from <html lang>, which the head script has already resolved
   before the body is parsed. Nothing writes this text at any moment, so a
   Chinese reader's FIRST painted frame is Chinese — a mid-body inline script
   was measured painting the English hero for 178ms and moving the deck 50px
   (CLS 0.02 on 6 of 10 visits, screencast + in-page clocks on tx-nj3
   2026-11-10). CSS cannot lose that race because there is no race. */
.bi__zh { display: none; }
html[lang="zh-Hans"] .bi__en { display: none; }
html[lang="zh-Hans"] .bi__zh { display: inline; }

/* ------------------------------------------------------- the board (grid) */
.board {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.3fr) minmax(0, 0.92fr);
  gap: clamp(0.9rem, 2.2vw, 2rem);
  min-height: 19.6rem;
  padding-top: clamp(0.8rem, 1.8vw, 1.2rem);
  border-top: 1px solid var(--bed-rule);
}
.board__col { display: flex; flex-direction: column; min-width: 0; }
.board__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.7rem;
  color: var(--bed-faint);
  font-size: var(--fs-label);
}
.board__tick { width: 9px; height: 1px; background: var(--bed-soft); flex: none; }

/* sources: one slip per document that carried a story in this edition */
/* The list is empty at first paint and one slip tall once the edition lands;
   that first arrival moved every column below it by 53px (measured 2026-11-10,
   t=169ms at 390 and 1440). Reserve the first slip so the fill is invisible. */
.slips { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; min-height: 3.3rem; }
.slip {
  border-left: 2px solid var(--bed-rule);
  padding: 0.15rem 0 0.2rem 0.7rem;
  min-height: 3.3rem;
  transition: border-color var(--dur-2) var(--ease), opacity var(--dur-2) var(--ease);
  /* A slip that is not the featured one is dimmed, and the fade is applied to
     the WHOLE block, so it multiplies the text alpha too. 0.55 took the 12px
     timestamp to 2.84:1 on the bed (measured 2026-11-10 by the live gate in
     both themes, and axe reports the same node at the same value) — the reader
     can still read a non-featured source, so it must still meet 1.4.3. 0.82 is
     the quietest value whose dimmed --bed-faint still clears 4.5:1 (4.77 light,
     4.72 dark); the cue survives as a visible step against the undimmed slip. */
  opacity: 0.82;
}
.slip[data-on] { border-left-color: var(--accent-hover); opacity: 1; }
.slip__name {
  display: block;
  color: var(--bed-ink);
  font-size: var(--fs-meta);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.slip__meta { display: block; color: var(--bed-faint); font-size: var(--fs-micro); font-variant-numeric: tabular-nums; }
.slip__span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: var(--fs-small);
  line-height: 1.35;
  color: var(--bed-soft);
  quotes: "\201C" "\201D";
}
.slip__span::before { content: open-quote; }
.slip__span::after { content: close-quote; }

/* the story: fixed line slots, so the assembly never moves the page */
.story { display: flex; flex-direction: column; min-height: 15.2rem; }
.story__headline {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: var(--fs-sub);
  font-weight: 400;
  line-height: 1.24;
  color: var(--bed-ink);
  min-height: calc(2 * 1.24 * var(--fs-sub));
  text-wrap: balance;
}
.story__lines { display: grid; gap: 0.5rem; }
.line {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  min-height: 3.15rem;
  opacity: 0;
  transform: translateY(7px);
}
.line[data-on] { opacity: 1; transform: none; transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease); }
.line__node {
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.42rem;
  border-radius: 50%;
  border: 1px solid var(--bed-rule);
  background: transparent;
  transition: background var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.line[data-on] .line__node { background: var(--accent-hover); border-color: var(--accent-hover); }
.line__text {
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1.45;
  color: var(--bed-soft);
}
.line__text b { color: var(--bed-ink); font-weight: 560; }
.line__span {
  display: none;
  margin: 0.25rem 0 0;
  padding-left: 0.55rem;
  border-left: 1px solid var(--accent-hover);
  font-family: var(--font-display);
  font-size: var(--fs-micro);
  line-height: 1.4;
  color: var(--bed-faint);
}
.line[data-on] .line__span { display: block; }
.story__state { margin: auto 0 0; min-height: 1.2rem; font-size: var(--fs-micro); color: var(--bed-faint); }

/* the record: the same claims as the object a client receives */
.record {
  margin: 0;
  min-height: 19rem;
  max-height: 19rem;
  overflow: auto;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--bed-rule);
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--bed-ink) 6%, transparent);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  line-height: 1.55;
  color: var(--bed-soft);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
/* The JSON keys are TEXT on the dark bed, so they are held to 4.5:1 like every
   other word on the page. Neither brand accent passes on --ink: --accent is
   3.24:1 and --accent-hover 3.94:1 (measured 2026-11-10, n3_routes /about), so
   the keys take the bed's own lifted pair instead of re-deriving a colour the
   page has already solved. */
.record .rk { color: var(--bed-key); }
.record .rv { color: var(--bed-ink); }
.record .rn { color: var(--bed-faint); }
.record .rl { opacity: 0; transform: translateY(3px); }
.record .rl[data-on] { opacity: 1; transform: none; transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease); }
.record__note { margin: 0.4rem 0 0; min-height: 1.1rem; color: var(--bed-faint); font-size: var(--fs-micro); line-height: 1.4; }

/* the quote strip: figures that arrived with the stories, drawn to their own size */
.quotes {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(0.7rem, 2vw, 1.6rem);
  align-items: baseline;
  margin-top: clamp(0.9rem, 2vw, 1.4rem);
  padding-top: clamp(0.7rem, 1.6vw, 1rem);
  border-top: 1px solid var(--bed-rule);
  min-height: 3.4rem;
}
.quotes__label { margin: 0; color: var(--bed-faint); font-size: var(--fs-label); }
.quotes__rows { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.quote { display: inline-flex; align-items: baseline; gap: 0.45rem; font-variant-numeric: tabular-nums; opacity: 0; transform: translateY(4px); }
.quote[data-on] { opacity: 1; transform: none; transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease); }
.quote__sym { color: var(--bed-ink); font-family: var(--font-mono); font-size: var(--fs-label); }
.quote__price { color: var(--bed-soft); font-size: var(--fs-label); }
.quote__bar { width: 2.4rem; height: 3px; background: var(--bed-rule); position: relative; align-self: center; }
.quote__bar > i { position: absolute; inset: 0; transform-origin: left center; transform: scaleX(0); }
.quote__bar > i[data-dir="up"] { background: var(--bed-up); }
.quote__bar > i[data-dir="down"] { background: var(--bed-down); }
.quote__pct { font-size: var(--fs-micro); }
.quote__pct[data-dir="up"] { color: var(--bed-up); }
.quote__pct[data-dir="down"] { color: var(--bed-down); }
.quote__pct[data-dir="flat"] { color: var(--bed-faint); }
.quotes__empty { margin: 0; color: var(--bed-faint); font-size: var(--fs-label); }

.hero__cta {
  max-width: var(--page);
  margin: clamp(1rem, 2vw, 1.4rem) auto 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}
.hero__note { display: block; margin-top: .75rem; color: var(--bed-faint); font-size: var(--fs-label); }

/* -------------------------------------------------------------- stations */
.station {
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(2.4rem, 5vw, 4.4rem) var(--pad-r) 0 var(--pad-l);
}
.station__head { max-width: 62ch; margin-bottom: clamp(1.3rem, 3vw, 2rem); }
.station__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.01em;
}
.station__deck { margin: 0; color: var(--ink-soft); font-size: var(--fs-deck); line-height: 1.6; }

/* ------------------------------------------------------- 1. two editions */
.platen { border: 1px solid var(--rule); border-radius: var(--r-md); overflow: hidden; background: var(--paper-2); }
.platen__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--rule);
}
.seg { display: inline-flex; }
.seg__btn {
  min-height: var(--tap);
  padding: 0 0.9rem;
  border: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-ui);
  font-size: var(--fs-label);
  cursor: pointer;
  transition: color var(--dur-1) var(--ease), background var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.seg__btn:first-child { border-radius: var(--r-xs) 0 0 var(--r-xs); }
.seg__btn:last-child { border-radius: 0 var(--r-xs) var(--r-xs) 0; border-left: 0; }
.seg__btn[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.platen__link { margin: 0 0 0 auto; color: var(--ink-faint); font-size: var(--fs-micro); font-variant-numeric: tabular-nums; }
.platen__link:empty { display: none; }
.platen__cols { display: grid; grid-template-columns: 1fr 1fr; }
.platen__col {
  padding: clamp(0.9rem, 2vw, 1.4rem);
  min-width: 0;
  background: var(--paper);
  box-shadow: inset 3px 0 0 transparent;
  transition: box-shadow var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
}
.platen__col + .platen__col { border-left: 1px solid var(--rule); }
.platen[data-side="en"] .platen__col--en,
.platen[data-side="zh"] .platen__col--zh { background: var(--paper); box-shadow: inset 3px 0 0 var(--accent); }
.platen[data-side="en"] .platen__col--zh,
.platen[data-side="zh"] .platen__col--en { background: var(--paper-2); }
.platen__tag { display: flex; align-items: baseline; gap: 0.5rem; margin: 0 0 0.5rem; color: var(--ink-faint); font-size: var(--fs-micro); }
.platen__tag code { font-family: var(--font-mono); color: var(--ink-soft); }
.platen__tag span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.platen__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: var(--fs-sub);
  font-weight: 400;
  line-height: 1.3;
  min-height: calc(2 * 1.3 * var(--fs-sub));
}
.platen__col--zh .platen__title { font-family: var(--font-ui); font-weight: 560; }
.platen__sum {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--fs-small);
  line-height: 1.55;
  min-height: calc(3 * 1.55 * var(--fs-small));
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* the reader's own check, printed as evidence rather than a badge */
.checks { margin-top: 1rem; border-top: 1px solid var(--rule); padding-top: 0.8rem; }
.checks__head { display: flex; align-items: baseline; gap: 0.6rem; margin: 0 0 0.5rem; color: var(--ink-soft); font-size: var(--fs-label); }
.checks__at { margin-left: auto; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.checks__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.checks__row { display: grid; grid-template-columns: 1.1rem minmax(0, 1fr) auto; gap: 0.6rem; align-items: baseline; font-size: var(--fs-label); }
.checks__mark { font-size: var(--fs-label); line-height: 1; }
.checks__row[data-state="ok"] .checks__mark { color: var(--signal); }
.checks__row[data-state="bad"] .checks__mark { color: var(--accent); }
.checks__row[data-state="skip"] .checks__mark { color: var(--ink-faint); }
.checks__what { color: var(--ink); }
.checks__ev { color: var(--ink-faint); font-variant-numeric: tabular-nums; text-align: right; }

/* ------------------------------------------------------------ 2. the call */
.call { border: 1px solid var(--rule); border-radius: var(--r-md); overflow: hidden; background: var(--paper-2); }
.call__head { display: flex; align-items: center; gap: 1rem; padding: 0.55rem 0.75rem; border-bottom: 1px solid var(--rule); }
.call__url { flex: 1 1 auto; min-width: 0; font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.call__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-bottom: 1px solid var(--rule); }
.call__fact { padding: 0.6rem 0.75rem; }
.call__fact + .call__fact { border-left: 1px solid var(--rule); }
.call__fact dt { margin: 0 0 0.2rem; color: var(--ink-faint); font-size: var(--fs-micro); }
.call__fact dd { margin: 0; font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.call__body {
  margin: 0;
  padding: 0.8rem;
  min-height: 12.5rem;
  max-height: 12.5rem;
  overflow: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  line-height: 1.5;
  color: var(--ink-soft);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--paper);
}
/* The body is the one scrollable, focusable box inside a frame with
   overflow: hidden, so an outset ring is cut at the frame's side: measured
   2026-11-10 (n3_focus, /about, 360 light) the 4px ring reached x=13 against
   the frame's x=16, and the probe reported CLIPPED:call. Inset, the ring is
   drawn inside the box and nothing clips it — the same call live.css makes for
   .live-latest__link and markets.css for .mk-tick. */
.call__body:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: -2px;
}
/* The 44px links set the row's height now, so the block padding shrinks to keep
   the same visual rhythm the 24px links had — but it cannot go to zero: the link
   box then ends 1px past the frame's inner edge and the 4px focus ring is cut at
   the bottom (measured 2026-11-10, n3_focus /about: link bottom 532, ring needs
   536, .call ends 533). 0.3rem top and bottom keeps the ring inside. */
.call__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 0.2rem 1.2rem; margin: 0; padding: 0.3rem 0.8rem; border-top: 1px solid var(--rule); font-size: var(--fs-label); }

/* --------------------------------------------------------- 3. the figures */
.figs { margin: 0; border: 1px solid var(--rule); border-radius: var(--r-md); overflow: hidden; background: var(--paper-2); }
.figs__table { width: 100%; border-collapse: collapse; font-size: var(--fs-label); }
.figs__table caption { text-align: left; padding: 0.6rem 0.75rem; color: var(--ink-faint); font-size: var(--fs-micro); border-bottom: 1px solid var(--rule); }
.figs__table th,
.figs__table td { text-align: left; padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--rule-soft); }
.figs__table thead th { color: var(--ink-faint); font-weight: 500; font-size: var(--fs-micro); }
.figs__table tbody tr:last-child td { border-bottom: 0; }
.figs__table .num { text-align: right; font-variant-numeric: tabular-nums; }
.figs__sym { font-family: var(--font-mono); color: var(--ink); }
/* --signal is the product green and measures 4.4:1 on --paper-2 (this table's
   own ground), a tenth under AA. --fig-up is the same idea held to a value
   that clears it (6.05:1 light; --signal itself in dark, where the ground is
   near-black). Measured 2026-11-10 (n3_routes, /about 1440 light). */
.figs__delta[data-dir="up"] { color: var(--fig-up); }
.figs__delta[data-dir="down"] { color: var(--accent); }
.figs__delta[data-dir="flat"] { color: var(--ink-faint); }
.figs__when { color: var(--ink-faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.figs__story { max-width: 34ch; }
/* A bare <a>, so .lp .link's 44px reach never applied; measured 2026-11-10
   (n3_routes, /about, all widths) each Story cell link was 16px tall. */
.figs__story a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-strong);
}
.figs__story a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.figs__empty { color: var(--ink-faint); text-align: left; }
.figs__note { margin: 0.55rem 0 0; color: var(--ink-faint); font-size: var(--fs-micro); }

/* ---------------------------------------------------------- 4. the access */
.ledger { border-top: 1px solid var(--rule-strong); }
.ledger__row {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr) auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--rule);
}
.ledger__key { margin: 0; font-family: var(--font-display); font-size: var(--fs-sub); line-height: 1.25; }
.ledger__val { margin: 0; color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.55; max-width: 56ch; }
/* The ledger's rows do not all have a door. The grid is key | value | door, so a
   row with two children would put its value in the 1.6fr column and leave the
   auto column empty — every doorless row narrower than the one row with a door,
   which reads as a ragged table rather than one ledger. The value spans both
   remaining columns instead; the `1 / -1` on a two-child row cannot reach the
   key, because the key is a real grid item in column 1. */
.ledger__row > .ledger__val:nth-child(2):last-child { grid-column: 2 / -1; }
.ledger__go {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  white-space: nowrap;
  font-size: var(--fs-label);
}
.station--access { padding-bottom: clamp(2rem, 4vw, 3rem); }
/* The CTA row under the pricing ledger: one primary button and two quiet text
   links, wrapping at 390 where three controls do not fit on one line. The
   button is allowed a little air before the first link so the primary action
   reads as primary, not as the first of three equal choices. */
.pricing__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin: 1.5rem 0 0;
}
.pricing__cta .btn { margin-right: 0.2rem; }

/* ------------------------------------------------------------- colophon */
.colophon { margin-top: clamp(2.6rem, 5vw, 4rem); border-top: 1px solid var(--rule); }
.colophon__inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 1.2rem var(--pad-r) calc(1.6rem + var(--pad-b)) var(--pad-l);
  display: grid;
  gap: 0.5rem;
}
.colophon__mark { display: block; opacity: 0.7; }
.colophon__note { margin: 0; max-width: 68ch; color: var(--ink-soft); font-size: var(--fs-label); line-height: 1.5; }
.colophon__fine { margin: 0; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; color: var(--ink-faint); font-size: var(--fs-micro); }
/* A middot is decoration, but it is text: --rule-strong is a border colour at
   3.7:1. --ink-faint is the quietest ink in the ramp and clears 4.5:1. */
.colophon__sep { color: var(--ink-faint); }
.noscript { max-width: var(--page); margin: 1rem auto; padding: 0 var(--pad-l); color: var(--ink-soft); font-size: var(--fs-meta); }

/* -------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .board { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .board__col--record { grid-column: 1 / -1; }
  .record { min-height: 12rem; max-height: 12rem; overflow: auto; }
  .board { min-height: 0; }
  .call__facts { grid-template-columns: 1fr 1fr; }
  .call__fact:nth-child(3) { border-left: 0; border-top: 1px solid var(--rule); }
  .call__fact:nth-child(4) { border-top: 1px solid var(--rule); }
}
@media (max-width: 760px) {
  .mast__kicker { display: none; }
  .board { grid-template-columns: 1fr; gap: 1.1rem; }
  .board__col--sources .slips { grid-template-columns: 1fr 1fr; }
  .board__col--story { grid-row: 1; }
  .story { min-height: 0; }
  .board__label { min-height: 0; margin-bottom: .55rem; }
  .record { min-height: 0; max-height: 11rem; }
  .quotes { grid-template-columns: 1fr; }
  .platen__cols { grid-template-columns: 1fr; }
  .platen__col + .platen__col { border-left: 0; border-top: 1px solid var(--rule); }
  .platen__link { margin-left: 0; width: 100%; }
  .ledger__row { grid-template-columns: 1fr auto; }
  .ledger__val { grid-column: 1 / -1; margin-top: 0.25rem; }
  /* The free-standing rule above (a doorless row's value spanning the door column)
     carries three classes to one here, so a media query alone does NOT override it:
     without this line a doorless row at 760 would keep `2 / -1`, its value would sit
     in the auto column and column 1 would be empty — the exact raggedness the
     desktop rule was added to remove, mirrored. Same selector, mobile value. */
  .ledger__row > .ledger__val:nth-child(2):last-child { grid-column: 1 / -1; }
  .hero__cta { gap: 0.8rem; }
  /* A five-column table asking for 34rem in a 356px box is a hard horizontal
     scroll, and Chromium will not scroll it when Tab reaches one of its links:
     measured 2026-11-10 at 390, scrollLeft stayed 0 across all six Story links
     while a.focus() + scrollIntoView moved the same box 0 -> 176, and
     `display: block` on the link changed nothing. A scroll box a keyboard
     reader cannot follow fails 2.4.11 whatever the ring does, so the table
     becomes a stack of two-line rows on a phone: symbol and price on the first
     line, change and stamp on the second, the story underneath. No scroller,
     nothing off screen, every link reachable with one Tab. */
  .figs { overflow-x: visible; }
  .figs__table { min-width: 0; display: block; }
  .figs__table caption { display: block; }
  .figs__table thead { display: none; }
  .figs__table tbody { display: block; }
  .figs__table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.15rem 0.6rem;
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid var(--rule-soft);
  }
  .figs__table tbody tr:last-child { border-bottom: 0; }
  .figs__table td { display: block; padding: 0; border: 0; text-align: left; }
  .figs__table td.num { text-align: left; }
  .figs__sym { font-weight: 600; }
  .figs__when { justify-self: end; grid-column: 2; grid-row: 1; }
  .figs__delta { grid-column: 1; grid-row: 2; }
  .figs__story { grid-column: 1 / -1; grid-row: 3; max-width: none; margin-top: 0.2rem; }
  /* The blank "Price" cell of each row would otherwise be a grid item. */
  .figs__table td.num:nth-of-type(2) { grid-column: 2; grid-row: 2; justify-self: end; }
  /* Measured 2026-11-10 (n3_focus, /about, 360 light): the Story column is the
     fifth, so its link sits at x=336 in a 326px scroller — a reader sees one
     character of it — and Chromium never scrolled the box on focus (after 22 Tab
     stops scrollLeft was still 0). scroll-padding on the SCROLLER is the lever
     here; scroll-margin on the link, an outset ring and `overflow: clip` all
     changed nothing (four variants measured). With it, the focused link lands
     at 118→292 and scrollLeft 218. Same 24px inset the filters strip and the
     market tape use. */
}
@media (max-width: 520px) {
  /* Measured on the 390 shots: the meta row squeezed Live, the stamp and Pause
     into three ragged columns of two-character lines, with the hairline
     separators stacked beside them. Let the row wrap, keep each token whole,
     and drop the separators once the stamp is a line of its own.

     But a row that wraps only *after* the script fills it in shifts the page:
     the stamp is one empty line at first paint and two lines once the edition
     and the age are written, which dropped the board 74px at t=398ms and cost
     0.1067 CLS on every phone visit. So the settled shape is declared here and
     reserved before the script runs — Live and Pause on the first row, the
     stamp on the second, at its two-line height. The Chinese stamp fits on one
     line, so it simply keeps the reservation. */
  .hero__meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.9rem;
    row-gap: 0.35rem;
    align-content: start;
    min-height: 4.95rem;
  }
  .hero__live { grid-area: 1 / 1; white-space: nowrap; }
  .hero__pause { grid-area: 1 / 2; margin-left: 0; }
  .hero__stamp { grid-area: 2 / 1 / 3 / -1; flex-wrap: wrap; column-gap: 0.5rem; row-gap: 0.15rem; min-height: 2.55rem; align-content: start; }
  .hero__stamp > span { white-space: nowrap; }
  .hero__sep { display: none; }
  .board__col--sources .slips { grid-template-columns: 1fr; }
  .call__facts { grid-template-columns: 1fr; }
  .call__fact { border-left: 0 !important; }
  .call__fact + .call__fact { border-top: 1px solid var(--rule); }
  .hero__title { font-size: clamp(1.85rem, 1.2rem + 5vw, 2.5rem); }
}

/* ------------------------------------------------------ touch hit areas
   WCAG 2.5.8 (AA) wants 24x24; this product's own tap token is 44px and that is
   the bar the gate holds. Measured 2026-11-10 at 390 with a coarse pointer, the
   landing page had 18 controls under it. Every rule below grows the HIT AREA and
   leaves the painted box exactly where it was, because the requirement is that a
   reader sees the same page:
     · an UNBORDERED link grows with padding and claims the same space back with
       a negative margin — the text and the row pitch do not move;
     · a BORDERED control (.seg__btn, .hero__pause, .btn--small) cannot grow its
       box without redrawing the border, so its target is extended by a
       transparent ::after that overhangs the box. The border, the fill and the
       type stay byte-for-byte what they were.
   Not scoped to a coarse pointer on purpose: a 44px target is harmless at a
   fine pointer, and a scoped rule is the one that silently stops applying. */
.lp .link,
.ledger__go,
.figs__story a {
  /* 1.5em is this sheet's line-height for body type, so the padding that makes
     the box 44px tall is exactly (44 - one line) / 2 and the negative margin
     gives that space straight back: text, row pitch and underline do not move. */
  padding-block: calc((var(--tap) - 1.5em) / 2);
  margin-block: calc((1.5em - var(--tap)) / 2);
}
/* Except inside the two frames that clip. The negative margin above makes the
   link's OUTER box one line tall while its painted box is 44: in .call__foot
   the flex line reserved 20.5px under a 45px link, so the link hung 6.9px past
   the foot and the 4px ring crossed the frame's edge; in a .figs last row the
   same overhang reached the frame's inner bottom. Both frames are
   overflow:hidden and cannot scroll a ring into reach. Measured 2026-11-11
   (n3_focus fN35: 36 stops CLIPPED:call / CLIPPED:figs, every width, en+zh,
   light+dark). Here the frame grows to hold the tap box instead — 54.6px foot
   at 1440, ring 1.8px inside the edge — which is the absorption the footer
   comment above already promised. */
.call__foot .link,
.figs__story a {
  margin-block: 0;
}
/* The wordmark link is two lines tall already (36px measured); 4px of padding
   on each side reaches the token without moving the masthead's own padding. */
.mast__mark { padding-block: 0.25rem; margin-block: -0.25rem; }
.hero__pause,
.seg__btn,
.lp .btn--small,
/* A short label is a narrow target even when its line box is tall enough: the
   zh word for "Newsroom" measures 39px wide against a 45px line. It joins the
   overhang group rather than getting padding, because this link is the last
   item of a flex row and padding would move it. */
.colophon__fine .link { position: relative; }
.hero__pause::after,
.seg__btn::after,
.lp .btn--small::after,
.colophon__fine .link::after {
  content: "";
  position: absolute;
  /* Centred, and at least as wide as the token: a short control ("新闻站", 36px)
     is a narrow target even when its height is right, and growing the box would
     move the text beside it. */
  left: 50%;
  width: max(100%, calc(var(--tap) + 2px));
  transform: translateX(-50%);
  /* Centre the extra target on the control. The offset is (box - 44)/2, which is
     NEGATIVE for a control shorter than the token: that is what makes the
     overhang stick out above and below rather than hang below the control.
     Measured 2026-11-10 with the subtraction the other way round: 20 of 25
     probes landed on the control and the gate still (correctly) reported a
     32px target. */
  top: calc((100% - var(--tap) - 2px) / 2);
  /* The token plus one pixel above and below: a probe or a finger exactly on the
     44px boundary is outside the element, and a target that only meets the
     requirement at its mathematical edge does not meet it. */
  height: calc(var(--tap) + 2px);
  min-height: 100%;
  /* Transparent, so nothing is repainted; it exists to be hit alone. */
  background: transparent;
  /* Square corners and a 2px outward reach: the control's own radius clipped the
     corner probes of the 44px square (measured 2026-11-10, 20 of 25 probes fell
     through to the parent), and the outward reach covers the 1px border a
     sub-pixel layout can leave between the box and its overhang. */
  border-radius: 0;
}

/* -------------------------------------------------------- reduced motion
   Not a dimmer page: the same board, composed. The assembly's finished state
   is what a reduced-motion reader sees, threads and all, and every transition
   collapses to an instant swap. */
/* The not-found document (404.html) is a page of the landing family: same
   masthead, same sheets, body.lp. Measured 2026-11-11 (n3_routes, not-found
   row, 390, both editions): its reading column had NO horizontal padding —
   the headline touched both edges — because its own .nf rule sets only a
   max-width and a centred margin, and the page gutters live on .mast__inner,
   not on the body. Nothing gave the column a top edge either, so the 404
   label sat flush on the masthead rule. */
.nf {
  padding: clamp(1.8rem, 4vw, 3rem) var(--pad-r) clamp(2.4rem, 5vw, 4rem) var(--pad-l);
}

@keyframes lp-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
@media (prefers-reduced-motion: reduce) {
  .lp *,
  .lp *::before,
  .lp *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero__live .dot { animation: none; }
  .line, .line[data-on], .record .rl, .record .rl[data-on], .quote, .quote[data-on] { opacity: 1; transform: none; }
  .line { transition: none; }
  .quote__bar > i { transform: none; }
}