/* ============================================================
   SCYTHE — "reap the trenches"
   three-chain memecoin terminal · Solana / BNB / Robinhood

   design DNA (recombined from live scrapes):
   - palette  ← grassfamily.fun (lime #c5fa62 + deep forest green,
                re-lit as a dark "night meadow")
   - type     ← hyperliquid / gmgn trading-terminal (Inter Tight /
                Inter / JetBrains Mono)
   - shell    ← grassfamily.fun top overlay (wordmark left, wallet
                right) rebuilt as a terminal top command bar
   ============================================================ */

:root {
  --bg:      #0a130b;
  --bg2:     #0c160d;
  --panel:   #101c11;
  --panel2:  #152415;
  --panel3:  #1a2c1b;
  --line:    #1e301f;
  --line2:   #2a412b;
  --ink:     #eaf2e4;
  --ink2:    #c4d2bd;
  --muted:   #8fa78a;
  --dim:     #677d62;
  --lime:    #c5fa62;
  --lime-deep:#9bd62e;
  --grass:   #7fbf4d;
  --mint:    #6fe39b;
  --red:     #ff6b6b;
  --amber:   #f2b548;
  --cyan:    #57c7ff;
  --sol:     #14f195;
  --bnb:     #f0b90b;
  --hood:    #00c805;
  --sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --tight: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r: 14px;
  --r-sm: 9px;
  --maxw: 1240px;
  --ease: cubic-bezier(.22,.8,.26,1);
}

[data-theme="light"] {
  --bg:      #f2f6ed;
  --bg2:     #eaf0e3;
  --panel:   #ffffff;
  --panel2:  #f6f9f1;
  --panel3:  #eef3e7;
  --line:    #dde6d5;
  --line2:   #c9d5c0;
  --ink:     #12261a;
  --ink2:    #2a3f30;
  --muted:   #5d7258;
  --dim:     #8a9d84;
  --lime:    #7fb81e;
  --lime-deep:#659411;
  --grass:   #4f9a2c;
  --mint:    #1a9e5c;
  --red:     #e04242;
  --amber:   #c98a1a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }

::selection { background: var(--lime); color: #0a130b; }

a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--tight); font-weight: 800; letter-spacing: -0.02em; margin: 0; line-height: 1.05; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

.shell { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.bleed { width: 100%; }

/* subtle film grain */
.noise {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ============================================================
   LOADER — terminal boot + scanline + chain lock
   ============================================================ */
#loader {
  position: fixed; inset: 0; z-index: 10000;
  background: radial-gradient(120% 90% at 50% 0%, #0f1d10 0%, #081008 60%, #060d07 100%);
  display: grid; place-items: center;
  transition: transform .7s var(--ease), opacity .7s ease;
}
#loader.done { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.loader-inner { width: min(560px, 88vw); font-family: var(--mono); }
.loader-mark { display: flex; align-items: baseline; gap: 12px; margin-bottom: 26px; }
.loader-mark .lm-sword { font-family: var(--tight); font-weight: 900; font-size: 40px; letter-spacing: -0.03em; color: var(--lime); }
.loader-mark .lm-ver { font-size: 12px; color: var(--dim); letter-spacing: .2em; }
.loader-line { font-size: 13px; color: var(--muted); white-space: pre; overflow: hidden; opacity: 0; }
.loader-line b { color: var(--ink); font-weight: 500; }
.loader-line .ok { color: var(--mint); }
@keyframes bline { from { opacity: 0; transform: translateX(-6px);} to { opacity: 1; transform: none; } }
.loader-chains { display: flex; gap: 10px; margin-top: 22px; }
.loader-chains .lc { flex: 1; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--dim); opacity: 0; transition: opacity .4s ease, border-color .3s, color .3s; }
.loader-chains .lc .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); transition: .3s; }
.loader-chains .lc.on { color: var(--ink); opacity: 1; border-color: var(--line2); }
.loader-chains .lc.on .dot { background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.loader-bar { height: 2px; background: var(--line); margin-top: 26px; position: relative; overflow: hidden; border-radius: 2px; }
.loader-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--lime), transparent); transform: translateX(-100%); animation: scan 1.4s var(--ease) infinite; }
@keyframes scan { to { transform: translateX(100%); } }
.loader-scan { position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: linear-gradient(180deg, transparent 48%, rgba(197,250,98,.08) 50%, transparent 52%); animation: sweep 2.4s linear infinite; pointer-events: none; }
@keyframes sweep { 0% { transform: translateY(-100%);} 100% { transform: translateY(100%);} }

