@import './tokens.css';
@import './fonts.css';
/* ═══════════════════════════════════════════════════════════
   ALADDIN · OMEGA CSS v3.0 — Stripe Benchmark
   Chief UI/UX Forensic Engineer · SOUL.md Protocol
   8px grid · Spring physics · APCA contrast · 3-layer elevation
   ═══════════════════════════════════════════════════════════ */

/* ── 1. DESIGN TOKENS ── */
:root {
  /* Palette — Institutional Navy */
  --bg:           #0a0e1a;
  --bg-surface:   #0e1224;
  --bg-card:      #12162a;
  --bg-elevated:  #181d32;
  --bg-input:     #0c1020;

  /* Accent — BlackRock-style graphite / platinum */
  --accent:       #64748B;
  --accent-hover: #566174;
  --accent-dim:   rgba(100,116,139,0.18);
  --accent-glow:  rgba(100,116,139,0.22);
  --accent-bright:#B8C2D6;

  /* Text */
  --text-primary:   #F5F5F7;
  --text-secondary: #A0A8C4;
  --text-muted:     #6E7694;
  --text-dim:       #4A5070;

  /* Semantic */
  --success:      #2DD4BF;
  --success-dim:  rgba(45,212,191,0.12);
  --danger:       #F87171;
  --danger-dim:   rgba(248,113,113,0.12);
  --warning:      #B8BDC7;

  /* Borders */
  --border:       rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.16);
  --border-accent:rgba(100,116,139,0.36);

  /* Elevation — Stripe 3-layer system */
  --shadow-1: 0 1px 3px rgba(0,0,0,0.5), 0 1px 6px rgba(0,0,0,0.35);
  --shadow-2: 0 2px 8px rgba(0,0,0,0.6), 0 6px 24px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
  --shadow-3: 0 8px 32px rgba(0,0,0,0.7), 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.07);
  --shadow-glow: 0 0 40px rgba(100,116,139,0.18);
  --shadow-btn: 0 1px 2px rgba(0,0,0,0.5), 0 2px 8px rgba(100,116,139,0.22), inset 0 1px 0 rgba(255,255,255,0.12);
  --shadow-btn-hover: 0 2px 4px rgba(0,0,0,0.5), 0 4px 16px rgba(100,116,139,0.30), inset 0 1px 0 rgba(255,255,255,0.15);

  /* Typography */
  --font:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --mono:    'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  /* Spacing — strict 8px grid */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px;
  --s12: 48px;--s16: 64px;--s20: 80px;--s24: 96px;

  /* Layout */
  --header-h: 64px;
  --max-w: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Motion — spring physics */
  --spring:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in:   cubic-bezier(0.4, 0, 1, 1);
  --dur-fast:  150ms;
  --dur-base:  220ms;
  --dur-slow:  400ms;
}

/* ── 2. RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  hanging-punctuation: first last;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100dvh;
}
body.fouc-management { opacity: 1; }

/* Phase 11 A11Y: skip-link — visually hidden until focused */
.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 4px;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
  width: auto;
  height: auto;
  overflow: visible;
}

img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; border: none; background: none; outline: none; }
button { cursor: pointer; }
::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1E2035; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #2A2E52; }

/* ── 3. TYPOGRAPHY SYSTEM ── */
.section-kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s4);
}
.section-title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.section-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
}
.grad {
  background: linear-gradient(135deg, var(--accent-bright) 0%, #E5E7EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.accent { color: var(--accent); }
strong { font-weight: 700; color: var(--text-primary); }

/* ── 4. LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s8);
}
section {
  padding: var(--s24) 0;
  position: relative;
}

/* Ensure dynamic particles are background layers */
#data-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -2;
}
.light-orb {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  filter: blur(120px);
}

/* ── 5. BUTTONS — 4 states ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--dur-base) var(--spring);
  position: relative;
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: -0.01em;
}
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn:active { transform: scale(0.98); }
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(245,247,250,0.5);
}

.btn-accent, .btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-accent:hover, .btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn-hover);
}

.btn-outline {
  background: rgba(255,255,255,0.03);
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.28);
  color: var(--text-primary);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 20px rgba(245,247,250,0.12);
}

/* ── 6. REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--spring),
              transform var(--dur-slow) var(--spring);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }

/* ── 7. HEADER ── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  border-bottom: 1px solid transparent;
}
#header.scrolled {
  background: rgba(8,9,14,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), var(--shadow-1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--s8);
}
.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  flex-shrink: 0;
}
.logo .dot { color: var(--accent); }
.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--s2);
}
.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--s2) var(--s3);
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}
.nav-desktop a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-shrink: 0;
}
.lang-switcher {
  display: flex;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
}
.lang-btn {
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-radius: 999px;
  transition: all 0.25s var(--ease-out);
}
.lang-btn.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(245,247,250,0.3);
}
.lang-btn:hover:not(.active) { color: var(--text-primary); background: rgba(255,255,255,0.06); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--s2);
  cursor: pointer;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease-out);
}
.hamburger:hover { background: rgba(255,255,255,0.06); }
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--dur-base) var(--spring);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu — BUG-1 + BUG-2 FIX */
#mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);  /* fully opaque — no content bleed-through */
  display: flex;
  flex-direction: column;
  padding: var(--s6) var(--s6) var(--s8);
  gap: var(--s1);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--spring);
  z-index: 999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
#mobile-menu.open { transform: none; }
body.menu-open { overflow: hidden; }
#mobile-menu a {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: var(--s4) var(--s4);
  border-radius: var(--radius-md);
  transition: all var(--dur-fast) var(--ease-out);
  letter-spacing: -0.02em;
}
#mobile-menu a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
  padding-left: 20px;
}
.mobile-menu-bottom {
  margin-top: auto;
  padding-top: var(--s6);
  border-top: 1px solid var(--border);
  display: flex;
  gap: var(--s3);
  align-items: center;
}
/* BUG-1 FIX: hide header elements when menu is open on mobile */
#header.menu-open .nav-desktop { display: none; }

/* ── 8. HERO ── */
#hero {
  min-height: 100dvh;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
  padding-bottom: var(--s8);
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
  z-index: 0;
}
#canvas-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s8);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: var(--s12);
  align-items: center;
  padding: var(--s8) 0 var(--s6);
  max-height: none;
  overflow: visible;
}
#hero-content {}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s6);
}
.kicker-dot {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
.hero-title {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: var(--s6);
}
.hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: var(--s8);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-bottom: var(--s6);
}
/* App buttons — replaces inline styles */
.hero-apps {
  display: flex;
  gap: var(--s3);
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--s5);
}
.app-btn {
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-height: 58px;
  background: rgba(255,255,255,0.05);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  color: var(--text-primary);
  transition: all var(--dur-base) var(--spring);
  overflow: visible;
}
.app-btn svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: block;
}
.app-btn > div {
  min-width: 0;
  line-height: 1;
}
.app-btn:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--border-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}
.app-btn:active { transform: scale(0.98) translateY(0); }
.app-btn:focus-visible { box-shadow: 0 0 0 3px var(--accent-glow); }
.app-btn-label-top {
  font-size: 9px;
  color: var(--text-muted);
  line-height: 1;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.app-btn-label-main {
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: var(--s8);
  padding-top: var(--s6);
  border-top: 1px solid var(--border);
  margin-top: var(--s8);
  flex-wrap: wrap;
}
.hero-stat-val {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
}
.hero-stat-val sup {
  font-size: 0.55em;
  color: var(--accent);
  vertical-align: super;
}
.hero-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── 9. HERO PANEL (Terminal form) ── */
.hero-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-3), var(--shadow-glow);
  position: relative;
}
.panel-scan-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scan-bar 4s ease-in-out infinite;
  z-index: 2;
}
@keyframes scan-bar {
  0%,100% { transform: translateX(-100%); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}
.hpf-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(245,247,250,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(245,247,250,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 0;
  pointer-events: none;
}
.hpf-canvas {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}
.hero-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s3) var(--s4);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  position: relative;
  z-index: 1;
}
.hero-panel-dots { display: flex; gap: 6px; }
.dot-red   { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.dot-yellow{ width: 10px; height: 10px; border-radius: 50%; background: #FEBC2E; }
.dot-green { width: 10px; height: 10px; border-radius: 50%; background: #27C93F; }
.hero-panel-title {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.hpf-glitch { position: relative; }
.hero-panel-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--success);
  text-transform: uppercase;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}
.hpf-body { padding: var(--s5); position: relative; z-index: 1; }
.hpf-stream {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-dim);
  height: 24px;
  overflow: hidden;
  margin-bottom: var(--s4);
  letter-spacing: 0.06em;
}
.hpf-badge {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: var(--s2) var(--s3);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: var(--s4);
  position: relative;
  width: fit-content;
}
.hpf-badge svg { color: var(--accent); }
.hpf-badge-pulse {
  position: absolute;
  right: var(--s3);
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}
.hpf-headline { margin-bottom: var(--s4); }
.hpf-headline-sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.hpf-headline-main {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.3;
  height: 2.6em;
  overflow: hidden;
}
.hpf-typed {
  display: inline-block;
  height: 1.3em;
  line-height: inherit;
  vertical-align: top;
  color: var(--accent);
}
.hpf-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s2);
  margin-bottom: var(--s4);
  padding: var(--s3);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.hpf-mini-metric { text-align: center; }
.hpf-mm-val {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}
.hpf-mm-chg {
  font-family: var(--mono);
  font-size: 9px;
  display: block;
}
.hpf-mm-chg.up { color: var(--success); }
.hpf-mm-chg.down { color: var(--danger); }
.hpf-mm-name {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

/* CPY-01: Illustrative data disclaimer badge below metrics row */
.hpf-illustrative-badge {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: right;
  margin-top: calc(-1 * var(--s3));
  margin-bottom: var(--s3);
  padding-right: 2px;
  opacity: 0.7;
}
.hpf-illustrative-badge::before {
  content: '⚠ ';
  opacity: 0.6;
}

/* HPF Form fields */
.hpf-field-wrap { display: flex; flex-direction: column; gap: var(--s3); }
.hpf-field { position: relative; }
.hpf-label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.hpf-input-row {
  display: flex;
  align-items: center;
  gap: var(--s2);
}
.hpf-ico { color: var(--text-dim); flex-shrink: 0; }
.hpf-input {
  flex: 1;
  background: none;
  font-size: 14px;
  color: var(--text-primary);
  padding: var(--s2) 0;
  border: none;
  outline: none;
  caret-color: var(--accent);
  transition: color var(--dur-fast) var(--ease-out);
}
.hpf-input::placeholder { color: var(--text-dim); }
.hpf-field-line {
  height: 1px;
  background: var(--border);
  margin-top: 4px;
  transition: background var(--dur-fast) var(--ease-out);
  transform-origin: left;
}
.hpf-field:focus-within .hpf-field-line {
  background: var(--accent);
}
.hpf-field:focus-within .hpf-label { color: var(--accent); }
.hpf-field.field-error .hpf-field-line { background: var(--danger); }
.hpf-field.field-error .hpf-label { color: var(--danger); }

/* HPF Submit */
.hpf-submit {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 14px var(--s6);
  margin-top: var(--s5);
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-btn);
  transition: all var(--dur-base) var(--spring);
}
.hpf-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn-hover);
}
.hpf-submit:active { transform: scale(0.98); }
.hpf-submit:focus-visible { box-shadow: 0 0 0 3px var(--accent-glow); }
.hpf-submit-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  z-index: 0;
}
.hpf-submit-text, .hpf-submit-arrow { position: relative; z-index: 1; }
.hpf-submit-arrow { flex-shrink: 0; }

/* HPF Success */
.hpf-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s10) var(--s6);
  gap: var(--s3);
}
.hpf-success.visible { display: flex; }
.hpf-success-ring {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--success-dim);
  border: 1px solid rgba(34,197,94,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hpf-success-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--success);
}
.hpf-success-body { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.hpf-success-code {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-surface);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.hpf-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: var(--s3);
}

/* Slots badge */
#slots-badge {
  color: var(--danger) !important;
  font-weight: 700 !important;
  font-size: 9px !important;
  letter-spacing: 0.06em;
  font-family: var(--mono);
}

/* Hero mobile form — BUG-2 FIX: always visible, no opacity:0 */
.hero-mobile-form {
  display: none;
  margin-top: var(--s6);
  padding: var(--s5);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.hero-mobile-form-title {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s4);
}
.hero-mobile-input {
  width: 100%;
  padding: 12px var(--s4);
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  margin-bottom: var(--s3);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.hero-mobile-input:focus {
  border-color: var(--accent);
  outline: none;
}
.hero-mobile-input::placeholder { color: var(--text-dim); }
.hero-mobile-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 13px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--dur-base) var(--spring);
  box-shadow: var(--shadow-btn);
}
.hero-mobile-submit:hover { background: var(--accent-hover); transform: translateY(-1px); }
.hero-mobile-submit:active { transform: scale(0.98); }
.hero-mobile-note {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-dim);
  text-align: center;
  margin-top: var(--s3);
  letter-spacing: 0.06em;
}

/* ── 10. TICKER ── */
.ticker-wrap {
  overflow: hidden;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  position: relative;
  z-index: 10;
}
.ticker-wrap::before, .ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
}
.ticker-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg-surface), transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(-90deg, var(--bg-surface), transparent); }
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker-scroll 40s linear infinite;
  width: max-content;
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 24px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  border-right: 1px solid var(--border);
}
.ticker-sym { color: var(--text-secondary); letter-spacing: 0.04em; }
.ticker-val { color: var(--text-primary); }
.ticker-chg { }
.ticker-chg.up   { color: var(--success); }
.ticker-chg.down { color: var(--danger); }

/* ── 11. TECHNOLOGY ── */
#technology {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(90% 72% at 82% 14%, rgba(100, 116, 139, 0.16), transparent 58%),
    radial-gradient(76% 58% at 16% 92%, rgba(45, 212, 191, 0.08), transparent 62%),
    linear-gradient(180deg, #090d18 0%, var(--bg) 44%, #080c17 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  padding: clamp(80px, 8vw, 128px) 0 clamp(76px, 7vw, 112px);
}

#technology .container {
  position: relative;
  z-index: 1;
}

.tech-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.44;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(120deg, transparent 0 45%, rgba(100, 116, 139, 0.12) 46%, transparent 48% 100%);
  background-size: 76px 76px, 76px 76px, 560px 560px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.tech-bg-grid::after {
  content: "";
  position: absolute;
  inset: 18% 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 194, 214, 0.34), transparent);
  opacity: 0.7;
}

.tech-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(48px, 5.6vw, 88px);
  align-items: start;
}

.tech-left {
  position: relative;
  max-width: 640px;
  padding-top: 4px;
}

.tech-left::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 8px;
  bottom: -28px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(184, 194, 214, 0.42), rgba(45, 212, 191, 0.28), transparent);
}

.tech-left::after {
  content: "";
  position: absolute;
  left: -34px;
  top: 96px;
  width: 9px;
  height: 54px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(184, 194, 214, 0), rgba(184, 194, 214, 0.9), rgba(45, 212, 191, 0.72), rgba(184, 194, 214, 0));
  box-shadow: 0 0 30px rgba(100, 116, 139, 0.34);
  animation: techMarker 6.5s var(--ease-out) infinite;
}

#technology .section-kicker {
  color: var(--accent-bright);
  opacity: 0.72;
  text-shadow: 0 0 20px rgba(184, 194, 214, 0.18);
}

.tech-left .section-title {
  margin-bottom: var(--s6);
  text-shadow: 0 24px 72px rgba(0, 0, 0, 0.5);
}

#technology .section-title .grad {
  background: linear-gradient(135deg, #f5f5f7 0%, #b8c2d6 46%, #7f8ba3 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.tech-left .section-desc {
  max-width: 590px;
  color: #aab2c8;
}

.tech-right {
  min-width: 0;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  min-width: 0;
}

.feature-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  min-height: 252px;
  padding: clamp(24px, 2vw, 32px);
  background:
    radial-gradient(82% 64% at 100% 0%, rgba(100, 116, 139, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(20, 25, 45, 0.96), rgba(14, 18, 36, 0.94));
  border: 1px solid rgba(184, 194, 214, 0.12);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 18px 44px rgba(0, 0, 0, 0.24);
  display: grid;
  grid-template-areas:
    "num"
    "icon"
    "title"
    "body";
  grid-template-rows: auto auto auto 1fr;
  align-content: start;
  transition:
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--spring),
    background var(--dur-base) var(--ease-out);
}

.feature-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  opacity: 0.75;
}

.feature-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(184, 194, 214, 0.72), rgba(45, 212, 191, 0.52), transparent);
  opacity: 0;
  transform: scaleX(0.5);
  transform-origin: center;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.feature-card:hover {
  border-color: rgba(184, 194, 214, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 66px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(100, 116, 139, 0.1);
  transform: translateY(-4px);
}

.feature-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.feature-card:first-child {
  grid-column: 1 / -1;
}

.feature-card--primary {
  min-height: 226px;
  grid-template-columns: 88px minmax(0, 1fr);
  grid-template-areas:
    "num num"
    "icon title"
    "icon body";
  column-gap: var(--s5);
  align-items: center;
  background:
    radial-gradient(76% 90% at 100% 0%, rgba(45, 212, 191, 0.1), transparent 58%),
    radial-gradient(60% 90% at 0% 100%, rgba(184, 194, 214, 0.12), transparent 65%),
    linear-gradient(180deg, rgba(20, 25, 45, 0.98), rgba(14, 18, 36, 0.96));
}

.feature-card--compute,
.feature-card--media {
  align-content: start;
}

.feature-num {
  position: relative;
  z-index: 1;
  grid-area: num;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-bright);
  text-transform: uppercase;
  margin-bottom: var(--s5);
  opacity: 0.66;
}

.feature-icon-wrap {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(184, 194, 214, 0.16), rgba(100, 116, 139, 0.08)),
    rgba(12, 16, 32, 0.82);
  border: 1px solid rgba(184, 194, 214, 0.16);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 12px 34px rgba(0, 0, 0, 0.25);
}

.feature-icon-wrap::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(184, 194, 214, 0.08);
  border-radius: 10px;
}

.feature-icon-wrap::after {
  content: "";
  position: absolute;
  inset: -45%;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.22) 49%, transparent 62%);
  transform: translateX(-70%);
  animation: techIconSweep 5.8s linear infinite;
}

.feature-card--primary .feature-icon-wrap {
  grid-area: icon;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin-bottom: 0;
}

.feature-card--compute .feature-icon-wrap::after { animation-delay: 0.7s; }
.feature-card--media .feature-icon-wrap::after { animation-delay: 1.4s; }

.feature-icon {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 21px;
  color: #c7d0e1;
  filter: drop-shadow(0 0 10px rgba(184, 194, 214, 0.22));
}

.feature-card--primary .feature-icon {
  width: 31px;
  height: 31px;
}

.feature-title {
  position: relative;
  z-index: 1;
  grid-area: title;
  font-size: clamp(20px, 1.55vw, 26px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin-bottom: var(--s4);
  color: var(--text-primary);
}

.feature-card--primary .feature-title {
  font-size: clamp(24px, 2vw, 32px);
  margin-bottom: var(--s2);
}

.feature-body {
  position: relative;
  z-index: 1;
  grid-area: body;
  font-size: 15px;
  color: #aab2c8;
  line-height: 1.65;
  max-width: 60ch;
}

/* Timeline */
.timeline {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(22px, 2.4vw, 34px);
  padding-top: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 194, 214, 0.28), rgba(45, 212, 191, 0.22), rgba(184, 194, 214, 0.28), transparent);
}

.timeline-item {
  position: relative;
  min-width: 0;
  min-height: 178px;
  margin: 0 8px;
  padding: 24px 24px 22px;
  overflow: visible;
  background:
    radial-gradient(90% 92% at 100% 0%, rgba(100, 116, 139, 0.13), transparent 64%),
    linear-gradient(180deg, rgba(16, 21, 38, 0.86), rgba(11, 15, 29, 0.9));
  border: 1px solid rgba(184, 194, 214, 0.1);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 14px 34px rgba(0, 0, 0, 0.2);
  transition: transform var(--dur-base) var(--spring), border-color var(--dur-base) var(--ease-out);
}

.timeline-item::before {
  content: "";
  display: block;
  position: absolute;
  left: 24px;
  top: -30px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow:
    0 0 0 7px rgba(100, 116, 139, 0.11),
    0 0 30px rgba(184, 194, 214, 0.28);
}

.timeline-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 28%);
  opacity: 0.5;
}

.timeline-item:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 194, 214, 0.22);
}

.timeline-year {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-bright);
  letter-spacing: 0.08em;
  min-width: 0;
  padding-top: 0;
  margin-bottom: var(--s4);
}

.timeline-year::before {
  display: none;
}

.timeline-content {
  position: relative;
  z-index: 1;
}

.timeline-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.timeline-body  {
  font-size: 13px;
  color: #9fa8c0;
  line-height: 1.62;
}

@keyframes techMarker {
  0%, 100% { transform: translateY(-10px); opacity: 0.55; }
  48% { transform: translateY(92px); opacity: 1; }
}

@keyframes techIconSweep {
  0% { transform: translateX(-72%) rotate(10deg); opacity: 0; }
  12%, 46% { opacity: 1; }
  64%, 100% { transform: translateX(72%) rotate(10deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .tech-left::after,
  .feature-icon-wrap::after {
    animation: none;
  }
}

#technology .feature-title,
#technology .feature-body,
#technology .timeline-title,
#technology .timeline-body {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

@media (max-width: 1400px) and (min-width: 769px) {
  .tech-layout {
    grid-template-columns: 1fr;
    gap: var(--s8);
  }

  .tech-left {
    max-width: 720px;
  }

  .tech-left .section-desc {
    max-width: 720px;
  }

  .tech-right,
  .feature-cards,
  .timeline {
    width: 100%;
  }

  .feature-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card:first-child {
    grid-column: 1 / -1;
  }
}

/* ── 12. LIVE DASHBOARD ── */
#live-impact { background: var(--bg-surface); }
.dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s8);
  margin-bottom: var(--s8);
  flex-wrap: wrap;
}
.dashboard-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.live-badge {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--success);
  margin-bottom: var(--s3);
}
.live-ping {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--success);
  position: relative;
  flex-shrink: 0;
}
.live-ping::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--success);
  animation: ping 1.8s ease-out infinite;
  opacity: 0;
}
@keyframes ping {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}
.profit-counter-wrap { text-align: right; }
.profit-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.profit-value {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 900;
  color: var(--success);
  letter-spacing: -0.02em;
}
.dashboard-terminal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
  margin-bottom: var(--s4);
}
.news-panel, .trades-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  display: flex;
  flex-direction: column;
}
.news-panel-header, .trades-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s3) var(--s4);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  flex-shrink: 0;
}
.panel-label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.news-feed, .trades-feed {
  flex: 1;
  overflow-y: auto;
  max-height: 356px;
  padding: var(--s2);
}
.news-feed::-webkit-scrollbar { width: 3px; }
.news-feed::-webkit-scrollbar-thumb { background: var(--bg-elevated); }

/* News items — JS injected */
.news-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: var(--s3);
  align-items: stretch;
  min-height: 82px;
  padding: 10px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--s2);
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012)),
    var(--bg-elevated);
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  cursor: default;
}
.news-item:hover {
  border-color: var(--border-hover);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    var(--bg-elevated);
}
.news-thumb-frame {
  position: relative;
  width: 58px;
  min-height: 58px;
  align-self: stretch;
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 18%, rgba(45,212,191,0.18), transparent 42%),
    linear-gradient(145deg, rgba(10,14,26,0.98), rgba(18,22,42,0.96));
  border: 1px solid rgba(184,194,214,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.news-thumb-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(184,194,214,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,194,214,0.08) 1px, transparent 1px);
  background-size: 11px 11px;
  opacity: 0.32;
  pointer-events: none;
}
.news-thumb {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-thumb-generated {
  background: var(--bg-input);
}
.news-thumb-frame--photo {
  background: #080b13;
}
.news-thumb-frame--photo::after {
  display: none;
}
.news-thumb-frame--photo .news-thumb-fallback {
  display: none;
}
.news-thumb-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px;
}
.news-thumb-source {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}
.news-thumb-signal {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.news-thumb-signal.positive { color: var(--success); }
.news-thumb-signal.negative { color: var(--danger); }
.news-item-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.news-item-header,
.news-source-badge {
  display: flex;
  align-items: center;
}
.news-item-header {
  justify-content: space-between;
  gap: var(--s3);
}
.news-source-badge {
  min-width: 0;
  gap: 6px;
}
.news-source-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(45,212,191,0.08);
}
.news-source-name,
.news-time {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.news-source-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-time {
  flex: 0 0 auto;
  font-weight: 500;
  opacity: 0.82;
}
.news-headline,
.news-headline-link {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 13px;
  line-height: 1.35;
  color: var(--text-primary);
}
.news-headline-link:hover {
  color: var(--accent-bright);
}
.news-headline-ru {
  display: none;
}
.news-item-meta {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-dim);
  display: flex;
  gap: var(--s3);
}
.news-impact {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.news-impact.up,
.news-impact.positive { color: var(--success); }
.news-impact.down,
.news-impact.negative { color: var(--danger); }
.news-lang-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--border-accent);
  margin-right: 4px;
  vertical-align: middle;
}

