:root {
  --background: #f2f3f5;
  --surface: #ffffff;
  --text: #101217;
  --text-muted: #5d6370;
  --border: #dadde3;
  --accent: #2b4cff;
  --on-accent: #ffffff;
  /* Dodane tokeny (DESIGN.md „Kobalt”); strony bez nich wyglądają jak dawniej. */
  --surface-muted: #e6e8ed;
  --tint-top: #dce2ff;
  --danger: #d92d20;
  --shadow: 0 10px 30px rgba(16, 24, 64, 0.12);
  --font-display: 'Bricolage Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-text: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  /* Ruch: src/theme/motion.ts (fast, base, slow, reveal; krzywa standard i exit). */
  --dur-fast: 120ms;
  --dur-base: 220ms;
  --dur-slow: 350ms;
  --dur-reveal: 600ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-exit: cubic-bezier(0.3, 0, 1, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #0e0f13;
    --surface: #1a1c23;
    --text: #f1f2f5;
    --text-muted: #9097a6;
    --border: #2a2e37;
    --accent: #7a8cff;
    --on-accent: #0e0f13;
    --surface-muted: #14161c;
    --tint-top: #252c4c;
    --danger: #f97066;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}
/* Fonty aplikacji z własnego serwera (bez Google Fonts): podzbiór łaciński z polskimi znakami, licencja OFL w fonts/OFL.txt. */
@font-face { font-family: 'Bricolage Display'; src: url('/fonts/bricolage-display.woff') format('woff'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/fonts/instrument-sans-400.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/fonts/instrument-sans-600.woff') format('woff'); font-weight: 600; font-display: swap; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
main { max-width: 720px; margin: 0 auto; padding: 40px 16px 80px; }
header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.brand { font-weight: 700; letter-spacing: -0.01em; color: var(--text); text-decoration: none; }
nav a { color: var(--text-muted); margin-left: 12px; font-size: 15px; }
h1 { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; margin: 32px 0 4px; }
h2 { font-size: 21px; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 4px; }
.meta { color: var(--text-muted); font-size: 15px; margin: 0 0 24px; }
.lead { background: var(--surface); border-radius: 20px; padding: 16px 20px; }
a { color: var(--accent); }
ul { padding-left: 22px; }
li { margin: 4px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border-radius: 16px; overflow: hidden; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
.cards { display: grid; gap: 12px; margin-top: 24px; }
.cards a { display: block; background: var(--surface); border-radius: 20px; padding: 20px; color: var(--text); text-decoration: none; font-weight: 600; }
.cards span { display: block; color: var(--text-muted); font-weight: 400; font-size: 15px; }
footer { margin-top: 48px; color: var(--text-muted); font-size: 14px; }
