/* Hoisted. A building site at night: near-black, one hi-vis orange, stencil signage for the big words.
   Type: Big Shoulders Stencil (headlines and floors), Hanken Grotesk (text and figures), Fragment Mono (addresses). */
@font-face { font-family: 'Big Shoulders Stencil'; font-style: normal; font-weight: 700 900; font-display: swap; src: url(../fonts/big-shoulders-stencil.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(../fonts/hanken-grotesk.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: italic; font-weight: 300 800; font-display: swap; src: url(../fonts/hanken-grotesk-italic.woff2) format('woff2'); }
@font-face { font-family: 'Fragment Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/fragment-mono.woff2) format('woff2'); }

:root {
  --ink: #0B0B0C; --ink-2: #111113; --panel: #151517; --panel-2: #1B1B1E; --line: #26262A; --line-2: #34343A;
  --text: #F3F1EC; --soft: #C9C5BD; --mute: #8D8A84; --dim: #5F5C58;
  --hi: #FF6A13; --hi-2: #FF8A45; --hi-ink: #0B0B0C; --hi-glow: rgba(255, 106, 19, .22);
  --good: #5BD68A; --bad: #FF5D5D; --warn: #FFC23D;
  --display: 'Big Shoulders Stencil', 'Hanken Grotesk', system-ui, sans-serif;
  --body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Fragment Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --r: 14px; --r-sm: 9px; --side: 236px; --top: 60px;
  --ease: cubic-bezier(.2, .9, .25, 1.15); --ease-out: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { background: var(--ink); color: var(--text); font: 400 16px/1.55 var(--body); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; font-feature-settings: 'tnum' 1, 'ss01' 1; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--hi); color: var(--hi-ink); }
:focus-visible { outline: 2px solid var(--hi); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: -.01em; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- the shell: sidebar, top bar, phone tab bar ---------- */
.shell { display: grid; grid-template-columns: var(--side) 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; border-right: 1px solid var(--line); background: var(--ink-2); display: flex; flex-direction: column; padding: 18px 14px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 4px 6px; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand b { font: 900 25px/1 var(--display); letter-spacing: .02em; }
.brand small { display: block; font: 500 11px/1.2 var(--body); color: var(--mute); letter-spacing: .02em; margin-top: 3px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--soft); font-weight: 550; font-size: 14.5px; transition: background .18s, color .18s; }
.nav a svg { width: 18px; height: 18px; flex: none; opacity: .75; }
.nav a:hover { background: var(--panel); color: var(--text); }
.nav a[aria-current] { background: var(--panel-2); color: var(--text); box-shadow: inset 2px 0 0 var(--hi); }
.nav a[aria-current] svg { opacity: 1; color: var(--hi); }
.nav .sub { padding-left: 38px; font-size: 13.5px; font-weight: 500; color: var(--mute); }
.nav .sub[aria-current] { box-shadow: none; background: none; color: var(--hi); }
.side-foot { margin-top: auto; font-size: 12px; color: var(--mute); display: grid; gap: 8px; padding: 0 6px; }
.side-foot .rec { display: flex; justify-content: space-between; gap: 8px; }
.side-foot .rec span:last-child { color: var(--dim); }
.main { min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 20; height: var(--top); display: flex; align-items: center; gap: 12px; padding: 0 24px; background: rgba(11, 11, 12, .82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); }
.top .crumb { font: 800 19px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--soft); white-space: nowrap; }
.ca { display: flex; align-items: center; gap: 8px; margin-left: auto; padding: 5px 6px 5px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--mute); min-width: 0; }
.ca b { color: var(--soft); font-weight: 600; white-space: nowrap; }
.ca .mono { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca button { border: 0; border-radius: 999px; padding: 5px 11px; background: var(--panel-2); color: var(--soft); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.ca button:disabled { opacity: .45; cursor: default; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 600; color: var(--soft); white-space: nowrap; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.pill[data-s='live'] i { background: var(--good); box-shadow: 0 0 0 4px rgba(91, 214, 138, .16); animation: beat 2.4s ease-in-out infinite; }
.pill[data-s='syncing'] i { background: var(--warn); }
.pill[data-s='stale'] i, .pill[data-s='offline'] i { background: var(--bad); }
.pill[data-s='soon'] i { background: var(--hi); }
@keyframes beat { 50% { box-shadow: 0 0 0 7px rgba(91, 214, 138, 0); } }
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--hi); z-index: 40; pointer-events: none; }
.tabs { display: none; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 28px 28px 96px; }

/* ---------- type ---------- */
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 12.5px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--hi); }
.kicker::before { content: ''; width: 18px; height: 2px; background: currentColor; }
h1, h2, h3 { margin: 0; font-weight: 900; font-family: var(--display); text-transform: uppercase; letter-spacing: .01em; line-height: .92; }
h1 { font-size: clamp(54px, 7.2vw, 104px); }
h2 { font-size: clamp(40px, 4.8vw, 66px); }
h3 { font-size: 27px; line-height: 1; }
h1 em, h2 em { font-style: normal; color: var(--hi); }
.lede { font-size: 18.5px; line-height: 1.55; color: var(--soft); max-width: 58ch; }
.small { font-size: 13.5px; color: var(--mute); }
p { margin: 0; }
.section { padding-top: 96px; scroll-margin-top: calc(var(--top) + 12px); }
.section-head { display: grid; gap: 14px; margin-bottom: 30px; max-width: 760px; }
.section-head p { color: var(--soft); font-size: 17px; }

/* ---------- buttons, chips, fields ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text); font-weight: 700; font-size: 15.5px; text-decoration: none; cursor: pointer; transition: transform .16s var(--ease), background .18s, border-color .18s, box-shadow .18s; white-space: nowrap; }
.btn:hover { border-color: #46464d; }
.btn:active { transform: scale(.97); }
.btn.go { background: var(--hi); border-color: var(--hi); color: var(--hi-ink); box-shadow: 0 10px 30px -10px var(--hi-glow), inset 0 -2px 0 rgba(0, 0, 0, .18); }
.btn.go:hover { background: var(--hi-2); border-color: var(--hi-2); }
.btn:disabled, .btn[aria-disabled='true'] { opacity: .5; cursor: not-allowed; transform: none; }
.btn.small { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.btn svg { width: 18px; height: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 650; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--soft); white-space: nowrap; }
.chip.hi { background: rgba(255, 106, 19, .12); border-color: rgba(255, 106, 19, .4); color: var(--hi-2); }
.chip.good { background: rgba(91, 214, 138, .1); border-color: rgba(91, 214, 138, .35); color: var(--good); }
.chip.bad { background: rgba(255, 93, 93, .1); border-color: rgba(255, 93, 93, .35); color: var(--bad); }
.chip.window { background: repeating-linear-gradient(-45deg, rgba(255, 106, 19, .18) 0 7px, rgba(255, 106, 19, .05) 7px 14px); border-color: rgba(255, 106, 19, .5); color: var(--text); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.seg button { height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); color: var(--soft); font-weight: 650; font-size: 14px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.seg button[aria-pressed='true'] { background: var(--text); color: var(--ink); border-color: var(--text); }
.field { display: grid; gap: 7px; }
.field > span { font-size: 13.5px; font-weight: 650; color: var(--soft); }
.field > small { font-size: 12.5px; color: var(--mute); }
.field .err { font-size: 12.5px; color: var(--bad); min-height: 0; }
.input, textarea.input { width: 100%; height: 46px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--ink-2); color: var(--text); font-size: 15.5px; transition: border-color .15s, box-shadow .15s; }
textarea.input { height: 92px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.input:focus { outline: none; border-color: var(--hi); box-shadow: 0 0 0 4px var(--hi-glow); }
.field.bad .input { border-color: var(--bad); }
.affix { position: relative; }
.affix > b { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--mute); font-weight: 600; pointer-events: none; }
.affix > .input { padding-left: 30px; }

/* ---------- cards ---------- */
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; overflow: hidden; isolation: isolate; }
.card::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .25s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 106, 19, .09), transparent 60%); }
.card:hover::after { opacity: 1; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: grid; gap: 4px; }
.stat b { font: 900 40px/1 var(--display); letter-spacing: .01em; }
.stat span { font-size: 13px; color: var(--mute); }
.glyph { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--hi); margin-bottom: 16px; }
.glyph svg { width: 22px; height: 22px; }
.card h3 + p, .card h4 + p { margin-top: 10px; color: var(--soft); font-size: 15px; }
.card h4 { margin: 0; font-size: 17px; font-weight: 750; }