/* Cause chain */
.cause-chain {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 0.8vw, 10px);
  padding: 18px var(--s3) 20px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  flex-wrap: nowrap;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 16%, rgba(45,212,191,0.08), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0));
}
.cause-chain::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(184,194,214,0.08), transparent);
  transform: translateX(-100%);
  animation: causePanelSweep 12s linear infinite;
}
.cause-node {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  max-width: 88px;
  min-height: 72px;
  padding: 10px 6px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.012)),
    rgba(18,23,42,0.76);
  border: 1px solid rgba(184,194,214,0.14);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 10px 30px rgba(0,0,0,0.16);
  overflow: hidden;
  transition:
    transform var(--dur-base) var(--spring),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease-out);
}
.cause-node::before {
  content: '';
  position: absolute;
  inset: -1px;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(45,212,191,0.34), transparent 42%),
    linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transform: translateY(18px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  pointer-events: none;
}
.cause-node::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background:
    linear-gradient(rgba(184,194,214,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,194,214,0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, #000, transparent 82%);
  pointer-events: none;
}
.cause-node:hover,
.cause-node.active {
  transform: translateY(-2px);
  border-color: rgba(45,212,191,0.42);
  background:
    linear-gradient(145deg, rgba(45,212,191,0.085), rgba(255,255,255,0.018)),
    rgba(18,23,42,0.82);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.09),
    0 12px 32px rgba(0,0,0,0.22),
    0 0 26px rgba(45,212,191,0.12);
}
.cause-node.active::before {
  opacity: 1;
  transform: translateY(0);
  animation: causeNodeGlow 2.8s ease-in-out infinite;
}
.cause-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--accent-bright);
  border-radius: 12px;
  background:
    radial-gradient(circle at 35% 25%, rgba(45,212,191,0.22), transparent 45%),
    linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018));
  border: 1px solid rgba(184,194,214,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.cause-icon::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(45,212,191,0.18), transparent 66%);
  opacity: 0;
  transform: scale(0.82);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--spring);
  pointer-events: none;
}
.cause-node.active .cause-icon::after {
  opacity: 1;
  transform: scale(1);
  animation: causeIconHalo 2.8s ease-in-out infinite;
}
.cause-icon svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  overflow: visible;
}
.cause-icon svg path,
.cause-icon svg rect,
.cause-icon svg circle {
  vector-effect: non-scaling-stroke;
}
.cause-icon-line,
.cause-icon-scan,
.cause-icon-orbit,
.cause-signal-ring,
.cause-signal-check,
.cause-profit-chart,
.cause-profit-arrow,
.cause-profit-grid {
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cause-icon-glass {
  fill: rgba(255,255,255,0.035);
  stroke: rgba(184,194,214,0.32);
  stroke-width: 1.4;
}
.cause-icon-line,
.cause-profit-grid {
  opacity: 0.58;
}
.cause-icon-dot,
.cause-ai-core,
.cause-ai-node {
  fill: var(--success);
  filter: drop-shadow(0 0 8px rgba(45,212,191,0.34));
}
.cause-icon-dot-secondary {
  fill: var(--accent-bright);
  opacity: 0.64;
}
.cause-ai-core {
  fill: rgba(245,247,250,0.92);
}
.cause-icon-orbit,
.cause-signal-ring {
  opacity: 0.42;
}
.cause-signal-check,
.cause-profit-chart,
.cause-profit-arrow {
  stroke: var(--success);
  stroke-width: 2;
}
.cause-profit-fill {
  fill: rgba(45,212,191,0.16);
}
.cause-node.active .cause-icon svg {
  animation: causeIconFloat 2.8s ease-in-out infinite;
}
.cause-node.active .cause-icon-line,
.cause-node.active .cause-signal-check,
.cause-node.active .cause-profit-chart {
  stroke-dasharray: 42;
  stroke-dashoffset: 42;
  animation: causeStrokeDraw 0.85s ease-out forwards;
}
.cause-node.active .cause-icon-dot,
.cause-node.active .cause-ai-node {
  animation: causeDotPulse 2.4s ease-in-out infinite;
}
.cause-node.active .cause-icon-orbit,
.cause-node.active .cause-signal-ring {
  animation: causeOrbitSpin 7.2s linear infinite;
  transform-origin: 20px 20px;
}
.cause-node.active .cause-icon-scan {
  animation: causeScanPulse 2.4s ease-in-out infinite;
}
.cause-label {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-transform: uppercase;
  text-align: center;
  transition: color var(--dur-base) var(--ease-out);
}
.cause-node.active .cause-label {
  color: var(--text-primary);
}
.cause-arrow {
  position: relative;
  flex: 0 0 clamp(18px, 2.4vw, 32px);
  width: clamp(18px, 2.4vw, 32px);
  height: 26px;
  color: var(--text-dim);
}
.cause-arrow-line {
  position: absolute;
  left: 0;
  right: 6px;
  top: 50%;
  height: 2px;
  overflow: hidden;
  transform: translateY(-50%);
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, rgba(184,194,214,0.24) 0 6px, transparent 6px 11px);
}
.cause-arrow-line::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--success), var(--accent-bright), transparent);
  transform: translateX(-105%);
}
.cause-arrow-head {
  position: absolute;
  top: 50%;
  right: 1px;
  width: 10px;
  height: 10px;
  border-top: 2px solid rgba(184,194,214,0.44);
  border-right: 2px solid rgba(184,194,214,0.44);
  transform: translateY(-50%) rotate(45deg);
  transition: border-color var(--dur-base) var(--ease-out), filter var(--dur-base) var(--ease-out);
}
.cause-arrow.active .cause-arrow-line {
  background: linear-gradient(90deg, rgba(45,212,191,0.16), rgba(184,194,214,0.26));
}
.cause-arrow.active .cause-arrow-line::after {
  opacity: 1;
  animation: causeArrowFlow 1.28s ease-out forwards;
}
.cause-arrow.active .cause-arrow-head {
  border-color: var(--success);
  filter: drop-shadow(0 0 8px rgba(45,212,191,0.42));
}

@keyframes causePanelSweep {
  0% { transform: translateX(-110%); }
  48%, 100% { transform: translateX(110%); }
}
@keyframes causeNodeGlow {
  0%, 100% { opacity: 0.62; }
  50% { opacity: 1; }
}
@keyframes causeIconHalo {
  0%, 100% { transform: scale(0.94); opacity: 0.55; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes causeIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.5px); }
}
@keyframes causeStrokeDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes causeDotPulse {
  0%, 100% { opacity: 0.66; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes causeOrbitSpin {
  to { transform: rotate(360deg); }
}
@keyframes causeScanPulse {
  0%, 100% { opacity: 0.35; transform: translateY(-2px); }
  50% { opacity: 1; transform: translateY(2px); }
}
@keyframes causeArrowFlow {
  to { transform: translateX(105%); }
}

/* Trades panel */
.trades-pnl-bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: var(--s2) var(--s4);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
  flex-shrink: 0;
}
.trades-pnl-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.trades-pnl-label {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.trades-pnl-val {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
}
.trades-pnl-val.positive { color: var(--success); }
.trades-pnl-divider { width: 1px; height: 28px; background: var(--border); flex-shrink: 0; }

/* Trade cards */
.trade-card {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  padding: var(--s3);
  border-radius: var(--radius-md);
  margin-bottom: var(--s2);
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)),
    var(--bg-elevated);
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  cursor: default;
}
.trade-card:hover { border-color: var(--border-hover); }
.trade-card.buy  { border-left: 2px solid var(--success); }
.trade-card.sell { border-left: 2px solid var(--danger); }
.trade-card.hold { border-left: 2px solid var(--warning); }
.trade-header,
.trade-instrument,
.trade-ticker-wrap,
.trade-pnl-row {
  display: flex;
  align-items: center;
}
.trade-header {
  justify-content: space-between;
  gap: var(--s3);
}
.trade-instrument {
  min-width: 0;
  gap: var(--s2);
}
.trade-action-badge {
  flex: 0 0 auto;
  min-width: 48px;
  padding: 4px 7px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.035);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
.trade-action-badge.buy { color: var(--success); border-color: rgba(45,212,191,0.28); }
.trade-action-badge.sell { color: var(--danger); border-color: rgba(248,113,113,0.28); }
.trade-action-badge.hold { color: var(--warning); }
.trade-ticker-wrap {
  min-width: 0;
  gap: var(--s2);
}
.trade-logo,
.trade-logo-fallback {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(145deg, rgba(184,194,214,0.18), rgba(100,116,139,0.08));
  border: 1px solid rgba(184,194,214,0.24);
  color: var(--text-primary);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.trade-logo {
  padding: 6px;
  background: rgba(245,247,250,0.96);
  border-color: rgba(245,247,250,0.16);
  overflow: visible;
}
.trade-logo svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.trade-logo--aapl,
.trade-logo--amzn,
.trade-logo--jpm {
  background: rgba(10,14,26,0.92);
  border-color: rgba(184,194,214,0.22);
}
.trade-logo--nvda {
  background: rgba(118,185,0,0.13);
  border-color: rgba(118,185,0,0.34);
}
.trade-logo--meta,
.trade-logo--googl {
  background: rgba(245,247,250,0.98);
}
.trade-logo--tsla,
.trade-logo--bac,
.trade-logo--xom {
  background: rgba(245,247,250,0.98);
}
.trade-logo-fallback span {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.trade-ticker-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.trade-ticker {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
}
.trade-company {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  line-height: 1.2;
  color: var(--text-muted);
}
.trade-time {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-dim);
}
.trade-news-link {
  display: grid;
  grid-template-columns: 2px 1fr;
  gap: var(--s2);
  align-items: stretch;
  min-width: 0;
}
.trade-news-link-line {
  width: 2px;
  border-radius: 999px;
  background: rgba(184,194,214,0.22);
}
.trade-news-snippet {
  min-width: 0;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.45;
}
.trade-pnl-row {
  justify-content: space-between;
  gap: var(--s3);
  padding-top: var(--s2);
  border-top: 1px solid rgba(255,255,255,0.055);
}
.trade-pnl-label {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}
.trade-pnl {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
}
.trade-pnl.positive { color: var(--success); }
.trade-pnl.negative { color: var(--danger); }
.trade-conf {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Chart */
.chart-row { margin-top: var(--s4); }
.chart-panel {
  position: relative;
  scroll-margin-top: calc(var(--header-h) + 18px);
  background:
    radial-gradient(circle at 78% 18%, rgba(45,212,191,0.075), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.01)),
    var(--bg-card);
  border: 1px solid rgba(184,194,214,0.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2), 0 22px 72px rgba(0,0,0,0.24);
}
.chart-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(184,194,214,0.06), transparent);
  transform: translateX(-110%);
  animation: chartPanelSweep 8s linear infinite;
}
.chart-panel-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--s5);
  border-bottom: 1px solid rgba(184,194,214,0.12);
  background: rgba(255,255,255,0.018);
  flex-wrap: wrap;
  gap: var(--s3);
}
.chart-title-stack {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.chart-title-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.chart-live-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(45,212,191,0.1), 0 0 16px rgba(45,212,191,0.55);
  animation: liveDotPulse 1.6s ease-in-out infinite;
}
.chart-subline {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chart-badges { display: flex; gap: var(--s2); flex-wrap: wrap; }
.chart-badge {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    rgba(10,14,26,0.48);
  border: 1px solid rgba(184,194,214,0.14);
  border-radius: 8px;
  text-transform: uppercase;
  color: var(--text-muted);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.045);
}
.chart-badge .val { color: var(--accent-bright); }
.chart-panel-body {
  position: relative;
  min-height: 242px;
  display: flex;
  padding: 0;
}
.chart-y-axis {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 0 24px var(--s5);
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-muted);
  min-width: 62px;
  letter-spacing: 0.08em;
}
.chart-stage {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 24px 24px 24px 0;
  overflow: hidden;
}
.chart-stage::before {
  content: '';
  position: absolute;
  inset: 24px 24px 24px 0;
  pointer-events: none;
  border-radius: 10px;
  background:
    linear-gradient(rgba(184,194,214,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,194,214,0.045) 1px, transparent 1px);
  background-size: 100% 25%, 12.5% 100%;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.65), #000 12%, #000 88%, rgba(0,0,0,0.55));
}
#live-chart {
  position: relative;
  z-index: 2;
  display: block;
  height: 100%;
  min-height: 194px;
}
#grid-lines .chart-grid-line {
  stroke: rgba(184,194,214,0.115);
  stroke-width: 1;
  shape-rendering: crispEdges;
}
#grid-lines .chart-grid-line.vertical {
  stroke: rgba(184,194,214,0.065);
}
#chart-area {
  opacity: 0.86;
}
#chart-path {
  filter: drop-shadow(0 0 8px rgba(45,212,191,0.22));
}
#chart-dot {
  filter: drop-shadow(0 0 12px rgba(45,212,191,0.75));
}
#chart-dot-ring {
  filter: drop-shadow(0 0 12px rgba(45,212,191,0.48));
}
.chart-current-card {
  position: absolute;
  z-index: 5;
  right: 30px;
  top: 22px;
  display: grid;
  gap: 4px;
  min-width: 108px;
  padding: 9px 12px;
  border: 1px solid rgba(45,212,191,0.24);
  border-radius: 10px;
  background: rgba(8,12,24,0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 12px 32px rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
}
.chart-current-label {
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.chart-current-value {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--success);
}
.chart-current-value.negative {
  color: var(--danger);
}
.chart-watermark {
  position: absolute;
  z-index: 1;
  right: 54px;
  bottom: 30px;
  font-family: var(--mono);
  font-size: clamp(32px, 6vw, 78px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
}
.chart-scanline {
  position: absolute;
  z-index: 3;
  top: 24px;
  bottom: 24px;
  width: 1px;
  left: 10%;
  background: linear-gradient(180deg, transparent, rgba(45,212,191,0.62), transparent);
  box-shadow: 0 0 20px rgba(45,212,191,0.3);
  opacity: 0.56;
  animation: chartScanline 7s ease-in-out infinite;
  pointer-events: none;
}
#chart-spikes {
  position: absolute;
  z-index: 4;
  inset: 24px 24px 24px 0;
  pointer-events: none;
  overflow: hidden;
}
.chart-spike-marker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transform: translate(-50%, -50%);
  padding: 3px 6px 3px 4px;
  border-radius: 999px;
  background: rgba(8,12,24,0.78);
  border: 1px solid rgba(45,212,191,0.28);
  color: var(--success);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(0,0,0,0.22), 0 0 18px rgba(45,212,191,0.18);
  opacity: 0;
  animation: chartSpikePop 4.8s ease-out forwards;
}
.chart-spike-marker::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}
.chart-spike-marker.negative {
  color: var(--danger);
  border-color: rgba(248,113,113,0.28);
}

/* Sources bar */
.sources-bar {
  margin-top: var(--s3);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(184,194,214,0.08);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.008)),
    rgba(6, 9, 16, 0.46);
}
.sources-bar-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.sources-count {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 4px 8px;
  border: 1px solid rgba(127,199,239,0.24);
  border-radius: 999px;
  background: rgba(127,199,239,0.06);
  color: rgba(226,232,240,0.88);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.sources-bar-list {
  display: inline-flex;
  flex-wrap: wrap;
  flex: 1 1 720px;
  gap: 5px;
  font-family: var(--mono);
  font-size: 6.6px;
  color: var(--text-muted);
  letter-spacing: 0.07em;
}
.source-chip {
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  padding: 4px 6px;
  border: 1px solid rgba(184,194,214,0.10);
  border-radius: 999px;
  background: rgba(255,255,255,0.018);
  color: rgba(184,194,214,0.68);
  text-transform: uppercase;
}
.source-chip::before {
  content: '';
  width: 3px;
  height: 3px;
  margin-right: 5px;
  border-radius: 999px;
  background: rgba(127,199,239,0.92);
  opacity: 0.78;
  box-shadow: 0 0 7px rgba(127,199,239,0.32);
}

@keyframes chartPanelSweep {
  0% { transform: translateX(-110%); }
  42%, 100% { transform: translateX(110%); }
}
@keyframes liveDotPulse {
  0%, 100% { opacity: 0.62; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.12); }
}
@keyframes chartScanline {
  0%, 100% { left: 8%; opacity: 0; }
  12% { opacity: 0.48; }
  50% { opacity: 0.74; }
  88% { opacity: 0.48; }
  100% { left: 92%; }
}
@keyframes chartSpikePop {
  0% { opacity: 0; transform: translate(-50%, -30%) scale(0.84); }
  12% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  72% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -78%) scale(0.96); }
}

@media (max-width: 768px) {
  .chart-panel-header {
    align-items: flex-start;
    padding: 13px var(--s4);
  }
  .chart-badges {
    width: 100%;
  }
  .chart-badge {
    flex: 1 1 92px;
    text-align: center;
    padding: 6px 8px;
  }
  .chart-panel-body {
    min-height: 218px;
  }
  .chart-y-axis {
    min-width: 48px;
    padding: 26px 0 22px var(--s3);
    font-size: 8px;
  }
  .chart-stage {
    padding: 22px 12px 22px 0;
  }
  .chart-stage::before,
  #chart-spikes {
    inset: 22px 12px 22px 0;
  }
  .chart-current-card {
    right: 16px;
    top: 16px;
    min-width: 92px;
    padding: 8px 10px;
  }
  .chart-current-value {
    font-size: 14px;
  }
  .chart-watermark {
    right: 18px;
    bottom: 24px;
    font-size: clamp(24px, 10vw, 44px);
  }
  .sources-bar {
    gap: var(--s2);
  }
  .source-chip {
    padding: 4px 6px;
    font-size: 6.5px;
  }
}

/* ── 13. CLIENTS ── */
#clients { background: var(--bg); }
.clients-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s8);
  margin-bottom: var(--s10);
  flex-wrap: wrap;
}
.clients-header p {
  max-width: 400px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.clients-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
}
.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s6) var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  transition: border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--spring);
}
.client-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}
.client-logo-svg { width: 100%; max-width: 160px; height: 44px; margin-bottom: var(--s2); overflow: visible; }
.client-card-name { font-size: 13px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.01em; }
.client-card-aum { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--accent); }
.client-card-type { font-family: var(--mono); font-size: 10px; color: var(--text-muted); letter-spacing: 0.04em; }
.clients-footer {
  margin-top: var(--s8);
  padding-top: var(--s6);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s4);
}
.clients-footer-text { font-size: 12px; color: var(--text-muted); max-width: 400px; line-height: 1.6; }
.clients-footer-badge {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--success);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── 14. RESULTS ── */
/* ── 15. ABOUT ── */
#about { background: var(--bg); }
.about-scan-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  align-items: start;
}
.about-left {}
.about-checklist { display: flex; flex-direction: column; gap: var(--s5); margin-top: var(--s8); }
.about-check-item { display: flex; gap: var(--s4); align-items: flex-start; }
.about-check-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--success-dim);
  border: 1px solid rgba(34,197,94,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 1px;
}
.about-check-title { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 3px; }
.about-check-body  { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* Quota explainer */
.quota-explainer {
  margin-top: var(--s6);
  padding: var(--s5);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.quota-header {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s3);
}
.quota-body { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: var(--s3); }
.quota-badge {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--success);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.quota-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}
.about-cta { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s6); }
.about-cta-note { font-size: 13px; color: var(--text-muted); }

/* About visual panel */
.about-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--s6);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-3);
}
.about-visual-bg {
  position: absolute;
  inset: 0;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
  overflow: hidden;
  opacity: 0.3;
  word-break: break-all;
  padding: var(--s4);
  z-index: 0;
}
.about-stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
  margin-bottom: var(--s6);
  position: relative;
  z-index: 1;
}
.about-stat {
  padding: var(--s4);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.about-stat-num {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.about-stat-num .accent { color: var(--accent); }
.about-stat-label { font-size: 11px; color: var(--text-muted); font-family: var(--mono); letter-spacing: 0.04em; text-transform: uppercase; }
.about-visual-metrics {
  padding: var(--s4);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--s4);
  position: relative;
  z-index: 1;
}
.avm-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; }
.avm-label { font-size: 12px; color: var(--text-secondary); }
.avm-val { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--text-primary); }
.avm-val.up { color: var(--success); }
.avm-divider { height: 1px; background: var(--border); margin: var(--s2) 0; }
.about-sparkline-wrap { position: relative; z-index: 1; margin-bottom: var(--s5); }
.about-sparkline { width: 100%; height: 60px; }
.about-sparkline-label { font-family: var(--mono); font-size: 9px; color: var(--text-dim); text-align: center; margin-top: 4px; letter-spacing: 0.06em; }
.about-visual-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  position: relative;
  z-index: 1;
  margin-bottom: 4px;
}
.about-visual-sub { font-family: var(--mono); font-size: 9px; color: var(--text-dim); letter-spacing: 0.08em; position: relative; z-index: 1; margin-bottom: var(--s4); }
.about-trust-row {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.about-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 4px 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 4px;
}

/* ── 16. HOW IT WORKS ── */
#how-it-works { background: var(--bg-surface); }
.how-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s8);
  margin-bottom: var(--s8);
  flex-wrap: wrap;
}
.how-desc { font-size: 16px; color: var(--text-secondary); line-height: 1.7; max-width: 400px; }
.how-flow-bar {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s4) var(--s6);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--s8);
  overflow-x: auto;
  flex-wrap: wrap;
}
.how-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
.how-flow-step::before {
  content: attr(data-n);
  font-family: var(--mono);
  font-size: 8px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}
.how-flow-step span {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-transform: uppercase;
  transition: all var(--dur-fast) var(--ease-out);
}
.how-flow-step.active span {
  background: var(--accent-dim);
  border-color: var(--border-accent);
  color: var(--accent);
}
.how-flow-arrow { font-size: 16px; color: var(--text-dim); }
.how-flow-latency {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--success);
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s6);
  position: relative;
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-slow) var(--spring);
}
.step-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}
.step-number {
  position: absolute;
  top: var(--s4);
  right: var(--s4);
  font-family: var(--mono);
  font-size: 48px;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  letter-spacing: -0.04em;
  user-select: none;
}
.step-badge {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: var(--s4);
}
.step-icon {
  width: 40px; height: 40px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s4);
  color: var(--accent);
}
.step-title { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: var(--s2); }
.step-body  { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: var(--s4); }

/* Active step */
.step-card--active {
  background: linear-gradient(135deg, rgba(245,247,250,0.08) 0%, var(--bg-card) 100%);
  border-color: var(--border-accent);
}
.step-card--active:hover { box-shadow: var(--shadow-2), var(--shadow-glow); }
.step-active-label {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s2);
}
.step-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
.step-metrics { display: flex; gap: var(--s2); flex-wrap: wrap; }
.step-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-transform: uppercase;
}
.step-chip.active { background: var(--accent-dim); border-color: var(--border-accent); color: var(--accent); }
.step-chip-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.step-latency {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dim);
  margin-top: var(--s3);
}
.step-signal-demo {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s3);
  background: rgba(34,197,94,0.05);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius-sm);
  margin-bottom: var(--s4);
  flex-wrap: wrap;
}
.signal-buy { font-family: var(--mono); font-size: 10px; font-weight: 800; color: var(--success); }
.signal-ticker { font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--text-primary); }
.signal-conf { font-family: var(--mono); font-size: 9px; color: var(--text-muted); }

/* How CTA bar */
.how-cta-bar {
  display: flex;
  align-items: center;
  gap: var(--s8);
  padding: var(--s6) var(--s8);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-top: var(--s8);
  flex-wrap: wrap;
}
.how-cta-stat { text-align: center; }
.how-cta-val {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
}
.how-cta-label {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}
.how-cta-divider { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }
.how-cta-bar .btn { margin-left: auto; }

/* ── 17. PRODUCT PREVIEW ── */
#product-preview { background: var(--bg); }
.product-preview-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
  margin-bottom: var(--s8);
}
.product-card {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.product-card-screen {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  flex: 1;
  transition: transform var(--dur-base) var(--spring), box-shadow var(--dur-base) var(--ease-out);
}
.product-card-screen:hover { transform: translateY(-4px); box-shadow: var(--shadow-3), var(--shadow-glow); }
.pc-topbar {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s2) var(--s4);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.pc-dots { display: flex; gap: 5px; }
.pc-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-hover);
}
.pc-dots span:nth-child(1) { background: #FF5F57; }
.pc-dots span:nth-child(2) { background: #FEBC2E; }
.pc-dots span:nth-child(3) { background: #27C93F; }
.pc-title { font-family: var(--mono); font-size: 9px; color: var(--text-muted); letter-spacing: 0.06em; flex: 1; text-align: center; }
.pc-live {
  display: flex; align-items: center; gap: 4px;
  font-family: var(--mono); font-size: 8px; font-weight: 700;
  color: var(--success); letter-spacing: 0.08em;
}
.pc-body { padding: var(--s4); }
.pc-greeting { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
.pc-balance { font-family: var(--mono); font-size: 28px; font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; }
.pc-balance-num {}
.pc-balance-label { font-family: var(--mono); font-size: 9px; color: var(--text-dim); letter-spacing: 0.06em; margin-bottom: var(--s3); }
.pc-stats-row { display: flex; gap: var(--s3); margin-top: var(--s3); }
.pc-stat { flex: 1; }
.pc-stat-val { font-family: var(--mono); font-size: 13px; font-weight: 800; color: var(--text-primary); }
.pc-stat-lbl { font-family: var(--mono); font-size: 8px; color: var(--text-dim); letter-spacing: 0.06em; text-transform: uppercase; }

/* Signal items */
.pc-signal-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--border);
}
.pc-signal-item:last-child { border-bottom: none; }
.pc-sig-badge {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}
.pc-sig-badge.buy  { background: rgba(34,197,94,0.15); color: var(--success); border: 1px solid rgba(34,197,94,0.3); }
.pc-sig-badge.sell { background: rgba(239,68,68,0.15); color: var(--danger); border: 1px solid rgba(239,68,68,0.3); }
.pc-sig-ticker { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--text-primary); }
.pc-sig-sub    { font-family: var(--mono); font-size: 9px; color: var(--text-muted); margin-top: 2px; line-height: 1.4; }

/* Chat */
.pc-chat-name { font-size: 12px; font-weight: 700; color: var(--text-secondary); margin-bottom: var(--s3); }
.pc-chat-msgs { display: flex; flex-direction: column; gap: var(--s2); }
.pc-msg { font-size: 11px; line-height: 1.5; padding: var(--s2) var(--s3); border-radius: var(--radius-sm); max-width: 90%; }
.pc-msg.manager { background: var(--accent-dim); color: var(--text-primary); border: 1px solid var(--border-accent); }
.pc-msg.client  { background: rgba(255,255,255,0.04); color: var(--text-secondary); border: 1px solid var(--border); margin-left: auto; }
.product-card-label { font-size: 13px; color: var(--text-muted); text-align: center; font-family: var(--mono); letter-spacing: 0.02em; }

/* ── 18. CALCULATOR ── */
#calculator.yield-calculator {
  scroll-margin-top: calc(var(--header-h) + 24px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10,14,26,0) 0%, rgba(18,22,42,0.72) 48%, rgba(10,14,26,0) 100%),
    var(--bg);
}
.yield-calc-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(245,247,250,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,247,250,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}
.calc-section-head {
  max-width: 680px;
  margin: 0 auto var(--s8);
  text-align: center;
  position: relative;
  z-index: 1;
}
.calc-kicker { justify-content: center; }
.calc-section-head .section-desc {
  max-width: 680px;
  margin: var(--s4) auto 0;
}
.calc-card {
  max-width: 680px;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(245,247,250,0.055), transparent 42%),
    linear-gradient(135deg, rgba(18,22,42,0.98), rgba(11,14,25,0.98));
  border: 1px solid rgba(184,194,214,0.22);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(0,0,0,0.46), inset 0 1px 0 rgba(255,255,255,0.06);
}
.calc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(245,247,250,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,247,250,0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.48;
}
.calc-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,247,250,0.54), transparent);
  opacity: 0.7;
}
.calc-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, rgba(184,194,214,0.05) 44%, transparent 72%);
  transform: translateX(-18%);
  animation: calcSheen 7s ease-in-out infinite;
}
.calc-terminal-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding-bottom: var(--s3);
  margin-bottom: var(--s4);
  border-bottom: 1px solid rgba(184,194,214,0.12);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text-muted);
  text-transform: uppercase;
}
.calc-terminal-row i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: 7px;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(45,212,191,0.09);
  animation: calcStatusPulse 2.6s ease-in-out infinite;
  vertical-align: middle;
}
.calc-rate-banner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--s2) var(--s4);
  padding: var(--s4) var(--s5);
  margin-bottom: var(--s4);
  border: 1px solid rgba(184,194,214,0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(184,194,214,0.09), rgba(45,212,191,0.045));
}
.calc-rate-banner span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.calc-rate-banner strong {
  font-family: var(--mono);
  font-size: 22px;
  line-height: 1;
  color: var(--text-primary);
  text-align: right;
}
.calc-rate-banner small {
  grid-column: 1 / -1;
  color: var(--text-secondary);
  font-size: 12px;
}
.calc-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s4);
  position: relative;
  z-index: 1;
  margin-bottom: var(--s3);
}
.calc-col {
  min-width: 0;
  padding: var(--s4) var(--s5);
  border: 1px solid rgba(184,194,214,0.13);
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
}
.calc-col-outcome {
  text-align: right;
  background: linear-gradient(180deg, rgba(45,212,191,0.075), rgba(255,255,255,0.025));
}
.calc-col-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: var(--s2);
}
.calc-value {
  font-family: var(--mono);
  font-size: 34px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--text-primary);
  white-space: nowrap;
}
.calc-value.positive,
.calc-positive { color: var(--success); }
.calc-profit-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: var(--s3);
  padding: var(--s4) var(--s5);
  margin-bottom: var(--s4);
  border: 1px solid rgba(45,212,191,0.2);
  border-radius: 14px;
  background: rgba(45,212,191,0.075);
}
.calc-profit-strip span {
  color: var(--text-secondary);
  font-size: 14px;
}
.calc-profit-strip strong {
  font-family: var(--mono);
  font-size: 24px;
  line-height: 1;
  color: var(--success);
}
.calc-profit-strip small {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--text-primary);
  padding: 6px 8px;
  border: 1px solid rgba(184,194,214,0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
}
.calc-mini-chart {
  position: relative;
  z-index: 1;
  height: 118px;
  margin-bottom: var(--s6);
  border: 1px solid rgba(184,194,214,0.12);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
}
.calc-chart-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,247,250,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,247,250,0.04) 1px, transparent 1px);
  background-size: 100% 33.33%, 20% 100%;
}
.calc-chart-line {
  position: absolute;
  left: 11%;
  right: 18%;
  top: 62%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(184,194,214,0.62), rgba(45,212,191,0.92));
  transform: rotate(-4deg);
  transform-origin: left center;
  box-shadow: 0 0 18px rgba(45,212,191,0.15);
  animation: calcLineBreathe 3.8s ease-in-out infinite;
}
.calc-chart-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--success);
  border: 2px solid rgba(18,22,42,0.96);
  box-shadow: 0 0 0 7px rgba(45,212,191,0.08);
}
.calc-chart-dot-start { left: 10%; top: 61%; background: var(--accent-bright); box-shadow: 0 0 0 7px rgba(184,194,214,0.08); }
.calc-chart-dot-end { right: 17%; top: 36%; }
.calc-chart-caption {
  position: absolute;
  left: var(--s5);
  right: var(--s5);
  bottom: var(--s3);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-muted);
}
.calc-slider-wrap {
  position: relative;
  z-index: 1;
  margin-bottom: var(--s5);
}
input[type="range"]#opp-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, rgba(45,212,191,0.9) 0%, rgba(45,212,191,0.9) var(--slider-pct,4%), rgba(184,194,214,0.12) var(--slider-pct,4%), rgba(184,194,214,0.12) 100%);
  border: 1px solid rgba(184,194,214,0.14);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}
