:root {
  --ink: #0B0B0A;
  --ink-2: #131311;
  --ink-3: #1B1A17;
  --paper: #F3F1EA;
  --muted: rgba(243, 241, 234, 0.58);
  --faint: rgba(243, 241, 234, 0.34);
  --line: rgba(243, 241, 234, 0.1);
  --line-2: rgba(243, 241, 234, 0.18);
  --accent: #FF5A1F;
  --accent-soft: rgba(255, 90, 31, 0.14);
  --ok: #9BE39B;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r: 14px;
  --pad: clamp(16px, 4vw, 40px);
  --top: 64px;
  --tab: calc(62px + env(safe-area-inset-bottom, 0px));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font: 400 16px/1.5 var(--sans); letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; min-height: 100dvh;
  padding-bottom: var(--tab);
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; }
.label { font: 500 11px/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.accent { color: var(--accent); }
.muted { color: var(--muted); }

/* ── chrome ── */
.devnet {
  position: sticky; top: 0; z-index: 30; text-align: center; padding: 6px 12px;
  font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); background: #170c07; border-bottom: 1px solid rgba(255, 90, 31, .3);
}
.top {
  position: sticky; top: 0; z-index: 20; height: var(--top);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--pad);
  background: rgba(11, 11, 10, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.devnet:not([hidden]) + .top { top: 27px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; white-space: nowrap; }
.brand .mark { width: 22px; height: 22px; color: var(--paper); }
.brand b { font: 500 13px var(--mono); color: var(--accent); }
.nav { display: none; gap: 4px; margin-left: 8px; }
.nav a { text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 999px; font-size: 14px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--paper); }
.nav a.on { color: var(--paper); background: var(--ink-3); }
.wallet { margin-left: auto; }
@media (min-width: 900px) { .nav { display: flex; } }
@media (max-width: 420px) { .brand span { display: none; } }

