/* JANO — two faces of yield. Shared styles for every page. */
:root {
  --bg: #040408;
  --bg-2: #07070d;
  --panel: #0a0a11;
  --panel-2: #0e0e17;
  --ink: #edeef3;
  --ink-2: #a5a8b7;
  --ink-3: #6b6e7f;
  --ink-4: #3d3f4b;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --line-3: rgba(255, 255, 255, 0.22);
  --gold: #e7c47c;
  --gold-2: #f4ddaa;
  --gold-dim: rgba(231, 196, 124, 0.13);
  --vio: #9f8dff;
  --vio-2: #c6bcff;
  --vio-dim: rgba(159, 141, 255, 0.14);
  --mint: #74e4b4;
  --mint-dim: rgba(116, 228, 180, 0.12);
  --red: #ff7d8e;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1220px;
  --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #000; padding: 8px 12px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.gold { color: var(--gold); } .vio { color: var(--vio); } .mint { color: var(--mint); } .red { color: var(--red); } .dim { color: var(--ink-3); }
[hidden] { display: none !important; }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.eyebrow.gold::before { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.eyebrow.vio::before { background: var(--vio); box-shadow: 0 0 10px var(--vio); }
.eyebrow.mint::before { background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.eyebrow .eb-n { color: var(--ink); }
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -0.035em; line-height: 1.02; }
.h1 { font-size: clamp(44px, 6.2vw, 84px); }
.h2 { font-size: clamp(34px, 4.2vw, 58px); }
.split .h2 { font-size: clamp(32px, 3.6vw, 52px); }
.h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.025em; line-height: 1.1; }
.h2 .soft, .h1 .soft { color: var(--ink-3); }
.lede { font-size: clamp(16px, 1.25vw, 18px); color: var(--ink-2); line-height: 1.6; max-width: 34em; margin: 0; }
.label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; border-radius: 3px; transition: background 0.25s var(--ease), color 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s; white-space: nowrap; }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-light { background: var(--ink); color: #050508; }
.btn-light:hover { background: #fff; box-shadow: 0 0 0 1px #fff, 0 10px 40px -10px rgba(255, 255, 255, 0.35); }
.btn-line { border: 1px solid var(--line-3); color: var(--ink); background: rgba(255, 255, 255, 0.015); }
.btn-line:hover { border-color: var(--ink-2); background: rgba(255, 255, 255, 0.05); }
.btn-gold { background: var(--gold); color: #120d03; }
.btn-gold:hover { background: var(--gold-2); box-shadow: 0 12px 40px -12px rgba(231, 196, 124, 0.6); }
.btn-vio { background: var(--vio); color: #0b0820; }
.btn-vio:hover { background: var(--vio-2); box-shadow: 0 12px 40px -12px rgba(159, 141, 255, 0.6); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.busy { opacity: 0.55; pointer-events: none; }
.btn.busy::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { color: var(--ink-2); border-bottom: 1px solid var(--line-2); transition: color 0.2s, border-color 0.2s; }
.link:hover { color: var(--ink); border-color: var(--ink-2); }

/* ---------- header ---------- */
.hdr { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 96px; display: flex; align-items: center; transition: transform 0.5s var(--ease); pointer-events: none; }
.hdr-in { pointer-events: auto; position: relative; margin: 0 auto; width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); padding: 0 var(--gut); height: 72px; display: flex; align-items: center; gap: 28px; border: 1px solid transparent; border-radius: 999px; transition: max-width 0.6s var(--ease), padding 0.6s var(--ease), background 0.4s, border-color 0.4s, box-shadow 0.4s, height 0.5s var(--ease); }
.hdr.float .hdr-in { max-width: 1000px; height: 58px; padding: 0 8px 0 22px; background: rgba(12, 12, 20, 0.72); border-color: var(--line-2); box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); }
.hdr.float .hdr-in::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(100deg, rgba(231, 196, 124, 0.5), transparent 30%, transparent 70%, rgba(159, 141, 255, 0.55)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 34px; height: 34px; }
.brand-word { font-size: 17px; font-weight: 500; letter-spacing: 0.42em; margin-right: -0.42em; }
.hdr nav { display: flex; gap: 30px; margin-left: auto; margin-right: auto; }
.hdr nav a { font-size: 15px; color: var(--ink-2); transition: color 0.2s; position: relative; }
.hdr nav a:hover, .hdr nav a.on { color: var(--ink); }
.hdr nav a.on::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
.hdr-act { display: flex; align-items: center; gap: 10px; flex: none; }
.ca { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); background: rgba(255, 255, 255, 0.02); transition: border-color 0.2s, color 0.2s; }
.ca b { font-weight: 400; color: var(--ink-3); letter-spacing: 0.12em; }
.ca:hover { border-color: var(--gold); color: var(--ink); }
.ca svg { width: 14px; height: 14px; opacity: 0.7; }
.hdr.float .ca { display: none; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 3px; color: var(--ink); transition: border-color 0.2s, background 0.2s; }
.icon-btn:hover { border-color: var(--ink-2); background: rgba(255, 255, 255, 0.04); }
.icon-btn svg { width: 16px; height: 16px; }
.hdr.float .icon-btn { border-color: transparent; }
.hdr .app-btn { height: 44px; padding: 0 22px; border: 1px solid var(--gold); color: var(--ink); border-radius: 3px; font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; transition: background 0.3s, color 0.3s, border-radius 0.5s var(--ease), box-shadow 0.3s; }
.hdr .app-btn:hover { background: var(--gold-dim); }
.hdr.float .app-btn { background: var(--gold); color: #120d03; border-radius: 999px; height: 42px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.hdr.float .app-btn:hover { background: var(--gold-2); }
.wallet-btn.on { font-family: var(--mono); font-size: 13px; }
.wallet-btn.on::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.menu-btn { display: none; }
.mnav { display: none; }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line-2); padding: 34px 0 40px; position: relative; z-index: 2; background: var(--bg); }
.ftr .wrap { display: flex; align-items: center; gap: 24px; justify-content: space-between; flex-wrap: wrap; }
.ftr .brand-word { font-size: 15px; }
.ftr p { margin: 0; color: var(--ink-3); font-size: 13.5px; max-width: 520px; }
.ftr nav { display: flex; gap: 24px; font-size: 14px; color: var(--ink-2); }
.ftr nav a:hover { color: var(--ink); }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(90px, 12vw, 170px) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .h2 { margin-top: 22px; }
.sec-head .lede { margin-top: 22px; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; } .rv-d2 { transition-delay: 0.16s; } .rv-d3 { transition-delay: 0.24s; }

/* ---------- hero: scroll-to-travel ---------- */
.travel { position: relative; height: 520vh; }
.travel-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#planet { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; opacity: 0; }
#planet:active { cursor: grabbing; }
.travel-shade { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 0% 50%, rgba(4, 4, 8, 0.92) 0%, rgba(4, 4, 8, 0.55) 38%, rgba(4, 4, 8, 0) 62%), linear-gradient(to top, rgba(4, 4, 8, 0.9), transparent 22%); }
.sats { position: absolute; inset: 0; pointer-events: none; }
.sat { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 9px; border: 1px solid var(--line-2); background: rgba(8, 8, 14, 0.72); border-radius: 3px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; transition: opacity 0.35s, border-color 0.4s, box-shadow 0.4s; will-change: transform; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sat i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; flex: none; }
.sat b { font-weight: 500; color: var(--ink); }
.sat small { display: block; font-size: 9px; color: var(--ink-3); letter-spacing: 0.12em; margin-top: 1px; }
.sat.gold { color: var(--gold); border-color: rgba(231, 196, 124, 0.32); }
.sat.vio { color: var(--vio); border-color: rgba(159, 141, 255, 0.34); }
.sat.mint { color: var(--mint); border-color: rgba(116, 228, 180, 0.3); }
.sat.white { color: var(--ink); }
.sat.hot { box-shadow: 0 0 0 1px currentColor, 0 0 30px -6px currentColor; }
.sat.hide { opacity: 0; }
.drag-hint { position: absolute; right: 22px; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; color: var(--ink-4); text-transform: uppercase; pointer-events: none; }
.plane-tag { position: absolute; right: 26px; bottom: 96px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--ink-4); pointer-events: none; }
.stages { position: absolute; inset: 0; pointer-events: none; }
.stages .wrap { position: relative; height: 100%; }
.stage { position: absolute; left: var(--gut); top: 88px; bottom: 64px; width: min(580px, 45vw); display: flex; flex-direction: column; justify-content: center; padding: 10px 0 18px; opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), visibility 0s linear 0.7s; }
.stage.on { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity 0.8s var(--ease) 0.08s, transform 1s var(--ease) 0.08s, visibility 0s; }
.stage .h1 { margin: 22px 0 22px; font-size: clamp(40px, min(5.6vw, 8.4vh), 80px); }
@media (max-height: 800px) and (min-width: 861px) { .stage .lede { font-size: 15.5px; } .st-cards { margin-top: 20px; } .st-card { padding: 14px 16px 12px; } .st-card p { margin: 4px 0 8px; } .st-card .big { font-size: 22px; } .st-stats { margin: 18px 0 20px; padding-top: 14px; } .st-tabs { margin: 18px 0 10px; } .btn { height: 46px; } }
.stage .lede { max-width: 30em; }
.st-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.st-card { display: block; padding: 18px 18px 16px; border: 1px solid var(--line-2); background: rgba(8, 8, 14, 0.55); border-radius: 3px; transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.st-card:hover { transform: translateY(-2px); background: rgba(14, 14, 22, 0.75); }
.st-card.gold { border-color: rgba(231, 196, 124, 0.3); }
.st-card.vio { border-color: rgba(159, 141, 255, 0.32); }
.st-card.gold:hover { border-color: var(--gold); }
.st-card.vio:hover { border-color: var(--vio); }
.st-card h4 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.st-card.gold h4 { color: var(--gold); } .st-card.vio h4 { color: var(--vio); }
.st-card h4::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.st-card h4 .arr { margin-left: auto; opacity: 0; transform: translateX(-4px); transition: 0.3s var(--ease); }
.st-card:hover h4 .arr { opacity: 1; transform: none; }
.st-card p { margin: 8px 0 12px; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.st-card .big { font-family: var(--mono); font-size: 25px; letter-spacing: -0.02em; }
.st-card .sub { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); margin-top: 4px; }
.st-stats { display: flex; gap: 34px; margin: 26px 0 30px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.st-stats div > span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--ink-3); text-transform: uppercase; margin-bottom: 6px; }
.st-stats div > b { font-family: var(--mono); font-weight: 400; font-size: 17px; }
.st-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.st-tabs { display: flex; gap: 8px; margin: 28px 0 14px; flex-wrap: wrap; }
.st-tabs button { height: 34px; padding: 0 13px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; color: var(--ink-2); border-radius: 2px; transition: 0.2s; }
.st-tabs button.on { border-color: var(--ink-2); color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.st-tabs button:hover { color: var(--ink); }
.st-tabtext { font-size: 14.5px; color: var(--ink-2); min-height: 44px; margin: 0; max-width: 32em; }
.st-mkts { margin-top: 26px; border-top: 1px solid var(--line); }
.st-mkts a { display: grid; grid-template-columns: 28px 1fr auto auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); transition: background 0.2s, padding 0.3s var(--ease); }
.st-mkts a:hover { padding-left: 8px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent); }
.st-mkts img { width: 28px; height: 28px; border-radius: 50%; }
.st-mkts b { font-weight: 500; font-size: 15px; }
.st-mkts small { display: block; color: var(--ink-3); font-size: 12px; }
.travel-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; border-top: 1px solid var(--line); background: linear-gradient(to top, rgba(4, 4, 8, 0.95), rgba(4, 4, 8, 0.6)); z-index: 3; }
.travel-bar .wrap { height: 100%; display: flex; align-items: center; gap: 8px; }
.tb-hint { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--ink-3); margin-right: 22px; white-space: nowrap; }
.tb-steps { display: flex; gap: 4px; }
.tb-steps button { height: 34px; padding: 0 12px; display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); border-radius: 3px; transition: 0.25s; white-space: nowrap; }
.tb-steps button::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-4); transition: 0.3s; }
.tb-steps button:hover { color: var(--ink); }
.tb-steps button.on { color: var(--ink); background: rgba(255, 255, 255, 0.07); }
.tb-steps button.on::before { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.tb-steps button.next::before { background: var(--vio); }
.tb-nav { margin-left: auto; display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.tb-nav button { width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 2px; display: grid; place-items: center; transition: 0.2s; }
.tb-nav button:hover { border-color: var(--ink-2); }
.tb-nav button:disabled { opacity: 0.3; }
.tb-all { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.tb-all:hover { color: var(--ink); }
.travel-prog { position: absolute; left: 0; top: -1px; height: 1px; background: linear-gradient(90deg, var(--gold), var(--vio)); width: 0; }

/* ---------- 01 split timeline ---------- */
.split { position: relative; height: 340vh; }
.split-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 70px; }
.split-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: start; }
.split-top .h2 { margin-top: 18px; }
.split-ctl p { margin: 0 0 18px; color: var(--ink-2); font-size: 16.5px; line-height: 1.6; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chips > span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--ink-3); margin-right: 6px; }
.chip { height: 32px; padding: 0 12px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; color: var(--ink-2); border-radius: 2px; transition: 0.2s; white-space: nowrap; }
.chip:hover { color: var(--ink); border-color: var(--line-3); }
.chip.on { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.split-read { display: flex; justify-content: flex-end; gap: 22px; margin: 22px 0 4px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--ink-3); flex-wrap: wrap; }
.split-read b { color: var(--ink); font-weight: 400; margin-left: 6px; }
.split-stage { position: relative; height: min(42vh, 380px); margin: 0 calc(var(--gut) * -1); }
#splitCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.asset-card { position: absolute; left: max(var(--gut), calc((100vw - var(--wrap)) / 2)); top: 50%; transform: translateY(-50%); width: 228px; padding: 14px 16px; border: 1px solid var(--line-2); background: rgba(10, 10, 17, 0.92); border-radius: 6px; z-index: 2; box-shadow: 0 30px 60px -30px #000; }
.asset-card .ac-top { display: flex; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.asset-card img { width: 30px; height: 30px; border-radius: 50%; }
.asset-card .ac-top span { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--ink-3); text-transform: uppercase; }
.asset-card .ac-top b { font-weight: 400; font-size: 16px; }
.asset-card .ac-row { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--ink-3); padding: 3px 0; text-transform: uppercase; }
.asset-card .ac-row b { color: var(--ink); font-weight: 400; }
.split-cells { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 6px; }
.split-cells > div { padding: 20px 26px 4px 0; }
.split-cells > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.split-cells h4 { margin: 0 0 8px; display: flex; justify-content: space-between; align-items: center; font-size: 17px; font-weight: 500; }
.split-cells h4 span { font-family: var(--mono); font-weight: 400; font-size: 14px; }
.split-cells h4.gold::before, .split-cells h4.vio::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 8px; box-shadow: 0 0 8px currentColor; }
.split-cells h4 em { font-style: normal; margin-right: auto; }
.split-cells p { margin: 0 0 8px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.split-cells .meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--ink-3); text-transform: uppercase; }
.eq { font-family: var(--mono); font-size: 26px; margin: 4px 0 8px; letter-spacing: -0.02em; }