input[type="range"]#opp-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(180deg, #D9E1EE, #7F8EA4);
  border: 3px solid #101425;
  box-shadow: 0 0 0 1px rgba(245,247,250,0.34), 0 8px 22px rgba(0,0,0,0.45);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--spring), box-shadow var(--dur-fast) var(--spring);
}
input[type="range"]#opp-slider::-webkit-slider-thumb:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 1px rgba(245,247,250,0.5), 0 10px 28px rgba(45,212,191,0.16);
}
input[type="range"]#opp-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(180deg, #D9E1EE, #7F8EA4);
  border: 3px solid #101425;
  box-shadow: 0 0 0 1px rgba(245,247,250,0.34), 0 8px 22px rgba(0,0,0,0.45);
  cursor: pointer;
}
input[type="range"]#opp-slider:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(100,116,139,0.36);
}
.calc-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}
.calc-range-labels span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-muted);
}
.calc-result-box {
  position: relative;
  z-index: 1;
  padding: var(--s4) var(--s5);
  margin-bottom: var(--s5);
  border: 1px solid rgba(45,212,191,0.2);
  border-radius: 14px;
  background: rgba(45,212,191,0.065);
}
.calc-reinvest-panel {
  position: relative;
  z-index: 1;
  padding: var(--s5);
  margin-bottom: var(--s4);
  border: 1px solid rgba(184,194,214,0.14);
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
  overflow: hidden;
}
.calc-reinvest-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(245,247,250,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,247,250,0.022) 1px, transparent 1px);
  background-size: 32px 32px;
}
.calc-reinvest-head,
.calc-reinvest-track,
.calc-reinvest-summary {
  position: relative;
  z-index: 1;
}
.calc-reinvest-head {
  display: flex;
  justify-content: space-between;
  gap: var(--s4);
  align-items: flex-start;
  margin-bottom: var(--s5);
}
.calc-reinvest-head span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.calc-reinvest-head strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  color: var(--text-primary);
}
.calc-reinvest-head small {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--success);
  border: 1px solid rgba(45,212,191,0.18);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(45,212,191,0.06);
}
.calc-reinvest-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s3);
  margin-bottom: var(--s5);
}
.calc-reinvest-line {
  position: absolute;
  left: calc(16.66% + 8px);
  right: calc(16.66% + 8px);
  top: 14px;
  height: 2px;
  background: linear-gradient(90deg, rgba(184,194,214,0.24), rgba(45,212,191,0.68));
}
.calc-reinvest-point {
  min-width: 0;
  padding-top: 32px;
  text-align: center;
  position: relative;
}
.calc-reinvest-point i {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--success);
  border: 3px solid #111629;
  box-shadow: 0 0 0 8px rgba(45,212,191,0.07);
}
.calc-reinvest-point span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.calc-reinvest-point strong {
  display: block;
  font-family: var(--mono);
  font-size: 17px;
  color: var(--text-primary);
}
.calc-reinvest-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s3);
}
.calc-reinvest-summary div {
  min-width: 0;
  padding: var(--s3);
  border: 1px solid rgba(184,194,214,0.1);
  border-radius: 12px;
  background: rgba(10,14,26,0.35);
}
.calc-reinvest-summary span {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.calc-reinvest-summary strong {
  display: block;
  font-family: var(--mono);
  font-size: 17px;
  color: var(--success);
}
.calc-result-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.calc-result-text strong { color: var(--text-primary); }
.calc-result-text .calc-positive { color: var(--success); }
.calc-breakdown {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s3);
  margin-bottom: var(--s6);
}
.calc-breakdown-item {
  min-width: 0;
  padding: var(--s4);
  text-align: center;
  border: 1px solid rgba(184,194,214,0.11);
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
}
.calc-breakdown-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.calc-breakdown-val {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 900;
  color: var(--text-primary);
}
.calc-cta {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  text-align: center;
}
.calc-note {
  position: relative;
  z-index: 1;
  margin-top: var(--s3);
  color: var(--text-muted);
  font-size: 11px;
  text-align: center;
}
@keyframes calcSheen {
  0%, 52%, 100% { transform: translateX(-22%); opacity: 0; }
  12%, 34% { opacity: 1; }
  44% { transform: translateX(22%); opacity: 0; }
}
@keyframes calcStatusPulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(45,212,191,0.09); opacity: 0.9; }
  50% { box-shadow: 0 0 0 8px rgba(45,212,191,0.03); opacity: 1; }
}
@keyframes calcLineBreathe {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

/* ── 19. LEAD CAPTURE ── */
.lcs {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: var(--s24) 0;
}
.lcs-canvas { position: absolute; inset: 0; z-index: 0; opacity: 0.15; pointer-events: none; }
.lcs-scan   { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-dim), transparent); animation: scan-bar 5s ease-in-out infinite; z-index: 1; pointer-events: none; }
.lcs-grid   { position: absolute; inset: 0; background-image: linear-gradient(rgba(245,247,250,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(245,247,250,0.02) 1px, transparent 1px); background-size: 48px 48px; z-index: 0; pointer-events: none; }
.lcs-glow   { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 500px; height: 500px; background: radial-gradient(ellipse, rgba(245,247,250,0.08) 0%, transparent 70%); z-index: 0; pointer-events: none; }
.lcs-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: var(--s16);
  align-items: start;
}
.lcs-copy {}
.lcs-checklist { display: flex; flex-direction: column; gap: var(--s3); margin-top: var(--s6); }
.lcs-check-item { display: flex; align-items: flex-start; gap: var(--s3); font-size: 15px; color: var(--text-secondary); }
.lcs-check-ico {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--success-dim);
  border: 1px solid rgba(34,197,94,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--success);
  margin-top: 2px;
}

/* Trust metrics */
.lcs-trust {
  display: flex;
  align-items: center;
  gap: var(--s8);
  padding: var(--s5) 0;
  border-top: 1px solid var(--border);
  margin-top: var(--s6);
  flex-wrap: wrap;
}
.lcs-trust-item { text-align: center; }
.lcs-trust-val {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}
.lcs-trust-label { font-family: var(--mono); font-size: 9px; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }
.lcs-trust-sep { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }
.lcs-badges { display: flex; gap: var(--s3); margin-top: var(--s5); flex-wrap: wrap; }
.lcs-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.lcs-badge--green { color: var(--success); border-color: rgba(34,197,94,0.25); background: var(--success-dim); }
.lcs-badge-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--success); animation: pulse-dot 2s ease-in-out infinite; }

/* Lead capture panel */
.lcs-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-3), var(--shadow-glow);
}
.lcs-panel-scan { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: scan-bar 4s ease-in-out infinite; z-index: 2; }
.lcs-panel-glow { position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%); pointer-events: none; z-index: 0; }
.lcs-panel-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s3) var(--s4);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  position: relative; z-index: 1;
}
.lcs-panel-title { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.12em; color: var(--text-muted); text-transform: uppercase; }
.lcs-hex-stream { font-family: var(--mono); font-size: 9px; color: var(--text-dim); height: 24px; overflow: hidden; padding: 0 var(--s5); margin: var(--s3) 0 0; letter-spacing: 0.06em; }
.lcs-panel-body { padding: var(--s5); position: relative; z-index: 1; }
.lcs-form-headline { margin-bottom: var(--s5); }
.lcs-form-title { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: var(--text-primary); margin-top: 4px; }
.lcs-form { display: flex; flex-direction: column; gap: var(--s4); }

/* ── 20. FOOTER ── */
#footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: var(--s16) 0 var(--s8);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s12);
  margin-bottom: var(--s12);
}
.footer-logo { font-size: 20px; font-weight: 800; letter-spacing: -0.04em; margin-bottom: var(--s3); }
.footer-logo .dot { color: var(--accent); }
.footer-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
/* Footer app buttons */
.footer-apps {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
  margin-top: var(--s6);
}
.footer-col-title {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s4);
}
.footer-links { display: flex; flex-direction: column; gap: var(--s3); }
.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-links a:hover { color: var(--text-primary); }

/* Footer bottom — BUG-3 FIX */
.footer-bottom {
  padding-top: var(--s6);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.footer-disclaimer { font-size: 11px; color: var(--text-muted); line-height: 1.7; max-width: 100%; opacity: 0.7; }
.footer-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s3);
}
.footer-copy p { font-size: 12px; color: var(--text-muted); }
/* BUG-3 FIX: footer links must wrap on mobile */
.footer-copy-links {
  display: flex;
  gap: var(--s4);
  flex-wrap: wrap;
  align-items: center;
}
.footer-copy-links a {
  font-size: 12px;
  color: var(--text-dim);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-copy-links a:hover { color: var(--text-primary); }

/* ── Footer: brand row + 3-column legal grid (D-E / LGL-01..04) ── */
.footer-brand-row {
  padding-bottom: var(--s10);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s10);
}
.footer-brand-row .footer-logo { font-size: 20px; font-weight: 800; letter-spacing: -0.04em; margin-bottom: var(--s3); }
.footer-brand-row .footer-logo .dot { color: var(--accent); }
.footer-brand-row .footer-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; max-width: 520px; margin-bottom: var(--s4); }
.footer-brand-row .footer-apps {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: stretch;
  margin-top: var(--s5);
}

.footer-app-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: 260px;
  min-height: 78px;
  padding: 16px 20px;
  border-radius: 14px;
  color: var(--text-primary);
  text-decoration: none;
  border: 1px solid rgba(184, 194, 214, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.026)),
    rgba(14, 18, 34, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition:
    transform var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.footer-app-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 22% 24%, rgba(45, 212, 191, 0.16), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045), transparent 58%);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.footer-app-btn:hover,
.footer-app-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(184, 194, 214, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.034)),
    rgba(17, 22, 39, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 44px rgba(0, 0, 0, 0.22);
  outline: none;
}

.footer-app-btn:hover::before,
.footer-app-btn:focus-visible::before {
  opacity: 1;
}

.footer-app-btn__icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #f4f7fb;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(7, 11, 22, 0.5);
  border: 1px solid rgba(184, 194, 214, 0.14);
}

.footer-app-btn__icon svg {
  width: 25px;
  height: 25px;
  display: block;
}

.footer-app-btn--google .footer-app-btn__icon svg {
  width: 28px;
  height: 28px;
}

.footer-app-btn__copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.app-btn-label {
  font-size: 10px;
  color: rgba(160, 168, 196, 0.82);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.app-btn-store {
  font-size: 18px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* 3-column legal grid */
.footer-legal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.5fr;
  gap: var(--s10);
  margin-bottom: var(--s10);
}
.footer-legal-col {}
.footer-legal-col--entity .footer-entity-name {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: var(--s3);
  line-height: 1.5;
}
.footer-entity-detail {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
  line-height: 1.5;
}
.footer-entity-detail--label {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-top: var(--s3);
  margin-bottom: 2px;
}

/* LGL-01 + LGL-02 — prominent risk disclaimer column */
.footer-risk-stmt {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: var(--s4);
  padding-left: var(--s4);
  border-left: 2px solid var(--accent);
}
.footer-advice-stmt {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: var(--s4);
  border-left: 2px solid var(--border-light);
}

/* Tablet: 2-column legal grid */
@media (max-width: 900px) {
  .footer-legal-grid { grid-template-columns: 1fr 1fr; }
  .footer-legal-col--disclaimers { grid-column: 1 / -1; }
}
/* Mobile: single column */
@media (max-width: 600px) {
  .footer-legal-grid { grid-template-columns: 1fr; gap: var(--s8); }
  .footer-legal-col--disclaimers { grid-column: auto; }
}

/* ── 21. MODALS ── */
.amodal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}
.amodal:not([style*="none"]) { display: flex; }
.amodal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.amodal-box {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 92%;
  max-width: 440px;
  max-height: 90dvh;
  overflow-y: auto;
  box-shadow: var(--shadow-3), var(--shadow-glow);
  animation: modalPop 0.35s var(--spring);
}
@keyframes modalPop {
  0%   { opacity: 0; transform: scale(0.94) translateY(16px); }
  100% { opacity: 1; transform: none; }
}
.amodal-close {
  position: absolute;
  top: var(--s3);
  right: var(--s3);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  z-index: 10;
  transition: all var(--dur-fast) var(--ease-out);
}
.amodal-close:hover { background: rgba(255,255,255,0.12); color: var(--text-primary); }
.amodal-close:active { transform: scale(0.95); }
.amodal-scan { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: scan-bar 4s ease-in-out infinite; z-index: 2; }
.amodal-glow { position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%); pointer-events: none; }
.amodal-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s3) var(--s4);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.amodal-dots { display: flex; gap: 6px; }
.amodal-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-hover); }
.amodal-dot--r { background: #FF5F57; }
.amodal-dot--y { background: #FEBC2E; }
.amodal-dot--g { background: #27C93F; }
.amodal-hdr-title { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.12em; color: var(--text-muted); text-transform: uppercase; }
.amodal-hdr-badge { font-family: var(--mono); font-size: 9px; color: var(--success); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.amodal-hex { font-family: var(--mono); font-size: 9px; color: var(--text-dim); height: 24px; overflow: hidden; padding: 0 var(--s5); margin: var(--s3) 0 0; letter-spacing: 0.06em; }
.amodal-enc-row { padding: 0 var(--s5) var(--s2); }
.amodal-enc-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: var(--s2) var(--s3);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.amodal-body { padding: 0 var(--s5) var(--s5); }
.amodal-subtitle { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: var(--accent); text-transform: uppercase; margin-bottom: 4px; }
.amodal-title { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: var(--s5); }
.amodal-field { margin-bottom: var(--s4); }
.amodal-label { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.12em; color: var(--text-muted); text-transform: uppercase; display: block; margin-bottom: 6px; }
.amodal-input-wrap { display: flex; align-items: center; gap: var(--s2); border-bottom: 1px solid var(--border); padding-bottom: 6px; transition: border-color var(--dur-fast) var(--ease-out); }
.amodal-input-wrap:focus-within { border-bottom-color: var(--accent); }
.amodal-input-ico { color: var(--text-dim); flex-shrink: 0; }
.amodal-input { flex: 1; font-size: 14px; color: var(--text-primary); background: none; border: none; outline: none; padding: var(--s2) 0; caret-color: var(--accent); }
.amodal-input::placeholder { color: var(--text-dim); }
.amodal-field.field-error .amodal-input-wrap { border-bottom-color: var(--danger); }
.amodal-field.field-error .amodal-label { color: var(--danger); }
.amodal-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 14px var(--s6);
  margin-top: var(--s5);
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: all var(--dur-base) var(--spring);
}
.amodal-submit:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-btn-hover); }
.amodal-submit:active { transform: scale(0.98); }
.amodal-submit:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-glow); }
.amodal-legal { font-size: 11px; color: var(--text-dim); line-height: 1.6; margin-top: var(--s3); }
.amodal-legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.amodal-success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s3); padding: var(--s10) var(--s6); }
.amodal-success-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--success-dim); border: 1px solid rgba(34,197,94,0.3); display: flex; align-items: center; justify-content: center; color: var(--success); }
.amodal-success-title { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.amodal-success-text  { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ── 22. RESPONSIVE — 1024px ── */
@media (max-width: 1024px) {
  section { padding: var(--s16) 0; }
  /* Hero: single column, no panel, auto height */
  #hero { height: auto; min-height: 0; justify-content: flex-start; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--s5);
    padding: var(--s5) 0 var(--s8);
    overflow: visible;
    max-height: none;
  }
  .hero-panel { display: none !important; }  /* panel hidden — mobile form takes over */
  .hero-mobile-form { display: block; }
  /* Prevent hero text content from getting too tall */
  .hero-stats { display: none; }  /* moved below hero; shown via mobile form section */
  .hero-apps  { display: none; }
  .hero-desc  { font-size: 15px; margin-bottom: var(--s5); }
  .tech-layout { grid-template-columns: 1fr; gap: var(--s10); }
  .tech-left { position: static; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .product-preview-track { grid-template-columns: repeat(2, 1fr); }
  .lcs-inner { grid-template-columns: 1fr; }
  .lcs-panel { max-width: 560px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .how-cta-bar { flex-wrap: wrap; justify-content: center; }
  .how-cta-bar .btn { width: 100%; text-align: center; }
  .dashboard-terminal { grid-template-columns: 1fr; }
}


/* ── 23. RESPONSIVE — 768px ── */
@media (max-width: 768px) {
  :root { --s24: 64px; }
  .container { padding: 0 var(--s5); }
  section { padding: var(--s12) 0; }

  /* BUG-5 FIX: hide CTA from header on mobile */
  .header-cta .btn-sm { display: none; }
  .nav-desktop { display: none; }
  .hamburger { display: flex; }

  /* BUG-1 FIX: hero title must clear fixed header */
  #hero { height: auto; min-height: 0; justify-content: flex-start; }
  .hero-grid { padding: var(--s4) 0 var(--s8); overflow: visible; max-height: none; }
  .hero-title { font-size: clamp(28px, 7.5vw, 44px); }
  .hero-desc { font-size: 14px; }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: var(--s5); }

  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .product-preview-track { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  .feature-card:first-child { grid-column: auto; }
  .timeline { grid-template-columns: 1fr; }
  .calc-card { padding: var(--s6); }
  .calc-header { grid-template-columns: 1fr; }
  .calc-col-outcome { text-align: left; }
  .calc-value { font-size: 32px; }
  .calc-mini-chart { height: 104px; }
  .calc-rate-banner { grid-template-columns: 1fr; }
  .calc-rate-banner strong { text-align: left; }
  .calc-reinvest-head { flex-direction: column; gap: var(--s3); }
  .footer-top { grid-template-columns: 1fr; }
  .dashboard-header { flex-direction: column; }
  .profit-counter-wrap { text-align: left; }
  .clients-header { flex-direction: column; }
  .about-stat-row { grid-template-columns: 1fr 1fr; }
}

/* ── 24. RESPONSIVE — 480px ── */
@media (max-width: 480px) {
  :root { --s24: 48px; }
  .container { padding: 0 var(--s4); }

  .header-inner { gap: var(--s3); }
  .lang-btn { padding: 5px 8px; }

  .hero-title { font-size: clamp(28px, 9vw, 40px); }
  .hero-stats { grid-template-columns: 1fr 1fr; display: grid; gap: var(--s4); }
  .hero-apps { flex-direction: column; }
  .hero-apps .app-btn { width: 100%; }

  .clients-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hpf-metrics-row { grid-template-columns: repeat(2, 1fr); }

  .cause-chain { flex-wrap: wrap; gap: var(--s2); }
  .cause-node { flex: 1 1 calc(50% - var(--s2)); max-width: none; }
  .cause-arrow { display: none; }

  .how-cta-bar { padding: var(--s4); gap: var(--s4); }
  .how-cta-divider { display: none; }

  .footer-copy { flex-direction: column; align-items: flex-start; }
  /* BUG-3 FIX: footer-copy-links wrap */
  .footer-copy-links { flex-wrap: wrap; gap: var(--s3); }

  .section-title { font-size: clamp(24px, 7vw, 36px); }
  .lcs-trust { gap: var(--s4); }
  .lcs-trust-sep { display: none; }
  .calc-profit-strip { grid-template-columns: 1fr; align-items: start; }
  .calc-breakdown { grid-template-columns: 1fr; }
  .calc-reinvest-summary { grid-template-columns: 1fr; }
  .calc-reinvest-panel { padding: var(--s4); }
  .calc-reinvest-point strong { font-size: 14px; }

  /* BUG-1 FIX: ensure mobile menu backdrop works */
  #mobile-menu { z-index: 999; }
}

/* ── 25. UTILITY CLASSES ── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.hover-glow { transition: all var(--dur-base) var(--spring); }
.hover-glow:hover {
  box-shadow: 0 0 20px var(--accent-glow);
  border-color: var(--border-accent);
}

/* ── 26. SECTION KICKER COLOR OVERRIDES ── */
/* Some sections use color:var(--accent-bright) inline — normalize them */
[style*="color:var(--accent-bright)"] { color: var(--accent) !important; }
[style*="color:#374151"] { color: var(--text-muted) !important; }
[style*="color:#4b5563"] { color: var(--text-dim) !important; }
[style*="color:#6b7280"] { color: var(--text-secondary) !important; }
[style*="color:#1e2536"] { color: var(--text-dim) !important; }
[style*="color:#1f2d44"] { color: var(--text-dim) !important; }

/* SVG chart strokes — override inline */
#chart-path,
#chart-path-glow { stroke: url(#chart-line-gradient) !important; }
#chart-dot   { fill: var(--success) !important; }
#chart-dot-ring { stroke: var(--success) !important; }
#chart-area  { fill: url(#area-gradient) !important; }

/* Grid lines — keep the live chart crisp without the old flat-gray override. */
#grid-lines .chart-grid-line { stroke: rgba(184,194,214,0.115) !important; }
#grid-lines .chart-grid-line.vertical { stroke: rgba(184,194,214,0.065) !important; }

/* About bg decoding text (BUG-8) */
#about-bg-text {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.035);
  overflow: hidden;
  word-break: break-all;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

/* Chart gradient — update stop colors to accent */
#area-gradient stop:first-child { stop-color: rgb(245,247,250); }
#area-gradient stop:last-child  { stop-color: rgb(245,247,250); }

/* Spark gradient */
#spark-grad stop:first-child { stop-color: var(--accent); stop-opacity: 0.3; }
#spark-grad stop:last-child  { stop-color: var(--accent); stop-opacity: 0; }
#spark-line { stroke: var(--accent) !important; }

/* ── 27. SCROLL LOCK (when modal open) ── */
body.modal-open { overflow: hidden; }

/* ── 28. FOCUS MANAGEMENT ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}
button:focus-visible, a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-glow);
  border-radius: var(--radius-sm);
}

/* ── 29. LOADING STATES ── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--bg-card) 50%, var(--bg-elevated) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── 30. PRINT ── */
@media print {
  #header, #footer, .ticker-wrap, #mobile-menu, .amodal { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ═══════════════════════════════════════════════════════════
   31. FAQ ACCORDION
   ═══════════════════════════════════════════════════════════ */
#faq.faq-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(92px, 8vw, 136px) 0;
  background:
    radial-gradient(960px 520px at 50% 0%, rgba(100,116,139,0.14), transparent 62%),
    radial-gradient(740px 420px at 90% 78%, rgba(45,212,191,0.045), transparent 62%),
    linear-gradient(180deg, rgba(8,12,23,0.2), rgba(18,22,42,0.62) 52%, rgba(8,12,23,0.08)),
    var(--bg);
  border-top: 1px solid rgba(184,194,214,0.08);
  border-bottom: 1px solid rgba(184,194,214,0.08);
}

.faq-bg-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(245,247,250,0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,247,250,0.026) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
}

#faq.faq-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 38%;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,194,214,0.16), transparent);
}

.faq-head {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto clamp(34px, 4vw, 52px);
  text-align: center;
}

#faq .section-kicker {
  justify-content: center;
  color: var(--accent-bright);
  opacity: 0.72;
  text-shadow: 0 0 20px rgba(184,194,214,0.14);
}

#faq .section-title {
  max-width: 760px;
  margin: var(--s5) auto var(--s3);
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

#faq .section-desc {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  color: #aab2c8;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.62;
}

.faq-panel {
  position: relative;
  z-index: 1;
  max-width: 1136px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(184,194,214,0.16);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(245,247,250,0.05), transparent 42%),
    linear-gradient(135deg, rgba(18,23,42,0.98), rgba(10,14,26,0.98));
  box-shadow:
    0 28px 90px rgba(0,0,0,0.38),
    inset 0 1px 0 rgba(255,255,255,0.055);
}

.faq-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(245,247,250,0.023) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,247,250,0.023) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.55;
}

.faq-panel::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,247,250,0.52), rgba(45,212,191,0.42), transparent);
  opacity: 0.72;
}

.faq-panel-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
  padding: 18px 22px;
  border-bottom: 1px solid rgba(184,194,214,0.12);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.faq-panel-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.faq-panel-status span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(184,194,214,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.025);
}

.faq-panel-status i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(45,212,191,0.08);
}

.faq-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: rgba(184,194,214,0.095);
  counter-reset: faq-item;
}

.faq-item {
  position: relative;
  counter-increment: faq-item;
  background:
    radial-gradient(560px 210px at 0% 0%, rgba(184,194,214,0.07), transparent 68%),
    linear-gradient(180deg, rgba(17,22,41,0.98), rgba(11,15,29,0.98));
  border: 0;
  border-radius: 0;
  overflow: hidden;
  min-height: 112px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
  transition:
    background 0.28s var(--ease-out),
    box-shadow 0.28s var(--ease-out);
}

.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(184,194,214,0.0), rgba(45,212,191,0.88), rgba(184,194,214,0.0));
  opacity: 0;
  transition: opacity 0.28s var(--ease-out);
}