.tabbar {
  position: fixed; inset: auto 0 0 0; z-index: 25; height: var(--tab);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(11, 11, 10, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.tabbar a { display: grid; place-items: center; align-content: center; gap: 4px; text-decoration: none; font: 500 11px var(--mono); letter-spacing: .06em; color: var(--faint); text-transform: uppercase; }
.tabbar a.on { color: var(--paper); }
.tabbar a.on .ic { background: var(--accent); }
@media (min-width: 900px) { .tabbar { display: none; } }
.ic { width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ic-grid { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M2 2h7v7H2zM11 2h7v7h-7zM2 11h7v7H2zM11 11h7v7h-7z'/%3E%3C/svg%3E"); }
.ic-coin { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 1a9 9 0 1 1 0 18 9 9 0 0 1 0-18zm0 3a6 6 0 1 0 0 12 6 6 0 0 0 0-12zm-1 2h2v8H9z'/%3E%3C/svg%3E"); }
.ic-info { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 1a9 9 0 1 1 0 18 9 9 0 0 1 0-18zM9 8v7h2V8zm0-4v2h2V4z'/%3E%3C/svg%3E"); }
.ic-pen { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M13.6 2.6l3.8 3.8L7 16.8 2 18l1.2-5z'/%3E%3C/svg%3E"); }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  background: var(--paper); color: var(--ink); border: 1px solid var(--paper);
  font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background .2s, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--paper); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--paper); }
.btn.hot { background: var(--accent); border-color: var(--accent); color: #140700; }
.btn.small { min-height: 34px; padding: 0 14px; font-size: 13px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btn .dot { width: 8px; height: 8px; background: var(--accent); }

/* ── layout ── */
main { outline: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(48px, 9vw, 112px) 0; border-top: 1px solid var(--line); }
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; font-weight: 600; line-height: 1.02; }
h1 { font-size: clamp(42px, 8.4vw, 104px); }
h2 { font-size: clamp(30px, 4.6vw, 56px); }
h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
.lede { font-size: clamp(17px, 1.8vw, 21px); color: var(--muted); max-width: 46ch; line-height: 1.45; }

/* ── hero ── */
.hero { position: relative; height: calc(100svh - var(--top) - var(--tab)); min-height: 560px; overflow: hidden; }
@media (min-width: 900px) { .hero { height: calc(100svh - var(--top)); min-height: 640px; } }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(11,11,10,.35) 0%, rgba(11,11,10,0) 25%, rgba(11,11,10,.55) 62%, var(--ink) 100%),
  linear-gradient(90deg, rgba(11,11,10,.82), rgba(11,11,10,.2) 55%, rgba(11,11,10,0)); }
.hero canvas { animation: heroIn 1.6s ease both; }
@keyframes heroIn { from { opacity: 0; transform: scale(1.04); } }
.hero-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(24px, 6vh, 72px); pointer-events: none; }
.hero-copy .wrap > * { pointer-events: auto; }
.hero-copy h1 { max-width: 11ch; margin: 14px 0 18px; }
.hero-copy h1 em { font-style: normal; color: var(--accent); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-stats { display: flex; gap: clamp(18px, 4vw, 48px); margin-top: 30px; flex-wrap: wrap; }
.hero-stats div { display: grid; gap: 4px; }
.hero-stats b { font: 500 clamp(18px, 2vw, 22px) var(--mono); }
.hero-hint { position: absolute; z-index: 2; right: var(--pad); top: 20px; }

/* ── meme cards ── */
.grid-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.card {
  position: relative; display: grid; gap: 16px; padding: 16px; text-decoration: none;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .25s, transform .25s ease;
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card .thumb { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--ink-3); position: relative; }
.card .thumb canvas, .card .thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.card .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card .name { font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.card .sym { font: 500 13px var(--mono); color: var(--muted); }
.card .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.card .stats b { display: block; font: 500 14px var(--mono); margin-top: 3px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px;
  font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--line-2); color: var(--paper); white-space: nowrap;
}
.badge.verified::before { content: ""; width: 7px; height: 7px; background: var(--accent); }
.badge.soon { color: var(--muted); }
.empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--muted); }

/* ── how / split ── */
.steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 40px; }
.step { padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--ink-2); display: grid; gap: 10px; align-content: start; }
.step .n { font: 500 12px var(--mono); color: var(--accent); }
.step p { color: var(--muted); font-size: 15px; }
.split { margin-top: 36px; }
.split-bar { display: flex; height: 54px; gap: 3px; }
.split-bar span { display: flex; align-items: end; padding: 8px 10px; font: 500 13px var(--mono); color: var(--ink); }
.split-legend { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-top: 18px; }
.split-legend div { display: grid; grid-template-columns: 12px 1fr; gap: 10px; align-items: start; font-size: 14px; }
.split-legend i { width: 12px; height: 12px; margin-top: 5px; }
.split-legend b { display: block; }
.split-legend span { color: var(--muted); }
.c-h { background: var(--paper); } .c-c { background: var(--accent); } .c-t { background: #A39F94; } .c-p { background: #5D5A52; }
.faq { display: grid; gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin-top: 10px; max-width: 70ch; }

/* ── meme page ── */
.meme { display: grid; gap: 28px; padding-top: 22px; padding-bottom: 60px; }
@media (min-width: 1000px) { .meme { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 44px; align-items: start; } }
.board { position: relative; }
@media (min-width: 1000px) { .board { position: sticky; top: calc(var(--top) + 20px); } }
.board .frame { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line); }
.board canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }
.board .tools { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 6px; }
.board .tools button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(11,11,10,.8); cursor: pointer; font: 500 16px var(--mono); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; font: 400 12px var(--mono); color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; }
.l-mine { background: var(--accent); } .l-hold { background: var(--paper); } .l-mkt { background: #2a2925; } .l-burn { background: #050504; outline: 1px solid var(--line-2); }
.mhead { display: grid; gap: 12px; }
.mhead .badges { display: flex; flex-wrap: wrap; gap: 8px; }
.mhead h1 { font-size: clamp(38px, 6vw, 72px); }
.mhead .tag { color: var(--muted); font-size: 17px; max-width: 52ch; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 560px) { .kpis { grid-template-columns: repeat(3, 1fr); } }
.kpis div { background: var(--ink); padding: 14px 16px; display: grid; gap: 4px; }
.kpis b { font: 500 18px var(--mono); }
.seg { display: flex; gap: 4px; padding: 4px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; overflow-x: auto; scrollbar-width: none; position: sticky; top: calc(var(--top) + 8px); z-index: 5; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex: 1 0 auto; border: 0; background: transparent; padding: 10px 16px; border-radius: 999px; cursor: pointer; color: var(--muted); font-weight: 500; font-size: 14px; }
.seg button.on { background: var(--paper); color: var(--ink); }
.panel { display: grid; gap: 16px; }
.box { border: 1px solid var(--line); border-radius: var(--r); background: var(--ink-2); padding: 18px; display: grid; gap: 14px; }
.box h3 { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
.kv dd a { color: var(--paper); text-decoration-color: var(--line-2); }
.big { font: 500 clamp(30px, 5vw, 44px)/1 var(--mono); letter-spacing: -0.03em; }
.meter { height: 6px; background: var(--ink-3); border-radius: 99px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width .6s ease; }
.note { font-size: 13px; color: var(--muted); }
.warn { font-size: 13px; color: var(--accent); }
.field { display: grid; gap: 6px; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--ink); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 12px 14px; color: var(--paper); font: 16px var(--sans);
}
.field textarea { min-height: 110px; resize: vertical; }
.row2 { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.prop { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 12px; background: var(--ink-2); }
.prop .meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tally { display: grid; gap: 6px; }
.tally .bar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: var(--ink-3); }
.tally .yes { background: var(--paper); } .tally .no { background: #5D5A52; }
.vest { display: flex; align-items: end; gap: 2px; height: 90px; }
.vest i { flex: 1; background: var(--accent); min-height: 2px; opacity: .85; border-radius: 2px 2px 0 0; }

/* ── sheet / toast / tip ── */
.sheet { border: 0; padding: 0; background: transparent; color: var(--paper); max-width: 100vw; width: 100%; margin: auto auto 0; }
@media (min-width: 640px) { .sheet { width: 420px; margin: auto; } }
.sheet::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); }
.sheet-body { background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 20px 20px 0 0; padding: 22px 20px calc(22px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 12px; }
@media (min-width: 640px) { .sheet-body { border-radius: 20px; } }
.sheet[open] .sheet-body { animation: up .28s cubic-bezier(.2, .9, .3, 1); }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
.wl { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--ink); cursor: pointer; width: 100%; text-align: left; font-weight: 500; text-decoration: none; }
.wl img { width: 28px; height: 28px; border-radius: 6px; }
.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(var(--tab) + 16px); transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--paper); color: var(--ink); padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 500; max-width: min(92vw, 460px); transition: .25s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast.err { background: var(--accent); color: #140700; }
.toast a { color: inherit; }
@media (min-width: 900px) { .toast { bottom: 24px; } }
.tip { position: fixed; z-index: 40; pointer-events: none; background: var(--paper); color: var(--ink); padding: 8px 10px; border-radius: 8px; font: 500 12px var(--mono); white-space: nowrap; transform: translate(-50%, calc(-100% - 12px)); }

footer.foot { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--faint); font-size: 13px; }
footer.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.skeleton { background: linear-gradient(90deg, var(--ink-2), var(--ink-3), var(--ink-2)); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: 8px; }
@keyframes sk { to { background-position: -200% 0; } }
.fade { animation: fade .45s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 520px) { .devnet .wide { display: none; } }

