:root {
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  --bg: #fafaf8;
  --bg-subtle: #f3f3ef;
  --surface: #ffffff;
  --surface-elevated: #ffffff;
  --surface-glass: rgba(250, 250, 248, 0.84);
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --ink-4: #94a3b8;
  --border: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.16);
  --accent: #0b6e75;
  --accent-hover: #09575d;
  --accent-soft: rgba(11, 110, 117, 0.09);
  --accent-border: rgba(11, 110, 117, 0.24);
  --accent-2: #2563eb;
  --film: #b45309;
  --film-soft: rgba(180, 83, 9, 0.09);
  --film-border: rgba(180, 83, 9, 0.24);
  --canvas-bg: #0c121b;
  --canvas-border: rgba(148, 163, 184, 0.18);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 28px -6px rgba(15, 23, 42, 0.07), 0 2px 6px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 24px 60px -12px rgba(15, 23, 42, 0.16);
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 9999px;
  --max-w: 1180px;
  --max-w-prose: 740px;
  --nav-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 150ms;
  --dur: 260ms;
}

[data-theme="dark"] {
  --bg: #0a0d12;
  --bg-subtle: #10151e;
  --surface: #121822;
  --surface-elevated: #171f2c;
  --surface-glass: rgba(10, 13, 18, 0.82);
  --ink: #f1f5f9;
  --ink-2: #cbd5e1;
  --ink-3: #94a3b8;
  --ink-4: #64748b;
  --border: rgba(148, 163, 184, 0.13);
  --border-strong: rgba(148, 163, 184, 0.25);
  --accent: #2dd4bf;
  --accent-hover: #5eead4;
  --accent-soft: rgba(45, 212, 191, 0.11);
  --accent-border: rgba(45, 212, 191, 0.28);
  --accent-2: #60a5fa;
  --film: #f59e0b;
  --film-soft: rgba(245, 158, 11, 0.12);
  --film-border: rgba(245, 158, 11, 0.3);
  --canvas-bg: #070a0f;
  --canvas-border: rgba(45, 212, 191, 0.2);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 32px -8px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 30px 70px -12px rgba(0, 0, 0, 0.72);
}

@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;
  }
}