/* =========================================================
   SYNTHOS — design tokens
   ========================================================= */
:root {
  --paper: #F3F2ED;
  --paper-2: #EAE9E2;
  --card: #FBFBF8;
  --ink: #0E0F0C;
  --ink-2: #2A2B27;
  --muted: #6E6F68;
  --line: rgba(14, 15, 12, .10);
  --line-2: rgba(14, 15, 12, .18);
  --lime: #C6F432;
  --lime-2: #B3E21E;
  --lime-ink: #3E5200;
  --violet: #B9B4FF;
  --peach: #FFC9A8;
  --sky: #A8E6FF;
  --up: #2E8B3A;
  --down: #C2412D;
  --dark: #0E0F0C;
  --dark-2: #171814;
  --dark-line: rgba(255, 255, 255, .09);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --f-serif: "Instrument Serif", Georgia, serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 20px 50px -24px rgba(14,15,12,.25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--f-mono); letter-spacing: -.01em; }
.tiny { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--muted); }
.up { color: var(--up); }
.down { color: var(--down); }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.label::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--lime); box-shadow: 0 0 0 3px rgba(198,244,50,.25); }
.label-dark { color: rgba(255,255,255,.55); }

.dot-live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); position: relative; flex: none; }
.dot-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--lime); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 20px; border-radius: 12px;
  font-weight: 500; font-size: 15px; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .25s var(--ease), background .2s, box-shadow .25s, color .2s, border-color .2s;
  will-change: transform;
}
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-primary { background: var(--ink); color: var(--paper); box-shadow: 0 10px 30px -12px rgba(14,15,12,.6); }
.btn-primary:hover { background: #000; box-shadow: 0 16px 40px -14px rgba(14,15,12,.7), 0 0 0 4px rgba(198,244,50,.35); }
.btn-primary svg { transition: transform .25s var(--ease); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { background: rgba(255,255,255,.55); border: 1px solid var(--line-2); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: #fff; border-color: var(--ink); }
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: 0 0 0 0 rgba(198,244,50,.5); }
.btn-lime:hover { box-shadow: 0 0 0 6px rgba(198,244,50,.18), 0 20px 50px -10px rgba(198,244,50,.5); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.loading span::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -1px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   Banner + nav
   ========================================================= */
.banner {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  padding: 9px 16px; font-size: 13px; background: var(--ink); color: rgba(255,255,255,.85);
}
.banner .sep { opacity: .35; }
.banner .muted { color: rgba(255,255,255,.55); }
.banner-link { color: var(--lime); font-weight: 500; }
.banner-link:hover { text-decoration: underline; }

.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.scrolled { background: rgba(243,242,237,.78); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { max-width: 1240px; margin: 0 auto; padding: 14px 28px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -.03em; }
.logo-mark { width: 36px; height: 36px; display: grid; place-items: center; flex: none; }
.logo-mark svg { width: 100%; height: 100%; display: block; overflow: visible; }
.lm-ticks { fill: var(--ink); fill-opacity: .5; }
.lm-lid { fill: var(--ink); }
.lm-iris { fill: var(--lime); }
.lm-glint { fill: var(--paper); }
.lm-eye { transform-box: view-box; transform-origin: 50px 50px; }
.logo:hover .lm-eye { animation: blink .5s var(--ease); }
@keyframes blink { 0%, 100% { transform: scaleY(1); } 45% { transform: scaleY(.08); } }
.nav-links { display: flex; gap: 4px; margin-right: auto; }
.nav-links a { padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2); transition: background .2s; }
.nav-links a:hover { background: rgba(14,15,12,.06); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.chain-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.chain-pill i { width: 8px; height: 8px; border-radius: 50%; background: #CCFF00; box-shadow: 0 0 0 2px var(--ink); }
.chain-pill.wrong i { background: var(--down); }
#connectBtn.connected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
#connectBtn.connected .addr-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 23px; }
.nav.open .burger span:first-child { top: 19px; transform: rotate(45deg); }
.nav.open .burger span:last-child { top: 19px; transform: rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; min-height: calc(100vh - 110px); min-height: calc(100svh - 110px); display: flex; flex-direction: column; overflow: hidden; --mx: 70%; --my: 40%; }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(520px circle at var(--mx) var(--my), #000 0%, rgba(0,0,0,.25) 55%, transparent 80%);
  mask-image: radial-gradient(520px circle at var(--mx) var(--my), #000 0%, rgba(0,0,0,.25) 55%, transparent 80%);
  opacity: .9;
}
.hero::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -200px; top: -200px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(198,244,50,.28), rgba(185,180,255,.14) 50%, transparent 72%);
  filter: blur(20px);
}
#neural { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }
.hero-content { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; pointer-events: none; padding-top: 40px; padding-bottom: 40px; }
.hero-copy { max-width: 600px; pointer-events: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); padding: 5px 12px 5px 5px; border-radius: 999px; background: rgba(255,255,255,.6); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.eb-chip { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; padding: 4px 8px; border-radius: 999px; background: var(--ink); color: var(--lime); }
.hero-title { isolation: isolate; font-size: clamp(48px, 8vw, 104px); line-height: .94; letter-spacing: -.055em; font-weight: 500; margin: 26px 0 22px; }
.hero-title em { font-size: 1.08em; letter-spacing: -.03em; position: relative; white-space: nowrap; }
.hero-title em::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .2em; height: .24em; background: var(--lime); z-index: -1; border-radius: 4px; transform-origin: left; animation: swipe 1.1s .7s var(--ease) both; }
@keyframes swipe { from { transform: scaleX(0); } }
.hero-sub { font-size: 18px; color: var(--ink-2); max-width: 500px; margin: 0 0 32px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 36px; font-size: 14px; color: var(--muted); }
.hero-proof p { margin: 0; }
.hero-proof strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.avatars { display: flex; }
.avatars span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--c); border: 2px solid var(--paper); margin-left: -8px; font-size: 13px; }
.avatars span:first-child { margin-left: 0; }

.hero-float { position: absolute; inset: 0; pointer-events: none; }
.fcard {
  position: absolute; padding: 14px 16px; border-radius: 16px;
  background: rgba(251,251,248,.72); backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.8); box-shadow: var(--shadow), 0 0 0 1px var(--line);
  transition: transform .9s var(--ease); width: 250px;
  animation: float-in 1s var(--ease) both;
}
.fcard-a { right: 6%; top: 14%; animation-delay: .5s; }
.fcard-b { right: 30%; bottom: 14%; width: 200px; animation-delay: .7s; }
.fcard-c { right: 3%; bottom: 26%; width: 270px; animation-delay: .9s; }
@keyframes float-in { from { opacity: 0; translate: 0 20px; } }
.fcard-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.fcard-head b { display: block; font-size: 14px; letter-spacing: -.01em; }
.fcard-head small { display: block; font-size: 11.5px; color: var(--muted); font-family: var(--f-mono); }
.fcard-head .tag { margin-left: auto; }
.fcard-body .row { display: flex; justify-content: space-between; font-size: 12px; padding: 3px 0; color: var(--muted); }
.fcard-body .row b { color: var(--ink); font-weight: 500; }
.fcard-body .row b.up { color: var(--up); }
.bar { height: 5px; border-radius: 4px; background: var(--paper-2); margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--lime-2), var(--lime)); border-radius: 4px; }
.big-num { font-size: 26px; font-weight: 600; letter-spacing: -.04em; margin: 4px 0 6px; font-variant-numeric: tabular-nums; }
.big-num span { font-size: 13px; color: var(--muted); font-weight: 500; }
.spark { width: 100%; height: 32px; }
.spark polyline { fill: none; stroke: var(--ink); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.thought { margin: 6px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); min-height: 3.9em; }
.thought::after { content: "▍"; color: var(--lime-ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.ag-avatar { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--bg, var(--lime)); color: var(--ink); font-weight: 600; font-size: 14px; overflow: hidden; }
.ag-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ag-avatar svg { width: 60%; height: 60%; }
.ag-avatar.lg { width: 48px; height: 48px; border-radius: 14px; font-size: 20px; }
.ag-avatar.xl { width: 84px; height: 84px; border-radius: 24px; font-size: 34px; }
.tag { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; }
.tag-live { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.tag-incub { background: var(--paper-2); color: var(--muted); border-color: transparent; }

.hero-foot { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; padding-bottom: 26px; pointer-events: none; }
.scroll-line { width: 60px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: scan 2.2s var(--ease) infinite; }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.hero-foot .hint { margin-left: auto; }

/* =========================================================
   Ticker
   ========================================================= */
.ticker { border-block: 1px solid var(--line); background: var(--card); overflow: hidden; position: relative; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--card), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--card), transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tk { display: flex; align-items: center; gap: 10px; padding: 14px 26px; border-right: 1px solid var(--line); font-size: 14px; white-space: nowrap; }
.tk .ag-avatar { width: 22px; height: 22px; border-radius: 7px; font-size: 11px; }
.tk b { font-weight: 600; letter-spacing: -.01em; }
.tk .mono { font-size: 13px; }

/* =========================================================
   Sections
   ========================================================= */
.section { padding-top: 130px; padding-bottom: 20px; }
.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.section-head.split .lead { max-width: 420px; }
h2 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1; letter-spacing: -.045em; font-weight: 500; margin: 18px 0 0; }
h2 em { font-size: 1.06em; }
.lead { font-size: 17px; color: var(--muted); margin: 20px 0 0; max-width: 560px; }

