/* =============================================================================
   STASH — design system (stash.css)
   One stylesheet for every page. Page CSS (app.css, docs.css) may add to it but
   never redefines a token. The three brand hexes live ONLY in :root below.

   GREEN RULE (enforced by scripts/check-naming.sh): the accent means one thing —
   the share rate, the gain that becomes rate, or live-and-rising. Every selector
   that uses var(--rate…) contains the substring "rate" (.rate-value, .rate-fill,
   .rate-dot, .rate-flash …). On paper, green is a FILL behind ink text, never
   text itself. Never put the accent inside @keyframes: animate opacity/transform
   of an element whose "rate" rule sets the colour.

   SURFACES
   Every component reads context tokens (--fg, --fg-2, --fg-3, --rule, --rule-2,
   --surface, --surface-2, --surface-3, --inv-bg, --inv-fg) so it works on paper
   and on ink without variants. Paper is the default; `.on-ink` (or any ink
   section/card) flips them.

   COMPONENT CLASSES (one example each lives in partials.html)
   layout      .container  .section  .section--paper-2  .section--ink  .section--tight
               .sec-head (title block, 2 cols on desktop)  .grid .grid--2 .grid--3 .grid--4
               .stack (vertical rhythm, --gap)  .cluster (wrapping row)  .split (1fr/1fr)
   type        .eyebrow  .label  .h-display  .h1  .h2  .h3  .lede  .body-s  .muted  .mono
               .num (tabular)  .tagline (Newsreader, tagline + one pull-quote only)
   header      .site-header  .brand  .brand-icon  .site-nav (a[aria-current="page"])
               .status-pill (.status-dot, + .rate-live when a factory exists)  .menu-btn
               .site-sheet (mobile menu sheet)  .skip-link
   buttons     .btn  .btn--solid (auto: ink on paper, paper on ink)  .btn--ink  .btn--paper
               .btn--ghost  .btn--sm  .btn--lg  .btn--block  [disabled]/.is-disabled  .btn .arr
   bits        .pill  .pill--role  .pill--quiet  .code (inline mono chip)  .kbd
               .illus-chip ("illustration · not to scale")  .rate-swatch (ink text on green)
               .rule (hairline)  .dot-list
   data        .stat (.stat__v .stat__u .stat__l .stat__note)  .stats (row of stats)
               .ledger (table) inside .scroller  .sig (function signature block:
               .sig__fn .sig__ty .sig__sel)  .formula  .rate-value (the live rate)
   cards       .card  .card--flat  .card--ink  .card--hover  .card__k (kicker)
   callouts    .callout  .callout--warn  .callout__title
   disclosure  details.acc > summary.acc__q + .acc__a  (FAQ)
               .tabs > button.tab[aria-selected]  .crumbs (breadcrumbs, a + span[aria-current])
   docs        .doc (.doc__toc sticky rail + .doc__body)  .toc a[aria-current="true"]
   footer      .site-footer (.foot-brand .foot-cols .foot-risk)
   app forms   .field .field__label .field__hint  .input-group (.input .input-suffix .btn-max)
               .seg (segmented toggle: label > input[type=radio] + span)  .btn--primary
               .progress (ol > li[data-state=todo|wallet|pending|confirmed|failed])
               .statusline[data-kind=ok|error|info]  .toast
   motion      [data-reveal] (+ style="--i:n" to stagger)  [data-rise] (hero entrance)
               .rate-flash (600 ms green wash on a changed live value)  .flash-quiet
               .rate-dot (+ .rate-dot--live pulse) — the only green dot
   live        .live-strip (+ cells)  — see index.html
   ============================================================================= */

:root {
  /* ---- palette: the brief's three colours, written here and nowhere else ---- */
  --ink: #0B0D0C;
  --paper: #F4EFE4;
  --rate: #3DFA8A;

  /* ---- derived tones (no new hues) ---- */
  --ink-2: #131715;          /* raised surface on dark */
  --ink-3: #1B201D;          /* card on dark */
  --ink-4: #262C28;          /* pressed / strong rule on dark */
  --ink-deep: #060807;       /* odometer well */
  --paper-2: #ECE5D6;        /* card on paper */
  --paper-3: #E1D8C5;        /* pressed / strong rule on paper */
  --paper-4: #D3C8B1;
  --rate-8: rgba(61, 250, 138, .08);
  --rate-12: rgba(61, 250, 138, .12);
  --rate-24: rgba(61, 250, 138, .24);
  --rate-40: rgba(61, 250, 138, .40);
  --rate-60: rgba(61, 250, 138, .60);

  /* text on paper: ink at 100 / 72 / 60 %  ·  text on ink: paper at 100 / 72 / 54 % */
  --t1: #0B0D0C;
  --t2: rgba(11, 13, 12, .72);
  --t3: rgba(11, 13, 12, .60);
  --d1: #F4EFE4;
  --d2: rgba(244, 239, 228, .72);
  --d3: rgba(244, 239, 228, .54);
  --line: rgba(11, 13, 12, .13);
  --line-2: rgba(11, 13, 12, .26);
  --line-d: rgba(244, 239, 228, .12);
  --line-d-2: rgba(244, 239, 228, .24);

  /* ---- type ---- */
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --f-voice: "Newsreader", Georgia, "Times New Roman", serif;
  --fs-display: clamp(3.4rem, 9vw, 8.5rem);
  --fs-h1: clamp(2.6rem, 6vw, 5rem);
  --fs-h2: clamp(2rem, 4.2vw, 3.4rem);
  --fs-h3: 1.35rem;
  --fs-body: 1.0625rem;
  --fs-lede: 1.125rem;
  --fs-small: .875rem;
  --fs-label: .72rem;
  --fs-mono: .8125rem;       /* 13px data */
  --fs-mono-s: .75rem;       /* 12px captions — the floor for anything you must read */
  --fs-mono-xs: .6875rem;    /* 11px tags */

  /* ---- space ---- */
  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem; --sp-5: 1.5rem;
  --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem;
  --section-y: clamp(5rem, 11vw, 9rem);
  --maxw: 78rem;
  --gut: clamp(1rem, 4vw, 2.5rem);
  --hdr-h: 64px;

  /* ---- shape ---- */
  --r-xs: 4px; --r-sm: 8px; --r-card: 14px; --r-panel: 22px; --r-pill: 999px;
  --shadow-card: 0 1px 0 rgba(11, 13, 12, .06), 0 12px 32px -18px rgba(11, 13, 12, .28);
  --shadow-lift: 0 1px 0 rgba(11, 13, 12, .06), 0 18px 40px -20px rgba(11, 13, 12, .36);
  --shadow-panel: 0 1px 0 rgba(11, 13, 12, .06), 0 30px 60px -30px rgba(11, 13, 12, .6);

  /* ---- motion ---- */
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.6, 0, .2, 1);
  --dur-fast: 200ms; --dur: 400ms; --dur-slow: 900ms;

  color-scheme: light;
}

/* ------------------------------------------------------------ surface contexts */
body, .on-paper {
  --fg: var(--t1); --fg-2: var(--t2); --fg-3: var(--t3);
  --rule: var(--line); --rule-2: var(--line-2);
  --surface: var(--paper); --surface-2: var(--paper-2); --surface-3: var(--paper-3);
  --inv-bg: var(--ink); --inv-fg: var(--paper);
}
.on-ink, .section--ink, .card--ink, .site-footer, .live-strip, .odo, .terminal {
  --fg: var(--d1); --fg-2: var(--d2); --fg-3: var(--d3);
  --rule: var(--line-d); --rule-2: var(--line-d-2);
  --surface: var(--ink); --surface-2: var(--ink-2); --surface-3: var(--ink-3);
  --inv-bg: var(--paper); --inv-fg: var(--ink);
  color: var(--fg);
}

/* ------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body {
  margin: 0; min-width: 320px;
  background: var(--paper); color: var(--fg);
  font-family: var(--f-display); font-stretch: 100%; font-weight: 400;
  font-size: var(--fs-body); line-height: 1.6;
  font-synthesis: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
::selection { background: var(--ink); color: var(--paper); }
img, svg, video { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px;
}
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; }
code, kbd, pre, samp { font-family: var(--f-mono); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--sp-4); top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: var(--r-pill); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 10px; }

/* ----------------------------------------------------------------- layout */
.container, .wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { position: relative; padding-block: var(--section-y); background: var(--surface); color: var(--fg); }
.section--paper-2 { background: var(--paper-2); --surface-2: var(--paper); }
.section--ink { background: var(--ink); }
.section--tight { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section + .section:not(.section--ink):not(.section--paper-2) { border-top: 1px solid var(--rule); }
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--sp-5) clamp(1.5rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head--stack { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
.grid { display: grid; gap: var(--gap, 1rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack { display: flex; flex-direction: column; gap: var(--gap, 1rem); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, .65rem); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }

/* ------------------------------------------------------------------- type */
.eyebrow, .label {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 600;
  font-size: var(--fs-label); line-height: 1.25; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--fg-2); margin: 0 0 1.1rem; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .9; }
.label { color: var(--fg-3); }
.h-display { font-stretch: 62%; font-weight: 900; font-size: var(--fs-display); line-height: .9; letter-spacing: -.01em; text-transform: uppercase; }
.h1 { font-stretch: 76%; font-weight: 820; font-size: var(--fs-h1); line-height: .95; letter-spacing: -.02em; text-wrap: balance; }
.h2 { font-stretch: 80%; font-weight: 800; font-size: var(--fs-h2); line-height: .98; letter-spacing: -.018em; text-wrap: balance; }
.h3 { font-stretch: 86%; font-weight: 760; font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -.01em; }
.lede { font-size: var(--fs-lede); line-height: 1.6; color: var(--fg-2); max-width: 38rem; }
.lede b, .lede strong { color: var(--fg); font-weight: 600; }
.body-s { font-size: var(--fs-small); line-height: 1.55; color: var(--fg-2); }
.muted { color: var(--fg-3); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; }
.tagline {
  font-family: var(--f-voice); font-style: italic; font-weight: 450;
  font-size: clamp(1.85rem, 2.6vw, 2.35rem); line-height: 1.05; letter-spacing: -.01em;
  font-variation-settings: "opsz" 72;
}
.prose p + p { margin-top: 1rem; }
.prose { color: var(--fg-2); max-width: 40rem; }
.prose b, .prose strong { color: var(--fg); font-weight: 600; }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--hdr-h);
  background: rgba(244, 239, 228, .84);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__in { height: var(--hdr-h); display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); }
