/* ═══════════════════════════════════════════════════════════════════
   ZYRODEX — FOR THE FUTURE
   Futuristic quant-fintech design system
   near-black navy · electric cyan · violet depth · sci-fi HUD
   ═══════════════════════════════════════════════════════════════════ */

/* MOBILE CHECKLIST: 390px audit · 44px taps · 16px inputs · no overflow-x */

:root {
  --bg: #05070D;
  --bg-2: #080B14;
  --panel-solid: #0D1220;
  --panel: rgba(13, 18, 32, 0.62);
  --panel-strong: rgba(20, 27, 46, 0.72);
  --glass-border: rgba(120, 150, 200, 0.14);
  --glass-highlight: rgba(160, 200, 255, 0.28);
  --blur: 6px;

  --cyan: #22D3EE;
  --cyan-bright: #00F0FF;
  --violet: #6366F1;
  --text: #E6EDF7;
  --muted: #8A93A6;
  --green: #22C55E;
  --red: #EF4444;

  /* Legacy aliases — inner pages reference these; mapped to the new accent */
  --gold: #22D3EE;
  --gold-soft: #7DEBFF;
  --gold-glow: rgba(34, 211, 238, 0.35);
  --silver: #AAB6CC;
  --silver-dim: #8A93A6;

  --accent-glow: rgba(34, 211, 238, 0.4);
  --violet-glow: rgba(99, 102, 241, 0.3);

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1240px;

  --shadow: 0 20px 70px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 8px 30px rgba(0, 0, 0, 0.45);
  --glow: 0 0 44px var(--accent-glow);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease: 300ms var(--ease-out);

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  /* Breakpoint reference (use same values in @media queries) */
  --bp-sm: 480px;
  --bp-md: 768px;
  --bp-lg: 960px;
  --bp-xl: 1024px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; touch-action: none; }

/* Gradient mesh backdrop */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1000px 600px at 12% -8%, rgba(34, 211, 238, 0.07), transparent 60%),
    radial-gradient(1200px 700px at 88% 8%, rgba(99, 102, 241, 0.10), transparent 62%),
    radial-gradient(900px 800px at 50% 115%, rgba(34, 211, 238, 0.05), transparent 60%),
    var(--bg);
}
/* Circuit dot-grid */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(140, 180, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 100% 65% at 50% 0%, black 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 100% 65% at 50% 0%, black 25%, transparent 78%);
}

/* Film grain */
.noise {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.035;
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

a { color: var(--cyan); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--cyan-bright); }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.9rem); }
p { margin: 0 0 1rem; color: var(--muted); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

.text-gradient {
  background: linear-gradient(95deg, var(--cyan) 5%, var(--cyan-bright) 40%, var(--violet) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Mega display type */
.mega {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 11vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0;
}
.mega .accent { color: var(--cyan); text-shadow: 0 0 60px var(--accent-glow); }

/* HUD label */
.hud-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex; align-items: center; gap: 10px;
}
.hud-label::before, .hud-label::after {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}
.hud-label::after { background: linear-gradient(90deg, var(--cyan), transparent); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer; border: 1px solid transparent;
  transition: box-shadow 400ms var(--ease-out),
              border-color 300ms, color 300ms, background 300ms;
  white-space: nowrap; overflow: hidden;
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(120deg, #0891B2, var(--cyan) 55%, var(--cyan-bright));
  color: #041016;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover {
  box-shadow: 0 0 46px rgba(0, 240, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #041016;
}
.btn-ghost {
  background: rgba(34, 211, 238, 0.04);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-color: rgba(34, 211, 238, 0.3); color: var(--text);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan-bright); box-shadow: 0 0 30px rgba(34, 211, 238, 0.2); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 40px; font-size: 1.02rem; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 13, 0.5);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  border-bottom: 1px solid rgba(120, 150, 200, 0.08);
  transition: background var(--ease), box-shadow var(--ease);
}
.site-header.scrolled { background: rgba(5, 7, 13, 0.88); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { gap: 0; }
.brand-logo-img {
  height: 44px; width: auto; display: block;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.28));
  transition: filter 400ms var(--ease-out);
}
.brand:hover .brand-logo-img { filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.5)); }
.footer-logo-img {
  height: 64px; width: auto; display: block; margin-bottom: 8px;
  filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.25));
}
.footer-tag { margin-top: 8px; font-size: 0.9rem; color: var(--muted); max-width: 320px; }
.hero-brand-lockup {
  margin: 0 auto 22px; width: fit-content;
  padding: 14px 18px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius);
  background: rgba(5, 7, 13, 0.45);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.08);
}
.hero-logo {
  height: clamp(88px, 14vw, 130px); width: auto; display: block;
  filter: drop-shadow(0 0 22px rgba(212, 175, 55, 0.35));
}
.auth-modal-brand { text-align: center; margin-bottom: 14px; }
.auth-modal-brand img {
  width: 48px; height: 48px; object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.4));
}
.brand-mark {
  width: 32px; height: 32px; flex: none;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.35));
  transition: filter 400ms var(--ease-out);
}
.brand:hover .brand-mark { filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.65)); }
.brand-word {
  font-family: var(--font-display); font-size: 1.08rem; font-weight: 700;
  letter-spacing: 0.06em; color: var(--text); line-height: 1;
}
.brand-x { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--muted); font-size: 0.82rem; font-weight: 500;
  font-family: var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase;
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 1px;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  transition: width 350ms var(--ease-out);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: 10px 22px; font-size: 0.85rem; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex; align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 40px 0 120px;
}
.hero-3d { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-3d canvas { width: 100%; height: 100%; display: block; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 1;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero .sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 640px; margin: 30px auto 40px; color: var(--muted);
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.hero-eyebrow {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 34px;
}
.hero-eyebrow .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 12px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Scramble text cursor */
.scramble-char { display: inline-block; }

/* ── Ticker ──────────────────────────────────────────────── */
.ticker-wrap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  border-top: 1px solid rgba(34, 211, 238, 0.12);
  background: rgba(5, 7, 13, 0.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  overflow: hidden; padding: 12px 0;
}
.ticker { display: flex; gap: 64px; width: max-content; animation: ticker 40s linear infinite; }
.ticker-wrap:hover .ticker { animation-play-state: paused; }
.ticker span {
  display: inline-flex; gap: 10px; align-items: center;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em;
  color: var(--muted); white-space: nowrap;
}
.ticker b { font-weight: 500; }
.ticker .up { color: var(--cyan); text-shadow: 0 0 12px rgba(34, 211, 238, 0.5); }
.ticker .down { color: var(--red); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Sections ────────────────────────────────────────────── */
.section { position: relative; padding: 110px 0; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 64px; }
.section-head .hud-label { margin-bottom: 20px; }

/* Vision strip */
.vision {
  padding: 150px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.vision .statement {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.25;
  max-width: 980px; margin: 0 auto; color: var(--text);
}
.vision .statement em { font-style: normal; color: var(--cyan); }
.vision .mesh {
  position: absolute; inset: -20%; z-index: -1; filter: blur(90px); opacity: 0.5;
  background:
    radial-gradient(420px 300px at 30% 40%, rgba(34, 211, 238, 0.16), transparent 70%),
    radial-gradient(480px 340px at 70% 60%, rgba(99, 102, 241, 0.2), transparent 70%);
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate(-2%, -2%) scale(1); }
  to { transform: translate(2%, 3%) scale(1.07); }
}

/* ── Bento grid ──────────────────────────────────────────── */
.bento {
  display: grid; gap: 22px;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 210px;
}
.bento-card {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--panel-strong), var(--panel));
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  padding: 30px;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: border-color var(--ease), transform 500ms var(--ease-out);
}
.bento-card::before {
  content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
}
/* cursor spotlight */
.bento-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%),
              rgba(34, 211, 238, 0.10), transparent 65%);
  opacity: 0; transition: opacity 350ms;
}
.bento-card:hover { border-color: rgba(34, 211, 238, 0.4); transform: translateY(-4px); }
.bento-card:hover::after { opacity: 1; }
.bento-card h3 { font-size: 1.3rem; margin-bottom: 8px; position: relative; z-index: 2; }
.bento-card p { font-size: 0.92rem; margin: 0; position: relative; z-index: 2; }
.bento-card .tag {
  position: absolute; top: 22px; left: 26px; z-index: 2;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--cyan);
}
.bento-card .art {
  position: absolute; inset: 0; z-index: 1; opacity: 0.85; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.b-span-7 { grid-column: span 7; grid-row: span 2; }
.b-span-5 { grid-column: span 5; }
.b-span-5t { grid-column: span 5; }
.b-span-6 { grid-column: span 6; }

/* bento art details */
.art svg { width: 82%; height: 82%; max-height: 210px; }
.art-wave path { stroke: var(--cyan); filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.6)); }
.art-nodes circle { fill: var(--violet); filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.8)); }
.art-nodes line { stroke: rgba(99, 102, 241, 0.4); }
.art-gauge .arc { stroke: var(--cyan); filter: drop-shadow(0 0 5px rgba(34, 211, 238, 0.6)); }
.art-cast circle { stroke: var(--cyan); }

