/* PAYDAY: printed money. Near-black ink page, real banknote footage, a paper cheque engraved with guilloché line work,
   ruled ledgers for every list, flat 8px controls. Green means money arrived; red means it's still waiting. */

:root {
  --bg: #050706;
  --bg2: #090d0b;
  --surface: #0f1512;
  --surface2: #141c18;
  --line: rgba(222, 236, 226, .09);
  --line2: rgba(222, 236, 226, .17);
  --text: #edf0ea;
  --dim: rgba(237, 240, 234, .6);
  --faint: rgba(237, 240, 234, .38);
  --money: #9ef5be;
  --money-ink: #062012;
  --red: #ff6a4d;
  --paper: #efe8d4;
  --paper-ink: #13281d;
  --engrave: #2b6446;
  --blue-ink: #1d2f86;
  --r: 8px;
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1200px;
  color-scheme: dark;
}
@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { visibility: visible; margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; line-height: 1; margin: 0; }
p { margin: 0; }
::selection { background: var(--money); color: var(--money-ink); }
:focus-visible { outline: 2px solid var(--money); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
.muted { color: var(--dim); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }
.empty { color: var(--dim); padding: 28px 0; }
.empty a { color: var(--text); }
[hidden] { display: none !important; }

/* Reveal: rises into place once (DESIGN.md: 650ms, y 22px). */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-d="1"] { transition-delay: .08s; }
[data-reveal][data-d="2"] { transition-delay: .16s; }
[data-reveal][data-d="3"] { transition-delay: .24s; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent; }
.nav.solid, .nav.always { background: rgba(5, 7, 6, .74); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.nav .wrap { display: flex; align-items: center; gap: 32px; height: 64px; max-width: none; padding: 0 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark { font: 700 19px/1 var(--display); letter-spacing: -0.03em; }
.brand .mark { width: 22px; height: 22px; }
.links { display: flex; gap: 26px; }
.links a { color: var(--dim); text-decoration: none; font-size: 14px; transition: color .2s ease; }
.links a:hover, .links a[aria-current] { color: var(--text); }
.actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.xlink { width: 36px; height: 36px; display: grid; place-items: center; color: var(--dim); border-radius: var(--r); transition: color .2s ease; }
.xlink:hover { color: var(--text); }
.xlink svg { width: 15px; height: 15px; }
[data-wallet].connected { gap: 10px; }
[data-wallet] .bal { font-family: var(--mono); font-size: 12.5px; color: var(--money); }
[data-wallet] .addr { font-family: var(--mono); font-size: 12.5px; color: var(--dim); }

/* ---------- Buttons: flat, 8px ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px;
  border-radius: var(--r); border: 1px solid transparent; background: #fff; color: #050706; font: 600 15px/1 var(--sans);
  letter-spacing: -0.01em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s ease, border-color .2s ease, opacity .2s ease, transform .2s ease; }
.pill:hover { background: #dfe6e0; }
.pill:active { transform: translateY(1px); }
.pill.line { background: transparent; color: var(--text); border-color: var(--line2); }
.pill.line:hover { background: rgba(255, 255, 255, .05); border-color: rgba(222, 236, 226, .3); }
.pill.sm { height: 36px; padding: 0 14px; font-size: 14px; }
.pill.block { display: flex; width: 100%; }
.pill.buy { background: var(--money); color: var(--money-ink); }
.pill.buy:hover { background: #c3fbd6; }
.pill.vamp { background: var(--red); color: #210600; }
.pill:disabled { opacity: .42; cursor: not-allowed; }
.ghost { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: var(--r);
  border: 1px solid var(--line2); background: transparent; color: var(--dim); font-size: 13.5px; text-decoration: none; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.ghost:hover { color: var(--text); border-color: rgba(222, 236, 226, .3); }
.ghost svg, .icon-btn svg { width: 15px; height: 15px; }
.ghost.sm { height: 32px; }
.icon-btn { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 0; background: none; color: var(--dim); cursor: pointer; border-radius: 6px; vertical-align: middle; }
.icon-btn:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.copied { font-size: 12px; color: var(--money); }
.quiet { color: var(--text); text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; }
.quiet svg { display: inline; width: 12px; height: 12px; vertical-align: -1px; }

/* ---------- Hero: full-bleed footage ---------- */
.hero { position: relative; min-height: max(660px, 100svh); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 112%; object-fit: cover; z-index: -2; will-change: transform; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5, 7, 6, .62) 0%, rgba(5, 7, 6, 0) 22%, rgba(5, 7, 6, 0) 46%, rgba(5, 7, 6, .82) 84%, var(--bg) 100%),
              linear-gradient(90deg, rgba(5, 7, 6, .72) 0%, rgba(5, 7, 6, .2) 48%, rgba(5, 7, 6, 0) 70%); }
