/* hashpay · the explorer. tokens from DESIGN.md. light-locked by brand (paper). */
@font-face { font-family: "Schibsted Grotesk"; src: url("/fonts/schibsted-grotesk.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("/fonts/martian-mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
/* metric-matched fallbacks so a late font swap does not reflow the hero */
@font-face { font-family: "sg-fallback"; src: local("Arial"), local("Liberation Sans"), local("Helvetica"); size-adjust: 98%; ascent-override: 92%; descent-override: 24%; }
@font-face { font-family: "mm-fallback"; src: local("Courier New"), local("Liberation Mono"), local("DejaVu Sans Mono"); size-adjust: 118%; ascent-override: 90%; descent-override: 22%; }

:root {
  --paper: #fcf7ec; --paper-2: #f3ecdc; --paper-3: #e9e1cd;
  --ink: #101010; --ink-2: #3d3a35; --ink-3: #6b665c;
  --line: rgba(16,16,16,.14); --line-2: rgba(16,16,16,.3);
  --orange: #f08000; --orange-2: #ffb25c; --orange-3: #b85f00; --orange-text: #a85600; --orange-display: #d46f00;
  --block-top: #2b2b2b; --block-side: #000;
  --sans: "Schibsted Grotesk", "sg-fallback", system-ui, sans-serif;
  --mono: "Martian Mono", "mm-fallback", ui-monospace, monospace;
  --col: min(1560px, 100vw - 48px);
  --gut: 24px; --nav: 56px; --S: 125px; --pitch: calc(var(--S) * 1.24);
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; font: 400 16px/1.45 var(--sans); background: var(--paper); color: var(--ink); overflow-x: clip; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--orange); }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 60; padding: 10px 14px; background: var(--ink); color: var(--paper); border-radius: 6px; }
.skip:focus { top: 8px; }
[id] { scroll-margin-top: 80px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.col { width: var(--col); margin-inline: auto; }
.mono, .num { font-family: var(--mono); font-feature-settings: "tnum" 1; line-height: 1.4; }
.label { font: 500 12px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
/* the explorer's type move: the one accent word in a headline is set in the data face (martian mono) in orange, like a value field */
.acc { font-family: var(--mono); font-style: normal; font-weight: 500; font-size: .84em; letter-spacing: -.03em; color: var(--orange-display); vertical-align: 0; }
.live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); vertical-align: middle; animation: pulse 1.6s ease-in-out infinite; }
.live.off { background: var(--ink-3); animation: none; }
@keyframes pulse { 0%,100% { opacity: .35; transform: scale(.75); } 50% { opacity: 1; transform: scale(1); } }

/* ---------------------------------------------------------------- buttons */
.btn, .ca, .tabs a, .addr button, .pill { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 6px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; will-change: transform; }
.btn.primary { background: var(--orange); border-color: var(--orange); color: var(--ink); font-weight: 500; }
@media (hover: hover) { .btn:hover { text-decoration: none; background: var(--paper-3); } .btn.primary:hover { background: var(--orange-2); border-color: var(--orange-2); } }
.btn.big { height: 44px; padding: 0 22px; font-size: 16px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn.copied { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav); background: var(--paper); border-bottom: 1px solid var(--line); }
.nav .in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; width: var(--col); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.2px; }
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
.ticker { display: flex; align-items: center; gap: 14px; font: 500 12px/1 var(--mono); font-feature-settings: "tnum" 1; color: var(--ink-2); white-space: nowrap; }
.ticker b { font-weight: 500; color: var(--ink); }
.ticker .sep { width: 1px; height: 14px; background: var(--line-2); }
.links { display: flex; justify-content: flex-end; align-items: center; gap: 22px; font-size: 14px; }
.links a[aria-current] { font-weight: 500; }
.links .x { width: 16px; height: 16px; }
.ca { display: none; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 4px; font: 500 12px/1 var(--mono); cursor: pointer; background: transparent; }
.ca.on { display: inline-flex; }
[data-x]:not(.on) { display: none !important; }
.ca:hover { background: var(--paper-3); }
.tabs { display: none; }