/* Stats */
.stats { padding-top: 90px; }
.stats-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.live-tag { display: inline-flex; align-items: center; gap: 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; transform-style: preserve-3d;
}
.stat:hover { border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(14,15,12,.3); }
.stat-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stat-num { font-size: clamp(34px, 3.6vw, 48px); font-weight: 500; letter-spacing: -.05em; line-height: 1.1; margin-top: 18px; font-variant-numeric: tabular-nums; }
.stat-num small { font-size: .45em; color: var(--muted); letter-spacing: 0; }
.stat-sub { font-size: 13px; color: var(--muted); }
.stat-sub b { font-weight: 600; }

/* Tilt glare (shared) */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
[data-tilt]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 50%), rgba(198,244,50,.18), transparent 45%);
}
[data-tilt]:hover::after { opacity: 1; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.step:hover { box-shadow: 0 30px 60px -30px rgba(14,15,12,.3); }
.step-num { position: absolute; top: 22px; right: 24px; font-size: 12px; color: var(--muted); }
.step h3 { font-size: 24px; letter-spacing: -.03em; font-weight: 500; margin: 22px 0 8px; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }
.step-visual { height: 180px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; position: relative; }
.id-card { display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; background: var(--card); border-radius: 14px; box-shadow: var(--shadow); transition: transform .5s var(--ease); }
.step:hover .id-card { transform: translateY(-6px) rotate(-2deg); }
.id-card b { display: block; letter-spacing: -.02em; } .id-card small { color: var(--muted); font-size: 13px; }
.v-mind { display: flex; flex-direction: column; gap: 12px; padding: 22px; place-items: stretch; justify-content: center; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 12px; font-family: var(--f-mono); padding: 5px 9px; border-radius: 7px; background: var(--card); border: 1px solid var(--line); transition: all .3s; }
.chips span.on { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.trait { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); font-family: var(--f-mono); }
.trait i { height: 6px; border-radius: 4px; background: var(--paper-2); position: relative; overflow: hidden; }
.trait i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--ink); border-radius: 4px; transition: width .8s var(--ease); }
.step:hover .trait i::after { width: calc(var(--w) * .7); }
.step:hover .trait:last-child i::after { width: 96%; }
.launch-ring { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.launch-ring span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--ink); opacity: .2; animation: ring 3s var(--ease) infinite; }
.launch-ring span:nth-child(2) { animation-delay: 1s; } .launch-ring span:nth-child(3) { animation-delay: 2s; }
@keyframes ring { from { transform: scale(.4); opacity: .6; } to { transform: scale(1.4); opacity: 0; } }
.launch-ring b { width: 64px; height: 64px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; box-shadow: 0 0 40px rgba(198,244,50,.7); }