.faq-item[open] {
  background:
    radial-gradient(660px 260px at 0% 0%, rgba(45,212,191,0.075), transparent 68%),
    linear-gradient(180deg, rgba(21,27,49,0.98), rgba(11,15,29,0.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    inset 0 0 0 1px rgba(45,212,191,0.08);
}

.faq-item[open]::before,
.faq-item:hover::before {
  opacity: 1;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 112px;
  padding: 24px 26px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.28;
  font-weight: 760;
  color: var(--text-primary);
  list-style: none;
  user-select: none;
  transition: color 0.22s var(--ease-out);
}
.faq-question::before {
  content: counter(faq-item, decimal-leading-zero);
  width: 34px;
  flex: 0 0 34px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(184,194,214,0.54);
}

.faq-question span {
  min-width: 0;
  flex: 1 1 auto;
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; content: ''; }
.faq-question:hover { color: #ffffff; }

.faq-chevron {
  flex-shrink: 0;
  color: rgba(184,194,214,0.68);
  transform-origin: center;
  transition: transform 0.35s var(--spring), color 0.22s var(--ease-out);
}

.faq-item[open] .faq-chevron {
  color: var(--success);
  transform: rotate(180deg);
}

.faq-answer {
  max-width: none;
  margin: -12px 26px 24px 78px;
  padding-top: 18px;
  border-top: 1px solid rgba(184,194,214,0.10);
  font-size: 14px;
  line-height: 1.72;
  color: #b8c2d6;
  animation: faqSlideIn 0.3s var(--spring);
}

@media (max-width: 980px) {
  .faq-list {
    grid-template-columns: 1fr;
  }

  .faq-panel {
    max-width: 760px;
  }

  .faq-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  #faq.faq-section {
    padding: 76px 0 84px;
  }

  #faq .section-title {
    font-size: clamp(36px, 11vw, 48px);
  }

  .faq-panel {
    border-radius: 18px;
  }

  .faq-panel-head {
    padding: 16px;
  }

  .faq-panel-status {
    gap: 6px;
  }

  .faq-panel-status span {
    min-height: 26px;
    padding: 5px 8px;
    font-size: 9px;
  }

  .faq-item {
    min-height: auto;
  }

  .faq-question {
    align-items: flex-start;
    gap: 12px;
    min-height: auto;
    padding: 20px 18px;
    font-size: 15px;
    line-height: 1.35;
  }

  .faq-question::before {
    width: 26px;
    flex-basis: 26px;
    padding-top: 2px;
    font-size: 10px;
  }

  .faq-chevron {
    width: 18px;
    height: 18px;
    margin-top: 1px;
  }

  .faq-answer {
    margin: -6px 18px 20px 56px;
    padding-top: 14px;
    font-size: 14px;
    line-height: 1.68;
  }
}
@keyframes faqSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   32. STICKY MOBILE CTA
   ═══════════════════════════════════════════════════════════ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: var(--s3) var(--s4);
  background: linear-gradient(to top, var(--bg) 60%, transparent);
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.4s var(--spring);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .btn {
  pointer-events: all;
  width: 100%;
  text-align: center;
  font-size: 15px;
  padding: 14px 24px;
}
@media (max-width: 768px) {
  .sticky-cta { display: block; }
}

/* ═══════════════════════════════════════════════════════════
   33. SOCIAL PROOF TOAST
   ═══════════════════════════════════════════════════════════ */
.social-proof-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 800;
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s5);
  background: rgba(18,22,42,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2);
  font-size: 13px;
  color: var(--text-secondary);
  transform: translateX(-120%);
  opacity: 0;
  transition: transform 0.5s var(--spring), opacity 0.5s var(--ease-out);
}
.social-proof-toast.visible {
  transform: translateX(0);
  opacity: 1;
}
.social-proof-toast .toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.social-proof-toast .toast-icon svg { color: var(--accent); }
.social-proof-toast .toast-name { font-weight: 600; color: var(--text-primary); }
.social-proof-toast .toast-time { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
@media (max-width: 768px) {
  .social-proof-toast {
    bottom: 80px; /* above sticky CTA */
    left: 12px;
    right: 12px;
    font-size: 12px;
  }
}

/* ── INSTALL MODAL (BEM) — moved from index.html inline styles (DSN-04 / DSN-05) ── */

@keyframes modalPop {
  0%   { opacity: 0; transform: scale(0.94) translateY(16px); }
  100% { opacity: 1; transform: scale(1)    translateY(0); }
}

/* Root overlay — hidden by default; JS adds .install-modal--open to show */
.install-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  background: var(--theme-overlay);
  backdrop-filter: var(--theme-overlay-blur);
  -webkit-backdrop-filter: var(--theme-overlay-blur);
}
.install-modal--open {
  display: flex;
}

/* Inner card */
.install-modal__card {
  background: var(--modal-bg);
  border: 1px solid var(--modal-border);
  border-radius: var(--modal-radius);
  width: 92%;
  max-width: 420px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--modal-shadow);
  animation: modalPop var(--motion-slow) var(--ease-out);
  max-height: 90vh;
  overflow-y: auto;
}

/* Header banner */
.install-modal__header {
  background: var(--modal-header-bg);
  padding: 22px 20px 18px;
  text-align: center;
  position: relative;
}

/* Close button (top-right X) */
.install-modal__close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* App icon (emoji) */
.install-modal__icon {
  font-size: 30px;
  margin-bottom: 8px;
}

/* Modal title */
.install-modal__title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

/* Modal subtitle */
.install-modal__subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* Tabs row */
.install-modal__tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--modal-bg);
}

/* Individual tab button — active state set via JS .style.* (intentional) */
.install-modal__tab {
  flex: 1;
  padding: 12px 0;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--motion-fast) var(--ease-out),
              border-color var(--motion-fast) var(--ease-out);
}

/* Content panel — hidden/shown by JS .style.display */
.install-modal__panel {
  padding: 20px;
  display: none; /* JS controls show/hide */
}

/* Screenshot placeholder box */
.install-modal__screenshot {
  background: #111;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.install-modal__screenshot img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
}

/* Steps list */
.install-modal__steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Single step row */
.install-modal__step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--modal-step-bg);
  border: 1px solid var(--modal-step-border);
  border-radius: var(--modal-step-radius);
}

/* Step number badge */
.install-modal__step-num {
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

/* Step text */
.install-modal__step-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

/* iOS profile install link */
.install-modal__profile-link {
  display: block;
  margin-top: 12px;
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(245,247,250, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--modal-step-radius);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: opacity var(--motion-fast) var(--ease-out);
}
.install-modal__profile-link:hover {
  opacity: 0.85;
}

/* Dismiss / close button (bottom of panel) */
.install-modal__dismiss-btn {
  margin-top: 16px;
  width: 100%;
  padding: 13px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--modal-step-radius);
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  cursor: pointer;
  transition: background var(--motion-fast) var(--ease-out);
}
.install-modal__dismiss-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Android section */
.install-modal__android-header {
  text-align: center;
  margin-bottom: 16px;
}
.install-modal__android-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}
.install-modal__android-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}
.install-modal__android-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), #1d4ed8);
  border: none;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity var(--motion-fast) var(--ease-out);
}
.install-modal__android-btn:hover {
  opacity: 0.9;
}
.install-modal__android-dismiss {
  margin-top: 10px;
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════
   PHASE 6 — HERO & MOBILE FOUNDATION
   MOB-01..10 + LND-01 + LND-11
   ═══════════════════════════════════════════════════════════ */

/* MOB-01: H1 fluid via design-token --text-hero (clamp already defined in tokens.css) */
.hero-title {
  font-size: var(--text-hero);
}

/* MOB-02: Hero height ≤ max(100svh, 640px) on mobile */
@media (max-width: 768px) {
  #hero {
    min-height: max(100svh, 640px);
    height: auto;
  }
}

/* MOB-03: safe-area-inset-bottom for sticky CTA */
.sticky-cta {
  padding-bottom: max(var(--space-3, 12px), env(safe-area-inset-bottom));
}

/* MOB-04: Minimum touch targets 44×44 CSS-px */
.btn {
  min-height: 44px;
}
.btn-sm {
  min-height: 44px;
}
.hamburger {
  min-height: 44px;
  min-width: 44px;
}
.lang-btn {
  min-height: 44px;
  min-width: 44px;
}
#mobile-menu a {
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* MOB-09: Zero horizontal scroll — belt-and-suspenders */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* MOB-07: WebGL fallback — CSS gradient when canvas unavailable */
.webgl-fallback #canvas-container {
  background: linear-gradient(135deg, var(--_navy-950, #060810) 0%, #0d1229 40%, #151a38 70%, #1a1f42 100%);
}
.webgl-fallback .hero-video-bg {
  opacity: 0.04;
}

/* MOB-10: Hamburger menu animation ≤ 250ms */
#mobile-menu {
  transition: transform 250ms var(--spring);
}

/* MOB-08: prefers-reduced-motion — handled in JS; CSS disables non-essential animations */
@media (prefers-reduced-motion: reduce) {
  .kicker-dot {
    animation: none;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.5);
  }
  #mobile-menu {
    transition: none;
  }
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .skeleton {
    animation: none;
    background: var(--bg-elevated);
  }
}
/* ── END INSTALL MODAL ── */

/* ============================================================
   PHASE 7: LEAD FORM ANTISPAM + GDPR (LED-08..10, LGL-07, LGL-08)
   ============================================================ */

/* D-I: Honeypot — absolutely off-screen, invisible to humans */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

/* LGL-07: GDPR consent label */
.lead-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 14px 0 10px;
    cursor: pointer;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    font-family: var(--mono, monospace);
    line-height: 1.5;
}

.lead-form__consent input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 2px;
    width: 14px;
    height: 14px;
    accent-color: var(--accent, #F5F7FA);
    cursor: pointer;
}

.lead-form__consent a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lead-form__consent a:hover {
    color: #fff;
}

/* LGL-08: AML/KYC notice */
.lead-form__legal {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--mono, monospace);
    line-height: 1.5;
    margin: 8px 0 0;
}

.lead-form__legal a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lead-form__legal a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* D-H: Error alert block */
.lead-form__error {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 4px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
    font-size: 11px;
    font-family: var(--mono, monospace);
    line-height: 1.5;
}

/* D-G: Success state transition */
.lead-form__success {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Disable transitions for reduced-motion users */
@media (prefers-reduced-motion: reduce) {
    .lead-form__success {
        transition: none;
    }
}

/* ── END PHASE 7 ── */

/* ═══════════════════════════════════════════════════════════
   PHASE 8 — Section Redesign & Content
   08-01: Design token refresh for How-It-Works + Technology
   08-02: Social Proof Stats section
   08-04: Cookie Consent Banner
   ═══════════════════════════════════════════════════════════ */

/* ── 08-01: How-It-Works token refinements ── */
#how-it-works .section-title {
  font-size: var(--text-h2);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--theme-fg);
}
#how-it-works .step-number {
  font-size: var(--text-h1);
  color: var(--theme-accent);
  line-height: 1;
  font-family: var(--mono);
  font-weight: 900;
  letter-spacing: var(--tracking-tight);
}
#how-it-works .step-title {
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--theme-fg);
  line-height: var(--leading-snug);
}
#how-it-works .step-body {
  font-size: var(--text-body);
  color: var(--theme-fg-muted);
  line-height: var(--leading-normal);
}
#how-it-works .step-card {
  padding: var(--space-8);
  gap: var(--space-4);
}
#how-it-works .how-desc {
  font-size: var(--text-body);
  color: var(--theme-fg-secondary);
  line-height: var(--leading-normal);
}

/* ── 08-01: Technology section token refinements ── */
#technology .section-title {
  font-size: var(--text-h2);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}
#technology .section-desc {
  font-size: var(--text-body);
  color: var(--theme-fg-secondary);
  line-height: var(--leading-normal);
}
#technology .feature-title {
  font-size: clamp(20px, 1.55vw, 26px);
  font-weight: 800;
  line-height: 1.16;
  color: var(--theme-fg);
}
#technology .feature-body {
  font-size: 15px;
  color: #aab2c8;
  line-height: 1.65;
}
#technology .timeline-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--theme-fg);
}
#technology .timeline-body {
  font-size: 13px;
  color: #9fa8c0;
  line-height: 1.62;
}
#technology .timeline-year {
  font-size: 12px;
  color: var(--accent-bright);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  font-weight: 800;
}

/* ── 08-01: Live Impact section token refinements ── */
#live-impact .dashboard-title {
  font-size: var(--text-h2);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

/* ── 08-02: Social Proof Stats Section ── */
#social-proof {
  padding: var(--space-12) 0;
  background: linear-gradient(180deg,
    var(--theme-surface) 0%,
    rgba(245,247,250, 0.04) 50%,
    var(--theme-surface) 100%);
  border-top: 1px solid var(--theme-border);
  border-bottom: 1px solid var(--theme-border);
}

.trust-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-16);
  flex-wrap: wrap;
  padding: 0 var(--space-6);
}

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
  position: relative;
}

.trust-stat + .trust-stat::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-8));
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background: var(--theme-border);
}

.trust-stat__value {
  font-family: var(--font-mono, var(--mono));
  font-size: var(--text-h2);
  font-weight: 900;
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  color: var(--theme-fg);
  /* Shimmer on PENDING values */
  word-break: break-word;
  max-width: 280px;
}

.trust-stat__value[data-pending="true"] {
  font-size: var(--text-caption);
  color: var(--theme-fg-muted);
  font-family: var(--font-mono, var(--mono));
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.trust-stat__label {
  font-family: var(--font-mono, var(--mono));
  font-size: var(--text-eyebrow);
  color: var(--theme-fg-muted);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .trust-stats {
    gap: var(--space-8);
    flex-direction: column;
  }
  .trust-stat + .trust-stat::before {
    display: none;
  }
}

/* ── 08-04: Cookie Consent Banner ── */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-toast, 2000);
  padding: var(--space-6) var(--space-8);
  padding-bottom: calc(var(--space-6) + env(safe-area-inset-bottom));
  background: var(--theme-surface, #0e1224);
  border-top: 1px solid var(--theme-border, rgba(255,255,255,0.08));
  box-shadow: 0 -4px 32px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent__text {
  flex: 1;
  min-width: 200px;
}

.cookie-consent__title {
  font-size: var(--text-caption);
  font-weight: 700;
  color: var(--theme-fg, #F5F5F7);
  margin-bottom: var(--space-1);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  font-family: var(--font-mono, var(--mono));
}

.cookie-consent__body {
  font-size: 12px;
  color: var(--theme-fg-muted, #6E7694);
  line-height: 1.5;
}

.cookie-consent__body a {
  color: var(--theme-accent, #64748B);
  text-decoration: none;
  border-bottom: 1px solid rgba(100,116,139,0.35);
}

.cookie-consent__body a:hover {
  border-bottom-color: var(--theme-accent, #64748B);
}

.cookie-consent__actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-consent__btn {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm, 8px);
  font-family: var(--font-mono, var(--mono));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 150ms ease, border-color 150ms ease;
  white-space: nowrap;
}

.cookie-consent__btn--accept {
  background: var(--theme-accent, #64748B);
  color: #fff;
  border-color: var(--theme-accent, #64748B);
}

.cookie-consent__btn--accept:hover {
  background: var(--theme-accent-hover, #566174);
  border-color: var(--theme-accent-hover, #566174);
}

.cookie-consent__btn--reject {
  background: transparent;
  color: var(--theme-fg-muted, #6E7694);
  border-color: var(--theme-border, rgba(255,255,255,0.08));
}

.cookie-consent__btn--reject:hover {
  color: var(--theme-fg, #F5F5F7);
  border-color: var(--theme-border-hover, rgba(255,255,255,0.16));
}

@media (max-width: 640px) {
  .cookie-consent {
    padding: var(--space-4);
    padding-bottom: calc(var(--space-4) + env(safe-area-inset-bottom));
    gap: var(--space-4);
  }
  .cookie-consent__actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* ── 08-05: News ticker graceful hide ── */
.ticker-wrap[data-failed="true"] {
  display: none;
}

/* ── END PHASE 8 ── */

/* ═══════════════════════════════════════════════════════════════════
   PHASE 10 — FAQ additions, Personal Manager Intro
   LND-07 / LND-08
   ═══════════════════════════════════════════════════════════════════ */

/* ── 10-02: Personal Manager Intro ── */

.manager-intro {
  padding: 80px 0;
  border-top: 1px solid var(--theme-border, rgba(255,255,255,0.08));
  border-bottom: 1px solid var(--theme-border, rgba(255,255,255,0.08));
  background: linear-gradient(180deg, rgba(245,247,250,0.03) 0%, transparent 100%);
}

.manager-intro__inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.manager-intro__photo {
  position: relative;
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--theme-border, rgba(255,255,255,0.08));
  background: var(--theme-surface, #0e1224);
}

.manager-intro__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.manager-intro__photo-pending {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 4px;
  background: rgba(0,0,0,0.75);
  font-family: var(--font-mono, var(--mono));
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-warning, #B8BDC7);
  text-align: center;
  line-height: 1.2;
}

.manager-intro__bio {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.manager-intro__eyebrow {
  font-family: var(--font-mono, var(--mono));
  font-size: var(--text-eyebrow, 0.75rem);
  font-weight: 700;
  letter-spacing: var(--tracking-widest, 0.1em);
  text-transform: uppercase;
  color: var(--theme-accent, #64748B);
}

.manager-intro__name {
  font-size: var(--text-h2, clamp(1.5rem, 1.25rem + 1.25vw, 2.5rem));
  font-weight: 800;
  color: var(--theme-fg, #f5f5f7);
  line-height: var(--leading-snug, 1.35);
  letter-spacing: var(--tracking-tight, -0.02em);
  margin: 0;
}

.manager-intro__title {
  font-size: var(--text-body, clamp(1rem, 0.95rem + 0.25vw, 1.125rem));
  color: var(--theme-fg-secondary, #a0a8c4);
  margin: 0;
}

.manager-intro__bio-text {
  font-size: var(--text-body, clamp(1rem, 0.95rem + 0.25vw, 1.125rem));
  color: var(--theme-fg-secondary, #a0a8c4);
  line-height: var(--leading-normal, 1.6);
  margin: 8px 0;
  padding: 12px 16px;
  border-left: 2px solid var(--theme-accent, #64748B);
  background: rgba(245,247,250,0.04);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.manager-intro__cta {
  margin: 8px 0 0;
}

.manager-intro__cta .btn {
  display: inline-flex;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .manager-intro__inner {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }

  .manager-intro__photo {
    width: 140px;
    height: 140px;
    align-self: center;
  }

  .manager-intro__bio {
    text-align: left;
  }
}

/* ── END PHASE 10 ── */

/* ── Codex repair: old visual system, cleaner blocks ── */
:root {
  color-scheme: dark;
  --theme-bg: var(--bg);
  --theme-surface: var(--bg-surface);
  --theme-surface-2: var(--bg-card);
  --theme-surface-3: var(--bg-elevated);
  --theme-surface-elevated: var(--bg-elevated);
  --theme-fg: var(--text-primary);
  --theme-fg-secondary: var(--text-secondary);
  --theme-fg-muted: var(--text-muted);
  --theme-fg-dim: var(--text-dim);
  --theme-border: var(--border);
  --theme-border-hover: var(--border-hover);
  --theme-border-accent: var(--border-accent);
  --theme-accent: var(--accent);
  --theme-accent-hover: var(--accent-hover);
  --theme-accent-dim: var(--accent-dim);
  --theme-accent-glow: var(--accent-glow);
}

#technology,
#live-impact,
#about,
#how-it-works,
#lead-capture {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.cf-turnstile[data-disabled="true"] {
  display: none !important;
}

.sticky-cta,
.social-proof-toast {
  display: none !important;
}

#social-proof {
  background:
    linear-gradient(180deg, var(--bg-surface) 0%, rgba(245,247,250,0.06) 50%, var(--bg-surface) 100%) !important;
  border-top: 1px solid var(--border) !important;
  border-bottom: 1px solid var(--border) !important;
}

#social-proof .trust-stat__value {
  color: var(--text-primary);
}

#social-proof .trust-stat__label {
  color: var(--text-muted);
}

#social-proof .trust-stat + .trust-stat::before {
  background: var(--border);
}

.hero-stats {
  opacity: 1 !important;
}

.hero-stats-disclaimer {
  max-width: 560px;
  color: var(--text-muted) !important;
}

.quota-explainer {
  background:
    linear-gradient(135deg, rgba(245,247,250,0.08), rgba(255,255,255,0.02)),
    var(--bg-card);
}

.quota-header,
.quota-body,
.quota-badge {
  position: relative;
  z-index: 1;
}

.quota-badge {
  flex-wrap: wrap;
  line-height: 1.5;
}

.about-visual {
  background:
    radial-gradient(circle at 80% 0%, rgba(245,247,250,0.16), transparent 32%),
    var(--bg-card);
}

.avm-row {
  gap: var(--s4);
}

.avm-val {
  text-align: right;
}

#how-it-works .step-title,
#technology .feature-title,
#technology .timeline-title {
  color: var(--text-primary);
}

#how-it-works .step-body,
#technology .feature-body,
#technology .timeline-body,
#how-it-works .how-desc {
  color: var(--text-secondary);
}

#how-it-works .step-number {
  color: rgba(245,247,250,0.18);
}

.lead-form__consent {
  color: rgba(255,255,255,0.74);
}

.lead-form__legal,
.hpf-note {
  color: rgba(255,255,255,0.58);
}

.hpf-input::placeholder,
.hero-mobile-input::placeholder {
  color: rgba(160,168,196,0.55);
}

.cookie-consent {
  max-width: min(1120px, calc(100vw - 32px));
  left: 50%;
  right: auto;
  bottom: 16px;
  transform: translateX(-50%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s4) var(--s5);
  background: rgba(14,18,36,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-3);
}

.cookie-consent__body {
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .cookie-consent {
    width: calc(100vw - 24px);
    bottom: 12px;
    padding: var(--s3);
    gap: var(--s3);
  }

  .cookie-consent__title {
    margin-bottom: 2px;
  }

  .cookie-consent__body {
    font-size: 11px;
    line-height: 1.45;
  }

  .cookie-consent__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s2);
  }

  .cookie-consent__btn {
    width: 100%;
    min-height: 38px;
  }

}

/* ── 2026-05-13 design repair: premium graphite QA pass ── */
.hero-title {
  font-size: clamp(40px, 4.4vw, 60px);
  line-height: 1;
  max-width: 760px;
}

.app-btn {
  min-width: 0;
  line-height: 1;
}

.app-btn svg {
  overflow: visible;
}

.app-btn-label,
.app-btn-label-top {
  white-space: nowrap;
}

.app-btn-store,
.app-btn-label-main {
  white-space: nowrap;
}

.lcs-scan,
.lcs-panel-scan {
  animation: none;
  transform: none;
}

.manager-intro__photo {
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(184,194,214,0.16), transparent 32%),
    linear-gradient(145deg, rgba(18,22,42,0.96), rgba(10,14,26,0.96));
  border: 1px solid rgba(184,194,214,0.18);
  box-shadow: var(--shadow-2);
}

.manager-intro__terminal {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.manager-intro__terminal::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(184,194,214,0.16);
  border-radius: 16px;
  background-image:
    linear-gradient(rgba(184,194,214,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,194,214,0.055) 1px, transparent 1px);
  background-size: 18px 18px;
}

.manager-intro__initials {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.08em;
  color: var(--text-primary);
}

.manager-intro__status-dot {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(45,212,191,0.08);
}

.manager-intro__gridline {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 54px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,194,214,0.42), transparent);
}

.manager-intro__photo-pending {
  background: rgba(7,10,18,0.78);
  color: var(--text-secondary);
}

.install-modal__screenshot {
  min-height: 148px;
  background:
    radial-gradient(circle at 50% 0%, rgba(184,194,214,0.14), transparent 42%),
    rgba(10,14,26,0.92);
  border: 1px solid rgba(184,194,214,0.14);
}

.install-modal__mock {
  width: 100%;
  min-height: 148px;
  display: grid;
  place-items: center;
  padding: 16px;
}

.install-modal__mock-phone {
  width: 132px;
  min-height: 124px;
  border-radius: 18px;
  border: 1px solid rgba(184,194,214,0.22);
  background: linear-gradient(180deg, rgba(18,22,42,0.96), rgba(10,14,26,0.98));
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.install-modal__mock-url,
.install-modal__mock-share,
.install-modal__mock-action,
.install-modal__mock-dock {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  border: 1px solid rgba(184,194,214,0.12);
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
}

.install-modal__mock-action,
.install-modal__mock-dock {
  color: var(--text-primary);
  border-color: rgba(184,194,214,0.24);
  background: rgba(184,194,214,0.10);
}

.install-modal__step-num {
  background: rgba(184,194,214,0.18);
  color: var(--text-primary);
  border: 1px solid rgba(184,194,214,0.22);
}

.install-modal__mock-desktop {
  width: min(240px, 100%);
  min-height: 124px;
  border-radius: 14px;
  border: 1px solid rgba(184,194,214,0.18);
  background: linear-gradient(180deg, rgba(18,22,42,0.98), rgba(10,14,26,0.96));
  padding: 12px;
}

.install-modal__mock-toolbar {
  display: flex;
  gap: 5px;
  margin-bottom: 28px;
}

.install-modal__mock-toolbar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(184,194,214,0.36);
}

@media (max-width: 1024px) {
  #hero {
    min-height: auto;
  }

  #hero .container {
    align-items: flex-start !important;
  }

  .hero-grid {
    gap: var(--s4);
  }

  .hero-title {
    font-size: clamp(36px, 6.2vw, 54px);
    max-width: 680px;
    margin-bottom: var(--s4);
  }

  .hero-desc {
    max-width: 680px;
    line-height: 1.6;
  }
}

@media (max-width: 768px) {
  .header-inner {
    gap: var(--s2);
  }

  .header-cta {
    gap: var(--s2);
  }

  .lang-switcher {
    padding: 2px;
  }

  .lang-btn {
    min-height: 34px;
    min-width: 34px;
    padding: 4px 8px;
    font-size: 10px;
  }

  .hamburger {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  #hero {
    min-height: auto;
    padding-bottom: var(--s6);
  }

  #hero .container {
    padding: 0 var(--s4);
  }

  .hero-grid {
    padding: var(--s4) 0 var(--s6);
  }

  .hero-kicker {
    margin-bottom: var(--s4);
    font-size: 9px;
    letter-spacing: 0.09em;
  }

  .hero-title {
    font-size: clamp(34px, 9.4vw, 42px);
    line-height: 1.04;
    letter-spacing: -0.035em;
  }

  .hero-desc {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: var(--s5);
  }

  .hero-actions {
    margin-bottom: var(--s4);
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-mobile-form {
    margin-top: var(--s4);
    padding: var(--s4);
    border-radius: var(--radius-md);
  }

  .hero-mobile-input {
    padding: 10px var(--s3);
    margin-bottom: var(--s2);
  }

  .lead-form__consent {
    font-size: 11px;
    line-height: 1.45;
  }

  .hero-mobile-submit {
    min-height: 44px;
    padding: 11px;
  }

  #social-proof .trust-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s2);
  }

  #social-proof .trust-stat {
    min-width: 0;
    padding: var(--s3);
  }

  #social-proof .trust-stat__value {
    font-size: 22px;
  }

  #social-proof .trust-stat__label {
    font-size: 8px;
    line-height: 1.35;
  }

  #technology,
  #how-it-works,
  #lead-capture {
    padding: var(--s12) 0;
  }

  #technology .feature-card,
  #how-it-works .step-card {
    padding: var(--s4);
    border-radius: var(--radius-md);
  }

  #technology .feature-body,
  #how-it-works .step-body {
    font-size: 14px;
    line-height: 1.55;
  }

  .feature-icon-wrap,
  .step-icon {
    width: 36px;
    height: 36px;
    margin-bottom: var(--s3);
  }

  .how-flow-bar {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: var(--s2);
    scrollbar-width: none;
  }

  .how-flow-bar::-webkit-scrollbar {
    display: none;
  }

  .how-flow-latency {
    margin-left: 0;
    flex: 0 0 auto;
  }

  .step-number {
    font-size: 34px;
  }

  .step-title {
    font-size: 17px;
  }

  .step-metrics {
    gap: var(--s2);
  }

  .dashboard-terminal {
    gap: var(--s3);
  }

  #live-impact {
    padding: var(--s10) 0;
    touch-action: pan-y;
  }

  #live-impact .dashboard-header {
    gap: var(--s4);
    margin-bottom: var(--s5);
  }

  #live-impact .dashboard-title {
    font-size: clamp(31px, 9vw, 40px);
    line-height: 1.06;
  }

  #live-impact .profit-label {
    font-size: 8px;
  }

  #live-impact .profit-value {
    font-size: clamp(34px, 11vw, 46px);
  }

  .news-panel,
  .trades-panel {
    overflow: visible;
  }

  .news-feed,
  .trades-feed {
    max-height: none;
    overflow: visible;
    -webkit-overflow-scrolling: auto;
  }

  #live-impact .news-feed .news-item:nth-child(n + 4),
  #live-impact .trades-feed .trade-card:nth-child(n + 4) {
    display: none !important;
  }

  #live-impact .news-panel,
  #live-impact .trades-panel {
    border-radius: 18px;
  }

  #live-impact .news-feed,
  #live-impact .trades-feed {
    flex: 0 0 auto;
    padding: 10px;
  }

  #live-impact .news-item,
  #live-impact .trade-card {
    margin-bottom: 10px;
  }

  #live-impact .news-item:nth-child(3),
  #live-impact .trade-card:nth-child(3) {
    margin-bottom: 0;
  }

  #live-impact .news-item {
    min-height: 76px;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
    padding: 9px;
  }

  #live-impact .news-thumb-frame {
    width: 52px;
    min-height: 52px;
    border-radius: 9px;
  }

  #live-impact .news-headline,
  #live-impact .news-headline-link {
    font-size: 12px;
    line-height: 1.32;
    -webkit-line-clamp: 2;
  }

  #live-impact .news-source-name,
  #live-impact .news-time {
    font-size: 8px;
  }

  #live-impact .news-impact {
    font-size: 9px;
  }

  #live-impact .trade-card {
    gap: 9px;
    padding: 11px;
    border-radius: 14px;
  }

  #live-impact .trade-header {
    align-items: flex-start;
  }

  #live-impact .trade-action-badge {
    min-width: 58px;
    padding: 4px 8px;
    font-size: 8px;
  }

  #live-impact .trade-ticker {
    font-size: 14px;
  }

  #live-impact .trade-company {
    max-width: 180px;
    font-size: 10px;
  }

  #live-impact .trade-time {
    display: none;
  }

  #live-impact .trades-pnl-bar {
    padding: 10px 12px;
  }

  #live-impact .trades-pnl-item {
    gap: 5px;
  }

  #live-impact .trades-pnl-label {
    font-size: 7px;
  }

  #live-impact .trades-pnl-val {
    font-size: 13px;
  }

  #live-impact .trade-logo,
  #live-impact .trade-logo-fallback {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  #live-impact .trade-news-snippet {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    font-size: 10px;
  }

  #live-impact .trade-conf {
    display: none;
  }

  #live-impact .chart-row,
  #live-impact .sources-bar {
    display: none;
  }

  .cause-chain {
    display: none;
  }

  .product-card-screen {
    min-height: 260px;
  }

  .pc-title,
  .pc-sig-sub,
  .pc-stat-lbl,
  .product-card-label {
    font-size: 11px;
  }

  .lcs-glow {
    width: 100%;
    height: 360px;
  }

  .lcs-scan,
  .lcs-panel-scan {
    animation: none;
    transform: none;
  }

  .lcs-panel-glow {
    display: none;
  }

  .lcs-panel-body {
    padding: var(--s4);
  }

  .manager-intro {
    padding: var(--s12) 0;
  }

  .manager-intro__photo {
    width: 132px;
    height: 132px;
  }

  .manager-intro__initials {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .tech-bg-grid {
    opacity: 0.28;
    background-size: 52px 52px, 52px 52px, 360px 360px;
  }

  .tech-left::before,
  .tech-left::after {
    display: none;
  }

  .feature-cards {
    gap: var(--s4);
  }

  #technology .feature-card {
    min-height: 0;
    padding: 20px;
    border-radius: 16px;
  }

  .feature-card--primary {
    grid-template-columns: 1fr;
    grid-template-areas:
      "num"
      "icon"
      "title"
      "body";
    align-items: start;
  }

  .feature-card--primary .feature-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    margin-bottom: var(--s4);
  }

  .feature-card--primary .feature-icon {
    width: 24px;
    height: 24px;
  }

  #technology .feature-title,
  #technology .feature-card--primary .feature-title {
    font-size: clamp(20px, 5.6vw, 24px);
  }

  .timeline {
    margin-top: var(--s8);
    padding-top: 0;
    gap: var(--s4);
  }

  .timeline::before {
    left: 5px;
    right: auto;
    top: 6px;
    bottom: 6px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(184, 194, 214, 0.28), rgba(45, 212, 191, 0.18), rgba(184, 194, 214, 0.18));
  }

  .timeline-item {
    min-height: 0;
    margin: 0 0 0 22px;
    padding: 20px;
  }

  .timeline-item::before {
    left: -25px;
    top: 24px;
    width: 10px;
    height: 10px;
    box-shadow:
      0 0 0 6px rgba(100, 116, 139, 0.12),
      0 0 24px rgba(184, 194, 214, 0.24);
  }
}

