/*
 * REDIXA - VOID INTELLIGENCE
 * Futuristic dark-tech design · Syne + Space Mono · Electric cyan
 * Dark-first · Single accent · Sharp geometry
 */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
ul  { list-style: none; }
a   { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
img, canvas, svg { display: block; max-width: 100%; }

/* ── VARIABLES ── */
:root,
[data-theme="dark"] {
  --bg:          #03080f;
  --bg-2:        #06101e;
  --bg-3:        #0a1828;
  --bg-card:     #0c1c30;

  --text:        #b0ccec;
  --text-2:      #355880;
  --text-3:      #152035;

  --accent:      #00ccff;
  --accent-lo:   rgba(0, 204, 255, 0.07);
  --accent-mid:  rgba(0, 204, 255, 0.18);
  --accent-glow: 0 0 30px rgba(0, 204, 255, 0.22);
  --accent-fg:   #03080f;

  --border:      rgba(0, 204, 255, 0.08);
  --border-2:    rgba(0, 204, 255, 0.20);
  --border-3:    rgba(0, 204, 255, 0.45);

  --error:       #ff3355;
  --muted:       #355880;

  --font-sans:   'Syne', system-ui, sans-serif;
  --font-mono:   'Space Mono', 'Courier New', monospace;

  --nav-h:       64px;
  --radius:      2px;
  --radius-lg:   6px;
  --transition:  0.22s ease;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg:          #edf3fc;
    --bg-2:        #dfe9f8;
    --bg-3:        #cfdaf0;
    --bg-card:     #c2d3ea;
    --text:        #071520;
    --text-2:      #325278;
    --text-3:      #7aa0c8;
    --accent:      #0050cc;
    --accent-lo:   rgba(0, 80, 204, 0.07);
    --accent-mid:  rgba(0, 80, 204, 0.18);
    --accent-glow: 0 0 28px rgba(0, 80, 204, 0.18);
    --accent-fg:   #edf3fc;
    --border:      rgba(0, 80, 204, 0.09);
    --border-2:    rgba(0, 80, 204, 0.20);
    --border-3:    rgba(0, 80, 204, 0.45);
    --error:       #cc0033;
    --muted:       #325278;
  }
}

[data-theme="light"] {
  --bg:          #edf3fc;
  --bg-2:        #dfe9f8;
  --bg-3:        #cfdaf0;
  --bg-card:     #c2d3ea;
  --text:        #071520;
  --text-2:      #325278;
  --text-3:      #7aa0c8;
  --accent:      #0050cc;
  --accent-lo:   rgba(0, 80, 204, 0.07);
  --accent-mid:  rgba(0, 80, 204, 0.18);
  --accent-glow: 0 0 28px rgba(0, 80, 204, 0.18);
  --accent-fg:   #edf3fc;
  --border:      rgba(0, 80, 204, 0.09);
  --border-2:    rgba(0, 80, 204, 0.20);
  --border-3:    rgba(0, 80, 204, 0.45);
  --error:       #cc0033;
  --muted:       #325278;
}

/* ── THEME ICONS ── */
#icon-moon { display: none; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #icon-sun  { display: none; }
  :root:not([data-theme="light"]) #icon-moon { display: block; }
}
[data-theme="dark"]  #icon-sun  { display: none; }
[data-theme="dark"]  #icon-moon { display: block; }
[data-theme="light"] #icon-sun  { display: block; }
[data-theme="light"] #icon-moon { display: none; }

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0, 204, 255, 0.05) 1px, transparent 0),
    radial-gradient(ellipse 90% 55% at 65% 0%, rgba(0, 204, 255, 0.04) 0%, transparent 70%);
  background-size: 44px 44px, 100%;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[data-theme="light"] body,
@media (prefers-color-scheme: light) {
  body {
    background-image:
      radial-gradient(circle at 1px 1px, rgba(0, 80, 204, 0.04) 1px, transparent 0),
      radial-gradient(ellipse 90% 55% at 65% 0%, rgba(0, 80, 204, 0.035) 0%, transparent 70%);
    background-size: 44px 44px, 100%;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── KEYFRAMES ── */
@keyframes hero-glitch {
  0%, 78%, 100% { text-shadow: none; transform: none; }
  80% { text-shadow: -2px 0 rgba(0,255,220,0.9), 2px 0 rgba(255,40,80,0.7); transform: translateX(-2px) skewX(-3deg); }
  83% { text-shadow: 3px 0 rgba(0,220,255,0.8), -3px 0 rgba(255,40,80,0.6); transform: translateX(2px) skewX(2deg); }
  86% { text-shadow: -1px 0 rgba(0,255,220,0.6); transform: translateX(-1px); }
  89% { text-shadow: 1px 0 rgba(255,40,80,0.5); transform: translateX(0.5px); }
  92% { text-shadow: none; transform: none; }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.65); }
}

