/* ========================================
   Specter AI — Landing Page v3
   Fragmented Layers + Typographic Brutalism
   Sharp geometry, grain texture, spring physics
   No glassmorphism, no bento, no neon glow
   ======================================== */

/* ===== TOKENS ===== */
:root {
  --accent: #7C3AED;
  --accent-dim: rgba(124, 58, 237, 0.12);
  --accent-border: rgba(124, 58, 237, 0.28);
  --bg: #09090B;
  --bg-raised: #111113;
  --bg-surface: #18181B;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #FAFAFA;
  --text-2: #A1A1AA;
  --text-3: #52525B;
  --green: #22C55E;
  --red: #EF4444;
  --font: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
  --r-sharp: 2px;
  --r-pill: 24px;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.5s;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ===== PARTICLE CANVAS ===== */
#particleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== GRAIN TEXTURE OVERLAY ===== */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding 0.3s var(--ease-out), background 0.3s ease;
}
.navbar.scrolled {
  background: rgba(9, 9, 11, 0.92);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
}
.logo-mark {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: var(--r-sharp);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: white;
  transition: transform 0.3s var(--ease-spring);
}
.nav-logo:hover .logo-mark {
  transform: scale(1.12) rotate(-3deg);
}
.logo-text { letter-spacing: -0.02em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--text); }
.nav-gh {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 7px 14px !important;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  transition: all 0.25s var(--ease-spring) !important;
}
.nav-gh:hover {
  border-color: var(--accent-border) !important;
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 102;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease-spring);
  position: relative;
}
.btn-solid {
  background: var(--accent);
  color: white;
  border-radius: var(--r-pill);
  border: 1px solid var(--accent);
}
.btn-solid:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.2);
}
.btn-solid:active {
  transform: translateY(0) scale(0.98);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
}
.btn-outline:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  overflow: hidden;
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}
.tag-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-display {
  font-size: clamp(52px, 8vw, 120px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 40px;
}
.hero-line {
  display: block;
}
.hero-line-2 {
  color: var(--text-2);
}
.hero-accent {
  color: var(--accent);
}
.hero-bottom {
  max-width: 560px;
}
.hero-desc {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-desc strong {
  color: var(--text);
  font-weight: 600;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.stat-num {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--mono);
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-sep {
  width: 1px;
  height: 20px;
  background: var(--border-strong);
}

/* Geometric accent shapes (hard-edge, not blurred orbs) */
.hero-geo {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.geo-1 {
  width: 400px; height: 400px;
  border: 1px solid var(--accent-dim);
  border-radius: 50%;
  top: -80px; right: -100px;
  opacity: 0.5;
  animation: geoSpin 60s linear infinite;
}
.geo-2 {
  width: 200px; height: 200px;
  border: 1px solid var(--border);
  top: 40%; right: 15%;
  transform: rotate(45deg);
  opacity: 0.3;
  animation: geoFloat 8s ease-in-out infinite;
}
@keyframes geoSpin {
  to { transform: rotate(360deg); }
}
@keyframes geoFloat {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(-20px); }
}

/* ===== SECTION COMMON ===== */
.proof-label {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px;
}
.label-line {
  width: 40px;
  height: 1px;
  background: var(--border-strong);
}
.label-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--mono);
}
.section-heading {
  text-align: center;
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.section-desc {
  text-align: center;
  font-size: 16px;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto 56px;
}

/* ===== SPLIT SCREEN PROOF ===== */
.proof {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}
.split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
  max-width: 940px;
  margin: 0 auto;
}
.split-side { position: relative; }
.split-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-2);
  letter-spacing: 0.02em;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
}
.dot-green { background: var(--green); }
.dot-red { background: var(--red); }