/* Models */
.models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.model {
  position: relative; padding: 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px; min-height: 230px; overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.model:hover { border-color: var(--ink); box-shadow: 0 30px 60px -30px rgba(14,15,12,.35); }
.model-top { display: flex; justify-content: space-between; align-items: flex-start; }
.model-logo { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 17px; background: var(--bg); color: var(--ink); }
.model h4 { font-size: 19px; letter-spacing: -.03em; font-weight: 500; margin: 6px 0 2px; }
.model .mid { font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); }
.model p { font-size: 14px; color: var(--muted); margin: 0; flex: 1; }
.meters { display: grid; gap: 7px; }
.meter { display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: center; font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.meter .dots { display: flex; gap: 3px; }
.meter .dots i { flex: 1; height: 5px; border-radius: 2px; background: var(--paper-2); transition: background .3s; }
.meter .dots i.on { background: var(--ink); }
.model:hover .meter .dots i.on { background: var(--lime-2); }

/* Personality */
.persona-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.persona-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.persona-list button {
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; background: rgba(255,255,255,.4);
  transition: all .25s var(--ease);
}
.persona-list button:hover { border-color: var(--ink); }
.persona-list button.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.persona-card { position: relative; padding: 28px; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(14,15,12,.3); transition: transform .4s var(--ease); }
.pc-head { display: flex; align-items: center; gap: 14px; }
.pc-head b { display: block; font-size: 22px; letter-spacing: -.03em; font-weight: 500; }
.pc-head .ag-avatar { transition: background .4s; }
.radar { width: 100%; max-width: 340px; margin: 10px auto; overflow: visible; }
.radar .grid { fill: none; stroke: var(--line-2); }
.radar .axis { stroke: var(--line); }
.radar .shape { fill: rgba(198,244,50,.45); stroke: var(--ink); stroke-width: 1.5; transition: all .6s var(--ease); }
.radar text { font-family: var(--f-mono); font-size: 8.5px; fill: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.radar circle.pt { fill: var(--ink); transition: all .6s var(--ease); }
.persona-card blockquote { margin: 0; padding: 16px 18px; border-radius: 14px; background: var(--paper); font-size: 14.5px; color: var(--ink-2); border-left: 3px solid var(--lime); transition: opacity .3s; }

/* Dark band + terminal */
.dark-band { background: var(--dark); color: #F1F1EC; margin-top: 130px; padding: 120px 0; position: relative; overflow: hidden; }
.dark-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--dark-line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 70%); pointer-events: none; }
.dark-band .lead { color: rgba(241,241,236,.6); }
.dark-band h2 em { color: var(--lime); }
.terminal-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; position: relative; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: rgba(241,241,236,.85); }
.checks li::before { content: ""; width: 18px; height: 18px; border-radius: 6px; flex: none; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E0F0C' stroke-width='3.5'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.terminal { position: relative; border-radius: var(--r-lg); background: var(--dark-2); border: 1px solid var(--dark-line); box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(198,244,50,.04); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--dark-line); }
.term-bar > span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.12); }
.term-bar b { font-weight: 400; font-size: 12px; color: rgba(255,255,255,.45); margin-left: 10px; }
.term-bar i { margin-left: auto; font-style: normal; font-size: 11px; color: var(--lime); display: flex; align-items: center; gap: 8px; letter-spacing: .1em; }
.term-body { height: 420px; padding: 16px 18px; font-size: 12.5px; line-height: 1.75; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; -webkit-mask-image: linear-gradient(transparent, #000 25%); mask-image: linear-gradient(transparent, #000 25%); }
.tl { display: grid; grid-template-columns: 64px 92px 1fr; gap: 10px; animation: tl-in .5s var(--ease); color: rgba(241,241,236,.75); }
.tl .t { color: rgba(255,255,255,.3); }
.tl .a { color: var(--lime); }
.tl .k-think { color: var(--violet); } .tl .k-act { color: var(--lime); } .tl .k-guard { color: var(--peach); } .tl .k-post { color: var(--sky); }
@keyframes tl-in { from { opacity: 0; transform: translateY(8px); } }

/* Table */
.table-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tabs { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--paper-2); }
.tabs button { padding: 7px 14px; border-radius: 9px; font-size: 14px; color: var(--muted); transition: all .2s; }
.tabs button.on { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px -2px rgba(14,15,12,.15); }
.search { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--muted); }
.search input { border: 0; outline: 0; background: none; width: 160px; color: var(--ink); }
.table { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.t-row { display: grid; grid-template-columns: 40px 1.6fr 1.2fr .8fr .7fr .9fr .9fr 100px 110px; gap: 12px; align-items: center; padding: 14px 22px; border-top: 1px solid var(--line); font-size: 14.5px; transition: background .2s; }
.t-row:first-child { border-top: 0; }
.t-head { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-block: 12px; background: var(--paper); }
.t-row:not(.t-head):hover { background: rgba(198,244,50,.1); }
.t-row .r { text-align: right; justify-self: end; }
.t-row .who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.t-row .who b { display: block; font-weight: 500; letter-spacing: -.01em; }
.t-row .who small { display: block; font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); }
.t-row .model-chip { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-row .num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; font-size: 13.5px; transition: color .4s; }
.t-row .num.flash-up { color: var(--up); } .t-row .num.flash-down { color: var(--down); }
.t-row svg.mini { width: 100px; height: 28px; }
.t-row svg.mini polyline { fill: none; stroke-width: 1.5; }
.t-empty { padding: 40px; text-align: center; color: var(--muted); }