.hero .wrap { width: 100%; max-width: none; padding: 0 56px 72px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.hero h1 { font-size: clamp(60px, 9.4vw, 156px); letter-spacing: -0.055em; line-height: .88; font-weight: 600; max-width: 11ch; }
.hero p { margin-top: 28px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: rgba(237, 240, 234, .82); max-width: 33em; }
.cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta { font: 400 12.5px/1.9 var(--mono); color: var(--dim); text-align: right; padding-bottom: 6px; }
.hero-meta b { color: var(--text); font-weight: 500; }
.hero-meta .up { color: var(--money); }

/* The ticker under the hero: real payouts and launches, scrolling. */
.ticker { border-block: 1px solid var(--line); overflow: hidden; white-space: nowrap; font: 400 13px/1 var(--mono); color: var(--dim); }
.ticker .track-x { display: inline-flex; gap: 48px; padding: 16px 0; animation: tick 60s linear infinite; padding-left: 48px; }
.ticker:hover .track-x { animation-play-state: paused; }
.ticker b { color: var(--text); font-weight: 500; }
.ticker .up { color: var(--money); }
.ticker a { text-decoration: none; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 136px 0; position: relative; }
.section.tight { padding: 96px 0; }
.h2 { font-size: clamp(42px, 5.8vw, 92px); letter-spacing: -0.048em; line-height: .92; }
.h2 em, .hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.lede { font-size: clamp(17px, 1.3vw, 19px); color: var(--dim); line-height: 1.6; max-width: 34em; margin-top: 24px; }
.kicker { font: 500 12.5px/1 var(--mono); color: var(--dim); display: flex; gap: 12px; align-items: center; margin-bottom: 28px; }
.kicker::before { content: ''; width: 28px; height: 1px; background: var(--line2); }

/* ---------- Write a cheque ---------- */
.write { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.write .cheque-wrap { margin-right: -24px; }
.lookup { margin-top: 44px; }
.lookup label { display: block; font-size: 13px; color: var(--dim); margin-bottom: 10px; }
.lookup .field-at { display: flex; align-items: baseline; gap: 6px; border-bottom: 1px solid var(--line2); padding-bottom: 10px; transition: border-color .2s ease; }
.lookup .field-at:focus-within { border-bottom-color: var(--money); }
.lookup .field-at span { font: 500 34px/1 var(--display); color: var(--faint); }
.lookup input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font: 500 34px/1.1 var(--display); letter-spacing: -0.03em; padding: 0; }
.lookup input::placeholder { color: var(--faint); }
.lookup .status { margin-top: 14px; font-size: 14px; color: var(--dim); min-height: 22px; }
.lookup .status b { color: var(--text); font-weight: 600; }
.lookup .status .up { color: var(--money); }
.lookup .status .down { color: var(--red); }
.lookup .cta { margin-top: 26px; }

/* The cheque itself: paper, engraving, foil, MICR line, stamp. Sized by its own width (container units). */
.cheque { container-type: inline-size; perspective: 1600px; --rx: 0deg; --ry: 0deg; --mx: 30%; --my: 20%; }
.cq-sheet { position: relative; aspect-ratio: 920 / 420; border-radius: 1.2cqw; overflow: hidden; color: var(--paper-ink);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .14 0 0 0 0 .1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(115deg, #f3edda 0%, #ebe3cb 55%, #e4dbc0 100%);
  padding: 4cqw 4.6cqw 3.4cqw; display: flex; flex-direction: column;
  transform: rotateZ(var(--rz, 0deg)) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .6s var(--ease);
  box-shadow: 0 2.4cqw 6cqw -2cqw rgba(0, 0, 0, .85), 0 .4cqw 1cqw rgba(0, 0, 0, .35); }
.cq-sheet::before { content: ''; position: absolute; inset: 1.6cqw; border: 1px solid rgba(19, 40, 29, .28); outline: 1px solid rgba(19, 40, 29, .14);
  outline-offset: .45cqw; border-radius: .6cqw; pointer-events: none; }
.cq-sheet::after { content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 46%); }
.engraving { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.engraving path { fill: none; stroke: var(--engrave); stroke-width: .55; vector-effect: non-scaling-stroke; }
.engraving .wave { opacity: .2; }
.engraving .rose { opacity: .3; }
.cq-foil { position: absolute; top: 0; bottom: 0; left: 64%; width: 2.6cqw; opacity: .5; mix-blend-mode: multiply;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .5) 0 .3cqw, rgba(255, 255, 255, 0) .3cqw .9cqw),
              linear-gradient(180deg, #cfe0d6, #b7c6ff, #f0c9ff, #c7f5df, #f6e3b0, #cfe0d6);
  background-size: 100% 100%, 100% 400%; background-position: 0 0, 0 var(--my); transition: background-position .4s var(--ease); }
.cq-top, .cq-pay, .cq-words, .cq-bottom, .cq-micr { position: relative; }
.cq-top { display: flex; justify-content: space-between; align-items: flex-start; }
.cq-bank b { display: block; font: 700 3.4cqw/1 var(--display); letter-spacing: -0.04em; }
.cq-bank span, .cq-no span, .cq-memo span, .cq-label { font: 500 1.05cqw/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(19, 40, 29, .62); }
.cq-bank span { display: block; margin-top: .7cqw; }
.cq-no { text-align: right; font: 500 1.6cqw/1.3 var(--mono); }
.cq-no b { font-weight: 600; }
.cq-date { display: block; margin-top: .4cqw; }
.cq-pay { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 2.2cqw; margin-top: auto; }
.cq-label { max-width: 9cqw; padding-bottom: 1cqw; }
.cq-payee { font: 400 6.2cqw/1.05 var(--serif); letter-spacing: -0.01em; border-bottom: 1px solid rgba(19, 40, 29, .5); padding-bottom: .5cqw;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cq-amount { display: flex; align-items: baseline; gap: .6cqw; border: 1px solid rgba(19, 40, 29, .55); border-radius: .5cqw; padding: .9cqw 1.6cqw;
  font: 600 3.3cqw/1 var(--mono); background: rgba(255, 255, 255, .28); }
.cq-amount small { font-size: 2.2cqw; font-weight: 500; color: rgba(19, 40, 29, .7); }
.cq-words { margin-top: 2.6cqw; font: italic 400 2.6cqw/1.2 var(--serif); border-bottom: 1px solid rgba(19, 40, 29, .35); padding-bottom: .5cqw; }
.cq-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 3cqw; margin-top: 2.8cqw; }
.cq-memo { display: flex; align-items: baseline; gap: 1.4cqw; min-width: 0; flex: 1; }
.cq-memo b { font: italic 400 2.1cqw/1.2 var(--serif); border-bottom: 1px solid rgba(19, 40, 29, .35); flex: 1; padding-bottom: .4cqw;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cq-sign { width: 21cqw; height: auto; border-bottom: 1px solid rgba(19, 40, 29, .45); padding-bottom: .3cqw; overflow: visible; }
.cq-sign path { fill: none; stroke: var(--blue-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 760; stroke-dashoffset: 760; transition: stroke-dashoffset 2.2s cubic-bezier(.65, 0, .35, 1) .5s; }
.in .cq-sign path, .cheque.in .cq-sign path { stroke-dashoffset: 0; }
.cq-micr { display: flex; align-items: center; gap: 1.2cqw; margin-top: 2.6cqw; font: 500 2.1cqw/1 var(--mono); letter-spacing: .16em; }
.cq-micr svg { height: 1.7cqw; width: auto; fill: currentColor; }
.cq-stamp { position: absolute; right: 9%; top: 21%; transform: rotate(-11deg); border: .35cqw solid currentColor; border-radius: .6cqw;
  padding: .7cqw 1.8cqw .5cqw; font: 800 3.1cqw/1 var(--display); letter-spacing: .02em; text-transform: uppercase; color: var(--red); opacity: .86;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='0 1 1 1 1 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E") center / cover;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='0 1 1 1 1 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E") center / cover; }
.cq-stamp.paid { color: #1d7a48; }
.cq-stamp.none { color: #5d6b63; }
.cq-stamp.thunk { animation: thunk .42s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes thunk { 0% { opacity: 0; transform: rotate(-11deg) scale(1.9); } 100% { opacity: .86; transform: rotate(-11deg) scale(1); } }
.cheque-wrap { position: relative; }
/* A chequebook: one more cheque behind the top one, a little askew. */
.cheque-wrap > div:first-child { position: relative; }
.cheque-wrap > div:first-child::before { content: ''; position: absolute; inset: 0; border-radius: 10px; background: #d9d0b6;
  transform: rotate(2.4deg) translate(1.2%, 3%); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.cheque-wrap .cheque { --rz: -1.2deg; }
.cheque-wrap .under { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; font: 400 12.5px/1.5 var(--mono); color: var(--faint); }

/* ---------- The split: footage band, then a ruled ledger and the allocation bar ---------- */
.band { position: relative; height: min(78vh, 760px); overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.band video, .band .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(5, 7, 6, .2) 30%, rgba(5, 7, 6, .35) 60%, var(--bg) 100%),
              linear-gradient(90deg, rgba(5, 7, 6, .75), rgba(5, 7, 6, 0) 60%); }
.band .wrap { width: 100%; padding-bottom: 40px; }
.band h2 { font-size: clamp(52px, 8.4vw, 136px); letter-spacing: -0.055em; line-height: .88; max-width: 10ch; }
.split-ledger { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line2); }
.split-ledger > div { padding: 34px 32px 8px 0; border-right: 1px solid var(--line); }
.split-ledger > div + div { padding-left: 32px; }
.split-ledger > div:last-child { border-right: 0; }
.split-ledger .figure { font: 500 clamp(64px, 7.6vw, 120px)/.9 var(--display); letter-spacing: -0.06em; display: block; }
.split-ledger .figure sup { font-size: .38em; letter-spacing: -0.02em; vertical-align: .9em; margin-left: .04em; color: var(--dim); }
.split-ledger h3 { font-size: 22px; letter-spacing: -0.02em; margin-top: 22px; }
.split-ledger p { color: var(--dim); margin-top: 10px; max-width: 26em; }
.split-ledger .to-them .figure { color: var(--money); }
.alloc { margin-top: 56px; --p: 0; }
.alloc .bar { display: flex; height: 12px; gap: 3px; }
.alloc .bar i { display: block; height: 100%; border-radius: 2px; transform-origin: left; transform: scaleX(var(--p)); transition: transform .2s linear; }
.alloc .bar i:nth-child(1) { flex: 70; background: var(--money); }
.alloc .bar i:nth-child(2) { flex: 20; background: var(--paper); }
.alloc .bar i:nth-child(3) { flex: 10; background: rgba(237, 240, 234, .32); }
.alloc .legend { display: flex; margin-top: 14px; font: 400 12.5px/1.4 var(--mono); color: var(--dim); }
.alloc .legend span:nth-child(1) { flex: 70; }
.alloc .legend span:nth-child(2) { flex: 20; }
.alloc .legend span:nth-child(3) { flex: 10; }

/* ---------- Steps (handle page) ---------- */
.steps-list { list-style: none; padding: 0; margin: 48px 0 0; border-top: 1px solid var(--line2); counter-reset: s; }
.steps-list li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); counter-increment: s; }
.steps-list li::before { content: '0' counter(s); font: 500 13px/1.7 var(--mono); color: var(--faint); }
.steps-list b { display: block; font: 600 19px/1.3 var(--display); letter-spacing: -0.02em; }
.steps-list span { color: var(--dim); font-size: 15px; }
.stores { display: flex; gap: 10px; margin-top: 32px; flex-wrap: wrap; }

/* ---------- Editable payee: you write the cheque by typing on it ---------- */
.cq-input { display: flex; align-items: baseline; gap: .2cqw; cursor: text; }
.cq-input span { color: rgba(19, 40, 29, .55); }
.cq-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 0; color: var(--paper-ink);
  font: inherit; letter-spacing: inherit; caret-color: var(--blue-ink); }
.cq-input input::placeholder { color: rgba(19, 40, 29, .32); }
.cq-input:focus-within { border-bottom-color: var(--blue-ink); }
.write .status { margin-top: 28px; font-size: 15px; color: var(--dim); min-height: 24px; }
.write .status b { color: var(--text); font-weight: 600; }
.write .status .up { color: var(--money); }
.write .status .down { color: var(--red); }
.write .cta { margin-top: 22px; }

/* Primary buttons carry an arrow that leans in on hover. */
.pill .arr { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.pill:hover .arr { transform: translateX(3px); }

/* ---------- The story: one cheque pinned while its life scrolls past ---------- */
.story { position: relative; height: 330vh; --p: 0; }
.story .stage { position: sticky; top: 0; height: 100vh; height: 100svh; max-width: var(--wrap); margin: 0 auto; padding: 64px 40px 0;
  display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); gap: 72px; align-items: center; }
.story-copy .h2 { font-size: clamp(40px, 4.6vw, 70px); }
.story-steps { list-style: none; margin: 44px 0 0; padding: 0; position: relative; border-left: 1px solid var(--line2); }
.story-steps::before { content: ''; position: absolute; left: -1px; top: 0; width: 1px; height: 100%; background: var(--text);
  transform-origin: top; transform: scaleY(var(--p)); }
.story-steps li { padding: 18px 0 18px 28px; opacity: .3; transition: opacity .5s var(--ease); }
.story-steps li.on { opacity: 1; }
.story-steps b { display: block; font: 600 clamp(22px, 2vw, 28px)/1.15 var(--display); letter-spacing: -0.03em; }
.story-steps span { display: block; color: var(--dim); margin-top: 8px; max-width: 30em; }
.story-steps .stores { display: flex; gap: 8px; margin-top: 16px; }
.story-cheque .cheque-wrap > div:first-child::before { transform: rotate(3deg) translate(1.4%, 4%); }
.story-note { margin-top: 28px; font: 400 13px/1.5 var(--mono); color: var(--dim); min-height: 20px; }

/* ---------- Closer: centred, over a large engraved rosette turning very slowly ---------- */
.closer { position: relative; padding: 200px 0 160px; text-align: center; overflow: hidden; isolation: isolate; }
.closer .h2 { max-width: 14ch; margin: 0 auto; font-size: clamp(48px, 7vw, 112px); }
.closer .cta { margin-top: 40px; justify-content: center; }
.closer-rose { position: absolute; left: 50%; top: 50%; width: min(1100px, 140vw); height: auto; translate: -50% -50%; z-index: -1;
  animation: turn 240s linear infinite; pointer-events: none; }
.closer-rose path { fill: none; stroke: var(--money); stroke-width: .7; vector-effect: non-scaling-stroke; opacity: .13; }
.closer::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(closest-side, transparent 30%, var(--bg) 100%); pointer-events: none; }
@keyframes turn { to { rotate: 360deg; } }

/* ---------- Ledgers: every list on the site ---------- */
.list-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.list-head h1 { font-size: clamp(44px, 6vw, 88px); letter-spacing: -0.05em; }
.list-head p { color: var(--dim); margin-top: 14px; }
.tabs { display: flex; gap: 22px; }
.tabs button { background: none; border: 0; padding: 6px 0; color: var(--dim); font-size: 15px; cursor: pointer; border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.tabs button[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--text); }
.sheet { border-top: 1px solid var(--line2); }
table.coins { width: 100%; border-collapse: collapse; }
table.coins th { font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); }
table.coins th.num { text-align: right; }
table.coins td { padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.coins td + td, table.coins th + th { padding-left: 16px; }
tr.row { cursor: pointer; transition: background .15s ease; }
tr.row:hover { background: rgba(255, 255, 255, .025); }
.coin-cell { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.coin-cell img { width: 44px; height: 44px; border-radius: var(--r); object-fit: cover; background: var(--surface); flex: none; }
.coin-cell b { display: block; font: 600 16px/1.2 var(--display); letter-spacing: -0.01em; }
.coin-cell span span { display: block; color: var(--dim); font-size: 13.5px; }
.curve { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; color: var(--dim); }
.track { display: inline-block; width: 80px; height: 3px; background: var(--line2); border-radius: 2px; overflow: hidden; }
.track i { display: block; height: 100%; background: var(--text); }
table.coins td.num { font-family: var(--mono); font-size: 14px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px 0 4px; border-radius: 6px; background: var(--surface2);
  border: 1px solid var(--line); font: 500 13px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: border-color .2s ease; }
.chip:hover { border-color: var(--line2); }
.chip.payee img { width: 20px; height: 20px; border-radius: 4px; }
.chip.payee svg { width: 12px; height: 12px; margin-left: 4px; }

/* Unclaimed paychecks */
.waitlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line2); }
.waitlist li.empty { display: block; }
.waitlist li:not(.empty) { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.waitlist .av { width: 52px; height: 52px; border-radius: var(--r); background: var(--surface2); object-fit: cover; display: grid; place-items: center; font: 600 18px/1 var(--display); color: var(--dim); }
.waitlist .who b { display: block; font: 600 18px/1.25 var(--display); letter-spacing: -0.02em; }
.waitlist .who a { text-decoration: none; }
.waitlist .who span { color: var(--dim); font-size: 14px; }
.waitlist .amt { font: 500 20px/1 var(--mono); color: var(--red); text-align: right; }
.waitlist .amt small { display: block; font-size: 11.5px; color: var(--faint); margin-top: 6px; letter-spacing: .06em; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 80px 0 40px; margin-top: 40px; overflow: hidden; }
footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
footer p { color: var(--faint); font-size: 13.5px; max-width: 62em; margin-top: 18px; line-height: 1.7; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
footer nav a { color: var(--dim); text-decoration: none; font-size: 14px; }
footer nav a:hover { color: var(--text); }
.giant { font: 700 clamp(96px, 23.5vw, 400px)/.8 var(--display); letter-spacing: -0.07em; margin: 64px 0 0 -0.04em; white-space: nowrap;
  background: url(/assets/payday/band-poster.jpg) 0% 42% / 165% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: saturate(.85) brightness(1.35) contrast(1.05); }
.microprint { font: 500 7px/1 var(--mono); letter-spacing: .3em; color: var(--faint); white-space: nowrap; overflow: hidden; margin-top: 24px; opacity: .7; }

/* ---------- Forms (launch) ---------- */
.launch { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 72px; padding-top: 128px; padding-bottom: 80px; align-items: start; }
.launch-head h1 { font-size: clamp(48px, 6vw, 92px); letter-spacing: -0.055em; }
.launch-head .lede { margin-top: 20px; }
.launch-head .lede b { color: var(--text); }
.group { padding: 36px 0; border-top: 1px solid var(--line); }
.launch-head + .group { margin-top: 44px; border-top-color: var(--line2); }
.group-title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font: 600 20px/1.2 var(--display); letter-spacing: -0.02em; margin-bottom: 22px; }
.group-title small { font: 400 13px/1.4 var(--sans); color: var(--faint); letter-spacing: 0; text-align: right; }
.field { display: block; margin-top: 16px; }
.field > span { display: flex; justify-content: space-between; font-size: 13px; color: var(--dim); margin-bottom: 8px; }
.field em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.input { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s ease, background .2s ease; }
.input:focus-within { border-color: rgba(158, 245, 190, .6); background: var(--surface2); }
.input input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; height: 100%; font-size: 16px; }
.input svg { width: 15px; height: 15px; color: var(--faint); flex: none; }
.input .pre { color: var(--faint); font-family: var(--mono); font-size: 14px; }
.input.big { height: 64px; }
.input.big input { font: 500 24px/1 var(--display); letter-spacing: -0.02em; }
.input.big .pre { font: 500 24px/1 var(--display); }
textarea { width: 100%; min-height: 120px; resize: vertical; padding: 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); outline: 0; font-size: 16px; line-height: 1.5; transition: border-color .2s ease; }
textarea:focus { border-color: rgba(158, 245, 190, .6); }
input::placeholder, textarea::placeholder { color: var(--faint); }
.hint { margin-top: 12px; font-size: 14px; color: var(--dim); }
.hint b { color: var(--text); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.identity { display: grid; grid-template-columns: 148px 1fr; gap: 22px; align-items: start; }
.identity .field:first-child { margin-top: 0; }
.pic-drop { width: 148px; height: 148px; border-radius: 12px; border: 1px dashed var(--line2); background: var(--surface); display: grid; place-items: center; cursor: pointer; overflow: hidden; position: relative; transition: border-color .2s ease; }
.pic-drop:hover, .pic-drop.over { border-color: var(--money); }
.empty-pic { display: grid; justify-items: center; gap: 8px; color: var(--dim); font-size: 13px; }
.empty-pic svg { width: 22px; height: 22px; }
.pic-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pic-drop .change { position: absolute; inset: auto 0 0; padding: 8px; font-size: 12px; text-align: center; background: rgba(0, 0, 0, .6); }
.chips { display: flex; margin-top: 12px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; width: max-content; max-width: 100%; }
.chips button { background: none; border: 0; padding: 10px 16px; color: var(--dim); font-size: 14px; cursor: pointer; border-right: 1px solid var(--line); }
.chips button:last-child { border-right: 0; }
.chips button[aria-pressed="true"] { background: var(--surface2); color: var(--text); }
.summary { position: sticky; top: 96px; }
.summary .cheque { margin-bottom: 18px; }
.ticket { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.ticket > .body, .ticket .body { padding: 22px; }
.ticket-title { font: 600 18px/1.2 var(--display); letter-spacing: -0.02em; margin-bottom: 10px; }
.preview { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pv-pic { width: 52px; height: 52px; border-radius: var(--r); background: var(--surface2) center / cover; flex: none; }
.preview b { display: block; font: 600 18px/1.2 var(--display); }
.preview span span, .preview div span { color: var(--dim); font-size: 14px; }
dl { margin: 0; }
.rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.rows dt { color: var(--dim); }
.rows dd { margin: 0; font-family: var(--mono); font-size: 14px; }
.rows .total { border-bottom: 0; }
.rows .total dt, .rows .total dd { color: var(--text); font-weight: 600; }
.ticket .pill.block { margin-top: 18px; }
.steps { list-style: none; padding: 0; margin: 16px 0 0; font-size: 14px; }
.steps li { padding: 8px 0 8px 26px; position: relative; color: var(--dim); }
.steps li::before { content: ''; position: absolute; left: 4px; top: 15px; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--line2); }
.steps li.now { color: var(--text); }
.steps li.now::before { border-color: var(--text); }
.steps li.done { color: var(--text); }
.steps li.done::before { background: var(--money); border-color: var(--money); }
.steps li.bad::before { background: var(--red); border-color: var(--red); }
.fine { font-size: 13px; color: var(--faint); margin-top: 16px; line-height: 1.6; }
.gate { padding: 12px 14px; border-radius: var(--r); background: rgba(255, 106, 77, .08); border: 1px solid rgba(255, 106, 77, .25); font-size: 14px; color: var(--dim); margin-bottom: 18px; }
.gate b { color: var(--text); }

/* Messages */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); font-size: 14px; margin-top: 14px; border: 1px solid var(--line); background: var(--surface2); }
.alert svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.alert.err { border-color: rgba(255, 106, 77, .35); color: #ffc2b5; }
.alert.ok { border-color: rgba(158, 245, 190, .35); color: var(--money); }
.alert.info { color: var(--dim); }
.toast { position: fixed; top: 76px; left: 50%; transform: translateX(-50%); z-index: 60; margin: 0; max-width: min(520px, calc(100vw - 32px)); background: var(--surface2); }
.banner { padding: 22px 24px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.banner.ok { border-color: rgba(158, 245, 190, .3); }
.banner h2 { font-size: 26px; }

/* ---------- Coin page ---------- */
.stock { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; padding-top: 112px; padding-bottom: 80px; align-items: start; }
.head { padding-bottom: 28px; }
.coin-id { display: flex; align-items: center; gap: 16px; }
.coin-id img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.coin-id h1 { font-size: 36px; letter-spacing: -0.04em; }
.coin-id p { color: var(--dim); }
.big { font: 600 clamp(56px, 6vw, 88px)/1 var(--display); letter-spacing: -0.055em; margin-top: 28px; }
.delta { color: var(--dim); font-size: 14px; margin-top: 8px; }
.grad { margin-top: 22px; max-width: 460px; }
.grad .bar { height: 4px; background: var(--line2); border-radius: 2px; overflow: hidden; }
.grad .bar i { display: block; height: 100%; background: var(--money); transition: width .6s var(--ease); }
.grad p { display: flex; justify-content: space-between; font: 400 12.5px/1 var(--mono); color: var(--dim); margin-top: 10px; }
.grad-note { color: var(--money); font-size: 14px; margin-top: 18px; }
.chart { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.chart iframe { display: block; width: 100%; height: 440px; border: 0; }
.block-title { font: 600 22px/1.2 var(--display); letter-spacing: -0.025em; margin: 48px 0 0; padding-bottom: 16px; border-bottom: 1px solid var(--line2); }
.prose { color: var(--dim); margin-top: 18px; font-size: 16px; line-height: 1.7; max-width: 44em; }
.link-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts > div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--dim); }
.facts dd { margin: 6px 0 0; font-size: 15px; font-family: var(--mono); }
.facts dd a { text-decoration: none; }
.position { margin-top: 8px; }
.order { position: sticky; top: 88px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.seg { display: flex; border-bottom: 1px solid var(--line); }
.seg button { flex: 1; background: none; border: 0; padding: 16px; color: var(--dim); font: 600 15px/1 var(--sans); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.seg button[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--text); }
.amount { display: block; }
.amount > span:first-child { display: block; font-size: 13px; color: var(--dim); margin-bottom: 8px; }
.amount-box { display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 16px; border-radius: var(--r); background: var(--bg2); border: 1px solid var(--line); }
.amount-box:focus-within { border-color: rgba(158, 245, 190, .6); }
.amount-box input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font: 500 26px/1 var(--display); letter-spacing: -0.02em; }
.amount-box span { font-family: var(--mono); color: var(--dim); font-size: 14px; }
.presets { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 12px 0 8px; }
.presets button { background: none; border: 0; border-right: 1px solid var(--line); padding: 10px 0; color: var(--dim); font: 500 13px/1 var(--mono); cursor: pointer; }
.presets button:last-child { border-right: 0; }
.presets button:hover { color: var(--text); background: var(--surface2); }
.line-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 14px; color: var(--dim); border-bottom: 1px solid var(--line); }
.line-row b, .line-row > span:last-child { color: var(--text); font-family: var(--mono); font-weight: 500; }
.ticket .pill.block { margin-top: 16px; }
.avail { margin-top: 12px; font-size: 13px; color: var(--dim); text-align: center; }
.more { display: flex; gap: 8px; }
.order-fine { font-size: 12.5px; color: var(--faint); line-height: 1.6; }
.payee-card .who { display: flex; gap: 12px; align-items: center; text-decoration: none; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.payee-card .who img { width: 48px; height: 48px; border-radius: var(--r); object-fit: cover; }
.payee-card .who span { display: flex; flex-direction: column; }
.payee-card .who b { font: 600 17px/1.2 var(--display); }
.payee-card .who span span { color: var(--dim); font-size: 14px; }
.payee-card .fine { margin: 10px 0 6px; }

/* ---------- Handle page ---------- */
.handle-page { padding-top: 120px; padding-bottom: 60px; }
.who-head { display: flex; gap: 18px; align-items: center; }
.who-head .avatar { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.who-head h1 { font-size: clamp(40px, 5vw, 72px); letter-spacing: -0.05em; }
.who-head a { color: var(--dim); font-size: 15px; text-decoration: none; }
.handle-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; margin-top: 48px; align-items: start; }
.totals { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line2); }
.totals > div { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.totals span { color: var(--dim); font-size: 15px; }
.totals b { font: 500 26px/1 var(--mono); letter-spacing: -0.02em; }
.totals .hot b { color: var(--red); }
.totals .got b { color: var(--money); }
.claim { margin-top: 36px; }
.claim h2 { font-size: 30px; letter-spacing: -0.035em; }
.claim .steps-list { margin-top: 22px; }
.claim p { color: var(--dim); margin-top: 18px; }
.row-btns { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.claim .pill.block { margin-top: 12px; }
.handle-page table.coins td:nth-child(2) { display: none; }
.payouts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line2); }
.payouts li { display: flex; gap: 14px; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; font-size: 14px; }
.payouts li b { font-family: var(--mono); font-weight: 500; color: var(--money); }
.payouts li span { color: var(--dim); }
.payouts li a { color: var(--dim); text-decoration: none; font-family: var(--mono); font-size: 13px; }
.payouts li a:hover { color: var(--text); }
.payouts li.empty { color: var(--faint); }

