/* reset.css — hard reset */

/* 1) Box sizing i podstawy */
:root, :host {
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2) Zerowanie odstępów wszędzie */
* {
  margin: 0;
  padding: 0;
}

/* 3) Typografia bazowa */
html, body { height: 100%; }
body {
  line-height: 1.5;
  font: inherit;
  color: inherit;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 4) Tekstowe elementy blokowe */
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd {
  margin: 0;
  font: inherit;
  font-weight: inherit;
}

/* 5) Listy */
ul, ol, menu { list-style: none; }

/* 6) Linki */
a {
  color: inherit;
  text-decoration: none;
}

/* 7) Media */
img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  height: auto;
}

/* 8) Tabele */
table { border-collapse: collapse; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: inherit; }

/* 9) Formularze */
button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0;
  letter-spacing: inherit;
}
button, [type="button"], [type="submit"], [type="reset"] {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
textarea { resize: vertical; }
::-webkit-inner-spin-button,
::-webkit-outer-spin-button { height: auto; }
[type="search"] { -webkit-appearance: textfield; outline-offset: -2px; }
::-webkit-search-decoration { -webkit-appearance: none; }
::-moz-focus-inner { border: 0; padding: 0; }

/* 10) Fieldset/legend */
fieldset { border: 0; }
legend { padding: 0; }

/* 11) Cytaty – bez „cudzysłowów” */
blockquote, q { quotes: none; }
blockquote::before, blockquote::after,
q::before, q::after { content: ""; }

/* 12) Ukryte i hr */
[hidden] { display: none !important; }
hr { height: 0; border: 0; }

/* 13) Preferencje ruchu — wyłącz animacje dla osób z ograniczeniami */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