/* Economics */
.econ { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; padding: 40px; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); }
.donut-wrap { position: relative; max-width: 400px; width: 100%; margin: 0 auto; }
.donut { width: 100%; transform: rotate(-90deg); overflow: visible; }
.donut circle { fill: none; stroke-width: 22; transition: stroke-width .3s var(--ease), opacity .3s; cursor: pointer; }
.donut circle.dim { opacity: .3; }
.donut circle.hl { stroke-width: 30; }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.donut-center b { font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.alloc { display: grid; gap: 8px; }
.alloc-row { display: grid; grid-template-columns: 14px 1fr auto auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; transition: all .25s var(--ease); }
.alloc-row:hover, .alloc-row.hl { border-color: var(--ink); transform: translateX(4px); }
.alloc-row .sw { width: 14px; height: 14px; border-radius: 4px; }
.alloc-row b { font-weight: 500; }
.alloc-row small { display: block; color: var(--muted); font-size: 13px; }
.alloc-row .pct { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.alloc-row .val { font-family: var(--f-mono); font-variant-numeric: tabular-nums; font-weight: 500; min-width: 80px; text-align: right; }
.calc { margin-top: 20px; padding: 18px; border-radius: 14px; background: var(--paper); }
.calc-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--muted); }
.calc-top b { font-size: 22px; color: var(--ink); font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc-scale { display: flex; justify-content: space-between; }
.fine { font-size: 13px; color: var(--muted); margin: 16px 0 0; }

input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 4px; margin: 16px 0 8px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), var(--paper-2) var(--p, 50%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); border: 3px solid var(--ink); cursor: grab; transition: transform .2s; }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--lime); border: 3px solid var(--ink); cursor: grab; }

