:root,
[data-theme="dark"] {
  --bg: #050d1a;
  --bg-elevated: #0b1628;
  --surface: rgba(11, 61, 145, 0.15);
  --surface-solid: #0b1628;
  --border: rgba(41, 121, 255, 0.2);
  --border-strong: rgba(41, 121, 255, 0.45);
  --text: #f2f2f2;
  --text-muted: #b0b0b0;
  --text-dim: #6b6b6b;
  --accent: #2979ff;
  --accent-mid: #1565c0;
  --accent-deep: #0b3d91;
  --white: #ffffff;
  --danger: #ff4d6d;
  --success: #2dd4a8;
  --warning: #f5b942;
  --overlay: rgba(5, 13, 26, 0.72);
  --shadow: 0 20px 60px rgba(5, 13, 26, 0.6);
  --glow: 0 0 24px rgba(41, 121, 255, 0.35);
  --bottom-nav-bg: rgba(5, 13, 26, 0.92);
  --input-bg: rgba(11, 22, 40, 0.9);
  --card-hover-border: rgba(41, 121, 255, 0.5);
  --proof-grad: linear-gradient(135deg, #0b3d91 0%, #1565c0 100%);
  --hero-scrim: linear-gradient(90deg, rgba(5, 13, 26, 0.95) 10%, rgba(5, 13, 26, 0.7) 50%, transparent 100%);
  --scrollbar-track: #050d1a;
  --scrollbar-thumb: #0b3d91;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f4f7fb;
  --bg-elevated: #ffffff;
  --surface: rgba(41, 121, 255, 0.08);
  --surface-solid: #ffffff;
  --border: rgba(11, 61, 145, 0.12);
  --border-strong: rgba(41, 121, 255, 0.35);
  --text: #0b1628;
  --text-muted: #4a5568;
  --text-dim: #718096;
  --accent: #1565c0;
  --accent-mid: #2979ff;
  --accent-deep: #0b3d91;
  --white: #ffffff;
  --danger: #e11d48;
  --success: #059669;
  --warning: #d97706;
  --overlay: rgba(244, 247, 251, 0.88);
  --shadow: 0 16px 40px rgba(11, 22, 40, 0.12);
  --glow: 0 0 20px rgba(41, 121, 255, 0.2);
  --bottom-nav-bg: rgba(255, 255, 255, 0.94);
  --input-bg: #ffffff;
  --card-hover-border: rgba(21, 101, 192, 0.45);
  --proof-grad: linear-gradient(135deg, #1565c0 0%, #2979ff 100%);
  --hero-scrim: linear-gradient(90deg, rgba(244, 247, 251, 0.96) 8%, rgba(244, 247, 251, 0.75) 45%, transparent 100%);
  --scrollbar-track: #e8eef6;
  --scrollbar-thumb: #2979ff;
  color-scheme: light;
}

:root {
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Outfit", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --header-h: 64px;
  --bottom-nav-h: 68px;
  --container: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
}