/* ── Pinned architecture sequence ────────────────────────── */
.pin-sec { position: relative; }
.pin-stage { overflow: hidden; display: flex; flex-direction: column; justify-content: center; min-height: 100vh; }
.pin-head { text-align: center; margin-bottom: 60px; }
.flow-track {
  display: flex; gap: 40px; align-items: stretch;
  padding: 0 8vw; width: max-content;
  position: relative;
}
.flow-line {
  position: absolute; top: 50%; left: 0; right: 0; height: 2px; z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.3) 8%, rgba(34, 211, 238, 0.3) 92%, transparent);
}
.flow-packet {
  position: absolute; top: 50%; left: 0; width: 14px; height: 14px; z-index: 1;
  margin-top: -7px; border-radius: 50%;
  background: var(--cyan-bright);
  box-shadow: 0 0 18px var(--cyan-bright), 0 0 44px rgba(0, 240, 255, 0.6);
}
.flow-node {
  position: relative; z-index: 2;
  width: min(400px, 74vw);
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--panel-strong), var(--panel));
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  padding: 34px;
}
.flow-node .idx {
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--cyan);
  letter-spacing: 0.3em; display: block; margin-bottom: 14px;
}
.flow-node h3 { font-size: 1.35rem; }
.flow-node p { font-size: 0.92rem; margin: 0; }

/* ── Trust & risk panel ──────────────────────────────────── */
.trust-panel {
  border-radius: var(--radius);
  border: 1px solid rgba(138, 147, 166, 0.25);
  background: linear-gradient(165deg, rgba(20, 27, 46, 0.7), rgba(13, 18, 32, 0.55));
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  padding: 48px;
}
.trust-panel h2 { font-size: 1.6rem; }
.trust-panel .rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 30px; }
.trust-panel .rows h4 {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--silver); margin-bottom: 10px;
}
.trust-panel .rows p { font-size: 0.9rem; margin: 0; }

/* ── Metrics ─────────────────────────────────────────────── */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.metric {
  padding: 34px 20px; text-align: center;
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  position: relative; overflow: hidden;
}
.metric::before {
  content: ""; position: absolute; top: 0; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.5), transparent);
}
.metric .num {
  font-family: var(--font-mono); font-size: 2.3rem; font-weight: 700;
  color: var(--cyan); text-shadow: 0 0 30px var(--accent-glow);
}
.metric .label {
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.22em; margin-top: 8px;
}

/* ── Final CTA ───────────────────────────────────────────── */
.final-cta {
  position: relative; text-align: center;
  padding: 170px 0; overflow: hidden;
}
.final-cta .mesh {
  position: absolute; inset: -10%; z-index: 0; filter: blur(80px); opacity: 0.55;
  background:
    radial-gradient(500px 360px at 25% 60%, rgba(34, 211, 238, 0.14), transparent 70%),
    radial-gradient(560px 400px at 75% 40%, rgba(99, 102, 241, 0.18), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
.final-cta .container { position: relative; z-index: 1; }

/* ── Cards (inner pages inherit) ─────────────────────────── */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: linear-gradient(165deg, var(--panel-strong), var(--panel));
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 450ms var(--ease-out), border-color var(--ease), box-shadow var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: var(--shadow-sm), 0 0 34px rgba(34, 211, 238, 0.1);
}
.card h3 { color: var(--text); font-size: 1.22rem; }
.card .icon {
  width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.14), rgba(99, 102, 241, 0.08));
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--cyan); margin-bottom: 20px;
}
.card .icon svg { width: 26px; height: 26px; }

