/*
 * talgrim.dev design tokens. Synced from talgrim/site-kit, so change them there, not in the site.
 * The values are the dark palette of the account site. Light is defined below but no site turns it on yet.
 * Plain CSS on purpose: the account site's CSP is style-src 'self', so no inline or injected styles.
 */
:root {
  --bg: #0f141c;
  --surface: #182030;
  --text: #e6e9ef;
  --muted: #9aa5b8;
  --border: #2f3a50;
  --accent: #f59e0b;
  --accent-text: #1c1300;
  --danger: #f87171;
  --focus: #60a5fa;

  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-sm: 0.4rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;

  color-scheme: dark;
}

/* Not enabled anywhere. A site opts in with <html data-theme="light"> once it supports it. */
:root[data-theme='light'] {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --text: #1c2330;
  --muted: #5d6778;
  --border: #cdd3dd;
  --accent: #b45309;
  --accent-text: #ffffff;
  --danger: #b42318;
  --focus: #2563eb;

  color-scheme: light;
}