/* ---------------------------------------------------------------- hero */
.hero { padding-top: 40px; }
.hero .head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.h1 { margin: 0; font: 700 clamp(40px, 3.6vw, 68px)/1.05 var(--sans); letter-spacing: -.028em; text-wrap: balance; }

.h1 .l, .hero .sub .l, .hero .cta .l { display: block; animation: rise .8s var(--ease) both; }
.h1 .l:nth-child(2) { animation-delay: .08s; }
.hero .sub { margin: 18px 0 0; font-size: clamp(17px, 1.2vw, 21px); color: var(--ink-2); }
.hero .sub .l { animation-delay: .18s; }
.hero .cta { display: flex; gap: 12px; margin-top: 24px; }
.hero .cta .l { display: flex; gap: 12px; animation-delay: .26s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.figure { border-left: 1px solid var(--line); padding-left: 32px; animation: rise .9s var(--ease) .2s both; }
.figure .label { display: flex; align-items: center; gap: 8px; }
.figure .big { font: 500 clamp(56px, 5vw, 96px)/1 var(--mono); font-feature-settings: "tnum" 1; letter-spacing: -.04em; margin-top: 12px; overflow-wrap: anywhere; }
.figure .sub3 { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 32px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.figure .sub3 .v { font: 500 24px/1.1 var(--mono); font-feature-settings: "tnum" 1; letter-spacing: -.02em; margin-top: 6px; }

/* the block strip */
.strip { position: relative; height: 260px; margin-top: 36px; user-select: none; }
.strip .scroll { position: absolute; inset: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.strip .scroll::-webkit-scrollbar { display: none; }
.strip .pos { position: absolute; top: 75px; left: 50%; width: 0; height: 0; }
.strip .divider { position: absolute; left: -1px; top: -50px; width: 0; height: 200px; border-left: 2px dashed var(--ink); animation: fade .6s both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.strip .next, .strip .mined { position: absolute; top: 0; height: var(--S); }
.strip .next { right: calc(var(--S) * .32); }
.strip .mined { left: calc(var(--S) * .32); }
.block { position: absolute; top: 0; width: var(--S); height: var(--S); background: var(--ink); color: var(--paper); text-align: center; transition: left .6s var(--ease), right .6s var(--ease), background .6s, opacity .6s, transform .6s var(--ease); animation: slide-in .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
.strip .mined .block { left: calc(var(--n) * var(--pitch)); }
.strip .next .block { right: calc(var(--n) * var(--pitch)); }
@keyframes slide-in { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.strip .next .block { animation-name: slide-in-r; }
@keyframes slide-in-r { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
.block::after { content: ""; position: absolute; width: var(--S); height: calc(.192 * var(--S)); top: calc(-.192 * var(--S)); left: calc(-.16 * var(--S)); background: var(--block-top); transform: skew(40deg); transform-origin: top; }
.block::before { content: ""; position: absolute; width: calc(.16 * var(--S)); height: var(--S); top: calc(-.096 * var(--S)); left: calc(-.16 * var(--S)); background: var(--block-side); transform: skewY(50deg); transform-origin: top; }
.block .face { position: absolute; inset: 0; overflow: hidden; }
.block .body { position: absolute; inset: 0; padding: calc(.08 * var(--S)) 6px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-feature-settings: "tnum" 1; }
a.block, a.block:hover { text-decoration: none; color: var(--paper); }
a.block.mining, a.block.mining:hover { color: var(--ink); }
.strip.paused .strike, .strip.paused .chip, .strip.paused .face::after { animation-play-state: paused; }
.block .t1 { font: 400 11px/1.3 var(--mono); opacity: .85; }
.block .t2 { font: 700 15px/1.2 var(--mono); font-feature-settings: "tnum" 1; }
.block .t3 { font: 400 11px/1.3 var(--mono); opacity: .8; }
.block .t4 { font: 400 11px/1.3 var(--mono); margin-top: 2px; opacity: .9; }
.block .above { position: absolute; left: calc(-.16 * var(--S)); width: calc(var(--S) * 1.16); bottom: calc(var(--S) + .3 * var(--S)); font: 500 14px/1.2 var(--mono); color: var(--ink); text-align: center; }
.block .below { position: absolute; left: 0; width: 100%; top: calc(var(--S) + 12px); display: flex; justify-content: center; align-items: center; gap: 6px; font: 700 12px/1 var(--mono); color: var(--ink); }
.block .below img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.block.mining { background: var(--paper-2); color: var(--ink); outline: 1px solid var(--orange); outline-offset: -1px; --block-top: var(--orange-2); --block-side: var(--orange-3); }
.block.mining .fill { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; background: var(--orange); transform-origin: bottom; transform: scaleY(calc(var(--fill, 0) / 100)); animation: fill-rise 1.6s var(--ease) backwards; transition: transform 1s linear; will-change: transform; }
@keyframes fill-rise { from { transform: scaleY(0); } to { transform: scaleY(calc(var(--fill, 0) / 100)); } }
.block.mining .face::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 38%; background: linear-gradient(to bottom, rgba(240,128,0,0), rgba(240,128,0,.34), rgba(240,128,0,0)); animation: sheen 1.8s linear infinite; will-change: transform; }
@keyframes sheen { from { transform: translateY(0); } to { transform: translateY(380%); } }
.block.mining .body { z-index: 1; }
.block.mining .t2 { font-size: 16px; }
.block.mining .below { color: var(--ink); }
.block.ghost { background: transparent; color: var(--ink-3); outline: 1px dashed var(--line-2); outline-offset: -1px; }
.block.ghost::before, .block.ghost::after { background: transparent; outline: 1px dashed var(--line); outline-offset: -1px; }
.block.ghost .t1 { max-width: 100px; }
/* the cursor strike: the mark's arrow taps the mining block on a loop (transform only) */
.strike { position: absolute; right: calc(-.2 * var(--S)); bottom: calc(-.24 * var(--S)); width: calc(.42 * var(--S)); height: calc(.42 * var(--S)); z-index: 2; pointer-events: none; animation: strike 2.4s var(--ease) infinite; transform-origin: 18% 10%; }
.strike svg { width: 100%; height: 100%; }
.chip { position: absolute; width: 8px; height: 8px; background: var(--orange); clip-path: polygon(0 0, 100% 30%, 50% 100%); opacity: 0; z-index: 2; pointer-events: none; animation: chip 2.4s var(--ease) infinite; }
.chip.c1 { right: -6px; top: 40%; } .chip.c2 { right: -2px; top: 26%; animation-delay: .05s; } .chip.c3 { right: -12px; top: 54%; animation-delay: .1s; }
@keyframes strike { 0%, 28% { transform: translate(16px, 16px) rotate(-6deg); } 40% { transform: translate(0, 0) rotate(0); } 45% { transform: translate(2px, 2px); } 62%, 100% { transform: translate(16px, 16px) rotate(-6deg); } }
@keyframes chip { 0%, 39% { opacity: 0; transform: translate(0, 0) scale(.6); } 43% { opacity: 1; } 75%, 100% { opacity: 0; transform: translate(26px, -22px) rotate(60deg) scale(1); } }
.strip .hint { position: absolute; left: calc(50% + 28px); top: 218px; max-width: min(48vw, 640px); font: 400 12px/1.4 var(--mono); color: var(--ink-3); animation: fade 1s .6s both; }

/* ---------------------------------------------------------------- stat tiles */
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 16px; }
.tile { padding: 18px 20px 18px 0; border-right: 1px solid var(--line); margin-right: 20px; min-width: 0; }
.tile:last-child { border-right: 0; margin-right: 0; }
.tile .v { margin-top: 8px; font: 500 32px/1.1 var(--mono); font-feature-settings: "tnum" 1; letter-spacing: -.02em; overflow-wrap: anywhere; }
.tile .v small { font-size: 16px; color: var(--ink-3); margin-left: 4px; letter-spacing: 0; }
.tile .u { margin-top: 6px; font: 400 12px/1.3 var(--mono); color: var(--ink-3); }

/* ---------------------------------------------------------------- sections */
section { padding: 64px 0; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.h2 { margin: 0; font: 700 clamp(28px, 2.2vw, 40px)/1.1 var(--sans); letter-spacing: -.025em; }
.lead { margin: 10px 0 0; max-width: 60ch; font-size: 17px; color: var(--ink-2); }
.h3 { margin: 0 0 10px; font: 700 20px/1.2 var(--sans); letter-spacing: -.01em; }
.row-line { font: 400 14px/1.6 var(--sans); color: var(--ink-2); }

/* how it works: three product rows */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { border-top: 2px solid var(--ink); padding-top: 16px; min-width: 0; }
.step .h3 { margin-top: 10px; }
.step p { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; }
.ui { border: 1px solid var(--line); background: var(--paper); font-family: var(--mono); font-size: 12px; font-feature-settings: "tnum" 1; line-height: 1.3; }
.ui .hd { display: grid; padding: 8px 12px; background: var(--paper-2); color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; font-size: 11px; font-weight: 500; }
.ui .rw { display: grid; padding: 12px; border-top: 1px solid var(--line); align-items: center; gap: 8px; }
.ui .rw b { font-weight: 500; }
.ui .rw .o { color: var(--orange-text); font-weight: 500; }
.ui .rw .m { color: var(--ink-3); }
.ui .bar { height: 6px; background: var(--paper-3); position: relative; overflow: hidden; }
.ui .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--orange); }
.ui .bar i.k { background: var(--ink); }
.ui .cube { width: 14px; height: 14px; background: var(--ink); display: inline-block; vertical-align: -2px; margin-right: 6px; }
.ui .cube.o { background: var(--orange); }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 10px; align-items: center; padding: 12px; border-top: 1px solid var(--line); }
.flow .box { border: 1px solid var(--line-2); padding: 10px; text-align: center; }
.flow .box b { display: block; font-size: 15px; font-weight: 500; margin-top: 4px; }
.flow .box.o { border-color: var(--orange); background: rgba(240,128,0,.08); }
.flow .ar { color: var(--orange-text); font-size: 16px; }

/* tables */
.tbl { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 14px; font-feature-settings: "tnum" 1; line-height: 1.2; }
.tbl th { text-align: left; font: 500 12px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); background: var(--paper-2); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.tbl td.r, .tbl th.r { text-align: right; }
.tbl tr.new td { animation: flash .6s both; }
@keyframes flash { from { background: var(--paper-3); } to { background: transparent; } }
.tbl .coinc { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 500; font-size: 15px; }
.tbl .coinc img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.tbl .coinc small { font: 400 12px/1 var(--mono); color: var(--ink-3); }
.tbl .sig { color: var(--ink-2); }
.tbl .bar { display: inline-block; width: 110px; height: 8px; background: var(--paper-3); vertical-align: middle; position: relative; margin-right: 8px; }
.tbl .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--orange); }
.tbl .st { color: var(--orange-text); font-weight: 500; }
.tbl .st.k { color: var(--ink-3); font-weight: 400; }
.empty { display: none; }
.empty.on { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.empty .mono { color: var(--ink-3); font-size: 13px; }
.tblwrap { overflow-x: auto; scrollbar-width: thin; }
.more { display: block; padding: 12px; font: 400 13px/1.2 var(--mono); color: var(--ink-3); }

/* ---------------------------------------------------------------- miner panel */
.miner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; border: 1px solid var(--line); }
.miner .left { padding: 24px; border-right: 1px solid var(--line); }
.miner .right { padding: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 24px 20px; align-content: start; }
.field { display: block; margin-top: 16px; }
.field span { display: block; margin-bottom: 6px; }
.field > .label { text-transform: none; letter-spacing: 0; }
.field input, .field textarea, .field select { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--paper); color: var(--ink); font: 400 14px/1.2 var(--mono); }
.field textarea { height: auto; padding: 10px 12px; min-height: 88px; resize: vertical; font-family: var(--sans); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
.field input.addr { border-radius: 10px; height: 48px; }
.field .hint { margin-top: 6px; font: 400 12px/1.4 var(--mono); color: var(--ink-3); }
.field .err { margin-top: 6px; font: 400 13px/1.4 var(--sans); color: var(--orange-3); display: none; }
.field.bad input { border-color: var(--orange-3); }
.field.bad .err { display: block; }
.miner .actions { display: flex; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.miner .status { font: 400 13px/1.4 var(--mono); color: var(--ink-2); margin-top: 14px; min-height: 20px; }
.stat { min-width: 0; }
.stat .v { margin-top: 6px; font: 500 28px/1.1 var(--mono); font-feature-settings: "tnum" 1; letter-spacing: -.02em; overflow-wrap: anywhere; }
.stat .v small { font-size: 14px; color: var(--ink-3); margin-left: 4px; }
.stat .u { margin-top: 4px; font: 400 12px/1.3 var(--mono); color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spark { grid-column: 1 / -1; height: 56px; width: 100%; display: block; }
.range { width: 100%; accent-color: var(--orange); margin-top: 8px; }
.engines { display: flex; gap: 10px; margin-top: 8px; font: 400 12px/1 var(--mono); color: var(--ink-3); }
.engines b { color: var(--ink); font-weight: 500; }

/* ---------------------------------------------------------------- launch band */
.band { background: var(--orange); color: var(--ink); padding: 56px 0; }
.band > .in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.band .h2 .acc { color: var(--ink); }
.band p { margin: 10px 0 0; font-size: 17px; max-width: 56ch; }
.band .btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.band .btn:hover { background: #2b2b2b; }
.band .btn.ghost { background: transparent; color: var(--ink); }
.band .btn.ghost:hover { background: rgba(16,16,16,.08); }
.band .fees { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, 52px); grid-auto-flow: column; column-gap: 40px; font-family: var(--mono); font-size: 13px; line-height: 1; font-feature-settings: "tnum" 1; }
.band .fees div { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid rgba(16,16,16,.35); white-space: nowrap; }
.band .fees div:nth-child(4n+1) { border-top: 1px solid rgba(16,16,16,.35); }
.band .fees b { font-weight: 500; text-align: right; }

/* ---------------------------------------------------------------- footer */
footer { border-top: 1px solid var(--line); padding: 48px 0 96px; font-size: 14px; }
footer .top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; }
footer .tag { color: var(--ink-2); max-width: 36ch; margin-top: 12px; }
footer .fl { display: flex; gap: 20px; margin-top: 20px; }
.addrs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.addr { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto auto; min-width: 0; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font: 400 13px/1.3 var(--mono); }
.addr .k { color: var(--ink-3); }
.addr .a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.addr .a.unset { color: var(--ink-3); }
.addr button { height: 28px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 4px; background: transparent; font: 400 11px/1 var(--mono); cursor: pointer; }
.addr button:hover { background: var(--paper-3); }
.addr a.ex { font-size: 11px; color: var(--ink-3); }
footer .bottom { margin-top: 32px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--ink-3); font: 400 12px/1.4 var(--mono); }

/* ---------------------------------------------------------------- docs + inner pages */
.page { padding: 40px 0 64px; }
.page .h1 { font-size: clamp(36px, 3vw, 56px); }
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; margin-top: 32px; }
.prose { min-width: 0; }
.toc { position: sticky; top: calc(var(--nav) + 24px); align-self: start; font: 400 13px/1.4 var(--mono); }
.toc a { display: block; padding: 8px 0; color: var(--ink-2); border-left: 2px solid transparent; padding-left: 10px; margin-left: -12px; }
.toc a.on { color: var(--ink); border-left-color: var(--orange); }
.prose { max-width: 76ch; font-size: 16px; }
.prose h2 { font: 700 28px/1.15 var(--sans); letter-spacing: -.02em; margin: 56px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font: 700 18px/1.25 var(--sans); margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin: 0 0 12px; }
.prose ol, .prose ul { padding-left: 22px; margin: 0 0 12px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { font-family: var(--mono); color: var(--orange-text); font-size: 13px; }
.prose code, .prose kbd { font: 400 .88em/1.3 var(--mono); background: var(--paper-2); padding: 1px 5px; border-radius: 3px; color: var(--ink); overflow-wrap: anywhere; }
.prose pre { background: var(--paper-2); border: 1px solid var(--line); padding: 14px 16px; overflow-x: auto; font: 400 12.5px/1.5 var(--mono); margin: 0 0 14px; }
.prose pre code { background: transparent; padding: 0; font-size: inherit; }
.prose .tbl { font-size: 13px; margin: 0 0 14px; }
.prose .tbl td { white-space: normal; }
.prose .tbl th { white-space: normal; }
.prose .tbl code { white-space: nowrap; }
.prose .tbl, .prose .tbl th, .prose .tbl td { line-height: 1.4; }
.prose .addr { grid-template-columns: 200px minmax(0, 1fr) auto auto; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose .faq dt { font-weight: 500; color: var(--ink); margin-top: 18px; }
.prose .faq dd { margin: 6px 0 0; color: var(--ink-2); }
.note { border-left: 2px solid var(--orange); padding: 2px 0 2px 14px; margin: 16px 0; color: var(--ink-2); }

/* verify / ledger / launch panels */
.panel { border: 1px solid var(--line); padding: 24px; }
.panel + .panel { margin-top: 24px; }
.two > .panel + .panel { margin-top: 0; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.docs > *, .two > *, .miner > *, .hero .head > *, .coinhead > *, footer .top > *, .band > .in > *, .tile, .step { min-width: 0; }
.result { margin-top: 16px; font: 400 13px/1.6 var(--mono); font-feature-settings: "tnum" 1; color: var(--ink-2); word-break: break-all; }
.result b { font-weight: 500; color: var(--ink); }
.result .ok { color: var(--orange-text); font-weight: 500; }
.result .no { color: var(--ink); font-weight: 500; }
.kv { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 6px 16px; font: 400 13px/1.5 var(--mono); font-feature-settings: "tnum" 1; }
.kv .k { color: var(--ink-3); }
.chart { border: 1px solid var(--line); height: 420px; }
.chart iframe { width: 100%; height: 100%; border: 0; display: block; }
.coinhead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.coinhead img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.coinhead .row { display: flex; gap: 16px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 4px; font: 400 12px/1 var(--mono); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coinhead .h1 { overflow-wrap: anywhere; }
.feesline { font-family: var(--mono); font-size: 13px; font-feature-settings: "tnum" 1; border-top: 1px solid var(--line); }
.feesline div { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); }
.feesline b { font-weight: 500; text-align: right; }
.wallet { display: flex; align-items: center; gap: 10px; }

/* custom cursor (desktop fine pointers only, added by js) */
.cur { position: fixed; left: 0; top: 0; width: 22px; height: 22px; pointer-events: none; z-index: 100; display: none; transform: translate(-3px, -2px); will-change: transform; }
html.has-cur .cur { display: block; }
html.has-cur, html.has-cur a, html.has-cur button, html.has-cur [role="button"] { cursor: none; }
html.has-cur input, html.has-cur textarea, html.has-cur select { cursor: auto; }
html.has-cur.cur-text .cur { display: none; }

/* reveals (gsap sets the end state; nothing hidden without js) */
[data-reveal] { opacity: 1; }
html.js [data-reveal] { opacity: 0; transform: translateY(16px); }
html.js [data-reveal].in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* ---------------------------------------------------------------- mobile */
@media (max-width: 1100px) {
  .hero .head { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .figure { border-left: 0; padding-left: 0; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile:nth-child(3) { border-right: 0; }
  .steps { grid-template-columns: 1fr; }
  .miner, .band > .in, footer .top, .coinhead, .two { grid-template-columns: minmax(0, 1fr); }
  .miner .left { border-right: 0; border-bottom: 1px solid var(--line); }
  .docs { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .toc a { border-left: 0; margin: 0; padding: 4px 0; }
  .addrs { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --col: calc(100vw - 32px); --gut: 16px; --S: 88px; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .btn { height: 44px; padding: 0 18px; }
  .field input, .field textarea, .field select { font-size: 16px; }
  .toc a { padding: 10px 0; }
  footer .fl a { padding: 8px 0; }
  section { padding: 40px 0; }
  .nav .in { grid-template-columns: auto 1fr auto; gap: 10px; }
  .ticker { font-size: 11px; gap: 8px; overflow: hidden; justify-self: end; }
  .ticker .hide-m { display: none; }
  .links { display: none; }
  .tabs { display: grid; position: fixed; left: 0; right: 0; bottom: 0; height: calc(56px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); grid-template-columns: repeat(5, 1fr); background: var(--paper); border-top: 1px solid var(--line); z-index: 50; }
  .tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }
  .tabs a svg { width: 18px; height: 18px; }
  .tabs a[aria-current] { background: var(--orange); color: var(--ink); }
  .tabs a:hover { text-decoration: none; }
  .hero { padding-top: 24px; }
  .h1 { font-size: 38px; }
  .hero .sub { font-size: 16px; margin-top: 12px; }
  .hero .cta { margin-top: 18px; }
  .figure .big { font-size: 52px; }
  .figure .sub3 { gap: 20px; }
  .figure .sub3 .v { font-size: 20px; }
  .strip { height: 220px; margin-top: 20px; }
  .strip .pos { top: 64px; left: 236px; }
  .strip .scroll { width: 100%; }
  .strip .rail { position: relative; width: 980px; height: 100%; }
  .strip { height: 258px; }
  .strip .divider { height: 190px; }
  .strip .hint { top: auto; bottom: 2px; left: 16px; right: 16px; max-width: none; font-size: 11px; }
  .block .t1 { font-size: 11px; } .block .t2 { font-size: 13px; } .block.mining .t2 { font-size: 14px; } .block .t3 { font-size: 11px; } .block .t4 { font-size: 11px; }
  .block .body { padding-left: 3px; padding-right: 3px; }
  .block .above { font-size: 12px; bottom: calc(var(--S) + .26 * var(--S)); }
  .block .below { font-size: 11px; top: calc(var(--S) + 8px); }
  .strike { right: calc(-.24 * var(--S)); bottom: calc(-.3 * var(--S)); }
  .tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tile { padding: 14px 12px 14px 0; margin-right: 12px; }
  .tile:nth-child(3) { border-right: 1px solid var(--line); }
  .tile:nth-child(2n) { border-right: 0; }
  .tile .v { font-size: 24px; }
  .sec-h { flex-direction: column; align-items: flex-start; gap: 8px; }
  .h2 { font-size: 28px; }
  .miner .left, .miner .right { padding: 16px; }
  .miner .right { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .stat .v { font-size: 22px; }
  .band { padding: 40px 0; }
  .band .fees { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; grid-auto-rows: minmax(48px, auto); }
  .band .fees div { white-space: normal; padding: 10px 0; }
  .band .fees div:nth-child(4n+1) { border-top: 0; }
  .band .fees div:first-child { border-top: 1px solid rgba(16,16,16,.35); }
  .panel { padding: 16px; }
  .addr { grid-template-columns: minmax(0, 1fr) auto auto; }
  .addr .k { grid-column: 1 / -1; padding-bottom: 0; }
  .prose .addr { grid-template-columns: minmax(0, 1fr) auto auto; }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .kv span { overflow-wrap: anywhere; }
  .kv .k { margin-top: 8px; }
  .chart { height: 320px; }
  .prose h2 { font-size: 24px; margin-top: 40px; }
  .prose pre { font-size: 11.5px; }
  footer { padding: 32px 0 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; scroll-behavior: auto !important; }
  .live { animation: none; opacity: 1; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