.badge {
  display: inline-block; font-family: var(--font-mono);
  font-size: 0.64rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.18em; padding: 6px 12px; border-radius: 6px;
}
.badge-gold { background: rgba(34, 211, 238, 0.1); color: var(--cyan); border: 1px solid rgba(34, 211, 238, 0.35); }
.badge-silver { background: rgba(99, 102, 241, 0.1); color: #A5B4FC; border: 1px solid rgba(99, 102, 241, 0.35); }
.badge-green { background: rgba(34, 197, 94, 0.1); color: var(--green); border: 1px solid rgba(34, 197, 94, 0.35); }

/* ── Stats (legacy pages) ────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stats .stat {
  padding: 30px 18px; border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
}
.stats .stat .num { font-family: var(--font-mono); font-size: 2.2rem; font-weight: 700; color: var(--cyan); text-shadow: 0 0 26px var(--accent-glow); }
.stats .stat .label { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.18em; margin-top: 6px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: 0.24em;
  font-size: 0.7rem; font-weight: 500; color: var(--cyan);
  padding: 8px 18px; border-radius: 8px;
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.25);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  margin-bottom: 26px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2s infinite; }
.hero p.lead { font-size: 1.15rem; max-width: 700px; margin: 0 auto 36px; }
.section-head .line {
  width: 72px; height: 2px; margin: 18px auto 0; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.hero-inner-bg { padding: 90px 0 60px; }

/* ── Pricing ─────────────────────────────────────────────── */
.plan { display: flex; flex-direction: column; }
.plan .price { font-family: var(--font-mono); font-size: 2.7rem; font-weight: 700; color: var(--text); margin: 14px 0 4px; }
.plan .price span { font-size: 0.95rem; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 22px 0; }
.plan ul li { padding: 9px 0 9px 30px; position: relative; color: var(--muted); }
.plan ul li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 15px; height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322D3EE' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
}
.plan.featured {
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.3), var(--shadow), 0 0 60px rgba(34, 211, 238, 0.1);
  transform: scale(1.03);
}
.plan.featured:hover { transform: scale(1.03) translateY(-5px); }
.plan.featured .ribbon {
  position: absolute; top: 18px; right: 18px;
  background: linear-gradient(120deg, var(--cyan), var(--cyan-bright)); color: #041016;
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; padding: 6px 14px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: 0.14em;
  box-shadow: 0 4px 18px rgba(34, 211, 238, 0.4);
}

/* ── Payment icons ───────────────────────────────────────── */
.pay-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.pay-icon {
  position: relative;
  width: 64px; height: 44px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  transition: all var(--ease);
  cursor: default;
}
.pay-icon svg { width: 36px; height: 26px; }
.pay-icon:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, 0.5); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); }
.pay-icon .tip {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(4px);
  padding: 5px 12px; border-radius: 7px; white-space: nowrap;
  font-family: var(--font-mono); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(5, 7, 13, 0.96); color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.4);
  opacity: 0; pointer-events: none; transition: all var(--ease);
  z-index: 5;
}
.pay-icon .tip::after {
  content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: rgba(34, 211, 238, 0.4);
}
.pay-icon:hover .tip, .pay-icon:focus-visible .tip { opacity: 1; transform: translateX(-50%) translateY(0); }
.pay-icon.soon svg { opacity: 0.4; filter: grayscale(0.6); transition: all var(--ease); }
.pay-icon.soon::after {
  content: ""; position: absolute; inset: 0; border-radius: 10px;
  background: rgba(5, 7, 13, 0); transition: background var(--ease);
}
.pay-icon.soon:hover::after { background: rgba(5, 7, 13, 0.55); }
.pay-icon.soon .tip { color: var(--silver); border-color: rgba(138, 147, 166, 0.4); }
.pay-icon.soon .tip::after { border-top-color: rgba(138, 147, 166, 0.4); }
.pay-icon.active-method .tip { color: var(--green); border-color: rgba(34, 197, 94, 0.4); }
.pay-icon.active-method .tip::after { border-top-color: rgba(34, 197, 94, 0.4); }

/* ── Testimonials (kept for other pages if used) ─────────── */
.testimonial { display: flex; flex-direction: column; gap: 16px; }
.testimonial .starrow { display: flex; gap: 4px; color: var(--cyan); }
.testimonial .starrow svg { width: 15px; height: 15px; }
.testimonial blockquote { margin: 0; color: var(--text); font-size: 0.96rem; line-height: 1.7; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial .who .ava {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; color: #041016;
  background: linear-gradient(120deg, var(--cyan), var(--violet));
  font-family: var(--font-display);
}
.testimonial .who .meta strong { display: block; color: var(--text); font-size: 0.92rem; }
.testimonial .who .meta span { font-size: 0.78rem; color: var(--silver-dim); font-family: var(--font-mono); }

/* ── Forms ───────────────────────────────────────────────── */
.auth-wrap { max-width: 460px; margin: 56px auto; }
.form-card {
  background: linear-gradient(165deg, var(--panel-strong), var(--panel));
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.form-card::before {
  content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 8px; color: var(--text); }
.field input {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm);
  background: rgba(5, 7, 13, 0.6); border: 1px solid var(--glass-border); color: var(--text);
  font-size: 0.98rem; font-family: inherit; transition: border-color var(--ease), box-shadow var(--ease);
}
.field input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15), 0 0 24px rgba(34, 211, 238, 0.08); }
.form-alt { text-align: center; margin-top: 18px; font-size: 0.92rem; color: var(--muted); }

.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 0.92rem; backdrop-filter: blur(8px); }
.alert-error { background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.4); color: #fca5a5; }
.alert-success { background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.4); color: #86efac; }

/* ── Legal ───────────────────────────────────────────────── */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { margin-top: 2em; font-size: 1.4rem; color: var(--cyan); }
.legal h3 { margin-top: 1.4em; font-size: 1.08rem; color: var(--text); }
.legal p, .legal li { color: var(--muted); }
.accordion-item {
  border: 1px solid var(--glass-border); border-radius: var(--radius-sm); margin-bottom: 12px;
  overflow: hidden; background: var(--panel);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--ease);
}
.accordion-item:hover { border-color: rgba(34, 211, 238, 0.35); }
.accordion-item summary { cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after { content: "+"; color: var(--cyan); font-size: 1.3rem; }
.accordion-item[open] summary::after { content: "−"; }
.accordion-item .acc-body { padding: 0 22px 20px; color: var(--muted); }

/* ── Profile ─────────────────────────────────────────────── */
.dash-grid { display: grid; grid-template-columns: 270px 1fr; gap: 28px; }
.dash-side {
  background: var(--panel);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 24px; height: fit-content;
}
.dash-glance { margin-bottom: 18px; }
.dash-glance-plan { display: block; margin-top: 8px; font-size: 0.82rem; color: var(--cyan); font-family: var(--font-mono); }
.dash-side .avatar {
  width: 66px; height: 66px; border-radius: 50%;
  background: linear-gradient(120deg, #D4AF37, #C0C0C0); color: #041016;
  display: grid; place-items: center; font-weight: 700; font-size: 1.5rem; margin-bottom: 14px;
  font-family: var(--font-display);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.35);
}
.ticket-list { display: flex; flex-direction: column; gap: 14px; }
.ticket-row {
  position: relative; padding: 18px 20px;
  border: 1px solid rgba(120, 150, 200, 0.14); border-radius: var(--radius-sm);
  background: rgba(13, 18, 32, 0.55);
}
.ticket-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 8px; }
.ticket-cat { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--silver); text-transform: uppercase; }
.ticket-body { margin: 0 0 8px; color: var(--text); font-size: 0.92rem; line-height: 1.55; }
.ticket-date { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; color: var(--silver-dim); }
.ticket-reply {
  margin-top: 14px; padding: 14px; border-radius: var(--radius-sm);
  border: 1px solid rgba(34, 211, 238, 0.2); background: rgba(34, 211, 238, 0.05);
}
.ticket-reply p { margin: 8px 0 0; font-size: 0.88rem; color: var(--silver); }
.dash-side nav a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--text); font-size: 0.95rem; }
.dash-side nav a:hover, .dash-side nav a.active { background: rgba(34, 211, 238, 0.08); color: var(--cyan); }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  margin-top: auto; position: relative;
  border-top: 1px solid rgba(120, 150, 200, 0.08);
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  padding: 60px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 44px; }
.footer-grid h4 {
  font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.24em; color: var(--silver-dim); margin-bottom: 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a { color: var(--muted); font-size: 0.9rem; }
.footer-grid ul li a:hover { color: var(--cyan); }
.footer-brand img { height: 44px; margin-bottom: 14px; filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.3)); }
.footer-brand .footer-logo-img { height: 64px; width: auto; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px; border-radius: 11px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
  display: grid; place-items: center; color: var(--silver); transition: all var(--ease);
}
.socials a:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-3px); box-shadow: 0 6px 18px rgba(34, 211, 238, 0.2); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(120, 150, 200, 0.08); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--silver-dim); font-size: 0.78rem; font-family: var(--font-mono);
}