/* ── Codex repair: institutional about block ── */
#about {
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(12, 17, 30, 0.96) 0%, rgba(7, 11, 20, 1) 58%, rgba(8, 12, 22, 1) 100%);
  border-top: 1px solid rgba(184, 194, 214, 0.08);
  border-bottom: 1px solid rgba(184, 194, 214, 0.08);
}

#about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.22;
  background:
    linear-gradient(rgba(184, 194, 214, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 194, 214, 0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

#about .container {
  position: relative;
  z-index: 1;
}

#about .about-scan-line {
  background: linear-gradient(90deg, transparent, rgba(184, 194, 214, 0.28), rgba(45, 212, 191, 0.2), transparent);
}

#about .about-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 0.94fr);
  gap: clamp(56px, 6.5vw, 104px);
  align-items: start;
}

#about .section-kicker {
  color: rgba(184, 194, 214, 0.66);
}

#about .section-title {
  max-width: 680px;
  text-wrap: balance;
}

#about .section-title .grad {
  background: linear-gradient(180deg, #dce3f0 0%, #aeb8cc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#about .section-desc {
  max-width: 700px;
  color: rgba(184, 194, 214, 0.82);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.72;
}

#about .about-checklist {
  gap: 0;
  margin-top: clamp(34px, 4vw, 52px);
  border-top: 1px solid rgba(184, 194, 214, 0.14);
  border-bottom: 1px solid rgba(184, 194, 214, 0.14);
}

#about .about-check-item {
  position: relative;
  display: block;
  padding: 22px 0 22px 52px;
  border-bottom: 1px solid rgba(184, 194, 214, 0.1);
}

#about .about-check-item:last-child {
  border-bottom: 0;
}

#about .about-check-icon {
  position: absolute;
  left: 0;
  top: 24px;
  width: 28px;
  height: 28px;
  margin: 0;
  border: 1px solid rgba(184, 194, 214, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(45, 212, 191, 0.18), transparent 58%),
    rgba(184, 194, 214, 0.035);
  box-shadow: none;
  color: transparent;
  font-size: 0;
}

#about .about-check-icon::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9fb1ca;
  box-shadow: 0 0 18px rgba(45, 212, 191, 0.28);
}

#about .about-check-title {
  margin-bottom: 8px;
  color: rgba(245, 247, 250, 0.95);
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -0.01em;
}

#about .about-check-body {
  max-width: 640px;
  color: rgba(184, 194, 214, 0.74);
  font-size: 15px;
  line-height: 1.66;
}

#about .quota-explainer {
  margin-top: clamp(30px, 3.6vw, 44px);
  padding: 22px 24px;
  border: 1px solid rgba(184, 194, 214, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(184, 194, 214, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(15, 20, 34, 0.72);
  box-shadow: none;
}

#about .quota-header {
  color: rgba(184, 194, 214, 0.72);
}

#about .quota-body {
  color: rgba(184, 194, 214, 0.78);
  font-size: 15px;
}

#about .quota-badge {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(184, 194, 214, 0.1);
  color: rgba(184, 194, 214, 0.76);
}

#about .quota-badge strong {
  color: rgba(245, 247, 250, 0.9);
}

#about .quota-badge-dot {
  background: #9fb1ca;
  animation: none;
}

#about .about-cta {
  margin-top: 28px;
}

#about .about-visual--institutional {
  min-height: 0;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(184, 194, 214, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(25, 30, 48, 0.96) 0%, rgba(17, 22, 38, 0.98) 46%, rgba(13, 18, 32, 1) 100%);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#about .about-visual--institutional::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(184, 194, 214, 0.08), transparent 18%, transparent 82%, rgba(184, 194, 214, 0.06)),
    radial-gradient(circle at 86% 8%, rgba(184, 194, 214, 0.12), transparent 28%);
  opacity: 0.9;
}

#about .about-visual--institutional::after {
  content: "";
  position: absolute;
  inset: 28px;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(184, 194, 214, 0.05);
  border-radius: 8px;
}

#about .about-visual-bg {
  opacity: 0.08;
  color: rgba(184, 194, 214, 0.22);
  line-height: 1.6;
  mask-image: linear-gradient(180deg, #000 0%, transparent 62%);
}

#about .about-stat-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid rgba(184, 194, 214, 0.14);
  border-radius: 9px;
  background: rgba(7, 11, 20, 0.28);
}

#about .about-stat {
  min-height: 106px;
  padding: 22px;
  border: 0;
  border-right: 1px solid rgba(184, 194, 214, 0.1);
  border-bottom: 1px solid rgba(184, 194, 214, 0.1);
  border-radius: 0;
  background: transparent;
}

#about .about-stat:nth-child(2n) {
  border-right: 0;
}

#about .about-stat:nth-last-child(-n + 2) {
  border-bottom: 0;
}

#about .about-stat-num {
  color: rgba(245, 247, 250, 0.96);
  font-size: clamp(30px, 2.6vw, 40px);
  font-weight: 850;
  letter-spacing: -0.035em;
}

#about .about-stat-num .accent {
  color: rgba(159, 177, 202, 0.82);
}

#about .about-stat-label {
  margin-top: 8px;
  color: rgba(184, 194, 214, 0.55);
  font-size: 10px;
  letter-spacing: 0.12em;
}

#about .about-visual-metrics {
  position: relative;
  z-index: 1;
  margin: 0 0 28px;
  padding: 20px 22px;
  border: 1px solid rgba(184, 194, 214, 0.13);
  border-radius: 9px;
  background: rgba(8, 12, 22, 0.38);
}

#about .avm-row {
  gap: 18px;
  padding: 9px 0;
}

#about .avm-label {
  color: rgba(184, 194, 214, 0.7);
  font-size: 13px;
}

#about .avm-val {
  color: rgba(245, 247, 250, 0.92);
  font-size: 13px;
  letter-spacing: 0.03em;
  text-align: right;
}

#about .avm-val.up {
  color: #8fd8d0;
}

#about .avm-divider {
  margin: 9px 0;
  background: rgba(184, 194, 214, 0.1);
}

#about .about-sparkline-wrap {
  display: none;
}

#about .about-visual-title {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  color: rgba(245, 247, 250, 0.96);
  font-size: clamp(28px, 2.45vw, 38px);
  font-weight: 840;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

#about .about-visual-sub {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  color: rgba(184, 194, 214, 0.45);
  font-size: 9px;
  letter-spacing: 0.14em;
}

#about .about-trust-row {
  gap: 8px;
}

#about .about-trust-item {
  min-height: 28px;
  border-color: rgba(184, 194, 214, 0.13);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.018);
  color: rgba(184, 194, 214, 0.62);
  letter-spacing: 0.1em;
}

section:target .reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  #about .about-grid {
    grid-template-columns: 1fr;
  }

  #about .about-visual--institutional {
    max-width: 780px;
  }
}

@media (max-width: 640px) {
  #about .about-grid {
    gap: var(--s8);
  }

  #about .about-check-item {
    padding-left: 42px;
  }

  #about .about-check-icon {
    width: 24px;
    height: 24px;
  }

  #about .quota-explainer,
  #about .about-visual--institutional {
    padding: 18px;
    border-radius: 10px;
  }

  #about .about-stat-row {
    grid-template-columns: 1fr;
  }

  #about .about-stat,
  #about .about-stat:nth-last-child(-n + 2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(184, 194, 214, 0.1);
  }

  #about .about-stat:last-child {
    border-bottom: 0;
  }

  #about .about-visual-metrics {
    padding: 16px 18px;
  }

  #about .avm-row {
    align-items: flex-start;
  }

  #about .avm-val {
    max-width: 58%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(32px, 10.2vw, 38px);
  }

  .trade-header,
  .trade-pnl-row {
    align-items: flex-start;
  }

  .trade-header {
    flex-direction: column;
  }

  .trade-pnl-row {
    flex-direction: column;
    gap: var(--s1);
  }

  .trade-conf {
    white-space: normal;
  }

  .footer-brand-row .footer-apps {
    width: 100%;
  }

  .footer-app-btn {
    width: 100%;
    max-width: none;
  }
}

/* Codex repair: stable institutional forms */
.hero-panel--form,
.lcs-panel,
.amodal-box,
.hero-mobile-form {
  --form-shell: rgba(14, 18, 34, 0.94);
  --form-shell-deep: rgba(8, 12, 24, 0.97);
  --form-line: rgba(184, 194, 214, 0.16);
  --form-line-strong: rgba(184, 194, 214, 0.26);
  --form-cell: rgba(255, 255, 255, 0.035);
  --form-cell-focus: rgba(18, 28, 46, 0.78);
  --form-field: rgba(7, 11, 22, 0.48);
}

.hero-panel--form,
.lcs-panel,
.amodal-box {
  border: 1px solid var(--form-line);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(31, 38, 61, 0.88) 0%, var(--form-shell) 38%, var(--form-shell-deep) 100%);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.hero-panel--form::before,
.lcs-panel::before,
.amodal-box::before,
.hero-mobile-form::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 78%);
  opacity: 0.34;
}

.panel-scan-bar,
.lcs-panel-scan,
.amodal-scan {
  display: none;
}

.hero-panel--form .hpf-canvas,
.lcs-canvas {
  opacity: 0.05;
}

.hero-panel--form .hpf-grid-overlay {
  background-size: 48px 48px;
  opacity: 0.34;
}

.hero-panel-header,
.lcs-panel-hdr,
.amodal-hdr {
  min-height: 54px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(184, 194, 214, 0.13);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
}

.hero-panel--form .dot-red,
.lcs-panel .dot-red,
.amodal-dot--r {
  background: rgba(139, 154, 178, 0.78);
}

.hero-panel--form .dot-yellow,
.lcs-panel .dot-yellow,
.amodal-dot--y {
  background: rgba(111, 126, 150, 0.82);
}

.hero-panel--form .dot-green,
.lcs-panel .dot-green,
.amodal-dot--g {
  background: rgba(45, 212, 191, 0.82);
  box-shadow: 0 0 0 5px rgba(45, 212, 191, 0.08);
}

.hero-panel-title,
.lcs-panel-title,
.amodal-hdr-title,
.amodal-hdr-badge {
  font-size: 10px;
  letter-spacing: 0.14em;
}

.hero-panel-status,
.amodal-hdr-badge {
  color: rgba(45, 212, 191, 0.92);
}

.hpf-body,
.lcs-panel-body,
.amodal-body {
  padding: 28px;
}

.hpf-stream,
.lcs-hex-stream,
.amodal-hex {
  height: auto;
  min-height: 0;
  margin: 0 0 18px;
  padding: 0;
  color: rgba(160, 168, 196, 0.46);
  line-height: 1.8;
  overflow: hidden;
  text-wrap: balance;
}

.amodal-hex {
  padding: 14px 28px 0;
  margin-bottom: 12px;
}

.hpf-badge,
.amodal-enc-badge {
  min-height: 34px;
  border-color: rgba(184, 194, 214, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(184, 194, 214, 0.74);
}

.hpf-badge svg,
.amodal-enc-badge svg,
.hpf-ico,
.amodal-input-ico {
  color: rgba(159, 177, 202, 0.82);
}

.hpf-headline {
  margin-bottom: 22px;
}

.hpf-headline-sub,
.amodal-subtitle,
.lcs-form-headline .hpf-headline-sub {
  color: rgba(159, 177, 202, 0.78);
}

.hpf-headline-main,
.lcs-form-title,
.amodal-title {
  color: rgba(245, 247, 250, 0.96);
}

.hpf-typed {
  display: inline-block;
  height: 1.3em;
  line-height: inherit;
  vertical-align: top;
  color: rgba(159, 177, 202, 0.9);
  white-space: nowrap;
  overflow: hidden;
}

.hpf-metrics-row {
  gap: 0;
  margin-bottom: 22px;
  padding: 0;
  border-color: rgba(184, 194, 214, 0.14);
  border-radius: 16px;
  background: rgba(7, 11, 22, 0.36);
  overflow: hidden;
}

.hpf-mini-metric {
  padding: 16px 10px;
  border-right: 1px solid rgba(184, 194, 214, 0.1);
}

.hpf-mini-metric:last-child {
  border-right: 0;
}

.hpf-mm-val {
  font-size: 13px;
}

.hpf-mm-chg,
.hpf-mm-name {
  opacity: 0.92;
}

.hpf-illustrative-badge {
  margin: -10px 0 18px;
  color: rgba(160, 168, 196, 0.42);
  text-align: left;
}

.hpf-form,
.lcs-form,
.amodal-form {
  position: relative;
  z-index: 1;
}

.hpf-field-wrap,
.lcs-form {
  gap: 14px;
}

.hpf-field,
.amodal-field {
  margin: 0;
}

.hpf-label,
.amodal-label {
  margin-bottom: 8px;
  color: rgba(184, 194, 214, 0.56);
  font-size: 10px;
  letter-spacing: 0.13em;
}

.hpf-input-row,
.amodal-input-wrap {
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid rgba(184, 194, 214, 0.14);
  border-radius: 14px;
  background: var(--form-field);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 1px 0 rgba(255, 255, 255, 0.02);
  transition:
    border-color var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.hpf-input-row:focus-within,
.amodal-input-wrap:focus-within {
  border-color: rgba(45, 212, 191, 0.44);
  background: var(--form-cell-focus);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 0 0 3px rgba(45, 212, 191, 0.08);
}

.hpf-field:focus-within .hpf-label,
.amodal-field:focus-within .amodal-label {
  color: rgba(216, 225, 238, 0.86);
}

.hpf-field-line {
  display: none;
}

.hpf-input,
.amodal-input {
  min-width: 0;
  width: 100%;
  padding: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.3;
  color: rgba(245, 247, 250, 0.94);
}

.hpf-input::placeholder,
.hero-mobile-input::placeholder,
.amodal-input::placeholder {
  color: rgba(160, 168, 196, 0.58);
}

.hpf-field.field-error .hpf-input-row,
.amodal-field.field-error .amodal-input-wrap {
  border-color: rgba(248, 113, 113, 0.54);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.08);
}

.hpf-field.field-error .hpf-label,
.amodal-field.field-error .amodal-label {
  color: rgba(248, 113, 113, 0.92);
}

.lead-form__consent {
  gap: 12px;
  margin: 16px 0 0;
  color: rgba(216, 225, 238, 0.72);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.55;
}

.lead-form__consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #2dd4bf;
}

.lead-form__consent a,
.lead-form__legal a,
.amodal-legal a {
  color: rgba(245, 247, 250, 0.9);
  text-decoration-thickness: 1px;
}

.lead-form__legal,
.amodal-legal,
.hpf-note {
  color: rgba(184, 194, 214, 0.58);
  font-family: var(--font);
  font-size: 12px;
  line-height: 1.6;
}

.lead-form__error {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.34);
  font-family: var(--font);
  font-size: 13px;
}

.hpf-submit,
.hero-mobile-submit,
.amodal-submit {
  min-height: 60px;
  margin-top: 18px;
  padding: 0 24px;
  border: 1px solid rgba(184, 194, 214, 0.2);
  border-radius: 14px;
  background: linear-gradient(135deg, #8b9ab2 0%, #66758b 100%);
  color: #fff;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transform: none !important;
  transition:
    background var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    opacity var(--dur-fast) var(--ease-out);
}

.hpf-submit-bg {
  display: none;
}

.hpf-submit:hover,
.hero-mobile-submit:hover,
.amodal-submit:hover {
  border-color: rgba(216, 225, 238, 0.34);
  background: linear-gradient(135deg, #97a8c1 0%, #6f7f96 100%);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transform: none !important;
}

.hpf-submit:active,
.hero-mobile-submit:active,
.amodal-submit:active {
  transform: none !important;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.hpf-submit:focus-visible,
.hero-mobile-submit:focus-visible,
.amodal-submit:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(45, 212, 191, 0.12),
    0 18px 42px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.hpf-submit:disabled,
.hero-mobile-submit:disabled,
.amodal-submit:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  filter: saturate(0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

#lead-form .hpf-submit {
  margin-top: 10px !important;
}

.hero-mobile-form {
  position: relative;
  border: 1px solid rgba(184, 194, 214, 0.16);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(31, 38, 61, 0.9), rgba(9, 13, 26, 0.96));
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.hero-mobile-form-title {
  position: relative;
  z-index: 1;
  color: rgba(216, 225, 238, 0.78);
}

.hero-mobile-input {
  position: relative;
  z-index: 1;
  min-height: 54px;
  margin-bottom: 12px;
  padding: 0 16px;
  border-color: rgba(184, 194, 214, 0.14);
  border-radius: 14px;
  background: rgba(7, 11, 22, 0.48);
  font-family: var(--font);
  font-size: 16px;
  transition:
    border-color var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.hero-mobile-input:focus {
  border-color: rgba(45, 212, 191, 0.44);
  background: rgba(18, 28, 46, 0.78);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.08);
}

/* Keep form focus states to a single institutional field frame.
   The global :focus-visible outline is correct for links/buttons, but it
   creates a second inner rectangle on inputs inside framed form rows. */
.hpf-input:focus,
.hpf-input:focus-visible,
.amodal-input:focus,
.amodal-input:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.hero-mobile-input:focus,
.hero-mobile-input:focus-visible {
  outline: none !important;
}

.phone-mask {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.hpf-input-row .phone-mask,
.amodal-input-wrap .phone-mask {
  flex: 1;
}

.phone-mask__trigger {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 8px;
  border: 1px solid rgba(184, 194, 214, 0.16);
  border-radius: 10px;
  background: rgba(7, 11, 22, 0.42);
  color: rgba(245, 247, 250, 0.92);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1;
}

.phone-mask__trigger:hover,
.phone-mask--open .phone-mask__trigger {
  border-color: rgba(45, 212, 191, 0.36);
  background: rgba(18, 28, 46, 0.74);
}

.phone-mask__flag {
  font-size: 15px;
  line-height: 1;
}

.phone-mask__dial {
  color: rgba(216, 225, 238, 0.78);
  font-variant-numeric: tabular-nums;
}

.phone-mask .hpf-input,
.phone-mask .amodal-input {
  flex: 1;
  min-width: 0;
}

.hero-mobile-form {
  overflow: visible;
}

.hero-mobile-form .phone-mask {
  position: relative;
  z-index: 4;
  min-height: 54px;
  margin-bottom: 12px;
  padding: 0 8px;
  border: 1px solid rgba(184, 194, 214, 0.14);
  border-radius: 14px;
  background: rgba(7, 11, 22, 0.48);
  transition:
    border-color var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.hero-mobile-form .phone-mask:focus-within {
  border-color: rgba(45, 212, 191, 0.44);
  background: rgba(18, 28, 46, 0.78);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.08);
}

.hero-mobile-form .phone-mask .hero-mobile-input {
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.phone-mask--error,
.hpf-field.field-error .phone-mask__trigger,
.amodal-field.field-error .phone-mask__trigger {
  border-color: rgba(248, 113, 113, 0.54);
}

.hero-mobile-form .phone-mask--error {
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.08);
}

.phone-mask__menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 80;
  width: min(320px, calc(100vw - 32px));
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid rgba(184, 194, 214, 0.18);
  border-radius: 14px;
  background: rgba(8, 12, 24, 0.98);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.46);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.phone-mask--open .phone-mask__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.phone-mask__option {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 9px;
  border-radius: 10px;
  color: rgba(216, 225, 238, 0.86);
  font-size: 13px;
  text-align: left;
}

.phone-mask__option:hover,
.phone-mask__option:focus-visible {
  background: rgba(45, 212, 191, 0.1);
  color: rgba(245, 247, 250, 0.96);
}

.phone-mask__country {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.aladdin-captcha-open {
  overflow: hidden;
}

.aladdin-captcha[hidden] {
  display: none !important;
}

.aladdin-captcha {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 22px;
}

.aladdin-captcha__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 28%, rgba(59, 241, 222, 0.11), transparent 32%),
    rgba(3, 7, 16, 0.82);
  backdrop-filter: blur(14px);
}

.aladdin-captcha__panel {
  position: relative;
  width: min(560px, 100%);
  max-height: min(760px, calc(100vh - 34px));
  overflow: hidden auto;
  padding: 28px;
  color: #f4f7fb;
  background:
    linear-gradient(180deg, rgba(22, 29, 45, 0.98), rgba(8, 13, 25, 0.98)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 32px);
  border: 1px solid rgba(139, 154, 184, 0.36);
  border-radius: 26px;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.aladdin-captcha__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent, rgba(59, 241, 222, 0.12), transparent);
  opacity: 0.7;
}

.aladdin-captcha__scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(59, 241, 222, 0.13), transparent);
  height: 32%;
  transform: translateY(-120%);
  animation: aladdinCaptchaScan 4s ease-in-out infinite;
}

.aladdin-captcha__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(151, 166, 194, 0.32);
  border-radius: 50%;
  color: #dce7fb;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.aladdin-captcha__topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #95a4be;
  font-size: 13px;
  font-weight: 800;
}

.aladdin-captcha__topline span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #8190aa;
}

.aladdin-captcha__topline span:nth-child(3) {
  background: #35d6c6;
  box-shadow: 0 0 24px rgba(53, 214, 198, 0.55);
}

.aladdin-captcha__topline strong {
  margin-left: auto;
  color: #35d6c6;
}

.aladdin-captcha__kicker,
.aladdin-captcha__tile-code,
.aladdin-captcha__tile em {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.aladdin-captcha__kicker {
  position: relative;
  z-index: 1;
  margin-top: 32px;
  color: #8b98b1;
  font-size: 12px;
  font-weight: 800;
}

.aladdin-captcha__title {
  position: relative;
  z-index: 1;
  margin: 10px 0 8px;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.04;
}

.aladdin-captcha__text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #a7b2c8;
  font-size: 16px;
  line-height: 1.55;
}

.aladdin-captcha__target {
  position: relative;
  z-index: 1;
  margin: 22px 0 16px;
  padding: 16px 18px;
  border: 1px solid rgba(53, 214, 198, 0.34);
  border-radius: 18px;
  color: #dffefa;
  background: rgba(53, 214, 198, 0.08);
  font-weight: 800;
  text-align: center;
}

.aladdin-captcha__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.aladdin-captcha__tile {
  min-height: 116px;
  padding: 14px 12px;
  border: 1px solid rgba(151, 166, 194, 0.26);
  border-radius: 18px;
  color: #eef4ff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(5, 10, 20, 0.82);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.aladdin-captcha__tile:hover,
.aladdin-captcha__tile:focus-visible {
  border-color: rgba(53, 214, 198, 0.7);
  transform: translateY(-2px);
  outline: none;
}

.aladdin-captcha__tile--selected {
  border-color: rgba(53, 214, 198, 0.95);
  background:
    linear-gradient(180deg, rgba(53, 214, 198, 0.24), rgba(53, 214, 198, 0.07)),
    rgba(5, 10, 20, 0.92);
  box-shadow: 0 0 0 1px rgba(53, 214, 198, 0.22), 0 16px 36px rgba(53, 214, 198, 0.13);
}

.aladdin-captcha__tile-code,
.aladdin-captcha__tile em {
  color: #8b98b1;
  font-size: 11px;
  font-style: normal;
}

.aladdin-captcha__tile strong {
  font-size: 25px;
  line-height: 1;
}

.aladdin-captcha__tile span:not(.aladdin-captcha__tile-code) {
  min-height: 32px;
  color: #aebbd2;
  font-size: 13px;
}

.aladdin-captcha__error,
.amodal-error {
  margin-top: 14px;
  padding: 11px 13px;
  border: 1px solid rgba(239, 68, 68, 0.34);
  border-radius: 14px;
  color: #fecaca;
  background: rgba(127, 29, 29, 0.28);
  font-size: 13px;
  line-height: 1.4;
}

.aladdin-captcha__actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 12px;
  margin-top: 18px;
}

.aladdin-captcha__ghost,
.aladdin-captcha__confirm {
  min-height: 52px;
  border-radius: 16px;
  font-weight: 800;
  cursor: pointer;
}

.aladdin-captcha__ghost {
  border: 1px solid rgba(151, 166, 194, 0.28);
  color: #c7d2e8;
  background: rgba(255, 255, 255, 0.04);
}

