/* Color, type, and layout tokens. Light theme is the default.
   Set data-theme="dark" on <html> for the dark palette. */

:root {
  color-scheme: light;
  --brand: #115e59;
  --accent: #c2410c;
  --link: #0369a1;
  --route: #0369a1;
  --bg: #f6f7f9;
  --surface: #fff;
  --tint: color-mix(in srgb, var(--brand) 8%, var(--surface));
  --tint-strong: color-mix(in srgb, var(--brand) 18%, var(--surface));
  --line: color-mix(in srgb, var(--text) 12%, transparent);
  --text: #0f172a;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --header-h: 56px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --brand: #2dd4a0;
  --accent: #fb923c;
  --link: #38bdf8;
  --route: #38bdf8;
  --bg: #0f172a;
  --surface: #1e293b;
  --tint: color-mix(in srgb, var(--brand) 14%, var(--surface));
  --tint-strong: color-mix(in srgb, var(--brand) 28%, var(--surface));
  --line: color-mix(in srgb, var(--text) 16%, transparent);
  --text: #f8fafc;
  --header-h: 56px;
}

@media (max-width: 720px) {
  :root,
  [data-theme="dark"] {
    --header-h: 48px;
  }
}