/* ── Intro overlay ───────────────────────────────────────── */
.intro {
  position: fixed; inset: 0; z-index: 300;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 600ms var(--ease-out), visibility 600ms;
}
.intro.done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro .word {
  font-family: var(--font-display); font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text);
}
.intro .word .accent { color: var(--cyan); }

/* ── Reveal helpers ──────────────────────────────────────── */
.reveal, .reveal-stagger > * { will-change: auto; }
body[data-motion="full"] .reveal,
body[data-motion="full"] .reveal-stagger > * { will-change: transform, opacity; }
.parallax-slow { will-change: auto; }
body[data-motion="full"] .parallax-slow { will-change: transform; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; }
  .b-span-7 { grid-column: span 6; grid-row: span 2; }
  .b-span-5, .b-span-5t, .b-span-6 { grid-column: span 6; }
}
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .stats, .metrics { grid-template-columns: repeat(2, 1fr); }
  .trust-panel .rows { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .plan.featured:hover { transform: translateY(-5px); }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .site-header { padding-top: env(safe-area-inset-top, 0); }
  .nav { height: 72px; gap: 8px; }
  .nav-actions {
    flex-wrap: wrap; justify-content: flex-end; gap: 8px;
    max-width: min(100%, 220px);
  }
  .nav-actions .btn { padding: 10px 14px; font-size: 0.78rem; min-height: 44px; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    min-width: 44px; min-height: 44px; padding: 8px;
  }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column;
    background: rgba(5, 7, 13, 0.98);
    backdrop-filter: none; -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--glass-border); padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0)); gap: 4px; display: none;
    max-height: calc(100dvh - 72px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; min-height: 44px; display: flex; align-items: center; }
  .nav-toggle { display: block; }
  .launch-wrap { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 72px 0 100px; }
  .hero-logo { max-width: 200px; height: auto; margin: 0 auto; }
  .hero-brand-lockup { padding: 10px 14px; }
  .mega { font-size: clamp(2rem, 10vw, 4.5rem); letter-spacing: -0.03em; }
  .vision { padding: 80px 0; }
  .final-cta { padding: 90px 0; }
  .trust-panel { padding: 24px 18px; }
  .page-head { padding: 100px 0 32px; }
  .page-head-meta { gap: 16px 20px; font-size: 0.82rem; }
  .term-label { letter-spacing: 0.18em; font-size: 0.66rem; }
  .btn, .btn-lg { min-height: 44px; }
  .trow { flex-wrap: wrap; gap: 4px 12px; }
  .trow .v { text-align: left; }
  .hud-readouts { gap: 16px 24px; margin-top: 28px; font-size: 0.68rem; }
  .tv-ticker { min-height: 42px; overflow: hidden; }
  .tv-ticker .tradingview-widget-container { overflow: hidden; }
  .access-panel { padding: 24px 18px; }
  .path-card { padding: 22px 18px; }
  .tiers { grid-template-columns: 1fr; }
  .auth-modal-panel {
    width: min(440px, calc(100vw - 24px));
    max-height: min(90dvh, 720px);
    overflow-y: auto;
    padding: 32px 22px calc(28px + env(safe-area-inset-bottom, 0));
  }
  .auth-modal-close { min-width: 44px; min-height: 44px; display: grid; place-items: center; }
  input, select, textarea, .faq-search { font-size: 16px; }
  /* mobile: vertical flow instead of pinned horizontal */
  .flow-track { flex-direction: column; width: auto; padding: 0; }
  .flow-line, .flow-packet { display: none; }
  .flow-node { width: 100%; }
  .pin-stage { min-height: auto; padding: 40px 0; }
}
@media (max-width: 480px) {
  .grid-4, .stats, .metrics { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-actions { max-width: 100%; }
  .nav-actions .btn-ghost { padding: 10px 12px; }
  .wiz-options { grid-template-columns: 1fr; }
  .tv-grid { grid-template-columns: 1fr; }
  .watchlist .wl-cell { padding: 22px 18px; }
  .watchlist .wl-cell .num { font-size: 1.6rem; }
  .vision .boot-panel { padding: 24px 18px; }
  .section-head { margin-bottom: 40px; }
}

/* ═══════════════════════════════════════════════════════════════════
   v4 — WALL STREET TERMINAL LAYER · HUD primitives & instrumented sections
   ═══════════════════════════════════════════════════════════════════ */

/* Terminal section label: [ 02 / SIGNAL ACCESS ] */
.term-label {
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--cyan);
}
.term-label .dim { color: var(--muted); }

/* Corner-bracket HUD decoration — add <i class="hcorn hcorn-t"></i><i class="hcorn hcorn-b"></i> inside a positioned panel */
.hcorn { position: absolute; left: 10px; right: 10px; height: 16px; pointer-events: none; }
.hcorn-t { top: 10px; }
.hcorn-b { bottom: 10px; }
.hcorn::before, .hcorn::after {
  content: ""; position: absolute; width: 16px; height: 16px;
  border-color: rgba(34, 211, 238, 0.55); border-style: solid; border-width: 0;
}
.hcorn-t::before { left: 0; top: 0; border-top-width: 1px; border-left-width: 1px; }
.hcorn-t::after { right: 0; top: 0; border-top-width: 1px; border-right-width: 1px; }
.hcorn-b::before { left: 0; bottom: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hcorn-b::after { right: 0; bottom: 0; border-bottom-width: 1px; border-right-width: 1px; }

/* Scanline texture (very subtle) */
.scanlines::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: repeating-linear-gradient(180deg, rgba(140, 200, 255, 0.028) 0 1px, transparent 1px 3px);
  mix-blend-mode: screen;
}