/* ============================================================
   TOP COMMAND BAR
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 900;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px,4vw,48px); height: 62px; display: flex; align-items: center; gap: 18px; }
.wordmark { font-family: var(--tight); font-weight: 900; font-size: 20px; letter-spacing: -0.03em; display: flex; align-items: center; gap: 8px; }
.wordmark .wm-sword { color: var(--lime); font-size: 22px; line-height: 0; }
.wordmark .wm-name { color: var(--ink); }
.wordmark:hover .wm-name { color: var(--lime); }
.ticker { display: flex; gap: 6px; align-items: center; overflow: hidden; }
.chain-chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.chain-chip .dot { width: 6px; height: 6px; border-radius: 50%; }
.chain-chip[data-chain="sol"] .dot { background: var(--sol); }
.chain-chip[data-chain="bnb"] .dot { background: var(--bnb); }
.chain-chip[data-chain="hood"] .dot { background: var(--hood); }
.chain-chip.ok .dot { box-shadow: 0 0 10px currentColor; }
.chain-chip .cc-block { color: var(--ink2); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 13px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--muted); transition: .18s; position: relative; }
.nav a:hover { color: var(--ink); background: var(--panel); }
.nav a.active { color: var(--lime); background: color-mix(in srgb, var(--lime) 10%, transparent); }
.topbar-right { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
.wallet-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; padding: 9px 15px; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel); color: var(--ink); transition: .18s; }
.wallet-btn:hover { border-color: var(--lime); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 14%, transparent); }
.wallet-btn.connected { background: var(--lime); color: #0a130b; border-color: var(--lime); }
.wallet-btn .addr { font-family: var(--mono); font-size: 12px; }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); transition: .18s; }
.icon-btn:hover { color: var(--lime); border-color: var(--line2); }
.burger { display: none; }

/* mobile nav drawer */
.drawer { position: fixed; inset: 0; z-index: 950; background: var(--bg); transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; padding: 24px; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.drawer .nav { flex-direction: column; margin: 0; }
.drawer .nav a { font-size: 26px; padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; font-weight: 800; }
.drawer-foot { margin-top: auto; }

/* ============================================================
   HERO — asymmetric split + live terminal visual
   ============================================================ */
.hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(80% 70% at 18% 8%, rgba(197,250,98,.10) 0%, transparent 60%),
  radial-gradient(60% 60% at 90% 20%, rgba(63,158,50,.12) 0%, transparent 60%),
  var(--bg);
}
.hero-grid { max-width: var(--maxw); margin: 0 auto; padding: clamp(48px,7vw,96px) clamp(20px,4vw,48px); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px,5vw,72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 20px; }
.eyebrow .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(197,250,98,.5); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(197,250,98,.5);} 70% { box-shadow: 0 0 0 9px rgba(197,250,98,0);} 100% { box-shadow: 0 0 0 0 rgba(197,250,98,0);} }
.hero h1 { font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.04em; }
.hero h1 .gr { color: var(--lime); }
.hero .lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); margin-top: 20px; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-fact .hf-n { font-family: var(--tight); font-weight: 800; font-size: 22px; color: var(--ink); }
.hero-fact .hf-l { font-size: 12px; color: var(--dim); font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }

/* terminal visual */
.term { background: #081108; border: 1px solid var(--line2); border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(197,250,98,.05); overflow: hidden; }
.term-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--dim); }
.term-head .tdot { width: 10px; height: 10px; border-radius: 50%; background: var(--line2); }
.term-head .tdot.r { background: var(--red); } .term-head .tdot.y { background: var(--amber); } .term-head .tdot.g { background: var(--mint); }
.term-body { padding: 16px; font-family: var(--mono); font-size: 12.5px; }
.term-line { display: flex; gap: 10px; color: var(--muted); white-space: pre; }
.term-line .tl-p { color: var(--dim); }
.term-line .tl-ok { color: var(--mint); }
.term-line .tl-hl { color: var(--lime); }
.term-line .tl-dim { color: var(--dim); }
.term-cursor { display: inline-block; width: 8px; height: 14px; background: var(--lime); margin-left: 4px; animation: blink 1s steps(2) infinite; vertical-align: -2px; }
@keyframes blink { 50% { opacity: 0; } }

/* ============================================================
   TICKER MARQUEE
   ============================================================ */
.tickermarquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg2); }
.tickermarquee .track { display: flex; gap: 0; width: max-content; animation: marquee 36s linear infinite; }
.tickermarquee:hover .track { animation-play-state: paused; }
.tick-item { display: flex; align-items: center; gap: 9px; padding: 10px 22px; border-right: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.tick-item .sym { color: var(--ink); font-weight: 600; }
.tick-item .px { color: var(--ink2); }
.tick-item .up { color: var(--mint); } .tick-item .down { color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(60px, 8vw, 110px) 0; }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: clamp(30px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 46px); letter-spacing: -0.03em; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }

/* ============================================================
   TRENCHES BOARD (live table)
   ============================================================ */
.board { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--panel); }
.board-tabs { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.board-tab { padding: 7px 13px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); background: transparent; border: 0; }
.board-tab:hover { color: var(--ink); }
.board-tab.active { color: var(--lime); background: color-mix(in srgb, var(--lime) 10%, transparent); }
.board-head { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr .6fr; gap: 12px; padding: 12px 18px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line); }
.board-row { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr .6fr; gap: 12px; padding: 14px 18px; align-items: center; border-bottom: 1px solid var(--line); transition: background .15s; }
.board-row:last-child { border-bottom: 0; }
.board-row:hover { background: var(--panel2); }
.board-row .b-token { display: flex; align-items: center; gap: 12px; min-width: 0; }
.b-avatar { width: 38px; height: 38px; border-radius: 10px; background: var(--panel3); display: grid; place-items: center; font-family: var(--tight); font-weight: 800; color: var(--lime); font-size: 15px; overflow: hidden; flex: none; }
.b-avatar img { width: 100%; height: 100%; object-fit: cover; }
.b-name { font-weight: 700; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-meta { font-family: var(--mono); font-size: 11px; color: var(--dim); display: flex; gap: 6px; align-items: center; }
.b-meta .chains { display: inline-flex; gap: 4px; }
.b-meta .chains .ch { width: 14px; height: 14px; border-radius: 4px; font-size: 8px; display: grid; place-items: center; font-weight: 900; color: #06100a; }
.ch.sol { background: var(--sol); } .ch.bnb { background: var(--bnb); } .ch.hood { background: var(--hood); }
.b-cell { font-family: var(--mono); font-size: 13px; }
.b-cell.lab { font-size: 10px; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; }
.b-cell .v { color: var(--ink); font-weight: 600; }
.b-cell .up { color: var(--mint); } .b-cell .down { color: var(--red); }
.b-cell .dull { color: var(--dim); }
.stage-tag { font-family: var(--mono); font-size: 10.5px; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line2); color: var(--muted); }
.stage-tag.new { color: var(--lime); border-color: color-mix(in srgb, var(--lime) 40%, transparent); }
.stage-tag.stretch { color: var(--amber); border-color: color-mix(in srgb, var(--amber) 40%, transparent); }
.stage-tag.migrated { color: var(--cyan); border-color: color-mix(in srgb, var(--cyan) 40%, transparent); }
.board-empty { padding: 60px 20px; text-align: center; color: var(--dim); font-family: var(--mono); font-size: 13px; }
.board-empty .be-big { font-size: 22px; color: var(--muted); margin-bottom: 10px; }

/* ============================================================
   TOKEN DIAGNOSTICS
   ============================================================ */
.diag { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.diag-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--panel); }
.diag-card .dc-l { font-size: 11px; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.diag-card .dc-v { font-family: var(--tight); font-weight: 800; font-size: 26px; }
.diag-card .dc-v.warn { color: var(--amber); } .diag-card .dc-v.bad { color: var(--red); } .diag-card .dc-v.good { color: var(--mint); }
.diag-card .dc-note { font-size: 11.5px; color: var(--dim); margin-top: 8px; line-height: 1.45; }

/* ============================================================
   CARDS / BENTO
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.card { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 26px; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; position: relative; overflow: hidden; }
.card:hover { border-color: var(--line2); transform: translateY(-4px); box-shadow: 0 20px 50px -24px rgba(0,0,0,.6); }
.card h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card .c-icon { width: 46px; height: 46px; border-radius: 12px; background: color-mix(in srgb, var(--lime) 12%, transparent); color: var(--lime); display: grid; place-items: center; margin-bottom: 18px; font-size: 20px; }
.card .c-tag { position: absolute; top: 18px; right: 18px; font-family: var(--mono); font-size: 10px; color: var(--dim); letter-spacing: .1em; text-transform: uppercase; }
.span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; } .span-8 { grid-column: span 8; } .span-12 { grid-column: span 12; }

/* feature / flow cards */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.flow-step { position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: var(--panel); }
.flow-step .fs-n { font-family: var(--mono); font-size: 12px; color: var(--lime); margin-bottom: 14px; }
.flow-step h3 { font-size: 19px; margin-bottom: 8px; }
.flow-step p { color: var(--muted); font-size: 14px; }
.flow-step .fs-line { position: absolute; top: 24px; right: -14px; width: 28px; height: 1px; background: var(--line2); }

/* chain strip */
.chain-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.chain-card { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: var(--panel); position: relative; overflow: hidden; }
.chain-card .cc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.chain-card .cc-logo { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; font-size: 16px; color: #06100a; }
.chain-card h3 { font-size: 20px; }
.chain-card p { color: var(--muted); font-size: 14.5px; }
.chain-card .cc-stat { display: flex; gap: 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.chain-card .cc-stat b { display: block; color: var(--ink); font-size: 16px; }

/* ============================================================
   BUTTONS / FORMS
   ============================================================ */
.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; padding: 13px 24px; border-radius: 12px; border: 1px solid transparent; transition: .18s; }
.btn-primary { background: var(--lime); color: #0a130b; }
.btn-primary:hover { background: var(--lime-deep); box-shadow: 0 10px 30px -10px rgba(197,250,98,.6); transform: translateY(-1px); }
.btn-ghost { background: var(--panel); color: var(--ink); border-color: var(--line2); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-warn { background: transparent; color: var(--amber); border-color: color-mix(in srgb, var(--amber) 40%, transparent); }
.btn-warn:hover { background: color-mix(in srgb, var(--amber) 10%, transparent); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line2);
  background: var(--bg2); color: var(--ink); font-size: 15px; transition: .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 14%, transparent); }
.field textarea { min-height: 120px; resize: vertical; }
.form-card { border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: var(--panel); }
.form-note { font-size: 12.5px; color: var(--dim); margin-top: 12px; }
.form-msg { font-family: var(--mono); font-size: 13px; margin-top: 14px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { color: var(--mint); } .form-msg.err { color: var(--red); }

/* swap */
.swap-box { max-width: 460px; margin: 0 auto; border: 1px solid var(--line2); border-radius: 20px; background: var(--panel); padding: 24px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.swap-row { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--bg2); margin-bottom: 6px; }
.swap-row .sr-l { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--dim); margin-bottom: 10px; }
.swap-row .sr-input { display: flex; align-items: center; gap: 12px; }
.swap-row .sr-input input { flex: 1; background: transparent; border: 0; color: var(--ink); font-size: 28px; font-weight: 700; font-family: var(--tight); outline: none; }
.swap-row .sr-coin { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.swap-arrow { text-align: center; margin: -2px 0; color: var(--dim); }
.swap-arrow button { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel); color: var(--muted); font-size: 15px; }
.swap-arrow button:hover { color: var(--lime); border-color: var(--lime); }
.swap-meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--dim); padding: 12px 4px; }
.swap-meta .slippage button { font-family: var(--mono); font-size: 11px; padding: 3px 7px; border-radius: 5px; border: 1px solid var(--line); background: transparent; color: var(--muted); margin-left: 4px; }
.swap-meta .slippage button.on { color: var(--lime); border-color: var(--lime); }

