/* Modern CSS reset — adapted from Andy Bell's reset
   https://andy-bell.co.uk/a-modern-css-reset/ */

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

* { margin: 0; }

html:focus-within { scroll-behavior: smooth; }

body { min-height: 100vh; }

body {
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

input, button, textarea, select { font: inherit; }

p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

h1, h2, h3, h4, h5, h6 { line-height: 1.15; }

a { color: inherit; }

button { cursor: pointer; background: none; border: none; padding: 0; }

ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

@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;
  }
}