.screen-mock {
  position: relative;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-sharp);
  overflow: hidden;
  min-height: 260px;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 10px;
  color: var(--text-3);
  font-weight: 500;
}
.mock-dots {
  display: flex;
  gap: 4px;
}
.mock-dots i {
  width: 7px; height: 7px;
  border-radius: 50%;
  display: block;
}
.mock-dots i:nth-child(1) { background: #EF4444; }
.mock-dots i:nth-child(2) { background: #EAB308; }
.mock-dots i:nth-child(3) { background: #22C55E; }

.mock-body {
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mock-person {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--text-2);
}
.mock-avatar {
  width: 32px; height: 32px;
  background: var(--accent-dim);
  border-radius: var(--r-sharp);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--mono);
}
.mock-chat {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-sharp);
  font-size: 11px;
  color: var(--text-2);
  font-style: italic;
  line-height: 1.5;
}
.split-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  padding-top: 32px;
}
.vs {
  width: 36px; height: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.08em;
  font-family: var(--mono);
}

/* Specter overlay mock on "your screen" */
.specter-overlay {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 200px;
  background: var(--bg-surface);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-sharp);
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  animation: soAppear 0.4s var(--ease-out) 0.6s forwards;
}
@keyframes soAppear {
  to { opacity: 1; transform: translateY(0); }
}
.so-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--border);
  font-size: 10px;
  font-weight: 600;
}
.so-dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.so-badge {
  margin-left: auto;
  font-size: 8px;
  padding: 2px 5px;
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
  border-radius: var(--r-sharp);
  font-weight: 600;
  font-family: var(--mono);
}
.so-body {
  padding: 8px 10px;
}
.so-line {
  font-size: 10px;
  color: var(--text-2);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(3px);
  animation: lineReveal 0.3s var(--ease-out) forwards;
}
.so-line[data-delay="1"] { animation-delay: 1.0s; }
.so-line[data-delay="2"] { animation-delay: 1.5s; }
.so-line[data-delay="3"] { animation-delay: 2.0s; }
@keyframes lineReveal {
  to { opacity: 1; transform: translateY(0); }
}
.so-cursor {
  display: inline-block;
  width: 5px; height: 11px;
  background: var(--accent);
  margin: 4px 0 0 10px;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ===== FEATURES ===== */
.features {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}
.feat-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feat-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-sharp);
  padding: 28px;
  transition: all 0.35s var(--ease-spring);
  position: relative;
  overflow: hidden;
}
.feat-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.feat-card:hover::after {
  transform: scaleX(1);
}
.feat-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.feat-hero-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}
.feat-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.feat-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.feat-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}
.feat-card code {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--accent-dim);
  padding: 1px 6px;
  border-radius: var(--r-sharp);
  color: var(--accent);
}
.feat-tags {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.feat-tags span {
  padding: 4px 10px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-sharp);
  font-size: 11px;
  font-family: var(--mono);
  color: var(--accent);
}

.feat-privacy {
  border-color: rgba(34, 197, 94, 0.12);
}
.feat-privacy::after {
  background: var(--green);
}

.privacy-pipeline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.pipe-node {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-sharp);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  transition: border-color 0.2s;
}
.pipe-node:hover { border-color: var(--border-strong); }
.pipe-local {
  background: rgba(34, 197, 94, 0.05);
  border-color: rgba(34, 197, 94, 0.15);
  color: var(--green);
}
.pipe-arrow {
  color: var(--text-3);
  font-size: 14px;
}

/* ===== HOW IT WORKS ===== */
.how {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}
.steps {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-sharp);
  overflow: hidden;
  transition: all 0.35s var(--ease-spring);
}
.step:hover {
  border-color: var(--accent-border);
  transform: translateX(4px);
}
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  border-right: 1px solid var(--border);
  background: rgba(124, 58, 237, 0.03);
}
.step-body {
  padding: 24px;
}
.step-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.step-body p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 12px;
}
.step-keys {
  font-size: 12px;
  color: var(--text-3);
  line-height: 2;
}
kbd {
  display: inline-block;
  padding: 2px 7px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sharp);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
  font-weight: 500;
  margin-right: 4px;
}