/* ============================================================
   CTA (full-bleed)
   ============================================================ */
.cta { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--line2); background:
  radial-gradient(80% 120% at 50% 0%, rgba(197,250,98,.14) 0%, transparent 55%), var(--panel);
  padding: clamp(40px, 6vw, 72px); text-align: center; }
.cta h2 { font-size: clamp(28px, 4.5vw, 48px); letter-spacing: -0.03em; }
.cta p { color: var(--muted); margin: 14px auto 28px; max-width: 44ch; }
.cta .field { max-width: 420px; margin: 0 auto 16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); background: var(--bg2); padding: 70px 0 30px; }
.footer .wordmark-mono { font-family: var(--tight); font-weight: 900; font-size: clamp(48px, 9vw, 130px); letter-spacing: -0.05em; line-height: .85; color: var(--ink); margin-bottom: 8px; }
.footer .wordmark-mono .slash { color: var(--lime); }
.chain-status { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 40px; }
.chain-status .cs { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); padding: 6px 11px; border: 1px solid var(--line); border-radius: 8px; }
.chain-status .cs .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.chain-status .cs b { color: var(--ink2); font-weight: 500; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 30px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.footer-col h4 { font-size: 12px; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; padding: 5px 0; color: var(--muted); font-size: 14.5px; transition: .15s; }
.footer-col a:hover { color: var(--lime); transform: translateX(3px); }
.footer-brand p { color: var(--muted); font-size: 14.5px; max-width: 34ch; margin-bottom: 18px; }
.colophon { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; padding-top: 26px; font-family: var(--mono); font-size: 11.5px; color: var(--dim); }
.colophon a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.colophon a:hover { color: var(--lime); }

/* ca badge + x link */
.ca-badge { display: none; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; border: 1px solid var(--line2); border-radius: 10px; padding: 9px 13px; color: var(--ink2); }
.ca-badge .ca { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.ca-badge button { background: transparent; border: 0; color: var(--lime); font-family: var(--mono); font-size: 12px; }
.x-link { color: var(--lime); font-weight: 600; }

/* ============================================================
   SUB-PAGES: breadcrumb / prose / more-in-section
   ============================================================ */
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); background: var(--bg2); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--dim); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb .sep { color: var(--dim); }
.breadcrumb .cur { color: var(--lime); }
.page-head h1 { font-size: clamp(30px, 4.5vw, 54px); letter-spacing: -0.03em; }
.page-head .ph-sub { color: var(--muted); font-size: 17px; margin-top: 12px; max-width: 60ch; }
.prose { max-width: 720px; }
.prose h2 { font-size: 26px; margin: 40px 0 14px; }
.prose h3 { font-size: 20px; margin: 30px 0 10px; }
.prose p { color: var(--ink2); margin-bottom: 16px; font-size: 16px; }
.prose ul, .prose ol { color: var(--ink2); padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--panel2); padding: 2px 6px; border-radius: 5px; color: var(--lime); }
.prose blockquote { border-left: 3px solid var(--lime); padding-left: 18px; margin: 20px 0; color: var(--muted); font-style: italic; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--dim); margin-top: 6px; }
.byline .b-ava { width: 30px; height: 30px; border-radius: 50%; background: var(--panel3); display: grid; place-items: center; font-weight: 800; color: var(--lime); font-size: 12px; }
.more-in-section { margin-top: 48px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.more-in-section h3 { font-size: 14px; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; font-weight: 600; }
.more-in-section a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; color: var(--ink2); font-weight: 600; font-size: 15px; transition: .15s; }
.more-in-section a:hover { background: var(--panel2); color: var(--lime); }
.more-in-section a .arrow { color: var(--lime); margin-left: auto; }

