/* Design tokens: Hungarian Puzzle Champion
   Palette: paprika red, forest green and cream (the Hungarian tricolour, softened),
   with deep ink for text and a gold accent for "champion" highlights.
   Contrast (WCAG AA): ink on paper 15:1, red on paper 7:1, green on paper 6:1,
   paper on red 7:1, paper on green 6:1, gold-dark on paper 4.9:1. */
:root {
  --color-paper: #fbf7ef;
  --color-surface: #ffffff;
  --color-sand: #efe6d3;
  --color-ink: #1e1b2e;
  --color-ink-soft: #4a4660;
  --color-red: #a81f2b;
  --color-red-dark: #7d1520;
  --color-green: #2d6a4f;
  --color-green-dark: #1f4d39;
  --color-gold: #e0a924;
  --color-gold-dark: #7a5c00;
  --color-border: #d9cfb8;
  --color-focus: #1a5fb4;

  /* Type: system fonts only. Serif for headings, sans for body. */
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5625rem;
  --text-2xl: 1.953rem;
  --text-3xl: clamp(2.2rem, 1.6rem + 3vw, 3.4rem);
  --leading-tight: 1.2;
  --leading-body: 1.6;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --shadow-card: 0 2px 10px rgba(30, 27, 46, 0.1);
  --focus-ring: 3px solid var(--color-focus);
}