/* ---------- the hero and the mast ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: 'head pick' 'act pick'; column-gap: 40px; align-items: center; padding-top: 30px; }
.hero-head { grid-area: head; align-self: end; } .hero-pick { grid-area: pick; } .hero-act { grid-area: act; align-self: start; }
.hero h1 { margin: 18px 0 20px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.counts { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.counts .stat b { font-size: 34px; }
.rig { position: relative; display: grid; grid-template-columns: 132px 1fr; gap: 0; padding: 0; min-height: 540px; background: radial-gradient(120% 80% at 20% 0%, rgba(255, 106, 19, .10), transparent 60%), var(--panel); }
.mast { position: relative; border-right: 1px solid var(--line); cursor: ns-resize; touch-action: none; user-select: none; }
.mast:focus-visible { outline-offset: -4px; }
.mast .tower { position: absolute; top: 46px; bottom: 26px; left: 50px; width: 30px; border-left: 2px solid #3a3a40; border-right: 2px solid #3a3a40;
  background: repeating-linear-gradient(38deg, transparent 0 16px, #3a3a40 16px 18px), repeating-linear-gradient(-38deg, transparent 0 16px, #3a3a40 16px 18px); opacity: .9; }
.mast .jib { position: absolute; top: 34px; left: 22px; right: -1px; height: 12px; border-top: 2px solid #3a3a40; border-bottom: 2px solid #3a3a40; background: repeating-linear-gradient(60deg, transparent 0 9px, #3a3a40 9px 11px); }
.mast .light { position: absolute; top: 26px; right: 10px; width: 6px; height: 6px; border-radius: 50%; background: #ff3b2f; box-shadow: 0 0 12px 3px rgba(255, 59, 47, .55); animation: blink 2.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.mast .cable { position: absolute; top: 46px; left: 99px; width: 2px; background: #6b6b72; height: 0; transition: height .45s var(--ease-out); }
.mast .hook { position: absolute; left: 80px; width: 40px; height: 52px; transform: translate(0, -6px); transition: top .45s var(--ease-out); color: var(--hi); filter: drop-shadow(0 8px 16px rgba(255, 106, 19, .35)); }
.mast.drag .hook, .mast.drag .cable { transition: none; }
.mast .floor { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed var(--line-2); }
.mast .floor span { position: absolute; left: 8px; transform: translateY(-50%); font: 800 14px/1 var(--display); letter-spacing: .05em; color: var(--mute); background: var(--panel); padding: 2px 4px; }
.mast .floor.ground { border-top: 2px solid var(--line-2); }
.mast .floor.ground span { color: var(--dim); }
.mast .floor.on span { color: var(--hi); }
.readout { padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 18px; }
.readout .big { font: 900 clamp(58px, 6vw, 84px)/.9 var(--display); letter-spacing: .01em; }
.readout .big small { display: block; font: 700 13px/1 var(--body); letter-spacing: .14em; color: var(--mute); margin-bottom: 10px; text-transform: uppercase; }
.readout dl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.readout dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.readout dt { color: var(--mute); font-size: 14px; }
.readout dd { margin: 0; font-weight: 700; font-size: 16px; text-align: right; white-space: nowrap; }
.readout dd small { display: block; font-weight: 500; color: var(--mute); font-size: 12.5px; white-space: normal; }
.readout .custom { display: flex; gap: 8px; align-items: center; }
.readout .custom .affix { flex: 1; }
.flash-up { animation: up .9s var(--ease-out); }
@keyframes up { 0% { color: var(--hi-2); } }

/* ---------- tables and boards ---------- */
.board { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.board th { text-align: left; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); font-weight: 650; padding: 0 12px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.board td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.board tr:last-child td { border-bottom: 0; }
.board td.r, .board th.r { text-align: right; }
.board tbody tr { transition: background .15s; }
.board tbody tr:hover { background: rgba(255, 255, 255, .02); }
.coinref { display: flex; align-items: center; gap: 11px; text-decoration: none; min-width: 0; }
.coinref img, .coinref .noimg { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; background: var(--panel-2); border: 1px solid var(--line-2); flex: none; }
.coinref b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coinref small { color: var(--mute); font-size: 12.5px; }
.bar { position: relative; height: 6px; border-radius: 99px; background: var(--panel-2); overflow: hidden; min-width: 70px; }
.bar i { position: absolute; inset: 0 auto 0 0; background: var(--hi); border-radius: 99px; }
.scroller { overflow-x: auto; }
.skel { background: linear-gradient(90deg, var(--panel-2), #222226, var(--panel-2)); background-size: 200% 100%; animation: sk 1.4s ease-in-out infinite; border-radius: 6px; color: transparent !important; }
@keyframes sk { to { background-position: -200% 0; } }
.empty { padding: 26px; border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--soft); }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 11px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--soft); font-size: 14px; }
.note.bad { border-color: rgba(255, 93, 93, .4); color: #ffc9c9; }
.note.good { border-color: rgba(91, 214, 138, .35); }

/* ---------- steps, faq, footer ---------- */
.steps { counter-reset: s; }
.steps .card { padding-top: 58px; }
.steps .card::before { counter-increment: s; content: counter(s, decimal-leading-zero); position: absolute; top: 18px; left: 22px; font: 900 30px/1 var(--display); color: var(--hi); }
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--hi); font-weight: 800; font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--soft); }
.foot { margin-top: 90px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; color: var(--mute); font-size: 13px; }
.foot a { color: var(--soft); }