/* ───────── premium layer ───────── */
body::after { /* film grain */
  content: ""; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } }

.hero-stage { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-stage.on, .hero-stage:has(canvas:not(.hero3d)) { opacity: 1; }
.hero-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 80% at 75% 20%, rgba(255,90,31,.08), transparent 60%); }
.hero::after { z-index: 1; }
.hero-copy { z-index: 2; }
.hero-copy h1 { max-width: none; font-size: clamp(46px, 9vw, 120px); letter-spacing: -0.05em; line-height: .94; }
.rise { animation: rise 1s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } }
.btn .arrow { display: inline-block; transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn.hot { box-shadow: 0 0 0 0 rgba(255,90,31,.5), 0 10px 30px -8px rgba(255,90,31,.55); }
.btn.hot:hover { box-shadow: 0 0 0 6px rgba(255,90,31,.14), 0 14px 40px -8px rgba(255,90,31,.7); }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 14px; width: 22px; height: 34px; border: 1px solid var(--line-2); border-radius: 12px; transform: translateX(-50%); }
.scroll-cue i { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; background: var(--accent); border-radius: 2px; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (max-width: 899px) { .scroll-cue { display: none; } }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--ink-2); padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: 500 13px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.marquee b { width: 7px; height: 7px; background: var(--accent); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s cubic-bezier(.2,.8,.2,1) var(--d, 0s), transform 1s cubic-bezier(.2,.8,.2,1) var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

.square-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .square-grid { grid-template-columns: 1.1fr 1fr; } }
.mega { font-size: clamp(56px, 11vw, 150px); letter-spacing: -0.06em; line-height: .9; margin-top: 14px; font-weight: 500; }
.iso-wrap { position: relative; display: grid; place-items: center; min-height: 340px; perspective: 1400px; }
.iso { display: grid; grid-template-columns: repeat(8, 1fr); gap: 7px; width: min(78vw, 380px); transform: rotateX(56deg) rotateZ(-38deg); transform-style: preserve-3d; }
.iso i { aspect-ratio: 1; background: #3a3832; border-radius: 3px; transform-style: preserve-3d; box-shadow: 0 0 0 1px rgba(243,241,234,.05) inset;
  animation: tile 6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.09s); }