@keyframes scan-sweep {
  0%   { top: 0;    opacity: 0; }
  5%   { opacity: 0.7; }
  95%  { opacity: 0.6; }
  100% { top: 100%; opacity: 0; }
}

@keyframes border-pulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ── SCROLL REVEAL ── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal { opacity: 1; transform: none; transition: none; }
}

/* ── UTILITY ── */
.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;
}

/* Gradient border card */
.g-border {
  position: relative;
}
.g-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(0, 204, 255, 0.40) 0%,
    rgba(0, 204, 255, 0.04) 45%,
    rgba(0, 204, 255, 0.25) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity var(--transition);
}
.g-border:hover::before { opacity: 1.6; }

/* ─────────────────────────────────────────────
   NAV
───────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  background: rgba(3, 8, 15, 0.85);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
}

[data-theme="light"] nav {
  background: rgba(237, 243, 252, 0.88);
}

.logo {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  text-transform: uppercase;
}

.logo-dot { color: var(--accent); }

.nav-center {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-center a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}

.nav-center a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left;
}

.nav-center a:hover,
.nav-center a.is-active { color: var(--accent); }
.nav-center a:hover::after,
.nav-center a.is-active::after { transform: scaleX(1); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: color var(--transition), border-color var(--transition);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--border-2); }
.theme-toggle svg { width: 15px; height: 15px; }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-fg);
  background: var(--accent);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 700;
  transition: filter var(--transition), transform var(--transition);
}
.nav-cta:hover { filter: brightness(1.15); transform: translateY(-1px); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

/* Subtle horizontal grid lines in hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,204,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,204,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 5rem;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1.1;
  max-width: 580px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-lo);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 0.35rem 0.8rem;
  margin-bottom: 2rem;
  animation: fade-up 0.8s cubic-bezier(0.16,1,0.3,1) 0.1s both;
}

.hero-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 0.5rem;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
  animation: fade-up 0.8s cubic-bezier(0.16,1,0.3,1) 0.2s both;
}

.hero-redact strong {
  color: var(--accent);
  display: inline-block;
  font-weight: 800;
  animation: hero-glitch 6s ease-in-out 2s infinite;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 2.5rem;
  animation: fade-up 0.8s cubic-bezier(0.16,1,0.3,1) 0.3s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  animation: fade-up 0.8s cubic-bezier(0.16,1,0.3,1) 0.4s both;
}

/* ── Hero visual ── */
.hero-visual {
  flex: 1;
  max-width: 500px;
  position: relative;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
  animation: fade-up 0.9s cubic-bezier(0.16,1,0.3,1) 0.35s both;
}

/* Top-left corner accent */
.hero-visual::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 20px;
  height: 20px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  z-index: 2;
  pointer-events: none;
  animation: border-pulse 2.5s ease-in-out infinite;
}

/* Bottom-right corner accent */
.hero-visual::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 20px;
  height: 20px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  z-index: 2;
  pointer-events: none;
  animation: border-pulse 2.5s ease-in-out 1.25s infinite;
}

.hero-scan {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  z-index: 3;
  pointer-events: none;
  animation: scan-sweep 4s linear 1.5s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-scan { display: none; }
  .hero-redact strong { animation: none; }
  .hero-tag::before { animation: none; }
  .hero-visual::before, .hero-visual::after { animation: none; }
}

#graph {
  display: block;
}

.hero-local-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-lo);
  border-top: 1px solid var(--border-2);
  padding: 0.55rem 1rem;
  width: 100%;
}

.hero-local-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 1.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-local-badge::before { animation: none; }
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-fg);
  background: var(--accent);
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  transition: filter var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: var(--accent-glow);
}
.btn-primary:active { transform: translateY(0); filter: brightness(0.95); }

.btn-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color var(--transition);
}
.btn-link:hover { color: var(--accent); }

/* ─────────────────────────────────────────────
   PROOF BAR
───────────────────────────────────────────── */
.proof-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.proof-bar .container {
  display: flex;
  justify-content: center;
}

.proof-stat {
  flex: 1;
  max-width: 240px;
  text-align: center;
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--border);
  position: relative;
}
.proof-stat:last-child { border-right: none; }

