:root {
  --bg: #03140d;
  --bg-2: #061a11;
  --panel: rgba(10, 38, 25, 0.55);
  --panel-solid: #0a2418;
  --line: rgba(170, 255, 205, 0.09);
  --line-2: rgba(170, 255, 205, 0.18);
  --text: #e6efe9;
  --muted: #84a593;
  --accent: #ffffff;
  --accent-2: #8fe3b4;
  --ink: #03140d;
  --glow: 255, 255, 255;
  --fg: 255, 255, 255;
  --field: rgba(1, 14, 8, .42);
  --dim: var(--dim);
  --placeholder: var(--placeholder);
  --shadow: 0 40px 120px -40px rgba(0,0,0,.9);
  --up: #8fe3b4;
  --down: #ff8a9e;
  --sans: "Inter Tight", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse 120% 60% at 50% -10%, #0b3a24 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 100% 60%, rgba(16,80,48,.35) 0%, transparent 60%),
    var(--bg);
  background-attachment: fixed; color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1; letter-spacing: -0.035em; font-weight: 700; }
p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
::selection { background: var(--accent); color: var(--ink); }

.wrap { width: min(1280px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }

/* ---------- overlays ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(var(--glow), .07), transparent 60%);
  transform: translate3d(-999px, -999px, 0);
}

/* ---------- intro ---------- */
.intro { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.intro-bar { position: absolute; left: 0; right: 0; height: 50.2%; background: #021009; transition: transform 1.1s var(--ease-io); }
.intro-bar.top { top: 0; } .intro-bar.bottom { bottom: 0; }
.intro-center {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 64px); transition: opacity .5s ease .25s;
}
.intro-label { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.intro-count { font-size: clamp(64px, 14vw, 180px); font-weight: 800; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; color: var(--accent); }
.intro-mark { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.intro-falcon { height: clamp(48px, 9vw, 120px); width: auto; animation: falconIn 1.1s cubic-bezier(.16,1,.3,1) both; filter: drop-shadow(0 0 30px rgba(255,255,255,.25)); }
@keyframes falconIn {
  0% { transform: translateX(-60vw) scaleX(1.6); opacity: 0; filter: blur(14px); }
  60% { opacity: 1; }
  100% { transform: none; opacity: 1; filter: blur(0) drop-shadow(0 0 30px rgba(255,255,255,.25)); }
}
.intro.done .intro-falcon { transform: translateX(40vw); opacity: 0; filter: blur(10px); transition: transform .7s cubic-bezier(.7,0,.84,0), opacity .5s .2s, filter .6s; }
.intro.done .intro-center { opacity: 0; }
.intro.done .intro-bar.top { transform: translateY(-100%); }
.intro.done .intro-bar.bottom { transform: translateY(100%); }
.intro.gone { display: none; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, opacity .2s, color .25s;
  overflow: hidden; isolation: isolate;
}
.btn:active { transform: scale(.97); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--ink); box-shadow: 0 0 0 1px rgba(var(--glow), .4), 0 18px 50px -18px rgba(var(--glow), .8); }
.btn-accent::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-accent:hover::before { transform: translateX(120%); }
.btn-accent:hover { box-shadow: 0 0 0 1px rgba(var(--glow), .6), 0 22px 60px -14px rgba(var(--glow), .95); }
.btn-accent:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.btn-glass { background: rgba(var(--fg), .06); border: 1px solid var(--line-2); backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(var(--fg), .12); }
.btn-markets { padding-right: 8px; gap: 14px; }
.ape-label { display: inline-flex; align-items: baseline; gap: 7px; line-height: 1; }
.ape-kicker {
  font-weight: 800; font-size: 13px; letter-spacing: .32em; text-transform: uppercase; padding-left: .32em;
  background: linear-gradient(110deg, rgba(var(--fg), .55) 30%, rgb(var(--fg)) 50%, rgba(var(--fg), .55) 70%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 3.6s linear infinite;
}
.ape-label em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 24px; letter-spacing: -0.01em; }
@keyframes sheen { from { background-position: 125% 0; } to { background-position: -125% 0; } }
.mover {
  position: relative; display: inline-flex; align-items: center; height: 38px; min-width: 168px; padding: 0 12px; border-radius: 999px; overflow: hidden;
  background: rgba(var(--fg), .08); border: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; font-weight: 500;
}
.mover:empty { display: none; }
.mv-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; transition: transform .55s var(--ease), opacity .45s var(--ease), filter .55s var(--ease); }
.mv-item.out { position: absolute; left: 12px; transform: translateY(-120%); opacity: 0; filter: blur(6px); }
.mv-item.pre { transform: translateY(120%); opacity: 0; filter: blur(6px); transition: none; }
.mover .tk-icon { width: 20px; height: 20px; font-size: 7px; }
.mover b { font-weight: 500; color: var(--text); }
.mover::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 1.5px; border-radius: 2px; background: rgba(var(--fg), .5); transform-origin: left; transform: scaleX(0); }
.mover.ticking::after { animation: reel-timer var(--reel, 2800ms) linear forwards; }
@keyframes reel-timer { to { transform: scaleX(1); } }
.btn-markets:hover .mover { border-color: var(--line-2); }
.btn-light { background: var(--text); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-light.connected { background: rgba(var(--fg), .08); color: var(--text); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 13px; }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--muted); transition: .2s; }
.icon-btn:hover { background: rgba(var(--fg), .06); color: var(--text); }