/* status / changelog / legal */
.status-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.status-row { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.status-row:last-child { border-bottom: 0; }
.status-row .s-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); flex: none; }
.status-row .s-dot.degraded { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.status-row .s-name { font-weight: 700; min-width: 150px; }
.status-row .s-detail { color: var(--muted); font-size: 14px; flex: 1; }
.status-row .s-state { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.changelog-item { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 24px; }
.changelog-item .ch-date { font-family: var(--mono); font-size: 12.5px; color: var(--lime); padding-top: 3px; }
.changelog-item h3 { font-size: 19px; margin-bottom: 8px; }
.changelog-item p { color: var(--muted); font-size: 15px; }
.changelog-item .ch-tags { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.ch-tag { font-family: var(--mono); font-size: 10.5px; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line2); color: var(--muted); }

/* careers */
.job { border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; background: var(--panel); display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 12px; }
.job .j-info h3 { font-size: 19px; }
.job .j-info .j-meta { font-family: var(--mono); font-size: 12px; color: var(--dim); margin-top: 6px; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; } .reveal.d2 { transition-delay: .12s; } .reveal.d3 { transition-delay: .18s; } .reveal.d4 { transition-delay: .24s; }

/* grass field decoration */
.grass-field { position: absolute; inset: auto 0 0 0; height: 120px; pointer-events: none; opacity: .5; }
.blade { position: absolute; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--grass), transparent); transform-origin: bottom; border-radius: 2px; animation: sway 3.2s ease-in-out infinite; }
@keyframes sway { 0%,100% { transform: rotate(0deg);} 50% { transform: rotate(6deg);} }

/* glitch / pulse util */
.num { font-variant-numeric: tabular-nums; }
.up { color: var(--mint); } .down { color: var(--red); } .hl { color: var(--lime); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .chain-strip { grid-template-columns: 1fr; }
  .board-head, .board-row { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .board-head .bh-hide, .board-row .bh-hide { display: none; }
  .bento .span-4, .bento .span-6, .bento .span-8 { grid-column: span 12; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .changelog-item { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .burger { display: grid; }
  .ticker { display: none; }
  .topbar-inner { height: 58px; }
  .flow { grid-template-columns: 1fr; }
  .board-head, .board-row { grid-template-columns: 1.5fr 1fr 1fr; }
  .board-head .bh-hide2, .board-row .bh-hide2 { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .wallet-btn .addr { display: none; }
}
