/* Hold. Black and white like Pair (trypair.app): Geist, a frosted top bar, a black hero, white bands.
   Colour only where money moves: green buys and fees, red sells. */
:root {
  --bg: #000; --ink: #f5f5f7; --dim: rgba(245, 245, 247, .56); --dim2: rgba(245, 245, 247, .36);
  --card: #0c0c0d; --card2: #141416; --line: rgba(255, 255, 255, .07); --line2: rgba(255, 255, 255, .12);
  --w-ink: #1d1d1f; --w-dim: #6e6e73; --w-card: #f5f5f7;
  --buy: #30d158; --sell: #ff453a; --fee: #8ef0ad; --burn: #ff9f0a;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #2a2a2d #000; background: #000; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #2a2a2d; border-radius: 10px; border: 2px solid #000; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3e; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: #fff; color: #000; }
.mono { font-family: var(--mono); font-feature-settings: 'zero' 1; }
.num { font-variant-numeric: tabular-nums; }
header.tn.light { background: rgba(255, 255, 255, .78); color: #1d1d1f; border-color: rgba(0, 0, 0, .08); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); }
.tn.light .tnav a { color: #6e6e73; }
.tn.light .tnav a:hover { color: #1d1d1f; }
.tn.light .brand .bm { border-color: #1d1d1f; }
.tn.light .brand .bm i { background: #1d1d1f; }
.tn.light .ca { color: #1d1d1f; border-color: rgba(0, 0, 0, .14); }
.tn.light .pill { background: #1d1d1f; border-color: #1d1d1f; color: #fff; }

/* ------------------------------------------------------------ top bar */
.tn { position: fixed; inset: 0 0 auto; z-index: 50; height: 60px; display: flex; align-items: center; gap: 20px; padding: 0 28px; color: #fff; border-bottom: 1px solid transparent; transition: background .4s, border-color .4s, backdrop-filter .4s; }
.tn.solid { background: rgba(0, 0, 0, .72); backdrop-filter: saturate(1.6) blur(20px); -webkit-backdrop-filter: saturate(1.6) blur(20px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 650; letter-spacing: -.03em; }
.brand .bm { width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid #fff; display: grid; place-items: center; }
.brand .bm i { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.brand img.bm { width: 32px; height: 32px; border: 0; border-radius: 0; object-fit: contain; filter: drop-shadow(0 2px 10px rgba(80, 170, 255, .35)); }
.tnav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 30px; }
.tnav a { font-size: 14px; color: rgba(255, 255, 255, .62); transition: color .2s; }
.tnav a:hover { color: #fff; }
.tn .act { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ca { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line2); background: none; font-family: var(--mono); font-size: 12.5px; color: rgba(255, 255, 255, .8); transition: border-color .2s, color .2s; }
.ca:hover { border-color: rgba(255, 255, 255, .35); color: #fff; }
.ca svg { width: 14px; height: 14px; }
.ib { width: 36px; height: 36px; border-radius: 99px; display: grid; place-items: center; border: 1px solid transparent; transition: border-color .2s; }
.ib:hover { border-color: var(--line2); }
.ib svg { width: 15px; height: 15px; fill: currentColor; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 18px; border-radius: 99px; border: 1px solid #fff; background: #fff; color: #000; font-size: 14px; font-weight: 500; white-space: nowrap; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.pill:hover { box-shadow: 0 10px 34px -10px rgba(255, 255, 255, .45); }
.pill.ghost { background: none; color: #fff; border-color: rgba(255, 255, 255, .28); }

/* ------------------------------------------------------------ hero */
.hero { position: relative; min-height: min(100svh, 960px); display: grid; place-items: center; text-align: center; padding: 110px 20px 90px; overflow: hidden; }
.hero canvas.mk { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero .in { position: relative; z-index: 1; width: 100%; pointer-events: none; }
.hero .slot { width: min(330px, 62vw); aspect-ratio: 1; margin: 0 auto 34px; }
.hero h1 { font-size: clamp(38px, 6vw, 82px); line-height: 1.01; letter-spacing: -.048em; font-weight: 700; margin: 0; }
.hero h1 .l2 { color: rgba(255, 255, 255, .5); }
.hero p { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: rgba(255, 255, 255, .6); margin: 22px auto 0; max-width: 600px; }
.hero .ti { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); }
.hero.go .ti { opacity: 1; transform: none; filter: none; }
.hero.go .ti + .ti { transition-delay: .14s; }
.hero .cue { position: absolute; bottom: 26px; left: 50%; width: 1px; height: 40px; background: linear-gradient(rgba(255, 255, 255, .5), transparent); transform-origin: top; animation: cue 2.4s var(--ease) 4s infinite both; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ------------------------------------------------------------ the live board */
.live { position: relative; padding: 40px clamp(16px, 3vw, 40px) clamp(90px, 10vw, 140px); }
.live .wrap { max-width: 1440px; margin: 0 auto; }
.live-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.live-hd h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; margin: 0; }
.live-hd h2 .l2 { color: rgba(255, 255, 255, .45); }
.kpis { display: flex; gap: 34px; flex-wrap: wrap; }
.kpi span { display: block; font-size: 12.5px; color: var(--dim); }
.kpi b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -.03em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.kpi b small { font-size: 14px; font-weight: 500; color: var(--dim); margin-left: 4px; letter-spacing: 0; }
.preview-note { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 99px; background: var(--card2); color: var(--dim); font-size: 13px; margin-bottom: 18px; }
.preview-note i { width: 6px; height: 6px; border-radius: 50%; background: #ffd60a; }

/* three columns, mirror image: holder rewards | live trades | buyback & burn.
   Sells leave the feed on the left and land in the holders' rows, buys leave on the right and land in the orb. */
.board { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(40px, 3.4vw, 60px) minmax(290px, 330px) clamp(40px, 3.4vw, 60px) minmax(0, 1fr); align-items: stretch; }
.hold-col { grid-column: 1; min-width: 0; }
.feed-col { grid-column: 3; min-width: 0; }
.bb-col { grid-column: 5; min-width: 0; }
.board canvas.rays { position: absolute; inset: -40px -40px; width: calc(100% + 80px); height: calc(100% + 80px); pointer-events: none; z-index: 3; }
.panel { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.panel-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 14px; flex-wrap: wrap; }
.panel-hd h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.panel-hd .sub { font-size: 13px; color: var(--dim); }
.lg { width: 8px; height: 8px; border-radius: 50%; }
.lg.s { background: var(--fee); box-shadow: 0 0 12px rgba(142, 240, 173, .6); }
.lg.b { background: var(--burn); box-shadow: 0 0 12px rgba(255, 159, 10, .6); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--buy); box-shadow: 0 0 0 0 rgba(48, 209, 88, .5); animation: ping 2s infinite; }
.dot.off { background: #48484a; animation: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(48, 209, 88, .45); } 80%, 100% { box-shadow: 0 0 0 9px rgba(48, 209, 88, 0); } }

/* the two ports on the feed: sells leave left, buys leave right */
.fport { position: absolute; z-index: 4; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; opacity: 0; transition: opacity .6s; pointer-events: none; }
.fport.s { background: var(--sell); box-shadow: 0 0 0 4px rgba(255, 69, 58, .12), 0 0 18px rgba(255, 69, 58, .5); }
.fport.b { background: var(--buy); box-shadow: 0 0 0 4px rgba(48, 209, 88, .12), 0 0 18px rgba(48, 209, 88, .5); }
.fport.on { opacity: 1; }

.toggle { display: inline-flex; gap: 2px; padding: 3px; border-radius: 99px; background: #19191b; position: relative; }
.toggle button { position: relative; z-index: 1; border: 0; background: none; height: 30px; padding: 0 13px; border-radius: 99px; font-size: 13px; font-weight: 500; color: var(--dim); transition: color .3s; white-space: nowrap; }
.toggle button.on { color: #000; }
.toggle .knob { position: absolute; top: 3px; bottom: 3px; left: 0; border-radius: 99px; background: #fff; transition: transform .45s var(--ease), width .45s var(--ease); }

.mine-form { display: flex; gap: 8px; padding: 0 20px 16px; }
.mine-form input { flex: 1; min-width: 0; height: 40px; border-radius: 12px; border: 1px solid var(--line2); background: #0a0a0b; padding: 0 14px; font-family: var(--mono); font-size: 13px; outline: none; transition: border-color .2s; }
.mine-form input:focus { border-color: rgba(255, 255, 255, .35); }
.mine-form input::placeholder { font-family: var(--sans); color: var(--dim2); font-size: 14px; }
.mine-form button { height: 40px; padding: 0 16px; border-radius: 12px; border: 0; background: #fff; color: #000; font-weight: 500; font-size: 14px; }
.mine-form button.x { background: #1c1c1f; color: var(--ink); }
.mine-msg { padding: 0 20px 14px; margin-top: -6px; font-size: 13px; color: var(--dim); }

/* your position */
.me { margin: 0 12px 12px; border-radius: 18px; background: #fff; color: var(--w-ink); padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center; }
.me .me-grid { grid-column: 1 / -1; }
.me-lv b { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.me-lv b .gem { width: 11px; height: 11px; box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .25); }
.me-lv span { display: block; font-size: 13px; color: var(--w-dim); margin-top: 2px; }
.lvbar { display: block; height: 5px; border-radius: 5px; background: #ececf0; margin-top: 9px; overflow: hidden; }
.lvbar i { display: block; height: 100%; border-radius: 5px; transition: width 1s var(--ease); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.me-grid b small { font-size: 11.5px; color: var(--w-dim); font-weight: 500; }
.me .ring { width: 70px; height: 70px; position: relative; }
.me .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.me .ring circle { fill: none; stroke-width: 6; }
.me .ring .bg { stroke: #e8e8ed; }
.me .ring .fg { stroke: var(--lc, #1d1d1f); stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); }
.me .ring b { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 24px; line-height: 1; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.me .ring b small { font-size: 10px; font-weight: 600; letter-spacing: .02em; color: var(--w-dim); margin-bottom: 2px; text-transform: uppercase; }
.me-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; }
.me-grid span { display: block; font-size: 12px; color: var(--w-dim); }
.me-grid b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-grid b.gain { color: #1a9e45; }
.me .note { grid-column: 1 / -1; font-size: 13px; color: var(--w-dim); margin-top: -6px; }

/* holder rows */
.cols, .hrow { display: grid; grid-template-columns: 22px minmax(0, 1fr) 96px 112px; gap: 10px; align-items: center; padding: 0 20px; }
.cols { height: 34px; font-size: 12px; color: var(--dim2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cols > :last-child { text-align: right; }
.hlist { position: relative; }
.hrow { position: absolute; left: 0; right: 0; top: 0; height: 56px; transition: opacity .45s, background .6s; will-change: transform; }
.hrow::after { content: ''; position: absolute; left: 20px; right: 20px; bottom: 0; height: 1px; background: var(--line); }
.hrow.enter { opacity: 0; }
.hrow.gone { opacity: 0; pointer-events: none; }
.hrow.you { background: rgba(255, 255, 255, .05); }
.hrow.hit { background: rgba(142, 240, 173, .07); }
.hrow .rk { font-size: 13px; color: var(--dim2); font-variant-numeric: tabular-nums; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.av { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.who .wl { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.who a { font-family: var(--mono); font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who a:hover { text-decoration: underline; text-underline-offset: 3px; }
.who small { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--dim2); font-variant-numeric: tabular-nums; white-space: nowrap; margin-top: 2px; }
.tag { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 99px; background: #fff; color: #000; flex: none; }
.mult { display: flex; align-items: center; gap: 8px; }
.mult svg { width: 22px; height: 22px; transform: rotate(-90deg); flex: none; }
.mult circle { fill: none; stroke-width: 3.2; }
.mult .bg { stroke: #232326; }
.mult .fg { stroke: #fff; stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); }
.mult .mv { display: flex; flex-direction: column; line-height: 1.2; }
.mult b { font-size: 14.5px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mult small { font-size: 11.5px; color: var(--dim2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mult.max .fg { stroke: var(--fee); }
.earn { text-align: right; position: relative; }
.earn b { font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; transition: color .5s; white-space: nowrap; }
.earn b small { font-size: 11.5px; color: var(--dim); font-weight: 500; margin-left: 3px; }
.earn.flash b { color: var(--fee); transition: color 0s; }
.earn .plus { position: absolute; right: 0; top: -15px; font-size: 11.5px; font-weight: 600; color: var(--fee); font-variant-numeric: tabular-nums; pointer-events: none; animation: plus 1.3s var(--ease) forwards; white-space: nowrap; }
@keyframes plus { 0% { opacity: 0; transform: translateY(8px); } 18% { opacity: 1; } 100% { opacity: 0; transform: translateY(-8px); } }
.hfoot { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; padding: 14px 20px 16px; font-size: 12.5px; color: var(--dim2); border-top: 1px solid var(--line); }
.empty { padding: 50px 24px 56px; text-align: center; color: var(--dim); font-size: 15px; }

/* the trade feed, in the middle */
.feed .panel-hd { justify-content: center; }
.legend { display: flex; justify-content: space-between; padding: 0 16px 12px; font-size: 12px; color: var(--dim); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend .s::before { content: ''; width: 14px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--fee), var(--sell)); }
.legend .b::after { content: ''; width: 14px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--buy), var(--burn)); }
.flist { position: relative; flex: 1; min-height: 560px; overflow: hidden; contain: strict; border-top: 1px solid var(--line); -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.trow { position: absolute; left: 0; right: 0; top: 0; overflow: hidden; height: 64px; padding: 0 18px; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; align-content: center; will-change: transform, opacity; contain: layout paint; }
.trow::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: 0; height: 1px; background: var(--line); }
.trow::before { content: ''; position: absolute; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; opacity: .9; }
.trow.sell::before { left: 0; background: var(--sell); box-shadow: 0 0 14px 1px rgba(255, 69, 58, .55); }
.trow.buy::before { right: 0; background: var(--buy); box-shadow: 0 0 14px 1px rgba(48, 209, 88, .55); }
.trow .sd { grid-row: 1 / 3; align-self: center; height: 24px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.trow.buy .sd { background: rgba(48, 209, 88, .14); color: var(--buy); }
.trow.sell .sd { background: rgba(255, 69, 58, .14); color: var(--sell); }
.trow.ours .sd { background: rgba(255, 159, 10, .16); color: var(--burn); }
.trow .tw { font-family: var(--mono); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow .ts { font-size: 12px; color: var(--dim2); text-align: right; font-variant-numeric: tabular-nums; }
.trow .ta { font-size: 14px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.trow .tf { font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow .tf em { font-style: normal; font-variant-numeric: tabular-nums; }
.trow.sell .tf em { color: var(--fee); }
.trow.buy .tf em { color: #ffc069; }
.trow .tw .lost { font-family: var(--sans); font-size: 11.5px; font-weight: 600; color: var(--sell); margin-left: 8px; }

/* buyback & burn */
.orb-wrap { position: relative; width: min(100%, 300px); aspect-ratio: 1; margin: 6px auto 4px; }
.orb-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.orb-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.orb-in span { font-size: 12.5px; color: var(--dim); }
.orb-in b { display: block; font-size: clamp(30px, 2.6vw, 38px); font-weight: 700; letter-spacing: -.045em; font-variant-numeric: tabular-nums; margin: 2px 0 0; transition: color .4s; white-space: nowrap; }
.orb-in b small { font-size: 15px; font-weight: 500; color: var(--dim); margin-left: 5px; letter-spacing: 0; }
.orb-in b.flash { color: #ffd9a0; transition: color 0s; }
.orb-in em { font-style: normal; font-size: 12.5px; color: var(--dim2); font-variant-numeric: tabular-nums; min-height: 18px; }
.orb-in.burnt span { color: var(--burn); }
.bb-next { text-align: center; padding: 4px 20px 16px; }
.bb-next span { display: block; font-size: 12px; color: var(--dim2); }
.bb-next b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.02em; margin-top: 2px; }
.bb-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bb-stats div { padding: 12px 14px; text-align: center; }
.bb-stats div + div { border-left: 1px solid var(--line); }
.bb-stats span { display: block; font-size: 12px; color: var(--dim2); }
.bb-stats b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: 2px; white-space: nowrap; }
.bb-stats b small { font-size: 11.5px; color: var(--dim); font-weight: 500; margin-left: 3px; }
.bb-list { flex: 1; padding: 4px 0 6px; }
.bb-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 20px; position: relative; }
.bb-row + .bb-row::before { content: ''; position: absolute; left: 20px; right: 20px; top: 0; height: 1px; background: var(--line); }
.bb-row b { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bb-row b i { font-style: normal; color: var(--burn); }
.bb-row a { font-size: 12px; color: var(--dim); text-align: right; align-self: center; grid-row: 1 / 3; grid-column: 2; }
.bb-row a:hover { color: #fff; }
.bb-row span { font-size: 12px; color: var(--dim2); font-variant-numeric: tabular-nums; }
.bb-row.new { animation: bbnew 1.6s var(--ease); }
@keyframes bbnew { 0% { background: rgba(255, 159, 10, .18); } 100% { background: transparent; } }
.bb-none { padding: 18px 22px; text-align: center; font-size: 13px; color: var(--dim2); }

/* ------------------------------------------------------------ how it works (white band) */
.band { background: #fff; color: var(--w-ink); padding: clamp(84px, 10vw, 140px) clamp(16px, 4vw, 40px); }
.band.grey { background: var(--w-card); }
.band .in { max-width: 1200px; margin: 0 auto; }
.band h2 { font-size: clamp(36px, 4.8vw, 64px); line-height: 1.04; letter-spacing: -.042em; font-weight: 700; margin: 0; text-align: center; }
.band .sub { text-align: center; color: var(--w-dim); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; margin: 16px auto 0; max-width: 620px; }
.curve { margin-top: 56px; border-radius: 28px; background: var(--w-card); padding: clamp(18px, 3vw, 36px); }
.curve svg { width: 100%; height: auto; display: block; overflow: visible; }
.curve .ax { stroke: rgba(0, 0, 0, .08); stroke-width: 1; }
.curve .lbl { font: 12px var(--sans); fill: #8e8e93; }
.curve .ln { fill: none; stroke: #1d1d1f; stroke-width: 3; stroke-linecap: round; }
.curve .area { fill: url(#cg); }
.curve .pt circle { fill: #fff; stroke: #1d1d1f; stroke-width: 2.5; }
.curve .pt text { font: 600 13px var(--sans); fill: #1d1d1f; }
.curve .cur line { stroke: #1d1d1f; stroke-width: 1; stroke-dasharray: 3 4; }
.curve .cur circle { fill: #1d1d1f; }
.curve .cur rect { fill: #1d1d1f; }
.curve .cur text { font: 600 12.5px var(--sans); fill: #fff; }
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 14px; }
.steps div { background: #fff; border-radius: 16px; padding: 14px 16px; }
.steps span { display: block; font-size: 12.5px; color: var(--w-dim); }
.steps b { display: block; font-size: 26px; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 70px; }
.rules h3 { font-size: 22px; letter-spacing: -.03em; font-weight: 650; margin: 0 0 10px; }
.rules p { margin: 0; color: var(--w-dim); font-size: 16px; line-height: 1.55; }
.rules p b { color: var(--w-ink); font-weight: 600; }

/* ------------------------------------------------------------ footer */
.foot { background: #000; color: var(--dim); padding: 56px clamp(16px, 4vw, 40px) 44px; border-top: 1px solid var(--line); }
.foot .in { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.foot .brand { color: #fff; }
.foot p { margin: 14px 0 0; max-width: 420px; font-size: 14px; line-height: 1.55; }
.foot .links { display: flex; gap: 26px; flex-wrap: wrap; font-size: 14px; }
.foot .links a:hover { color: #fff; }
.foot .tiny { width: 100%; font-size: 12.5px; color: var(--dim2); margin-top: 20px; }

/* reveal */
.up { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.up.in { opacity: 1; transform: none; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: #fff; color: #000; padding: 10px 18px; border-radius: 99px; font-size: 14px; font-weight: 500; opacity: 0; transition: opacity .3s, transform .4s var(--ease); z-index: 80; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------ smaller screens */
@media (max-width: 1340px) {
  .cols, .hrow { grid-template-columns: 20px minmax(0, 1fr) 88px 104px; padding: 0 16px; }
  .hrow::after { left: 16px; right: 16px; }
  .av { width: 22px; height: 22px; }
  .who { gap: 8px; }
  .toggle button { padding: 0 10px; font-size: 12.5px; }
}
/* tablet: the feed on top, holders and buyback side by side under it (still a mirror) */
@media (max-width: 1180px) {
  .board { grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); grid-template-rows: auto 70px auto; }
  .feed-col { grid-column: 1 / -1; grid-row: 1; }
  .hold-col { grid-column: 1; grid-row: 3; }
  .bb-col { grid-column: 3; grid-row: 3; }
  .flist { min-height: 0; height: 330px; flex: none; }
  .legend { justify-content: center; gap: 40px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .rules { grid-template-columns: repeat(2, 1fr); gap: 34px 40px; }
}
/* phones: one column. Feed, then the buyback, then the holders */
@media (max-width: 760px) {
  .board { grid-template-columns: 1fr; grid-template-rows: auto 56px auto 36px auto; }
  .feed-col { grid-row: 1; }
  .bb-col { grid-column: 1; grid-row: 3; }
  .hold-col { grid-column: 1; grid-row: 5; }
  .rules { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .tnav, .tn .ca { display: none; }
  .tn { padding: 0 14px; gap: 8px; }
  .hero { min-height: 100svh; padding: 96px 18px 80px; }
  .hero h1 { font-size: clamp(32px, 9vw, 46px); }
  .hero h1 br { display: none; }
  .kpis { gap: 22px; }
  .me { grid-template-columns: 1fr; }
  .me .ring { margin: 0 auto; }
  .me-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cols, .hrow { grid-template-columns: 20px minmax(0, 1fr) 84px 100px; padding: 0 14px; gap: 8px; }
  .hrow::after, .trow::after { left: 14px; right: 14px; }
  .panel-hd { padding: 16px 14px 12px; }
  .mine-form { padding: 0 14px 14px; }
  .trow { padding: 0 14px; grid-template-columns: 44px minmax(0, 1fr) auto; }
  .mult svg { width: 20px; height: 20px; }
  .mult b { font-size: 14px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hfoot { flex-direction: column; gap: 4px; }
  .kpis { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .ti, .up { opacity: 1; transform: none; filter: none; }
}

/* ------------------------------------------------------------ levels: Paper Hands to Diamond Hands */
.gem { display: inline-block; width: 8px; height: 8px; transform: rotate(45deg); border-radius: 2px; background: var(--lc); flex: none; }
.lvb { display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-weight: 600; color: var(--lc); min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.lvb b { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 4px; background: var(--lc); color: #000; font-size: 9.5px; font-weight: 750; flex: none; }
.hrow[data-lv="6"] .lvb b { box-shadow: 0 0 10px rgba(127, 211, 255, .7); }
.hrow.lvup { animation: lvup 2.4s var(--ease); }
@keyframes lvup { 0% { background: transparent; } 12% { background: color-mix(in srgb, var(--lc) 26%, transparent); box-shadow: inset 3px 0 0 var(--lc); } 100% { background: transparent; box-shadow: inset 0 0 0 transparent; } }
.lvpop { position: absolute; left: 50px; top: -6px; z-index: 5; padding: 3px 9px; border-radius: 99px; background: var(--lc); color: #000; font-size: 11.5px; font-weight: 700; white-space: nowrap; pointer-events: none; animation: lvpop 2.6s var(--ease) forwards; box-shadow: 0 6px 24px -6px var(--lc); }
@keyframes lvpop { 0% { opacity: 0; transform: translateY(8px) scale(.9); } 12% { opacity: 1; transform: none; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-6px); } }
.ladder { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; padding: 0 20px 14px; }
.ladder div { position: relative; border-radius: 12px; background: #121214; padding: 8px 6px 7px; text-align: center; overflow: hidden; }
.ladder div::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--lc); opacity: .9; }
.ladder i { display: block; width: 8px; height: 8px; margin: 1px auto 5px; transform: rotate(45deg); border-radius: 2px; background: var(--lc); }
.ladder span { display: block; font-size: 11px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ladder b { display: block; font-size: 15px; font-weight: 650; font-variant-numeric: tabular-nums; margin-top: 1px; }
.steps .lvc { position: relative; overflow: hidden; }
.steps .lvc::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--lc); }
.steps .lvc .gem { width: 12px; height: 12px; margin: 4px 0 10px 2px; box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .22); }
.steps .lvc .n { font-size: 11.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--w-dim); }
.steps .lvc h4 { margin: 2px 0 2px; font-size: 18px; letter-spacing: -.03em; font-weight: 700; }
.curve .pt circle { stroke: #1d1d1f; stroke-width: 2.5; }
@media (max-width: 1340px) { .ladder { padding: 0 16px 12px; gap: 5px; } .ladder span { font-size: 10.5px; } }
@media (max-width: 640px) { .ladder { grid-template-columns: repeat(3, 1fr); padding: 0 14px 12px; } .lvpop { left: 30px; } }
