/* TOLL. Paper, ink, one toll-yellow accent. Hairlines, no shadows, no gradients. */
:root {
  --paper: #f3efe4;
  --paper-2: #e8e3d4;
  --paper-3: #ddd7c6;
  --ink: #16150f;
  --ink-2: #5b584e;
  --ink-3: #9b968a;
  --rule: #16150f;
  --toll: #f2b900;
  --sans: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --gutter: 24px;
  --max: 1320px;
}
@media (max-width: 640px) { :root { --gutter: 16px; } }

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 15px; line-height: 1.5; background: var(--paper);
  font-feature-settings: "ss01", "tnum";
}
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
code, pre, kbd, .mono { font-family: var(--mono); font-size: 13px; }
pre { margin: 0; white-space: pre; overflow-x: auto; line-height: 1.5; }
button, input, select, textarea { font: inherit; color: inherit; }
img, canvas, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.05; }
p { margin: 0; }
small { font-size: 13px; }
::selection { background: var(--toll); color: var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.hz { background: repeating-linear-gradient(135deg, var(--toll) 0 8px, var(--ink) 8px 16px); }
.rule { height: 1px; background: var(--rule); }
.mute { color: var(--ink-2); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- top bar ---------- */
.top { border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 20; background: var(--paper); }
.top-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--toll); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 54px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--cond); font-weight: 700; font-size: 24px; letter-spacing: 0.04em; text-transform: uppercase; }
.wordmark .hz { width: 22px; height: 12px; }
.nav { display: flex; gap: 22px; margin-left: auto; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.nav a:hover { border-bottom-color: var(--ink); }
.nav a.solid { background: var(--ink); color: var(--paper); padding: 6px 12px; border: 0; }
.nav a.solid:hover { background: var(--ink-2); }
@media (max-width: 760px) { .nav { gap: 14px; } .nav .hide-m { display: none; } }

/* ---------- buttons, fields ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--paper); border: 0;
  padding: 0 18px 0 0; height: 44px; font-family: var(--cond); font-weight: 600; font-size: 19px; letter-spacing: 0.03em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
}
.btn::before { content: ""; display: block; width: 14px; height: 44px; background: repeating-linear-gradient(135deg, var(--toll) 0 7px, var(--ink) 7px 14px); margin-right: 6px; }
.btn:hover { background: #2a2820; }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn.line { background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 0 16px; }
.btn.line::before { display: none; }
.btn.line:hover { background: var(--paper-2); }
.btn.small { height: 32px; font-size: 15px; padding: 0 12px; }
.btn.small::before { display: none; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-2); }
.field input, .field select {
  background: var(--paper); border: 1px solid var(--ink); padding: 9px 10px; font-family: var(--mono); font-size: 14px; width: 100%; border-radius: 0;
}
.field input:focus, .field select:focus { outline: 2px solid var(--toll); outline-offset: -1px; }
.field .hint { font-size: 13px; color: var(--ink-2); }
.err { color: #9c2a12; font-family: var(--mono); font-size: 13px; }
.ok { font-family: var(--mono); font-size: 13px; }

/* ---------- section scaffolding ---------- */
.sec { border-top: 1px solid var(--rule); padding: 44px 0 56px; }
.sec-head { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline; margin-bottom: 28px; }
.sec-head .no { font-family: var(--mono); font-size: 12px; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.06em; }
.sec-head h2 { font-family: var(--cond); font-size: 34px; font-weight: 600; letter-spacing: 0.01em; }
.sec-head .lede { grid-column: 2; max-width: 620px; color: var(--ink-2); margin-top: 6px; }
@media (max-width: 760px) { .sec { padding: 32px 0 40px; } .sec-head { grid-template-columns: 1fr; gap: 6px; } .sec-head .lede { grid-column: 1; } .sec-head h2 { font-size: 28px; } }

/* ---------- hero ---------- */
.hero { padding-top: 34px; }
.hero-text { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; padding-bottom: 22px; }
.hero h1 { font-family: var(--cond); font-weight: 700; font-size: clamp(42px, 6.2vw, 92px); line-height: 0.92; letter-spacing: -0.005em; text-transform: uppercase; max-width: 12ch; }
.hero h1 em { font-style: normal; background: var(--toll); padding: 0 0.08em; }
.hero-side { display: grid; gap: 14px; max-width: 460px; font-size: 16px; }
.hero-side p { color: var(--ink); }
.hero-cta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.hero-stage { position: relative; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.hero-foot { display: grid; grid-template-columns: 1fr auto; gap: 16px; font-family: var(--mono); font-size: 12px; padding: 10px 0; color: var(--ink-2); align-items: center; }
.hero-foot #exchange { color: var(--ink); min-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-foot .key { display: flex; gap: 16px; }
.hero-foot .key i { display: inline-block; width: 10px; height: 10px; vertical-align: -1px; margin-right: 5px; }
@media (max-width: 760px) {
  .hero { padding-top: 22px; }
  .hero-text { grid-template-columns: 1fr; gap: 16px; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-foot .key { display: none; }
}

.hero-stage .crawl-stage { height: clamp(540px, 46vw, 700px); }

/* ---------- crawl stages: a black screen set into the paper, one story at a time ---------- */
.crawl-stage { position: relative; background: #0a0a0c; color: #e4e1d8; overflow: hidden; cursor: crosshair; touch-action: pan-y; }
.crawl-stage .crawl-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
/* beats: the three captions of the story, lit in the crawler's colour as each happens */
.crawl-stage .beats { position: absolute; left: 48px; top: 22px; right: 48px; margin: 0; padding: 0; list-style: none; display: flex; gap: 28px; z-index: 2; font-family: var(--cond); font-weight: 600; font-size: 27px; line-height: 1; text-transform: uppercase; letter-spacing: 0.02em; color: #4f4d46; }
.crawl-stage .beats li { display: flex; align-items: center; gap: 10px; padding-bottom: 6px; border-bottom: 3px solid transparent; transition: color 0.25s, border-color 0.25s; }
.crawl-stage .beats li b { font-family: var(--mono); font-weight: 500; font-size: 14px; border: 1px solid currentColor; padding: 3px 7px 2px; line-height: 1.1; }
.crawl-stage .beats li.on { color: var(--c, #f2b900); border-bottom-color: var(--c, #f2b900); }
.crawl-stage .beats li.done { color: #8a877d; }
/* the site owner's wallet: large, labelled, with a balance that counts up */
.crawl-stage .wallet { position: absolute; left: 48px; top: 118px; width: min(310px, 30%); border: 2px solid #4a4842; background: #0a0a0c; padding: 16px 18px 14px; z-index: 2; transition: border-color 0.3s; }
.crawl-stage .wallet.lit { border-color: var(--c, #f2b900); }
.crawl-stage .wallet .wl { font-family: var(--cond); font-weight: 600; font-size: 23px; line-height: 1; text-transform: uppercase; color: #f4f1e8; }
.crawl-stage .wallet .wb { font-family: var(--mono); font-weight: 500; font-size: 36px; line-height: 1; color: #f2b900; margin: 12px 0 6px; font-variant-numeric: tabular-nums; }
.crawl-stage .wallet .wb small { font-size: 16px; margin-left: 6px; }
.crawl-stage .wallet .ws { font-family: var(--mono); font-size: 11px; line-height: 1.4; color: #8a877d; text-transform: uppercase; letter-spacing: 0.05em; }
/* the page being crawled: a window with a real article */
.crawl-stage .page { position: absolute; left: 42%; right: 48px; top: 78px; bottom: 26px; z-index: 1; border: 1px solid #3a3933; background: #0a0a0c; padding: 0 28px 20px; font-size: 15px; line-height: 1.55; overflow: hidden; }
.crawl-stage .page .bar { height: 30px; margin: 0 -28px 16px; border-bottom: 1px solid #3a3933; display: flex; align-items: center; gap: 7px; padding: 0 14px; font-family: var(--mono); font-size: 11px; color: #8a877d; text-transform: uppercase; letter-spacing: 0.05em; }
.crawl-stage .page .bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3933; }
.crawl-stage .page .bar span { margin-left: 8px; }
.crawl-stage .page a { color: #7f9cff; text-decoration: none; }
.crawl-stage .w.hov { text-decoration: underline; }
.crawl-stage .w.sel { background: rgba(94, 130, 255, 0.42); }
.crawl-stage h1, .hero .crawl-stage h1 { font-family: var(--cond); font-weight: 600; font-size: 30px; line-height: 1.02; color: #f4f1e8; margin-bottom: 8px; max-width: none; text-transform: none; letter-spacing: 0; }
.crawl-stage .stand { color: #b6b2a6; font-size: 15px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #2a2924; }
.crawl-stage .body p { margin-bottom: 11px; }
/* what a crawler grabs: a clone of the word, filled, enlarged, re-set, rotated or dragged */
.grab { position: absolute; z-index: 2; white-space: nowrap; pointer-events: none; line-height: 1.25; padding: 0 0.12em; transform: rotate(var(--r, 0deg)); transform-origin: left center; font-size: 15px; transition: opacity 0.45s; }
.grab.out { opacity: 0; }
.grab.fill { background: var(--c); color: #0a0a0c; }
.grab.big { font-size: 34px; font-family: var(--mono); color: var(--c); line-height: 1; margin-top: -8px; }
.grab.italic { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 24px; color: var(--c); margin-top: -4px; }
.grab.rot { background: var(--c); color: #0a0a0c; }
.grab.mono { font-family: var(--mono); color: var(--c); letter-spacing: 0.12em; font-size: 19px; }
/* step scenes: the same system, small */
.crawl-stage.small { height: 250px; border: 1px solid var(--rule); cursor: default; }
.crawl-stage.small .wallet { left: 12px; top: 14px; width: 35%; padding: 9px 10px 8px; border-width: 1.5px; }
.crawl-stage.small .wallet .wl { font-size: 14px; }
.crawl-stage.small .wallet .wb { font-size: 21px; margin: 7px 0 3px; }
.crawl-stage.small .wallet .wb small { font-size: 10px; margin-left: 4px; }
.crawl-stage.small .wallet .ws { font-size: 8.5px; }
.crawl-stage.small .page { left: 41%; right: 12px; top: 12px; bottom: 12px; padding: 0 12px 8px; font-size: 10.5px; line-height: 1.45; }
.crawl-stage.small .page .bar { height: 20px; margin: 0 -12px 8px; padding: 0 8px; font-size: 8px; gap: 4px; }
.crawl-stage.small .page .bar i { width: 6px; height: 6px; }
.crawl-stage.small h1 { font-size: 15px; margin-bottom: 4px; }
.crawl-stage.small .stand { font-size: 10.5px; margin-bottom: 6px; padding-bottom: 6px; }
.crawl-stage.small .body p { margin-bottom: 5px; }
.crawl-stage.small .grab { font-size: 10.5px; }
.crawl-stage.small .grab.big { font-size: 20px; margin-top: -5px; }
.crawl-stage.small .grab.italic { font-size: 15px; margin-top: -2px; }
.crawl-stage.small .grab.mono { font-size: 12px; }
@media (max-width: 760px) {
  .hero-stage .crawl-stage { height: 680px; }
  .crawl-stage .beats { left: 16px; right: 16px; top: 14px; gap: 8px 14px; flex-wrap: wrap; font-size: 15px; }
  .crawl-stage .beats li { gap: 6px; padding-bottom: 3px; border-bottom-width: 2px; }
  .crawl-stage .beats li b { font-size: 11px; padding: 2px 5px 1px; }
  .crawl-stage .wallet { left: 16px; right: 16px; top: 76px; width: auto; padding: 10px 12px; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; }
  .crawl-stage .wallet .wl { font-size: 17px; }
  .crawl-stage .wallet .wb { grid-column: 2; grid-row: 1 / 3; font-size: 26px; margin: 0; }
  .crawl-stage .wallet .wb small { font-size: 12px; }
  .crawl-stage .wallet .ws { font-size: 9px; }
  .crawl-stage .page { left: 16px; right: 16px; top: 160px; bottom: 14px; padding: 0 14px 10px; font-size: 13px; line-height: 1.5; }
  .crawl-stage .page .bar { height: 24px; margin: 0 -14px 10px; }
  .crawl-stage h1, .hero .crawl-stage h1 { font-size: 20px; }
  .crawl-stage .stand { font-size: 12.5px; margin-bottom: 10px; padding-bottom: 8px; }
  .crawl-stage .body p:nth-child(n+4) { display: none; }
  .crawl-stage .grab { font-size: 13px; }
  .crawl-stage .grab.big { font-size: 26px; }
  .crawl-stage .grab.italic { font-size: 19px; }
  .crawl-stage .grab.mono { font-size: 16px; }
}

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(8, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stats > div { padding: 12px 12px 12px 0; border-right: 1px solid var(--paper-3); }
.stats > div + div { padding-left: 12px; }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font-family: var(--mono); font-weight: 500; font-size: 22px; line-height: 1.1; }
.stats span { display: block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); margin-top: 4px; }
.stats-note { font-family: var(--mono); font-size: 12px; color: var(--ink-2); padding: 8px 0; }
@media (max-width: 960px) { .stats { grid-template-columns: repeat(4, 1fr); } .stats > div:nth-child(4) { border-right: 0; } .stats > div:nth-child(n+5) { border-top: 1px solid var(--paper-3); } .stats > div:nth-child(5) { padding-left: 0; } }
@media (max-width: 480px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats > div:nth-child(even) { border-right: 0; } .stats > div:nth-child(odd) { padding-left: 0; } .stats > div:nth-child(n+3) { border-top: 1px solid var(--paper-3); } }

/* ---------- steps ---------- */
.step { display: grid; grid-template-columns: 120px minmax(0, 4fr) minmax(0, 5fr) minmax(0, 5fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--paper-3); align-items: start; }
.step:first-of-type { border-top: 0; }
.step .no { font-family: var(--cond); font-size: 54px; font-weight: 700; line-height: 0.9; color: var(--ink); }
.step h3 { font-family: var(--cond); font-size: 26px; font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--ink-2); max-width: 36ch; }
.step .crawl-stage { width: 100%; }
.http { font-family: var(--mono); font-size: 12.5px; line-height: 1.55; border: 1px solid var(--rule); padding: 12px 14px; background: var(--paper); overflow-x: auto; }
.http .dir { color: var(--ink-3); }
.http .st { font-weight: 500; }
.http .hl { background: var(--toll); }
@media (max-width: 1100px) { .step { grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1fr); } .step .http { grid-column: 2 / 4; } }
@media (max-width: 760px) { .step { grid-template-columns: minmax(0, 1fr); gap: 14px; } .step .no { font-size: 40px; } .step .http { grid-column: 1; } }

/* ---------- try it ---------- */
.try { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; }
.try .ctrl { display: grid; gap: 14px; align-content: start; }
.try .ctrl p { color: var(--ink-2); max-width: 44ch; }
.receipt { border: 1px solid var(--rule); background: var(--paper); font-family: var(--mono); font-size: 12.5px; line-height: 1.55; min-height: 220px; }
.receipt .head { display: flex; justify-content: space-between; gap: 12px; padding: 8px 14px; border-bottom: 1px dashed var(--ink); text-transform: uppercase; letter-spacing: 0.05em; font-size: 11px; color: var(--ink-2); }
.receipt .body { padding: 12px 14px; }
.receipt .status { font-size: 16px; font-weight: 500; margin-bottom: 10px; }
.receipt .status.c402, .receipt .status.c403 { background: var(--toll); display: inline-block; padding: 0 6px; }
.receipt .hdr { display: grid; grid-template-columns: max-content 1fr; gap: 2px 14px; margin-bottom: 12px; }
.receipt .hdr span:nth-child(odd) { color: var(--ink-2); }
.receipt pre { white-space: pre-wrap; word-break: break-all; }
.receipt .empty { color: var(--ink-2); padding: 30px 14px; }
@media (max-width: 760px) { .try { grid-template-columns: minmax(0, 1fr); } }

/* ---------- install ---------- */
.install { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; }
.install .notes { display: grid; gap: 14px; align-content: start; color: var(--ink-2); }
.install .notes b { color: var(--ink); font-weight: 500; }
.tabs { display: flex; border: 1px solid var(--rule); border-bottom: 0; }
.tabs button { background: var(--paper); border: 0; border-right: 1px solid var(--rule); padding: 9px 16px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.tabs .spacer { flex: 1; border-right: 0; }
.tabs .copy { border-right: 0; border-left: 1px solid var(--rule); }
.codebox { border: 1px solid var(--rule); background: var(--paper); padding: 14px 16px; min-height: 240px; font-size: 12.5px; overflow-x: auto; max-width: 100%; }
.codebox .empty { color: var(--ink-2); font-family: var(--mono); font-size: 13px; }
@media (max-width: 760px) { .install { grid-template-columns: minmax(0, 1fr); } .tabs button { padding: 8px 10px; } }

/* ---------- feed ---------- */
.feed-wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; }
table.feed { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12.5px; }
table.feed th { text-align: left; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; font-size: 11px; color: var(--ink-2); padding: 6px 10px 6px 0; border-bottom: 1px solid var(--rule); }
table.feed td { padding: 7px 10px 7px 0; border-bottom: 1px solid var(--paper-3); vertical-align: top; white-space: nowrap; }
table.feed td.path { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
table.feed .out { display: inline-block; padding: 0 5px; }
table.feed .out.paid { background: var(--ink); color: var(--paper); }
table.feed .out.challenged { background: var(--toll); }
table.feed .out.blocked { border: 1px solid var(--ink); }
table.feed .out.free { color: var(--ink-2); }
.feed-empty { border: 1px solid var(--rule); padding: 28px 20px; font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.feed-empty b { display: block; color: var(--ink); font-weight: 500; margin-bottom: 6px; }
.feed-side { display: grid; gap: 14px; align-content: start; color: var(--ink-2); }
.feed-side .live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink); }
.feed-side .live i { width: 8px; height: 8px; background: var(--ink-3); }
.feed-side .live.on i { background: var(--toll); outline: 1px solid var(--ink); }
.feed-scroll { overflow-x: auto; }
@media (max-width: 960px) { .feed-wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- crawler builders ---------- */
.pay-lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--rule); }
.pay-lines > div { padding: 18px 18px 22px; border-right: 1px solid var(--rule); }
.pay-lines > div:last-child { border-right: 0; }
.pay-lines .k { font-family: var(--cond); font-size: 40px; font-weight: 700; line-height: 1; margin-bottom: 10px; }
.pay-lines p { color: var(--ink-2); }
.pay-lines code { display: block; margin-top: 10px; font-size: 12px; word-break: break-all; }
@media (max-width: 760px) { .pay-lines { grid-template-columns: 1fr; } .pay-lines > div { border-right: 0; border-bottom: 1px solid var(--rule); } .pay-lines > div:last-child { border-bottom: 0; } }

/* ---------- bottom cta + footer ---------- */
.cta-band { border-top: 1px solid var(--rule); padding: 48px 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; }
.cta-band h2 { font-family: var(--cond); font-size: clamp(34px, 4.5vw, 60px); font-weight: 700; line-height: 0.95; text-transform: uppercase; }
.cta-band .facts { font-family: var(--mono); font-size: 13px; display: grid; gap: 6px; color: var(--ink-2); }
.cta-band .facts b { color: var(--ink); font-weight: 500; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 36px 0; } }
footer { border-top: 1px solid var(--rule); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; padding: 18px var(--gutter); font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
footer .wrap .wordmark { font-size: 18px; }
footer .wrap .right { margin-left: auto; display: flex; gap: 18px; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ---------- dashboard ---------- */
.dash-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; padding: 28px 0 18px; border-bottom: 1px solid var(--rule); }
.dash-head h1 { font-family: var(--cond); font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 0.95; word-break: break-all; }
.dash-head .sub { font-family: var(--mono); font-size: 12px; color: var(--ink-2); margin-top: 8px; display: flex; gap: 16px; flex-wrap: wrap; }
.dash-head .sub .v { color: var(--ink); }
.dash-head .sub .v.yes::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--toll); outline: 1px solid var(--ink); margin-right: 6px; }
.pane { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px 24px; padding: 26px 0; border-bottom: 1px solid var(--paper-3); }
.pane > div { min-width: 0; }
.pane > .lab { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); padding-top: 4px; }
.pane h2 { font-family: var(--cond); font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.pane .desc { color: var(--ink-2); max-width: 60ch; margin-bottom: 14px; }
.form { display: grid; gap: 16px; max-width: 560px; }
.form .row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.form.inline { grid-template-columns: minmax(0, 1fr) auto; align-items: end; max-width: 520px; }
.totals { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--rule); }
.totals > div { padding: 12px 12px; border-right: 1px solid var(--paper-3); }
.totals > div:last-child { border-right: 0; }
.totals b { display: block; font-family: var(--mono); font-weight: 500; font-size: 22px; }
.totals span { display: block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); margin-top: 4px; }
@media (max-width: 960px) { .totals { grid-template-columns: repeat(3, 1fr); } .totals > div:nth-child(3) { border-right: 0; } .totals > div:nth-child(n+4) { border-top: 1px solid var(--paper-3); } }
@media (max-width: 480px) { .totals { grid-template-columns: repeat(2, 1fr); } .totals > div:nth-child(3) { border-right: 1px solid var(--paper-3); } .totals > div:nth-child(even) { border-right: 0; } .totals > div:nth-child(n+3) { border-top: 1px solid var(--paper-3); } }
table.rules { width: 100%; border-collapse: collapse; font-size: 14px; }
table.rules th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); padding: 6px 12px 6px 0; border-bottom: 1px solid var(--rule); }
table.rules td { padding: 7px 12px 7px 0; border-bottom: 1px solid var(--paper-3); vertical-align: middle; }
table.rules td.name { font-family: var(--mono); font-size: 13px; }
table.rules td.kind { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
table.rules .seg { display: inline-flex; border: 1px solid var(--ink); }
table.rules .seg button { background: var(--paper); border: 0; border-right: 1px solid var(--ink); padding: 4px 10px; font-family: var(--mono); font-size: 12px; cursor: pointer; }
table.rules .seg button:last-child { border-right: 0; }
table.rules .seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
table.rules .seg button[aria-pressed="true"].charge { background: var(--toll); color: var(--ink); }
@media (max-width: 520px) { table.rules td.kind, table.rules th:nth-child(3), table.rules td:nth-child(2), table.rules th:nth-child(2) { display: none; } }
.ticket { border: 1px solid var(--rule); max-width: 640px; }
.ticket .t-head { background: var(--ink); color: var(--paper); padding: 10px 16px; font-family: var(--cond); font-size: 22px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; display: flex; justify-content: space-between; align-items: center; }
.ticket .t-head .hz { width: 44px; height: 12px; }
.ticket .t-body { padding: 16px; display: grid; gap: 12px; }
.ticket .key { font-family: var(--mono); font-size: 14px; word-break: break-all; border: 1px dashed var(--ink); padding: 12px; background: var(--paper-2); }
.ticket .t-body p { color: var(--ink-2); }
.ticket .t-body .warn { color: var(--ink); font-weight: 500; }
.ticket .acts { display: flex; gap: 12px; flex-wrap: wrap; }
.dash-signin { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; padding: 36px 0; }
.dash-signin .lede { color: var(--ink-2); max-width: 56ch; margin-bottom: 20px; }
.dash-signin h2 { font-family: var(--cond); font-size: 26px; font-weight: 600; margin-bottom: 6px; }
.dash-signin .returning { border-left: 1px solid var(--rule); padding-left: 32px; }
.log-scroll { overflow-x: auto; }
.snippet-note { font-family: var(--mono); font-size: 12px; color: var(--ink-2); margin-top: 8px; }
.verify-out { font-family: var(--mono); font-size: 13px; margin-top: 10px; }
@media (max-width: 760px) {
  .dash-head { grid-template-columns: 1fr; }
  .pane { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .dash-signin { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .dash-signin .returning { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 24px; }
  .form .row { grid-template-columns: 1fr; }
  .form.inline { grid-template-columns: 1fr; }
}

/* ---------- docs ---------- */
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding: 36px 0 64px; }
.docs .toc { position: sticky; top: 20px; align-self: start; font-family: var(--mono); font-size: 12px; display: grid; gap: 2px; }
.docs .toc a { text-decoration: none; padding: 5px 0; border-bottom: 1px solid var(--paper-3); color: var(--ink-2); }
.docs .toc a:hover { color: var(--ink); }
.docs .toc .h { text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink); padding-bottom: 8px; border-bottom: 1px solid var(--rule); margin-bottom: 6px; }
.docs article { max-width: 760px; }
.docs h1 { font-family: var(--cond); font-size: clamp(36px, 4.5vw, 56px); font-weight: 700; text-transform: uppercase; line-height: 0.95; margin-bottom: 10px; }
.docs h2 { font-family: var(--cond); font-size: 28px; font-weight: 600; margin: 44px 0 12px; padding-top: 18px; border-top: 1px solid var(--rule); }
.docs h3 { font-family: var(--cond); font-size: 20px; font-weight: 600; margin: 24px 0 8px; }
.docs p { margin-bottom: 12px; }
.docs ul, .docs ol { margin: 0 0 12px; padding-left: 20px; }
.docs li { margin-bottom: 4px; }
.docs .http { margin: 12px 0 16px; }
.docs table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 10px 0 16px; }
.docs th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); padding: 6px 12px 6px 0; border-bottom: 1px solid var(--rule); }
.docs td { padding: 6px 12px 6px 0; border-bottom: 1px solid var(--paper-3); vertical-align: top; }
.docs td code { font-size: 12.5px; }
.docs .lede { color: var(--ink-2); font-size: 16px; max-width: 60ch; }
.docs .note { border-left: 3px solid var(--toll); padding: 8px 14px; margin: 14px 0; color: var(--ink); }
.docs article { min-width: 0; }
.docs .tbl { overflow-x: auto; }
@media (max-width: 860px) { .docs { grid-template-columns: minmax(0, 1fr); gap: 24px; } .docs .toc { position: static; grid-template-columns: 1fr 1fr; } .docs .toc .h { grid-column: 1 / -1; } }

/* =====================================================================================
   motion. Everything prints, draws, rolls, types, stamps or walks. Initial states apply only
   once JS is running (html.js); reduced motion shows the final states.
   ===================================================================================== */
.wire-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 60; }

/* --- rules draw left to right (top rule) / bottom rule --- */
.js [data-m~=rule], .js [data-m~=rule-b] { position: relative; }
.js [data-m~=rule] { border-top-color: transparent !important; }
.js [data-m~=rule-b] { border-bottom-color: transparent !important; }
.js [data-m~=rule]::before, .js [data-m~=rule-b]::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--rc, var(--rule)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.js [data-m~=rule]::before { top: -1px; }
.js [data-m~=rule-b]::after { bottom: -1px; }
.js [data-m~=rule].in::before, .js [data-m~=rule-b].in::after { transform: scaleX(1); transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .step[data-m~=rule], .js .pane[data-m~=rule-b] { --rc: var(--paper-3); }
.js .hero-stage[data-m~=rule]::before { top: -1px; }

/* --- boxes draw: top edge left to right, right edge down, then bottom and left close --- */
.js [data-m~=box] { position: relative; border-color: transparent !important; }
.js [data-m~=box]::before, .js [data-m~=box]::after { content: ""; position: absolute; background: var(--rule); pointer-events: none; z-index: 1; }
.js [data-m~=box]::before { top: -1px; left: -1px; right: -1px; height: 1px; transform: scaleX(0); transform-origin: left; }
.js [data-m~=box]::after { top: -1px; right: -1px; bottom: -1px; width: 1px; transform: scaleY(0); transform-origin: top; }
.js [data-m~=box].in { border-color: var(--rule) !important; transition: border-color 0s 0.55s; }
.js [data-m~=box].in::before { transform: scaleX(1); transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js [data-m~=box].in::after { transform: scaleY(1); transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s; }
.js [data-m~=box].in.fw-keep { transition: none; }

/* --- stats strip: dividers draw top to bottom --- */
.js [data-m~=stats] > div { position: relative; border-right-color: transparent; }
.js [data-m~=stats] > div::after { content: ""; position: absolute; top: 0; bottom: 0; right: -1px; width: 1px; background: var(--paper-3); transform: scaleY(0); transform-origin: top; }
.js [data-m~=stats].in > div::after { transform: scaleY(1); transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 60ms + 0.3s); }
.js [data-m~=stats] > div:last-child::after { display: none; }
@media (max-width: 960px) { .js [data-m~=stats] > div:nth-child(4)::after { display: none; } }
@media (max-width: 480px) { .js [data-m~=stats] > div:nth-child(even)::after { display: none; } }
.stats b { position: relative; }
.stats b.pulse::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--toll); animation: pulse-rule 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes pulse-rule { 0% { transform: scaleX(0); transform-origin: left; } 45% { transform: scaleX(1); transform-origin: left; } 55% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }

/* --- headings rise line by line out of clips --- */
.js [data-m~=lines]:not(.split) { visibility: hidden; }
.js [data-m~=lines] .wd { display: inline-block; vertical-align: top; overflow: hidden; padding-bottom: 0.18em; margin-bottom: -0.18em; }
.js [data-m~=lines] .wi { display: inline-block; transform: translateY(135%); }
.js [data-m~=lines].in .wi { transform: none; transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.1, 1); transition-delay: calc(var(--ln, 0) * 60ms + var(--d, 0ms)); }
/* the marker stroke on the highlighted word, after the word lands */
.js .hero h1 em { background: none; position: relative; isolation: isolate; }
.js .hero h1 em::before { content: ""; position: absolute; inset: 0; background: var(--toll); z-index: -1; transform: scaleX(0); transform-origin: left; }
.js .hero h1.in em::before { transform: scaleX(1); transition: transform 0.35s cubic-bezier(0.3, 0.7, 0.2, 1); transition-delay: calc(var(--ln, 0) * 60ms + var(--d, 0ms) + 0.5s); }

/* --- block clips: a paragraph or control rises as one piece --- */
.js [data-m~=clip] { overflow: hidden; }
.js [data-m~=clip] > * { transform: translateY(110%); }
.js [data-m~=clip].in > * { transform: none; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.1, 1); transition-delay: var(--d, 0ms); }
.js .hero-side[data-m~=clip] > * { margin: 0; }

/* --- typing --- */
.js [data-m~=type]:not(.in), .js [data-m~=type-kids]:not(.in) > * { color: transparent; }
.cur { display: inline-block; width: 0.6em; height: 1em; background: var(--ink); vertical-align: -0.15em; margin-left: 1px; animation: cur 0.9s steps(2) infinite; }
@keyframes cur { to { background: transparent; } }
.js [data-m~=http]:not(.in) pre { visibility: hidden; }
.http .hl { position: relative; isolation: isolate; background: none; }
.http .hl::before { content: ""; position: absolute; inset: 0; background: var(--toll); z-index: -1; transform: scaleX(0); transform-origin: left; }
.http .hl.on::before, html:not(.js) .http .hl::before { transform: scaleX(1); transition: transform 0.3s cubic-bezier(0.3, 0.7, 0.2, 1); }
.http .st { display: inline-block; }

/* --- odometer --- */
.od { display: inline-block; vertical-align: baseline; height: 1.15em; line-height: 1.15em; clip-path: inset(0); }
.od-s { display: block; transform: translateY(0); transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.od-s > span { display: block; height: 1.15em; line-height: 1.15em; }

/* --- stamps --- */
.slam { animation: slam 0.18s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes slam { 0% { transform: scale(1.5) rotate(-2deg); } 100% { transform: scale(1) rotate(0); } }
.receipt .status { display: inline-block; }
.receipt .status.c200, .receipt .status.c204 { background: var(--ink); color: var(--paper); padding: 0 6px; }
.verify-out.stamp-ok { background: var(--toll); padding: 2px 8px; display: inline-block; }
.verify-out.stamp-no { border: 1px solid var(--ink); padding: 1px 8px; display: inline-block; }

/* --- receipt printer: lines appear top to bottom --- */
.pr { clip-path: inset(0 0 100% 0); }
.pr.on { clip-path: inset(0); transition: clip-path 0.12s linear; }
.pr > .fe { display: block; transform: translateY(-100%); }
.pr.on > .fe { transform: none; transition: transform 0.12s linear; }
.receipt .tear { border: 0; border-top: 1px dashed var(--ink); margin: 12px 0 0; }
.receipt pre .pl { display: block; }
.receipt .hdr .pr { min-width: 0; }
table.feed td.path .cl > span { text-overflow: ellipsis; white-space: nowrap; }
.js .top .wordmark .lt { margin-right: 0.04em; }
.receipt .body + .body { border-top: 0; }
.receipt .line-wait { height: 1px; }

/* --- code lines: tokens, clips --- */
.cl-ln { display: block; overflow: hidden; }
.cl-in { display: block; transform: none; transition: transform 0.1s cubic-bezier(0.3, 0.7, 0.2, 1); }
.cl-in:empty::before { content: "\00a0"; }
.cl-ln.out .cl-in { transform: translateY(110%); }
.cl-ln.pre .cl-in { transform: translateY(-110%); transition: none; }
.c-kw { font-weight: 500; }
.c-str { color: var(--ink-2); }
.c-cm { color: var(--ink-3); }
.c-key { background: var(--toll); }
.tabs .copy.flash, .btn.flash { animation: hz-flash 0.6s steps(3) both; }
@keyframes hz-flash { 0% { background: repeating-linear-gradient(135deg, var(--toll) 0 7px, var(--ink) 7px 14px); color: var(--ink); } 100% { background: repeating-linear-gradient(135deg, var(--toll) 0 7px, var(--ink) 7px 14px); color: var(--ink); } }

/* --- feed rows slide down into place --- */
table.feed td { padding: 0; }
table.feed td .cl { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
table.feed td .cl > span { display: block; min-height: 0; overflow: hidden; padding: 7px 10px 7px 0; }
table.feed tr.new td .cl { grid-template-rows: 0fr; }
table.feed tr.new td .cl > span { padding-top: 0; padding-bottom: 0; }
table.feed td .cl > span { transition: grid-template-rows 0.3s, padding 0.3s; }
table.feed td.fl-402 { animation: fl-402 0.9s steps(1) both; }
table.feed td.fl-paid { animation: fl-paid 0.9s steps(1) both; }
@keyframes fl-402 { 0% { background: var(--toll); } 50% { background: transparent; } 70% { background: var(--toll); } 100% { background: transparent; } }
@keyframes fl-paid { 0% { background: var(--ink); color: var(--paper); } 50% { background: transparent; color: inherit; } 70% { background: var(--ink); color: var(--paper); } 100% { background: transparent; color: inherit; } }
.feed-side .live.on i { animation: tick 1s steps(2) infinite; }
@keyframes tick { 0% { background: var(--toll); } 100% { background: var(--ink); } }
.feed-side .live .lt { display: inline-block; }
.feed-side .live.on .lt { animation: lt 1.8s steps(1) infinite; animation-delay: calc(var(--i) * 0.25s); }
@keyframes lt { 0% { color: var(--toll); } 14% { color: inherit; } }

/* --- static tables cascade (docs, rules) --- */
.js table[data-m~=rows] td, .js table[data-m~=rows] th { position: relative; }
.js table[data-m~=rows]:not(.in) tbody td, .js table[data-m~=rows]:not(.in) thead th { visibility: hidden; border-bottom-color: transparent; }
.js table[data-m~=rows] tbody td::after, .js table[data-m~=rows] thead th::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--paper-3); transform: scaleX(0); transform-origin: left; }
.js table[data-m~=rows] thead th::after { background: var(--rule); }
.js table[data-m~=rows].in tbody td, .js table[data-m~=rows].in thead th { visibility: visible; transition: visibility 0s; transition-delay: calc(var(--i, 0) * 30ms + 0.2s); }
.js table[data-m~=rows].in tbody td::after, .js table[data-m~=rows].in thead th::after { transform: scaleX(1); transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 30ms + var(--j, 0) * 60ms); }
.js table[data-m~=rows].in td { border-bottom-color: transparent; }
table.rules tr.tick td::after { background: var(--toll) !important; height: 2px; animation: pulse-rule 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transform: none !important; transition: none !important; }

/* --- segmented control: a moving ink block --- */
table.rules .seg { position: relative; }
table.rules .seg::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--l, 0px); width: var(--w, 0px); background: var(--ink); transition: left 0.16s cubic-bezier(0.2, 0.7, 0.2, 1), width 0.16s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.16s; }
table.rules .seg.is-charge::before { background: var(--toll); }
table.rules .seg button { position: relative; background: transparent; transition: color 0.16s; }
table.rules .seg button[aria-pressed="true"] { background: transparent; color: var(--paper); }
table.rules .seg button[aria-pressed="true"].charge { background: transparent; color: var(--ink); }
html:not(.js) table.rules .seg::before { display: none; }

/* --- buttons and links --- */
.btn::before { background-size: 19.8px 44px; }
.btn:hover::before { animation: hz-scroll 0.5s linear infinite; }
@keyframes hz-scroll { to { background-position: 19.8px 0; } }
.nav a.solid { position: relative; isolation: isolate; }
.nav a.solid::before { content: ""; position: absolute; inset: 0; background: var(--ink-2); z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.nav a.solid:hover { background: var(--ink); }
.nav a.solid:hover::before { transform: scaleX(1); }
.nav a:not(.solid), footer a, .docs .toc a, .hero-cta a:not(.btn), #crawlers p > a, .docs article p > a, .install .notes a { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-size: 0% 1px; background-position: left calc(100% - 1px); transition: background-size 0.25s cubic-bezier(0.2, 0.7, 0.2, 1); }
.nav a:not(.solid):hover, footer a:hover, .docs .toc a:hover, .hero-cta a:not(.btn):hover, #crawlers p > a:hover, .docs article p > a:hover, .install .notes a:hover { background-size: 100% 1px; text-decoration: none; border-bottom-color: transparent; }
.docs .toc a.on { color: var(--ink); }
.docs .tabs { margin-top: 12px; }
.docs .tabs + .http { margin-top: 0; }
.docs .toc { position: sticky; }
.docs .toc .toc-mk { position: absolute; left: -14px; top: 0; width: 5px; height: 0; background: var(--toll); transform: translateY(0); transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1), height 0.2s; }
@media (max-width: 860px) { .docs .toc .toc-mk { display: none; } }

/* --- page load: top bar --- */
.js .top .hz { transform: scaleX(0); transform-origin: left; animation: hz-in 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s forwards; }
@keyframes hz-in { to { transform: scaleX(1); } }
.js .top .wordmark [data-name] { display: inline-block; overflow: hidden; vertical-align: top; }
.js .top .wordmark .lt { display: inline-block; transform: translateY(110%); animation: rise 0.4s cubic-bezier(0.2, 0.7, 0.1, 1) forwards; animation-delay: calc(0.25s + var(--i) * 35ms); }
@keyframes rise { to { transform: none; } }
.js .top .nav a { clip-path: inset(0 0 100% 0); animation: nav-in 0.3s steps(3) forwards; animation-delay: calc(0.5s + var(--i, 0) * 90ms); }
@keyframes nav-in { to { clip-path: inset(0); } }
.js .top.in .hz, .js .top.in .wordmark .lt, .js .top.in .nav a { animation: none; transform: none; clip-path: none; }

/* --- hero stage powers on --- */
.js .hero-stage .crawl-stage { clip-path: inset(50% 0 50% 0); }
.js .hero-stage .crawl-stage.on { animation: crt 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
@keyframes crt { 0% { clip-path: inset(50% 0 50% 0); } 30% { clip-path: inset(calc(50% - 1px) 0 calc(50% - 1px) 0); } 100% { clip-path: inset(0 0 0 0); } }
.hero-foot #exchange.ls { position: relative; overflow: hidden; height: 18px; }
.ls-l { position: absolute; left: 0; top: 0; white-space: nowrap; transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.ls-l.up { transform: translateY(-110%); }

/* --- crawler builders: a wire through the three boxes with a travelling dot --- */
.pay-lines { position: relative; }
.pay-lines .pl-wire { position: absolute; left: 0; right: 0; top: 38px; height: 1px; background: var(--rule); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.pay-lines .pl-dot { position: absolute; left: 0; top: 34px; width: 9px; height: 9px; background: var(--toll); outline: 1px solid var(--ink); transform: translateX(-20px); pointer-events: none; visibility: hidden; }
.pay-lines.in .pl-wire { transform: scaleX(1); transition: transform 1.2s linear; }
.pay-lines.in .pl-dot { visibility: visible; transform: translateX(calc(var(--pw) - 12px)); transition: transform 1.2s linear; }
.pay-lines .k { position: relative; display: inline-block; background: var(--paper); padding-right: 8px; z-index: 1; }
@media (max-width: 760px) { .pay-lines .pl-wire, .pay-lines .pl-dot { display: none; } }

/* --- forms: input borders draw, saved wipes, errors --- */
.fw { position: relative; }
.js .fw[data-m~=box] { border: 0; }
.js .fw[data-m~=box] input { border-color: transparent; transition: border-color 0s 0.55s; }
.js .fw[data-m~=box].in input { border-color: var(--ink); }
.js .fw[data-m~=box]::before { top: 0; left: 0; right: 0; }
.js .fw[data-m~=box]::after { top: 0; right: 0; bottom: 0; }
.fw.saved::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--toll); animation: pulse-rule 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; z-index: 2; transform: none; transition: none; }
.fw.shake input { animation: field-flash 0.5s steps(1) both; }
@keyframes field-flash { 0% { border-color: #9c2a12; } 25% { border-color: var(--ink); } 50% { border-color: #9c2a12; } 75% { border-color: var(--ink); } }
.send { display: inline-block; vertical-align: middle; margin-left: 12px; width: 90px; height: 9px; position: relative; }
.send::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--ink-3); }
.send::after { content: ""; position: absolute; left: 0; top: 0; width: 9px; height: 9px; background: var(--toll); outline: 1px solid var(--ink); animation: send 0.8s linear infinite; }
@keyframes send { to { transform: translateX(81px); } }
.ticket .t-head { overflow: hidden; }
.js .ticket .t-head > * { transform: translateX(-110%); }
.js .ticket.in .t-head > * { transform: none; transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.1, 1); }
.js .ticket.in .t-head .hz { transition-delay: 0.1s; }
.ticket .key.run { border-color: transparent; background-image: repeating-linear-gradient(90deg, var(--ink) 0 5px, transparent 5px 10px), repeating-linear-gradient(90deg, var(--ink) 0 5px, transparent 5px 10px), repeating-linear-gradient(180deg, var(--ink) 0 5px, transparent 5px 10px), repeating-linear-gradient(180deg, var(--ink) 0 5px, transparent 5px 10px); background-size: 100% 1px, 100% 1px, 1px 100%, 1px 100%; background-repeat: no-repeat; background-position: 0 0, 10px 100%, 100% 0, 0 10px; animation: march 1s linear; }
@keyframes march { to { background-position: 20px 0, -10px 100%, 100% 20px, 0 -10px; } }
.js .dash-head .sub > span:not(.in) { color: transparent; }
.js .dash-head .sub > span:not(.in) .v::before { visibility: hidden; }

/* --- reduced motion: final states, nothing moves --- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .js [data-m~=rule]::before, .js [data-m~=rule-b]::after, .js [data-m~=box]::before, .js [data-m~=box]::after, .js [data-m~=stats] > div::after { transform: none !important; }
  .js [data-m~=box] { border-color: var(--rule) !important; }
  .js .fw[data-m~=box] input { border-color: var(--ink) !important; }
  .js [data-m~=lines]:not(.split) { visibility: visible; }
  .js [data-m~=lines] .wi, .js [data-m~=clip] > *, .js .ticket .t-head > *, .js .top .wordmark .lt { transform: none !important; }
  .js .hero h1 em::before, .http .hl::before { transform: none !important; }
  .js [data-m~=type]:not(.in), .js [data-m~=type-kids]:not(.in) > *, .js .dash-head .sub > span:not(.in) { color: inherit; }
  .js [data-m~=http]:not(.in) pre { visibility: visible; }
  .js .top .hz { transform: none; }
  .js .top .nav a { clip-path: none; }
  .js .hero-stage .crawl-stage { clip-path: none; }
  .pr { clip-path: none; }
  .pr > .fe { transform: none; }
  .cl-ln.pre .cl-in, .cl-ln.out .cl-in { transform: none; }
  table.feed tr.new td .cl { grid-template-rows: 1fr; }
  .js table[data-m~=rows]:not(.in) tbody td, .js table[data-m~=rows]:not(.in) thead th { visibility: visible; border-bottom-color: var(--paper-3); }
  .js table[data-m~=rows] tbody td::after, .js table[data-m~=rows] thead th::after { transform: none; }
  .pay-lines .pl-wire { transform: none; }
  .pay-lines .pl-dot { display: none; }
  .wire-canvas { display: none; }
  .cur { display: none; }
  .od-s { transform: none !important; }
}

/* ---------- logo mark, contract address ---------- */
.wordmark .mk { height: 30px; width: auto; display: block; }
footer .wrap .wordmark .mk { height: 22px; }
.js .top .mk { transform: scaleX(0); transform-origin: left; animation: hz-in 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s forwards; }
.js .top.in .mk { animation: none; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .top .mk { animation: none; transform: none; } }
.ca-wrap { container-type: inline-size; }
.ca { display: flex; align-items: stretch; width: 100%; max-width: 100%; padding: 0; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: 0; text-align: left; cursor: pointer; }
.ca > span { padding: 9px 12px; white-space: nowrap; }
.ca .k { background: var(--ink); color: var(--paper); letter-spacing: 0.04em; }
.ca .a { flex: 1; min-width: 0; overflow: hidden; }
.ca .short { display: none; }
.ca .c { border-left: 1px solid var(--rule); text-transform: uppercase; letter-spacing: 0.04em; min-width: 7.5ch; text-align: center; }
.ca:hover .c { background: var(--paper-2); }
.ca .c.flash { animation: hz-flash 0.6s steps(3) both; }
@container (max-width: 470px) { .ca .full { display: none; } .ca .short { display: inline; } }