/* Status pulse */
.status-line {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.status-line .status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 12px var(--green);
  animation: pulse 2s infinite;
}
.status-line b { color: var(--green); font-weight: 500; }

/* Live numbers with tick-flash */
.live-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
@keyframes flashUp { 0% { color: var(--green); text-shadow: 0 0 14px rgba(34,197,94,0.7); } 100% { color: inherit; text-shadow: none; } }
@keyframes flashDown { 0% { color: var(--red); text-shadow: 0 0 14px rgba(239,68,68,0.7); } 100% { color: inherit; text-shadow: none; } }
.flash-up { animation: flashUp 700ms ease-out; }
.flash-down { animation: flashDown 700ms ease-out; }

/* ── TradingView ticker container ── */
.tv-ticker {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  border-top: 1px solid rgba(34, 211, 238, 0.12);
  background: rgba(5, 7, 13, 0.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  min-height: 46px;
}

/* ── Vision boot terminal ── */
.vision { text-align: left; }
.vision .boot-panel {
  position: relative; max-width: 900px; margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid rgba(34, 211, 238, 0.18);
  background: rgba(8, 11, 20, 0.72);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  padding: 42px 46px 46px;
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.06), var(--shadow-sm);
  overflow: hidden;
}
.vision .boot-bar { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.vision .boot-line {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2vw, 1.4rem);
  line-height: 1.8; color: var(--text); margin: 0;
  min-height: 5.4em;
}
.vision .boot-line .prompt { color: var(--cyan); }
.vision .boot-line .caret {
  display: inline-block; width: 0.55em; height: 1.1em;
  background: var(--cyan); vertical-align: text-bottom;
  animation: caretBlink 0.9s steps(1) infinite;
  box-shadow: 0 0 10px var(--accent-glow);
}
@keyframes caretBlink { 50% { opacity: 0; } }
#datastream { position: absolute; inset: 0; z-index: -1; opacity: 0.5; }

/* ── Signal Access terminal ── */
.access-panel {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(34, 211, 238, 0.2);
  background: linear-gradient(170deg, rgba(13, 18, 32, 0.85), rgba(8, 11, 20, 0.7));
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  padding: 54px 48px;
  overflow: hidden;
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 44px 0 14px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.3), rgba(34, 211, 238, 0.3), transparent);
}
.step { position: relative; text-align: center; padding: 0 10px; }
.step .orb {
  width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; position: relative; z-index: 1;
  background: rgba(8, 11, 20, 0.95);
  border: 1px solid rgba(34, 211, 238, 0.5);
  color: var(--cyan);
  box-shadow: 0 0 26px rgba(34, 211, 238, 0.25);
}
.step.locked .orb { border-color: rgba(138, 147, 166, 0.3); color: var(--silver-dim); box-shadow: none; }
.step .orb svg { width: 22px; height: 22px; }
.step .s-label {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--cyan); display: block; margin-bottom: 10px;
}
.step.locked .s-label { color: var(--silver-dim); }
.step p { font-size: 0.88rem; margin-bottom: 14px; }
.step .btn { padding: 10px 22px; font-size: 0.85rem; }

.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.path-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: linear-gradient(165deg, var(--panel-strong), var(--panel));
  padding: 34px;
  transition: border-color var(--ease), transform 450ms var(--ease-out), box-shadow var(--ease);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.path-card:hover { border-color: rgba(34, 211, 238, 0.45); transform: translateY(-4px); box-shadow: 0 0 34px rgba(34, 211, 238, 0.1); }
.path-card .p-tag {
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--cyan); display: block; margin-bottom: 16px;
}
.path-card h3 { font-size: 1.3rem; }
.path-card .mt5-price {
  font-family: var(--font-mono); font-size: 2.4rem; font-weight: 700; color: var(--text);
  margin: 10px 0 2px;
}
.path-card .mt5-price span { font-size: 0.95rem; color: var(--muted); font-weight: 400; }
.path-card ul { list-style: none; padding: 0; margin: 18px 0 22px; }
.path-card ul li { padding: 7px 0 7px 28px; position: relative; color: var(--muted); font-size: 0.9rem; }
.path-card ul li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322D3EE' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
}
.disclosure {
  margin-top: 26px; padding: 16px 20px; border-radius: var(--radius-sm);
  border: 1px solid rgba(138, 147, 166, 0.25);
  background: rgba(138, 147, 166, 0.05);
  font-size: 0.8rem; color: var(--muted); line-height: 1.6;
}
.disclosure b { color: var(--silver); font-weight: 600; }