.proof-stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.proof-stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─────────────────────────────────────────────
   SECTION LABEL
───────────────────────────────────────────── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   FEATURES
───────────────────────────────────────────── */
.features {
  padding: 7rem 0;
}

.features-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
}

.features-top h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text);
}

.features-top h2 strong { color: var(--accent); font-weight: 800; }

.features-intro {
  max-width: 400px;
}

.features-intro p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* Asymmetric grid: first card spans 2 rows */
.features-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  background: var(--border-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: background var(--transition);
}
.feature-card:hover { background: var(--bg-3); }

.features-grid .feature-card:first-child {
  grid-row: span 2;
  justify-content: flex-end;
  padding: 3rem 2.5rem;
}

.f-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 1.75rem;
  opacity: 0.85;
  flex-shrink: 0;
}

.features-grid .feature-card:first-child .f-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 2rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.65rem;
  letter-spacing: -0.015em;
}

.features-grid .feature-card:first-child h3 { font-size: 1.3rem; }

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────
   AUDIENCE
───────────────────────────────────────────── */
.audience-section {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.audience-section .container {
  display: flex;
  gap: 5rem;
  align-items: flex-start;
}

.audience-left {
  flex: 0 0 280px;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.audience-left h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
}

.audience-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.audience-card {
  background: var(--bg-2);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}
.audience-card:hover { background: var(--bg-3); }

.audience-card .a-num {
  position: absolute;
  bottom: -0.1em;
  right: 0.15em;
  font-family: var(--font-mono);
  font-size: 5.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.045;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}

.audience-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.audience-card p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ─────────────────────────────────────────────
   REDIX IT
───────────────────────────────────────────── */
.redix-section {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.redix-section .container {
  display: flex;
  gap: 5rem;
  align-items: center;
}

.redix-content {
  flex: 1;
  max-width: 480px;
}

.redix-content h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.redix-content h2 strong { color: var(--accent); }

.redix-content p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

/* Terminal UI */
.redix-ui {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--accent-glow);
}

.redix-ui-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border-2);
}

.wdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.wd-r { background: rgba(255, 80, 80, 0.6); }
.wd-y { background: rgba(255, 200, 40, 0.6); }
.wd-g { background: rgba(60, 200, 80, 0.6); }

.redix-ui-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  margin-left: 0.5rem;
  letter-spacing: 0.06em;
}

.redix-body { padding: 1.5rem; }

.proposal-header {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.06em;
}

.proposal-header span {
  color: var(--accent);
  font-weight: 700;
}

.change-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}
.change-row:last-child { border-bottom: none; }

.change-badge {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius);
  white-space: nowrap;
  flex-shrink: 0;
}

.b-move   { background: rgba(0, 204, 255, 0.12); color: var(--accent); border: 1px solid rgba(0,204,255,0.25); }
.b-group  { background: rgba(100, 160, 255, 0.10); color: #6699ff; border: 1px solid rgba(100,160,255,0.22); }
.b-rename { background: rgba(120, 220, 120, 0.10); color: #66cc88; border: 1px solid rgba(100,200,100,0.22); }

.change-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text);
  line-height: 1.5;
  opacity: 0.85;
}

.redix-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--bg-3);
  border-top: 1px solid var(--border);
}

.r-btn {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: var(--radius);
  color: var(--muted);
  border: 1px solid var(--border-2);
  transition: color var(--transition), border-color var(--transition);
}
.r-btn:hover { color: var(--text); border-color: var(--border-3); }

.r-btn-accept {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: transparent;
}
.r-btn-accept:hover {
  filter: brightness(1.1);
  color: var(--accent-fg);
  border-color: transparent;
}

