/**
 * Design tokens — single place to tune UI consistency.
 * Path: static/css/tokens.css — referenced by .cursor/rules/ui-component-tokens.mdc
 * Import this file before other stylesheets.
 */
:root {
  /* Color — semantic roles (edit here to retheme) */
  --color-bg: #0f1419;
  --color-surface: #1a2332;
  --color-text: #e8eaed;
  --color-text-muted: #9aa0a6;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-accent: #3d8bfd;
  --color-accent-hover: #5c9dff;
  --color-danger: #f28b82;
  --color-success: #81c995;

  /* Typography — swap families project-wide */
  --font-display: "Georgia", "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "Consolas", monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;

  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  /* Space */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;

  /* Radius & shadow */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);

  /* Motion */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
}
