/* Generic Reset (lightweight, non-opinionated) */

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

/* Remove default margin */
body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements and reset spacing */
ul[role="list"], ol[role="list"],
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Core defaults */
html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

/* Media elements */
img, picture, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Forms */
input, button, textarea, select {
  font: inherit;
  color: inherit;
}

/* Make sure links are usable when unstyled */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