/* ── Architecture HUD readouts ── */
.hud-readouts {
  display: flex; justify-content: center; gap: 44px; flex-wrap: wrap;
  margin-top: 44px;
  font-family: var(--font-mono); font-size: 0.74rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.hud-readouts b { color: var(--cyan); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ── Watchlist metrics ── */
.watchlist {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(34, 211, 238, 0.16);
  background: rgba(8, 11, 20, 0.7);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  overflow: hidden;
}
.watchlist .wl-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 26px; border-bottom: 1px solid rgba(120, 150, 200, 0.1);
}
.watchlist .wl-rows { display: grid; grid-template-columns: repeat(4, 1fr); }
.watchlist .wl-cell {
  padding: 30px 26px; text-align: left;
  border-right: 1px solid rgba(120, 150, 200, 0.08);
}
.watchlist .wl-cell:last-child { border-right: 0; }
.watchlist .wl-cell .num {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 2rem; font-weight: 700; color: var(--cyan);
  text-shadow: 0 0 26px var(--accent-glow);
}
.watchlist .wl-cell .label {
  font-family: var(--font-mono); font-size: 0.64rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.22em; margin-top: 10px;
}

/* Trust panel — compliance module skin */
.trust-panel { position: relative; }
.trust-panel .term-label { display: inline-block; margin-bottom: 6px; }

/* Footer terminal extras */
.footer-status { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.footer-legal { font-size: 0.74rem; color: var(--silver-dim); line-height: 1.7; max-width: 900px; font-family: var(--font-mono); }

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { display: none; }
  .paths { grid-template-columns: 1fr; }
  .access-panel { padding: 34px 24px; }
  .watchlist .wl-rows { grid-template-columns: 1fr 1fr; }
  .watchlist .wl-cell { border-bottom: 1px solid rgba(120,150,200,0.08); }
  .vision .boot-panel { padding: 30px 24px; }
}
@media (max-width: 480px) {
  .watchlist .wl-rows { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   v5 — SITE-WIDE TERMINAL LAYER
   tier cards · terminal data rows · unlock sequence · contact module
   page heads · FAQ terminal · legal reading system · TV widget cells
   ═══════════════════════════════════════════════════════════════════ */

/* ── Terminal data rows (replaces plain checkmark lists) ── */
.trows { margin: 18px 0 22px; border-top: 1px solid rgba(120, 150, 200, 0.1); }
.trow {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 9px 2px;
  border-bottom: 1px solid rgba(120, 150, 200, 0.1);
  font-size: 0.85rem;
}
.trow .k {
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cyan); white-space: nowrap;
}
.trow .v { color: var(--muted); text-align: right; }

/* ── MT5 pricing tiers ── */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.tier {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: linear-gradient(170deg, var(--panel-strong), var(--panel));
  padding: 28px 26px 26px;
  display: flex; flex-direction: column;
  transition: border-color var(--ease), transform 450ms var(--ease-out), box-shadow var(--ease);
  overflow: hidden;
}
.tier:hover { border-color: rgba(34, 211, 238, 0.4); transform: translateY(-4px); }
.tier.featured {
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.12), inset 0 1px 0 rgba(160, 200, 255, 0.12);
}
.tier .tier-badge {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 4px;
  color: var(--cyan); border: 1px solid rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.07);
}
.tier .tier-badge.badge-green { color: var(--green); border-color: rgba(34, 197, 94, 0.4); background: rgba(34, 197, 94, 0.07); }
.tier .t-name {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 14px;
}
.tier .t-price { font-family: var(--font-mono); font-size: 2.2rem; font-weight: 700; color: var(--text); line-height: 1; }
.tier .t-price small { font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.tier .t-per { font-family: var(--font-mono); font-size: 0.7rem; color: var(--silver-dim); margin: 8px 0 4px; letter-spacing: 0.08em; }
.tier .btn { margin-top: auto; }

/* ── Unlock sequence (signature moment) ── */
.steps-line { position: absolute; top: 27px; left: 8%; right: 8%; height: 1px; }
.steps-progress {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-bright));
  box-shadow: 0 0 12px var(--accent-glow);
  transform: scaleX(0); transform-origin: left center;
}
.steps-spark {
  position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan-bright); box-shadow: 0 0 16px 4px rgba(0, 240, 255, 0.6);
  opacity: 0;
}
.step .orb { transition: border-color 400ms, box-shadow 500ms, color 400ms; }
.step .orb .shackle { transform-origin: 8px 10px; transition: transform 450ms var(--ease-out); }
.step.is-unlocked .orb {
  border-color: rgba(34, 211, 238, 0.75); color: var(--cyan);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.4);
}
.step.is-unlocked .orb .shackle { transform: translateX(3px) rotate(24deg); }
.step.is-unlocked .s-label { color: var(--cyan); }
.step .s-label, .step .orb { will-change: auto; }
.access-stamp {
  position: absolute; top: 46px; right: 48px; z-index: 3;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--cyan-bright);
  border: 1px solid rgba(0, 240, 255, 0.65); border-radius: 4px;
  padding: 10px 18px 10px 22px;
  background: rgba(0, 240, 255, 0.05);
  box-shadow: 0 0 26px rgba(0, 240, 255, 0.18), inset 0 0 18px rgba(0, 240, 255, 0.07);
  transform: rotate(-3deg);
  opacity: 0; pointer-events: none;
}
@media (max-width: 960px) { .access-stamp { position: static; display: inline-block; margin-top: 20px; } .steps-line { display: none; } }