.aladdin-captcha__confirm {
  border: 1px solid rgba(53, 214, 198, 0.48);
  color: #061014;
  background: linear-gradient(135deg, #7df7e7, #8fb0ff);
  box-shadow: 0 18px 40px rgba(53, 214, 198, 0.19);
}

.aladdin-captcha__confirm:disabled {
  cursor: not-allowed;
  color: #d5deec;
  background: rgba(139, 154, 184, 0.28);
  border-color: rgba(151, 166, 194, 0.25);
  box-shadow: none;
}

.aladdin-captcha--loading .aladdin-captcha__target::after,
.aladdin-captcha--verifying .aladdin-captcha__target::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 10px;
  border: 2px solid rgba(223, 254, 250, 0.35);
  border-top-color: #dffefa;
  border-radius: 50%;
  vertical-align: -1px;
  animation: aladdinCaptchaSpin 800ms linear infinite;
}

@keyframes aladdinCaptchaScan {
  0%, 100% { transform: translateY(-120%); opacity: 0; }
  20%, 70% { opacity: 1; }
  80% { transform: translateY(240%); opacity: 0; }
}

@keyframes aladdinCaptchaSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 620px) {
  .aladdin-captcha {
    padding: 12px;
  }

  .aladdin-captcha__panel {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .aladdin-captcha__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aladdin-captcha__actions {
    grid-template-columns: 1fr;
  }
}

.hero-mobile-submit,
.hero-mobile-form .lead-form__consent,
.hero-mobile-form .lead-form__legal,
.hero-mobile-note,
.hero-mobile-form .lead-form__error {
  position: relative;
  z-index: 1;
}

.amodal-box {
  max-width: 480px;
}

.amodal-body {
  padding-top: 22px;
}

.amodal-hdr,
.amodal-hex,
.amodal-enc-row,
.amodal-body,
.amodal-success {
  position: relative;
  z-index: 1;
}

.amodal-close {
  z-index: 3;
}

.amodal-success[hidden],
.lead-form__success[hidden],
.hpf-success[hidden] {
  display: none !important;
}

.amodal-enc-row {
  padding: 0 28px 14px;
}

.amodal-submit {
  font-size: 14px;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .hero-panel--form,
  .lcs-panel,
  .amodal-box,
  .hero-mobile-form {
    border-radius: 18px;
  }

  .hpf-body,
  .lcs-panel-body,
  .amodal-body {
    padding: 20px;
  }

  .hero-panel-header,
  .lcs-panel-hdr,
  .amodal-hdr {
    padding: 14px 18px;
  }

  .hpf-stream,
  .lcs-hex-stream,
  .amodal-hex {
    display: none;
  }

  .hpf-metrics-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hpf-mini-metric:nth-child(2) {
    border-right: 0;
  }

  .hpf-input-row,
  .amodal-input-wrap,
  .hero-mobile-input {
    min-height: 54px;
  }

  .hpf-submit,
  .hero-mobile-submit,
  .amodal-submit {
    min-height: 56px;
    padding: 0 18px;
    font-size: 12px;
  }

  .lead-form__consent {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .hpf-metrics-row {
    grid-template-columns: 1fr;
  }

  .hpf-mini-metric,
  .hpf-mini-metric:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(184, 194, 214, 0.1);
  }

  .hpf-mini-metric:last-child {
    border-bottom: 0;
  }

  .hero-mobile-form {
    padding: 18px;
  }
}

.install-modal-open {
  overflow: hidden;
}

.install-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10080;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.install-modal--open {
  display: flex;
}

.install-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.install-modal__card {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 48px));
  max-width: 760px;
  max-height: min(92dvh, 920px);
  overflow: hidden auto;
  border: 1px solid rgba(184, 194, 214, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(120% 72% at 80% 0%, rgba(100, 116, 139, 0.22), transparent 58%),
    linear-gradient(180deg, rgba(20, 25, 43, 0.98), rgba(9, 13, 25, 0.98));
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  animation: installSheetIn 360ms var(--spring);
  overflow-anchor: none;
}

.install-modal--locking .install-modal__card {
  overflow: clip;
}

.install-modal__close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(184, 194, 214, 0.14);
  border-radius: 50%;
  background: rgba(8, 12, 24, 0.56);
  color: rgba(245, 247, 250, 0.84);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.install-modal__close-btn:hover,
.install-modal__close-btn:focus-visible {
  border-color: rgba(216, 225, 238, 0.28);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.install-modal__header {
  position: relative;
  min-height: 188px;
  padding: 30px 32px;
  text-align: left;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(45, 212, 191, 0.18), rgba(100, 116, 139, 0.16) 42%, rgba(8, 12, 24, 0.86)),
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: auto, 38px 38px, 38px 38px;
  border-bottom: 1px solid rgba(184, 194, 214, 0.12);
}

.install-modal__header::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -170px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(45, 212, 191, 0.18);
  background: radial-gradient(circle, rgba(45, 212, 191, 0.12), transparent 62%);
}

.install-modal__header-copy {
  position: relative;
  z-index: 2;
  max-width: 460px;
}

.install-modal__eyebrow {
  margin-bottom: 12px;
  color: rgba(45, 212, 191, 0.9);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.install-modal__title {
  margin-bottom: 10px;
  color: rgba(245, 247, 250, 0.98);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 860;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.install-modal__subtitle {
  max-width: 410px;
  color: rgba(216, 225, 238, 0.74);
  font-size: 15px;
  line-height: 1.55;
}

.install-modal__header-phone {
  position: absolute;
  right: 76px;
  bottom: -34px;
  z-index: 1;
  width: 158px;
  height: 226px;
  border: 1px solid rgba(216, 225, 238, 0.24);
  border-radius: 30px;
  background:
    linear-gradient(rgba(45, 212, 191, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 191, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(20, 29, 49, 0.98), rgba(7, 11, 22, 0.98));
  background-size: 22px 22px, 22px 22px, auto;
  box-shadow:
    -28px 28px 90px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotate(-7deg);
  overflow: hidden;
}

.install-modal__header-phone--site {
  background:
    radial-gradient(80% 62% at 50% 0%, rgba(45, 212, 191, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(5, 9, 18, 0.98), rgba(9, 13, 26, 0.98));
}

.install-modal__phone-site-frame {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 390px;
  height: 844px;
  border: 0;
  background: #050914;
  pointer-events: none;
  transform: translateX(-50%) scale(0.36);
  transform-origin: top center;
  filter: saturate(0.95) contrast(1.05) brightness(0.98);
}

.install-modal__phone-glass {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.14), transparent 20%, transparent 72%, rgba(255, 255, 255, 0.045)),
    radial-gradient(70% 42% at 48% 0%, rgba(255, 255, 255, 0.12), transparent 62%);
  mix-blend-mode: screen;
  opacity: 0.52;
}

.install-modal__phone-top {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 5;
  width: 62px;
  height: 18px;
  margin: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.36);
  transform: translateX(-50%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.install-modal__phone-brand {
  padding: 0 18px;
  color: rgba(245, 247, 250, 0.96);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.install-modal__phone-line {
  width: 90px;
  height: 7px;
  margin: 14px 18px 0;
  border-radius: 999px;
  background: rgba(184, 194, 214, 0.24);
}

.install-modal__phone-line--short {
  width: 62px;
  background: rgba(45, 212, 191, 0.45);
}

.install-modal__phone-dock {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.install-modal__phone-dock span {
  height: 24px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
}

.install-modal__phone-homebar {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 5;
  width: 58px;
  height: 4px;
  border-radius: 999px;
  background: rgba(245, 247, 250, 0.46);
  transform: translateX(-50%);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.38);
}

.install-modal__tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid rgba(184, 194, 214, 0.1);
  background: rgba(7, 11, 22, 0.48);
}

.install-modal__tab {
  min-height: 54px;
  border: 1px solid rgba(184, 194, 214, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(184, 194, 214, 0.66);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.install-modal__tab:hover,
.install-modal__tab:focus-visible {
  color: rgba(245, 247, 250, 0.92);
  border-color: rgba(184, 194, 214, 0.22);
  outline: none;
}

.install-modal__tab.is-active {
  border-color: rgba(45, 212, 191, 0.32);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.16), rgba(100, 116, 139, 0.2));
  color: rgba(245, 247, 250, 0.98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.install-modal__content {
  padding: 22px;
}

.install-modal__panel {
  display: none;
  padding: 0;
}

.install-modal__panel.is-active {
  display: block;
}

.install-guide {
  display: grid;
  grid-template-columns: minmax(282px, 0.78fr) minmax(270px, 0.92fr);
  gap: 22px;
  align-items: center;
}

.install-guide__video {
  position: relative;
  min-height: 472px;
  overflow: hidden;
  border: 1px solid rgba(184, 194, 214, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(58% 62% at 72% 28%, rgba(45, 212, 191, 0.16), transparent 64%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    rgba(9, 13, 25, 0.9);
  background-size: auto, 44px 44px, 44px 44px, auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.install-guide__badge {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 3;
  padding: 7px 10px;
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 999px;
  background: rgba(7, 11, 22, 0.68);
  color: rgba(45, 212, 191, 0.94);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.install-guide__phone {
  position: relative;
  width: 188px;
  height: 286px;
  border: 1px solid rgba(216, 225, 238, 0.22);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(20, 29, 49, 0.98), rgba(5, 9, 19, 0.98));
  padding: 17px 12px 12px;
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.install-guide__status {
  margin: 0 auto 9px;
  width: 92px;
  height: 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
  color: rgba(216, 225, 238, 0.7);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 18px;
  text-align: center;
}

.install-guide__screen {
  position: relative;
  height: 228px;
  overflow: hidden;
  border: 1px solid rgba(184, 194, 214, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(rgba(45, 212, 191, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 191, 0.08) 1px, transparent 1px),
    rgba(7, 11, 22, 0.96);
  background-size: 26px 26px;
}

.install-guide__phone--site {
  width: 236px;
  height: 430px;
  padding: 30px 10px 12px;
  border-radius: 32px;
}

.install-guide__phone--site::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 4;
  width: 74px;
  height: 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  transform: translateX(-50%);
}

.install-guide__device-bar {
  position: absolute;
  top: 9px;
  left: 20px;
  right: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: rgba(216, 225, 238, 0.72);
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1;
  pointer-events: none;
}

.install-guide__device-bar strong {
  max-width: 118px;
  overflow: hidden;
  color: rgba(245, 247, 250, 0.78);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.install-guide__device-bar b {
  color: rgba(45, 212, 191, 0.88);
  font-size: 15px;
  line-height: 0.7;
}

.install-guide__screen--site {
  height: 100%;
  border-radius: 22px;
  background:
    radial-gradient(58% 70% at 50% 0%, rgba(45, 212, 191, 0.12), transparent 62%),
    rgba(5, 9, 18, 0.98);
}

.install-guide__site-frame {
  position: absolute;
  top: 0;
  left: 50%;
  width: 390px;
  height: 844px;
  border: 0;
  background: #050914;
  pointer-events: none;
  transform: translateX(-50%) scale(0.55);
  transform-origin: top center;
}

.install-guide__preview-glass {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 24%, transparent 70%, rgba(255, 255, 255, 0.035)),
    radial-gradient(70% 52% at 50% 12%, transparent, rgba(4, 8, 18, 0.2) 72%);
}

.install-guide__ios-toolbar,
.install-guide__chrome-toolbar {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  border: 1px solid rgba(184, 194, 214, 0.15);
  background: rgba(8, 12, 24, 0.86);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.install-guide__ios-toolbar {
  left: 9px;
  right: 9px;
  bottom: 8px;
  height: 38px;
  border-radius: 19px;
  display: grid;
  grid-template-columns: 1fr 42px 1fr;
  align-items: center;
}

.install-guide__share-target,
.install-guide__chrome-menu-target {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(45, 212, 191, 0.34);
  background: rgba(45, 212, 191, 0.13);
  color: rgba(45, 212, 191, 0.96);
  box-shadow:
    0 0 0 0 rgba(45, 212, 191, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: installTargetPulse 2.2s ease-in-out infinite;
}

.install-guide__share-target {
  width: 34px;
  height: 30px;
  border-radius: 12px;
  justify-self: center;
}

.install-guide__chrome-toolbar {
  top: 8px;
  left: 10px;
  right: 10px;
  height: 34px;
  padding: 0 7px 0 12px;
  border-radius: 999px;
  color: rgba(216, 225, 238, 0.82);
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.install-guide__chrome-toolbar span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.install-guide__chrome-menu-target {
  width: 25px;
  min-width: 25px;
  height: 25px;
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
}

.install-guide__pin {
  position: absolute;
  z-index: 9;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(245, 247, 250, 0.78);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.86), transparent 36%),
    linear-gradient(180deg, rgba(45, 212, 191, 0.98), rgba(26, 119, 111, 0.98));
  color: #051018;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  line-height: 20px;
  text-align: center;
  box-shadow:
    0 0 0 6px rgba(45, 212, 191, 0.12),
    0 14px 28px rgba(0, 0, 0, 0.34);
  pointer-events: none;
  animation: installPinPulse 2.2s ease-in-out infinite;
}

.install-guide__pin--ios-share {
  left: 86px;
  bottom: 34px;
}

.install-guide__pin--android-menu {
  right: 15px;
  top: 18px;
}

.install-guide__callout {
  position: absolute;
  z-index: 8;
  max-width: 170px;
  padding: 7px 9px;
  border: 1px solid rgba(45, 212, 191, 0.34);
  border-radius: 999px;
  background: rgba(7, 14, 25, 0.92);
  color: rgba(245, 247, 250, 0.92);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
}

.install-guide__callout--ios-share {
  left: 50%;
  bottom: 54px;
  transform: translateX(-50%) translateY(6px);
  animation: installCalloutShare 7.5s ease-in-out infinite;
}

.install-guide__callout--ios-home {
  left: 19px;
  bottom: 142px;
  transform: translateY(6px);
  animation: installCalloutHome 7.5s ease-in-out infinite;
}

.install-guide__callout--android-menu {
  right: 8px;
  top: 47px;
  animation: installCalloutShare 7.5s ease-in-out infinite;
}

.install-guide__callout--android-install {
  left: 50%;
  bottom: 128px;
  transform: translateX(-50%) translateY(6px);
  animation: installCalloutHome 7.5s ease-in-out infinite;
}

.install-guide__browser {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 3;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(184, 194, 214, 0.14);
  border-radius: 999px;
  background: rgba(13, 18, 32, 0.94);
  color: rgba(216, 225, 238, 0.86);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font);
  font-size: 11px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.install-guide__browser b {
  color: rgba(45, 212, 191, 0.88);
  font-size: 18px;
  line-height: 1;
}

.install-guide__site-card {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 44px;
  min-height: 82px;
  padding: 16px;
  border: 1px solid rgba(184, 194, 214, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.install-guide__site-card strong {
  color: rgba(245, 247, 250, 0.98);
  font-size: 18px;
  font-weight: 880;
  letter-spacing: -0.04em;
}

.install-guide__site-card span {
  margin-top: 6px;
  color: rgba(160, 168, 196, 0.78);
  font-size: 10px;
  line-height: 1.35;
}

.install-guide__share-sheet,
.install-guide__android-prompt {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 52px;
  z-index: 4;
  border: 1px solid rgba(184, 194, 214, 0.16);
  border-radius: 17px;
  background: rgba(20, 25, 43, 0.97);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
  transform: translateY(110%);
}

.install-guide__video--ios .install-guide__share-sheet {
  animation: installIosSheet 7.5s var(--ease-out) infinite;
}

.install-guide__sheet-title {
  padding: 11px 13px 8px;
  color: rgba(160, 168, 196, 0.68);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.install-guide__sheet-row {
  margin: 0 8px 8px;
  padding: 9px 12px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(216, 225, 238, 0.82);
  font-size: 10px;
}

.install-guide__sheet-row--home,
.install-guide__sheet-row--accent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.install-guide__sheet-row b,
.install-guide__android-prompt button b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(245, 247, 250, 0.92);
  color: #071019;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.12);
}

.install-guide__sheet-row--home {
  position: relative;
  color: rgba(245, 247, 250, 0.94);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.16);
  animation: installRowFocus 7.5s ease-in-out infinite;
}

.install-guide__sheet-row--accent {
  position: relative;
  color: rgba(245, 247, 250, 0.98);
  background: rgba(45, 212, 191, 0.14);
  animation: installButtonFocus 7.5s ease-in-out infinite;
}

.install-guide__android-prompt {
  padding: 13px;
  transform: translateY(0);
  opacity: 0;
  animation: installAndroidPrompt 7.5s var(--ease-out) infinite;
}

.install-guide__android-prompt span {
  display: block;
  color: rgba(160, 168, 196, 0.78);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.install-guide__android-prompt strong {
  display: block;
  margin: 6px 0 10px;
  color: rgba(245, 247, 250, 0.96);
  font-size: 16px;
  letter-spacing: -0.03em;
}

.install-guide__android-prompt button {
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 10px;
  background: rgba(45, 212, 191, 0.86);
  color: #061016;
  font-size: 11px;
  font-weight: 850;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  animation: installButtonFocus 7.5s ease-in-out infinite;
}

.install-guide__tap {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 7;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(45, 212, 191, 0.92);
  box-shadow:
    0 0 0 8px rgba(45, 212, 191, 0.1),
    0 0 32px rgba(45, 212, 191, 0.24);
  opacity: 0;
  pointer-events: none;
}

.install-guide__tap--ios {
  animation: installTapIos 7.5s var(--ease-out) infinite;
}

.install-guide__tap--android {
  animation: installTapAndroid 7.5s var(--ease-out) infinite;
}

.install-guide__finger {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9;
  width: 42px;
  height: 42px;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.44));
}

.install-guide__finger::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 2px;
  width: 25px;
  height: 30px;
  border-radius: 14px 14px 11px 11px;
  background: linear-gradient(180deg, #f7fbff, #b9c7d9);
  box-shadow: inset 0 -2px 0 rgba(8, 12, 24, 0.18);
}

.install-guide__finger::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 24px;
  width: 14px;
  height: 17px;
  border-radius: 4px 8px 9px 9px;
  background: linear-gradient(180deg, #dce5ef, #9dadc2);
  transform: rotate(-35deg);
  transform-origin: top left;
}

.install-guide__finger span {
  position: absolute;
  left: 15px;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.86);
}

.install-guide__finger--ios {
  animation: installFingerIos 7.5s ease-in-out infinite;
}

.install-guide__finger--android {
  animation: installFingerAndroid 7.5s ease-in-out infinite;
}

.install-modal__steps {
  position: relative;
  gap: 0;
}

.install-modal__steps::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: linear-gradient(180deg, rgba(184, 194, 214, 0.14), rgba(45, 212, 191, 0.35), rgba(184, 194, 214, 0.14));
}

.install-modal__step {
  position: relative;
  gap: 14px;
  padding: 13px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.install-modal__step-num {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border: 1px solid rgba(184, 194, 214, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 247, 250, 0.86);
  font-family: var(--mono);
  font-size: 12px;
}

.install-modal__step-text {
  color: rgba(216, 225, 238, 0.86);
  font-size: 15px;
  line-height: 1.45;
}

.install-modal__step-text b {
  color: rgba(245, 247, 250, 0.98);
}

.install-modal__actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.install-modal__android-btn,
.install-modal__dismiss-btn {
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
}

.install-modal__android-btn {
  border: 1px solid rgba(45, 212, 191, 0.28);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.92), rgba(139, 154, 178, 0.92));
  color: #071019;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.install-modal__dismiss-btn {
  margin-top: 18px;
  border: 1px solid rgba(184, 194, 214, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(216, 225, 238, 0.72);
}

.install-modal__actions .install-modal__dismiss-btn {
  margin-top: 0;
}

.install-modal__dismiss-btn:hover,
.install-modal__dismiss-btn:focus-visible,
.install-modal__android-btn:hover,
.install-modal__android-btn:focus-visible {
  border-color: rgba(216, 225, 238, 0.26);
  filter: brightness(1.04);
  outline: none;
}

.install-modal__fallback {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(45, 212, 191, 0.18);
  border-radius: 12px;
  background: rgba(45, 212, 191, 0.06);
  color: rgba(216, 225, 238, 0.76);
  font-size: 13px;
  line-height: 1.5;
}

/* Real landing preview rendered inside the app-install guide iframe. */
html.install-preview-root,
html.install-preview-root body {
  width: 390px;
  min-width: 390px;
  height: 844px;
  min-height: 844px;
  overflow: hidden !important;
  background: #050914;
}

html.install-preview-root body {
  color: var(--text-primary);
}

html.install-preview-root .skip-link,
html.install-preview-root #mobile-menu,
html.install-preview-root .sticky-cta,
html.install-preview-root .social-proof-toast,
html.install-preview-root .install-modal,
html.install-preview-root .cookie-consent,
html.install-preview-root .ticker-wrap,
html.install-preview-root .hero-stats,
html.install-preview-root .hero-stats-disclaimer,
html.install-preview-root .hero-apps,
html.install-preview-root .lead-form__legal,
html.install-preview-root .hpf-note {
  display: none !important;
}

html.install-preview-root main > section:not(#hero),
html.install-preview-root footer {
  display: none !important;
}

html.install-preview-root #header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  height: 62px;
  border-bottom: 1px solid rgba(184, 194, 214, 0.1);
  background: rgba(5, 9, 18, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

html.install-preview-root #header .container {
  max-width: none;
  padding: 0 14px;
}

html.install-preview-root .header-inner {
  height: 62px;
}

html.install-preview-root .logo {
  font-size: 20px;
}

html.install-preview-root .nav-desktop {
  display: none !important;
}

html.install-preview-root .header-cta .btn {
  display: none !important;
}

html.install-preview-root .lang-switcher {
  min-height: 34px;
  padding: 3px;
}

html.install-preview-root .lang-btn {
  min-width: 34px;
  min-height: 28px;
  font-size: 9px;
}

html.install-preview-root .hamburger {
  display: flex !important;
  width: 34px;
  height: 34px;
}

html.install-preview-root #main-content,
html.install-preview-root #hero {
  height: 844px;
  min-height: 844px;
  overflow: hidden;
}

html.install-preview-root #hero {
  padding: 76px 0 28px;
}

html.install-preview-root .hero-video-bg {
  opacity: 0.62;
  filter: saturate(0.8) contrast(1.08) brightness(0.75);
}

html.install-preview-root #canvas-container {
  opacity: 0.32;
}

html.install-preview-root #hero > .container {
  width: 100%;
  max-width: none;
  padding: 0 16px;
  align-items: flex-start !important;
}

html.install-preview-root .hero-grid {
  width: 100%;
  display: block;
}

html.install-preview-root .hero-kicker {
  max-width: 100%;
  margin-bottom: 12px;
  font-size: 7px !important;
  line-height: 1.3;
  white-space: normal;
}

html.install-preview-root .hero-title {
  width: 100% !important;
  max-width: 320px !important;
  font-size: 33px !important;
  line-height: 0.96 !important;
  letter-spacing: -0.035em !important;
}

html.install-preview-root .hero-desc {
  max-width: 325px;
  margin-top: 12px;
  font-size: 10px;
  line-height: 1.45;
  max-height: 60px;
  overflow: hidden;
}

html.install-preview-root .hero-actions {
  max-width: 320px;
  margin-top: 12px;
  gap: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

html.install-preview-root .hero-actions .btn {
  min-height: 34px;
  padding: 0 9px;
  border-radius: 9px;
  font-size: 7px;
  letter-spacing: -0.01em;
  white-space: normal;
}

html.install-preview-root .hero-panel--form {
  display: block !important;
  width: 100%;
  max-width: 326px;
  min-height: 0;
  margin: 14px 0 0;
  border-radius: 18px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html.install-preview-root .hero-panel-header {
  min-height: 40px;
}

html.install-preview-root .hero-panel-title {
  font-size: 7px;
}

html.install-preview-root .hpf-body {
  padding: 13px 15px 15px;
}

html.install-preview-root .hpf-badge {
  width: fit-content;
  margin-bottom: 8px;
  padding: 7px 9px;
  font-size: 6px;
}

html.install-preview-root .hpf-headline {
  margin-bottom: 9px;
}

html.install-preview-root .hpf-headline-sub {
  font-size: 6px;
}

html.install-preview-root .hpf-headline-main {
  font-size: 16px;
  line-height: 1.03;
}

html.install-preview-root .hpf-metrics-row {
  grid-template-columns: repeat(2, 1fr);
  margin: 9px 0 8px;
  padding: 8px;
  gap: 7px;
}

html.install-preview-root .hpf-mm-val {
  font-size: 10px;
}

html.install-preview-root .hpf-mm-chg,
html.install-preview-root .hpf-mm-name {
  font-size: 6px;
}

html.install-preview-root .hpf-illustrative-badge {
  margin: 0 0 6px;
  font-size: 6px;
}

html.install-preview-root .hpf-field {
  padding: 7px 0 6px;
}

html.install-preview-root .hpf-label {
  font-size: 6px;
}

html.install-preview-root .hpf-input {
  font-size: 11px;
}

html.install-preview-root .lead-form__consent {
  margin: 7px 0;
  font-size: 6px;
  line-height: 1.25;
}

html.install-preview-root .hpf-submit {
  min-height: 34px;
  border-radius: 10px;
  font-size: 7px;
  letter-spacing: 0.08em;
}

html.install-preview-root .hero-mobile-form {
  display: none !important;
}

html.install-phone-preview-root *,
html.install-phone-preview-root *::before,
html.install-phone-preview-root *::after {
  animation: none !important;
  transition-duration: 0s !important;
  scroll-behavior: auto !important;
}

html.install-phone-preview-root .hero-video-bg video {
  display: none !important;
}

html.install-phone-preview-root .hero-video-bg {
  opacity: 0.72;
  filter: saturate(0.72) contrast(1.08) brightness(0.68);
  background:
    linear-gradient(90deg, rgba(5, 9, 18, 0.74), rgba(5, 9, 18, 0.2) 44%, rgba(5, 9, 18, 0.78)),
    url("../img/hero-poster.jpg") center / cover no-repeat;
}

html.install-phone-preview-root #canvas-container {
  opacity: 0.18;
}

html.install-phone-preview-root .hpf-typed {
  position: relative;
  color: transparent !important;
}

html.install-phone-preview-root .hpf-typed::before {
  content: "анализирует рынок.";
  position: absolute;
  inset: 0 auto auto 0;
  color: var(--accent-bright);
  white-space: nowrap;
}

@keyframes installSheetIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes installIosSheet {
  0%, 36%, 100% { transform: translateY(110%); opacity: 0; }
  46%, 86% { transform: translateY(0); opacity: 1; }
}

@keyframes installAndroidPrompt {
  0%, 38%, 100% { transform: translateY(18px); opacity: 0; }
  48%, 86% { transform: translateY(0); opacity: 1; }
}

@keyframes installTapIos {
  0%, 9%, 100% { transform: translate(92px, 344px) scale(0.74); opacity: 0; }
  14%, 25% { transform: translate(92px, 344px) scale(1); opacity: 1; }
  34%, 50% { transform: translate(92px, 256px) scale(1); opacity: 1; }
  64%, 80% { transform: translate(92px, 300px) scale(1); opacity: 1; }
  88% { transform: translate(92px, 300px) scale(0.74); opacity: 0; }
}

@keyframes installTapAndroid {
  0%, 9%, 100% { transform: translate(174px, 12px) scale(0.74); opacity: 0; }
  14%, 28% { transform: translate(174px, 12px) scale(1); opacity: 1; }
  42%, 58% { transform: translate(92px, 300px) scale(1); opacity: 1; }
  72%, 84% { transform: translate(92px, 300px) scale(1); opacity: 1; }
  90% { transform: translate(92px, 300px) scale(0.74); opacity: 0; }
}

@keyframes installFingerIos {
  0%, 9%, 100% { transform: translate(94px, 336px) rotate(-12deg) scale(0.78); opacity: 0; }
  14%, 25% { transform: translate(94px, 336px) rotate(-12deg) scale(1); opacity: 1; }
  34%, 50% { transform: translate(94px, 248px) rotate(-12deg) scale(1); opacity: 1; }
  64%, 80% { transform: translate(94px, 292px) rotate(-12deg) scale(1); opacity: 1; }
  88% { transform: translate(94px, 292px) rotate(-12deg) scale(0.78); opacity: 0; }
}

@keyframes installFingerAndroid {
  0%, 9%, 100% { transform: translate(176px, 4px) rotate(-12deg) scale(0.78); opacity: 0; }
  14%, 28% { transform: translate(176px, 4px) rotate(-12deg) scale(1); opacity: 1; }
  42%, 84% { transform: translate(94px, 292px) rotate(-12deg) scale(1); opacity: 1; }
  90% { transform: translate(94px, 292px) rotate(-12deg) scale(0.78); opacity: 0; }
}

@keyframes installCalloutShare {
  0%, 10%, 35%, 100% { opacity: 0; }
  15%, 29% { opacity: 1; }
}

@keyframes installCalloutHome {
  0%, 40%, 90%, 100% { opacity: 0; }
  50%, 82% { opacity: 1; }
}

@keyframes installTargetPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
  50% { box-shadow: 0 0 0 8px rgba(45, 212, 191, 0), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
}

@keyframes installPinPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 0 5px rgba(45, 212, 191, 0.11),
      0 14px 28px rgba(0, 0, 0, 0.34);
  }
  50% {
    transform: scale(1.08);
    box-shadow:
      0 0 0 9px rgba(45, 212, 191, 0.04),
      0 16px 34px rgba(0, 0, 0, 0.4);
  }
}

@keyframes installRowFocus {
  0%, 40%, 60%, 100% { box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.16); }
  48%, 56% { box-shadow: inset 0 0 0 2px rgba(45, 212, 191, 0.52), 0 0 18px rgba(45, 212, 191, 0.16); }
}

@keyframes installButtonFocus {
  0%, 58%, 86%, 100% { filter: brightness(1); box-shadow: none; }
  66%, 80% { filter: brightness(1.12); box-shadow: 0 0 20px rgba(45, 212, 191, 0.18); }
}

@media (max-width: 760px) {
  .install-modal {
    align-items: flex-end;
    justify-content: center;
    padding: 0;
  }

  .install-modal__card {
    width: 100%;
    max-width: none;
    max-height: 92dvh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 26px 26px 0 0;
    animation: installSheetInMobile 360ms var(--spring);
  }

  .install-modal__header {
    min-height: 156px;
    padding: 24px 22px;
  }

  .install-modal__title {
    max-width: 270px;
  }

  .install-modal__subtitle {
    max-width: 250px;
    font-size: 13px;
  }

  .install-modal__header-phone {
    right: -8px;
    bottom: -58px;
    transform: rotate(-9deg) scale(0.78);
  }

  .install-modal__tabs {
    padding: 14px 16px;
  }

  .install-modal__content {
    padding: 16px;
  }

  .install-guide {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .install-guide__video {
    min-height: 486px;
    border-radius: 18px;
  }

  .install-guide__phone {
    transform: scale(0.94);
  }

  .install-guide__phone--site {
    width: 236px;
    max-width: none;
    height: 430px;
  }

  .install-modal__step {
    padding: 11px 0;
  }

  .install-modal__step-text {
    font-size: 14px;
  }

  .install-modal__dismiss-btn,
  .install-modal__android-btn {
    min-height: 56px;
  }
}

@media (max-width: 420px) {
  .install-modal__tab {
    font-size: 14px;
  }

  .install-guide__video {
    min-height: 458px;
  }

  .install-guide__phone {
    transform: scale(0.9);
  }

  .install-guide__phone--site {
    width: 236px;
    height: 430px;
  }
}

@keyframes installSheetInMobile {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Real iPhone Safari install guide */
.install-guide__ios-toolbar {
  left: 8px;
  right: 8px;
  bottom: 8px;
  height: 43px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  gap: 6px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.install-guide__toolbar-btn,
.install-guide__share-target {
  width: 32px;
  height: 32px;
  min-width: 32px;
  align-self: center;
  border: 1px solid rgba(184, 194, 214, 0.18);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(28, 36, 58, 0.98), rgba(8, 13, 25, 0.98));
  color: rgba(216, 225, 238, 0.9);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.install-guide__toolbar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.install-guide__toolbar-btn svg {
  width: 16px;
  height: 16px;
}

.install-guide__address-pill {
  min-width: 0;
  height: 38px;
  align-self: center;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border: 1px solid rgba(184, 194, 214, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(7, 12, 24, 0.98), rgba(4, 9, 19, 0.98));
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.install-guide__address-pill strong {
  overflow: hidden;
  color: rgba(245, 247, 250, 0.96);
  font-size: 9px;
  font-weight: 850;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.install-guide__tabs-icon {
  position: relative;
  width: 15px;
  height: 15px;
  justify-self: center;
  border: 1px solid rgba(216, 225, 238, 0.74);
  border-radius: 3px;
}

.install-guide__tabs-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(216, 225, 238, 0.44);
  border-radius: 3px;
  background: rgba(7, 12, 24, 0.92);
}

.install-guide__reload-icon {
  color: rgba(216, 225, 238, 0.88);
  font-size: 13px;
  text-align: center;
}

.install-guide__share-target {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-color: rgba(184, 194, 214, 0.2);
  background:
    linear-gradient(180deg, rgba(28, 36, 58, 0.98), rgba(10, 15, 28, 0.98));
  color: rgba(245, 247, 250, 0.9);
}

.install-guide__share-target span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.install-guide__pin--ios-share {
  left: auto;
  right: 9px;
  bottom: 37px;
}

.install-guide__callout--ios-share {
  left: auto;
  right: 8px;
  bottom: 75px;
  transform: translateY(6px);
  animation: installCalloutShareReal 10.8s ease-in-out infinite;
}

.install-guide__safari-menu {
  position: absolute;
  right: 7px;
  bottom: 56px;
  z-index: 6;
  width: min(190px, calc(100% - 22px));
  padding: 9px;
  border: 1px solid rgba(184, 194, 214, 0.18);
  border-radius: 20px;
  background:
    radial-gradient(80% 90% at 30% 0%, rgba(92, 114, 143, 0.22), transparent 62%),
    rgba(20, 29, 42, 0.94);
  color: rgba(245, 247, 250, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(16px) scale(0.94);
  transform-origin: right bottom;
  opacity: 0;
  pointer-events: none;
  animation: installSafariMenuReal 10.8s ease-in-out infinite;
}

.install-guide__safari-menu-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 32px;
  padding: 7px 8px;
  border-bottom: 1px solid rgba(245, 247, 250, 0.08);
  color: rgba(245, 247, 250, 0.92);
  font-size: 9px;
  line-height: 1.25;
}

.install-guide__safari-menu-row:last-child {
  border-bottom: 0;
}

.install-guide__safari-menu-row--share {
  border-radius: 13px;
  background: rgba(245, 247, 250, 0.08);
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.18);
  animation: installMenuShareFocus 10.8s ease-in-out infinite;
}

.install-guide__menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 7px;
  background: rgba(245, 247, 250, 0.09);
  color: rgba(245, 247, 250, 0.94);
  font-size: 11px;
}

.install-guide__safari-menu-row b,
.install-guide__sheet-action b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.95);
  color: #041016;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 0 5px rgba(45, 212, 191, 0.12);
}

.install-guide__share-sheet--ios17 {
  left: 10px;
  right: 10px;
  bottom: 9px;
  z-index: 7;
  max-height: calc(100% - 18px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 23px;
  background:
    linear-gradient(180deg, rgba(247, 249, 252, 0.97), rgba(232, 236, 241, 0.97));
  color: #111827;
  box-shadow:
    0 -18px 56px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(112%);
}

.install-guide__video--ios .install-guide__share-sheet--ios17 {
  animation: installIosSheetReal 10.8s var(--ease-out) infinite;
}

.install-guide__sheet-head {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 8px;
  padding: 12px 12px 7px;
}

.install-guide__sheet-app-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.94), rgba(139, 154, 178, 0.9));
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 36px;
  text-align: center;
}

.install-guide__sheet-site {
  min-width: 0;
}

.install-guide__sheet-site strong,
.install-guide__sheet-site span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.install-guide__sheet-site strong {
  color: #0f172a;
  font-size: 9px;
  font-weight: 780;
}

.install-guide__sheet-site span {
  margin-top: 2px;
  color: #64748b;
  font-size: 8px;
}

.install-guide__sheet-close {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
}

.install-guide__sheet-options {
  width: max-content;
  max-width: calc(100% - 24px);
  margin: 0 12px 8px 56px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-size: 8px;
  font-weight: 720;
}

.install-guide__sheet-apps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  padding: 7px 10px 9px;
  border-top: 1px solid rgba(15, 23, 42, 0.09);
  border-bottom: 1px solid rgba(15, 23, 42, 0.09);
}