.iso i:nth-child(3n) { background: #cfccc2; } .iso i:nth-child(3n+1) { background: #a9a59a; } .iso i:nth-child(5n) { background: #f3f1ea; }
.iso i.dim { background: #1d1c19 !important; }
.iso i.lit { background: var(--accent) !important; box-shadow: 0 0 34px 6px rgba(255,90,31,.45); animation: lit 3.2s ease-in-out infinite; }
@keyframes tile { 0%,100% { transform: translateZ(0); } 50% { transform: translateZ(10px); } }
@keyframes lit { 0%,100% { transform: translateZ(14px); } 50% { transform: translateZ(46px); } }
.iso-tag { position: absolute; right: 4%; bottom: 8%; font-size: 12px; color: var(--accent); border: 1px solid rgba(255,90,31,.4); padding: 6px 10px; border-radius: 999px; background: rgba(11,11,10,.7); }

.card { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .25s, opacity 1s, box-shadow .35s; will-change: transform; }
.card:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.card[data-reveal]:not(.in) { transform: translateY(34px); }
.card .shine { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.16), transparent 45%); }
.card:hover .shine { opacity: 1; }
.empty { display: grid; justify-items: center; gap: 16px; padding: 56px 24px; }
.empty-mark { display: grid; grid-template-columns: repeat(4, 14px); gap: 5px; }
.empty-mark i { width: 14px; height: 14px; background: var(--ink-3); }
.empty-mark i.lit { background: var(--accent); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }

.stack-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .stack-grid { grid-template-columns: 1fr 1.1fr; } }
.stack { position: relative; height: 420px; perspective: 1600px; }
.plate { position: absolute; left: 50%; top: 50%; width: min(86vw, 420px); height: 210px; margin: -105px 0 0 calc(min(86vw, 420px) / -2);
  display: grid; align-content: end; gap: 4px; padding: 22px; border-radius: 18px; border: 1px solid var(--line-2);
  background: linear-gradient(140deg, rgba(243,241,234,.08), rgba(243,241,234,.02)); backdrop-filter: blur(6px);
  transform: rotateX(58deg) rotateZ(-32deg) translateZ(var(--z)); transform-style: preserve-3d; animation: float 7s ease-in-out infinite; animation-delay: var(--fd); }
.plate b { font-size: 24px; letter-spacing: -.02em; } .plate small { color: var(--muted); font-size: 14px; } .plate span { color: var(--accent); font-size: 12px; }
.plate.p1 { --z: -90px; --fd: 0s; } .plate.p2 { --z: 0px; --fd: -2.3s; } .plate.p3 { --z: 90px; --fd: -4.6s; border-color: rgba(255,90,31,.6); background: linear-gradient(140deg, rgba(255,90,31,.22), rgba(255,90,31,.04)); }
@keyframes float { 0%,100% { transform: rotateX(58deg) rotateZ(-32deg) translateZ(var(--z)); } 50% { transform: rotateX(58deg) rotateZ(-32deg) translateZ(calc(var(--z) + 18px)); } }

.split-bar span { transform-origin: left; }
.split[data-reveal] .split-bar span { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2,.8,.2,1) var(--d); }
.split[data-reveal].in .split-bar span { transform: none; }

.cta-band { text-align: left; background: radial-gradient(80% 120% at 85% 100%, rgba(255,90,31,.16), transparent 60%); }
.cta-band h2 { font-size: clamp(40px, 7vw, 92px); margin: 14px 0 30px; letter-spacing: -0.05em; line-height: .95; }