.brand {
  display: inline-flex; align-items: center; gap: .55rem; flex: none;
  text-decoration: none; color: var(--fg);
  font-stretch: 62%; font-weight: 900; font-size: 1.62rem; letter-spacing: .015em; text-transform: uppercase; line-height: 1;
}
.brand-icon { width: 24px; height: 24px; flex: none; overflow: visible; }
.brand-icon__bar { fill: currentColor; }
.brand-icon__slot { fill: none; stroke: currentColor; stroke-width: 1.1; }
.rate-icon-fill { fill: var(--rate); transform-box: fill-box; transform-origin: 0 50%; }
.site-nav { display: flex; gap: clamp(1rem, 1.8vw, 1.75rem); }
.site-nav a {
  position: relative; text-decoration: none; color: var(--t2);
  font-size: .9375rem; font-weight: 500; padding-block: .35rem;
  transition: color var(--dur-fast) var(--ease);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-header__end { margin-left: auto; display: flex; align-items: center; gap: .55rem; }
.status-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  height: 34px; padding: 0 .8rem; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); color: var(--t2); background: transparent;
  font-stretch: 125%; font-weight: 600; font-size: .66rem; letter-spacing: .09em; text-transform: uppercase;
  white-space: nowrap;
}
.status-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.status-dot.rate-live { border-color: var(--rate); background: var(--rate); }
.status-dot.rate-live::after, .rate-dot--live::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--rate);
  opacity: 0; animation: pulse-ring 1.8s var(--ease) infinite;
}
.status-pill.is-live { color: var(--ink); border-color: var(--ink); }
.menu-btn {
  display: none; width: 38px; height: 38px; flex: none; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: transparent; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), background-color .2s;
}
.menu-btn__bars { position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -5px; } .menu-btn__bars::after { top: 5px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-5px) rotate(-45deg); }
.site-sheet {
  position: fixed; left: 0; right: 0; top: var(--hdr-h); z-index: 55;
  background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lift);
  bottom: 0; padding: .25rem var(--gut) 1.5rem; overflow-y: auto; overscroll-behavior: contain;
  animation: sheet-in .32s var(--ease) both;
}
.site-sheet[hidden] { display: none; }
.site-sheet nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none;
  font-size: 1.3rem; font-weight: 700; font-stretch: 84%; color: var(--ink);
}
.site-sheet nav a::after { content: "\2192"; font-weight: 400; color: var(--t3); }
.site-sheet nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .25em; }
.site-sheet .btn { margin-top: 1.25rem; width: 100%; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 46px; padding: 0 1.3rem; border-radius: var(--r-pill);
  font: 600 .9375rem/1 var(--f-display); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap; user-select: none;
  transition: transform .15s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), opacity .2s;
}
.btn:active { transform: scale(.98); }
.btn--solid, .btn--primary { background: var(--inv-bg); color: var(--inv-fg); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-3); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--paper-2); }
.btn--solid:hover, .btn--primary:hover { opacity: .9; }
.btn--ghost { border-color: var(--rule-2); color: var(--fg); background: transparent; }
.btn--ghost:hover { border-color: var(--fg); }
.btn--sm { height: 36px; padding: 0 1rem; font-size: .875rem; }
.btn--lg { height: 54px; padding: 0 1.6rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled, .btn[aria-disabled="true"] { opacity: .42; cursor: not-allowed; pointer-events: none; }
.btn .arr { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--rule-2); padding-bottom: 1px; transition: border-color .2s; }
.link-arrow:hover { border-color: var(--fg); }
.link-arrow::after { content: " \2192"; }

/* ---------------------------------------------------------------- small bits */
.pill {
  display: inline-flex; align-items: center; gap: .4rem; height: 24px; padding: 0 .6rem;
  border: 1px solid var(--rule-2); border-radius: var(--r-pill);
  font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1; color: var(--fg-2); white-space: nowrap;
}
.pill--quiet { border-color: var(--rule); color: var(--fg-3); }
.pill--solid { background: var(--inv-bg); border-color: var(--inv-bg); color: var(--inv-fg); }
.pill--role::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .7; }
.code {
  font-family: var(--f-mono); font-size: .86em; padding: .08em .38em; border-radius: 5px;
  background: var(--surface-2); border: 1px solid var(--rule); color: var(--fg); overflow-wrap: anywhere;
}
.kbd { font-family: var(--f-mono); font-size: .8em; padding: .05em .4em; border: 1px solid var(--rule-2); border-bottom-width: 2px; border-radius: 5px; }
.illus-chip {
  display: inline-flex; align-items: center; gap: .45rem; height: 22px; padding: 0 .55rem;
  border: 1px solid currentColor; border-radius: 3px; background: var(--surface);
  font-family: var(--f-mono); font-size: var(--fs-mono-xs); letter-spacing: .02em; color: var(--fg-2); white-space: nowrap;
}
.illus-chip b { font-family: var(--f-display); font-stretch: 125%; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .62rem; color: var(--fg); }
.rate-swatch { background: var(--rate); color: var(--ink); padding: .08em .36em; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.rule { border: 0; height: 1px; background: var(--rule); margin: var(--sp-6) 0; }
.dot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.dot-list li { position: relative; padding-left: 1.1rem; color: var(--fg-2); }
.dot-list li::before { content: ""; position: absolute; left: 0; top: .66em; width: 5px; height: 5px; border-radius: 50%; background: var(--fg); }

/* ---------------------------------------------------------------- data */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.stat { min-width: 0; }
.stat dt, .stat dd { margin: 0; }
.stat__v { display: block; font-stretch: 62%; font-weight: 880; font-size: 2.1rem; line-height: 1; letter-spacing: -.005em; color: var(--fg); font-variant-numeric: tabular-nums; }
.stat__u { font-size: .52em; font-weight: 700; margin-left: .08em; letter-spacing: 0; }
.stat__l { display: block; margin-top: .45rem; font-stretch: 108%; font-weight: 500; font-size: .78rem; line-height: 1.35; color: var(--fg-2); }
.stat__note { display: block; margin-top: .35rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1.4; color: var(--fg-3); }
.stat__note > span { display: block; white-space: nowrap; }
.scroller { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; } /* relative: an absolute .sr-only th label stays inside the scroll box */
.ledger { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.ledger th {
  text-align: left; font-stretch: 125%; font-weight: 600; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg-3); padding: .7rem .9rem .6rem 0; border-bottom: 1px solid var(--rule-2); white-space: nowrap;
}
.ledger td { padding: .8rem .9rem .8rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--fg-2); font-family: var(--f-mono); font-size: var(--fs-mono-s); font-variant-numeric: tabular-nums; }
.ledger td:first-child { color: var(--fg); font-family: var(--f-display); font-size: var(--fs-small); font-weight: 600; }
.ledger td a { color: var(--fg); }
.ledger .pending, .pending { color: var(--fg-3); }
.sig { display: block; }
.sig code {
  display: block; font-family: var(--f-mono); font-size: var(--fs-mono-s); line-height: 1.65; color: var(--fg);
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-sm); padding: .6rem .75rem; overflow-wrap: anywhere;
}
.sig__fn { font-weight: 600; }
.sig__ty { color: var(--fg-3); }
.sig__sel { display: block; margin-top: .4rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--fg-3); }
.formula { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.formula code { font-family: var(--f-mono); font-size: var(--fs-mono); color: var(--fg); line-height: 1.7; }
.formula code > span { display: inline-block; white-space: nowrap; }
.formula__note { font-family: var(--f-mono); font-size: var(--fs-mono-s); color: var(--fg-3); }

/* ---------------------------------------------------------------- cards */
.card {
  position: relative; min-width: 0; background: var(--surface-2); border: 1px solid var(--rule); border-radius: var(--r-card);
  padding: clamp(1.1rem, 2vw, 1.4rem); color: var(--fg);
}
.card--flat { background: transparent; }
.card--raised { background: var(--surface); box-shadow: var(--shadow-card); border-color: var(--rule-2); }
.card--ink { background: var(--ink); border-color: var(--ink); }
.card--ink.card--panel { border-radius: var(--r-panel); box-shadow: var(--shadow-panel); }
.card--hover { transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.card--hover:hover { transform: translateY(-2px); border-color: var(--rule-2); }
.card__k { font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--fg-3); letter-spacing: .02em; }
:where(.card) h3 { margin-top: .5rem; }
:where(.card) p { margin-top: .55rem; font-size: .95rem; line-height: 1.55; color: var(--fg-2); }

/* ---------------------------------------------------------------- callouts */
.callout {
  position: relative; border: 1px solid var(--rule-2); border-left: 3px solid var(--fg); border-radius: 0 var(--r-card) var(--r-card) 0;
  background: var(--surface-2); padding: clamp(1.1rem, 2.4vw, 1.6rem) clamp(1.1rem, 2.4vw, 1.8rem);
}
.callout__title { display: flex; align-items: center; gap: .6rem; font-stretch: 86%; font-weight: 780; font-size: 1.35rem; line-height: 1.1; }
.callout--warn .callout__title::before {
  content: "!"; display: inline-grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: var(--fg); color: var(--surface); font-family: var(--f-mono); font-size: .75rem; font-weight: 700;
}

/* ---------------------------------------------------------------- accordion (FAQ) */
.acc { border-bottom: 1px solid var(--rule); }
.acc:first-of-type { border-top: 1px solid var(--rule); }
.acc > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0; font-stretch: 88%; font-weight: 720; font-size: 1.2rem; line-height: 1.25;
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--rule-2);
  background:
    linear-gradient(var(--fg), var(--fg)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--fg), var(--fg)) center / 1.5px 11px no-repeat;
  transition: transform .35s var(--ease), background-size .35s var(--ease);
}
.acc[open] > summary::after { transform: rotate(180deg); background-size: 11px 1.5px, 1.5px 0; }
.acc > summary:hover::after { border-color: var(--fg); }
.acc__a { padding: 0 0 1.35rem; max-width: 46rem; color: var(--fg-2); }
.acc__a p + p { margin-top: .75rem; }
.acc__a b { color: var(--fg); font-weight: 600; }
.acc[open] .acc__a { animation: acc-open .4s var(--ease); }