.install-guide__sheet-apps span {
  min-width: 0;
  color: #334155;
  font-size: 6px;
  text-align: center;
  white-space: nowrap;
}

.install-guide__sheet-apps i {
  display: block;
  width: 25px;
  height: 25px;
  margin: 0 auto 3px;
  border-radius: 9px;
  background:
    radial-gradient(circle at 44% 36%, rgba(255, 255, 255, 0.92), transparent 24%),
    linear-gradient(135deg, #38bdf8, #22c55e);
  box-shadow: 0 5px 12px rgba(15, 23, 42, 0.12);
}

.install-guide__sheet-actions {
  margin: 8px 10px 10px;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.install-guide__sheet-action {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 7px 9px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  color: #0f172a;
  font-size: 8px;
  line-height: 1.2;
}

.install-guide__sheet-action:last-child {
  border-bottom: 0;
}

.install-guide__action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-size: 12px;
}

.install-guide__sheet-action--home {
  color: #020617;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.24), rgba(255, 255, 255, 0));
  animation: installHomeRowFocus 10.8s ease-in-out infinite;
}

.install-guide__callout--ios-home {
  left: 12px;
  right: 12px;
  bottom: 112px;
  max-width: none;
  text-align: center;
  transform: translateY(6px);
  animation: installCalloutHomeReal 10.8s ease-in-out infinite;
}

.install-guide__finger--ios {
  animation: installFingerIosReal 10.8s ease-in-out infinite;
}

.install-guide__tap--ios {
  animation: installTapIosReal 10.8s var(--ease-out) infinite;
}

@keyframes installSafariMenuReal {
  0%, 16%, 47%, 100% { opacity: 0; transform: translateY(16px) scale(0.94); }
  22%, 39% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes installIosSheetReal {
  0%, 43%, 100% { opacity: 0; transform: translateY(112%); }
  53%, 90% { opacity: 1; transform: translateY(0); }
}

@keyframes installFingerIosReal {
  0%, 8%, 100% { transform: translate(178px, 336px) rotate(-13deg) scale(0.78); opacity: 0; }
  13%, 23% { transform: translate(178px, 336px) rotate(-13deg) scale(1); opacity: 1; }
  31%, 41% { transform: translate(142px, 224px) rotate(-13deg) scale(1); opacity: 1; }
  55%, 83% { transform: translate(112px, 292px) rotate(-13deg) scale(1); opacity: 1; }
  91% { transform: translate(112px, 292px) rotate(-13deg) scale(0.78); opacity: 0; }
}

@keyframes installTapIosReal {
  0%, 8%, 100% { transform: translate(176px, 342px) scale(0.72); opacity: 0; }
  13%, 23% { transform: translate(176px, 342px) scale(1); opacity: 1; }
  31%, 41% { transform: translate(140px, 230px) scale(1); opacity: 1; }
  55%, 83% { transform: translate(110px, 298px) scale(1); opacity: 1; }
  91% { transform: translate(110px, 298px) scale(0.72); opacity: 0; }
}

@keyframes installCalloutShareReal {
  0%, 9%, 31%, 100% { opacity: 0; }
  13%, 25% { opacity: 1; }
}

@keyframes installCalloutHomeReal {
  0%, 48%, 92%, 100% { opacity: 0; }
  57%, 84% { opacity: 1; }
}

@keyframes installMenuShareFocus {
  0%, 24%, 44%, 100% { box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.18); }
  30%, 39% { box-shadow: inset 0 0 0 2px rgba(45, 212, 191, 0.55), 0 0 22px rgba(45, 212, 191, 0.14); }
}

@keyframes installHomeRowFocus {
  0%, 52%, 86%, 100% { box-shadow: none; filter: brightness(1); }
  60%, 78% { box-shadow: inset 0 0 0 2px rgba(45, 212, 191, 0.58), 0 0 22px rgba(45, 212, 191, 0.18); filter: brightness(1.02); }
}

@media (max-width: 760px) {
  .install-modal {
    align-items: flex-end;
    padding: 0;
  }

  .install-modal__card {
    max-height: calc(100dvh - max(10px, env(safe-area-inset-top)));
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }

  .install-modal__header {
    min-height: 232px;
    padding: 30px 22px 26px;
    overflow: clip;
  }

  .install-modal__title {
    max-width: 285px;
    font-size: clamp(43px, 12.4vw, 54px);
    line-height: 0.98;
  }

  .install-modal__subtitle {
    max-width: 280px;
    font-size: 14px;
  }

  .install-modal__header-phone {
    right: -10px;
    bottom: -38px;
    transform: rotate(-9deg) scale(0.66);
  }

  .install-modal__close-btn {
    top: 18px;
    right: 18px;
  }

  .install-guide__video {
    min-height: 522px;
  }
}

@media (max-width: 420px) {
  .install-modal__header {
    min-height: 224px;
    padding-top: 28px;
  }

  .install-modal__title {
    max-width: 258px;
    font-size: clamp(39px, 12vw, 48px);
  }

  .install-modal__subtitle {
    max-width: 246px;
    font-size: 13px;
  }

  .install-guide__video {
    min-height: 504px;
  }

  .install-guide__phone {
    transform: scale(0.88);
  }
}

/* ═══════════════════════════════════════════════════════════
   2026-05-16 · Institutional Background System
   BlackRock-inspired: graphite base, document surfaces, restrained signal.
   This replaces the repeated decorative grids with section-specific backdrops.
   ═══════════════════════════════════════════════════════════ */
:root {
  --br-black: #05070c;
  --br-ink: #080b12;
  --br-graphite: #10131d;
  --br-graphite-2: #151b2a;
  --br-slate: #222938;
  --br-line: rgba(196, 205, 222, 0.14);
  --br-line-soft: rgba(196, 205, 222, 0.075);
  --br-smoke: #dce3ef;
  --br-linen: #f2efe8;
  --br-signal: #2dd4bf;
  --br-cerulean: #1da1f2;
}

body {
  background:
    linear-gradient(180deg, #05070c 0%, #080b12 44%, #05070c 100%);
}

#hero,
#technology,
#live-impact,
#about,
#how-it-works,
#calculator.yield-calculator,
#faq.faq-section,
#lead-capture,
#footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--br-black);
  border-color: var(--br-line-soft);
}

#hero .container,
#technology .container,
#live-impact .container,
#about .container,
#how-it-works .container,
#calculator .container,
#faq .container,
#lead-capture .container,
#footer .container {
  position: relative;
  z-index: 2;
}

.tech-bg-grid,
.yield-calc-bg,
.faq-bg-grid,
.lcs-grid,
.hpf-grid-overlay,
.feature-card::before,
.timeline-item::after,
.calc-card::before,
.calc-reinvest-panel::before,
.faq-panel::before,
.cause-node::after,
.news-thumb-frame::after {
  background-image: none !important;
}

.tech-bg-grid,
.yield-calc-bg,
.faq-bg-grid,
.lcs-grid,
.hpf-grid-overlay {
  opacity: 0 !important;
}

#hero {
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.98) 0%, rgba(5, 7, 12, 0.9) 45%, rgba(9, 13, 22, 0.82) 72%, rgba(5, 7, 12, 0.98) 100%),
    linear-gradient(180deg, #05070c 0%, #0a0f19 52%, #05070c 100%);
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0.02) 0%, rgba(5, 7, 12, 0.54) 72%, #05070c 100%),
    linear-gradient(110deg, transparent 0 14%, rgba(242, 239, 232, 0.055) 14.08% 14.18%, transparent 14.26% 100%),
    linear-gradient(90deg, transparent 0 58%, rgba(196, 205, 222, 0.045) 58% 58.08%, transparent 58.16% 100%);
}

#hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 12, 0.94));
}

.hero-video-bg {
  opacity: 0.14;
  filter: grayscale(0.55) saturate(0.76) contrast(1.18);
}

#canvas-container {
  opacity: 0.45;
}

.hero-panel--form,
.lcs-panel,
.amodal-box,
.hero-mobile-form {
  --form-shell: rgba(17, 21, 32, 0.95);
  --form-shell-deep: rgba(7, 10, 18, 0.98);
  --form-line: rgba(196, 205, 222, 0.18);
  --form-line-strong: rgba(196, 205, 222, 0.30);
  --form-field: rgba(5, 8, 16, 0.56);
  border-radius: 14px;
  background:
    linear-gradient(152deg, rgba(242, 239, 232, 0.08) 0%, rgba(242, 239, 232, 0.028) 19%, transparent 42%),
    linear-gradient(180deg, rgba(25, 31, 46, 0.96) 0%, var(--form-shell) 42%, var(--form-shell-deep) 100%);
  box-shadow:
    0 30px 88px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-panel--form::before,
.lcs-panel::before,
.amodal-box::before,
.hero-mobile-form::before {
  background:
    linear-gradient(180deg, rgba(196, 205, 222, 0.07), transparent 34%),
    linear-gradient(115deg, transparent 0 54%, rgba(196, 205, 222, 0.05) 54.1% 54.4%, transparent 54.5% 100%);
  opacity: 0.72;
}

.hero-panel-header,
.lcs-panel-hdr,
.amodal-hdr {
  background:
    linear-gradient(180deg, rgba(242, 239, 232, 0.06), rgba(255, 255, 255, 0.014)),
    rgba(16, 20, 31, 0.72);
  border-bottom-color: rgba(196, 205, 222, 0.14);
}

#technology {
  padding: clamp(88px, 8vw, 136px) 0;
  background:
    linear-gradient(180deg, #05070c 0%, #0a0e17 38%, #070a11 100%);
  border-top: 1px solid rgba(196, 205, 222, 0.08);
  border-bottom: 1px solid rgba(196, 205, 222, 0.08);
}

#technology::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(242, 239, 232, 0.035) 0 1px, transparent 1px 100%) 8% 0 / 34% 100% no-repeat,
    linear-gradient(148deg, transparent 0 46%, rgba(196, 205, 222, 0.075) 46.1% 46.22%, transparent 46.32% 100%),
    linear-gradient(180deg, rgba(196, 205, 222, 0.04), transparent 34%, transparent 72%, rgba(196, 205, 222, 0.025));
}

#technology::after {
  content: "";
  position: absolute;
  top: 13%;
  right: -7vw;
  z-index: 0;
  width: min(760px, 58vw);
  height: 68%;
  pointer-events: none;
  border: 1px solid rgba(196, 205, 222, 0.09);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background:
    linear-gradient(145deg, rgba(29, 161, 242, 0.05), transparent 38%),
    linear-gradient(180deg, rgba(242, 239, 232, 0.035), rgba(196, 205, 222, 0.018));
  transform: skewX(-7deg);
  opacity: 0.82;
}

#technology .feature-card,
#technology .timeline-item,
.news-panel,
.trades-panel,
.chart-panel,
.calc-card,
.faq-panel,
.lcs-panel,
.hero-panel--form,
.footer-app-btn {
  border-color: rgba(196, 205, 222, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(150deg, rgba(242, 239, 232, 0.072), rgba(242, 239, 232, 0.018) 26%, transparent 52%),
    linear-gradient(180deg, rgba(21, 26, 40, 0.96), rgba(9, 12, 22, 0.96));
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.065);
}

#technology .feature-card::after,
#technology .timeline::before,
.faq-panel::after,
.calc-card::after {
  background: linear-gradient(90deg, transparent, rgba(242, 239, 232, 0.42), rgba(45, 212, 191, 0.26), transparent);
}

#technology .feature-icon-wrap,
.step-icon,
.cause-icon,
.footer-app-btn__icon {
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(242, 239, 232, 0.105), rgba(242, 239, 232, 0.035)),
    rgba(7, 10, 18, 0.64);
  border-color: rgba(196, 205, 222, 0.18);
}

#technology .timeline-item {
  border-radius: 10px;
}

#live-impact {
  padding: clamp(92px, 8vw, 136px) 0;
  background:
    linear-gradient(180deg, #080b13 0%, #0d1220 44%, #070a11 100%);
}

#live-impact::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 28%;
  z-index: 0;
  height: 460px;
  pointer-events: none;
  border-top: 1px solid rgba(196, 205, 222, 0.08);
  border-bottom: 1px solid rgba(196, 205, 222, 0.08);
  background:
    linear-gradient(90deg, transparent 0%, rgba(29, 161, 242, 0.045) 48%, transparent 100%),
    linear-gradient(180deg, rgba(196, 205, 222, 0.035), rgba(255, 255, 255, 0.012));
}

#live-impact::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 33%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 12, 0.86));
}

#live-impact .dashboard-terminal,
#live-impact .chart-row {
  position: relative;
  z-index: 2;
}

.news-panel-header,
.trades-panel-header,
.chart-panel-header {
  background:
    linear-gradient(180deg, rgba(242, 239, 232, 0.042), rgba(255, 255, 255, 0.012));
}

.news-item,
.trade-card,
.calc-col,
.calc-profit-strip,
.calc-reinvest-panel,
.calc-breakdown-item,
.faq-item {
  background:
    linear-gradient(150deg, rgba(242, 239, 232, 0.048), rgba(255, 255, 255, 0.012) 36%, transparent 74%),
    rgba(17, 22, 36, 0.86);
  border-color: rgba(196, 205, 222, 0.12);
}

.news-thumb-frame {
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(45, 212, 191, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(18, 25, 38, 0.96), rgba(6, 9, 17, 0.98));
}

.cause-chain {
  background:
    linear-gradient(180deg, rgba(242, 239, 232, 0.03), rgba(242, 239, 232, 0.008)),
    rgba(8, 11, 20, 0.64);
}

#about {
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 1) 0%, rgba(7, 10, 18, 0.98) 47%, rgba(11, 15, 25, 0.98) 100%);
}

#about::before {
  opacity: 1;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(196, 205, 222, 0.07) 48% 48.06%, transparent 48.12% 100%),
    linear-gradient(150deg, transparent 0 58%, rgba(242, 239, 232, 0.05) 58.1% 58.22%, transparent 58.32% 100%),
    linear-gradient(180deg, rgba(196, 205, 222, 0.035), transparent 40%);
  mask-image: none;
}

#about .about-visual--institutional::before {
  background:
    linear-gradient(120deg, rgba(242, 239, 232, 0.06), transparent 28%),
    linear-gradient(180deg, rgba(196, 205, 222, 0.045), transparent 50%);
}

#how-it-works {
  background:
    linear-gradient(180deg, #070a11 0%, #111621 52%, #070a11 100%);
  border-top: 1px solid rgba(196, 205, 222, 0.075);
  border-bottom: 1px solid rgba(196, 205, 222, 0.075);
}

#how-it-works::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(242, 239, 232, 0.035) 0 1px, transparent 1px 100%) 50% 0 / 1px 100% no-repeat,
    linear-gradient(180deg, rgba(242, 239, 232, 0.038), transparent 42%);
}

#how-it-works .step-card,
#how-it-works .how-cta-bar,
.how-flow-bar {
  border-color: rgba(196, 205, 222, 0.14);
  border-radius: 10px;
  background:
    linear-gradient(155deg, rgba(242, 239, 232, 0.058), rgba(255, 255, 255, 0.012) 46%),
    rgba(13, 17, 28, 0.88);
}

#calculator.yield-calculator {
  background:
    linear-gradient(180deg, #05070c 0%, #0e121c 45%, #05070c 100%);
}

#calculator.yield-calculator::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 22%, rgba(242, 239, 232, 0.04) 22% 22.06%, transparent 22.12% 78%, rgba(242, 239, 232, 0.035) 78% 78.06%, transparent 78.12% 100%),
    linear-gradient(180deg, rgba(196, 205, 222, 0.045), transparent 38%, rgba(45, 212, 191, 0.025) 70%, transparent 100%);
}

#calculator .calc-card {
  max-width: 760px;
  border-radius: 12px;
  background:
    linear-gradient(160deg, rgba(242, 239, 232, 0.08), rgba(242, 239, 232, 0.022) 28%, transparent 58%),
    linear-gradient(180deg, rgba(24, 29, 43, 0.97), rgba(8, 11, 20, 0.98));
}

.calc-mini-chart,
.chart-stage::before {
  background:
    linear-gradient(180deg, rgba(196, 205, 222, 0.035), rgba(255, 255, 255, 0.012));
}

#faq.faq-section {
  background:
    linear-gradient(180deg, #070a11 0%, #0c1019 46%, #05070c 100%);
}

#faq.faq-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(242, 239, 232, 0.035) 12% 12.06%, transparent 12.12% 88%, rgba(242, 239, 232, 0.03) 88% 88.06%, transparent 88.12% 100%),
    linear-gradient(180deg, rgba(196, 205, 222, 0.04), transparent 40%);
}

#faq.faq-section::after {
  top: auto;
  bottom: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 205, 222, 0.11), transparent);
}

.faq-panel {
  border-radius: 12px;
}

.faq-list {
  background: rgba(196, 205, 222, 0.09);
}

.faq-item {
  box-shadow: none;
}

.faq-item[open] {
  background:
    linear-gradient(150deg, rgba(45, 212, 191, 0.072), rgba(242, 239, 232, 0.02) 44%, transparent 78%),
    rgba(17, 22, 36, 0.92);
}

#lead-capture {
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 1) 0%, rgba(8, 11, 19, 0.98) 54%, rgba(12, 17, 27, 0.98) 100%);
}

#lead-capture::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 39%, rgba(196, 205, 222, 0.07) 39% 39.07%, transparent 39.14% 100%),
    linear-gradient(142deg, transparent 0 57%, rgba(242, 239, 232, 0.055) 57.08% 57.18%, transparent 57.28% 100%),
    linear-gradient(180deg, rgba(29, 161, 242, 0.035), transparent 35%, rgba(45, 212, 191, 0.03) 100%);
}

.lcs-glow,
.lcs-panel-glow,
.amodal-glow {
  display: none;
}

#footer {
  background:
    linear-gradient(180deg, #0a0d16 0%, #080b13 58%, #05070c 100%);
  border-top: 1px solid rgba(196, 205, 222, 0.1);
}

#footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(242, 239, 232, 0.028) 0 1px, transparent 1px 100%) 18% 0 / 1px 100% no-repeat,
    linear-gradient(90deg, rgba(242, 239, 232, 0.023) 0 1px, transparent 1px 100%) 64% 0 / 1px 100% no-repeat,
    linear-gradient(180deg, rgba(242, 239, 232, 0.04), transparent 36%);
}

.footer-brand-row,
.footer-bottom {
  border-color: rgba(196, 205, 222, 0.12);
}

@media (max-width: 980px) {
  #technology::after,
  #live-impact::before,
  #about::before,
  #lead-capture::before {
    opacity: 0.54;
  }

  #technology .feature-card,
  #technology .timeline-item,
  .calc-card,
  .faq-panel,
  .lcs-panel,
  .hero-panel--form {
    border-radius: 12px;
  }
}

