:root {
  color-scheme: dark;

  --bg: #000;
  --surface: #0d0d0d;
  --surface-raised: #111;
  --surface-soft: #161616;
  --text: #e8e4dc;
  --text-muted: #9e9a92;
  --text-dim: #6e6a62;
  --gold: #c9a84c;
  --gold-strong: #e8c97a;
  --gold-dim: #8a7333;
  --purple: #a78bfa;
  --purple-soft: #c4b5fd;
  --border: #1a1a1a;
  --border-strong: rgb(201 168 76 / 28%);
  --success: #22c55e;
  --warning: #f59e0b;
  --info: #3b82f6;
  --danger: #ef4444;
  --focus: #e8c97a;

  --shadow-soft: 0 1rem 3rem rgb(0 0 0 / 25%);
  --shadow-strong: 0 1.5rem 5rem rgb(0 0 0 / 40%);
  --radius-sm: 0.1875rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-pill: 999px;

  --content-max: 78rem;
  --reading-max: 55rem;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-mono: "Cascadia Code", Consolas, monospace;
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);

  --step--2: clamp(0.72rem, 0.69rem + 0.12vw, 0.8rem);
  --step--1: clamp(0.85rem, 0.8rem + 0.2vw, 0.98rem);
  --step-0: clamp(1rem, 0.94rem + 0.28vw, 1.14rem);
  --step-1: clamp(1.2rem, 1.06rem + 0.62vw, 1.5rem);
  --step-2: clamp(1.45rem, 1.22rem + 1vw, 2rem);
  --step-3: clamp(1.8rem, 1.43rem + 1.65vw, 2.8rem);
  --step-4: clamp(2.3rem, 1.67rem + 2.8vw, 4.25rem);
  --step-5: clamp(2.8rem, 1.83rem + 4.2vw, 5.5rem);

  --space-1: 0.35rem;
  --space-2: 0.6rem;
  --space-3: 0.9rem;
  --space-4: 1.2rem;
  --space-5: 1.6rem;
  --space-6: 2.1rem;
  --space-7: 3rem;
  --space-8: 4.25rem;
  --space-9: 6rem;
}