.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); display: inline-block; flex: none; }
.dot.live { box-shadow: 0 0 0 0 rgba(var(--glow), .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(var(--glow), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--glow), 0); } }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 60; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(1280px, 100% - 24px); height: 64px; padding: 0 10px 0 20px;
  display: flex; align-items: center; gap: 20px; border-radius: 20px;
  border: 1px solid transparent; transition: background .4s, border-color .4s, transform .5s var(--ease);
}
.nav.scrolled { background: rgba(4, 24, 15, .66); border-color: var(--line); backdrop-filter: blur(18px) saturate(150%); }
.nav.hide { transform: translate(-50%, -130%); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.brand em { color: var(--text); font-size: 1.25em; margin-left: 3px; line-height: 1; }
.brand img { transition: transform .5s var(--ease); }
.brand:hover img { transform: translateX(3px) rotate(-6deg); }
.nav-links { display: flex; gap: 2px; margin: 0 auto; }
.nav-links a { padding: 8px 14px; font-size: 14.5px; font-weight: 500; color: var(--muted); border-radius: 999px; transition: .2s; }
.nav-links a:hover { color: var(--text); background: rgba(var(--fg), .05); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.chain-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 13.5px; color: var(--muted); font-weight: 500;
}
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line-2); flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.menu-btn span { width: 16px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, transparent 0%, rgba(3,20,13,.35) 60%, var(--bg) 100%),
    linear-gradient(180deg, rgba(3,20,13,.5) 0%, transparent 25%, transparent 55%, var(--bg) 100%),
    linear-gradient(90deg, rgba(3,20,13,.7) 0%, transparent 55%);
}
.hero-inner { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; width: min(1280px, 100% - 40px); margin: 0 auto; padding: 140px 0 40px; }
.status {
  display: inline-flex; align-items: center; margin-bottom: 30px; height: 38px; padding: 0 6px 0 14px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(var(--fg), .04); backdrop-filter: blur(12px);
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); white-space: nowrap;
}
.st-net { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-weight: 500; padding-right: 14px; }
.st-item { display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; border-left: 1px solid var(--line-2); height: 16px; }
.st-item b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; transition: color .4s; }
.st-item b.tick-up { color: var(--up); }

