/* Design tokens – 50 Darmowych Spinów (patrz design-tokens.md) */
:root {
  /* Kolory – marka */
  --navy-900: #0b1437;
  --navy-800: #101d52;
  --navy-700: #182c78;
  --primary: #1e3a9f;        /* linki, akcenty, numeracja */
  --primary-600: #172f84;
  --accent: #c2410c;         /* CTA (biały tekst: 5,2:1) */
  --accent-600: #9a3412;     /* CTA hover (7,3:1) */
  --gold: #f4b400;           /* gwiazdki, wyróżnienia na ciemnym tle */

  /* Kolory – interfejs */
  --bg: #ffffff;
  --surface: #f3f5fa;
  --surface-2: #eaeefb;
  --border: #d9deee;
  --border-strong: #b9c1dc;
  --text: #1a2140;           /* na bg 15:1 */
  --muted: #4d5876;          /* na bg 7,2:1, na surface 6,5:1 */
  --success: #0f7a4d;        /* na bg 5,4:1 */
  --success-bg: #e7f6ee;
  --danger: #b42318;         /* na bg 6,5:1 */
  --danger-bg: #fdecea;
  --warning-bg: #fff6df;
  --warning: #8a5a00;
  --on-dark: #ffffff;
  --on-dark-muted: #c7d0ef;  /* na navy-900 11:1 */

  /* Typografia */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --fs-h3: clamp(1.125rem, 1.04rem + 0.45vw, 1.375rem);
  --fs-h2: clamp(1.5rem, 1.25rem + 1.2vw, 2.125rem);
  --fs-h1: clamp(1.875rem, 1.3rem + 2.9vw, 3.25rem);
  --lh-tight: 1.18;
  --lh-base: 1.65;

  /* Odstępy (4px) */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem; --sp-5: 1.5rem;
  --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem;
  --gutter: 1rem;

  /* Kształty */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11, 20, 55, .06), 0 1px 3px rgba(11, 20, 55, .08);
  --shadow-md: 0 4px 14px rgba(11, 20, 55, .10);
  --shadow-lg: 0 12px 32px rgba(11, 20, 55, .16);

  /* Szerokości */
  --w-container: 1200px;
  --w-text: 760px;
  --w-aside: 300px;
  --header-h: 64px;
}

@media (min-width: 768px) { :root { --gutter: 1.5rem; } }
