/* Text-a-Tech design tokens.
   Body text aims for AAA contrast (7:1+). Sizes scale with the "Make text bigger" setting
   by changing --text-scale on <html> (Phase 3). */
:root {
  --text-scale: 1;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --size-body: calc(1.25rem * var(--text-scale));   /* 20px */
  --size-small: calc(1.125rem * var(--text-scale)); /* 18px, used sparingly */
  --size-h3: calc(1.5rem * var(--text-scale));
  --size-h2: calc(1.875rem * var(--text-scale));
  --size-h1: calc(2.5rem * var(--text-scale));
  --line-height: 1.55;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-6: 3rem;

  --tap-min: 56px;
  --radius: 12px;

  /* Colors: all text/background pairs below are 7:1 or better. */
  --color-bg: #ffffff;
  --color-surface: #f4f6f8;
  --color-text: #1a1a1a;          /* 17.4:1 on white */
  --color-muted: #3d3d3d;         /* 11:1 on white */
  --color-primary: #0b4a8b;       /* 9.3:1 on white; white text on it 9.3:1 */
  --color-primary-text: #ffffff;
  --color-focus: #c25e00;
  --color-error: #9b1c1c;         /* 8.6:1 on white */
  --color-error-bg: #fdecec;
  --color-success: #135c2e;       /* 8.0:1 on white */
  --color-border: #5a5a5a;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
