:root {
  --bg: #efeee8;
  --paper: #f8f7f2;
  --receipt: #fcfbf7;
  --ink: #161513;
  --ink-2: rgba(22, 21, 19, .7);
  --ink-3: rgba(22, 21, 19, .48);
  --line: rgba(22, 21, 19, .12);
  --line-2: rgba(22, 21, 19, .26);
  --red: #d4231c;
  --red-soft: rgba(212, 35, 28, .1);
  --radius: 6px;
  --gutter: clamp(16px, 4.5vw, 64px);
  --type: "Courier Prime", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: transparent;
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2 { margin: 0; font-family: var(--type); font-weight: 700; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the 3D layer; a CSS newsprint grain underneath when WebGL is off */
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.2s ease-out; pointer-events: none; }
#bg.ready { opacity: 1; }
html.no-webgl body, html:not(.js) body {
  background:
    radial-gradient(700px 420px at 82% 12%, rgba(212, 35, 28, .05), transparent 70%),
    radial-gradient(rgba(22, 21, 19, .07) 1px, transparent 1.3px) 0 0 / 16px 16px,
    var(--bg);
}

/* header */
.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 28px;
  height: 60px; padding: 0 var(--gutter);
  background: rgba(239, 238, 232, .96); border-bottom: 1px solid var(--line);
}
.mark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 700 17px/1 var(--type); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font: 400 14px/1 var(--type); transition: color .18s ease-out; }
.nav a:hover { color: var(--ink); }
.top-actions { display: flex; gap: 8px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border-radius: var(--radius);
  font: 700 14px/1 var(--type); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: opacity .18s ease-out, border-color .18s ease-out, color .18s ease-out;
}
.btn-primary { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
.btn-primary:hover { opacity: .86; }
.btn-secondary { border: 1px solid var(--line-2); color: var(--ink); background: transparent; }
.btn-secondary:hover { border-color: var(--ink); }
.btn-icon { min-width: 48px; padding: 0; }
.btn-small { min-height: 38px; padding: 0 14px; font-size: 13px; }
.top-actions .btn-icon { min-height: 38px; min-width: 38px; }
.btn[aria-disabled="true"] { background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); cursor: default; opacity: 1; }
.link { color: var(--ink-2); font: 13px var(--type); align-self: center; padding: 0 4px; }

/* hero: copy and token on top, the simulator under them */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 1fr);
  grid-template-areas: "copy side" "sim sim" "note note";
  align-items: end; gap: 26px 56px;
  padding: clamp(26px, 4.6vh, 56px) var(--gutter) 0;
}
.hero-copy { grid-area: copy; }
.hero-side { grid-area: side; }
.sim { grid-area: sim; }
.sim-note { grid-area: note; }
.kicker { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 16px; font: 400 13px/1 var(--type); color: var(--ink-2); }
.kicker b { color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(40px, 6.1vw, 92px); line-height: .98; letter-spacing: -.035em; }
h1 .x { text-decoration: underline dashed var(--red); text-decoration-thickness: .06em; text-underline-offset: .14em; text-decoration-skip-ink: none; }
.lede { margin: 0 0 18px; font-size: 17px; line-height: 1.5; color: var(--ink-2); max-width: 32em; }