/* hero product visual */
.hero-visual { position: absolute; z-index: 3; right: max(20px, calc((100% - 1280px) / 2)); bottom: 156px; width: 400px; height: 300px; pointer-events: none; }
.hv-card {
  position: absolute; border-radius: 22px; padding: 18px; color: var(--text);
  background: linear-gradient(160deg, rgba(var(--fg), .10), rgba(var(--fg), .03)); border: 1px solid var(--line-2);
  backdrop-filter: blur(22px) saturate(150%); box-shadow: 0 40px 80px -30px rgba(0,0,0,.75), inset 0 1px 0 rgba(var(--fg), .12);
  opacity: 0; transform: translateY(30px) scale(.96); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
body.ready .hv-card { opacity: 1; transform: none; }
body.ready .hv-price { transition-delay: .7s; } body.ready .hv-route { transition-delay: .95s; }
.hv-price { right: 0; top: 0; width: 320px; }
.hv-route { left: 0; bottom: 0; width: 260px; padding: 16px; }
.hv-head { display: flex; justify-content: space-between; align-items: center; }
.hv-pair { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.hv-pair .tk-icon { width: 26px; height: 26px; font-size: 9px; }
.hv-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--up); text-transform: uppercase; letter-spacing: .1em; }
.hv-value { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 6px; }
.hv-value b { font-size: 34px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.hv-value span { font-family: var(--mono); font-size: 13px; color: var(--up); }
.hv-spark { width: 100%; height: 70px; display: block; }
.hv-meta { display: flex; gap: 18px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.hv-meta b, .hv-route-meta b { color: var(--text); font-weight: 600; }
.hv-route-top { display: flex; align-items: center; gap: 12px; }
.hv-route-top b { display: block; font-size: 14px; }
.hv-route-top small { color: var(--muted); font-size: 12px; }
.hv-check { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--ink); font-weight: 800; font-size: 14px; flex: none; }
.hv-path { display: flex; align-items: center; gap: 8px; margin: 14px 0 12px; font-family: var(--mono); font-size: 11px; }
.hv-path span { padding: 4px 8px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(var(--fg), .05); }
.hv-path i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), rgba(var(--fg), .6), var(--line-2)); background-size: 200% 100%; animation: flow 1.6s linear infinite; }
@keyframes flow { to { background-position: -200% 0; } }
.hv-route-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
@media (min-width: 1181px) and (min-height: 761px) { .hero .hero-title { font-size: clamp(52px, 8vw, 126px); } }
@media (max-width: 1180px), (max-height: 760px) { .hero-visual { display: none; } }
.hero-title { font-size: clamp(52px, 10vw, 164px); font-weight: 800; letter-spacing: -0.05em; word-spacing: .06em; line-height: .9; }
.hero-title em { color: var(--accent); font-size: 1.04em; padding-right: .06em; }
.hero-title .line { display: block; overflow: hidden; padding: 0 .04em .14em 0; margin-bottom: -.06em; }
.hero-title .wd {
  display: inline-block; transform: translateY(115%) rotate(7deg); transform-origin: 0 100%; opacity: 0;
  transition: transform 1.3s var(--ease), opacity 1s var(--ease); transition-delay: calc(var(--i) * 90ms);
}
body.ready .hero-title .wd { transform: none; opacity: 1; }