/* ─────────────────────────────────────────────
   PRIVACY
───────────────────────────────────────────── */
.privacy-section {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.privacy-section .container {
  display: flex;
  gap: 5rem;
  align-items: flex-start;
}

.privacy-content {
  flex: 0 0 380px;
}

.privacy-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.privacy-content h2 strong { color: var(--accent); }

.privacy-content p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.privacy-table {
  flex: 1;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.privacy-row {
  display: flex;
  border-bottom: 1px solid var(--border);
}
.privacy-row:last-child { border-bottom: none; }

.privacy-row.full .privacy-cell { flex: 1; }

.privacy-cell {
  flex: 1;
  padding: 1.5rem;
  border-right: 1px solid var(--border);
}
.privacy-cell:last-child { border-right: none; }

.pc-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pc-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pc-local  { color: #5adf8a; }
.pc-local::before  { background: #5adf8a; }
.pc-cloud  { color: #ffd060; }
.pc-cloud::before  { background: #ffd060; }
.pc-never  { color: var(--error); }
.pc-never::before  { background: var(--error); }

.pc-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pc-item {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-2);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.25rem 0.6rem;
}

/* Redact reveal animation */
.redact-block {
  position: relative;
  overflow: hidden;
}

.redact-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.9s cubic-bezier(0.25, 1, 0.5, 1) 0.4s;
  z-index: 1;
}

.privacy-table.is-visible .redact-block::before {
  clip-path: inset(0 100% 0 0);
}

.pc-never-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ─────────────────────────────────────────────
   CTA
───────────────────────────────────────────── */
.cta-section {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.cta-section .section-label {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1rem;
}

.cta-section h2 strong { color: var(--accent); }

.cta-section > .container > p {
  font-size: 0.9rem;
  color: var(--text-2);
  max-width: 420px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.form-wrap {
  max-width: 480px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 0;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-row:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-lo);
}

.form-row input[type="email"] {
  flex: 1;
  padding: 0.85rem 1.1rem;
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  outline: none;
  border: none;
  min-width: 0;
}

.form-row input::placeholder { color: var(--muted); }

.form-row button {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-fg);
  background: var(--accent);
  padding: 0.85rem 1.4rem;
  white-space: nowrap;
  transition: filter var(--transition);
  flex-shrink: 0;
}
.form-row button:hover { filter: brightness(1.12); }

.btn-text-short { display: none; }

.btn-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(3,8,15,0.3);
  border-top-color: var(--accent-fg);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

.form-note {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.85rem;
  letter-spacing: 0.06em;
}

.form-legal {
  font-size: 0.72rem;
  color: var(--text-3);
  text-align: center;
  margin-top: 0.5rem;
}
.form-legal a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-legal a:hover { color: var(--accent); }

.form-error {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--error);
  text-align: center;
  margin-top: 0.5rem;
  min-height: 1.2em;
  letter-spacing: 0.04em;
}

#success {
  display: none;
  text-align: center;
}

.success-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-lo);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--accent);
}

#success h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

#success p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color var(--transition);
}
.footer-logo:hover { color: var(--accent); }

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-3);
  letter-spacing: 0.08em;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .audience-section .container,
  .redix-section .container,
  .privacy-section .container {
    flex-direction: column;
    gap: 3rem;
  }

  .audience-left {
    position: static;
    flex: none;
  }

  .privacy-content { flex: none; }
  .audience-grid   { width: 100%; }
}

@media (max-width: 768px) {
  .hero .container {
    flex-direction: column;
    gap: 3rem;
    padding-top: 2rem;
  }

  .hero-content { max-width: 100%; }
  .hero-visual  { max-width: 100%; width: 100%; }

  .features-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .features-grid .feature-card:first-child {
    grid-row: span 1;
    justify-content: flex-start;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .privacy-row { flex-direction: column; }
  .privacy-cell { border-right: none; border-bottom: 1px solid var(--border); }
  .privacy-cell:last-child { border-bottom: none; }

  .proof-bar .container {
    flex-wrap: wrap;
  }
  .proof-stat {
    flex: 0 0 50%;
    max-width: 50%;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .proof-stat:nth-child(1),
  .proof-stat:nth-child(2) { border-right: 1px solid var(--border); }
  .proof-stat:nth-child(1) { border-right: 1px solid var(--border); }
  .proof-stat:nth-child(2) { border-right: none; }
  .proof-stat:nth-child(3),
  .proof-stat:nth-child(4) { border-bottom: none; }
  .proof-stat:nth-child(3) { border-right: 1px solid var(--border); }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  nav { padding: 0 1.25rem; }

  .nav-center {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.5rem;
    align-items: flex-start;
  }
  .nav-center.is-open { display: flex; }

  .nav-burger { display: flex; }

  .btn-text-full  { display: none; }
  .btn-text-short { display: inline; }

  .features, .audience-section,
  .redix-section, .privacy-section,
  .cta-section { padding: 5rem 0; }

  .cta-section .section-label { justify-content: flex-start; }
}

/* ─────────────────────────────────────────────
   LIGHT MODE background fix
───────────────────────────────────────────── */
[data-theme="light"] body {
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0, 80, 204, 0.035) 1px, transparent 0),
    radial-gradient(ellipse 90% 55% at 65% 0%, rgba(0, 80, 204, 0.03) 0%, transparent 70%);
  background-size: 44px 44px, 100%;
}