/* ---------------------------------------------------------------- tabs, pills, crumbs */
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.tab {
  position: relative; display: inline-flex; align-items: baseline; gap: .55rem; height: 38px; padding: 0 1rem; overflow: hidden;
  border: 1px solid var(--rule); border-radius: var(--r-pill); background: transparent; color: var(--fg-3); cursor: pointer;
  transition: color .25s, border-color .25s, background-color .25s;
}
.tab:hover { color: var(--fg-2); border-color: var(--rule-2); }
.tab[aria-selected="true"], .tab[aria-pressed="true"] { color: var(--fg); border-color: var(--fg-3); background: var(--surface-2); }
.tab__n { font-family: var(--f-mono); font-size: .68rem; align-self: center; }
.tab__t { font-stretch: 125%; font-weight: 600; font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; align-self: center; }
.tab__bar { position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; overflow: hidden; }
.tab__bar b { display: block; height: 100%; background: var(--fg-2); transform-origin: 0 50%; transform: scaleX(0); }
.tab__bar b.rate-bar { background: var(--rate); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-family: var(--f-mono); font-size: var(--fs-mono-s); color: var(--fg-3); margin: 0 0 1rem; padding: 0; list-style: none; }
.crumbs a { color: var(--fg-2); text-decoration: none; }
.crumbs a:hover { color: var(--fg); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.crumbs [aria-current] { color: var(--fg); }

/* ---------------------------------------------------------------- docs layout */
.doc { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.doc__toc { position: sticky; top: calc(var(--hdr-h) + 1.5rem); max-height: calc(100svh - var(--hdr-h) - 3rem); overflow-y: auto; }
.doc__toc > summary { display: none; }
.toc { list-style: none; margin: 0; padding: 0 0 0 .9rem; border-left: 1px solid var(--rule); display: grid; gap: .1rem; }
.toc a { display: block; padding: .3rem 0; text-decoration: none; font-size: .9rem; color: var(--fg-3); position: relative; transition: color .2s; }
.toc a:hover { color: var(--fg); }
.toc a[aria-current="true"], .toc a[aria-current="location"] { color: var(--fg); font-weight: 600; }
.toc a[aria-current="true"]::before, .toc a[aria-current="location"]::before { content: ""; position: absolute; left: calc(-.9rem - 1px); top: .35rem; bottom: .35rem; width: 2px; background: var(--fg); }
.doc__body { min-width: 0; max-width: 46rem; }
.doc__body h2 { font-stretch: 80%; font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.02; letter-spacing: -.015em; margin: 3.5rem 0 1rem; scroll-margin-top: calc(var(--hdr-h) + 1.25rem); }
.doc__body h3 { font-stretch: 86%; font-weight: 760; font-size: 1.25rem; margin: 2rem 0 .6rem; scroll-margin-top: calc(var(--hdr-h) + 1.25rem); }
.doc__body p, .doc__body li { color: var(--fg-2); }
.doc__body p + p { margin-top: 1rem; }
.doc__body pre { background: var(--ink); color: var(--paper); border-radius: var(--r-sm); padding: 1rem 1.1rem; overflow-x: auto; font-size: var(--fs-mono-s); line-height: 1.7; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: var(--fg); padding-block: clamp(3.5rem, 7vw, 5rem) 2.5rem; border-top: 1px solid var(--line-d); }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr); gap: 2.5rem clamp(2rem, 5vw, 5rem); }
.foot-brand .brand { color: var(--paper); font-size: 1.9rem; }
.foot-brand p { margin-top: .9rem; color: var(--fg-2); max-width: 22rem; font-size: .95rem; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.foot-cols h2 { font-stretch: 125%; font-weight: 600; font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; color: var(--fg-3); margin-bottom: .9rem; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.foot-cols a { text-decoration: none; color: var(--fg-2); font-size: .95rem; transition: color .2s; }
.foot-cols a:hover, .foot-cols a[aria-current="page"] { color: var(--fg); }
.foot-risk { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.4rem; border-top: 1px solid var(--rule); color: var(--fg-2); font-size: .9rem; max-width: 52rem; }

/* ---------------------------------------------------------------- app form controls */
.field { display: grid; gap: .45rem; }
.field__label { font-stretch: 125%; font-weight: 600; font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); display: flex; justify-content: space-between; gap: 1rem; }
.field__hint { font-family: var(--f-mono); font-size: var(--fs-mono-s); color: var(--fg-3); }
.input-group {
  display: flex; align-items: center; gap: .5rem; min-height: 64px; padding: .4rem .5rem .4rem 1rem;
  background: var(--surface); border: 1px solid var(--rule-2); border-radius: var(--r-card);
  transition: border-color .2s, box-shadow .2s;
}
.input-group:focus-within { border-color: var(--fg); box-shadow: 0 0 0 3px var(--rule); }
.input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--fg);
  font-family: var(--f-mono); font-size: 1.45rem; font-weight: 500; font-variant-numeric: tabular-nums; padding: 0;
}
.input::placeholder { color: var(--fg-3); }
.input-suffix { font-family: var(--f-mono); font-size: var(--fs-mono); color: var(--fg-2); white-space: nowrap; }
.btn-max {
  height: 30px; padding: 0 .7rem; border-radius: var(--r-pill); border: 1px solid var(--rule-2); background: transparent; cursor: pointer;
  font-stretch: 125%; font-weight: 700; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2);
}
.btn-max:hover { color: var(--fg); border-color: var(--fg); }
.seg { display: inline-flex; padding: 3px; border-radius: var(--r-pill); border: 1px solid var(--rule-2); background: var(--surface-2); gap: 2px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; height: 32px; padding: 0 1rem; border-radius: var(--r-pill); font-weight: 600; font-size: .875rem; color: var(--fg-2); transition: background-color .2s, color .2s; }
.seg input:checked + span { background: var(--inv-bg); color: var(--inv-fg); }
.seg input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }
.progress { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; counter-reset: pstep; }
.progress li {
  counter-increment: pstep; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: .75rem; align-items: center;
  font-size: .92rem; color: var(--fg-3);
}
.progress li::before {
  content: counter(pstep); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--rule-2); font-family: var(--f-mono); font-size: .7rem;
}
.progress li[data-state="wallet"], .progress li[data-state="pending"] { color: var(--fg); }
.progress li[data-state="wallet"]::before, .progress li[data-state="pending"]::before { border-color: var(--fg); animation: spin-soft 1.2s linear infinite; border-top-color: transparent; }
.progress li[data-state="confirmed"] { color: var(--fg); }
.progress li[data-state="confirmed"]::before { content: "\2713"; background: var(--inv-bg); color: var(--inv-fg); border-color: var(--inv-bg); }
.progress li[data-state="failed"] { color: var(--fg); }
.progress li[data-state="failed"]::before { content: "\00d7"; border-color: var(--fg); border-style: dashed; }
.statusline { display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; line-height: 1.5; color: var(--fg-2); }
.statusline::before { content: ""; flex: none; margin-top: .45em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.statusline[data-kind="error"] { color: var(--fg); }
.statusline[data-kind="error"]::before { border-radius: 1px; transform: rotate(45deg); background: currentColor; }
.statusline[data-kind="ok"] { color: var(--fg); }
.statusline[data-kind="ok"]::before { background: currentColor; }
.toast {
  position: fixed; left: 50%; bottom: 1.25rem; z-index: 80; transform: translateX(-50%);
  max-width: min(32rem, calc(100vw - 2rem)); padding: .8rem 1.1rem; border-radius: var(--r-card);
  background: var(--ink); color: var(--paper); box-shadow: var(--shadow-panel); font-size: .92rem;
  animation: toast-in .4s var(--ease) both;
}

/* ---------------------------------------------------------------- motion utilities */
.js [data-rise] { opacity: 0; transform: translateY(18px); }
.js .is-in [data-rise], .js [data-rise].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal] { opacity: 0; transform: translateY(14px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .site-header { animation: fade-in .6s var(--ease) both; }

/* the one green dot, and the one green wash */
.rate-dot { position: relative; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--rate); flex: none; }
.rate-flash { position: relative; }
.rate-flash::after {
  content: ""; position: absolute; inset: -.1em -.3em; border-radius: 6px; background: var(--rate-24);
  pointer-events: none; animation: wash-out .6s ease-out forwards;
}
.flash-quiet { position: relative; }
.flash-quiet::after {
  content: ""; position: absolute; inset: -.1em -.3em; border-radius: 6px; background: rgba(244, 239, 228, .14);
  pointer-events: none; animation: wash-out .6s ease-out forwards;
}

@keyframes fade-in { from { opacity: 0; } }
@keyframes wash-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes pulse-ring { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px); } }
@keyframes acc-open { from { opacity: 0; transform: translateY(-4px); } }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }
@keyframes spin-soft { to { transform: rotate(360deg); } }
@keyframes march { to { stroke-dashoffset: -22; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================================================
   HOME PAGE (index.html) — hero plate, live strip and the long read
   ============================================================================= */

/* ---- hero: the engraved plate on paper ---- */
.hero {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  background-color: var(--paper);
  /* paper tooth: ink-coloured noise at a few percent, so the engraving sits IN the paper */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .043  0 0 0 0 .051  0 0 0 0 .047  .11 0 0 0 -.035'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.hero::before { /* the plate-mark an engraving presses into paper; sits in the margin, never on the copy */
  content: ""; position: absolute; top: 10px; bottom: 0; border: 1px solid var(--line); border-bottom: 0; pointer-events: none;
  left: min(var(--gut), max(12px, calc((100% - var(--maxw)) / 2 + var(--gut) - 24px)));
  right: min(var(--gut), max(12px, calc((100% - var(--maxw)) / 2 + var(--gut) - 24px)));
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr); gap: clamp(1.5rem, 3.2vw, 3.25rem); align-items: center;
  padding-block: clamp(1rem, 1.8vh, 2rem) clamp(.8rem, 1.4vh, 1.6rem);
}
.hero__copy { position: relative; z-index: 2; padding-left: clamp(0rem, 1.4vw, 1.1rem); }
.hero__h1 { font-stretch: 76%; font-weight: 820; font-size: clamp(2.5rem, min(4.3vw, 6.4vh), 3.95rem); line-height: .95; letter-spacing: -.02em; text-wrap: balance; }
.hero__lede { margin-top: 1.05rem; max-width: 34rem; font-size: 1.1rem; line-height: 1.58; color: var(--t2); }
.hero__lede b { color: var(--ink); font-weight: 600; }
.hero__tag { margin-top: 1.15rem; display: grid; gap: .3rem; }
.hero__qual { font-size: .92rem; color: var(--t3); max-width: 31rem; line-height: 1.5; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }
.hero__stats { margin-top: 1.5rem; padding-top: .95rem; border-top: 1px solid var(--line-2); gap: .9rem; }
.hero__stats .stat__v { font-size: 1.95rem; }
.hero__stats .stat__l { font-size: .74rem; }
/* The notes under the hero stats never break ("10 min–7 days"), so no stat may be narrower than its
   note: at 1024-1139 px (copy column too narrow for four; the note ran into the next stat at 1024 px)
   they sit two by two, and from 1140 px each column is at least as wide as its longest note. */
@media (min-width: 1024px) and (max-width: 1139px) {
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.1rem; }
}
@media (min-width: 1140px) {
  .hero__stats { grid-template-columns: repeat(4, minmax(min-content, 1fr)); }
}
.hero__lede--m { display: none; }

