/* Sudo AI — base + landing */
:root {
  --bg: #010302;
  --bg2: #040b07;
  --panel: rgba(6, 20, 12, 0.72);
  --panel-solid: #06140c;
  --line: rgba(57, 255, 136, 0.14);
  --line2: rgba(57, 255, 136, 0.28);
  --g: #39ff88;
  --g2: #1fd365;
  --g3: #0d8a42;
  --gdim: #7fbf98;
  --text: #e4fff0;
  --muted: #8aa898;
  --amber: #ffc14d;
  --red: #ff5d6c;
  --violet: #b98cff;
  --radius: 16px;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --glow: 0 0 0 1px rgba(57, 255, 136, .25), 0 10px 40px -10px rgba(57, 255, 136, .35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--g); text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: rgba(57, 255, 136, .3); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #12371f; border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(820px, 100% - 40px); }
.muted { color: var(--muted); }
.center { text-align: center; }
.fine { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

.scanlines { position: fixed; inset: 0; pointer-events: none; z-index: 100; background: repeating-linear-gradient(to bottom, rgba(0,0,0,0) 0 2px, rgba(0,0,0,.12) 3px); mix-blend-mode: multiply; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: linear-gradient(180deg, #4dff97, #19c862); color: #021108; box-shadow: 0 0 0 1px rgba(57,255,136,.5), 0 8px 30px -8px rgba(57,255,136,.6), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(57,255,136,.8), 0 10px 40px -6px rgba(57,255,136,.8), inset 0 1px 0 rgba(255,255,255,.5); transform: translateY(-1px); }
.btn-ghost { background: rgba(57,255,136,.05); border-color: var(--line2); color: var(--text); }
.btn-ghost:hover { border-color: var(--g); color: var(--g); background: rgba(57,255,136,.09); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn .prompt { font-family: var(--mono); font-weight: 700; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- chips, badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(4, 14, 8, .7); font: 500 12.5px var(--mono); color: var(--gdim); backdrop-filter: blur(6px); }
.chip-ok { color: var(--g); }
.chip-warn { color: var(--amber); border-color: rgba(255,193,77,.3); }
.chip-warn .dot { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.chip-token { color: var(--text); }
.chip-token:hover { border-color: var(--g); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--g); box-shadow: 0 0 10px var(--g); flex: none; animation: pulse 2s infinite; }
.dot-amber { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
@keyframes pulse { 50% { opacity: .35; } }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.badge-live { background: rgba(57,255,136,.1); color: var(--g); border: 1px solid rgba(57,255,136,.35); }
.badge-soon { background: rgba(255,193,77,.08); color: var(--amber); border: 1px solid rgba(255,193,77,.35); }
.badge-plan { background: rgba(185,140,255,.08); color: var(--violet); border: 1px solid rgba(185,140,255,.35); }
.tier { display: inline-block; padding: 2px 8px; border-radius: 6px; font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.tier-free { color: var(--g); background: rgba(57,255,136,.1); border: 1px solid rgba(57,255,136,.3); }
.tier-holder { color: var(--amber); background: rgba(255,193,77,.08); border: 1px solid rgba(255,193,77,.35); }
.pbadge { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; color: var(--g); background: rgba(57,255,136,.08); border: 1px solid rgba(57,255,136,.35); }
.pbadge svg { width: 55%; height: 55%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pbadge.gold { color: var(--amber); background: rgba(255,193,77,.08); border-color: rgba(255,193,77,.4); }

/* ---------- socials ---------- */
.socials { display: flex; gap: 8px; align-items: center; }
.social { display: inline-flex; align-items: center; gap: 8px; height: 36px; min-width: 36px; justify-content: center; border-radius: 10px; color: var(--gdim); border: 1px solid var(--line); background: rgba(57,255,136,.03); transition: .2s; }
.social svg { width: 17px; height: 17px; }
.social:hover { color: var(--g); border-color: var(--g); box-shadow: 0 0 20px -6px var(--g); }
.socials-text .social { padding: 0 14px; color: var(--text); font-size: 14px; font-weight: 500; }
.socials-lg .social { height: 42px; min-width: 42px; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(1, 5, 3, .78); backdrop-filter: blur(14px) saturate(1.4); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; white-space: nowrap; align-items: center; gap: 10px; color: var(--text); font: 700 19px var(--mono); letter-spacing: -.02em; }
.brand img { filter: drop-shadow(0 0 12px rgba(57,255,136,.4)); }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: 8px; transition: .2s; }
.nav-links a:hover { color: var(--g); background: rgba(57,255,136,.06); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line2); background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-burger span { width: 18px; height: 2px; background: var(--g); border-radius: 2px; transition: .25s; }
.menu-open .nav-burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav-burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 110px 0 80px; }
.rain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 30% 45%, rgba(1,3,2,.85), rgba(1,3,2,.35) 70%), linear-gradient(to bottom, rgba(1,3,2,.2), var(--bg) 96%); pointer-events: none; }
.hero-glow { position: absolute; width: 700px; height: 700px; right: -200px; top: 10%; background: radial-gradient(circle, rgba(57,255,136,.16), transparent 60%); filter: blur(30px); z-index: 1; }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.hero-title { font: 800 clamp(44px, 6.4vw, 82px)/1.02 var(--sans); letter-spacing: -.045em; margin: 0 0 22px; }
.hero-title .line { display: block; }
.glitch { position: relative; color: var(--g); text-shadow: 0 0 30px rgba(57,255,136,.45); }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; overflow: hidden; }
.glitch::before { color: #8dffbf; animation: gl1 3.2s infinite steps(1); clip-path: inset(0 0 60% 0); }
.glitch::after { color: #00b85c; animation: gl2 2.7s infinite steps(1); clip-path: inset(55% 0 0 0); }
@keyframes gl1 { 0%, 92%, 100% { transform: none; } 93% { transform: translate(-3px, -1px); } 96% { transform: translate(3px, 1px); } }
@keyframes gl2 { 0%, 88%, 100% { transform: none; } 90% { transform: translate(3px, 1px); } 94% { transform: translate(-2px, 0); } }
.hero-sub { font-size: 19px; color: #b7d4c3; max-width: 560px; margin: 0 0 32px; }
.hero-sub b { color: var(--g); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 0; font: 500 13.5px var(--mono); color: var(--muted); }
.hero-facts li::before { content: '✓ '; color: var(--g); }
.hero-facts b { color: var(--text); }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 2px solid var(--line2); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--g); animation: sh 1.8s infinite; }
@keyframes sh { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* terminal mock */
.term { background: rgba(3, 12, 7, .86); border: 1px solid var(--line2); border-radius: 18px; box-shadow: 0 0 0 1px rgba(57,255,136,.06), 0 30px 80px -20px rgba(0,0,0,.9), 0 0 80px -30px rgba(57,255,136,.5); backdrop-filter: blur(12px); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: rgba(57,255,136,.03); }
.tl { width: 11px; height: 11px; border-radius: 50%; }
.tl.r { background: #ff5f57; } .tl.y { background: #febc2e; } .tl.g { background: #28c840; }
.term-title { margin-left: 10px; font: 12px var(--mono); color: var(--muted); }
.term-body { padding: 20px 20px 24px; min-height: 400px; font: 13.5px/1.7 var(--mono); }
.tl-row { display: flex; gap: 10px; margin-bottom: 10px; animation: fadein .3s; }
.tl-pre { flex: none; color: var(--g3); }
.tl-sys .tl-txt { color: var(--muted); font-size: 12.5px; }
.tl-cmd .tl-pre, .tl-cmd .tl-txt { color: var(--g); }
.tl-you .tl-pre { color: var(--amber); } .tl-you .tl-txt { color: #fff; }
.tl-ai .tl-pre { color: var(--g); } .tl-ai .tl-txt { color: #c5ecd5; }
.cursor { display: inline-block; width: 9px; height: 18px; background: var(--g); animation: blink 1s steps(1) infinite; vertical-align: middle; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes fadein { from { opacity: 0; transform: translateY(4px); } }
.demo-img { position: relative; width: 100%; aspect-ratio: 16 / 7; border-radius: 12px; overflow: hidden; border: 1px solid var(--line2); background: #020a05; }
.demo-img span { position: absolute; right: 10px; bottom: 8px; font-size: 11px; color: var(--muted); background: rgba(0,0,0,.6); padding: 2px 8px; border-radius: 6px; }
.demo-img-in { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(57,255,136,.08) 0 2px, transparent 2px 14px); animation: scan 1.2s linear infinite; }
@keyframes scan { to { background-position: 28px 0; } }
.demo-img.done .demo-img-in { animation: none; background:
  radial-gradient(circle at 62% 42%, rgba(220,255,235,.95) 0 3%, rgba(57,255,136,.55) 3.5% 11%, rgba(57,255,136,.12) 11.5% 13%, transparent 13.5%),
  radial-gradient(circle at 58% 38%, rgba(255,255,255,.9) 0 1%, transparent 1.4%),
  linear-gradient(to top, rgba(57,255,136,.25) 0 2px, transparent 2px) 0 100% / 100% 30% no-repeat,
  repeating-linear-gradient(90deg, #04150b 0 26px, #07261a 26px 30px, #031008 30px 58px, #0a3320 58px 61px),
  linear-gradient(180deg, #031a2b, #04140c 70%);
  background-blend-mode: screen, normal, normal, normal, normal; }
.demo-img.done::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(1,3,2,.6)), repeating-linear-gradient(100deg, rgba(160,255,200,.08) 0 1px, transparent 1px 9px); }

/* ---------- stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -40px; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); backdrop-filter: blur(10px); }
.stat { padding: 26px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 700 38px/1.1 var(--mono); color: var(--g); text-shadow: 0 0 24px rgba(57,255,136,.4); }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(57,255,136,.025) 20%, rgba(57,255,136,.025) 80%, transparent); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.kicker { font: 500 13px var(--mono); color: var(--g); letter-spacing: .08em; }
.sec-head h2 { font: 800 clamp(32px, 4.4vw, 50px)/1.1 var(--sans); letter-spacing: -.035em; margin: 12px 0 14px; }
.sec-head p { color: var(--muted); font-size: 17.5px; margin: 0; }
.grid { display: grid; gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .25s, transform .25s, box-shadow .25s; position: relative; }
.card:hover { border-color: var(--line2); }

.features { grid-template-columns: repeat(4, 1fr); }
.feat:hover { transform: translateY(-3px); box-shadow: var(--glow); }
.ficon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(57,255,136,.08); border: 1px solid var(--line2); margin-bottom: 18px; }
.ficon svg { width: 22px; height: 22px; fill: none; stroke: var(--g); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { margin: 0 0 8px; font-size: 17.5px; letter-spacing: -.01em; }
.feat p { margin: 0; color: var(--muted); font-size: 14.5px; }

.tabs { display: flex; justify-content: center; gap: 6px; margin: -20px auto 30px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; width: max-content; background: var(--panel); }
.tab { border: 0; background: transparent; padding: 9px 18px; border-radius: 10px; cursor: pointer; color: var(--muted); font-weight: 600; font-size: 14.5px; display: flex; gap: 8px; align-items: center; }
.tab .count { font: 600 12px var(--mono); padding: 1px 7px; border-radius: 6px; background: rgba(57,255,136,.08); color: var(--gdim); }
.tab.active { background: rgba(57,255,136,.12); color: var(--g); }
.models { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.model { display: flex; align-items: center; gap: 14px; padding: 16px 18px; animation: fadein .35s; }
.model:hover { box-shadow: var(--glow); }
.model-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.model-txt b { font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.model-txt span { font-size: 13px; color: var(--muted); }

.steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { padding: 30px; border-left: 2px solid var(--line2); position: relative; }
.step-n { font: 700 46px var(--mono); color: transparent; -webkit-text-stroke: 1px var(--g2); display: block; margin-bottom: 8px; opacity: .8; }
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); }

.plans { grid-template-columns: 1fr 1fr; max-width: 860px; margin: 0 auto; gap: 22px; }
.plan { padding: 32px; display: flex; flex-direction: column; }
.plan-hot { border-color: rgba(57,255,136,.4); box-shadow: 0 0 0 1px rgba(57,255,136,.12), 0 20px 60px -30px rgba(57,255,136,.6); background: linear-gradient(180deg, rgba(57,255,136,.08), var(--panel) 40%); }
.plan-ribbon { position: absolute; top: 18px; right: 18px; font: 700 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: #021108; background: var(--g); padding: 4px 10px; border-radius: 6px; }
.plan-head h3 { font-size: 26px; margin: 0; }
.plan-tag { color: var(--muted); font-size: 14px; }
.plan-tag b { color: var(--text); }
.checks { list-style: none; padding: 0; margin: 22px 0 26px; flex: 1; }
.checks li { padding: 8px 0 8px 30px; position: relative; color: #c8e6d4; border-bottom: 1px dashed rgba(57,255,136,.08); }
.checks li::before { content: ''; position: absolute; left: 2px; top: 12px; width: 16px; height: 16px; border-radius: 5px; background: rgba(57,255,136,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2339ff88' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.checks b { color: var(--g); }
.plans-list { list-style: none; padding: 0; margin: 22px 0 0; }
.plans-list li { padding: 8px 0 8px 30px; position: relative; color: #c8e6d4; border-bottom: 1px dashed rgba(57,255,136,.08); }
.plans-list li::before { content: ''; position: absolute; left: 4px; top: 15px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--muted); }

/* token */
.token-card { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; padding: 40px; border-radius: 22px; border: 1px solid var(--line2); background: radial-gradient(ellipse at 0% 0%, rgba(57,255,136,.12), transparent 50%), var(--panel); box-shadow: 0 30px 80px -40px rgba(57,255,136,.5); position: relative; overflow: hidden; }
.token-card::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(57,255,136,.025) 0 1px, transparent 1px 28px), repeating-linear-gradient(90deg, rgba(57,255,136,.025) 0 1px, transparent 1px 28px); pointer-events: none; }
.token-left { display: flex; gap: 24px; align-items: center; position: relative; }
.token-coin { width: 110px; height: 110px; flex: none; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #0f3d22, #020805); border: 2px solid rgba(57,255,136,.5); box-shadow: 0 0 50px -6px rgba(57,255,136,.6), inset 0 0 30px rgba(57,255,136,.2); animation: float 5s ease-in-out infinite; }
.token-coin img { width: 64px; height: 64px; }
@keyframes float { 50% { transform: translateY(-8px) rotate(4deg); } }
.token-status { margin-bottom: 10px; }
.token-name { font-size: 26px; margin: 0 0 4px; letter-spacing: -.02em; }
.token-left p { margin: 0; font-size: 14px; }
.token-right { position: relative; }
.ca-label { display: block; font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.ca-box { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--line2); background: rgba(0,0,0,.35); min-height: 58px; }
.ca-live { border-style: solid; }
.ca-box code { flex: 1; font: 500 14px var(--mono); color: var(--g); word-break: break-all; }
.ca-placeholder { font: 14px var(--mono); color: var(--amber); }
.token-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0; }
.warn { font-size: 13.5px; color: var(--muted); border-left: 2px solid var(--amber); padding: 4px 0 4px 14px; margin: 0; }
.warn b { color: var(--amber); font-weight: 600; }

.roadmap { grid-template-columns: repeat(3, 1fr); }
.rm .checks { margin-bottom: 0; }

.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); margin-bottom: 12px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line2); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 24px var(--mono); color: var(--g); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
.faq details p b { color: var(--text); }

.cta-band { padding: 40px 0 110px; }
.cta-in { text-align: center; padding: 64px 30px; border-radius: 24px; border: 1px solid var(--line2); background: radial-gradient(ellipse at 50% 120%, rgba(57,255,136,.25), transparent 60%), var(--panel); }
.cta-in h2 { font: 800 clamp(30px, 4vw, 46px)/1.1 var(--sans); letter-spacing: -.03em; margin: 0 0 10px; }
.cta-in p { color: var(--muted); margin: 0 0 28px; font-size: 17px; }

.footer { border-top: 1px solid var(--line); padding: 50px 0 30px; background: #000; }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; justify-content: space-between; }
.footer-brand p { margin: 8px 0 0; font-size: 14px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); font-size: 14.5px; }
.footer-links a:hover { color: var(--g); }
.footer-fine { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(57,255,136,.07); display: flex; justify-content: space-between; gap: 30px; font-size: 12.5px; color: #5f7a6b; }
.footer-fine p { margin: 0; max-width: 820px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .glitch::before, .glitch::after, .token-coin, .dot { animation: none; } html { scroll-behavior: auto; } }

/* toasts */
#toasts { position: fixed; z-index: 200; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: min(460px, 100% - 30px); }
.toast { display: flex; gap: 10px; align-items: center; padding: 12px 18px; border-radius: 12px; background: rgba(4, 16, 9, .96); border: 1px solid var(--line2); box-shadow: 0 16px 40px -10px #000; font-size: 14px; opacity: 0; transform: translateY(10px); transition: .25s; pointer-events: auto; }
.toast.show { opacity: 1; transform: none; }
.toast-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--g); flex: none; }
.toast-err { border-color: rgba(255,93,108,.5); } .toast-err .toast-dot { background: var(--red); }
.toast-warn { border-color: rgba(255,193,77,.5); } .toast-warn .toast-dot { background: var(--amber); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .models { grid-template-columns: repeat(2, 1fr); }
  .hero-in { grid-template-columns: 1fr; gap: 44px; }
  .term { max-width: 640px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .menu-open .nav-links { display: flex; position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; background: rgba(1,5,3,.97); border-bottom: 1px solid var(--line); padding: 14px 20px 22px; margin: 0; backdrop-filter: blur(14px); }
  .menu-open .nav-links a { padding: 13px 12px; font-size: 16px; }
  .menu-open .nav { background: rgba(1,5,3,.97); }
  .token-card { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-right .socials { display: none; }
  .nav-in { gap: 12px; }
  .brand { font-size: 17px; }
  .nav .btn-sm { padding: 0 12px; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .features, .models, .steps, .plans, .roadmap { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .hero { padding-top: 100px; }
  .hero-sub { font-size: 17px; }
  .term-body { min-height: 360px; font-size: 12.5px; }
  .token-card { padding: 26px; }
  .token-left { flex-direction: column; align-items: flex-start; }
  .footer-fine { flex-direction: column; }
  .scroll-hint { display: none; }
  .tabs { width: 100%; } .tab { flex: 1; justify-content: center; padding: 9px 8px; }
}