@media (max-width: 640px) {
  #hero::before,
  #technology::before,
  #calculator.yield-calculator::before,
  #faq.faq-section::before,
  #lead-capture::before,
  #footer::before {
    background:
      linear-gradient(180deg, rgba(196, 205, 222, 0.032), transparent 44%, rgba(45, 212, 191, 0.018) 100%);
  }

  #technology::after,
  #live-impact::before,
  #how-it-works::before {
    display: none;
  }

  .hero-panel--form,
  .lcs-panel,
  .amodal-box,
  .hero-mobile-form,
  #technology .feature-card,
  #technology .timeline-item,
  .news-panel,
  .trades-panel,
  .calc-card,
  .faq-panel {
    border-radius: 12px;
  }

  #technology,
  #live-impact,
  #calculator.yield-calculator,
  #faq.faq-section,
  #lead-capture {
    background:
      linear-gradient(180deg, #060910 0%, #0d111b 52%, #05070c 100%);
  }
}

/* ═══════════════════════════════════════════════════════════
   2026-05-16 · Background System Refinement
   Fewer visible rails, more institutional matte fields.
   ═══════════════════════════════════════════════════════════ */
#hero::before {
  background:
    radial-gradient(ellipse at 68% 30%, rgba(196, 205, 222, 0.075), transparent 44%),
    radial-gradient(ellipse at 14% 78%, rgba(45, 212, 191, 0.035), transparent 38%),
    linear-gradient(118deg, rgba(242, 239, 232, 0.032) 0%, transparent 27%, transparent 72%, rgba(196, 205, 222, 0.026) 100%),
    linear-gradient(180deg, rgba(5, 7, 12, 0.02) 0%, rgba(5, 7, 12, 0.58) 74%, #05070c 100%);
}

.hero-panel--form::before,
.lcs-panel::before,
.amodal-box::before,
.hero-mobile-form::before {
  background:
    radial-gradient(ellipse at 18% 0%, rgba(242, 239, 232, 0.06), transparent 42%),
    radial-gradient(ellipse at 82% 18%, rgba(196, 205, 222, 0.045), transparent 36%),
    linear-gradient(180deg, rgba(196, 205, 222, 0.045), transparent 42%);
  opacity: 0.62;
}

#technology::before {
  background:
    radial-gradient(ellipse at 16% 20%, rgba(196, 205, 222, 0.05), transparent 42%),
    radial-gradient(ellipse at 86% 82%, rgba(45, 212, 191, 0.035), transparent 42%),
    linear-gradient(125deg, transparent 0%, rgba(196, 205, 222, 0.035) 40%, rgba(242, 239, 232, 0.018) 56%, transparent 78%),
    linear-gradient(180deg, rgba(196, 205, 222, 0.032), transparent 36%, rgba(196, 205, 222, 0.018) 100%);
}

#technology::after {
  right: -18vw;
  width: min(820px, 62vw);
  border-color: rgba(196, 205, 222, 0.055);
  background:
    radial-gradient(ellipse at 35% 22%, rgba(242, 239, 232, 0.05), transparent 42%),
    linear-gradient(145deg, rgba(29, 161, 242, 0.028), transparent 45%),
    linear-gradient(180deg, rgba(242, 239, 232, 0.018), rgba(196, 205, 222, 0.01));
  opacity: 0.42;
}

#live-impact::before {
  top: 30%;
  height: 420px;
  border-color: rgba(196, 205, 222, 0.06);
  background:
    radial-gradient(ellipse at 24% 50%, rgba(196, 205, 222, 0.035), transparent 52%),
    radial-gradient(ellipse at 74% 42%, rgba(45, 212, 191, 0.026), transparent 48%),
    linear-gradient(180deg, rgba(196, 205, 222, 0.024), rgba(255, 255, 255, 0.006));
}

#about::before {
  opacity: 1;
  background:
    radial-gradient(ellipse at 73% 12%, rgba(196, 205, 222, 0.055), transparent 42%),
    radial-gradient(ellipse at 20% 84%, rgba(45, 212, 191, 0.03), transparent 44%),
    linear-gradient(128deg, transparent 0%, rgba(242, 239, 232, 0.03) 52%, rgba(242, 239, 232, 0.012) 62%, transparent 82%),
    linear-gradient(180deg, rgba(196, 205, 222, 0.026), transparent 42%);
}

#about .about-visual--institutional::before {
  background:
    radial-gradient(ellipse at 18% 4%, rgba(242, 239, 232, 0.065), transparent 42%),
    radial-gradient(ellipse at 84% 18%, rgba(196, 205, 222, 0.05), transparent 36%),
    linear-gradient(180deg, rgba(196, 205, 222, 0.028), transparent 54%);
}

#how-it-works::before {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(196, 205, 222, 0.045), transparent 44%),
    linear-gradient(180deg, rgba(242, 239, 232, 0.024), transparent 42%);
}

#calculator.yield-calculator::before {
  background:
    radial-gradient(ellipse at 50% 20%, rgba(196, 205, 222, 0.05), transparent 45%),
    radial-gradient(ellipse at 70% 72%, rgba(45, 212, 191, 0.028), transparent 44%),
    linear-gradient(180deg, rgba(196, 205, 222, 0.028), transparent 38%, rgba(45, 212, 191, 0.014) 78%, transparent 100%);
}

#faq.faq-section::before {
  background:
    radial-gradient(ellipse at 52% 0%, rgba(196, 205, 222, 0.052), transparent 42%),
    radial-gradient(ellipse at 18% 74%, rgba(45, 212, 191, 0.024), transparent 42%),
    linear-gradient(180deg, rgba(196, 205, 222, 0.025), transparent 44%);
}

#lead-capture::before {
  background:
    radial-gradient(ellipse at 64% 10%, rgba(196, 205, 222, 0.06), transparent 42%),
    radial-gradient(ellipse at 16% 70%, rgba(29, 161, 242, 0.032), transparent 42%),
    linear-gradient(138deg, transparent 0%, rgba(242, 239, 232, 0.03) 48%, rgba(242, 239, 232, 0.012) 61%, transparent 82%),
    linear-gradient(180deg, rgba(29, 161, 242, 0.024), transparent 40%, rgba(45, 212, 191, 0.018) 100%);
}

#footer::before {
  background:
    radial-gradient(ellipse at 18% 0%, rgba(196, 205, 222, 0.04), transparent 42%),
    radial-gradient(ellipse at 78% 18%, rgba(242, 239, 232, 0.025), transparent 40%),
    linear-gradient(180deg, rgba(242, 239, 232, 0.025), transparent 38%);
}

#technology .feature-card,
#technology .timeline-item,
.news-panel,
.trades-panel,
.chart-panel,
.calc-card,
.faq-panel,
.lcs-panel,
.hero-panel--form,
.footer-app-btn {
  background:
    linear-gradient(150deg, rgba(242, 239, 232, 0.058), rgba(242, 239, 232, 0.015) 24%, transparent 52%),
    linear-gradient(180deg, rgba(20, 25, 38, 0.965), rgba(8, 11, 20, 0.965));
}

/* ═══════════════════════════════════════════════════════════
   2026-05-16 · Technology Timeline Extension
   Six milestones, same visual footprint.
   ═══════════════════════════════════════════════════════════ */
.timeline.timeline-compact {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(22px, 2vw, 30px);
  padding-top: 28px;
}

.timeline.timeline-compact::before {
  left: 3%;
  right: 3%;
  top: 13px;
  background: linear-gradient(90deg, transparent, rgba(184, 194, 214, 0.22), rgba(45, 212, 191, 0.2), rgba(184, 194, 214, 0.22), transparent);
}

.timeline.timeline-compact .timeline-item {
  min-height: 176px;
  margin: 0 5px;
  padding: 20px 18px 18px;
  border-radius: 10px;
}

.timeline.timeline-compact .timeline-item--micro {
  background:
    linear-gradient(150deg, rgba(45, 212, 191, 0.045), rgba(242, 239, 232, 0.014) 34%, transparent 64%),
    linear-gradient(180deg, rgba(17, 22, 35, 0.94), rgba(8, 11, 20, 0.965));
}

.timeline.timeline-compact .timeline-item::before {
  left: 18px;
  top: -27px;
  width: 10px;
  height: 10px;
}

.timeline.timeline-compact .timeline-year {
  margin-bottom: 13px;
  font-size: 12px;
}

.timeline.timeline-compact .timeline-title {
  font-size: clamp(13px, 0.86vw, 15px);
  line-height: 1.28;
  margin-bottom: 8px;
}

.timeline.timeline-compact .timeline-body {
  font-size: clamp(11.5px, 0.76vw, 13px);
  line-height: 1.52;
}

@media (max-width: 1280px) {
  .timeline.timeline-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 28px;
  }

  .timeline.timeline-compact::before {
    display: none;
  }

  .timeline.timeline-compact .timeline-item::before {
    top: 18px;
    left: auto;
    right: 18px;
  }
}

@media (max-width: 768px) {
  .timeline.timeline-compact {
    grid-template-columns: 1fr;
    gap: var(--s4);
    padding-top: 0;
  }

  .timeline.timeline-compact .timeline-item {
    min-height: 0;
    margin: 0 0 0 22px;
    padding: 20px;
  }

  .timeline.timeline-compact .timeline-item::before {
    left: -25px;
    right: auto;
    top: 24px;
  }
}

/* ═══════════════════════════════════════════════════════════
   2026-05-16 · BlackRock-Inspired Institutional Cause Chain
   Restrained motion, graphite base, precise data-flow accents.
   ═══════════════════════════════════════════════════════════ */
:root {
  --br-vermilion: #ff4713;
  --br-cerulean-soft: #7fc7ef;
  --br-motion-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

.cause-chain {
  gap: clamp(10px, 1.05vw, 16px);
  padding: 18px clamp(14px, 1.5vw, 22px) 20px;
  border-top: 1px solid rgba(196, 205, 222, 0.12);
  background:
    linear-gradient(180deg, rgba(242, 239, 232, 0.035), rgba(242, 239, 232, 0.006)),
    linear-gradient(90deg, rgba(9, 12, 20, 0.82), rgba(14, 18, 29, 0.92), rgba(9, 12, 20, 0.82));
}

.cause-chain::before {
  z-index: 0;
  inset: 0;
  opacity: 0.58;
  background:
    linear-gradient(90deg, transparent 0%, rgba(196, 205, 222, 0.1) 32%, rgba(127, 199, 239, 0.22) 48%, rgba(255, 71, 19, 0.1) 51%, rgba(196, 205, 222, 0.1) 68%, transparent 100%);
  transform: translateX(-70%);
  animation: causeBrTrace 10.5s var(--br-motion-ease) infinite;
}

.cause-node {
  flex: 0 0 clamp(78px, 6.1vw, 96px);
  max-width: 96px;
  min-height: 86px;
  gap: 9px;
  padding: 12px 8px 11px;
  border-radius: 8px;
  border-color: rgba(196, 205, 222, 0.18);
  background:
    linear-gradient(180deg, rgba(242, 239, 232, 0.052), rgba(242, 239, 232, 0.012)),
    rgba(8, 11, 20, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(242, 239, 232, 0.055),
    0 14px 34px rgba(0, 0, 0, 0.22);
  transition:
    transform 420ms var(--br-motion-ease),
    border-color 420ms var(--br-motion-ease),
    background 420ms var(--br-motion-ease),
    box-shadow 420ms var(--br-motion-ease);
}

.cause-node::before {
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(90deg, var(--br-vermilion), var(--br-cerulean-soft) 48%, transparent 82%) top left / 0% 1px no-repeat,
    linear-gradient(180deg, rgba(242, 239, 232, 0.058), transparent 42%);
  transform: none;
  transition: opacity 420ms var(--br-motion-ease);
}

.cause-node::after {
  display: none;
}

.cause-node:hover,
.cause-node.active {
  transform: translateY(-1px);
  border-color: rgba(220, 227, 239, 0.34);
  background:
    linear-gradient(180deg, rgba(242, 239, 232, 0.074), rgba(242, 239, 232, 0.014)),
    rgba(10, 14, 23, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(242, 239, 232, 0.09),
    0 16px 42px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(127, 199, 239, 0.04);
}

.cause-node.active::before {
  opacity: 1;
  animation: causeBrEdge 1.25s var(--br-motion-ease) forwards;
}

.cause-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: rgba(220, 227, 239, 0.86);
  background:
    linear-gradient(180deg, rgba(242, 239, 232, 0.075), rgba(242, 239, 232, 0.015)),
    rgba(5, 8, 15, 0.9);
  border-color: rgba(196, 205, 222, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(242, 239, 232, 0.06),
    0 8px 18px rgba(0, 0, 0, 0.2);
}

.cause-icon::after {
  display: none;
}

.cause-node.active .cause-icon::after {
  animation: none;
}

.cause-icon svg {
  width: 32px;
  height: 32px;
}

.cause-icon-frame,
.cause-icon-grid,
.cause-icon-axis,
.cause-icon-line,
.cause-icon-shutter,
.cause-risk-band,
.cause-signal-check,
.cause-profit-grid,
.cause-profit-chart,
.cause-profit-arrow {
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.cause-icon-frame {
  stroke: rgba(196, 205, 222, 0.34);
  stroke-width: 1.15;
}

.cause-icon-grid,
.cause-icon-axis,
.cause-profit-grid {
  stroke: rgba(196, 205, 222, 0.28);
  stroke-width: 1;
}

.cause-icon-line,
.cause-icon-shutter,
.cause-signal-check,
.cause-profit-chart,
.cause-profit-arrow {
  stroke: rgba(220, 227, 239, 0.74);
  stroke-width: 1.55;
}

.cause-risk-band {
  stroke: rgba(255, 71, 19, 0.68);
  stroke-width: 1.1;
  stroke-dasharray: 3 3;
}

.cause-profit-fill {
  fill: rgba(127, 199, 239, 0.08);
}

.cause-icon-marker,
.cause-icon-dot,
.cause-ai-core,
.cause-ai-node {
  fill: var(--br-cerulean-soft);
  filter: none;
}

.cause-icon-marker-muted {
  fill: rgba(196, 205, 222, 0.56);
}

.cause-node.active .cause-icon {
  color: var(--br-smoke);
  border-color: rgba(127, 199, 239, 0.32);
}

.cause-node.active .cause-icon-frame {
  stroke: rgba(242, 239, 232, 0.5);
}

.cause-node.active .cause-icon svg {
  animation: none;
}

.cause-node.active .cause-icon-line,
.cause-node.active .cause-icon-shutter,
.cause-node.active .cause-factor-path,
.cause-node.active .cause-signal-wave,
.cause-node.active .cause-signal-check,
.cause-node.active .cause-profit-chart,
.cause-node.active .cause-profit-arrow {
  stroke-dasharray: 46;
  stroke-dashoffset: 46;
  animation: causeBrDraw 1.05s var(--br-motion-ease) forwards;
}

.cause-node.active .cause-icon-marker {
  animation: causeBrMarker 1.35s var(--br-motion-ease) forwards;
}

.cause-node.active .cause-risk-band {
  animation: causeBrRiskGate 1.45s var(--br-motion-ease) forwards;
}

.cause-label {
  color: rgba(196, 205, 222, 0.62);
  letter-spacing: 0.12em;
  font-size: 9px;
}

.cause-node.active .cause-label {
  color: var(--br-smoke);
}

.cause-arrow {
  flex: 0 0 clamp(22px, 2.1vw, 32px);
  width: clamp(22px, 2.1vw, 32px);
  color: rgba(196, 205, 222, 0.5);
}

.cause-arrow-line {
  right: 8px;
  height: 1px;
  background: linear-gradient(90deg, rgba(196, 205, 222, 0.18), rgba(196, 205, 222, 0.4));
}

.cause-arrow-line::after {
  background: linear-gradient(90deg, transparent, rgba(127, 199, 239, 0.9), rgba(255, 71, 19, 0.46), transparent);
  transform: translateX(-110%);
}

.cause-arrow-head {
  width: 9px;
  height: 9px;
  border-top-color: rgba(196, 205, 222, 0.42);
  border-right-color: rgba(196, 205, 222, 0.42);
  filter: none;
}

.cause-arrow.active .cause-arrow-line {
  background: linear-gradient(90deg, rgba(196, 205, 222, 0.24), rgba(127, 199, 239, 0.38));
}

.cause-arrow.active .cause-arrow-line::after {
  animation: causeBrArrow 1.4s var(--br-motion-ease) forwards;
}

.cause-arrow.active .cause-arrow-head {
  border-color: rgba(127, 199, 239, 0.82);
  filter: none;
}

@keyframes causeBrTrace {
  0%, 16% { transform: translateX(-88%); opacity: 0; }
  26%, 62% { opacity: 0.58; }
  80%, 100% { transform: translateX(88%); opacity: 0; }
}

@keyframes causeBrEdge {
  from { background-size: 0% 1px, auto; }
  to { background-size: 100% 1px, auto; }
}

@keyframes causeBrDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes causeBrMarker {
  0% { opacity: 0.38; transform: scale(0.82); }
  45% { opacity: 1; transform: scale(1); }
  100% { opacity: 0.84; transform: scale(0.94); }
}

@keyframes causeBrRiskGate {
  0% { stroke-dashoffset: 12; opacity: 0.42; }
  100% { stroke-dashoffset: 0; opacity: 0.82; }
}

@keyframes causeBrArrow {
  to { transform: translateX(110%); }
}

@media (prefers-reduced-motion: reduce) {
  .cause-chain::before,
  .cause-node.active::before,
  .cause-node.active .cause-icon-line,
  .cause-node.active .cause-icon-shutter,
  .cause-node.active .cause-factor-path,
  .cause-node.active .cause-signal-wave,
  .cause-node.active .cause-signal-check,
  .cause-node.active .cause-profit-chart,
  .cause-node.active .cause-profit-arrow,
  .cause-node.active .cause-icon-marker,
  .cause-node.active .cause-risk-band,
  .cause-arrow.active .cause-arrow-line::after {
    animation: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   2026-05-16 · Live Impact Background Hotfix
   Remove the old striped/rail background from the live analytics block.
   ═══════════════════════════════════════════════════════════ */
#live-impact {
  background:
    radial-gradient(ellipse at 74% 18%, rgba(127, 199, 239, 0.035), transparent 42%),
    radial-gradient(ellipse at 18% 76%, rgba(45, 212, 191, 0.024), transparent 40%),
    linear-gradient(180deg, #060910 0%, #0a0e17 48%, #05070c 100%) !important;
}

#live-impact::before {
  display: none !important;
  background: none !important;
}

#live-impact::after {
  background: linear-gradient(180deg, transparent, rgba(5, 7, 12, 0.82)) !important;
}

/* ═══════════════════════════════════════════════════════════
   2026-05-17 · Premium Institutional Workflow
   Fixed edge clipping, replaced glyphs, and restrained the palette/motion.
   ═══════════════════════════════════════════════════════════ */
:root {
  --cause-platinum: #dce4ef;
  --cause-muted: #8795aa;
  --cause-steel: #96acc5;
  --cause-ice: #b9cade;
  --cause-line: rgba(150, 172, 197, 0.54);
}

#cause-chain.cause-chain {
  display: grid;
  grid-template-columns:
    minmax(72px, 88px) minmax(14px, 1fr)
    minmax(72px, 88px) minmax(14px, 1fr)
    minmax(72px, 88px) minmax(14px, 1fr)
    minmax(72px, 88px);
  justify-content: stretch;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  gap: clamp(5px, 0.7vw, 10px);
  padding: 14px clamp(14px, 1.7vw, 24px) 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 0%, rgba(185, 202, 222, 0.055), transparent 34%),
    linear-gradient(180deg, rgba(236, 242, 249, 0.045), rgba(236, 242, 249, 0.01)),
    linear-gradient(90deg, rgba(6, 8, 13, 0.96), rgba(13, 17, 27, 0.94), rgba(6, 8, 13, 0.96)) !important;
}

#cause-chain.cause-chain::before {
  opacity: 0.42;
  background:
    linear-gradient(90deg, transparent, rgba(150, 172, 197, 0.16), rgba(185, 202, 222, 0.13), transparent) !important;
  animation: causePremiumSweep 16s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
}

#cause-chain .cause-node {
  width: 100%;
  min-width: 0;
  max-width: none;
  min-height: 104px;
  flex: none;
  gap: 9px;
  padding: 12px 7px 11px;
  border-radius: 10px;
  border-color: rgba(185, 202, 222, 0.25);
  background:
    linear-gradient(180deg, rgba(236, 242, 249, 0.07), rgba(236, 242, 249, 0.014)),
    rgba(8, 10, 16, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 0 0 1px rgba(255, 255, 255, 0.012),
    0 16px 34px rgba(0, 0, 0, 0.24);
}

#cause-chain .cause-node::before {
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(90deg, rgba(185, 202, 222, 0), var(--cause-ice), rgba(185, 202, 222, 0)) top left / 0% 1px no-repeat,
    linear-gradient(180deg, rgba(236, 242, 249, 0.065), transparent 52%);
  transform: none;
}

#cause-chain .cause-node::after {
  display: block;
  inset: 1px;
  border-radius: 9px;
  opacity: 0.22;
  background:
    linear-gradient(rgba(150, 172, 197, 0.095) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 172, 197, 0.075) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}

#cause-chain .cause-node:hover,
#cause-chain .cause-node.active {
  transform: translateY(-1px);
  border-color: rgba(185, 202, 222, 0.43);
  background:
    linear-gradient(180deg, rgba(236, 242, 249, 0.092), rgba(236, 242, 249, 0.018)),
    rgba(10, 13, 20, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.095),
    0 18px 42px rgba(0, 0, 0, 0.31),
    0 0 0 1px rgba(150, 172, 197, 0.045);
}

#cause-chain .cause-node.active::before {
  opacity: 1;
  animation: causePremiumEdge 1.45s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

#cause-chain .cause-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  color: var(--cause-platinum);
  background:
    radial-gradient(circle at 68% 22%, rgba(185, 202, 222, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(236, 242, 249, 0.105), rgba(236, 242, 249, 0.018)),
    rgba(5, 7, 12, 0.94);
  border-color: rgba(185, 202, 222, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -16px 28px rgba(0, 0, 0, 0.14),
    0 9px 22px rgba(0, 0, 0, 0.24);
}

#cause-chain .cause-icon::after {
  display: block;
  inset: -1px;
  border-radius: 12px;
  opacity: 0;
  background:
    linear-gradient(120deg, transparent 12%, rgba(220, 228, 239, 0.18) 45%, transparent 72%);
  transform: translateX(-70%);
}

#cause-chain .cause-node.active .cause-icon {
  animation: causePremiumLift 3.8s ease-in-out infinite;
  border-color: rgba(185, 202, 222, 0.5);
}

#cause-chain .cause-node.active .cause-icon::after {
  opacity: 1;
  animation: causePremiumSheen 2.9s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
}

#cause-chain .cause-icon svg {
  width: 44px;
  height: 44px;
  overflow: visible;
}

#cause-chain .cause-premium-frame,
#cause-chain .cause-premium-grid,
#cause-chain .cause-premium-muted,
#cause-chain .cause-premium-main,
#cause-chain .cause-premium-accent {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

#cause-chain .cause-premium-frame {
  fill: rgba(185, 202, 222, 0.026);
  stroke: rgba(185, 202, 222, 0.36);
  stroke-width: 1.35;
}

#cause-chain .cause-premium-grid {
  stroke: rgba(150, 172, 197, 0.36);
  stroke-width: 1.25;
}

#cause-chain .cause-premium-muted {
  stroke: rgba(185, 202, 222, 0.52);
  stroke-width: 1.8;
}

#cause-chain .cause-premium-main {
  stroke: rgba(236, 242, 249, 0.86);
  stroke-width: 2.25;
}

#cause-chain .cause-premium-accent {
  stroke: rgba(150, 172, 197, 0.96);
  stroke-width: 2.7;
}

#cause-chain .cause-premium-fill {
  fill: rgba(150, 172, 197, 0.12);
}

#cause-chain .cause-premium-node {
  fill: var(--cause-ice);
  filter: drop-shadow(0 0 6px rgba(185, 202, 222, 0.24));
}

#cause-chain .cause-premium-node-muted {
  fill: rgba(135, 149, 170, 0.78);
}

#cause-chain .cause-node.active .cause-premium-accent,
#cause-chain .cause-node.active .cause-premium-main {
  stroke-dasharray: 72;
  stroke-dashoffset: 72;
  animation: causePremiumDraw 1.12s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

#cause-chain .cause-node.active .cause-premium-node {
  animation: causePremiumNode 1.7s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
}

#cause-chain .cause-label {
  font-size: 9.5px;
  line-height: 1.05;
  letter-spacing: 0.105em;
  color: rgba(185, 202, 222, 0.66);
}

#cause-chain .cause-node.active .cause-label {
  color: rgba(236, 242, 249, 0.92);
}

#cause-chain .cause-arrow {
  width: 100%;
  min-width: 0;
  flex: none;
  height: 22px;
  align-self: center;
}

#cause-chain .cause-arrow-line {
  left: 2px;
  right: 7px;
  height: 1px;
  background: linear-gradient(90deg, rgba(135, 149, 170, 0.16), rgba(150, 172, 197, 0.48));
}

#cause-chain .cause-arrow-line::after {
  background: linear-gradient(90deg, transparent, rgba(220, 228, 239, 0.72), rgba(150, 172, 197, 0.62), transparent);
  transform: translateX(-110%);
}

#cause-chain .cause-arrow-head {
  right: 1px;
  width: 7px;
  height: 7px;
  border-width: 1.4px;
  border-top-color: rgba(150, 172, 197, 0.58);
  border-right-color: rgba(150, 172, 197, 0.58);
}

#cause-chain .cause-arrow.active .cause-arrow-line {
  background: linear-gradient(90deg, rgba(150, 172, 197, 0.26), rgba(185, 202, 222, 0.5));
}

#cause-chain .cause-arrow.active .cause-arrow-line::after {
  animation: causePremiumRail 1.55s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

#cause-chain .cause-arrow.active .cause-arrow-head {
  border-color: rgba(220, 228, 239, 0.8);
  filter: none;
}

@keyframes causePremiumSweep {
  0%, 18% { transform: translateX(-82%); opacity: 0; }
  34%, 64% { opacity: 0.42; }
  100% { transform: translateX(82%); opacity: 0; }
}

@keyframes causePremiumEdge {
  from { background-size: 0% 1px, auto; }
  to { background-size: 100% 1px, auto; }
}

@keyframes causePremiumDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes causePremiumNode {
  0%, 100% { transform: scale(0.9); opacity: 0.64; }
  46% { transform: scale(1.05); opacity: 1; }
}

@keyframes causePremiumLift {
  0%, 100% { transform: translateY(0); }
  48% { transform: translateY(-1px); }
}

@keyframes causePremiumSheen {
  0%, 22% { transform: translateX(-76%); opacity: 0; }
  42% { opacity: 0.7; }
  72%, 100% { transform: translateX(74%); opacity: 0; }
}

@keyframes causePremiumRail {
  to { transform: translateX(112%); }
}

@media (max-width: 640px) {
  #cause-chain.cause-chain {
    grid-template-columns:
      minmax(58px, 1fr) 10px
      minmax(58px, 1fr) 10px
      minmax(58px, 1fr) 10px
      minmax(58px, 1fr);
    gap: 4px;
    padding: 12px 10px 14px;
  }

  #cause-chain .cause-node {
    min-height: 84px;
    padding: 10px 4px 9px;
  }

  #cause-chain .cause-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  #cause-chain .cause-icon svg {
    width: 36px;
    height: 36px;
  }

  #cause-chain .cause-label {
    font-size: 8.5px;
    letter-spacing: 0.065em;
  }

  #cause-chain .cause-arrow {
    display: block;
  }

  #cause-chain .cause-arrow-head {
    width: 6px;
    height: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #cause-chain.cause-chain::before,
  #cause-chain .cause-node.active::before,
  #cause-chain .cause-node.active .cause-icon,
  #cause-chain .cause-node.active .cause-icon::after,
  #cause-chain .cause-node.active .cause-premium-accent,
  #cause-chain .cause-node.active .cause-premium-main,
  #cause-chain .cause-node.active .cause-premium-node,
  #cause-chain .cause-arrow.active .cause-arrow-line::after {
    animation: none !important;
  }
}