/* the plate figure: stacked SVG layers; the engraved wheel is its own composited layer */
.plate { position: relative; margin: 0; width: 100%; justify-self: end; container-type: inline-size; }
.plate-stage { position: relative; width: 100%; aspect-ratio: 720 / 600; }
.plate-stage > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; display: block; }
.plate-wheel { will-change: transform; backface-visibility: hidden; }
/* The wheel layer is a full-size SVG turned by a CSS transform, so its (empty) corners swing past
   the stage: they must neither widen the page (phones scrolled sideways, 392 -> 426 px at 390) nor
   sit on top of the buttons above the plate (they took the taps of "See how it works" at 390 px).
   The hero clips sideways only; nothing drawn on the plate reaches its edge. */
.hero { overflow-x: clip; }
.plate-stage > svg { pointer-events: none; }
.plate-chip { position: absolute; left: 0; top: 0; z-index: 3; }
.plate-labels { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.plabel { position: absolute; display: block; white-space: nowrap; line-height: 1.25; }
.plabel b { display: block; font-stretch: 125%; font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.plabel i { display: block; font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--t2); margin-top: 1px; }
.plabel.is-end { text-align: right; transform: translateX(-100%); }
.plabel.is-mid { text-align: center; transform: translateX(-50%); }
.plabel .rate-swatch { display: inline-block; font-stretch: 125%; font-weight: 700; font-size: 11px; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px 2px; text-align: left; }
.eng { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; }
.eng-1 { stroke-width: 1.35; }
.eng-2 { stroke-width: .8; }
.eng-3 { stroke-width: .55; stroke-opacity: .55; }
.eng-4 { stroke-width: .5; stroke-opacity: .3; }
.fill-paper { fill: var(--paper); }
.fill-ink { fill: var(--ink); }
.fill-none { fill: none; }
.lead { fill: none; stroke: var(--ink); stroke-width: .7; stroke-opacity: .6; stroke-dasharray: 1.5 2.5; }
.lead-dot { fill: var(--ink); }
.plate-arc { font-family: var(--f-display); font-stretch: 125%; font-weight: 700; font-size: 12px; fill: var(--ink); }
.rate-band { fill: var(--rate); }
.rate-settled { fill: var(--rate); }
.rate-spring { fill: none; stroke: var(--rate); stroke-width: 4.2; stroke-linecap: round; }
.rate-gain { fill: var(--rate); stroke: var(--ink); stroke-width: .9; }
.p-chip { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; }
.p-ink-thin { fill: none; stroke: var(--ink); stroke-width: .9; stroke-linecap: round; }
.p-leaf { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; }
.p-leaf-in { fill: none; stroke: var(--paper); stroke-width: .9; stroke-linecap: round; }
.p-pulse { fill: none; stroke: var(--ink); stroke-width: 1; }
/* draw-in: the plate is "cut" once on load */
.js .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .is-cut .draw { animation: cut 1.5s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes cut { to { stroke-dashoffset: 0; } }
.js .ink-in { opacity: 0; }
.js .is-cut .ink-in { animation: ink-in .9s var(--ease) forwards; animation-delay: var(--d, .6s); }
@keyframes ink-in { to { opacity: 1; } }
.plate-cap { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .75rem; margin-top: .5rem; padding-left: 1.5%; font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1.4; color: var(--t3); }

/* the odometer — a dark machined window set into the plate */
.odo {
  position: relative; z-index: 4; margin: -58px 0 0 1.5%; width: min(98.5%, 36rem);
  background: var(--ink); border-radius: var(--r-panel); padding: .75rem .95rem .8rem;
  box-shadow: 0 1px 0 rgba(11, 13, 12, .06), 0 22px 40px -22px rgba(11, 13, 12, .6);
}
.odo::before { content: ""; position: absolute; inset: 5px; border-radius: 17px; border: 1px solid var(--line-d); pointer-events: none; }
.odo__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 24px; }
.odo__head .label { color: var(--d2); white-space: nowrap; }
.odo__tools { display: inline-flex; align-items: center; gap: .4rem; flex: none; }
.odo__tag {
  display: inline-flex; align-items: center; gap: .45rem; height: 24px; padding: 0 .6rem; white-space: nowrap;
  border: 1px solid var(--line-d-2); border-radius: var(--r-pill); font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--d2);
}
.odo__tag i { width: 6px; height: 6px; border-radius: 50%; border: 1.2px solid currentColor; }
.odo__tag[data-state="vesting"] i.rate-tag-dot, .odo__tag[data-state="live"] i.rate-tag-dot { border-color: var(--rate); background: var(--rate); }
.odo__btn {
  height: 24px; padding: 0 .65rem; border-radius: var(--r-pill); cursor: pointer; white-space: nowrap;
  background: transparent; border: 1px solid var(--line-d-2); color: var(--d2); font-family: var(--f-mono); font-size: var(--fs-mono-xs);
}
.odo__btn:hover { color: var(--d1); border-color: var(--d3); }
.odo__btn[hidden] { display: none; }
.odo__row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .6rem; }
.odo__per { flex: none; font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1.4; color: var(--d3); text-align: right; }
/* never cut: the longest line it shows ("harvest landing · rate unchanged at this instant") leaves
   110 px or more of the box free at 761 px and up; past that it would wrap at a space */
