/* Shared visual foundation. System fonts keep Polish text fast and crisp. */
:root {
  --ui-font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ui-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --ui-blue: #0071e3;
  --ui-focus: #2997ff;
  --ui-shadow: 0 16px 48px rgb(0 0 0 / 6%);
  font-family: var(--ui-font);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body { font-family: var(--ui-font); }
button, input, select, textarea { font-family: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--ui-focus);
  outline-offset: 4px;
}
input[type="range"] { accent-color: var(--ui-blue); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