/* ---------- reveals ---------- */
.rv { opacity: 0; transform: translateY(22px) scale(.985); transition: opacity .7s var(--ease-out), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.rv.in { opacity: 1; transform: none; }

/* ---------- phone ---------- */
@media (max-width: 1023px) {
  .shell { grid-template-columns: 1fr; }
  .side { display: none; }
  .top { padding: 0 14px; gap: 8px; }
  .top .crumb { display: none; }
  .ca { margin-left: 0; flex: 1; }
  .ca { font-size: 12px; padding-left: 10px; }
  .ca span:not(.mono) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tabs { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 30; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); background: rgba(21, 21, 23, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); border-radius: 16px; padding: 6px; }
  .tabs a { display: grid; justify-items: center; gap: 3px; padding: 7px 0; border-radius: 11px; text-decoration: none; font-size: 11.5px; font-weight: 650; color: var(--mute); }
  .tabs a svg { width: 20px; height: 20px; }
  .tabs a[aria-current] { color: var(--hi); background: var(--panel-2); }
  .wrap { padding: 18px 16px 120px; }
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'head' 'pick' 'act'; row-gap: 22px; padding-top: 8px; }
  .hero h1 { margin: 14px 0 14px; }
  .hero .cta { margin-top: 0; }
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding-top: 70px; }
}
@media (max-width: 620px) {
  .g2, .g3 { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .g4 .card { padding: 16px; }
  .g4 .stat b { font-size: 32px; }
  .g4 .stat span { font-size: 12px; }
  .rig { grid-template-columns: 96px 1fr; min-height: 500px; }
  h1 { font-size: 46px; }
  .lede { font-size: 16.5px; }
  .mast .tower { left: 30px; width: 24px; }
  .mast .cable { left: 73px; }
  .mast .hook { left: 55px; width: 36px; }
  .mast .floor span { font-size: 12.5px; left: 4px; }
  .readout { padding: 20px 14px; gap: 14px; }
  .readout dt { font-size: 12.5px; }
  .readout dd { font-size: 14.5px; }
  .readout dd small { font-size: 11.5px; }
  .readout .big { font-size: 52px; }
  .pill span { display: none; }
  .board .hide-s { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
