:root {
  --space-0: 2px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 32px;
  --text-display: 48px;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --duration-fast: 120ms;
  --duration-base: 200ms;
  --duration-slow: 400ms;
  --ease-out: cubic-bezier(0.2, 0, 0, 1);
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #f0eee8;
  --text: #1c1b19;
  --muted: #66625a;
  --border: #e2dfd6;
  --accent: #2b5fd9;
  --accent-contrast: #ffffff;
  --focus: #2b5fd9;
  --v-true: #1f7a4d;
  --v-mostly_true: #5d9a32;
  --v-mixed: #b07d10;
  --v-mostly_false: #c75a1c;
  --v-false: #b3261e;
  --v-unverifiable: #7a766d;
  --v-misleading: #d0701a;
  --v-opinion: #6b5fb5;
  --v-prediction: #3f7f9f;
  --mark: #fff1b8;
  --shadow: 0 1px 2px rgba(28, 27, 25, 0.04), 0 4px 16px rgba(28, 27, 25, 0.05);
  --tip-bg: #1c1b19;
  --tip-text: #f6f5f1;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141412;
    --surface: #1d1c1a;
    --surface-2: #262522;
    --text: #ecebe6;
    --muted: #a6a197;
    --border: #34322e;
    --accent: #7aa2ff;
    --accent-contrast: #0e1424;
    --focus: #7aa2ff;
    --v-true: #4fc48a;
    --v-mostly_true: #9ccf5f;
    --v-mixed: #e8b740;
    --v-mostly_false: #f08a4b;
    --v-false: #ff6b5f;
    --v-unverifiable: #a6a197;
    --v-misleading: #f39a4f;
    --v-opinion: #a99cf0;
    --v-prediction: #7fbfdc;
    --mark: #4a3f14;
    --shadow: none;
    --tip-bg: #ecebe6;
    --tip-text: #1c1b19;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #141412;
  --surface: #1d1c1a;
  --surface-2: #262522;
  --text: #ecebe6;
  --muted: #a6a197;
  --border: #34322e;
  --accent: #7aa2ff;
  --accent-contrast: #0e1424;
  --focus: #7aa2ff;
  --v-true: #4fc48a;
  --v-mostly_true: #9ccf5f;
  --v-mixed: #e8b740;
  --v-mostly_false: #f08a4b;
  --v-false: #ff6b5f;
  --v-unverifiable: #a6a197;
  --v-misleading: #f39a4f;
  --v-opinion: #a99cf0;
  --v-prediction: #7fbfdc;
  --mark: #4a3f14;
  --shadow: none;
  --tip-bg: #ecebe6;
  --tip-text: #1c1b19;
  color-scheme: dark;
}