.odo__now { margin-top: .5rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1.4; color: var(--d3); }
.odo__now b { font-weight: 500; font-size: .75rem; color: var(--d1); }
.odo__sub::before { content: "\00B7"; padding: 0 .5em; }
.drums {
  --cell: 1.3em;
  position: relative; display: inline-flex; align-items: stretch; gap: 3px;
  font-family: var(--f-mono); font-weight: 500; font-size: clamp(1.35rem, 6.6cqi, 2.25rem); line-height: 1; font-variant-numeric: tabular-nums;
  padding: 5px; flex: none; border-radius: 12px; background: var(--ink-deep); box-shadow: inset 0 0 0 1px var(--line-d);
  transition: opacity .3s var(--ease);
}
.drums.is-dim { opacity: .16; }
.drums__static { padding: 0 .3rem; line-height: var(--cell); }
.drum {
  position: relative; width: .9em; height: var(--cell); overflow: hidden; border-radius: 4px;
  background: linear-gradient(180deg, rgba(6, 8, 7, .95) 0%, rgba(6, 8, 7, 0) 30%, rgba(6, 8, 7, 0) 70%, rgba(6, 8, 7, .95) 100%), var(--ink-3);
}
.drum::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(244, 239, 228, .05); }
.rate-strip { position: absolute; left: 0; right: 0; top: 0; will-change: transform; color: var(--rate); }
.rate-strip span { display: block; height: var(--cell); line-height: var(--cell); text-align: center; }
.drums.is-fast .drum.is-fast-d .rate-strip { filter: blur(1.4px); opacity: .72; }
.drums.is-fast .drum.is-mid-d .rate-strip { filter: blur(.45px); }
.rate-sep { width: .36em; display: flex; align-items: flex-end; justify-content: center; color: var(--rate); padding-bottom: .2em; }
.drums__static.rate-static { color: var(--rate); }
.drum-gap { width: 5px; }
/* the rate rail: time across, rate up; deposits and the harvest leave it flat */
.odo-rail { position: relative; margin-top: .55rem; height: 30px; transition: opacity .3s var(--ease); }
.odo-rail svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.odo-rail__base { stroke: var(--line-d-2); stroke-width: 1; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; fill: none; }
.odo-rail__ev { stroke: var(--line-d-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rate-rail-line { fill: none; stroke: var(--rate); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.rate-rail-area { fill: var(--rate-12); }
.rate-rail-pen { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--rate); box-shadow: 0 0 0 4px var(--rate-24); }
.rate-rail-tick { position: absolute; right: 0; width: 8px; height: 2px; background: var(--rate); opacity: 0; transition: opacity .4s; }
.rate-rail-tick.is-on { opacity: 1; }
.odo-rail__lbls { position: absolute; left: 0; right: 0; top: 100%; margin-top: 3px; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--d3); height: 15px; }
.odo-rail__lbls > span { position: absolute; white-space: nowrap; transform: translateX(-50%); transition: color .3s; }
.odo-rail__lbls > span:first-child, .odo-rail__lbls > span.is-left { transform: none; }
.odo-rail__lbls .m-only { display: none; }
.odo-rail__lbls > span:last-child { transform: translateX(-100%); }
.odo-rail__lbls > span.is-on { color: var(--d1); }
@media (max-width: 400px) {
  /* at 320 (webfont) "deposit" ran 1.4 px into "harvest": a hair tighter, and harvest a hair off its mark */
  .odo-rail__lbls { letter-spacing: -.04em; }
  .odo-rail__lbls > span.is-left { margin-left: .2em; }
}
.odo__cap { margin-top: 1.35rem; padding-top: .5rem; border-top: 1px solid var(--line-d); font-size: var(--fs-mono-s); line-height: 1.45; color: var(--d1); font-weight: 500; }
.odo__prov { margin-top: .2rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1.45; color: var(--d3); }
/* the caption and provenance break only between their "·" parts: never "6 h in / 24 s" */
.odo__cap > span, .odo__prov > span { white-space: nowrap; }

/* ---- live chain strip (ink) ---- */
.live-strip { position: relative; background: var(--ink); border-top: 1px solid var(--line-d); }
.live-strip__in { display: grid; grid-template-columns: 1.1fr 1.15fr 1.5fr .95fr .85fr 1.05fr; }
.lcell { position: relative; min-width: 0; padding: .8rem 1.05rem .85rem; border-left: 1px solid var(--line-d); }
.lcell:first-child { border-left: 0; padding-left: 0; }
.lcell__k { display: block; font-stretch: 125%; font-weight: 600; font-size: .64rem; letter-spacing: .09em; text-transform: uppercase; color: var(--d3); white-space: nowrap; }
.lcell__v { display: flex; align-items: baseline; gap: .4rem; margin-top: .3rem; font-family: var(--f-mono); font-weight: 500; font-size: clamp(1.02rem, 1.3vw, 1.24rem); line-height: 1.25; color: var(--d1); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lcell__v small { font-size: .62em; font-weight: 400; color: var(--d3); }
.lcell__v .val { position: relative; transition: opacity .3s var(--ease); }
.lcell__v .val.is-stale { opacity: .42; }
.lcell__v--words { font-family: var(--f-display); font-size: 1.05rem; font-weight: 650; }
.lcell__s { display: block; margin-top: .2rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1.4; color: var(--d3); }
.lcell__s + .lcell__s { margin-top: 0; }
.lcell--status { display: flex; flex-direction: column; justify-content: center; }
/* Strip sub-lines break only between their "·" parts, the dot ending a line and never starting
   one: each part is one inline box (index.html, stash-live.js setSegs); a part wider than its cell
   still wraps inside itself, so nothing is ever cut. Balanced lines leave no word alone
   ("+64 since you / arrived" at 360 px). */
.live-strip .ls-part { display: inline-block; max-width: 100%; }
.live-strip .lcell__s { text-wrap: balance; }
.live-line { display: flex; align-items: flex-start; gap: .55rem; font-stretch: 112%; font-weight: 600; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--d1); line-height: 1.35; }
.live-dot { position: relative; margin-top: .22em; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--d2); flex: none; }
.live-dot.rate-live { background: var(--rate); border-color: var(--rate); }
.live-dot.rate-live::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--rate); opacity: 0; animation: pulse-ring 1.8s var(--ease) infinite; }
.live-strip[data-mode="down"] .live-dot, .live-strip[data-mode="partial"] .live-dot { border-style: dashed; }
.poll-bar { position: absolute; left: 0; right: 1.05rem; bottom: 0; height: 2px; background: var(--line-d); overflow: hidden; }
.poll-bar i { display: block; height: 100%; background: var(--d3); transform-origin: 0 50%; transform: scaleX(0); }
.blocklane { position: absolute; right: 1.05rem; top: .85rem; display: flex; gap: 2px; height: 12px; width: 40%; align-items: flex-end; justify-content: flex-end; overflow: hidden; }
.blocklane i { flex: none; width: 3px; height: 100%; border-radius: 1px; background: var(--line-d-2); }
.blocklane i.is-new { background: var(--d2); animation: block-in .5s var(--ease) both; }
@keyframes block-in { from { transform: scaleY(0); opacity: 0; } }
.spark { width: 88px; height: 24px; flex: none; overflow: visible; align-self: center; }
.spark polyline { fill: none; stroke: var(--d2); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.spark circle { fill: var(--d1); }
.chain-ok { color: var(--d2); }

/* ---- why this exists ---- */
.why-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.why-card { display: flex; flex-direction: column; padding: 1.15rem 1.15rem 1.3rem; }
.why-card .card__k { margin-top: 1rem; }
.why-card h3 { margin-top: .35rem; }
.why-card .mini { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--surface); border: 1px solid var(--rule); }
.why-card__cost { margin-top: auto; padding-top: 1.1rem; }
.why-card__cost dl { margin: 0; padding-top: .85rem; border-top: 1px solid var(--rule); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem; align-items: baseline; }
.why-card__cost dt { font-stretch: 125%; font-weight: 600; font-size: .62rem; letter-spacing: .09em; text-transform: uppercase; color: var(--fg-3); white-space: nowrap; }
.why-card__cost dd { margin: 0; font-family: var(--f-mono); font-size: var(--fs-mono-s); line-height: 1.5; color: var(--fg); }
.why-card.card--ink { box-shadow: var(--shadow-panel); }
.mini text { font-family: var(--f-display); font-stretch: 125%; font-weight: 600; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; fill: var(--fg-2); }
.mini .m-ln { fill: none; stroke: var(--fg); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.mini .m-ln-2 { fill: none; stroke: var(--fg); stroke-width: .7; stroke-opacity: .5; }
.mini .m-fill { fill: var(--surface); }
.mini .m-ink { fill: var(--fg); }
.mini .m-chip { fill: var(--surface); stroke: var(--fg); stroke-width: 1; }
.m-loop-dot { offset-path: path("M60 40 H220 A20 20 0 0 1 240 60 V80 A20 20 0 0 1 220 100 H60 A20 20 0 0 1 40 80 V60 A20 20 0 0 1 60 40 Z"); offset-rotate: 0deg; animation: m-loop 3.2s linear infinite; }
@keyframes m-loop { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.m-shed { animation: m-shed 3.2s var(--ease) infinite; transform-box: fill-box; }
@keyframes m-shed { 0%, 55% { transform: translate(0, 0); opacity: 0; } 60% { opacity: .8; } 100% { transform: translate(6px, 30px); opacity: 0; } }
.m-pile rect { animation: m-pile 7s var(--ease) infinite; animation-delay: calc(var(--i) * .7s); opacity: 0; transform-box: fill-box; }
@keyframes m-pile { 0% { opacity: 0; transform: translateY(-16px); } 6%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: none; } }
.m-feed { offset-path: path("M268 46 C 232 46, 214 70, 197 70"); animation: m-feed 2.4s linear infinite; animation-delay: calc(var(--i) * .8s); opacity: 0; }
@keyframes m-feed { 0% { offset-distance: 0%; opacity: 0; } 15% { opacity: .95; } 88% { opacity: .95; } 100% { offset-distance: 100%; opacity: 0; } }
.rate-m-gain { fill: var(--rate); offset-path: path("M175 70 C 156 70, 142 70, 128 70"); animation: m-feed 2.4s linear infinite; animation-delay: calc(var(--i) * .8s + 1.1s); opacity: 0; }
.m-wheel { transform-box: view-box; transform-origin: 78px 70px; animation: spin 48s linear infinite; }
.rate-m-band { fill: var(--rate); }
.m-swapring { transform-box: fill-box; transform-origin: center; animation: m-ring .8s var(--ease) infinite; }
@keyframes m-ring { 0% { transform: scale(1); } 20% { transform: scale(1.12); } 100% { transform: scale(1); } }
.is-paused *, .is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }

/* ---- how it works: the step panel ---- */
.flow-panel { padding: clamp(1rem, 2.2vw, 1.6rem); overflow: hidden; isolation: isolate; }
.flow-panel::before { /* faint engraved grid, the drafting board */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}
.flow-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.flow-legend { display: inline-flex; align-items: center; gap: .9rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--d3); flex-wrap: wrap; }
.flow-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.lg { display: inline-block; flex: none; }
.lg-coin { width: 16px; height: 7px; border-radius: 2px; border: 1px solid var(--d2); }
.lg-chip { width: 8px; height: 8px; border-radius: 2px; border: 1px solid var(--d2); }
.rate-lg { width: 8px; height: 8px; border-radius: 50%; background: var(--rate); }
.flow-svg { display: block; width: 100%; height: auto; margin-top: .6rem; overflow: visible; }
.flow-tall { display: none; }
.fp { fill: none; stroke: var(--line-d-2); stroke-width: 1.4; stroke-dasharray: 4 7; animation: march 2.4s linear infinite; transition: stroke .4s, stroke-width .4s; }
.fp.is-on { stroke: var(--d1); stroke-width: 1.8; }
.fp.rate-fp { stroke: var(--rate-24); }
.fp.rate-fp.is-on { stroke: var(--rate); }
.fl { font-family: var(--f-mono); font-size: 12.5px; fill: var(--d3); transition: fill .4s; }
.fl.is-on { fill: var(--d1); }
.fl.rate-fl { fill: var(--rate-60); }
.fl.rate-fl.is-on { fill: var(--rate); }
.fn-bar { fill: var(--ink-3); stroke: var(--line-d-2); stroke-width: 1; transition: stroke .4s; }
.fn.is-on .fn-bar { stroke: var(--d2); }
.fn-box { fill: var(--ink-2); stroke: var(--line-d-2); stroke-width: 1; transition: stroke .4s; }
.fn.is-on .fn-box { stroke: var(--d3); }
.fn-k { font-family: var(--f-display); font-stretch: 125%; font-weight: 600; font-size: 11px; letter-spacing: .12em; fill: var(--d3); }
.fn-t { font-family: var(--f-display); font-stretch: 70%; font-weight: 850; font-size: 19px; letter-spacing: .04em; fill: var(--d3); transition: fill .4s; }
.fn.is-on .fn-t { fill: var(--d1); }
.fn-s { font-family: var(--f-mono); font-size: 11.5px; fill: var(--d3); }
.rate-fn-s { font-family: var(--f-mono); font-size: 11.5px; fill: var(--rate); }
.fn-pill { fill: var(--ink-2); stroke: var(--line-d-2); stroke-width: 1.2; transition: stroke .4s; }
.fn.is-on .fn-pill { stroke: var(--d2); }
.fn-gauge { fill: var(--ink-3); stroke: var(--line-d-2); stroke-width: 1; }
.rate-gauge { fill: var(--rate); transform-box: fill-box; transform-origin: 0 50%; }
.fn-ring { fill: var(--ink-2); stroke: var(--d3); stroke-width: 1.4; transition: stroke .4s; }
.fn.is-on .fn-ring { stroke: var(--d1); }
.fn-pulse { fill: none; stroke: var(--d2); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.fn-arrows { fill: none; stroke: var(--d2); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.fn-chip { fill: none; stroke: var(--d3); stroke-width: 1.2; transition: stroke .4s; }
.fn.is-on .fn-chip { stroke: var(--d1); }
.mw-body { fill: var(--ink-3); stroke: var(--d2); stroke-width: 1; stroke-linejoin: round; }
.mw-ln { fill: none; stroke: var(--d2); stroke-width: .6; stroke-opacity: .5; }
.mw-hub { fill: var(--ink-2); stroke: var(--d2); stroke-width: 1; }
.mw-pawl { fill: none; stroke: var(--d1); stroke-width: 2.2; stroke-linecap: round; }
.mw-spring { fill: none; stroke: var(--line-d-2); stroke-width: 1; }
.rate-mw-band { fill: var(--rate); }
.rate-mw-spring { fill: none; stroke: var(--rate); stroke-width: 3; stroke-linecap: round; }
.rate-mw-dot { fill: var(--rate); }
.tk-coin { fill: var(--ink-4); stroke: var(--d1); stroke-width: 1.3; }
.tk-chip { fill: var(--ink); stroke: var(--d1); stroke-width: 1.4; }
.tk-share { fill: var(--ink-2); stroke: var(--d1); stroke-width: 1.3; }
.tk-ping { fill: var(--d1); }
.rate-tk { fill: var(--rate); }
.rate-tk-glow { fill: var(--rate-24); }
.flow-cap { margin-top: .6rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--d3); }

/* the trace band (three lines per step) */
.trace { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-d); }
.trace__key { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--d2); }
.trace__key span { display: inline-flex; align-items: center; gap: .45rem; }
.tk-solid { width: 22px; height: 0; border-top: 1.6px solid var(--d1); }
.tk-dash { width: 22px; height: 0; border-top: 1.6px dashed var(--d2); }
.rate-tk-line { width: 22px; height: 0; border-top: 2px solid var(--rate); }
.trace__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: .7rem; }
.trace__col { position: relative; border-left: 1px solid var(--line-d); min-width: 0; }
.trace__col:first-child { border-left: 0; }
.trace__col svg { display: block; width: 100%; height: auto; overflow: visible; }
.trace__n { position: absolute; left: 8px; top: 2px; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--d3); transition: color .3s; }
.trace__col.is-on .trace__n { color: var(--d1); }
/* four narrow columns (761-1000): the step's name sits above its drawing, not on it ("02 harvest"
   ran 5.6 px into the note "arrived, still locked" at 770-930, webfont) */
