/* Design tokens. Restyle the whole site by editing this file only.
   site.css reads these variables and never hard-codes a color or size. */
:root {
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --text-xs: 0.8125rem;
  --text-sm: 0.9rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.6rem;
  --text-2xl: 2.25rem;
  --text-3xl: 2.9rem;
  --leading: 1.68;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;

  --radius: 8px;
  --measure: 70ch;
  --page-width: 1180px;

  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f3f1ec;
  --text: #1c232e;
  --muted: #59616e;
  --border: #e2ded5;
  --accent: #0c5c66;
  --accent-strong: #08434a;
  --accent-tint: #e4f0f0;
  --link: #0b5a72;
  --link-visited: #4f4683;
  --focus: #c2410c;
  --mark: #fff4d6;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #11151b;
    --surface: #181e26;
    --surface-2: #1f2630;
    --text: #e6e8ec;
    --muted: #a2aab5;
    --border: #2c3440;
    --accent: #5ec2c8;
    --accent-strong: #8ad6da;
    --accent-tint: #18343a;
    --link: #79c7e0;
    --link-visited: #b4a9e8;
    --focus: #fb923c;
    --mark: #3a3220;
  }
}

:root[data-theme="dark"] {
  --bg: #11151b;
  --surface: #181e26;
  --surface-2: #1f2630;
  --text: #e6e8ec;
  --muted: #a2aab5;
  --border: #2c3440;
  --accent: #5ec2c8;
  --accent-strong: #8ad6da;
  --accent-tint: #18343a;
  --link: #79c7e0;
  --link-visited: #b4a9e8;
  --focus: #fb923c;
  --mark: #3a3220;
}