/* ---------- 02 economics ---------- */
.econ-bar { position: relative; height: 10px; background: rgba(255, 255, 255, 0.05); border-radius: 1px; margin: 14px 0 10px; overflow: visible; }
.econ-bar i { position: absolute; top: 0; bottom: 0; transition: width 1.6s var(--ease), left 1.6s var(--ease); }
.econ-bar i.b { left: 0; width: 0; background: linear-gradient(90deg, #a98945, var(--gold)); box-shadow: 0 0 22px rgba(231, 196, 124, 0.45); }
.econ-bar i.p { width: 0; background: linear-gradient(90deg, #6f5fd4, var(--vio)); box-shadow: 0 0 22px rgba(159, 141, 255, 0.4); }
.econ-ticks { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.econ-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.econ-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 30px; }
.econ-cols > div { padding: 6px 30px 10px 28px; border-left: 1px solid var(--line-2); }
.econ-cols .pct { font-family: var(--mono); font-size: clamp(64px, 9vw, 120px); line-height: 1; letter-spacing: -0.05em; }
.econ-cols .pct sup { font-size: 0.32em; vertical-align: top; margin-left: 4px; position: relative; top: 0.25em; }
.econ-cols .g .pct { color: var(--gold); text-shadow: 0 0 50px rgba(231, 196, 124, 0.35); }
.econ-cols .v .pct { color: var(--vio); text-shadow: 0 0 50px rgba(159, 141, 255, 0.35); }
.econ-cols h4 { margin: 18px 0 10px; font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.econ-cols .g h4 { color: var(--gold); } .econ-cols .v h4 { color: var(--vio); }
.econ-cols p { margin: 0; color: var(--ink-2); max-width: 30em; }
.econ-live { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 54px; border: 1px solid var(--line); border-radius: 4px; }
.econ-live > div { padding: 22px 24px; }
.econ-live > div + div { border-left: 1px solid var(--line); }
.econ-live b { display: block; font-family: var(--mono); font-weight: 400; font-size: 24px; margin-top: 8px; letter-spacing: -0.02em; }
.econ-live small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 4px; }

/* ---------- panels / cards ---------- */
.panel { border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008)); border-radius: 10px; }
.sim-bar { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; padding: 20px 24px; margin-bottom: 18px; }
.sim-bar .rate b { font-family: var(--mono); font-weight: 400; font-size: 22px; margin-left: 10px; }
.sim-bar .rate small { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--vio) var(--p, 30%), rgba(255, 255, 255, 0.1) var(--p, 30%)); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 3px solid var(--vio); box-shadow: 0 0 16px rgba(159, 141, 255, 0.7); cursor: grab; }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 3px solid var(--vio); cursor: grab; }
.range-ticks { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 8px; }
.sim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sim-card { padding: 30px 32px 32px; display: flex; flex-direction: column; }
.sim-card .sc-head { display: flex; justify-content: space-between; align-items: center; }
.sim-card .sc-head h3 { display: flex; align-items: center; gap: 12px; font-size: 30px; letter-spacing: -0.03em; }
.sim-card .sc-head h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1px solid currentColor; border-radius: 2px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.sim-card .lbl { margin-top: 30px; }
.sim-card .val { font-family: var(--mono); font-size: clamp(34px, 3.6vw, 46px); letter-spacing: -0.03em; margin-top: 8px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.sim-card .val small { font-size: 15px; letter-spacing: 0; }
.sim-card .note { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.sim-card canvas { width: 100%; height: 120px; margin: 22px 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sim-card .txt { color: var(--ink-2); font-size: 15px; line-height: 1.6; margin: 0 0 22px; min-height: 72px; }
.kv { border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; margin-bottom: 22px; }
.kv div { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; color: var(--ink-2); }
.kv div b { color: var(--ink); font-weight: 500; }

/* ---------- market table ---------- */
.mt { width: 100%; border-collapse: collapse; }
.mt th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: 0.16em; color: var(--ink-3); text-transform: uppercase; padding: 0 14px 14px; white-space: nowrap; border-bottom: 1px solid var(--line-2); }
.mt th.r, .mt td.r { text-align: right; }
.mt th button { font: inherit; letter-spacing: inherit; color: inherit; text-transform: inherit; display: inline-flex; gap: 6px; align-items: center; }
.mt th button:hover, .mt th button.on { color: var(--ink); }
.mt td { padding: 18px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
.mt tbody tr { cursor: pointer; transition: background 0.2s; }
.mt tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.mt tbody tr:hover .go { color: var(--ink); transform: translateX(3px); }
.mt .asset { display: flex; align-items: center; gap: 14px; }
.mt .asset img { width: 36px; height: 36px; border-radius: 50%; background: #111; }
.mt .asset b { font-weight: 500; font-size: 15.5px; display: block; }
.mt .asset small { color: var(--ink-3); font-size: 12.5px; }
.mt .apy { font-family: var(--mono); font-size: 16px; }
.mt .sub { display: block; font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 3px; }
.mt .div { font-family: var(--sans); font-size: 13px; color: var(--ink-3); }
.mt .go { color: var(--ink-3); transition: 0.25s var(--ease); display: inline-block; }
.kind { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; border: 1px solid var(--line-2); color: var(--ink-2); }
.kind.stable { color: var(--mint); border-color: rgba(116, 228, 180, 0.3); }
.kind.stock { color: var(--gold); border-color: rgba(231, 196, 124, 0.3); }
.kind.staked { color: var(--vio); border-color: rgba(159, 141, 255, 0.32); }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-2); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.status.soon::before { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.status.matured::before { background: var(--ink-4); box-shadow: none; }
.spark { width: 96px; height: 30px; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 3px; border: 1px solid rgba(116, 228, 180, 0.25); background: var(--mint-dim); font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--mint); text-transform: uppercase; white-space: nowrap; }
.live-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.tbl-note { margin: 18px 0 0; color: var(--ink-3); font-size: 13px; }
.skel { display: inline-block; height: 1em; width: 5em; border-radius: 3px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; vertical-align: middle; }
@keyframes shimmer { to { background-position: -200% 0; } }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- open a position (home) ---------- */
.open-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.steps { margin-top: 40px; border-top: 1px solid var(--line); }
.steps li { list-style: none; display: grid; grid-template-columns: 30px 1fr; gap: 16px; padding: 18px 18px 18px 18px; border-bottom: 1px solid var(--line); border-left: 2px solid transparent; transition: 0.3s; }
.steps ol { margin: 0; padding: 0; }
.steps li.on { border-left-color: var(--gold); background: linear-gradient(90deg, rgba(231, 196, 124, 0.06), transparent); }
.steps li.done .sn { background: rgba(255, 255, 255, 0.1); color: var(--ink); }
.steps .sn { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 3px; background: rgba(255, 255, 255, 0.05); font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.steps li.on .sn { background: var(--gold); color: #120d03; }
.steps b { font-weight: 500; font-size: 16.5px; }
.steps p { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; }

/* ---------- trade widget ---------- */
.tw { padding: 22px; }
.tw-mkt { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tw-mkt img { width: 36px; height: 36px; border-radius: 50%; }
.tw-mkt b { font-weight: 500; font-size: 17px; display: block; }
.tw-mkt small { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }
.tw-mkt select { margin-left: auto; height: 36px; max-width: 46%; padding: 0 30px 0 12px; border: 1px solid var(--line-2); border-radius: 3px; background: var(--panel-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a5a8b7' fill='none' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; color: var(--ink); font-size: 14px; cursor: pointer; }
.tw-tabs { display: grid; grid-template-columns: repeat(var(--n, 2), 1fr); gap: 4px; padding: 4px; margin: 18px 0; border: 1px solid var(--line); border-radius: 6px; background: rgba(0, 0, 0, 0.25); }
.tw-tabs button { height: 40px; border-radius: 4px; font-size: 14.5px; color: var(--ink-2); transition: 0.25s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.tw-tabs button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4); }
.tw-tabs button[data-s="fixed"].on { background: var(--gold-dim); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(231, 196, 124, 0.35); }
.tw-tabs button[data-s="fixed"].on::before { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.tw-tabs button[data-s="trading"].on { background: var(--vio-dim); color: var(--vio); box-shadow: inset 0 0 0 1px rgba(159, 141, 255, 0.38); }
.tw-tabs button[data-s="trading"].on::before { background: var(--vio); box-shadow: 0 0 8px var(--vio); }
.tw-tabs button[data-s="exit"].on { background: rgba(255, 255, 255, 0.07); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-3); }
.tw-tabs button[data-s="exit"].on::before { background: var(--ink); }
.tw-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.tw-opt { text-align: left; padding: 16px; border: 1px solid var(--line-2); border-radius: 6px; transition: 0.25s; position: relative; }
.tw-opt:hover { border-color: var(--line-3); }
.tw-opt.on.g { border-color: var(--gold); background: var(--gold-dim); }
.tw-opt.on.v { border-color: var(--vio); background: var(--vio-dim); }
.tw-opt h5 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.tw-opt.g h5 { color: var(--gold); } .tw-opt.v h5 { color: var(--vio); }
.tw-opt h5::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tw-opt p { margin: 6px 0 10px; color: var(--ink-2); font-size: 13px; line-height: 1.4; }
.tw-opt .big { font-family: var(--mono); font-size: 24px; }
.tw-opt .sub { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.tw-in { border: 1px solid var(--line-2); border-radius: 8px; padding: 14px 16px; background: rgba(0, 0, 0, 0.3); transition: border-color 0.2s; }
.tw-in:focus-within { border-color: var(--ink-3); }
.tw-in .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tw-in .row + .row { margin-top: 8px; }
.tw-in input { width: 100%; min-width: 0; background: none; border: 0; outline: none; font-family: var(--mono); font-size: 30px; letter-spacing: -0.02em; padding: 0; }
.tw-in input::placeholder { color: var(--ink-4); }
.tw-tok { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 6px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14.5px; font-weight: 500; flex: none; }
.tw-tok img { width: 26px; height: 26px; border-radius: 50%; }
select.tw-tok { padding: 0 32px 0 14px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a5a8b7' fill='none' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 13px center; -webkit-appearance: none; appearance: none; color: var(--ink); cursor: pointer; }
select.tw-tok option, .tw-mkt select option { background: #0e0e17; color: var(--ink); }
.tw-in .bal { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.tw-in .bal button { color: var(--ink-2); border-bottom: 1px dotted var(--ink-3); }
.tw-in .bal button:hover { color: var(--ink); }
.quick { display: flex; gap: 6px; margin-top: 10px; }
.quick button { height: 28px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 3px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); }
.quick button:hover { color: var(--ink); border-color: var(--line-3); }
.tw-out { margin-top: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 16px; background: rgba(255, 255, 255, 0.015); position: relative; }
.tw-out.g { border-color: rgba(231, 196, 124, 0.3); background: linear-gradient(180deg, rgba(231, 196, 124, 0.07), rgba(231, 196, 124, 0.01)); }
.tw-out.v { border-color: rgba(159, 141, 255, 0.32); background: linear-gradient(180deg, rgba(159, 141, 255, 0.08), rgba(159, 141, 255, 0.01)); }
.tw-out .k { font-size: 13px; color: var(--ink-2); }
.tw-out .v1 { font-family: var(--mono); font-size: 30px; letter-spacing: -0.02em; margin: 6px 0 4px; }
.tw-out .v1 small { font-size: 14px; color: var(--ink-2); margin-left: 6px; }
.tw-out .d { font-family: var(--mono); font-size: 12.5px; }
.tw-out .stale { position: absolute; right: 14px; top: 14px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.1em; }
.tw-lines { margin: 14px 0 16px; }
.tw-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13.5px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.tw-lines div:last-child { border-bottom: 0; }
.tw-lines b { font-family: var(--mono); font-weight: 400; color: var(--ink); font-size: 13px; text-align: right; }
.tw-warn { margin: 0 0 14px; padding: 12px 14px; border-radius: 6px; border: 1px solid rgba(255, 125, 142, 0.3); background: rgba(255, 125, 142, 0.07); color: #ffc0c8; font-size: 13.5px; line-height: 1.45; }
.tw-info { margin: 0 0 14px; padding: 12px 14px; border-radius: 6px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.025); color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.tw-flow { text-align: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--ink-3); margin-top: 12px; text-transform: uppercase; }
.tw-flow i { font-style: normal; color: var(--ink-4); }
.tw-flow .on { color: var(--gold); }
.tw-done { text-align: center; padding: 20px 6px 6px; }
.tw-done .ok { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--mint-dim); color: var(--mint); box-shadow: 0 0 0 1px rgba(116, 228, 180, 0.35), 0 0 40px -6px rgba(116, 228, 180, 0.5); }
.tw-done h4 { margin: 0 0 6px; font-size: 20px; font-weight: 500; }
.tw-done p { margin: 0 0 18px; color: var(--ink-2); font-size: 14px; }

/* ---------- portfolio sim (home) ---------- */
.ps-track { display: flex; align-items: center; gap: 14px; margin: 26px 0 26px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--ink-3); text-transform: uppercase; flex-wrap: wrap; }
.ps-line { flex: 1; min-width: 160px; height: 2px; background: rgba(255, 255, 255, 0.08); position: relative; }
.ps-line i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, var(--gold), var(--vio)); width: 0; }
.ps-line i::after { content: ""; position: absolute; right: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 14px var(--ink); }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ps-card { padding: 26px 28px; }
.ps-card h4 { margin: 0; display: flex; justify-content: space-between; align-items: center; font-size: 19px; font-weight: 500; }
.ps-card .three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0 18px; }
.ps-card .three b { display: block; font-family: var(--mono); font-weight: 400; font-size: 21px; margin-top: 6px; letter-spacing: -0.02em; }
.ps-card .three small { display: block; font-family: var(--mono); font-size: 11.5px; margin-top: 2px; }
.ps-card p { margin: 0 0 18px; color: var(--ink-2); font-size: 14px; }
.ps-card .acts { display: flex; gap: 10px; }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: clamp(110px, 14vw, 190px) 0 clamp(100px, 12vw, 160px); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 50%; bottom: -40%; width: 1100px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(231, 196, 124, 0.16), rgba(159, 141, 255, 0.08) 55%, transparent); pointer-events: none; }
.cta .orb { width: 210px; height: auto; margin: 0 auto 26px; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.cta .h1 { margin: 22px auto 22px; max-width: 12em; }
.cta .lede { margin: 0 auto 34px; text-align: center; }
.cta .st-btns { justify-content: center; }
.cta .fine { margin-top: 26px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.06em; }

/* ---------- app pages ---------- */
.page { padding: 150px 0 90px; min-height: 80vh; }
.page-head { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; margin-bottom: 40px; }
.page-head > .live-pill { justify-self: start; }
.page-head .h2 { margin-top: 18px; }
.page-head .lede { margin-top: 16px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-2); border-radius: 8px; margin-bottom: 30px; background: rgba(255, 255, 255, 0.012); }
.stat-row > div { padding: 20px 22px; }
.stat-row > div + div { border-left: 1px solid var(--line); }
.stat-row b { display: block; font-family: var(--mono); font-weight: 400; font-size: clamp(18px, 1.65vw, 24px); margin-top: 8px; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-row small { display: block; color: var(--ink-3); font-size: 12.5px; margin-top: 3px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.filters .search { margin-left: auto; height: 36px; width: 220px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 3px; background: transparent; font-size: 14px; outline: none; }
.filters .search:focus { border-color: var(--ink-3); }
.trade-grid { display: grid; grid-template-columns: 1fr 440px; gap: 26px; align-items: start; }
.trade-side { position: sticky; top: 100px; }
.mkt-head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; }
.mkt-head img { width: 58px; height: 58px; border-radius: 50%; }
.mkt-head h1 { font-size: clamp(34px, 4vw, 52px); }
.mkt-head .meta { display: flex; gap: 10px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.mkt-switch { margin-left: auto; }
.chart-card { padding: 22px 22px 14px; margin-bottom: 22px; }
.chart-card .ch-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.legend { display: flex; gap: 18px; font-size: 13px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 14px; height: 2px; border-radius: 2px; }
#rateChart { width: 100%; height: 300px; }
.ch-tip { position: absolute; pointer-events: none; padding: 9px 11px; border: 1px solid var(--line-2); background: rgba(8, 8, 14, 0.94); border-radius: 4px; font-family: var(--mono); font-size: 11.5px; line-height: 1.6; white-space: nowrap; z-index: 3; }
.explain { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.explain .panel { padding: 22px 24px; }
.explain h4 { margin: 0 0 8px; font-size: 16px; font-weight: 500; display: flex; gap: 8px; align-items: center; }
.explain p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.addr-list { padding: 8px 22px; }
.addr-list div { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.addr-list div:last-child { border-bottom: 0; }
.addr-list a { font-family: var(--mono); font-size: 13px; color: var(--ink); }
.addr-list a:hover { color: var(--gold); }
.about { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }
.empty { padding: 60px 20px; text-align: center; }
.empty h3 { font-size: 24px; margin-bottom: 10px; }
.empty p { color: var(--ink-2); margin: 0 auto 22px; max-width: 30em; }
.pos-acts { display: flex; gap: 8px; justify-content: flex-end; }

/* docs */
.docs { display: grid; grid-template-columns: 220px 1fr; gap: 60px; }
.docs-toc { position: sticky; top: 110px; align-self: start; }
.docs-toc a { display: flex; gap: 10px; padding: 7px 0; font-size: 14px; color: var(--ink-3); transition: color 0.2s; }
.docs-toc a span { font-family: var(--mono); font-size: 12px; color: var(--ink-4); width: 22px; }
.docs-toc a:hover, .docs-toc a.on { color: var(--ink); }
.docs-toc a.on span { color: var(--gold); }
.doc-sec { padding: 0 0 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.doc-sec:last-child { border-bottom: 0; }
.doc-sec h2 { font-size: clamp(28px, 3vw, 40px); margin: 14px 0 18px; }
.doc-sec p, .doc-sec li { color: var(--ink-2); line-height: 1.75; font-size: 16px; }
.doc-sec p { margin: 0 0 14px; max-width: 42em; }
.doc-sec strong { color: var(--ink); font-weight: 500; }
.doc-flow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 20px 0; }
.doc-flow span { padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 3px; font-size: 14px; }
.doc-flow i { color: var(--ink-3); font-style: normal; }
.gloss { display: grid; grid-template-columns: 180px 1fr; border-top: 1px solid var(--line); }
.gloss dt, .gloss dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.gloss dt { font-family: var(--mono); font-size: 13.5px; color: var(--ink); }
.gloss dd { color: var(--ink-2); font-size: 15px; }
.formula { font-family: var(--mono); font-size: 15px; padding: 16px 18px; border-left: 2px solid var(--gold); background: rgba(231, 196, 124, 0.05); margin: 18px 0; color: var(--ink); }

/* toast + wallet picker */
.toasts { position: fixed; z-index: 90; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 10px; max-width: min(380px, calc(100vw - 36px)); }
.toast { padding: 14px 16px; border: 1px solid var(--line-2); background: rgba(12, 12, 20, 0.96); border-radius: 6px; font-size: 14px; box-shadow: 0 20px 50px -20px #000; animation: tin 0.4s var(--ease); line-height: 1.45; }
.toast.ok { border-color: rgba(116, 228, 180, 0.35); }
.toast.err { border-color: rgba(255, 125, 142, 0.4); }
.toast a { color: var(--gold); border-bottom: 1px solid rgba(231, 196, 124, 0.4); }
@keyframes tin { from { opacity: 0; transform: translateY(10px); } }
.wpick-bg { position: fixed; inset: 0; z-index: 95; background: rgba(0, 0, 0, 0.6); display: grid; place-items: center; padding: 16px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: tin 0.3s var(--ease); }
.wpick { width: 100%; max-width: 380px; padding: 22px; border: 1px solid var(--line-2); background: #0b0b13; border-radius: 12px; }
.wpick h3 { font-size: 20px; margin: 0 0 4px; }
.wpick > p { margin: 0 0 16px; color: var(--ink-3); font-size: 13.5px; }
.wpick-list { display: flex; flex-direction: column; gap: 8px; }
.wpick-list button { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 15px; transition: 0.2s; text-align: left; }
.wpick-list button:hover { border-color: var(--gold); background: var(--gold-dim); }
.wpick-list img { width: 28px; height: 28px; border-radius: 6px; }
.wpick-list small { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.wpick .x { margin-top: 14px; width: 100%; height: 40px; color: var(--ink-3); font-size: 14px; }
.wmenu { position: fixed; z-index: 96; min-width: 200px; padding: 6px; border: 1px solid var(--line-2); background: #0d0d16; border-radius: 8px; box-shadow: 0 20px 50px -20px #000; }
.wmenu button, .wmenu a { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 5px; font-size: 14px; }
.wmenu button:hover, .wmenu a:hover { background: rgba(255, 255, 255, 0.06); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hdr nav { gap: 20px; }
  .ca { display: none; }
  .tb-hint { display: none; }
}
@media (max-width: 1020px) {
  .hdr nav, .hdr .icon-btn.x { display: none; }
  .menu-btn { display: grid; }
  .hdr-in { gap: 12px; }
  .hdr-act { margin-left: auto; }
  .mnav { position: fixed; z-index: 49; left: 12px; right: 12px; top: 84px; display: flex; flex-direction: column; padding: 10px; border: 1px solid var(--line-2); background: rgba(10, 10, 17, 0.97); border-radius: 12px; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: 0.3s var(--ease); }
  .mnav.open { opacity: 1; transform: none; pointer-events: auto; }
  .mnav a { padding: 14px 12px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .mnav a:last-child { border-bottom: 0; }
  .trade-grid { grid-template-columns: 1fr; }
  .trade-side { position: static; }
  .open-grid { grid-template-columns: 1fr; }
  .tb-steps button span { display: none; }
  .split-top { grid-template-columns: 1fr; gap: 20px; }
  .docs { grid-template-columns: 1fr; }
  .docs-toc { display: none; }
}
@media (max-width: 860px) {
  .stage { width: auto; right: var(--gut); justify-content: flex-end; padding-bottom: 20px; }
  .stage .h1 { margin: 18px 0 16px; }
  .travel-shade { background: linear-gradient(to top, rgba(4, 4, 8, 0.97) 0%, rgba(4, 4, 8, 0.82) 48%, rgba(4, 4, 8, 0.15) 75%, rgba(4, 4, 8, 0.4) 100%); }
  .drag-hint, .plane-tag { display: none; }
  .tb-steps { display: none; }
  .tb-nav { margin-left: 0; }
  .tb-hint { display: block; margin-right: auto; }
  .sat { font-size: 9px; padding: 4px 7px; }
  .sat small { display: none; }
  .sim-grid, .ps-grid, .explain { grid-template-columns: 1fr; }
  .sim-bar { grid-template-columns: 1fr; gap: 18px; }
  .econ-cols { grid-template-columns: 1fr; gap: 30px; }
  .econ-live { grid-template-columns: 1fr; }
  .econ-live > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .sec-head, .page-head { grid-template-columns: 1fr; gap: 20px; }
  .split-cells { grid-template-columns: 1fr; }
  .split-cells > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .split-cells > div { padding: 14px 0 6px; }
  .split-cells p { display: none; }
  .split { height: 300vh; }
  .split-stage { height: 30vh; }
  .asset-card { display: none; }
  .tb-all { display: none; }
  .tb-nav span { white-space: nowrap; }
  .split-read span:nth-child(n+3) { display: none; }
  .split-read { justify-content: flex-start; gap: 12px; font-size: 11px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat-row > div:nth-child(3) { border-left: 0; }
  .stat-row > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .mt .hide-m { display: none; }
  .filters .search { width: 100%; margin-left: 0; }
  .gloss { grid-template-columns: 1fr; }
  .gloss dt { border-bottom: 0; padding-bottom: 0; }
}
@media (max-width: 560px) {
  .st-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .st-card { padding: 12px; }
  .st-card p { display: none; }
  .st-card .big { font-size: 20px; }
  .st-stats { gap: 18px; margin: 18px 0 20px; padding-top: 14px; }
  .st-stats div > b { font-size: 14px; }
  .stage .lede { font-size: 15px; }
  .btn { height: 46px; padding: 0 18px; font-size: 14.5px; }
  .hdr .app-btn { display: none; }
  .tw { padding: 16px; }
  .tw-cmp { grid-template-columns: 1fr; }
  .tw-mkt { flex-wrap: wrap; }
  .tw-mkt select { margin-left: 0; max-width: 100%; width: 100%; }
  .ps-card .three b { font-size: 16px; }
  .sim-card { padding: 22px 20px; }
  .ftr .wrap { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- points ---------- */
.me-card { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 10px; align-items: center; padding: 20px 24px; margin-bottom: 26px; background: linear-gradient(100deg, rgba(231, 196, 124, 0.07), rgba(159, 141, 255, 0.05)); }
.me-card b { display: block; font-weight: 400; font-size: 24px; margin-top: 6px; }
.me-act { display: flex; gap: 10px; }
.board-grid { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
.board-grid aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 100px; }
.mt .rank { color: var(--ink-3); width: 44px; }
.mt .r1 { color: var(--gold); } .mt .r2 { color: #d9dbe6; } .mt .r3 { color: #c69a6a; }
.mt tr.is-me td { background: rgba(231, 196, 124, 0.06); }
.mt td a.mono { font-size: 13.5px; }
.mt td a.mono:hover { color: var(--gold); }
.rules { padding: 22px 24px; }
.rules ol { margin: 14px 0 0; padding-left: 18px; }
.rules li { color: var(--ink-2); font-size: 14px; line-height: 1.6; margin-bottom: 10px; }
.rules li b { color: var(--ink); font-weight: 500; }
.rules .rew { margin: 8px 0 0; padding: 12px 14px; border-radius: 6px; border: 1px solid rgba(231, 196, 124, 0.3); background: var(--gold-dim); color: var(--gold-2); font-size: 14px; }
.feed { padding: 22px 24px; }
.feed-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.feed-row:last-child { border-bottom: 0; }
.feed-row:hover .mono { color: var(--gold); }
@media (max-width: 1020px) { .board-grid { grid-template-columns: 1fr; } .board-grid aside { position: static; } .me-card { grid-template-columns: repeat(2, 1fr); } .me-act { grid-column: 1 / -1; } }

/* ---------- depth & polish ---------- */
/* star dust behind every section, so black never looks flat */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.55;
  background-image: radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.55), transparent 60%), radial-gradient(1px 1px at 73% 32%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1.2px 1.2px at 41% 77%, rgba(231,196,124,.5), transparent 60%), radial-gradient(1px 1px at 88% 84%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1.2px 1.2px at 27% 52%, rgba(159,141,255,.45), transparent 60%), radial-gradient(1px 1px at 58% 9%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1px 1px at 93% 47%, rgba(255,255,255,.3), transparent 60%), radial-gradient(1px 1px at 6% 66%, rgba(255,255,255,.35), transparent 60%);
  background-size: 640px 640px; }
.sec::before { content: ""; position: absolute; left: 50%; top: 0; width: min(1100px, 90vw); height: 420px; transform: translateX(-50%); pointer-events: none; z-index: -1;
  background: radial-gradient(50% 60% at 30% 0%, rgba(231, 196, 124, 0.06), transparent 70%), radial-gradient(45% 55% at 75% 10%, rgba(159, 141, 255, 0.06), transparent 70%); }
/* headlines: a soft vertical sheen; coloured words keep their colour */
.h1, .h2 { background: linear-gradient(180deg, #ffffff 0%, #dfe0ea 55%, #b9bbcb 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.h1 .gold, .h2 .gold, .h1 .vio, .h2 .vio, .h1 .mint, .h2 .mint, .h1 .soft, .h2 .soft { -webkit-text-fill-color: currentColor; }
.h1 .gold { background: linear-gradient(180deg, #f6e2b4, #d8ae5c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.h1 .vio { background: linear-gradient(180deg, #d4cbff, #8b76f5); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.h1 .mint { background: linear-gradient(180deg, #b5f5d9, #4fcf98); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* line-by-line reveal for the stage headlines */
.stage .h1 .ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.stage .h1 .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.stage.on .h1 .ln > span { transform: none; }
.stage.on .h1 .ln:nth-child(2) > span { transition-delay: 0.09s; }
.stage .eyebrow, .stage .lede, .stage .st-cards, .stage .st-stats, .stage .st-btns, .stage .st-tabs, .stage .st-tabtext, .stage .st-mkts { opacity: 0; transform: translateY(14px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); }
.stage.on .eyebrow { opacity: 1; transform: none; }
.stage.on .lede { opacity: 1; transform: none; transition-delay: 0.16s; }
.stage.on .st-cards, .stage.on .st-tabs, .stage.on .st-mkts { opacity: 1; transform: none; transition-delay: 0.24s; }
.stage.on .st-tabtext, .stage.on .st-stats { opacity: 1; transform: none; transition-delay: 0.3s; }
.stage.on .st-btns { opacity: 1; transform: none; transition-delay: 0.36s; }
/* pointer spotlight on cards and panels */
.panel, .st-card { --mx: 50%; --my: -20%; position: relative; }
.panel::after, .st-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.055), transparent 60%); }
.panel:hover::after, .st-card:hover::after { opacity: 1; }
/* live rate pill in the header */
.rate-pill { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 12px; border: 1px solid rgba(231, 196, 124, 0.28); border-radius: 999px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); background: rgba(231, 196, 124, 0.05); white-space: nowrap; transition: border-color 0.2s, background 0.2s; }
.rate-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.rate-pill b { color: var(--gold); font-weight: 500; }
.rate-pill:hover { border-color: var(--gold); background: var(--gold-dim); }
.hdr.float .rate-pill { height: 34px; }
@media (max-width: 1180px) { .rate-pill { display: none; } }
/* market rows: an accent rail in the colour of the yield source */
.mt tbody tr td:first-child { position: relative; }
.mt tbody tr td:first-child::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 2px; border-radius: 2px; background: var(--ink-3); opacity: 0; transition: opacity 0.25s; }
.mt tbody tr:hover td:first-child::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .stage .h1 .ln > span, .stage .eyebrow, .stage .lede, .stage .st-cards, .stage .st-stats, .stage .st-btns, .stage .st-tabs, .stage .st-tabtext, .stage .st-mkts { transform: none; opacity: 1; } }

.stage .h1 { background: none; -webkit-text-fill-color: currentColor; color: var(--ink); }
.stage .h1 .ln > span:not(.gold):not(.vio):not(.mint):not(.soft) { background: linear-gradient(180deg, #ffffff 0%, #dfe0ea 55%, #b9bbcb 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stage .h1 .ln > span.soft { color: var(--ink-3); -webkit-text-fill-color: var(--ink-3); }
@media (max-width: 560px) { .stage .st-stats { display: none; } .stage .st-cards { margin-top: 18px; } .stage .st-btns { margin-top: 18px; } }

/* ---------- Follow on X ---------- */
.btn-x svg, .ftr .fx svg, .mnav .mx svg { width: 15px; height: 15px; flex: none; }
.btn-x:hover { border-color: var(--violet); }
.ftr nav { align-items: center; }
.ftr .fx { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); transition: border-color 0.2s, background 0.2s; }
.ftr .fx:hover { border-color: var(--ink-2); background: rgba(255, 255, 255, 0.04); }
.mnav .mx { display: flex; align-items: center; gap: 10px; }
@media (max-width: 560px) { .cta .st-btns .btn { flex: 1 1 100%; } .ftr nav { flex-wrap: wrap; gap: 16px 22px; } }