/* ── Subpage head ── */
.page-head { position: relative; padding: 150px 0 40px; overflow: hidden; }
.page-head .mesh {
  position: absolute; inset: -20%; z-index: -1; filter: blur(90px); opacity: 0.45;
  background:
    radial-gradient(430px 300px at 25% 30%, rgba(34, 211, 238, 0.14), transparent 70%),
    radial-gradient(460px 320px at 75% 55%, rgba(99, 102, 241, 0.16), transparent 70%);
  animation: drift 24s ease-in-out infinite alternate;
}
.page-head h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); letter-spacing: -0.03em; margin: 20px 0 18px; }
.page-head .lead { max-width: 680px; font-size: 1.05rem; }
.page-head-meta {
  display: flex; gap: 34px; flex-wrap: wrap; margin-top: 30px;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.page-head-meta b { color: var(--cyan); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ── Spec grid (bots page) ── */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.spec-cell {
  position: relative; border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: linear-gradient(165deg, var(--panel-strong), var(--panel));
  padding: 26px; overflow: hidden;
}
.spec-cell .num {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 1.7rem; font-weight: 700; color: var(--cyan);
  text-shadow: 0 0 22px var(--accent-glow);
}
.spec-cell .label {
  font-family: var(--font-mono); font-size: 0.62rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.2em; margin-top: 8px;
}
@media (max-width: 960px) { .spec-grid { grid-template-columns: 1fr 1fr; } }

/* ── Robot module cards ── */
.robot-card {
  position: relative; border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: linear-gradient(170deg, var(--panel-strong), var(--panel));
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  padding: 34px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color var(--ease), transform 450ms var(--ease-out), box-shadow var(--ease);
}
.robot-card:hover { border-color: rgba(34, 211, 238, 0.45); transform: translateY(-4px); box-shadow: 0 0 34px rgba(34, 211, 238, 0.1); }
.robot-card .r-tag {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.24em;
  text-transform: uppercase; display: inline-block; padding: 5px 10px; border-radius: 4px;
  margin-bottom: 18px; align-self: flex-start;
}
.r-tag.t-green { color: var(--green); border: 1px solid rgba(34, 197, 94, 0.4); background: rgba(34, 197, 94, 0.06); }
.r-tag.t-cyan { color: var(--cyan); border: 1px solid rgba(34, 211, 238, 0.4); background: rgba(34, 211, 238, 0.06); }
.r-tag.t-red { color: var(--red); border: 1px solid rgba(239, 68, 68, 0.4); background: rgba(239, 68, 68, 0.06); }
.robot-card h3 { font-family: var(--font-mono); letter-spacing: 0.06em; }

.faq-search-wrap {
  position: relative; padding: 28px 26px; margin-bottom: 8px;
  border-radius: var(--radius);
  border: 1px solid rgba(34, 211, 238, 0.18);
  background: rgba(8, 11, 20, 0.72);
}
.faq-search-label {
  display: block; margin: 10px 0 8px;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.faq-search {
  width: 100%; padding: 14px 16px;
  background: rgba(5, 7, 13, 0.7);
  border: 1px solid rgba(120, 150, 200, 0.18);
  border-radius: var(--radius-sm);
  color: var(--text); font-family: var(--font-mono); font-size: 0.9rem;
}
.faq-search:focus { outline: none; border-color: rgba(34, 211, 238, 0.45); }
.faq-search-meta { margin: 10px 0 0; font-family: var(--font-mono); font-size: 0.68rem; color: var(--cyan); letter-spacing: 0.12em; }

/* ── Insider Terminal ── */
.insider-disclaimer {
  position: relative; padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.06);
}
.insider-disclaimer p { margin: 10px 0 0; font-size: 0.9rem; color: var(--silver); line-height: 1.65; }
.insider-disclaimer b { color: var(--text); }
.insider-toolbar { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.insider-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.insider-tab {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 10px 14px; border-radius: 8px;
  border: 1px solid rgba(120, 150, 200, 0.16); color: var(--muted);
  background: rgba(13, 18, 32, 0.55);
}
.insider-tab.active, .insider-tab:hover { color: var(--cyan); border-color: rgba(34, 211, 238, 0.4); }
.insider-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.insider-filters input[type="date"] {
  padding: 10px 12px; background: rgba(5,7,13,0.7); border: 1px solid rgba(120,150,200,0.18);
  border-radius: var(--radius-sm); color: var(--text); font-family: var(--font-mono); font-size: 0.78rem;
}
.insider-grid { display: grid; grid-template-columns: 1.7fr 0.9fr; gap: 20px; }
.insider-panel {
  position: relative; padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(34, 211, 238, 0.16);
  background: linear-gradient(165deg, rgba(13,18,32,0.9), rgba(8,11,20,0.75));
}
.insider-panel-head { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.insider-empty { margin: 18px 0 0; color: var(--muted); font-size: 0.92rem; line-height: 1.65; }
.insider-table-wrap {
  overflow-x: auto; margin-top: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: rgba(34, 211, 238, 0.35) transparent;
}
.insider-table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 0.72rem; }
.insider-table th {
  text-align: left; letter-spacing: 0.14em; color: var(--cyan);
  padding: 10px 8px; border-bottom: 1px solid rgba(34, 211, 238, 0.2);
}
.insider-table td {
  padding: 10px 8px; border-bottom: 1px solid rgba(120, 150, 200, 0.1);
  color: var(--silver); white-space: nowrap;
}
.insider-table td.mono, .insider-table .mono { color: var(--text); }
.insider-table a { color: var(--cyan); }
.insider-entity-list { list-style: none; padding: 0; margin: 16px 0 0; }
.insider-entity-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid rgba(120, 150, 200, 0.1);
  font-size: 0.88rem;
}
.insider-entity-list a { color: var(--text); }
@media (max-width: 960px) {
  .insider-grid { grid-template-columns: 1fr; }
}
.faq details {
  position: relative;
  border: 1px solid var(--glass-border); border-radius: var(--radius-sm);
  background: rgba(13, 18, 32, 0.55);
  margin-bottom: 12px; overflow: hidden;
  transition: border-color var(--ease);
}
.faq details[open] { border-color: rgba(34, 211, 238, 0.4); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 16px;
  padding: 18px 22px; font-weight: 600; color: var(--text); font-size: 0.95rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .qn {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em; color: var(--cyan);
  white-space: nowrap;
}
.faq summary::after {
  content: "+"; margin-left: auto; font-family: var(--font-mono);
  color: var(--cyan); transition: transform 300ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 22px 20px 0; margin-left: 74px; color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
@media (max-width: 640px) { .faq .a { margin-left: 22px; padding-right: 22px; } }

/* ── TradingView widget cells ── */
.tv-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tv-cell {
  position: relative; height: 240px; border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(8, 11, 20, 0.6); overflow: hidden;
}
.tv-widget-slot { min-height: 240px; width: 100%; height: 100%; }
@media (max-width: 1100px) { .tv-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .tv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tv-grid { grid-template-columns: 1fr; } }

/* ── Footer contact module ── */
.contact-block {
  border: 1px solid rgba(34, 211, 238, 0.16); border-radius: var(--radius-sm);
  background: rgba(8, 11, 20, 0.5);
  padding: 20px;
}
.contact-block .c-title {
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--cyan); display: block; margin-bottom: 14px;
}
.contact-block .socials { display: flex; gap: 10px; margin-bottom: 16px; }
.contact-block .c-row {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em;
  color: var(--muted); padding: 6px 0;
}
.contact-block .c-row svg { width: 14px; height: 14px; color: var(--cyan); filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.5)); flex: none; }
.contact-block .c-row a { color: var(--muted); }
.contact-block .c-row a:hover { color: var(--cyan); }

/* ── Legal reading system ── */
.legal-layout { display: grid; grid-template-columns: 230px 1fr; gap: 40px; align-items: start; }
.legal-toc {
  position: sticky; top: 110px;
  border: 1px solid var(--glass-border); border-radius: var(--radius-sm);
  background: rgba(13, 18, 32, 0.5); padding: 18px 6px 18px 18px;
  max-height: calc(100vh - 140px); overflow-y: auto;
}
.legal-toc a {
  display: block; padding: 6px 8px;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em;
  color: var(--silver-dim); text-transform: uppercase;
  border-left: 1px solid transparent;
}
.legal-toc a:hover { color: var(--cyan); border-left-color: var(--cyan); }
.legal-panel {
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  background: rgba(13, 18, 32, 0.55);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  padding: 50px 56px;
  max-width: 860px;
}
.legal-panel .l-sec { padding: 26px 0; border-bottom: 1px solid rgba(120, 150, 200, 0.08); scroll-margin-top: 110px; }
.legal-panel .l-sec:last-child { border-bottom: 0; }
.legal-panel .l-sec h2 {
  font-size: 1.05rem; display: flex; gap: 14px; align-items: baseline; margin-bottom: 12px;
}
.legal-panel .l-sec h2 .sn {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--cyan);
  letter-spacing: 0.12em; white-space: nowrap;
}
.legal-panel .l-sec p { font-size: 0.92rem; line-height: 1.85; margin: 0; }
.legal-updated {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--glass-border); border-radius: 4px; padding: 8px 14px;
}
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; max-height: none; display: none; }
  .legal-panel { padding: 30px 24px; }
}

@media (max-width: 720px) {
  .tiers { grid-template-columns: 1fr; }
}
/* ── Ticket wizard ── */
.wiz-progress { width: 100%; height: 3px; background: rgba(120, 150, 200, 0.12); border-radius: 2px; margin: 16px 0 6px; }
.wiz-bar { height: 100%; width: 33.3%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); border-radius: 2px; transition: width 400ms var(--ease-out); }
.wiz-step-label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 22px; }
.wiz-q { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 18px; }
.wiz-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
.wiz-opt {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 22px 14px; cursor: pointer;
  background: rgba(13, 18, 32, 0.6);
  border: 1px solid rgba(120, 150, 200, 0.14); border-radius: var(--radius-sm);
  color: var(--text); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em;
  transition: border-color 250ms, background 250ms, box-shadow 250ms;
}
.wiz-opt svg { width: 28px; height: 28px; color: var(--cyan); }
.wiz-opt:hover { border-color: rgba(34, 211, 238, 0.5); background: rgba(34, 211, 238, 0.06); box-shadow: 0 0 20px rgba(34, 211, 238, 0.1); }
.wiz-back { margin-top: 8px; font-size: 0.78rem; }
.wiz-quickfix {
  padding: 20px; margin-bottom: 20px; border-radius: var(--radius-sm);
  border: 1px solid rgba(34, 211, 238, 0.2); background: rgba(34, 211, 238, 0.04);
}
.wiz-quickfix p { font-size: 0.88rem; margin: 10px 0 0; color: var(--silver); line-height: 1.6; }
.btn-sm { padding: 8px 18px; font-size: 0.72rem; }

