/* =============================================================================
   Nowoczesny reset CSS (na bazie Andy Bell / Josh Comeau).
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select { font: inherit; color: inherit; }

p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

h1, h2, h3, h4 { line-height: 1.1; text-wrap: balance; }

p { text-wrap: pretty; }

ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

a { color: inherit; text-decoration: none; }

button { background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--c-focus, #69e0ff);
  outline-offset: 3px;
  border-radius: 6px;
}

dialog { max-width: 100%; max-height: 100%; }

/* Szanuj preferencje użytkownika dotyczące ograniczenia ruchu */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