.token { display: flex; gap: 8px; align-items: stretch; }
.ca {
  display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0;
  min-height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; text-align: left;
}
.ca:not(.is-set) { cursor: default; }
.ca-label { font: 700 12px var(--type); color: var(--ink-3); }
.ca-value { flex: 1; min-width: 0; font: 400 14px/1 var(--type); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-copy { font: 400 13px var(--type); color: var(--ink-2); }
.ca:not(.is-set) .ca-copy { display: none; }
.ca.is-copied .ca-copy { color: var(--red); }

/* ---------- the simulator ---------- */
.sim {
  position: relative; scroll-margin-top: 76px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 344px);
  background: rgba(248, 247, 242, .96); border: 1px solid var(--line-2); border-radius: 8px;
  box-shadow: 0 30px 60px -38px rgba(22, 21, 19, .4);
}
.chart-card { min-width: 0; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.chart-head { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 10px 14px; border-bottom: 1px solid var(--line); min-height: 50px; }
.px { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; min-width: 0; font: 400 13px/1.2 var(--type); }
.px-value { font: 700 21px/1 var(--type); letter-spacing: -.01em; }
.px-src { color: var(--ink-2); }
.feed-state { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.feed-state i { width: 7px; height: 7px; border-radius: 1px; background: var(--ink-3); flex: none; }
.feed-state[data-mode="live"] i { background: var(--ink); }
.js .feed-state[data-mode="live"] i { animation: tick 1.6s steps(1) infinite; }
.js .feed-state[data-mode="connecting"] i { animation: tick 1s steps(1) infinite; }
.feed-state[data-mode="sim"], .feed-state[data-mode="paused"] { color: var(--red); }
.feed-state[data-mode="sim"] i, .feed-state[data-mode="paused"] i { background: var(--red); }
@keyframes tick { 50% { opacity: .25; } }
.sim-price .px-value { color: var(--red); }
.sim-tag { flex: none; font: 400 12px/1 var(--type); color: var(--ink-2); padding: 6px 8px; border: 1px dashed var(--line-2); border-radius: 4px; }

.chart-card .chart { position: relative; height: clamp(300px, 45vh, 470px); }
.chart-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.noscript { position: absolute; left: 16px; right: 16px; top: 45%; text-align: center; font: 13px var(--type); color: var(--ink-2); }
.timer { position: absolute; left: 12px; top: 10px; z-index: 2; display: flex; flex-direction: column; gap: 2px; padding: 0 8px 4px 2px; background: rgba(248, 247, 242, .92); border-radius: 4px; pointer-events: none; }
.timer-label { font: 400 13px/1.2 var(--type); color: var(--ink-2); }
.timer-value { font: 700 clamp(34px, 4.1vw, 60px)/1 var(--type); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.timer.dead .timer-label, .timer.dead .timer-value { color: var(--red); }
.tag {
  position: absolute; left: 0; top: 0; z-index: 2; will-change: transform; pointer-events: none;
  padding: 3px 6px; border-radius: 3px; white-space: nowrap;
  font: 400 12px/1.2 var(--type); background: rgba(248, 247, 242, .94); color: var(--ink);
}
.tag-liq { color: var(--red); font-weight: 700; }
.tag-now { background: var(--ink); color: var(--paper); font-weight: 700; padding: 3px 5px; }
.tag.dead { opacity: .5; }

/* the printer: a slot on the chart's floor; the receipt feeds up out of it */
.printer { position: absolute; z-index: 4; left: max(27%, 280px); bottom: 0; width: 296px; height: calc(100% + 36px); pointer-events: none; }
.slot { position: absolute; left: 0; right: 0; bottom: 0; height: 13px; background: var(--ink); border-radius: 5px 5px 0 0; }
.slot span { position: absolute; left: 12px; right: 12px; top: 3px; height: 2px; background: #000; box-shadow: 0 1px 0 rgba(255, 255, 255, .16); }
.slot::after { content: "receipts print here"; position: absolute; left: calc(100% + 10px); bottom: 0; font: 400 12px/13px var(--type); color: var(--ink-3); white-space: nowrap; }
.printer.on .slot::after { opacity: 0; }
.feed-path { position: absolute; left: 14px; right: 14px; top: 0; bottom: 9px; overflow: hidden; }
.rc-wrap { position: absolute; left: 0; right: 0; bottom: 0; filter: drop-shadow(0 6px 10px rgba(22, 21, 19, .2)); }
.printer:not(.on) .rc-wrap { visibility: hidden; }
.rc-wrap.torn { transform: translate(16px, -40px) rotate(5deg); opacity: 0; transition: transform .45s cubic-bezier(.5, 0, .75, .4), opacity .45s ease-in; }
.receipt {
  position: relative; transform: translateY(110%); will-change: transform;
  padding: 15px 16px 10px; background: var(--receipt); color: #23211d;
  font: 400 12.5px/1.4 var(--type);
  -webkit-mask: conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) 50% 0 / 12px 100% repeat-x;
  mask: conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) 50% 0 / 12px 100% repeat-x;
}
.receipt p { margin: 0; }
.rc-brand { text-align: center; font-weight: 700; font-size: 14px; letter-spacing: .1em; }
.rc-no, .rc-sim, .rc-src, .rc-thanks { text-align: center; color: #6e6a62; }
.rc-sim, .rc-src, .rc-thanks { font-size: 11.5px; }
.rc-rule { height: 0; border-top: 1px dashed #8f8a80; margin: 6px 0; }
.rc-row { display: flex; justify-content: space-between; gap: 10px; }
.rc-rekt { margin: 4px 0 2px; text-align: center; color: var(--red); font: 700 24px/1.1 var(--type); letter-spacing: .03em; }
.rc-paper { margin-top: 5px; text-align: center; font: 700 17px/1.2 var(--type); }
.rc-bar { height: 24px; margin: 7px 12px 0; background: repeating-linear-gradient(90deg, #23211d 0 2px, transparent 2px 3px, #23211d 3px 4px, transparent 4px 7px, #23211d 7px 10px, transparent 10px 11px, #23211d 11px 12px, transparent 12px 15px); }

.chart-foot { display: flex; flex-wrap: wrap; gap: 4px 22px; padding: 10px 14px; border-top: 1px solid var(--line); font: 400 13px/1.3 var(--type); color: var(--ink-2); }
.chart-foot b { color: var(--ink); font-weight: 700; }

.ticket { min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 14px 16px 16px; }
.ticket-head, .agent-head { display: flex; justify-content: space-between; gap: 10px; font: 700 13px/1.2 var(--type); }
.dim { color: var(--ink-2); font-weight: 400; }
.side { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.side button {
  min-height: 42px; border: 1px solid var(--line-2); border-radius: var(--radius); background: transparent;
  color: var(--ink); font: 700 14px/1 var(--type); cursor: pointer; transition: border-color .18s ease-out, background .18s ease-out, color .18s ease-out;
}
.side button:hover { border-color: var(--ink); }
.side button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.side button:focus-visible, .copy-code:focus-visible, .btn:focus-visible, .ca:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.lev { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: -10px; }
.lev label { font: 400 14px var(--type); color: var(--ink-2); }
.lev-out { font: 700 32px/1 var(--type); letter-spacing: -.03em; }
.lev-range { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin: 0; background: transparent; cursor: pointer; --p: 100%; }
.lev-range::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--ink) var(--p), var(--line-2) var(--p)); }
.lev-range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 26px; margin-top: -12px; border: 0; border-radius: 3px; background: var(--ink); }
.lev-range::-moz-range-track { height: 2px; background: var(--line-2); }
.lev-range::-moz-range-progress { height: 2px; background: var(--ink); }
.lev-range::-moz-range-thumb { width: 14px; height: 26px; border: 0; border-radius: 3px; background: var(--ink); }
.lev-range:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.lev-scale { position: relative; height: 14px; margin: -8px 7px 0; font: 400 12px/1 var(--type); color: var(--ink-3); }
.lev-scale span { position: absolute; top: 0; transform: translateX(-50%); }
.lev-scale span:first-child { transform: translateX(-7px); }
.lev-scale span:last-child { transform: translateX(calc(-100% + 7px)); }
.readouts { display: flex; flex-direction: column; gap: 5px; margin: 2px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.readouts div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-width: 0; }
.readouts dt { flex: none; font: 400 13px/1.3 var(--type); color: var(--ink-2); }
.readouts dd { min-width: 0; margin: 0; font: 700 16px/1.3 var(--type); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ro-liq, .ro-pnl.neg { color: var(--red); }
.agent { padding-top: 12px; border-top: 1px solid var(--line); }
.agent-head { margin-bottom: 6px; }
.agent-log { list-style: none; margin: 0; padding: 0; height: 117px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; font: 400 12px/1.6 var(--type); color: var(--ink-2); }
.agent-log li { flex: none; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.agent-log .call { color: var(--ink); }
.agent-log .rekt { color: var(--red); font-weight: 700; }
.agent-log .dim { color: var(--ink-3); }
.js .agent-log .new { animation: type .5s steps(26) both; }
@keyframes type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.sim-note { max-width: 980px; margin-top: -12px; font: 400 13px/1.55 var(--type); color: var(--ink-2); }

/* ---------- scroll beats over the dots ---------- */
.layers { padding: 8vh var(--gutter) 0; }
.beat { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; max-width: min(44%, 620px); }
.beat .kicker { margin-bottom: 14px; color: var(--red); }
.beat-line { font: 700 clamp(30px, 4.4vw, 62px)/1.05 var(--type); letter-spacing: -.035em; text-wrap: balance; }

/* ---------- sections ---------- */
.tools, .connect { position: relative; padding: clamp(72px, 10vw, 128px) var(--gutter) 0; scroll-margin-top: 60px; }
.section-head { max-width: 580px; }
.section-head .kicker { color: var(--ink-2); }
h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1; letter-spacing: -.035em; margin-bottom: 16px; }
.section-head > p:not(.kicker) { color: var(--ink-2); font-size: 17px; }

.sheet {
  margin-top: 36px; padding: 18px 22px 30px; background: var(--receipt); color: #23211d;
  -webkit-mask: linear-gradient(#000 0 0) 0 0 / 100% calc(100% - 8px) no-repeat, conic-gradient(from -45deg at 50% 100%, #000 90deg, #0000 0) 50% 100% / 14px 8px repeat-x;
  mask: linear-gradient(#000 0 0) 0 0 / 100% calc(100% - 8px) no-repeat, conic-gradient(from -45deg at 50% 100%, #000 90deg, #0000 0) 50% 100% / 14px 8px repeat-x;
}
.sheet-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; margin: 0; padding-top: 14px; border-top: 1px dashed var(--line-2); font: 400 13px/1.4 var(--type); color: var(--ink-2); }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font: 400 12px/1 var(--type); color: var(--ink-2); padding: 0 16px 12px 0; }
td { padding: 16px 16px 16px 0; border-top: 1px dashed var(--line-2); vertical-align: top; font-size: 16px; }
td.n { font: 400 12px/1.9 var(--type); color: var(--ink-3); width: 48px; }
td.t { font: 700 15px/1.6 var(--type); white-space: nowrap; }
td.s { font: 400 13px/1.75 var(--type); white-space: nowrap; color: var(--ink); }
td.s::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; vertical-align: 0; border: 1px solid var(--ink); background: var(--ink); }
td.s.build::before { background: linear-gradient(135deg, var(--ink) 50%, transparent 50%); }
td.s.wait { color: var(--ink-2); }
td.s.wait::before { background: none; border-color: var(--ink-3); }

.connect { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: start; }
.rules { margin: 28px 0 0; padding: 0; list-style: none; }
.rules li { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 16px; }
.rules .ix { font: 400 12px var(--type); color: var(--ink-3); padding-top: 4px; }
.code-wrap { background: var(--paper); border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.code-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--line); font: 400 13px var(--type); color: var(--ink-2); }
.copy-code { min-height: 34px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: none; color: var(--ink); font: 700 13px var(--type); cursor: pointer; }
.copy-code:hover { border-color: var(--ink); }
.code { margin: 0; padding: 18px 20px; font: 400 13.5px/1.7 var(--type); color: var(--ink-3); overflow-x: auto; }
.code .k { color: var(--ink); }
.code .v { color: var(--red); }

.foot { padding: clamp(80px, 12vw, 140px) var(--gutter) 40px; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.mark-small { font: 700 15px var(--type); }
.foot-links { display: flex; gap: 6px; margin-right: -12px; }
.foot-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; font: 400 14px var(--type); color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.foot p { margin: 16px 0 0; font: 400 13px/1.6 var(--type); color: var(--ink-2); }

/* reveals */
.js .hero > .hero-copy, .js .hero > .hero-side, .js .hero > .sim { animation: rise .7s cubic-bezier(.2, .7, .2, 1) backwards; }
.js .hero > .hero-side { animation-delay: .08s; }
.js .hero > .sim { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease-out, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* tablet */
@media (max-width: 1279px) {
  .slot::after { content: none; }
}
@media (max-width: 1100px) {
  .hero { gap: 22px 36px; }
  .sim { grid-template-columns: minmax(0, 1fr) minmax(270px, 300px); }
  .connect { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "side" "sim" "note"; }
  .slot::after { content: none; }
  .sim { grid-template-columns: minmax(0, 1fr); }
  .chart-card { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* phone: its own composition. Headline, then the simulator on the first screen, then the lede. */
@media (max-width: 760px) {
  .top { gap: 12px; height: 56px; padding-right: 10px; }
  .nav { display: none; }
  .top-actions { margin-left: auto; }
  .top-actions .btn-icon { min-height: 44px; min-width: 44px; }
  .hide-phone { display: none; }
  .hero { grid-template-areas: "copy" "sim" "side" "note"; gap: 14px; padding-top: 16px; }
  .kicker { margin-bottom: 10px; font-size: 12px; }
  h1 { font-size: clamp(36px, 10.6vw, 48px); letter-spacing: -.04em; }
  .lede { font-size: 16px; margin: 4px 0 0; }
  .token {
    position: fixed; z-index: 20; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    padding: 6px; gap: 6px; background: rgba(248, 247, 242, .97); border: 1px solid var(--line-2); border-radius: 10px;
    box-shadow: 0 10px 30px -18px rgba(22, 21, 19, .5);
  }
  .token .ca, .token .btn { min-height: 46px; }
  .token .chart-link { display: none; }
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .sim { grid-template-columns: minmax(0, 1fr); margin: 0 -6px; }
  .chart-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .chart-head { padding: 9px 12px; min-height: 0; }
  .px { gap: 2px 10px; font-size: 12px; }
  .px-value { font-size: 19px; flex: 0 0 100%; }
  .chart-head { position: relative; }
  .sim-tag { position: absolute; top: 9px; right: 10px; padding: 4px 6px; font-size: 11px; }
  .chart-card .chart { height: 290px; }
  .timer { left: 8px; top: 8px; }
  .timer-value { font-size: 36px; }
  .tag { font-size: 11px; }
  .printer { left: 4px; right: auto; top: 70px; width: 222px; height: auto; }
  .feed-path { left: 11px; right: 11px; }
  .slot::after { content: none; }
  .receipt { font-size: 10.5px; line-height: 1.36; padding: 13px 10px 8px; }
  .rc-brand { font-size: 12.5px; }
  .rc-sim, .rc-thanks { font-size: 10.5px; }
  .rc-rule { margin: 4px 0; }
  .rc-rekt { font-size: 19px; }
  .rc-paper { font-size: 15px; }
  .rc-src, .rc-bar { display: none; }
  .chart-foot { gap: 2px 12px; padding: 8px 12px; font-size: 12px; }
  .ticket { padding: 10px 12px 12px; gap: 10px; }
  .side button { min-height: 44px; }
  .readouts dd { font-size: 15px; }
  .readouts { gap: 3px; }
  .agent-log { height: 77px; font-size: 11.5px; }
  .sim-note { margin-top: 0; font-size: 12px; }
  .layers { padding-top: 4vh; }
  .beat { max-width: none; justify-content: flex-start; padding-top: 13svh; }
  table, thead, tbody, tr, td, th { display: block; }
  thead { display: none; }
  tr { border-top: 1px dashed var(--line-2); padding: 14px 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; }
  .sheet { margin-left: -6px; margin-right: -6px; padding: 8px 14px 26px; }
  tbody tr:first-child { border-top: 0; }
  td { border: 0; padding: 0; }
  td.n { width: auto; grid-column: 1; grid-row: 1; }
  td.t { grid-column: 2; grid-row: 1; overflow: hidden; text-overflow: ellipsis; }
  td.s { grid-column: 2; grid-row: 3; }
  td:nth-child(3) { grid-column: 2; grid-row: 2; color: var(--ink-2); font-size: 15px; }
  .code { font-size: 12px; padding: 16px; }
  .foot-row { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