/* rotating word */
.rotator { position: relative; vertical-align: bottom; white-space: nowrap; transition: width .7s var(--ease), transform 1.3s var(--ease), opacity 1s var(--ease); }
.rot-word { display: inline-block; text-shadow: 0 0 60px rgba(var(--glow), .35); }
.rot-word .ch { display: inline-block; transition: transform .7s var(--ease), opacity .6s var(--ease), filter .7s var(--ease); transition-delay: calc(var(--c) * 28ms); }
.rot-word .ch.out { transform: translateY(-60%) rotate(-8deg); opacity: 0; filter: blur(10px); }
.rot-word .ch.pre { transform: translateY(70%) rotate(8deg); opacity: 0; filter: blur(10px); transition: none; }
.scribble { position: absolute; left: 0; bottom: -.02em; width: 100%; height: .16em; overflow: visible; }
.scribble path { fill: none; stroke: var(--accent); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .85; }
.scribble path.draw { animation: draw 1s .25s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-sub { margin-top: 28px; max-width: 520px; font-size: clamp(17px, 1.4vw, 20px); color: #b3cbbd; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.reveal-up { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
body.ready .reveal-up { opacity: 1; transform: none; }
body.ready .hero-sub { transition-delay: .35s; } body.ready .hero-cta { transition-delay: .5s; }
.hero-foot {
  position: relative; z-index: 2; width: min(1280px, 100% - 40px); margin: 0 auto; padding: 28px 0 36px;
  border-top: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: clamp(20px, 5vw, 72px); margin: 0; }
.hero-stats dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero-stats dd { margin: 6px 0 0; font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.scroll-cue { width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 999px; display: flex; justify-content: center; padding-top: 8px; flex: none; }
.scroll-cue span { width: 3px; height: 8px; border-radius: 3px; background: var(--text); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- ticker ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 48px; width: max-content; padding: 18px 0; animation: marquee 50s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.tick b { font-family: var(--sans); font-weight: 600; font-size: 14px; }
.tick .tk-icon { width: 22px; height: 22px; font-size: 8px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- typography blocks ---------- */
.chapter { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.chapter::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--accent); vertical-align: middle; margin-right: 12px; }
.display { font-size: clamp(44px, 7vw, 104px); font-weight: 800; letter-spacing: -0.045em; word-spacing: .05em; line-height: .92; margin-top: 20px; }
.display em { color: var(--accent); }
.lede { color: var(--muted); font-size: 18px; max-width: 440px; }
.section { padding: clamp(100px, 14vw, 180px) 0 0; position: relative; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }

/* ---------- light sections ---------- */
.light {
  --bg: #f4f7f3;
  --panel: #ffffff;
  --panel-solid: #ffffff;
  --line: rgba(6, 43, 26, 0.1);
  --line-2: rgba(6, 43, 26, 0.2);
  --text: #062b1a;
  --muted: #56705f;
  --accent: #0b4d2e;
  --ink: #ffffff;
  --glow: 11, 77, 46;
  --fg: 6, 43, 26;
  --field: #eef3ee;
  --dim: #d3ddd6;
  --placeholder: #c2cfc6;
  --up: #0f7a45;
  --down: #c8344f;
  --shadow: 0 30px 80px -40px rgba(6, 43, 26, .28);
  background: var(--bg);
  color: var(--text);
}
.section.light { padding-bottom: clamp(100px, 14vw, 180px); }
#app, #features, #token { padding-bottom: clamp(90px, 12vw, 160px); }
.light .btn-accent { box-shadow: 0 18px 40px -18px rgba(6, 43, 26, .6); }
.light ::selection { background: var(--accent); color: #fff; }

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(120px, 18vw, 240px) 0; }
.manifesto-text { margin-top: 36px; font-size: clamp(30px, 4.6vw, 68px); font-weight: 600; line-height: 1.12; letter-spacing: -0.035em; max-width: 1180px; }
.manifesto-text .w { color: var(--dim); transition: color .5s ease; }
.manifesto-text .w.on { color: var(--text); }
.manifesto-text .w.hl.on { color: var(--accent); font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ---------- panels ---------- */
.panel {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 28px;
  backdrop-filter: blur(20px) saturate(140%); box-shadow: var(--shadow), inset 0 1px 0 rgba(var(--fg), .04);
}

/* ---------- terminal ---------- */
.app-section { position: relative; padding-top: 40px; }
.app-section::before {
  content: ""; position: absolute; left: 50%; top: 30%; width: min(1100px, 100%); height: 700px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(var(--glow), .12), rgba(var(--glow), .05) 40%, transparent 70%); filter: blur(30px);
}
.terminal { position: relative; display: grid; grid-template-columns: minmax(0, 520px); justify-content: center; gap: 16px; }
.terminal > * { min-width: 0; }
.chart-panel { padding: 24px; display: flex; flex-direction: column; }
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.pair { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; }
.pair .icons { display: flex; }
.pair .icons .tk-icon + .tk-icon { margin-left: -8px; box-shadow: 0 0 0 2px var(--panel-solid); }
.tf { display: flex; padding: 3px; border-radius: 999px; background: var(--field); border: 1px solid var(--line); }
.tf button { padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-family: var(--mono); color: var(--muted); }
.tf button.active { background: rgba(var(--fg), .1); color: var(--text); }
.chart-price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 8px; flex-wrap: wrap; }
.chart-price b { font-size: clamp(32px, 3.4vw, 46px); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.chart-price span { font-family: var(--mono); font-size: 14px; }
.chart { width: 100%; flex: 1; min-height: 260px; display: block; }
.chart-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.chart-meta span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.chart-meta b { font-size: 17px; font-weight: 600; }

.swap { padding: 14px; }
.swap-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 12px; }
.tabs { display: flex; gap: 2px; }
.tab { padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); transition: .2s; }
.tab.active { color: var(--text); background: rgba(var(--fg), .08); }
.tab:not(.active):hover { color: var(--text); }
.settings { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 6px 8px 14px; font-size: 14px; color: var(--muted); }
.slip { display: flex; gap: 6px; flex-wrap: wrap; }
.slip button, .slip-custom { height: 32px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; }
.slip button.active { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.slip-custom input { width: 54px; background: none; border: 0; outline: 0; text-align: right; }
.field { background: var(--field); border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; transition: border-color .25s, box-shadow .25s; }
.field:focus-within { border-color: rgba(var(--glow), .35); box-shadow: 0 0 0 4px rgba(var(--glow), .06); }
.field-top, .field-bot { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.field-row { display: flex; align-items: center; gap: 12px; margin: 8px 0; }
.field-row input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 38px; font-weight: 600; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.field-row input::placeholder { color: var(--placeholder); }
.quick { display: flex; gap: 6px; }
.quick button { font-size: 11.5px; font-family: var(--mono); padding: 2px 8px; border-radius: 6px; background: rgba(var(--fg), .06); color: var(--muted); }
.quick button:hover { color: var(--accent); }
.token-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 6px; border-radius: 999px; background: rgba(var(--fg), .07); border: 1px solid var(--line); font-weight: 700; transition: background .2s; }
.token-btn:hover { background: rgba(var(--fg), .13); }
.token-btn::after { content: ""; width: 6px; height: 6px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 2px; opacity: .6; }
.tk-letter { font-family: var(--sans); color: #03140d; }
.tk-icon { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(3,20,13,.12); display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #070907; flex: none; letter-spacing: -0.02em; }
.flip { display: grid; place-items: center; width: 42px; height: 42px; margin: -13px auto; position: relative; z-index: 2; background: var(--panel-solid); border: 4px solid #061a11; border-radius: 14px; color: var(--muted); transition: transform .5s var(--ease), color .2s; }
.flip:hover { color: var(--accent); transform: rotate(180deg); }
.quote { margin-top: 12px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); display: grid; gap: 7px; font-size: 13.5px; }
.quote div { display: flex; justify-content: space-between; gap: 12px; }
.quote span { color: var(--muted); }
.quote b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.quote .warn { color: #ffbe5c; }
#swapBtn { margin-top: 12px; }
.note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }

/* ---------- markets ---------- */
.table-panel { padding: 8px; }
.table-tools { display: flex; justify-content: space-between; gap: 12px; padding: 12px; flex-wrap: wrap; }
.seg { display: flex; padding: 4px; border-radius: 999px; background: var(--field); border: 1px solid var(--line); }
.seg button { padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: .2s; }
.seg button.active { background: rgba(var(--fg), .1); color: var(--text); }
#marketSearch, #tokenSearch { height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--field); outline: 0; min-width: 240px; transition: border-color .2s; }
#marketSearch:focus, #tokenSearch:focus { border-color: var(--accent); }
.markets.no-h1 .col-h1 { display: none; }
.data-source { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.table-scroll { overflow-x: auto; }
.markets { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.markets th { text-align: left; font-family: var(--mono); font-size: 11px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .12em; padding: 12px 16px; }
.markets td { padding: 16px; border-top: 1px solid var(--line); font-size: 15px; transition: background .2s; }
.markets tbody tr { cursor: pointer; }
.markets tbody tr:hover td { background: rgba(var(--fg), .025); }
.markets .r { text-align: right; }
.markets .tok { display: flex; align-items: center; gap: 12px; }
.markets .tok small { display: block; color: var(--muted); font-size: 13px; }
.up { color: var(--up); } .down { color: var(--down); }
.spark { width: 110px; height: 34px; display: inline-block; vertical-align: middle; }
.trade-btn { padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid var(--line-2); transition: .2s; }
.trade-btn:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.empty { text-align: center; color: var(--muted); padding: 36px !important; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.feat {
  position: relative; padding: 28px; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(var(--fg), .05), rgba(var(--fg), .015)); border: 1px solid var(--line);
  transition: border-color .4s, transform .5s var(--ease), opacity 1.1s var(--ease), filter 1.1s var(--ease);
}
.feat::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--glow), .08), transparent 40%);
}
.feat:hover { border-color: var(--line-2); }
.feat:hover::after { opacity: 1; }
.feat-exec { grid-column: span 4; }
.feat-custody, .feat-route, .feat-earn, .feat-code { grid-column: span 2; }
.feat-exec { display: grid; grid-template-columns: 1fr 1.1fr; grid-template-rows: auto auto 1fr; column-gap: 32px; }
.feat-exec > .feat-top, .feat-exec > h3, .feat-exec > p { grid-column: 1; }
.feat-exec .vis-exec { grid-column: 2; grid-row: 1 / -1; }
.feat-top { display: flex; align-items: center; justify-content: space-between; }
.feat-num { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.feat-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.feat h3 { font-size: clamp(22px, 2vw, 28px); margin: 22px 0 10px; letter-spacing: -0.03em; line-height: 1.05; }
.feat-exec h3 { font-size: clamp(28px, 2.8vw, 40px); }
.feat p { color: var(--muted); max-width: 420px; font-size: 15.5px; }

/* 01 latency */
.vis-exec { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 22px; border-radius: 20px; background: rgba(1,14,8,.35); border: 1px solid var(--line); }
.stopwatch { display: flex; align-items: baseline; gap: 4px; }
.stopwatch b { font-size: clamp(56px, 6vw, 84px); font-weight: 800; letter-spacing: -0.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.stopwatch span { font-family: var(--serif); font-style: italic; font-size: 32px; color: var(--muted); }
.race { display: grid; gap: 12px; }
.lane { display: grid; grid-template-columns: 92px 1fr 44px; align-items: center; gap: 12px; font-size: 13px; }
.lane span { color: var(--muted); }
.lane em { font-family: var(--mono); font-style: normal; font-size: 12px; text-align: right; color: var(--text); }
.track { height: 8px; border-radius: 99px; background: rgba(var(--fg), .07); overflow: hidden; }
.bar { display: block; height: 100%; border-radius: 99px; transform-origin: left; transform: scaleX(0); }
.bar.fast { background: var(--accent); box-shadow: 0 0 16px rgba(var(--glow), .6); }
.bar.slow { background: rgba(var(--fg), .35); }
.feat-exec.in .bar.fast { animation: race-fast 4s var(--ease) infinite; }
.feat-exec.in .bar.slow { animation: race-slow 4s linear infinite; }
@keyframes race-fast { 0% { transform: scaleX(0); } 10%, 100% { transform: scaleX(1); } }
@keyframes race-slow { 0% { transform: scaleX(0); } 100% { transform: scaleX(.33); } }

/* 02 custody */
.vis-checks { list-style: none; margin: auto 0 0; padding: 18px 0 0; display: grid; gap: 8px; }
.vis-checks li { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: 14px; background: rgba(1,14,8,.35); border: 1px solid var(--line); font-size: 14px; }
.vis-checks span { color: var(--muted); }
.vis-checks b { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.vis-checks b::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 11px; }
.vis-checks b.never::before { content: "✕"; background: transparent; color: var(--text); border: 1px solid var(--line-2); }

/* 03 routing */
.vis-route { width: 100%; height: auto; margin-top: auto; padding-top: 18px; overflow: visible; }
.vis-route .rt { fill: none; stroke: rgba(var(--fg), .14); stroke-width: 1.5; }
.vis-route .flow { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 14; animation: dash 1.4s linear infinite; opacity: .9; }
.vis-route .f2 { animation-duration: 1.8s; opacity: .7; } .vis-route .f3 { animation-duration: 2.2s; opacity: .55; }
@keyframes dash { to { stroke-dashoffset: -40; } }
.vis-route .pool circle { fill: var(--panel-solid); stroke: var(--line-2); }
.vis-route .pool text { font-family: var(--mono); font-size: 7.5px; fill: var(--text); text-anchor: middle; }
.vis-route .node circle { fill: var(--accent); }
.vis-route .node text { font-family: var(--sans); font-weight: 700; font-size: 8.5px; fill: var(--ink); text-anchor: middle; }

/* 04 fee split */
.vis-split { margin-top: auto; padding-top: 22px; }
.split-bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; gap: 3px; }
.split-bar i { display: block; height: 100%; border-radius: 99px; transform-origin: left; }
.split-bar .lp { flex: 4; background: var(--accent); }
.split-bar .proto { flex: 1; background: rgba(var(--fg), .3); }
.feat-earn.in .split-bar i { animation: grow-x 1.4s var(--ease) both; }
.feat-earn.in .split-bar .proto { animation-delay: .25s; }
@keyframes grow-x { from { transform: scaleX(0); } }
.split-legend { display: grid; gap: 8px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.split-legend span { display: flex; align-items: center; gap: 8px; }
.split-legend b { margin-left: auto; color: var(--text); font-family: var(--mono); font-weight: 500; }
.split-legend i { width: 10px; height: 10px; border-radius: 3px; }
.split-legend .lp { background: var(--accent); } .split-legend .proto { background: rgba(var(--fg), .3); }

/* 05 code */
.vis-code { margin: auto 0 0; padding: 16px 18px; margin-top: 18px; border-radius: 16px; background: rgba(1,14,8,.45); border: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: var(--text); overflow-x: auto; white-space: pre; }
.vis-code .c { color: var(--muted); } .vis-code .k { color: var(--accent-2); } .vis-code .f { color: var(--text); font-weight: 500; } .vis-code .n { color: var(--accent); }
.vis-code .cursor { animation: blink 1s steps(2) infinite; color: var(--accent); }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: baseline; padding: 40px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease), opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); }
.steps li:hover { padding-left: 16px; }
.step-n { font-family: var(--serif); font-style: italic; font-size: clamp(48px, 6vw, 88px); line-height: .8; color: var(--accent); }
.steps h3 { font-size: clamp(30px, 4vw, 56px); letter-spacing: -0.045em; }
.steps li > div { display: contents; }
.steps p { color: var(--muted); max-width: 460px; font-size: 17px; }

/* ---------- token ---------- */
.token { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.token > * { min-width: 0; }
.token .display { font-size: clamp(64px, 11vw, 160px); color: var(--accent); }
.token .lede { margin-top: 20px; }
.alloc { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 2px; }
.alloc li { display: flex; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.alloc li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); align-self: center; box-shadow: 0 0 18px var(--c); }
.alloc b { font-size: 28px; letter-spacing: -0.03em; min-width: 80px; }
.alloc span { color: var(--muted); }
.orbit { position: relative; aspect-ratio: 1; width: min(520px, 100%); margin-inline: auto; display: grid; place-items: center; overflow: hidden; border-radius: 50%; }
.orbit-ring { position: absolute; border-radius: 50%; border: 1px solid var(--line-2); animation: orbit 24s linear infinite; }
.orbit-ring i { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 24px var(--accent); }
.orbit-ring.o1 { inset: 8px; }
.orbit-ring.o2 { inset: 14%; animation-duration: 16s; animation-direction: reverse; border-style: dashed; }
.orbit-ring.o2 i { background: #8fe3b4; box-shadow: 0 0 24px #8fe3b4; }
.orbit-ring.o3 { inset: 28%; animation-duration: 11s; }
.orbit-ring.o3 i { background: #4fa77a; box-shadow: 0 0 24px #4fa77a; }
@keyframes orbit { to { transform: rotate(360deg); } }
.coin { position: relative; width: 38%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; justify-items: center; text-align: center; gap: 4px; background: radial-gradient(circle at 30% 25%, #104330, #05170e 70%); border: 1px solid var(--line-2); box-shadow: 0 0 120px rgba(var(--glow), .2), inset 0 1px 0 rgba(var(--fg), .08); }
.coin img { width: 44px; height: 44px; }
.coin span { font-weight: 700; font-size: clamp(13px, 1.6vw, 19px); letter-spacing: -0.02em; }
.coin small { color: var(--muted); font-size: 12px; }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 28px 0; font-weight: 600; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.02em; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color .2s; }
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: linear-gradient(currentColor, currentColor) center/12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center/1.5px 12px no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); color: var(--accent); border-color: var(--accent); }
.faq details p { color: var(--muted); padding: 0 48px 28px 0; font-size: 17px; }

/* ---------- finale ---------- */
.finale { position: relative; text-align: center; padding: clamp(140px, 18vw, 240px) 20px 0; overflow: hidden; }
.finale-glow { position: absolute; left: 50%; bottom: -30%; width: 1200px; height: 800px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(var(--glow), .22), rgba(var(--glow), .08) 40%, transparent 70%); pointer-events: none; filter: blur(20px); }
.finale .chapter::before { display: none; }
.finale-title { position: relative; font-size: clamp(52px, 9vw, 140px); font-weight: 800; letter-spacing: -0.055em; line-height: .9; margin: 24px 0 44px; }
.finale-title em { color: var(--accent); }
.finale-word { position: relative; margin-top: clamp(60px, 10vw, 120px); font-size: clamp(90px, 27vw, 420px); font-weight: 900; letter-spacing: -0.045em; line-height: .78; color: transparent; user-select: none; background: linear-gradient(180deg, rgba(var(--glow), .25), transparent 80%); -webkit-background-clip: text; background-clip: text; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 32px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-inner p { margin-top: 12px; font-size: 14px; }
.footer-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.footer-cols h4 { margin: 0 0 14px; font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.footer-cols a { display: block; padding: 4px 0; font-size: 15px; transition: color .2s; }
.footer-cols a:hover { color: var(--accent); }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }

/* ---------- modal ---------- */
.modal { width: min(440px, 100% - 32px); max-height: min(640px, 100vh - 64px); padding: 20px; background: var(--panel-solid); color: var(--text); border: 1px solid var(--line-2); border-radius: 28px; box-shadow: 0 40px 120px -20px rgba(0,0,0,.9); }
.modal[open] { display: flex; flex-direction: column; animation: pop .35s var(--ease); }
.modal::backdrop { background: rgba(0,0,0,.65); backdrop-filter: blur(6px); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.modal-head h3 { font-size: 19px; letter-spacing: -0.02em; }
#tokenSearch { width: 100%; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.chips button { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: 14px; }
.chips button:hover { background: rgba(var(--fg), .06); }
.chips .tk-icon { width: 24px; height: 24px; font-size: 8px; }
.token-list { list-style: none; margin: 0 -20px -20px; padding: 0 8px 8px; overflow-y: auto; border-top: 1px solid var(--line); }
.token-list button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; text-align: left; }
.token-list button:hover:not(:disabled) { background: rgba(var(--fg), .05); }
.token-list button:disabled { opacity: .35; cursor: default; }
.token-list .tk-icon { width: 38px; height: 38px; font-size: 11px; }
.token-list small { display: block; color: var(--muted); font-size: 13px; }
.token-list .px { margin-left: auto; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 120; background: var(--panel-solid); border: 1px solid var(--line-2); padding: 14px 20px; border-radius: 16px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); font-size: 14px; font-weight: 500; transition: all .35s var(--ease); max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .markets .hide-tab { display: none; }
  .features { grid-template-columns: 1fr 1fr; }
  .feat-exec { grid-column: span 2; }
  .feat-custody, .feat-route, .feat-earn, .feat-code { grid-column: span 1; }
  .token { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 0; }
  .hide-md { display: none; }
}
@media (max-width: 900px) {
  .markets th:first-child, .markets td:first-child { display: none; }
  .nav-links {
    position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; margin: 0; padding: 12px;
    background: rgba(4,24,15,.96); border: 1px solid var(--line); border-radius: 20px; backdrop-filter: blur(18px);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: .3s var(--ease);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; font-size: 17px; }
  .menu-btn { display: flex; }
  .chain-pill { display: none; }
  .nav { background: rgba(4,24,15,.66); border-color: var(--line); backdrop-filter: blur(18px); }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 680px) {
  .wrap, .hero-inner, .hero-foot { width: calc(100% - 32px); }
  .nav { top: 10px; height: 60px; padding: 0 8px 0 14px; width: calc(100% - 20px); }
  .nav-links { top: 70px; }
  .brand { font-size: 17px; }
  .hero-inner { padding-top: 120px; }
  .hero-stats { grid-template-columns: repeat(2, auto); gap: 18px 40px; }
  .scroll-cue { display: none; }
  .manifesto { padding: 96px 0; }
  .manifesto-text { margin-top: 24px; }
  .intro-center { flex-direction: column; justify-content: center; gap: 32px; }
  .status { font-size: 11px; letter-spacing: .02em; padding-left: 12px; }
  .st-net { padding-right: 10px; }
  .st-item { padding: 0 10px; }
  .st-fee, #stGas { display: none !important; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .btn { width: 100%; }
  .btn-markets { justify-content: space-between; padding-left: 24px; }
  .features { grid-template-columns: 1fr; gap: 12px; }
  .feat-exec, .feat-custody, .feat-route, .feat-earn, .feat-code { grid-column: auto; }
  .feat-exec { display: flex; }
  .feat-exec .vis-exec { margin-top: 20px; }
  .feat { padding: 22px; border-radius: 24px; }
  .feat h3 { margin-top: 16px; }
  .feat-exec h3 { font-size: 28px; }
  .stopwatch b { font-size: 60px; }
  .lane { grid-template-columns: 84px 1fr 40px; }
  .steps li { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .hide-sm { display: none; }
  #marketSearch { min-width: 0; flex: 1 1 100%; }
  .data-source { order: 3; margin-left: 0; }
  .markets th:first-child, .markets td:first-child { display: none; }
  .markets th, .markets td { padding-left: 10px; padding-right: 10px; }
  .markets .tok { gap: 10px; }
  .markets th:last-child, .markets td:last-child { display: none; }
  .field-row input { font-size: 30px; }
  .chart-panel { padding: 18px; }
  .chart { min-height: 200px; }
  .chart-meta b { font-size: 15px; }
  .faq details p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-up { opacity: 1; transform: none; filter: none; }
  .hero-title .wd { transform: none; opacity: 1; }
  .scribble path { stroke-dashoffset: 0; }
}