/* Guards */
.guards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.guard { position: relative; padding: 26px 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.guard:hover { box-shadow: 0 30px 60px -30px rgba(14,15,12,.3); }
.guard svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--ink); color: var(--lime); }
.guard h4 { font-size: 18px; font-weight: 500; letter-spacing: -.02em; margin: 40px 0 6px; }
.guard p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Roadmap */
#roadmap { margin-top: 130px; }
.roadmap { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 30px; }
.rm-line { position: absolute; top: 6px; left: 0; right: 0; height: 1px; background: var(--dark-line); }
.rm-line i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--lime), rgba(198,244,50,.4)); box-shadow: 0 0 12px var(--lime); transition: width 1.6s var(--ease); }
.rm { position: relative; padding: 24px; border-radius: var(--r-lg); background: var(--dark-2); border: 1px solid var(--dark-line); transition: border-color .3s, transform .4s var(--ease); }
.rm:hover { border-color: rgba(198,244,50,.4); transform: translateY(-4px); }
.rm-dot { position: absolute; top: -30px; left: 24px; width: 13px; height: 13px; border-radius: 50%; background: var(--dark); border: 2px solid rgba(255,255,255,.25); }
.rm.done .rm-dot { background: var(--lime); border-color: var(--lime); }
.rm.now .rm-dot { background: var(--dark); border-color: var(--lime); box-shadow: 0 0 0 5px rgba(198,244,50,.18); animation: now 2s ease-in-out infinite; }
@keyframes now { 50% { box-shadow: 0 0 0 9px rgba(198,244,50,.05); } }
.rm .tiny { color: rgba(255,255,255,.45); }
.rm.done .tiny, .rm.now .tiny { color: var(--lime); }
.rm h4 { font-size: 26px; font-weight: 500; letter-spacing: -.03em; margin: 10px 0 14px; }
.rm ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.rm li { font-size: 14px; color: rgba(241,241,236,.65); padding-left: 18px; position: relative; }
.rm li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 1px; background: rgba(255,255,255,.35); }
.rm.done li::before { background: var(--lime); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.faq-wrap .section-head { position: sticky; top: 100px; }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 19px; letter-spacing: -.02em; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: all .3s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; translate: -50% -50%; transition: transform .3s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--lime); border-color: var(--lime); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq summary:hover i { border-color: var(--ink); }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 620px; animation: tl-in .4s var(--ease); }