/* ===== COMPARISON ===== */
.comparison {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}
.compare-table {
  max-width: 720px;
  margin: 48px auto 0;
  border: 1px solid var(--border);
  border-radius: var(--r-sharp);
  overflow: hidden;
  background: var(--bg-raised);
}
.cmp-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.cmp-row:last-child { border-bottom: none; }
.cmp-row:not(.cmp-header):hover {
  background: rgba(255, 255, 255, 0.01);
}
.cmp-row > div {
  padding: 13px 18px;
  font-size: 13px;
  display: flex;
  align-items: center;
}
.cmp-header {
  background: rgba(255, 255, 255, 0.02);
}
.cmp-header > div {
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  font-family: var(--mono);
}
.cmp-hl {
  background: rgba(124, 58, 237, 0.03);
}
.cmp-header .cmp-hl { color: var(--accent) !important; }
.cmp-bad { color: var(--text-3); }
.cmp-good {
  color: var(--green) !important;
  font-weight: 600 !important;
}

/* ===== DOWNLOAD ===== */
.download {
  padding: 120px 0 80px;
  position: relative;
  z-index: 1;
}
.dl-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.dl-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 20px 28px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-sharp);
  transition: all 0.35s var(--ease-spring);
  cursor: pointer;
  color: var(--text-3);
}
.dl-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px) scale(1.01);
  color: var(--accent);
}
.dl-card svg {
  margin-bottom: 16px;
  transition: color 0.3s;
}
.dl-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.dl-meta {
  font-size: 12px;
  font-family: var(--mono);
  color: var(--text-3);
}
.dl-source {
  text-align: center;
}
.dl-source p {
  color: var(--text-3);
  font-size: 13px;
  margin-bottom: 10px;
}
.code-block {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-sharp);
  padding: 12px 18px;
  max-width: 100%;
  overflow-x: auto;
}
.code-block code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
}
.copy-btn {
  background: none;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
  flex-shrink: 0;
}
.copy-btn:hover { color: var(--accent); }

/* ===== TECH STACK STRIP ===== */
.stack {
  padding: 40px 0 100px;
  position: relative;
  z-index: 1;
}
.stack-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stack-row span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  transition: color 0.2s;
  letter-spacing: -0.01em;
}
.stack-row span:hover { color: var(--text); }

/* ===== CTA ===== */
.cta {
  padding: 0 0 120px;
  position: relative;
  z-index: 1;
}
.cta-inner {
  background: var(--bg-raised);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-sharp);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.cta-inner h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.cta-inner p {
  color: var(--text-2);
  font-size: 16px;
  margin-bottom: 32px;
}
.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: var(--text-3);
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  color: var(--text-3);
  font-size: 11px;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-spring);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== REDUCED MOTION (MANDATORY) ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  html { scroll-behavior: auto; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .split {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 460px;
  }
  .split-divider {
    padding: 14px 0;
  }
  .feat-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(9, 9, 11, 0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 100;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 17px; }
  .nav-toggle { display: flex; }

  .hero {
    padding: 120px 0 64px;
    min-height: auto;
  }
  .hero-display {
    font-size: clamp(38px, 10vw, 64px);
  }
  .hero-geo { display: none; }

  .feat-hero-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dl-row { grid-template-columns: 1fr; }

  .cmp-row { grid-template-columns: 1.3fr 0.8fr 1fr; }
  .cmp-row > div { padding: 11px 12px; font-size: 12px; }

  .steps { gap: 2px; }
  .step { grid-template-columns: 48px 1fr; }

  .cta-inner { padding: 48px 24px; }

  .code-block { flex-direction: column; gap: 8px; }
  .code-block code { white-space: normal; word-break: break-all; font-size: 11px; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 12px; }
  .stat-num { font-size: 17px; }
  .hero-tag { font-size: 11px; }

  .cmp-row { grid-template-columns: 1fr 0.7fr 0.9fr; }
  .cmp-row > div { padding: 9px 8px; font-size: 11px; }

  .stack-row { gap: 14px; }

  .specter-overlay { width: 170px; }

  .privacy-pipeline .pipe-arrow { display: none; }
}
