/* Reset — adapted from Andy Bell's modern CSS reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html:focus-within { scroll-behavior: smooth; }
html, body { height: 100%; }

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: var(--lh-normal);
}

img, picture, video, svg {
  max-width: 100%;
  display: block;
}

input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

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