/* ── Auth modal ── */
.auth-modal {
  position: fixed; inset: 0; z-index: 250;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 350ms var(--ease-out), visibility 350ms;
}
.auth-modal.open { opacity: 1; visibility: visible; }
.auth-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 7, 13, 0.75);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.auth-modal-panel {
  position: relative; z-index: 1;
  width: min(440px, 92vw);
  border-radius: var(--radius);
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: linear-gradient(170deg, rgba(13, 18, 32, 0.92), rgba(8, 11, 20, 0.85));
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  padding: 40px 36px 34px;
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.08);
  transform: scale(0.95) translateY(16px);
  transition: transform 350ms var(--ease-out);
}
.auth-modal.open .auth-modal-panel { transform: scale(1) translateY(0); }
.auth-modal-close {
  position: absolute; top: 16px; right: 18px; z-index: 2;
  background: none; border: none; color: var(--muted); font-size: 1.6rem;
  cursor: pointer; line-height: 1;
  transition: color 200ms;
}
.auth-modal-close:hover { color: var(--cyan); }
.auth-modal-tabs {
  display: flex; gap: 0; margin-bottom: 26px;
  border-bottom: 1px solid rgba(120, 150, 200, 0.14);
}
.auth-tab {
  flex: 1; background: none; border: none; border-bottom: 2px solid transparent;
  padding: 10px 0; cursor: pointer;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; color: var(--muted);
  transition: color 250ms, border-color 250ms;
}
.auth-tab.active { color: var(--cyan); border-bottom-color: var(--cyan); }
.auth-modal-note {
  text-align: center; margin: 22px 0 0; font-size: 0.72rem;
}

/* ── Launch App popover ── */
.launch-wrap { position: relative; }
.btn-launch {
  padding: 10px 20px; font-size: 0.82rem; opacity: 0.7;
  border: 1px solid rgba(138, 147, 166, 0.3);
  background: none; color: var(--silver);
  cursor: default;
  transition: opacity 300ms, border-color 300ms;
}
.btn-launch:hover { opacity: 1; border-color: rgba(34, 211, 238, 0.4); }
.launch-badge {
  font-family: var(--font-mono); font-size: 0.5rem; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 2px 6px; border-radius: 3px;
  background: rgba(34, 211, 238, 0.12); color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.3);
  margin-left: 8px; vertical-align: middle;
}
.launch-pop {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 60;
  width: 280px; padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: rgba(13, 18, 32, 0.92);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.08);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 250ms, visibility 250ms, transform 250ms var(--ease-out);
  pointer-events: none;
}
.launch-pop.visible { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.launch-pop .term-label { display: block; margin-bottom: 10px; }
.launch-pop p { font-size: 0.82rem; margin: 0; color: var(--muted); line-height: 1.6; }

/* ── Lite motion profile (FAQ, Signals, Robots, About, …) ──
   Same perf philosophy as Insider Terminal: no GPU blur stacks, no grain, no mesh blur. */
body[data-motion="lite"] {
  --panel: var(--panel-solid);
  --panel-strong: var(--panel-solid);
  --blur: 0px;
}
body[data-motion="lite"] .noise { display: none !important; }
body[data-motion="lite"] .mesh { display: none !important; }
body[data-motion="lite"] .reveal,
body[data-motion="lite"] .reveal-stagger > *,
body[data-motion="lite"] .parallax-slow {
  will-change: auto;
}
body[data-motion="lite"] * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body[data-motion="lite"] .site-header {
  background: rgba(3, 5, 10, 0.94);
}
body[data-motion="lite"] .card,
body[data-motion="lite"] .bento-card,
body[data-motion="lite"] .path-card,
body[data-motion="lite"] .access-panel,
body[data-motion="lite"] .trust-panel,
body[data-motion="lite"] .faq-item,
body[data-motion="lite"] .alert {
  background: var(--panel-solid);
}
body[data-motion="lite"] .steps-progress { transform: scaleX(1); }
body[data-motion="lite"] .access-stamp { opacity: 1; }

/* Home full: solid panels on scroll-heavy sections (GPU save; hero glass unchanged) */
body[data-motion="full"] .bento-card,
body[data-motion="full"] .card,
body[data-motion="full"] .path-card,
body[data-motion="full"] .access-panel,
body[data-motion="full"] .trust-panel,
body[data-motion="full"] .boot-panel,
body[data-motion="full"] .faq-item {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: var(--panel-solid);
}
body[data-motion="full"] .site-header {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(3, 5, 10, 0.92);
}

/* Home: skip grain on small screens (GPU save) */
@media (max-width: 768px) {
  body[data-motion="full"] .noise { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ticker { animation: none !important; }
  .noise { display: none; }
  .intro { display: none; }
  #datastream { display: none; }
  .vision .boot-line { min-height: 0; }
  .steps-progress { transform: scaleX(1) !important; }
  .step .orb, .step .s-label { transition: none; }
  .access-stamp { opacity: 1 !important; }
}

/* ── Cookie consent banner ── */
body.cookie-consent-open { overflow: hidden; }
.cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  background: rgba(3, 5, 10, 0.72);
  backdrop-filter: blur(4px);
}
.cookie-consent[hidden] { display: none !important; }
.cookie-consent-panel {
  width: min(560px, 100%);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel-solid);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.cookie-consent-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.cookie-consent-text {
  font-size: 0.92rem;
  color: var(--silver);
  margin: 0 0 16px;
  line-height: 1.55;
}
.cookie-consent-text a { color: var(--cyan); text-decoration: underline; }
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-consent-actions .btn {
  min-height: 44px;
  flex: 1 1 140px;
}
@media (max-width: 480px) {
  .cookie-consent-actions { flex-direction: column; }
  .cookie-consent-actions .btn { width: 100%; flex: none; }
}

/* ── OTP / Turnstile auth ── */
.otp-input {
  font-family: var(--font-mono);
  font-size: 1.35rem !important;
  letter-spacing: 0.35em;
  text-align: center;
  min-height: 52px;
}
.turnstile-wrap {
  display: flex;
  justify-content: center;
  min-height: 65px;
  overflow: hidden;
}
.otp-resend .btn,
.otp-form .btn {
  min-height: 44px;
}
.alert-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
}
@media (max-width: 390px) {
  .auth-wrap { padding: 0 4px; }
  .form-card { padding: 20px 16px; }
  .turnstile-wrap { transform: scale(0.92); transform-origin: center top; }
}
