:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f5f5f3;
  --fg: #0d0d0d;
  --muted: #52524e;
  --hairline: rgba(13, 13, 13, 0.14);
  --hairline-strong: rgba(13, 13, 13, 0.36);
  --accent: #e12d1a;
  --accent-fg: #ffffff;
  --ok: #137333;
  --warn: #8a5a00;
  --warn-bg: #fcf7e8;
  --error-bg: #fdf0ee;
  --error-fg: #8c1a0e;

  --font-sans: "Helvetica Neue", Helvetica, "Inter", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.9rem;
  --space-4: 1.35rem;
  --space-5: 2.2rem;

  --viewer-font-size: 1.85rem;
}

[data-theme="dark"] {
  --bg: #0e0e0e;
  --surface: #0e0e0e;
  --surface-alt: #171716;
  --fg: #f3f3f0;
  --muted: #a8a8a2;
  --hairline: rgba(243, 243, 240, 0.16);
  --hairline-strong: rgba(243, 243, 240, 0.4);
  --accent: #ff4530;
  --accent-fg: #0e0e0e;
  --ok: #4dd080;
  --warn: #f0b840;
  --warn-bg: #26200d;
  --error-bg: #2a1210;
  --error-fg: #f5a69d;
}