@media (min-width: 761px) and (max-width: 1000px) {
  .trace__n { position: static; display: block; padding: 2px 0 0 8px; }
}
.tr-lane { stroke: var(--line-d); stroke-width: 1; }
.tr-ghost { fill: none; stroke: var(--line-d-2); stroke-width: 1; stroke-dasharray: 2 4; }
.tr-vault { fill: none; stroke: var(--d1); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tr-raw { fill: none; stroke: var(--d2); stroke-width: 1.5; stroke-dasharray: 4 4; }
.rate-tr { fill: none; stroke: var(--rate); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rate-tr-area { fill: var(--rate-12); }
.tr-note { font-family: var(--f-mono); font-size: 11.5px; fill: var(--d2); }
.rate-tr-note { font-family: var(--f-mono); font-size: 11.5px; fill: var(--rate); }
.tr-pen { fill: var(--d1); }
.rate-tr-pen { fill: var(--rate); }
.tr-draw { transition: opacity .5s var(--ease); }
.trace__col:not(.is-done):not(.is-on) .tr-draw { opacity: 0; }
.trace__foot { margin-top: 1rem; font-size: .98rem; color: var(--d1); max-width: 46rem; }

/* step cards */
.steps { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@supports (grid-template-rows: subgrid) {
  .steps { grid-template-rows: repeat(5, auto); }
  .step-card { grid-row: span 5; display: grid; grid-template-rows: subgrid; row-gap: .6rem; align-content: start; }
}
.step-card { display: flex; flex-direction: column; gap: .55rem; cursor: pointer; overflow: hidden; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.step-card:hover { border-color: var(--rule-2); }
.step-card.is-on { background: var(--surface); border-color: var(--ink); box-shadow: var(--shadow-card); }
.step-card__top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.step-card__n { font-stretch: 62%; font-weight: 880; font-size: 2rem; line-height: 1; color: var(--fg-3); transition: color .3s; }
.step-card.is-on .step-card__n { color: var(--fg); }
.step-card h3 { margin-top: 0; }
:where(.step-card) p { margin-top: 0; font-size: .93rem; }
.step-card .sig { margin-top: 0; }
.step-card__params { font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1.6; color: var(--fg-2); border-top: 1px dashed var(--rule-2); padding-top: .6rem; }
.step-prog { position: absolute; left: 0; right: 0; top: 0; height: 3px; overflow: hidden; }
.step-prog i { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }
.step-prog i.rate-prog { background: var(--rate); }
.how-formula { margin-top: 1.5rem; }

/* ---- the share rate (live) ---- */
.rate-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.rate-card { padding: clamp(1.25rem, 2.6vw, 1.9rem); }
.rate-card__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; }
.rate-card__k { font-family: var(--f-mono); font-size: var(--fs-mono-s); color: var(--d3); }
.rate-value {
  display: block; margin-top: 1.1rem; font-family: var(--f-mono); font-weight: 500; font-variant-numeric: tabular-nums;
  font-size: clamp(2.3rem, 5.4vw, 4.2rem); line-height: 1; letter-spacing: -.02em; color: var(--rate); overflow-wrap: anywhere;
}
.rate-state { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--f-mono); font-size: var(--fs-mono-s); color: var(--d2); }
.rate-card__sub { margin-top: .6rem; font-family: var(--f-mono); font-size: var(--fs-mono-s); color: var(--d3); }
.stair { margin-top: 1.3rem; }
.stair svg { display: block; width: 100%; }
.stair-grid { stroke: var(--line-d-2); stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; fill: none; }
.stair-line { fill: none; stroke: var(--d1); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.rate-now { fill: none; stroke: var(--rate); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.rate-stair-area { fill: var(--rate-12); }
.stair-axis { display: flex; justify-content: space-between; margin-top: .45rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--d3); }
.rate-card__note { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line-d); font-size: .9rem; color: var(--d2); }
.moves td:nth-child(2), .moves td:nth-child(3) { white-space: nowrap; }
.mv { display: inline-flex; align-items: center; gap: .4rem; }
.mv i { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--rule-2); font-style: normal; font-size: .7rem; line-height: 1; color: var(--fg); }
.rate-mv-up i { background: var(--rate); border-color: var(--rate); color: var(--ink); }
.moves__note { margin-top: 1rem; font-size: .92rem; color: var(--fg-2); }

/* ---- why it vests (ink band) ---- */
.vest-band { overflow: hidden; }
.vest-band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.vest-band .h2 { color: var(--d1); }
.vest-band .prose { color: var(--d2); }
.vest-band .prose b { color: var(--d1); }
.scenario { margin-top: 1.6rem; padding: 1rem 1.1rem; border: 1px solid var(--line-d-2); border-radius: var(--r-card); background: var(--ink-2); font-size: .95rem; color: var(--d2); }
.scenario .label { display: block; margin-bottom: .45rem; color: var(--d3); }
.bars { display: grid; gap: 2.2rem; }
.bar-row__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.bar-row__head h3 { font-size: 1.15rem; color: var(--d1); }
.bar-row__big { font-family: var(--f-mono); font-weight: 500; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1; color: var(--d1); font-variant-numeric: tabular-nums; margin-top: .9rem; }
.bar-row__big small { font-size: .45em; color: var(--d3); font-weight: 400; margin-left: .3em; }
.bar { position: relative; display: flex; height: 38px; margin-top: .8rem; border-radius: 6px; overflow: hidden; background: var(--ink-3); border: 1px solid var(--line-d); }
.bar__seg { height: 100%; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.is-in .bar__seg { transform: scaleX(1); }
.bar__keeper { background: repeating-linear-gradient(-45deg, rgba(244, 239, 228, .82) 0 6px, rgba(244, 239, 228, .62) 6px 9px); }
.rate-bar-seg { background: var(--rate); transition-delay: .5s; }
.rate-bar-seg.is-after { background: repeating-linear-gradient(90deg, var(--rate) 0 2px, var(--rate-60) 2px 4px); }
.bar-row__legend { display: flex; justify-content: space-between; gap: 1rem; margin-top: .55rem; font-family: var(--f-mono); font-size: var(--fs-mono-s); color: var(--d2); flex-wrap: wrap; }
.prov, .bar-row__prov { margin-top: .5rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1.5; color: var(--fg-3); }
.prov::before, .bar-row__prov::before { content: "source · "; }

/* ---- safeguards ---- */
.guards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.guard { display: flex; flex-direction: column; }
.guard__v { color: var(--fg); font-stretch: 62%; font-weight: 880; font-size: 2.6rem; line-height: 1; letter-spacing: -.005em; }
.guard__v small { font-size: .45em; font-weight: 700; margin-left: .1em; }
.guard h3 { margin-top: .75rem; font-size: 1.2rem; }
:where(.guard) p { margin-top: .5rem; font-size: .93rem; }
.guard__const { margin-top: auto; padding-top: 1rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); line-height: 1.55; color: var(--fg-3); overflow-wrap: anywhere; }
.guard__const::before { content: ""; display: block; height: 1px; background: var(--rule); margin-bottom: .7rem; }
.not-protect { margin-top: 1.5rem; }
.not-protect ul { margin: .9rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 2rem; }
.not-protect li { position: relative; padding-left: 1.15rem; color: var(--fg-2); font-size: .95rem; }
.not-protect li::before { content: "\00d7"; position: absolute; left: 0; top: 0; font-family: var(--f-mono); color: var(--fg); }
.not-protect li b { color: var(--fg); font-weight: 600; }

/* ---- listing rules ---- */
.listing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.sources { display: grid; gap: 1rem; }
.source { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem 1rem; align-items: start; }
.source__tag { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--paper); font-stretch: 62%; font-weight: 900; font-size: 1.5rem; }
.source h3 { font-size: 1.15rem; margin: 0; }
:where(.source) p { margin: 0; }
.payouts { padding: clamp(1.1rem, 2.4vw, 1.6rem); }
.payouts__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.payouts__count { font-family: var(--f-mono); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.payouts__count small { font-size: .5em; color: var(--fg-3); }
.squares { display: grid; grid-template-columns: repeat(10, minmax(0, 34px)); gap: 8px; margin-top: 1.1rem; }
.sq { aspect-ratio: 1; border-radius: 5px; border: 1.3px solid var(--line-2); background: var(--paper); position: relative; }
.sq::after { content: ""; position: absolute; inset: 6px; border-radius: 2px; background: var(--ink); transform: scale(0); transition: transform .45s var(--ease); transition-delay: calc(var(--i) * 110ms + 300ms); }
.is-in .sq::after { transform: scale(1); }
.payouts__rules { margin-top: 1.2rem; display: grid; gap: .6rem; }
.payouts__rule { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .7rem; font-size: .93rem; color: var(--fg-2); }
.payouts__rule b { color: var(--fg); font-weight: 600; }
.payouts__rule::before { content: "\00d7"; font-family: var(--f-mono); color: var(--fg); }

/* ---- vaults + launch checklist ---- */
.vaults-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.vaults-card { display: flex; flex-direction: column; }
.vaults-ghost { display: grid; grid-template-columns: 1.1fr 1fr 1fr .6fr .8fr 1fr; gap: .5rem; padding: .7rem 0 .6rem; border-bottom: 1px solid var(--rule-2); font-stretch: 125%; font-weight: 600; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.vaults-ghost span { white-space: nowrap; }
.vaults-card:has(.ledger) .vaults-ghost, .vaults-card:has(.ledger) .vaults-slots { display: none; }
.vaults-slots { display: grid; gap: 6px; margin-top: .75rem; }
.vaults-slots i { display: block; height: 30px; border-radius: 6px; border: 1px dashed var(--rule-2); background: repeating-linear-gradient(-45deg, transparent 0 7px, var(--line) 7px 8px); }
.vaults-slots i:nth-child(2) { opacity: .6; } .vaults-slots i:nth-child(3) { opacity: .3; }
.vaults-mount { margin-top: 1rem; }
.vaults-mount > .pending { font-size: .95rem; line-height: 1.6; color: var(--fg-2); }
.vaults-mount > .pending a { color: var(--fg); font-weight: 600; }
.checklist { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0; counter-reset: chk; }
.checklist li { counter-increment: chk; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: .15rem .85rem; padding: .9rem 0; border-top: 1px solid var(--rule); }
.checklist li::before {
  content: counter(chk); grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1.3px dashed var(--fg-3); font-family: var(--f-mono); font-size: .72rem; color: var(--fg-2);
}
.checklist li[data-state="done"]::before { content: "\2713"; border-style: solid; border-color: var(--ink); background: var(--ink); color: var(--paper); }
.checklist b { font-weight: 650; font-size: 1rem; }
.checklist__v { font-family: var(--f-mono); font-size: var(--fs-mono-s); color: var(--fg-3); overflow-wrap: anywhere; }
.checklist__v a { color: var(--fg); }

/* ---- built to be checked ---- */
.checked { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1rem; }
.terminal { display: flex; flex-direction: column; background: var(--ink); color: var(--d1); border-radius: var(--r-panel); padding: clamp(1.1rem, 2.4vw, 1.6rem); box-shadow: var(--shadow-panel); }
.terminal__bar { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--d3); padding-bottom: .8rem; border-bottom: 1px solid var(--line-d); }
.terminal pre { margin: 1rem 0 0; font-family: var(--f-mono); font-size: var(--fs-mono-s); line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--d2); }
.terminal pre b { color: var(--d1); font-weight: 600; }
.terminal .terminal__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line-d); }
.vest-band__prose { margin-top: 1.25rem; }
/* bars are placed absolutely so their % heights always resolve against the grown box */
.suites { position: relative; flex: 1 1 auto; min-height: 96px; margin-top: 1.4rem; }
.suites i { position: absolute; bottom: 0; left: calc(var(--i) * ((100% - 60px) / 16 + 4px)); width: calc((100% - 60px) / 16); background: var(--d2); border-radius: 2px 2px 0 0; height: calc(var(--n) * 100% / 49); transform-origin: 50% 100%; transform: scaleY(0); transition: transform .8s var(--ease); transition-delay: calc(var(--i) * 45ms + 200ms); }
.is-in .suites i { transform: scaleY(1); }
.suites-cap { display: flex; flex-wrap: wrap; gap: .25rem 1rem; justify-content: space-between; margin-top: .5rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--d3); }
.checked__side { display: grid; gap: 1rem; align-content: start; }
.proof-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-decoration: none; }
.proof-link h3 { margin: 0; }
.proof-link__arr { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rule-2); transition: transform .3s var(--ease), background-color .3s, color .3s; }
.proof-link:hover .proof-link__arr { transform: translateX(3px); background: var(--ink); color: var(--paper); }
.dump { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: .9rem; }
.dump div { border-top: 1px solid var(--rule-2); padding-top: .55rem; }
.dump b { display: block; font-family: var(--f-mono); font-weight: 500; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.dump span { display: block; font-size: .78rem; color: var(--fg-3); line-height: 1.35; margin-top: .2rem; }

/* ---- FAQ ---- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.faq-layout .sec-head { margin: 0; grid-template-columns: minmax(0, 1fr); position: sticky; top: calc(var(--hdr-h) + 2rem); }

/* ---- closing CTA ---- */
.cta-band { position: relative; overflow: hidden; }
.cta-band__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: end; }
.cta-band .h-display { color: var(--d1); font-size: clamp(3rem, 7.5vw, 6.6rem); }
.cta-band .tagline { color: var(--d1); margin-top: 1rem; }
.cta-band__side { display: grid; gap: 1rem; justify-items: start; }
.cta-band__side p { color: var(--d2); }
.cta-mark { position: absolute; right: -150px; top: 50%; margin-top: -210px; width: 420px; height: 420px; opacity: .08; pointer-events: none; }
.cta-mark { animation: spin 200s linear infinite; }
.cta-mark path, .cta-mark circle { fill: none; stroke: var(--d1); stroke-width: 1.2; }

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (min-width: 1024px) {
  .hero { min-height: calc(100svh - var(--hdr-h)); }
  .plate { width: min(100%, max(500px, calc((100svh - 462px) * 1.2))); }
}
@media (max-width: 1180px) {
  .live-strip__in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lcell { border-top: 1px solid var(--line-d); }
  .lcell:nth-child(3n+1) { border-left: 0; padding-left: 0; }
  .lcell:nth-child(-n+3) { border-top: 0; }
  .poll-bar { right: 0; }
}
@media (max-width: 1060px) {
  .site-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .sec-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vest-band__grid, .rate-layout, .listing, .checked, .vaults-layout, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-layout .sec-head { position: static; }
  .why-cards { grid-template-columns: minmax(0, 1fr); max-width: 42rem; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc__toc { position: static; max-height: none; border: 1px solid var(--rule); border-radius: var(--r-card); padding: .8rem 1rem; }
  .doc__toc > summary { display: flex; cursor: pointer; font-weight: 600; }
  .site-footer__top { grid-template-columns: minmax(0, 1fr); }
  .cta-band__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { padding-left: 0; }
  .plate { max-width: 44rem; margin-inline: auto; }
}
@media (max-width: 760px) {
  .flow-wide { display: none; }
  .flow-tall { display: block; max-width: 440px; margin-inline: auto; }
  .flow-legend { display: none; }
  .tabs.flow-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; gap: .3rem; }
  .flow-tabs .tab { padding: 0; justify-content: center; flex-direction: column; align-items: center; gap: 0; height: 48px; line-height: 1.2; border-radius: 12px; }
  .flow-tabs .tab__bar { left: 10px; right: 10px; }
  .trace__cols { grid-template-columns: minmax(0, 1fr); }
  .trace__col { border-left: 0; display: none; }
  .trace__col.is-on { display: block; }
  .not-protect ul { grid-template-columns: minmax(0, 1fr); }
  .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .grid--2, .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  :root { --hdr-h: 60px; }
  .brand { font-size: 1.4rem; gap: .45rem; }
  .brand-icon { width: 21px; height: 21px; }
  .site-header__in { gap: .5rem; }
  .site-header__end { gap: .4rem; }
  .status-pill { height: 30px; padding: 0 .6rem; gap: .4rem; font-size: .58rem; letter-spacing: .07em; }
  .site-header__end .btn--sm { height: 32px; padding: 0 .8rem; font-size: .8rem; }
  .menu-btn { width: 34px; height: 34px; }
  .hero::before { display: none; }
  /* phones: headline, tagline and a CTA first; the plate right after */
  .hero__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-top: 1.35rem; padding-bottom: 1.5rem; }
  .hero__copy { display: contents; }
  .hero__copy > .eyebrow { order: 1; margin-bottom: .8rem; font-stretch: 110%; letter-spacing: .05em; }
  .hero__h1 { order: 2; font-size: clamp(2.3rem, 11.2vw, 2.9rem); }
  .hero__lede--m { display: block; order: 3; margin-top: .75rem; font-size: 1rem; }
  .hero__lede--d { display: none; }
  .hero__tag { order: 4; margin-top: .85rem; }
  .hero__tag .tagline { font-size: 1.7rem; }
  .hero__ctas { order: 5; margin-top: 1rem; }
  .hero__ctas .btn { height: 44px; padding: 0 1.1rem; }
  .plate { order: 6; margin-top: 1.25rem; }
  .hero__stats { order: 7; }
  .hero__lede-after { order: 8; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.25rem; }
  .plabel.is-opt, .lead.is-opt, .lead-dot.is-opt { display: none; }
  .plabel i { display: none; }
  .plate-cap { flex-direction: column; gap: .2rem; }
  .odo { margin: -18px 0 0; width: 100%; border-radius: 18px; padding: .85rem .8rem .9rem; }
  .odo__unit { display: none; }
  .drums { gap: 2px; padding: 4px; font-size: clamp(1.15rem, 7vw, 1.75rem); }
  .odo__per { display: none; }
  .odo__now b, .odo__sub { display: block; }
  .odo__sub::before { content: none; }
  .drum { width: .88em; }
  .drum-gap { width: 3px; }
  .live-strip__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* phones: status and price span the row; then block | gas, chain | factory */
  .lcell, .lcell:nth-child(n) { padding: .8rem 0 .85rem; border-left: 0; border-top: 1px solid var(--line-d); }
  .lcell--gas, .lcell--factory, .lcell--gas:nth-child(n), .lcell--factory:nth-child(n) { border-left: 1px solid var(--line-d); padding-left: .85rem; }
  .lcell--status, .lcell--price { grid-column: 1 / -1; }
  .lcell--status { border-top: 0; order: -2; }
  .lcell--price { order: -1; }
  .blocklane { right: .9rem; width: 30%; }
  .odo-rail__lbls .d-only { display: none; }
  .odo-rail__lbls .m-only { display: inline; }
  /* phones: each row becomes the event, then its two effects side by side */
  .moves thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .moves, .moves tbody { display: block; }
  .moves tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--rule); }
  .moves tr:first-child { border-top: 1px solid var(--rule-2); }
  .moves td { display: block; padding: 0; border: 0; }
  .moves td:first-child { grid-column: 1 / -1; margin-bottom: .55rem; }
  .moves td:nth-child(2), .moves td:nth-child(3) { white-space: normal; }
  .moves td:nth-child(2)::before, .moves td:nth-child(3)::before {
    display: block; margin-bottom: .35rem; font-family: var(--f-display); font-stretch: 125%; font-weight: 600;
    font-size: var(--fs-mono-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3);
  }
  .moves td:nth-child(2)::before { content: "Coin in the vault"; }
  .moves td:nth-child(3)::before { content: "Share rate"; }
  .mv { align-items: flex-start; }
  .mv i { flex: none; }
  .flow-tabs .tab__t { font-stretch: 100%; letter-spacing: .04em; font-size: var(--fs-mono-xs); }
  .flow-tall .fn-s, .flow-tall .rate-fn-s { font-size: 12.5px; }
  .flow-tall .fn-k { font-size: 12px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .guards { grid-template-columns: minmax(0, 1fr); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .squares { gap: 4px; }
  .dump { grid-template-columns: minmax(0, 1fr); }
  .vaults-ghost { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vaults-ghost span:nth-child(n+4) { display: none; }
  .formula code { font-size: var(--fs-mono-s); }
}
@media (max-width: 380px) {
  .status-pill .status-dot { display: none; }
  .status-pill { padding: 0 .55rem; }
  .brand-word { font-size: 1.3rem; }
}
/* Phones: the header keeps its longest pill, "On chain · 4663" ("· 46630" on the testnet), on one
   line next to "Open app" and the menu button, inside the 16 px gutter. With the stage-1 spacing it
   ran 20 px past the gutter and 4 px past a 360 px screen. */
@media (max-width: 420px) {
  .site-header__in { gap: .35rem; }
  .site-header__end { gap: .3rem; }
  .status-pill { padding: 0 .45rem; letter-spacing: .03em; }
  .site-header__end .btn--sm { padding: 0 .6rem; }
}
@media (max-width: 380px) {
  .status-pill[data-state="on"] { letter-spacing: 0; }
  .site-header__end .btn--sm { padding: 0 .5rem; }
}
/* 320 px screens: nothing may push the page sideways. The header pill gives way (its text ends in
   an ellipsis) before the row can run past the screen, e.g. while the fallback font is still on;
   chips and pills with long labels wrap inside themselves instead of running past their card. */
@media (max-width: 360px) {
  .site-header__in { padding-inline: .75rem; }
  .brand { gap: .35rem; }
  .brand-word { font-size: 1.2rem; }
  .status-pill { padding: 0 .4rem; letter-spacing: .02em; }
  .site-header__end .btn--sm { padding: 0 .45rem; }
  .site-header__end, .status-pill, .status-pill > span { min-width: 0; }
  /* the pill's label is never cut: tighter spacing lets "Pre-launch" fit on one line in the webfont
     and the fallback font; a longer label ("On chain · 46630") wraps to two lines inside the pill */
  .site-header__end { gap: .25rem; }
  .status-pill { letter-spacing: 0; white-space: normal; }
  .status-pill > span { line-height: 1.1; text-align: center; }
  .site-header__end .btn--sm { padding: 0 .4rem; }
  .illus-chip, .pill { max-width: 100%; height: auto; min-height: 22px; padding-block: .2rem; white-space: normal; line-height: 1.3; }
  .pill { min-height: 24px; }
  .illus-chip { flex-wrap: wrap; column-gap: .45rem; row-gap: 0; }
  .formula code { min-width: 0; }
  .formula code > span { white-space: normal; }
  /* the replay line, "the same test run, from the deposit", ran 8 px past the odometer at 320 px in
     Martian Mono; at 10 px it keeps 16 px or more free on every phone */
  .odo__sub { font-size: 10px; }
}

/* =============================================================================
   REDUCED MOTION — final states, no loops
   ============================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-rise], .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .draw { stroke-dasharray: none; stroke-dashoffset: 0; animation: none !important; }
  .js .ink-in { opacity: 1; animation: none !important; }
  .js .site-header { animation: none; }
  .status-dot.rate-live::after, .rate-dot--live::after, .live-dot.rate-live::after,
  .fp, .m-loop-dot, .m-shed, .m-pile rect, .m-feed, .rate-m-gain, .m-wheel, .m-swapring,
  .blocklane i.is-new, .cta-mark, .rate-flash::after, .flash-quiet::after, .site-sheet, .acc[open] .acc__a,
  .progress li::before { animation: none !important; }
  .m-pile rect { opacity: 1; }
  .m-loop-dot { offset-distance: 30%; }
  .m-feed, .rate-m-gain { opacity: 0; }
  .rate-flash::after, .flash-quiet::after { opacity: 0; }
  .bar__seg, .sq::after, .suites i { transition: none !important; transform: none !important; }
  .drums.is-fast .drum .rate-strip { filter: none; opacity: 1; }
  .card--hover:hover, .btn:active { transform: none; }
}

/* =============================================================================
   HOME ADDITIONS (stage 2, home fixer) — new home-page components only.
   Nothing above is renamed or removed; every selector here is new.
   ============================================================================= */

/* ---- vesting explorer (index #rate): the dry run, second by second ---- */
.vx { margin-top: clamp(1.5rem, 3vw, 2.5rem); padding: clamp(1.1rem, 2.6vw, 2rem); border-radius: var(--r-panel); }
.vx__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: .75rem clamp(1.5rem, 4vw, 3.5rem); align-items: end; padding-bottom: 1.25rem; border-bottom: 1px solid var(--rule); }
.vx__head .label { display: block; margin-bottom: .55rem; }
.vx__h { font-size: clamp(1.35rem, 2.2vw, 1.75rem); text-wrap: balance; }
.vx__lede { font-size: .95rem; color: var(--fg-2); max-width: 58ch; }
.vx__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 19rem); gap: clamp(1.25rem, 3vw, 2.25rem); margin-top: 1.5rem; align-items: stretch; }
.vx__fig { margin: 0; min-width: 0; }
.vx__plot { position: relative; height: clamp(210px, 26vw, 300px); margin-left: 3.4rem; border-left: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); }
.vx__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; display: block; }
.vx-grid { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 2 5; vector-effect: non-scaling-stroke; }
.vx-harvest { stroke: var(--fg-3); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.vx-hatch-ln { stroke: var(--ink); stroke-width: 1; stroke-opacity: .38; }
.vx-locked { fill: url(#vx-hatch); stroke: none; }
.rate-vx-area { fill: var(--rate-60); stroke: none; }
.vx-raw { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.vx-ghost { fill: none; stroke: var(--fg-3); stroke-width: 1; stroke-dasharray: 1 4; vector-effect: non-scaling-stroke; }
.vx-ta { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.vx-cursor { stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.vx-bracket { stroke: var(--ink); stroke-width: 3; vector-effect: non-scaling-stroke; }
.vx-dot { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--ink); pointer-events: none; }
.vx-ylab { position: absolute; right: 100%; margin-right: .5rem; transform: translateY(-50%); font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--fg-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.vx-tag { position: absolute; transform: translateY(-140%); font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--fg-2); white-space: nowrap; background: var(--paper); padding: 1px 5px; border-radius: 3px; }
.vx-tag--ta { transform: translate(-100%, 40%); }
/* the rawAssets() tag starts 12.5% in: on a phone plot its one line ran 8.6 px past the card's
   edge (320, webfont), so it may wrap, between its words, inside the plot's width */
.vx-tag--raw { max-width: 87.5%; white-space: normal; }
.vx__xlabs { position: relative; height: 1.4rem; margin: .45rem 0 0 3.4rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--fg-3); }
.vx__xlabs span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.vx__xlabs span:last-child { transform: translateX(-100%); }
.vx__xlabs span:first-child { color: var(--fg); }
.vx__ctl { display: flex; align-items: center; gap: .9rem; margin: .9rem 0 0 3.4rem; }
.vx__play { flex: none; min-width: 5.2rem; height: 44px; padding: 0 1.1rem; border-radius: var(--r-pill); border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-family: var(--f-mono); font-size: var(--fs-mono-s); cursor: pointer; transition: transform var(--dur-fast) var(--ease); }
.vx__play:active { transform: scale(.98); }
.vx__play:focus-visible, .vx__range:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.vx__range { flex: 1 1 auto; min-width: 0; height: 44px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.vx__range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: var(--paper-4); }
.vx__range::-moz-range-track { height: 4px; border-radius: 2px; background: var(--paper-4); }
.vx__range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); box-shadow: var(--shadow-card); }
.vx__range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.vx__time { flex: none; min-width: 12.5rem; font-family: var(--f-mono); font-size: var(--fs-mono-s); color: var(--fg); font-variant-numeric: tabular-nums; }
.vx__key { display: flex; flex-wrap: wrap; gap: .45rem 1.2rem; margin: 1rem 0 0 3.4rem; font-family: var(--f-mono); font-size: var(--fs-mono-xs); color: var(--fg-2); }
.vx__key span { display: inline-flex; align-items: center; gap: .45rem; }
.vx__key .vx__axis { color: var(--fg-3); margin-left: auto; }
.vx-k { display: inline-block; width: 18px; height: 10px; border-radius: 2px; }
.vx-k--ta { height: 0; border-top: 2.5px solid var(--ink); }
.vx-k--raw { height: 0; border-top: 1.5px dashed var(--ink); }
.rate-vx-k { background: var(--rate-60); }
.vx-k--locked { background: repeating-linear-gradient(45deg, rgba(11,13,12,.45) 0 1px, transparent 1px 4px); border: 1px solid var(--rule-2); }
/* the readout: an ink panel, like the hero's odometer */
.vx__read { margin: 0; display: grid; grid-template-columns: 1fr; align-content: start; background: var(--ink); color: var(--d1); border-radius: var(--r-card); padding: .4rem 1.2rem; box-shadow: var(--shadow-card); }
.vx__cell { display: grid; gap: .3rem; padding: .85rem 0; border-bottom: 1px solid var(--line-d); }
.vx__cell:last-child { border-bottom: 0; }
.vx__cell dt { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; font-family: var(--f-display); font-stretch: 125%; font-weight: 600; font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; color: var(--d2); }
.vx__cell dt small { font-family: var(--f-mono); font-stretch: 100%; font-weight: 400; letter-spacing: 0; text-transform: none; font-size: var(--fs-mono-xs); color: var(--d3); }
.vx__cell dd { margin: 0; font-family: var(--f-mono); font-size: 1.05rem; font-variant-numeric: tabular-nums; color: var(--d1); white-space: nowrap; }
.vx__cell--rate dd { font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.15; }
.vx__rate { padding: .06em .3em; border-radius: 4px; }
.vx__cap { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: .9rem; color: var(--fg); }
.vx__prov { margin-top: .3rem; font-family: var(--f-mono); font-size: var(--fs-mono-s); color: var(--fg-3); }
.vx__cap span, .vx__prov span { white-space: nowrap; }
@media (max-width: 1023px) {
  .vx__head { grid-template-columns: 1fr; align-items: start; }
  .vx__grid { grid-template-columns: 1fr; }
  .vx__read { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.2rem; }
  .vx__cell--rate { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .vx__plot, .vx__xlabs, .vx__ctl, .vx__key { margin-left: 2.9rem; }
  .vx__ctl { flex-wrap: wrap; gap: .4rem .75rem; }
  .vx__range { flex: 1 1 8rem; }
  .vx__read { grid-template-columns: 1fr; padding: .2rem 1rem; }
  /* label and value side by side while both fit; else the value drops under its label (a
     minmax(0, 1fr) label column let "totalSupply() · sUSDG" run under "10,000.000000000" at 320-370) */
  .vx__cell { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .3rem .75rem; padding: .7rem 0; }
  .vx__cell dt { flex: 1 1 0; min-width: min-content; }
  .vx__cell--rate { display: grid; grid-template-columns: 1fr; }
  .vx__time { min-width: 0; flex-basis: 100%; }
  .vx__key { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem .75rem; }
  .vx__key .vx__axis { margin-left: 0; grid-column: 1 / -1; }
  .vx__xlabs span:nth-child(even) { display: none; }
  .vx__cap span, .vx__prov span { white-space: normal; }
  .vx__cell dd { font-size: .95rem; }
}
