:root {
  --bg:        #080b12;
  --bg-2:      #0d1120;
  --bg-3:      #111827;
  --border:    rgba(255,255,255,0.07);
  --border-2:  rgba(255,255,255,0.12);
  --text:      #f0f2f8;
  --muted:     #6b7280;
  --muted-2:   #9ca3af;
  --violet:    #7c5cfc;
  --cyan:      #22d3ee;
  --grad:      linear-gradient(135deg, #7c5cfc, #22d3ee);
  --grad-text: linear-gradient(90deg, #a78bfa, #67e8f9);
  --glow-v:    rgba(124,92,252,0.35);
  --glow-c:    rgba(34,211,238,0.25);
  --surface:   rgba(255,255,255,0.035);
  --surface-h: rgba(255,255,255,0.06);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Bricolage Grotesque', sans-serif;
  background: var(--bg); color: var(--text);
  font-size: 16px; line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
body::after {
  content: ''; position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23grain)' opacity='0.045'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9998; opacity: 0.6;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }

/* ══ MODAL ══ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(4,6,10,0.82); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 20px;
  padding: 48px 44px; max-width: 520px; width: 100%; position: relative; overflow: hidden;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 40px 120px rgba(0,0,0,0.7), 0 0 0 1px var(--border);
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }
.modal::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad); }
.modal::after {
  content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 280px;
  background: radial-gradient(circle, rgba(124,92,252,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 30px; height: 30px; border-radius: 7px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 17px; transition: background 0.2s, color 0.2s; font-family: monospace;
}
.modal-close:hover { background: var(--surface-h); color: var(--text); }
.modal-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #a78bfa; margin-bottom: 18px;
}
.modal-pip { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 8px var(--glow-v); animation: blink 2s infinite; }
.modal-title { font-size: 27px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 11px; }
.modal-sub { font-size: 14px; color: var(--muted-2); line-height: 1.7; margin-bottom: 26px; }
.modal-row {
  display: flex; border: 1px solid var(--border-2); border-radius: 10px;
  background: var(--bg); overflow: hidden; transition: border-color 0.2s; margin-bottom: 10px;
}
.modal-row:focus-within { border-color: var(--violet); }
.modal-input {
  flex: 1; padding: 14px 16px; background: transparent; border: none; outline: none;
  font-family: 'Bricolage Grotesque', sans-serif; font-size: 14px; color: var(--text);
}
.modal-input::placeholder { color: var(--muted); }
.modal-btn {
  padding: 14px 22px; background: var(--grad); border: none; cursor: pointer;
  font-family: 'Bricolage Grotesque', sans-serif; font-size: 13px; font-weight: 700; color: #fff;
  white-space: nowrap; transition: opacity 0.2s;
}
.modal-btn:hover { opacity: 0.85; }
.modal-fine { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.03em; text-align: center; margin-bottom: 20px; }
.modal-stats {
  display: flex; gap: 0; border-top: 1px solid var(--border); padding-top: 20px;
  justify-content: space-around;
}
.mstat-val { font-size: 17px; font-weight: 800; letter-spacing: -0.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-align: center; }
.mstat-lbl { font-family: 'Geist Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-top: 2px; text-align: center; }

/* ══ NAV ══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 40px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid transparent; transition: background 0.4s, border-color 0.4s;
}
nav.scrolled { background: rgba(8,11,18,0.88); backdrop-filter: blur(20px); border-color: var(--border); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-mark { width: 30px; height: 30px; background: var(--grad); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: #fff; box-shadow: 0 0 20px var(--glow-v); }
.nav-logo-text { font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.nav-logo-text span { color: var(--muted); font-weight: 400; }
.nav-center { display: flex; align-items: center; gap: 4px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-link { font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 0.02em; color: var(--muted); text-decoration: none; padding: 6px 13px; border-radius: 6px; transition: color 0.2s, background 0.2s; }
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-btn { font-family: 'Bricolage Grotesque', sans-serif; font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 8px; text-decoration: none; transition: all 0.2s; cursor: pointer; }
.nav-btn-inference { color: #a78bfa; border: 1px solid rgba(124,92,252,0.3); background: rgba(124,92,252,0.08); }
.nav-btn-inference:hover { background: rgba(124,92,252,0.18); border-color: rgba(124,92,252,0.5); }
.nav-btn-primary { background: var(--grad); color: #fff; border: none; box-shadow: 0 0 20px var(--glow-v); }
.nav-btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

/* ══ HERO ══ */
.hero { min-height: 100vh; padding: 140px 40px 80px; position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-glow-1 { position: absolute; top: -200px; left: -200px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(124,92,252,0.18) 0%, transparent 70%); pointer-events: none; }
.hero-glow-2 { position: absolute; top: 100px; right: -100px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(34,211,238,0.1) 0%, transparent 70%); pointer-events: none; }
.hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 100% 80% at 50% 20%, black 20%, transparent 80%); }
.hero-inner { max-width: 1200px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border: 1px solid rgba(124,92,252,0.35); border-radius: 100px; background: rgba(124,92,252,0.08); margin-bottom: 28px; opacity: 0; animation: fadeUp 0.7s 0.1s forwards; }
.badge-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 9px; }
.badge-text { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #a78bfa; }
.hero-h1 { font-size: clamp(40px,5.2vw,68px); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 22px; opacity: 0; animation: fadeUp 0.8s 0.25s forwards; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 16px; line-height: 1.75; color: var(--muted-2); max-width: 460px; margin-bottom: 32px; opacity: 0; animation: fadeUp 0.8s 0.4s forwards; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; opacity: 0; animation: fadeUp 0.8s 0.52s forwards; }
.btn-primary-hero { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; padding: 13px 26px; border-radius: 10px; background: var(--grad); color: #fff; text-decoration: none; box-shadow: 0 0 36px var(--glow-v); transition: all 0.25s; }
.btn-primary-hero:hover { transform: translateY(-2px); box-shadow: 0 8px 48px var(--glow-v); opacity: 0.92; }
.btn-primary-hero svg { transition: transform 0.2s; }
.btn-primary-hero:hover svg { transform: translateX(3px); }
.btn-inference-hero { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 12px 24px; border-radius: 10px; background: rgba(124,92,252,0.1); border: 1px solid rgba(124,92,252,0.3); color: #c4b5fd; text-decoration: none; cursor: pointer; transition: all 0.2s; font-family: 'Bricolage Grotesque', sans-serif; }
.btn-inference-hero:hover { background: rgba(124,92,252,0.18); border-color: rgba(124,92,252,0.5); }
.hero-nudge { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.04em; opacity: 0; animation: fadeUp 0.8s 0.62s forwards; margin-bottom: 32px; }
.hero-nudge a { color: #a78bfa; text-decoration: none; border-bottom: 1px solid rgba(167,139,250,0.3); transition: border-color 0.2s; }
.hero-nudge a:hover { border-color: #a78bfa; }
.hero-proof { padding-top: 24px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 22px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.8s 0.72s forwards; }
.proof-item { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.pip { width: 6px; height: 6px; border-radius: 50%; }
.pip-v { background: var(--violet); box-shadow: 0 0 8px var(--glow-v); animation: blink 2.5s infinite; }
.pip-c { background: var(--cyan); box-shadow: 0 0 8px var(--glow-c); animation: blink 2.5s 0.4s infinite; }
.pip-g { background: var(--muted); }

/* ══ MOCKUP ══ */
.hero-right { opacity: 0; animation: fadeUp 0.9s 0.45s forwards; }
.mockup { border-radius: 16px; border: 1px solid var(--border-2); background: var(--bg-2); overflow: hidden; box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 80px var(--glow-v); }
.mbar { height: 40px; background: var(--bg-3); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 16px; gap: 8px; }
.tl { width: 12px; height: 12px; border-radius: 50%; }
.tl-r{background:#ff5f57;} .tl-y{background:#febc2e;} .tl-g{background:#28c840;}
.murl { margin-left: 10px; flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; height: 24px; display: flex; align-items: center; padding: 0 10px; font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--muted); max-width: 240px; }
.mbody { padding: 20px; }
.kpi-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 13px 11px; }
.kpi-l { font-family: 'Geist Mono', monospace; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.kpi-v { font-size: 19px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.kpi-d { font-family: 'Geist Mono', monospace; font-size: 10px; color: #34d399; margin-top: 3px; }
.chart-area { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 13px; margin-bottom: 13px; }
.chart-hdr { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.chart-t { font-size: 11px; font-weight: 600; }
.chart-leg { font-family: 'Geist Mono', monospace; font-size: 10px; color: var(--muted); display: flex; gap: 10px; }
.ldot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 3px; vertical-align: middle; }
.csv { width: 100%; height: 72px; }
.ctable { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.tr { display: grid; grid-template-columns: 1fr 78px 68px 56px; padding: 9px 11px; border-bottom: 1px solid var(--border); align-items: center; }
.tr:last-child { border-bottom: none; }
.tr.h { background: rgba(255,255,255,0.02); }
.th { font-family: 'Geist Mono', monospace; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.tdb { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; }
.bico { width: 18px; height: 18px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; }
.bw { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.bf { height: 100%; border-radius: 2px; background: var(--grad); }
.rb { font-family: 'Geist Mono', monospace; font-size: 10px; padding: 2px 6px; border-radius: 4px; font-weight: 500; }
.r1{background:rgba(124,92,252,0.2);color:#a78bfa;} .r2{background:rgba(34,211,238,0.1);color:#67e8f9;} .r3{background:rgba(255,255,255,0.04);color:var(--muted);}

/* ══ INFERENCE BANNER ══ */
.inf-banner { background: linear-gradient(135deg, rgba(124,92,252,0.1), rgba(34,211,238,0.06)); border-top: 1px solid rgba(124,92,252,0.18); border-bottom: 1px solid rgba(124,92,252,0.18); padding: 18px 40px; }
.inf-banner-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ib-l { display: flex; align-items: center; gap: 14px; }
.ib-ico { width: 38px; height: 38px; border-radius: 9px; background: rgba(124,92,252,0.14); border: 1px solid rgba(124,92,252,0.28); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.ib-title { font-size: 14px; font-weight: 700; letter-spacing: -0.02em; }
.ib-sub { font-size: 12px; color: var(--muted-2); margin-top: 1px; }
.ib-r { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.ib-issues { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
.ib-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 9px 18px; border-radius: 8px; background: rgba(124,92,252,0.14); border: 1px solid rgba(124,92,252,0.32); color: #c4b5fd; cursor: pointer; transition: all 0.2s; font-family: 'Bricolage Grotesque', sans-serif; white-space: nowrap; }
.ib-btn:hover { background: rgba(124,92,252,0.24); border-color: rgba(124,92,252,0.55); }

/* ══ LOGO STRIP ══ */
.logo-strip { border-bottom: 1px solid var(--border); padding: 22px 40px; background: rgba(255,255,255,0.01); }
.ls-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; }
.ls-label { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; margin-right: 36px; flex-shrink: 0; }
.ls-logos { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.ls-logo { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.17); letter-spacing: -0.02em; transition: color 0.2s; cursor: default; }
.ls-logo:hover { color: rgba(255,255,255,0.4); }

/* ══ SECTIONS ══ */
.section { padding: 96px 40px; }
.s-inner { max-width: 1200px; margin: 0 auto; }
.s-label { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.s-label::before { content: ''; width: 20px; height: 1px; background: var(--violet); opacity: 0.6; }
.s-title { font-size: clamp(30px,3.8vw,50px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.s-sub { font-size: 15px; color: var(--muted-2); line-height: 1.75; max-width: 520px; margin-top: 14px; }

/* ══ PRODUCTS ══ */
.prod-hdr { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; flex-wrap: wrap; gap: 20px; }
.flag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-bottom: 2px; }
.sec-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.pc { background: var(--bg-2); border: 1px solid var(--border); padding: 38px 34px; position: relative; overflow: hidden; transition: background 0.25s, border-color 0.25s; }
.pc:hover { background: var(--bg-3); border-color: var(--border-2); }
.pc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.pc-num { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }
.badge { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 9px; border-radius: 100px; }
.b-live{background:rgba(52,211,153,0.12);color:#34d399;border:1px solid rgba(52,211,153,0.25);}
.b-build{background:rgba(124,92,252,0.12);color:#a78bfa;border:1px solid rgba(124,92,252,0.25);}
.b-concept{background:rgba(255,255,255,0.04);color:var(--muted);border:1px solid var(--border);}
.b-new{background:rgba(34,211,238,0.1);color:#67e8f9;border:1px solid rgba(34,211,238,0.25);}
.pc-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 15px; border: 1px solid var(--border); background: var(--surface); }
.flag-grid .pc-icon { width: 52px; height: 52px; font-size: 24px; }
.pc-name { font-size: 23px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 5px; }
.flag-grid .pc-name { font-size: 29px; }
.pc-tag { font-size: 13px; font-style: italic; color: var(--muted-2); margin-bottom: 14px; }
.pc-desc { font-size: 13px; line-height: 1.75; color: var(--muted); margin-bottom: 22px; }
.pc-feats { display: flex; flex-direction: column; gap: 7px; margin-bottom: 26px; }
.pc-feat { display: flex; align-items: flex-start; gap: 9px; font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--muted-2); line-height: 1.5; }
.pc-feat::before { content: '→'; color: var(--violet); flex-shrink: 0; }
.pc-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border-2); padding-bottom: 2px; transition: gap 0.2s, color 0.2s, border-color 0.2s; background: none; cursor: pointer; font-family: inherit; }
.pc-link:hover { gap: 10px; color: #a78bfa; border-color: #a78bfa; }
.pc-voxrank::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad); }
.pc-inference::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #a78bfa, #c4b5fd); }

/* ══ INFERENCE SECTION ══ */
.inf-section { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.inf-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: start; }
.issue-list { margin-top: 32px; display: flex; flex-direction: column; }
.issue-row { display: flex; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--border); cursor: pointer; text-decoration: none; transition: padding-left 0.2s; }
.issue-row:last-child { border-bottom: none; }
.issue-row:hover { padding-left: 6px; }
.ivol { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; width: 46px; flex-shrink: 0; }
.ititle { font-size: 13px; font-weight: 500; color: var(--muted-2); flex: 1; line-height: 1.5; transition: color 0.2s; }
.iarrow { color: var(--muted); font-size: 13px; transition: color 0.2s; flex-shrink: 0; }
.issue-row:hover .iarrow { color: var(--violet); }
.issue-row:hover .ititle { color: var(--text); }
.sub-card { background: var(--bg-3); border: 1px solid var(--border-2); border-radius: 16px; padding: 34px 30px; position: relative; overflow: hidden; }
.sub-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad); }
.sub-icon { font-size: 30px; margin-bottom: 14px; }
.sub-title { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }
.sub-body { font-size: 13px; color: var(--muted-2); line-height: 1.7; margin-bottom: 22px; }
.sub-row { display: flex; border: 1px solid var(--border-2); border-radius: 10px; background: var(--bg); overflow: hidden; transition: border-color 0.2s; }
.sub-row:focus-within { border-color: var(--violet); }
.sub-input { flex: 1; padding: 12px 14px; background: transparent; border: none; outline: none; font-family: 'Bricolage Grotesque', sans-serif; font-size: 14px; color: var(--text); }
.sub-input::placeholder { color: var(--muted); }
.sub-btn { padding: 12px 18px; background: var(--grad); border: none; cursor: pointer; font-family: 'Bricolage Grotesque', sans-serif; font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; transition: opacity 0.2s; }
.sub-btn:hover { opacity: 0.85; }
.sub-fine { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--muted); margin-top: 9px; letter-spacing: 0.03em; }
.sub-stats { display: flex; gap: 22px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.ss-val { font-size: 19px; font-weight: 800; letter-spacing: -0.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ss-lbl { font-family: 'Geist Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-top: 2px; }

/* ══ ABOUT ══ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; }
.about-body p { font-size: 15px; color: var(--muted-2); line-height: 1.8; margin-top: 16px; }
.about-body p:first-child { margin-top: 0; }
.acards { display: flex; flex-direction: column; gap: 14px; }
.acard { background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; display: flex; gap: 15px; align-items: flex-start; transition: border-color 0.2s, background 0.2s; }
.acard:hover { background: var(--bg-3); border-color: var(--border-2); }
.acard-ico { font-size: 21px; flex-shrink: 0; margin-top: 1px; }
.acard-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.01em; }
.acard-body { font-size: 13px; color: var(--muted); line-height: 1.6; }
.acard-body a { color: #a78bfa; text-decoration: none; }
.acard-body a:hover { text-decoration: underline; }

/* ══ MARKETSIGNALS ══ */
.ms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; }
.ms-card { background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 16px; padding: 32px 28px; position: relative; overflow: hidden; }
.ms-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #22d3ee, #67e8f9); }
.ms-lbl { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.ms-datasets { display: flex; flex-direction: column; gap: 1px; }
.msd { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px; background: var(--bg); border: 1px solid var(--border); transition: background 0.2s; }
.msd:first-child { border-radius: 8px 8px 0 0; }
.msd:last-child { border-radius: 0 0 8px 8px; }
.msd:hover { background: var(--bg-3); }
.msd-name { font-size: 13px; font-weight: 600; }
.msd-meta { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--muted); margin-top: 2px; }
.ms-footer { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--muted); line-height: 1.6; }

/* ══ GLOSSARY ══ */
.gintro { max-width: 600px; margin-bottom: 48px; }
.ggrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.gcard { background: var(--bg); border: 1px solid var(--border); padding: 30px 26px; transition: background 0.2s, border-color 0.2s; }
.gcard:hover { background: var(--bg-3); border-color: var(--border-2); }
.gterm { font-size: 14px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gtag { font-family: 'Geist Mono', monospace; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; padding: 2px 7px; border-radius: 4px; background: rgba(124,92,252,0.1); color: #a78bfa; border: 1px solid rgba(124,92,252,0.2); }
.gdef { font-size: 13px; color: var(--muted); line-height: 1.75; }

/* ══ FOOTER ══ */
footer { background: var(--bg); border-top: 1px solid var(--border); padding: 60px 40px 34px; }
.foot-inner { max-width: 1200px; margin: 0 auto; }
.foot-top { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid var(--border); }
.foot-logo { font-size: 17px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 11px; }
.foot-logo .dot { color: var(--violet); }
.foot-desc { font-size: 13px; color: var(--muted); line-height: 1.7; max-width: 230px; margin-bottom: 14px; }
.foot-sibling { display: inline-flex; align-items: center; gap: 6px; font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--muted); border: 1px solid var(--border); border-radius: 6px; padding: 5px 10px; text-decoration: none; transition: color 0.2s, border-color 0.2s; }
.foot-sibling:hover { color: var(--text); border-color: var(--border-2); }
.foot-col-title { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-links a { font-size: 13px; color: var(--muted-2); text-decoration: none; transition: color 0.2s; display: flex; align-items: center; gap: 6px; }
.foot-links a:hover { color: var(--text); }
.ntag { font-family: 'Geist Mono', monospace; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; padding: 1px 6px; border-radius: 3px; background: rgba(34,211,238,0.1); color: #67e8f9; border: 1px solid rgba(34,211,238,0.2); }
.foot-bottom { padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.foot-copy { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
.foot-entity { font-family: 'Geist Mono', monospace; font-size: 11px; color: rgba(255,255,255,0.15); letter-spacing: 0.04em; }

/* ══ ANIMATIONS ══ */
@keyframes fadeUp { from{opacity:0;transform:translateY(20px);}to{opacity:1;transform:translateY(0);} }
@keyframes blink { 0%,100%{opacity:1;}50%{opacity:0.35;} }
@keyframes chartDraw { from{stroke-dashoffset:600;}to{stroke-dashoffset:0;} }
.reveal { opacity:0; transform:translateY(16px); transition:opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ══ RESPONSIVE ══ */
@media(max-width:980px){
  nav{padding:0 20px;} .nav-center{display:none;}
  .hero{padding:100px 20px 60px;} .hero-inner{grid-template-columns:1fr;gap:40px;} .hero-right{order:-1;}
  .inf-banner,.logo-strip{padding:16px 20px;}
  .section{padding:68px 20px;}
  .flag-grid,.inf-layout,.about-grid,.ms-grid{grid-template-columns:1fr;gap:2px;}
  .inf-layout,.about-grid,.ms-grid{gap:40px;}
  .sec-grid,.ggrid{grid-template-columns:1fr;}
  .foot-top{grid-template-columns:1fr 1fr;}
  footer{padding:44px 20px 28px;}
}