/* Final CTA */
.final-cta { position: relative; margin-top: 130px; border-radius: var(--r-xl); background: var(--dark); color: #F1F1EC; overflow: hidden; min-height: 460px; display: flex; align-items: center; }
#ctaCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.final-inner { position: relative; padding: 70px 60px; max-width: 640px; pointer-events: none; }
.final-inner > * { pointer-events: auto; }
.final-inner h2 em { color: var(--lime); }
.final-inner p { color: rgba(241,241,236,.6); font-size: 17px; margin: 20px 0 30px; }

/* Footer */
.footer { padding-top: 80px; padding-bottom: 40px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot-top p { margin: 14px 0 0; font-size: 14px; }
.foot-cols { display: flex; gap: 70px; flex-wrap: wrap; }
.foot-cols div { display: grid; gap: 10px; align-content: start; font-size: 14px; }
.foot-cols b { font-weight: 500; margin-bottom: 4px; }
.foot-cols a { color: var(--muted); transition: color .2s; }
.foot-cols a:hover { color: var(--ink); }
.foot-bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; letter-spacing: .04em; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
[data-tilt].reveal.in { transition: opacity .9s var(--ease), transform .4s var(--ease), box-shadow .4s, border-color .3s; }

/* Cursor glow */
.cursor-glow { position: fixed; left: 0; top: 0; width: 360px; height: 360px; margin: -180px 0 0 -180px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(closest-side, rgba(198,244,50,.12), transparent); transition: opacity .4s; opacity: 0; mix-blend-mode: multiply; }
body.has-mouse .cursor-glow { opacity: 1; }

/* =========================================================
   Modals
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(14,15,12,.35); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s var(--ease); }
.modal.open .modal-backdrop { opacity: 1; }
.modal-card {
  position: relative; width: 100%; max-width: 600px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); border-radius: 26px; padding: 34px 34px 0; box-shadow: 0 50px 120px -30px rgba(14,15,12,.5), 0 0 0 1px var(--line);
  opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.modal.open .modal-card { opacity: 1; transform: none; }
.modal-sm { max-width: 440px; padding-bottom: 28px; }
.modal-card h3 { font-size: 36px; letter-spacing: -.045em; font-weight: 500; margin: 10px 0 20px; line-height: 1.05; }
.modal-x { position: absolute; top: 22px; right: 22px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; transition: background .2s, transform .3s var(--ease); }
.modal-x:hover { background: var(--paper-2); transform: rotate(90deg); }

.stepper { list-style: none; padding: 0 0 18px; margin: 0 0 22px; display: flex; gap: 22px; border-bottom: 1px solid var(--line); }
.stepper li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); transition: color .3s; }
.stepper li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: 11px; border: 1px solid var(--line-2); transition: all .3s; }
.stepper li.on { color: var(--ink); }
.stepper li.on span { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.stepper li.done { color: var(--ink); }
.stepper li.done span { background: var(--lime); border-color: var(--lime); color: transparent; position: relative; }
.stepper li.done span::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E0F0C' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/13px no-repeat; }

.pane { display: none; }
.pane.on { display: block; animation: pane-in .45s var(--ease); }
@keyframes pane-in { from { opacity: 0; transform: translateX(16px); } }
.pane-intro { color: var(--muted); margin: 0 0 20px; }
.f-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.f-label em { font-family: var(--f-sans); font-style: normal; color: var(--muted); font-weight: 400; }
.f-label b { font-weight: 500; font-size: 13px; color: var(--ink-2); }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 16px; }
.field small { display: block; margin-top: 6px; font-size: 12px; }
.field input:not([type=range]), .field textarea, .field select, .prefix-input {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 90px; }
.field select { appearance: none; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E0F0C' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center/16px no-repeat; padding-right: 40px; cursor: pointer; }
.field input:focus, .field textarea:focus, .field select:focus, .prefix-input:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(198,244,50,.35); }
.field .invalid, .prefix-input.invalid { border-color: var(--down) !important; }
.prefix-input { display: flex; align-items: center; gap: 6px; }
.prefix-input i { font-style: normal; color: var(--muted); }
.prefix-input input { border: 0 !important; box-shadow: none !important; padding: 0 !important; height: 100% !important; background: none !important; text-transform: uppercase; }

.marks { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.mark { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--bg); border: 2px solid transparent; transition: transform .2s var(--ease), border-color .2s; }
.mark svg { width: 28px; height: 28px; }
.mark:hover { transform: translateY(-3px); }
.mark.on { border-color: var(--ink); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--lime); }
.upload { display: flex; align-items: center; gap: 18px; padding: 16px; border-radius: 16px; border: 1px dashed var(--line-2); margin-bottom: 20px; }
.upload b { display: block; font-weight: 500; font-size: 14px; margin-bottom: 6px; }
.upload small { display: block; font-size: 12px; margin-top: 6px; }
.upload-preview { width: 76px; height: 76px; border-radius: 18px; flex: none; display: grid; place-items: center; overflow: hidden; background: var(--lime); }
.upload-preview svg { width: 38px; height: 38px; }
.upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.file-btn { display: inline-flex; position: relative; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-btn span { padding: 7px 14px; border-radius: 9px; font-size: 13px; font-weight: 500; background: var(--card); border: 1px solid var(--line-2); transition: border-color .2s; }
.file-btn:hover span { border-color: var(--ink); }
.err, .form-err { color: var(--down); font-size: 13px; margin: 0; min-height: 0; }
.form-err:empty { display: none; }
.form-err { padding: 10px 14px; border-radius: 10px; background: rgba(194,65,45,.08); margin-top: 6px; }

.model-pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 18px; }
.mp { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); text-align: left; transition: all .2s; }
.mp .model-logo { width: 32px; height: 32px; border-radius: 9px; font-size: 13px; }
.mp b { display: block; font-size: 14px; font-weight: 500; }
.mp small { display: block; font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); }
.mp:hover { border-color: var(--ink); }
.mp.on { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(198,244,50,.5); }

.note { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(198,244,50,.16); border: 1px solid rgba(62,82,0,.15); margin: 6px 0 16px; }
.note svg { flex: none; color: var(--lime-ink); margin-top: 2px; }
.note p { margin: 0; font-size: 13.5px; color: var(--ink-2); }

.summary-card { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: rgba(198,244,50,.16); border: 1px solid rgba(62,82,0,.15); }
.summary-card b { display: block; font-size: 20px; letter-spacing: -.02em; font-weight: 500; }
.summary-card small { font-size: 12px; }
.summary-card .tag { margin-left: auto; }
.kv { margin: 14px 0; }
.kv > div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; text-align: right; }
.ack { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; margin-bottom: 8px; }
.ack input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }

.modal-foot { position: sticky; bottom: 0; display: flex; gap: 10px; padding: 18px 0 26px; margin-top: 14px; background: linear-gradient(transparent, var(--paper) 18px); border-top: 1px solid var(--line); }
.modal-foot #nextBtn { margin-left: auto; }
.modal-foot .hidden { display: none; }

.success { text-align: center; padding: 10px 0 0; }
.success-ring { width: 140px; height: 140px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; position: relative; }
.success-ring::before, .success-ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--ink); animation: ring 2.4s var(--ease) infinite; }
.success-ring::after { animation-delay: 1.2s; }
.success h4 { font-size: 28px; letter-spacing: -.04em; font-weight: 500; margin: 0 0 6px; }
.success .kv { text-align: left; margin-top: 20px; }
.success .kv dd { word-break: break-all; }

.wallets { display: grid; gap: 8px; margin-bottom: 16px; }
.w-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); text-align: left; transition: all .2s var(--ease); }
.w-opt:hover { border-color: var(--ink); transform: translateX(4px); }
.w-opt img, .w-opt .w-ico { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.w-opt .w-ico { display: grid; place-items: center; background: var(--paper-2); font-weight: 600; }
.w-opt b { display: block; font-weight: 500; }
.w-opt small { color: var(--muted); font-size: 12.5px; }
.w-opt .tag { margin-left: auto; }
.tiny-p { font-size: 12.5px; margin: 0; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: var(--paper); font-size: 14px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.4); transition: all .4s var(--ease); max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast b { color: var(--lime); font-weight: 500; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .models { grid-template-columns: repeat(2, 1fr); }
  .guards { grid-template-columns: repeat(2, 1fr); }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .rm-line { display: none; }
  .rm-dot { display: none; }
  .t-row { grid-template-columns: 30px 1.6fr 1.1fr .9fr .7fr 100px; }
  .hide-sm { display: none !important; }
  .fcard-b { right: 38%; }
}
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 64px 12px auto; flex-direction: column; padding: 10px; border-radius: 18px; background: var(--card); box-shadow: 0 30px 60px -20px rgba(14,15,12,.35), 0 0 0 1px var(--line); transform: translateY(-10px); opacity: 0; pointer-events: none; transition: all .3s var(--ease); }
  .nav.open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .burger { display: block; }
  .chain-pill { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .persona-wrap, .terminal-wrap, .econ, .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .faq-wrap .section-head { position: static; }
  .hero-float { display: none; }
  #neural { opacity: .55; }
  .hero-content { align-items: flex-end; }
}
@media (max-width: 600px) {
  .container, .nav-inner { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 90px; }
  .dark-band { margin-top: 90px; padding: 80px 0; }
  .banner .muted, .banner .sep { display: none; }
  .hero-sub { font-size: 16px; }
  .hero-ctas .btn { flex: 1; }
  .hero-foot .hint { display: none; }
  #connectBtn span { max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
  .logo-word { font-size: 18px; }
  .models, .guards, .roadmap { grid-template-columns: 1fr; }
  .stats-grid { gap: 10px; }
  .stat { padding: 20px 18px; }
  .econ { padding: 22px; }
  .t-row { grid-template-columns: 1.6fr .9fr 70px; padding: 12px 14px; }
  .t-row > :nth-child(1), .t-row > :nth-child(3), .t-row > :nth-child(5) { display: none; }
  .table-tools, .search { width: 100%; }
  .search input { width: 100%; }
  .final-inner { padding: 50px 24px; }
  .modal { padding: 0; align-items: end; }
  .modal-card { border-radius: 24px 24px 0 0; padding: 26px 18px 0; max-height: 94dvh; }
  .modal-card h3 { font-size: 30px; }
  .f-grid, .model-pick { grid-template-columns: 1fr; gap: 0; }
  .model-pick { gap: 8px; }
  .stepper { gap: 14px; }
  .modal-foot .btn { padding: 0 14px; }
  .foot-cols { gap: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