/* ---------- $PAYDAY, docs, admin, top ---------- */
.tok, .docs, .top { padding-top: 128px; padding-bottom: 60px; }
.tok header h1, .docs header h1 { font-size: clamp(56px, 8vw, 128px); letter-spacing: -0.06em; }
.ca { margin-top: 32px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 0; border-block: 1px solid var(--line); }
.ca .label { font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.ca code { font-family: var(--mono); font-size: 14px; }
.ca p { color: var(--dim); font-size: 14px; }
.tok-stats { margin-top: 32px; }
.tok-block { margin-top: 56px; }
.supply-bar { height: 10px; background: var(--paper); border-radius: 2px; overflow: hidden; display: flex; justify-content: flex-end; }
.supply-bar i { display: block; height: 100%; background: var(--red); }
.supply-legend { display: flex; justify-content: space-between; margin-top: 12px; font: 400 13px/1.4 var(--mono); color: var(--dim); }
.supply-legend b { color: var(--text); font-weight: 500; }
.supply-legend .burn b { color: var(--red); }
.burn-cards { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line2); }
.burn-cards > div { padding: 28px 28px 10px 0; }
.burn-cards > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.burn-cards h3 { font-size: 22px; letter-spacing: -0.02em; }
.burn-cards p { color: var(--dim); margin-top: 10px; }
.tok-foot { margin-top: 48px; color: var(--faint); font-size: 13px; }
.docs { max-width: 820px; }
.docs section { padding: 36px 0; border-top: 1px solid var(--line); }
.docs header + section { margin-top: 40px; border-top-color: var(--line2); }
.docs h2 { font-size: 30px; letter-spacing: -0.035em; margin-bottom: 16px; }
.docs p, .docs li { color: var(--dim); font-size: 17px; line-height: 1.72; }
.docs p + p { margin-top: 14px; }
.docs ol { padding-left: 22px; margin: 14px 0; }
.docs li + li { margin-top: 8px; }
.docs b, .docs a { color: var(--text); }
.docs code { font-family: var(--mono); font-size: 14px; background: var(--surface2); padding: 2px 6px; border-radius: 4px; }
.docs .rows { margin-top: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .links { display: none; }
  .write, .handle-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .write .cheque-wrap { margin-right: 0; }
  .launch, .stock { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .summary, .order { position: static; }
  .hide-md { display: none; }
}
@media (max-width: 1100px) {
  .story { height: 300vh; }
  .story .stage { grid-template-columns: minmax(0, 1fr); gap: 20px; align-content: start; padding-top: 92px; }
  .story-cheque { order: -1; }
  .story-copy .h2 { font-size: clamp(34px, 7vw, 56px); }
  .story-steps { margin-top: 20px; }
  .story-steps li { padding: 10px 0 10px 20px; }
  .story-steps li:not(.on) span { display: none; }
  .story-note { margin-top: 14px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .nav .wrap { padding: 0 16px; gap: 12px; }
  [data-wallet] { display: none; }
  .hero .wrap { padding: 0 20px 44px; grid-template-columns: 1fr; }
  .hero-meta { text-align: left; }
  .section { padding: 96px 0; }
  .split-ledger, .burn-cards { grid-template-columns: 1fr; }
  .split-ledger > div, .split-ledger > div + div, .burn-cards > div, .burn-cards > div + div { padding: 28px 0 12px; border-right: 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .facts { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; }
  .identity { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .waitlist li { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .waitlist .av { width: 44px; height: 44px; }
  .waitlist .tell { display: none; }
  .lookup input, .lookup .field-at span { font-size: 28px; }
  footer .wrap { grid-template-columns: 1fr; }
  footer nav { justify-content: flex-start; }
  .chart iframe { height: 340px; }
  .launch, .stock, .tok, .docs, .top, .handle-page { padding-top: 128px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .ticker .track-x { animation: none; }
}

/* ========== v3: coins first ========== */

/* Nav: wordmark, a search bar for coins and @handles, then actions. */
.nav .wrap { gap: 24px; }
.search { position: relative; flex: 1; max-width: 460px; margin-left: 12px; }
.search svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 15px; height: 15px; color: var(--faint); pointer-events: none; }
.search input { width: 100%; height: 40px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
  padding: 0 40px 0 38px; font-size: 14px; outline: 0; transition: border-color .2s ease, background .2s ease; }
.search input:focus { border-color: rgba(158, 245, 190, .5); background: rgba(255, 255, 255, .06); }
.search input::placeholder { color: var(--faint); }
.search kbd { position: absolute; right: 10px; top: 50%; translate: 0 -50%; font: 500 11px/1 var(--mono); color: var(--faint);
  border: 1px solid var(--line2); border-radius: 4px; padding: 3px 6px; }
.nav .links { gap: 22px; }

/* ---------- The spotlight: the biggest coin, and a launch card with the footage inside it ---------- */
.spot { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px; padding-top: 92px; }
.feature { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-rows: 1fr auto;
  border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-decoration: none; min-height: 460px; }
.feature-media { position: relative; overflow: hidden; background: var(--surface2); }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature:hover .feature-media img { transform: scale(1.04); }
.feature-body { padding: 30px 32px 24px; display: flex; flex-direction: column; min-width: 0; position: relative; isolation: isolate; }
.feature-body .engraving { z-index: -1; opacity: .5; }
.feature-body .engraving path { stroke: var(--money); }
.feature-body .engraving .wave { opacity: .07; }
.feature-body .engraving .rose { opacity: .1; }
.feature .kick { font: 500 12px/1 var(--mono); color: var(--money); }
.feature h2 { letter-spacing: -0.05em; margin-top: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feature .name { color: var(--dim); font-size: 17px; margin-top: 8px; }
.feature .nums { display: flex; gap: 32px; margin-top: auto; padding-top: 26px; }
.feature .nums small { display: block; font-size: 12.5px; color: var(--dim); margin-bottom: 6px; }
.feature .nums b { font: 500 26px/1 var(--mono); letter-spacing: -0.02em; }
.feature .card-curve { margin-top: 18px; height: 4px; }
.feature .stub { grid-column: 1 / -1; padding: 16px 28px; }
.feature .stub-who { font-size: 24px; }
.feature .stub-amt { font-size: 18px; }
.launchcard { position: relative; border-radius: 20px; overflow: hidden; min-height: 460px; padding: 30px; display: flex; flex-direction: column;
  justify-content: flex-end; isolation: isolate; border: 1px solid var(--line); }
.launchcard video, .launchcard .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.launchcard::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5, 7, 6, .15) 0%, rgba(5, 7, 6, .5) 40%, rgba(5, 7, 6, .94) 78%); }
.launchcard h1 { font-size: clamp(36px, 3.2vw, 52px); letter-spacing: -0.045em; line-height: .95; }
.launchcard h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.launchcard p { color: rgba(237, 240, 234, .78); margin-top: 14px; font-size: 15.5px; }
.launchcard form { display: flex; gap: 8px; margin-top: 22px; }
.launchcard .at { flex: 1; min-width: 0; display: flex; align-items: center; gap: 4px; height: 48px; padding: 0 14px; border-radius: var(--r);
  background: rgba(5, 7, 6, .62); border: 1px solid var(--line2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.launchcard .at span { color: var(--faint); font-size: 16px; }
.launchcard .at input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 16px; }
.launchcard .pill { height: 48px; }
.spot-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 18px 2px 0; font: 400 13px/1.5 var(--mono); color: var(--dim); }
.spot-meta b { color: var(--text); font-weight: 500; }
.spot-meta .up { color: var(--money); }
.empty-feature { display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: 48px 56px; }
.empty-feature .cheque-wrap { max-width: 640px; width: 100%; margin: 0 auto; }
.empty-feature .ef-copy { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: 640px; width: 100%; margin: 0 auto; }
.empty-feature h2 { font-size: clamp(26px, 2.2vw, 34px); letter-spacing: -0.035em; margin: 0; white-space: normal; }
.empty-feature h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ---------- The board: big coin cards ---------- */
.board { padding: 72px 0 40px; }
.board-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.board-head h2 { font-size: clamp(44px, 5vw, 76px); letter-spacing: -0.05em; }
.board-head h2 small { font: 500 15px/1 var(--mono); letter-spacing: 0; color: var(--faint); margin-left: 12px; vertical-align: .6em; }
.seg-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.seg-tabs button { border: 0; background: none; color: var(--dim); font: 500 14px/1 var(--sans); padding: 10px 14px; border-radius: 7px; cursor: pointer; transition: color .2s ease, background .2s ease; white-space: nowrap; }
.seg-tabs button:hover { color: var(--text); }
.seg-tabs button[aria-pressed="true"] { background: var(--surface2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line2); }
.grid-coins { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
  overflow: hidden; text-decoration: none; transition: transform .45s var(--ease), border-color .25s ease, background .25s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--line2); background: var(--surface2); }
.card-media { position: relative; aspect-ratio: 1 / 1; background: var(--surface2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.tag { position: absolute; top: 12px; left: 12px; font: 500 11.5px/1 var(--mono); padding: 6px 8px; border-radius: 6px;
  background: rgba(5, 7, 6, .72); color: var(--text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.card-body { padding: 16px; }
.card-title { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.card-title b { font: 600 20px/1.2 var(--display); letter-spacing: -0.03em; white-space: nowrap; }
.card-title span { color: var(--dim); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-stats { display: flex; justify-content: space-between; margin-top: 14px; font: 500 15px/1 var(--mono); }
.card-stats small { display: block; font: 400 12px/1 var(--sans); color: var(--faint); margin-bottom: 7px; }
.card-stats span:last-child { text-align: right; color: var(--dim); }
.card-curve { height: 3px; border-radius: 2px; background: var(--line2); overflow: hidden; margin-top: 14px; }
.card-curve i { display: block; height: 100%; background: var(--money); }
/* The stub: cream cheque paper, perforated from the card above it. */
.stub { position: relative; margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .14 0 0 0 0 .1 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(115deg, rgba(43, 100, 70, .05) 0 1px, transparent 1px 7px), linear-gradient(110deg, #f1ead6, #e7dec4);
  color: var(--paper-ink); border-top: 1.5px dashed rgba(19, 40, 29, .3); }
.stub::before, .stub::after { content: ''; position: absolute; top: -8px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); }
.stub::before { left: -8px; }
.stub::after { right: -8px; }
.card .stub::before, .card .stub::after { border: 1px solid var(--line); }
.stub-label { font: 600 9.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(19, 40, 29, .55); width: 3.6em; }
.stub-who { display: flex; align-items: center; gap: 7px; font: 400 18px/1 var(--serif); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stub-who img { width: 20px; height: 20px; border-radius: 4px; flex: none; }
.stub-amt { margin-left: auto; font: 600 14px/1 var(--mono); white-space: nowrap; }
.ghost-card { opacity: .5; border-style: dashed; }
.ghost-card .card-media { background: repeating-linear-gradient(135deg, var(--surface2) 0 10px, var(--surface) 10px 20px); }
.ghost-card:hover { opacity: .8; }
.more-row { display: flex; justify-content: center; margin-top: 28px; }

/* ---------- Unclaimed paychecks, as cards ---------- */
.accts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.acct { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 20px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); transition: border-color .25s ease, background .25s ease; }
.acct:hover { border-color: var(--line2); background: var(--surface2); }
.acct .av { width: 56px; height: 56px; border-radius: 12px; background: var(--surface2); display: grid; place-items: center; font: 600 20px/1 var(--display); color: var(--dim); object-fit: cover; grid-row: span 2; }
.acct a.n { text-decoration: none; }
.acct b { font: 600 18px/1.2 var(--display); letter-spacing: -0.02em; }
.acct .h { color: var(--dim); font-size: 14px; }
.acct .amt { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.acct .amt span { color: var(--dim); font-size: 13px; }
.acct .amt b { font: 500 22px/1 var(--mono); color: var(--red); }
.acct .tell { grid-column: 1 / -1; margin-top: 12px; justify-content: center; }
.acct-empty { padding: 28px; border-radius: 16px; border: 1px dashed var(--line2); color: var(--dim); }
.acct-empty a { color: var(--text); }

@media (max-width: 1100px) {
  .nav .wrap { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; row-gap: 10px; }
  .search { order: 3; flex-basis: 100%; max-width: none; margin: 0; }
  .search kbd { display: none; }
  .spot, .launch, .stock, .tok, .docs, .top, .handle-page { padding-top: 132px; }
  .spot { grid-template-columns: minmax(0, 1fr); }
  .feature { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .feature-media { aspect-ratio: 16 / 9; }
  .launchcard { min-height: 380px; }
}
@media (max-width: 760px) {
  .grid-coins { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { border-radius: 12px; }
  .card-body { padding: 12px; }
  .card-title { flex-direction: column; gap: 2px; }
  .card-title b { font-size: 17px; }
  .card-stats { font-size: 13px; }
  .card-stats span:last-child { display: none; }
  .stub { padding: 10px 12px; gap: 6px; }
  .stub-label { display: none; }
  .stub-who { font-size: 15px; }
  .stub-amt { font-size: 12px; }
  .seg-tabs { width: 100%; overflow-x: auto; }
  .feature-body { padding: 22px; }
  .feature .stub { padding: 14px 20px; }
  .feature .stub-who { font-size: 19px; }
}

.grid-coins.two-up { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.top .grid-coins { margin-top: 8px; }
@media (max-width: 760px) { .grid-coins.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ========== v4: PAYDAY's own identity ==========
   Bodoni Moda (a high-contrast banknote serif) for every headline and big number, Schibsted Grotesk for the interface,
   DM Mono for figures. A bank masthead: live treasury tape, centred engraved mark, links left, actions right. */
:root {
  --display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Schibsted Grotesk', system-ui, sans-serif;
  --serif: 'Bodoni Moda', 'Didot', Georgia, serif;
  --mono: 'DM Mono', ui-monospace, monospace;
  --top: 102px;
}
body { font-family: var(--sans); font-size: 16px; }
/* Didone display: real weight contrast, tighter than a grotesk, never cramped. */
h1, h2, h3, .h2, .figure, .big, .wordmark, .feature h2, .card-title b, .board-head h2, .launchcard h1, .band h2, .closer .h2,
.list-head h1, .launch-head h1, .tok header h1, .docs header h1, .who-head h1, .coin-id h1, .story-steps b, .block-title,
.group-title, .ticket-title, .claim h2, .split-ledger h3, .empty-feature h2, .acct b, .preview b, .coin-cell b {
  font-family: var(--display); font-optical-sizing: auto; }
h1, h2, .h2, .feature h2, .board-head h2, .launchcard h1, .band h2, .closer .h2, .list-head h1, .launch-head h1,
.tok header h1, .docs header h1, .who-head h1, .big, .split-ledger .figure { font-weight: 500 !important; letter-spacing: -0.025em !important; }
.h2 em, .hero h1 em, .launchcard h1 em, .band h2 em, .closer .h2 em, .empty-feature h2 em, .story-copy .h2 em { font-family: var(--display); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.card-title b, .story-steps b, .acct b, .block-title, .group-title, .ticket-title, .claim h2, .split-ledger h3, .preview b, .coin-cell b, .coin-id h1 {
  font-weight: 600; letter-spacing: -0.01em !important; }
.card-title b { font-size: 21px; }
.pill, .seg-tabs button, .tabs button, .chips button, .seg button { font-family: var(--sans); letter-spacing: 0; }
.pill { font-weight: 600; }
.cq-payee, .cq-words, .cq-memo b, .stub-who { font-family: var(--display); font-style: italic; }
.cq-bank b { font-family: var(--display); font-weight: 700; letter-spacing: .02em; }
.split-ledger .figure sup { font-family: var(--display); }

/* ---------- Masthead ---------- */
.masthead { position: fixed; inset: 0 0 auto; z-index: 50; }
.tape { height: 32px; display: flex; justify-content: center; align-items: center; gap: 34px; padding: 0 20px; overflow: hidden; white-space: nowrap;
  font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); background: #0a0f0c; border-bottom: 1px solid var(--line); }
.tape span:first-child { color: var(--text); }
.tape b { color: var(--money); font-weight: 500; }
.masthead .nav { position: relative; inset: auto; background: rgba(5, 7, 6, .82); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.masthead .nav .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 70px; max-width: none; padding: 0 32px; gap: 24px; }
.masthead .links { justify-self: start; display: flex; align-items: center; gap: 26px; }
.masthead .links a { font-size: 14.5px; }
.masthead .brand { justify-self: center; gap: 12px; }
.masthead .wordmark { font: 600 23px/1 var(--display); letter-spacing: .16em; margin-right: -.16em; }
.masthead .mark { width: 26px; height: 26px; }
.masthead .actions { justify-self: end; margin: 0; }
.icon-search { width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--r); border: 1px solid var(--line2); background: none; color: var(--dim); cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.icon-search:hover, .nav.searching .icon-search { color: var(--text); border-color: rgba(222, 236, 226, .32); }
.icon-search svg { width: 16px; height: 16px; }
.masthead .search { display: none; position: absolute; top: 100%; left: 0; right: 0; max-width: none; margin: 0; flex: none;
  background: rgba(5, 7, 6, .96); border-bottom: 1px solid var(--line); padding: 16px 0; }
.masthead .nav.searching .search { display: block; }
.masthead .search .wrap { position: relative; }
.masthead .search svg { left: 58px; width: 18px; height: 18px; }
.masthead .search input { height: 58px; font: 400 20px/1 var(--sans); padding: 0 70px 0 50px; border-radius: 10px; }
.masthead .search kbd { right: 58px; }

/* Everything below sits under the masthead. */
.spot { padding-top: calc(var(--top) + 26px); }
.launch, .tok, .docs, .top { padding-top: calc(var(--top) + 64px); }
.stock { padding-top: calc(var(--top) + 40px); }
.handle-page { padding-top: calc(var(--top) + 48px); }

@media (max-width: 1100px) {
  :root { --top: 70px; }
  .tape { display: none; }
  .masthead .links { display: none; }
  .masthead .nav .wrap { grid-template-columns: auto 1fr; padding: 12px 16px; height: 70px; }
  .masthead .brand { justify-self: start; }
  .masthead .search { display: none; order: 0; flex-basis: auto; }
  .masthead .search svg { left: 34px; }
  .masthead .search kbd { display: none; }
  .masthead .search input { padding-right: 16px; }
  .spot, .launch, .tok, .docs, .top, .stock, .handle-page { padding-top: calc(var(--top) + 24px); }
}
@media (max-width: 760px) {
  .masthead .wordmark { font-size: 20px; letter-spacing: .12em; }
  .masthead .mark { width: 22px; height: 22px; }
  .masthead .search .wrap { padding: 0 16px; }
  .masthead .search svg { left: 30px; }
}

/* ---------- $PAYDAY: the banknote page ---------- */
.tok2 { padding-top: calc(var(--top) + 56px); padding-bottom: 60px; }
.tok-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.tok-hero h1 { font-size: clamp(56px, 6.4vw, 104px); line-height: .9; }
.ca2 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.ca2 span { font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.ca2 b { font-weight: 500; color: var(--dim); font-size: 14.5px; }
.ca2 code { font: 400 14px/1.3 var(--mono); word-break: break-all; }
.note-wrap { container-type: inline-size; perspective: 1600px; --rx: 0deg; --ry: 0deg; --mx: 30%; --my: 20%; }
.note { position: relative; aspect-ratio: 1000 / 440; border-radius: 1.4cqw; overflow: hidden; color: #10402c;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .06 0 0 0 0 .2 0 0 0 0 .12 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(circle at 24% 50%, #f4f7ec 0%, rgba(244, 247, 236, 0) 30%), linear-gradient(115deg, #e6eedd 0%, #d6e3cc 60%, #cbdbc0 100%);
  transform: rotateZ(-1.5deg) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease);
  box-shadow: 0 2.6cqw 6cqw -2cqw rgba(0, 0, 0, .85), 0 .4cqw 1cqw rgba(0, 0, 0, .35); }
.note::after { content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 46%); }
.note .engraving path { stroke: #1f5a3c; }
.note .engraving .wave { opacity: .22; }
.note .engraving .rose { opacity: .16; }
.note-frame { position: absolute; inset: 2cqw; border: .35cqw double rgba(16, 64, 44, .55); border-radius: .8cqw; pointer-events: none; }
.note-frame::after { content: ''; position: absolute; inset: 1cqw; border: 1px solid rgba(16, 64, 44, .25); border-radius: .4cqw; }
.note-den { position: absolute; font: 700 7.4cqw/1 var(--display); letter-spacing: -0.02em; color: #10402c; }
.note-den.tl { top: 4.4cqw; left: 5cqw; }
.note-den.br { bottom: 4.2cqw; right: 5cqw; }
.note-seal { position: absolute; left: 13%; top: 50%; width: 30cqw; translate: 0 -50%; }
.note-seal svg { width: 100%; height: auto; }
.note-seal path { fill: none; stroke: #10402c; stroke-width: .8; vector-effect: non-scaling-stroke; opacity: .75; }
.note-main { position: absolute; right: 9%; top: 50%; translate: 0 -50%; text-align: right; display: flex; flex-direction: column; gap: 1cqw; }
.note-kick, .note-sub { font: 500 1.35cqw/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(16, 64, 44, .7); }
.note-main b { font: 700 8.6cqw/0.95 var(--display); letter-spacing: -0.01em; }
.note-serial { position: absolute; left: 5cqw; bottom: 5cqw; font: 500 2cqw/1 var(--mono); letter-spacing: .12em; color: #a33a22; }
.note-burn { position: absolute; right: 18%; top: 15%; transform: rotate(-8deg); border: .3cqw solid currentColor; border-radius: .6cqw; padding: .7cqw 1.6cqw .5cqw;
  font: 800 2.3cqw/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #c2412a; opacity: .85; }
.tok-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 72px; border-top: 1px solid var(--line2); }
.tok-facts > div { padding: 24px 24px 24px 0; border-right: 1px solid var(--line); }
.tok-facts > div + div { padding-left: 24px; }
.tok-facts > div:last-child { border-right: 0; }
.tok-facts dt { font-size: 13px; color: var(--dim); }
.tok-facts dd { margin: 10px 0 0; font: 500 clamp(26px, 2.6vw, 38px)/1 var(--display); letter-spacing: -0.02em; }
.tok-facts dd small { font: 400 14px/1 var(--mono); color: var(--red); margin-left: 6px; }
.tok-sec { margin-top: 120px; }
.tok-sec > .h2 { margin-bottom: 36px; }
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.flow li { position: relative; padding: 26px 24px 30px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.flow li:not(:last-child)::after { content: ''; position: absolute; right: -13px; top: 50%; width: 10px; height: 10px; border-top: 1.5px solid var(--faint); border-right: 1.5px solid var(--faint); rotate: 45deg; translate: 0 -50%; z-index: 1; }
.flow .n { font: 400 12px/1 var(--mono); color: var(--money); }
.flow b { display: block; font: 600 22px/1.15 var(--display); letter-spacing: -0.01em; margin-top: 46px; }
.flow p { color: var(--dim); font-size: 14.5px; margin-top: 10px; }
.flow li:last-child { background: linear-gradient(160deg, rgba(255, 106, 77, .1), var(--surface) 60%); border-color: rgba(255, 106, 77, .22); }
.supply2 { padding: 34px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.supply-head .h2 { font-size: clamp(34px, 3.4vw, 52px); }
.supply-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.supply-head span { font: 400 14px/1.4 var(--mono); color: var(--dim); }
.supply-head b { color: var(--text); font-weight: 500; }
.supply-head .burnt { color: var(--red); }
.supply2 .supply-bar { height: 14px; border-radius: 4px; }
.supply2 .rows { margin-top: 24px; }
.burn-list .coins { border-top: 1px solid var(--line2); }
@media (max-width: 1100px) {
  .tok-hero { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow li:nth-child(2)::after { display: none; }
}
@media (max-width: 760px) {
  .tok-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tok-facts > div:nth-child(2) { border-right: 0; }
  .tok-facts > div:nth-child(3) { padding-left: 0; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow li::after { display: none; }
  .flow b { margin-top: 22px; }
  .tok-sec { margin-top: 80px; }
  .supply2 { padding: 22px; }
}

/* Stamps stay a heavy grotesk: a rubber stamp, not a headline. */
.cq-stamp { font-family: var(--sans); font-weight: 800; letter-spacing: .04em; }
.cq-micr, .cq-no, .cq-bank span { font-family: var(--mono); }

/* ========== v5: no grotesk anywhere ==========
   Text is set in the banknote serif (Bodoni Moda; its optical sizes make small text calm and headlines sharp).
   Everything you press or read as a label — nav, buttons, tabs, field labels, small meta — is DM Mono in spaced
   capitals, like the type on a cheque. */
:root { --sans: 'Bodoni Moda', 'Didot', Georgia, serif; --ui: 'DM Mono', ui-monospace, monospace; --top: 70px; }
body { font-family: var(--sans); font-size: 17px; font-optical-sizing: auto; }
.lede, .prose, p { font-optical-sizing: auto; }

.pill, .ghost, .seg-tabs button, .tabs button, .chips button, .seg button, .presets button, .masthead .links a, footer nav a,
.field > span, .lookup label, .group-title small, .card-stats small, .feature .nums small, .tag, .kick, .stores a,
.amount > span:first-child, .rows dt, .facts dt, .tok-facts dt, .line-row > span:first-child, .totals span, .acct .amt span,
.acct .h, .avail, .delta, .grad p, .supply-head span, .ca2 span, .hint, .fine, .order-fine, .story-note, .under, .spot-meta,
.cheque-wrap .under, .list-head p, .board-head h2 small, .chip, .payee-card .who span span, .coin-cell span span,
table.coins th, .steps li, .alert, .gate, .cq-stamp, .note-burn {
  font-family: var(--ui); }
.pill, .ghost, .seg-tabs button, .tabs button, .chips button, .seg button, .masthead .links a, footer nav a {
  text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.pill { font-size: 12.5px; height: 46px; padding: 0 20px; }
.pill.sm { font-size: 11.5px; height: 38px; padding: 0 14px; }
.ghost { font-size: 11.5px; }
.seg-tabs button, .tabs button, .seg button { font-size: 12px; }
.chips button, .presets button { font-size: 12px; }
.masthead .links a, footer nav a { font-size: 12px; letter-spacing: .1em; }
.field > span, .lookup label, .card-stats small, .feature .nums small, .rows dt, .facts dt, .tok-facts dt, .totals span,
.acct .amt span, .amount > span:first-child, .supply-head span, .line-row > span:first-child {
  text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.hint, .fine, .order-fine, .avail, .spot-meta, .list-head p, .story-note, .alert, .gate, .steps li { font-size: 12.5px; letter-spacing: .02em; line-height: 1.6; }
.chip { font-size: 12px; }
.acct .h, .payee-card .who span span, .coin-cell span span { font-size: 12.5px; }
input, textarea { font-family: var(--ui); }
.input.big input, .lookup input, .cq-input input, .amount-box input { font-family: var(--display); }
.cq-stamp { font-weight: 500; letter-spacing: .16em; }
.note-burn { font-weight: 500; letter-spacing: .14em; }
.lede, .prose, .story-steps span, .split-ledger p, .flow p, .burn-cards p, .docs p, .docs li, .claim p, .launchcard p, .empty-feature p { font-size: 18px; line-height: 1.55; }
.card-title span, .feature .name, .coin-id p { font-family: var(--display); font-style: italic; }
.wordmark, footer .wordmark { font-family: var(--display); }
.masthead .brand .wordmark { letter-spacing: .18em; }

/* The X link and search sit side by side: same square, icon dead centre. */
.icon-search { box-sizing: border-box; padding: 0; line-height: 0; text-decoration: none; }
.icon-search svg { display: block; margin: auto; }
a.icon-search svg { width: 14px; height: 14px; }

/* $PAYDAY flow: a round arrow badge centred exactly on the gap between boxes. */
.flow li:not(:last-child)::after { content: ''; right: auto; left: 100%; top: 50%; width: 30px; height: 30px; border: 1px solid var(--line2);
  border-radius: 50%; rotate: none; translate: -7px -50%; margin-left: 0; background: var(--bg)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 4l4 4-4 4' fill='none' stroke='%23edf0ea' stroke-opacity='.7' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
  border-top: 1px solid var(--line2); border-right: 1px solid var(--line2); z-index: 2; }
@media (max-width: 1100px) { :root { --top: 70px; } }
