/* Design tokens — Tennis Club UI rebuild (Phase 1)
   Warm palette, locked 2026-11-16. Dark mode follows system preference. */

:root {
  --font-sans: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;

  --bg: #F4EFEA;               /* page background — warm off-white */
  --surface: #FFFFFF;          /* cards, tables, forms */
  --accent: #6FC2FF;           /* fills, borders, highlights */
  --accent-strong: #1976B3;    /* CTAs, links — white text ≥4.5:1 (darkened from locked #1B7EC2: 4.37 failed AA) */
  --accent-strong-2: #15618F;  /* hover */
  --text: #383838; --text-2: #666666; --text-inv: #FFFFFF;
  --green: #16a34a; --red: #dc2626; --amber: #d97706;

  --radius: 12px; --radius-sm: 8px;
  --shadow-1: 0 1px 3px rgb(56 56 56 / .08);
  --shadow-2: 0 4px 12px rgb(56 56 56 / .12);

  --space-1: .25rem; --space-2: .5rem; --space-3: 1rem; --space-4: 1.5rem; --space-5: 2rem;
  --tap: 44px;                 /* minimum touch target */
  --max-w: 1200px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #201D1A; --surface: #2B2724;
    --text: #F0EDE9; --text-2: #B5AFA8;
    --accent-strong: #8FD0FF;
    --shadow-1: 0 1px 3px rgb(0 0 0 / .5); --shadow-2: 0 4px 12px rgb(0 0 0 / .6);
  }
}