.board .frame { box-shadow: 0 40px 120px -40px rgba(255,90,31,.25); }
.kpis div { transition: background .3s; } .kpis div:hover { background: var(--ink-2); }
.seg button { transition: background .25s, color .25s; }
.box { transition: border-color .3s; } .box:hover { border-color: var(--line-2); }
.mhead, .kpis { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.kpis { animation-delay: .12s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } body::after { animation: none; } }
html, body { overflow-x: clip; }
.iso-wrap, .stack { overflow: clip; overflow-clip-margin: 40px; }
@media (max-width: 600px) { .iso { width: 66vw; } .plate { width: 74vw; margin-left: -37vw; height: 180px; margin-top: -90px; } .stack { height: 360px; } }
.plate { background: linear-gradient(140deg, #1f1e1a, #141311); backdrop-filter: none; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
.plate.p1 { --z: -140px; } .plate.p3 { --z: 140px; background: linear-gradient(140deg, #3a1a0c, #1a0e08); }
.stack { height: 480px; }
@media (max-width: 600px) { .plate.p1 { --z: -150px; } .plate.p3 { --z: 150px; } .plate { height: 150px; margin-top: -75px; } .stack { height: 440px; } }

/* ── three layers diagram ── */
.stack-grid { align-items: center; }
.layers svg { width: 100%; height: auto; display: block; overflow: visible; }
.layers .slab { transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.layers .slab .top { fill: #24231f; stroke: rgba(243,241,234,.18); stroke-width: 1; transition: fill .6s, stroke .6s; }
.layers .slab .side.l { fill: #161512; } .layers .slab .side.r { fill: #100f0d; }
.layers .slab.on { transform: translateY(-12px); }
.layers .slab.on .top { fill: #2f2b25; stroke: var(--accent); }
.layers .cell { fill: #3a3832; } .layers .slab.on .cell { fill: #cfccc2; }
.layers .cell.lit { fill: var(--accent) !important; }
.layers .coin { fill: none; stroke: #a9a59a; stroke-width: 2; } .layers .coin.in { stroke-dasharray: 3 4; }
.layers .slab.on .coin { stroke: var(--accent); }
.layers .coin-t { font: 600 18px var(--sans); fill: #a9a59a; } .layers .slab.on .coin-t { fill: var(--paper); }
.layers .doc { fill: #3a3832; } .layers .slab.on .doc { fill: #f3f1ea; }
.layers .docl { stroke: #1b1a17; stroke-width: 3; stroke-linecap: round; }
.layers .track { stroke: rgba(243,241,234,.16); stroke-width: 1.5; stroke-dasharray: 4 6; fill: none; }
.layers .fee { fill: var(--accent); } .layers .vote { fill: var(--paper); }
.layers .flow { font: 500 12px var(--mono); letter-spacing: .14em; } .layers .flow.f { fill: var(--accent); } .layers .flow.v { fill: var(--muted); }
.layers .lab text { transition: fill .5s, opacity .5s; }
.layers .lab .n { font: 500 13px var(--mono); fill: var(--faint); }
.layers .lab .t { font: 600 22px var(--sans); fill: var(--muted); letter-spacing: -.02em; }
.layers .lab .s { font: 400 14px var(--sans); fill: var(--faint); }
.layers .lab .lead { stroke: rgba(243,241,234,.18); stroke-width: 1; stroke-dasharray: 2 4; }
.layers .lab.on .n { fill: var(--accent); } .layers .lab.on .t { fill: var(--paper); } .layers .lab.on .s { fill: var(--muted); }
.layers .lab.on .lead { stroke: var(--accent); }
.layer-steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 4px; counter-reset: s; }
.layer-steps li { position: relative; padding: 14px 16px 14px 46px; border-radius: 12px; color: var(--faint); font-size: 15px; cursor: default; transition: background .4s, color .4s; counter-increment: s; }
.layer-steps li::before { content: "0" counter(s); position: absolute; left: 16px; top: 15px; font: 500 12px var(--mono); color: var(--faint); }
.layer-steps li b { display: block; color: var(--muted); font-weight: 600; margin-bottom: 2px; transition: color .4s; }
.layer-steps li.on { background: var(--ink-2); color: var(--muted); }
.layer-steps li.on b { color: var(--paper); } .layer-steps li.on::before { color: var(--accent); }
.hero-key { position: absolute; z-index: 3; right: var(--pad); bottom: clamp(24px, 6vh, 72px); width: 300px; padding: 16px 18px; border-radius: 14px;
  background: rgba(11,11,10,.72); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: grid; gap: 10px; animation: rise 1s cubic-bezier(.2,.8,.2,1) 1.2s both; }
.hero-key p { font-size: 14px; color: var(--muted); line-height: 1.45; } .hero-key b { color: var(--paper); font-weight: 600; }
.hero-key ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font: 400 12px var(--mono); color: var(--muted); }
.hero-key li { display: flex; align-items: center; gap: 10px; }
.hero-key i { width: 10px; height: 10px; flex: none; }
.k-held { background: var(--paper); box-shadow: 0 -4px 0 #a9a59a; } .k-mkt { background: #2a2925; outline: 1px solid var(--line-2); } .k-lit { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
@media (max-width: 1099px) { .hero-key { display: none; } }
.buy-tag { position: absolute; z-index: 3; pointer-events: none; transform: translate(-50%, -130%); white-space: nowrap;
  padding: 6px 10px; border-radius: 999px; background: var(--accent); color: #140700; font: 500 12px var(--mono);
  animation: tag 1.9s cubic-bezier(.2,.8,.2,1) both; box-shadow: 0 8px 24px -6px rgba(255,90,31,.6); }
.buy-tag b { font-weight: 600; }
@keyframes tag { 0% { opacity: 0; transform: translate(-50%, -90%) scale(.9); } 15%,75% { opacity: 1; transform: translate(-50%, -140%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -190%); } }
@media (max-width: 899px) { .hero::after { background: linear-gradient(180deg, rgba(11,11,10,0) 30%, rgba(11,11,10,.7) 58%, var(--ink) 100%); } }

/* ── hero meme card (HUD) ── */
.hero-card { position: absolute; z-index: 3; right: var(--pad); bottom: clamp(24px, 6vh, 72px); width: 290px; padding: 16px 18px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(31,30,26,.82), rgba(14,14,12,.82)); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: grid; gap: 10px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05);
  animation: rise 1s cubic-bezier(.2,.8,.2,1) 1.2s both; }
.hero-card .hc-top { display: flex; justify-content: space-between; align-items: center; }
.hero-card .hc-name { display: flex; align-items: baseline; gap: 10px; }
.hero-card .hc-name b { font: 600 26px var(--sans); letter-spacing: -.03em; }
.hero-card .hc-name span { color: var(--muted); font-size: 14px; }
.hero-card .hc-row { display: flex; justify-content: space-between; align-items: center; }
.hero-card .hc-row .mono { font-size: 15px; }
.hero-card .meter i { transition: width .4s ease; }
.hero-card .hc-legend { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; font: 400 11px var(--mono); color: var(--muted); }
.hero-card .hc-legend li { display: flex; align-items: center; gap: 6px; }
.hero-card .hc-legend i { width: 9px; height: 9px; }
.hero-card .hc-dots { display: flex; gap: 6px; }
.hero-card .hc-dots i { width: 16px; height: 3px; border-radius: 2px; background: var(--line-2); transition: background .4s, width .4s; }
.hero-card .hc-dots i.on { background: var(--accent); width: 28px; }
.hero-card.swap .hc-name { animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
@media (max-width: 1099px) {
  .hero-card { top: 12px; bottom: auto; right: 50%; transform: translateX(50%); width: min(92vw, 360px); padding: 10px 14px; gap: 6px;
    grid-template-columns: 1fr auto; align-items: center; animation: none; }
  .hero-card .hc-top, .hero-card .hc-legend, .hero-card .hc-row .label { display: none; }
  .hero-card .hc-name b { font-size: 18px; }
  .hero-card .meter, .hero-card .hc-dots { grid-column: 1 / -1; }
}

/* buy tags: in the background, quieter */
.buy-tag { z-index: 1; padding: 4px 8px; font-size: 11px; background: rgba(255,90,31,.16); color: #ffb08f;
  border: 1px solid rgba(255,90,31,.35); box-shadow: none; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes tag { 0% { opacity: 0; transform: translate(-50%, -90%) scale(.95); } 15%,70% { opacity: .75; transform: translate(-50%, -140%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -180%); } }
.brand .mark { width: 26px; height: 23px; }
.ca-pill { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 12px; max-width: 640px;
  border: 1px solid var(--line-2); border-radius: 14px; background: rgba(11,11,10,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ca-pill code { font: 500 13px var(--mono); overflow-wrap: anywhere; flex: 1 1 220px; }
