/* ============================================================
   Modern CSS reset (Andy Bell — A (More) Modern CSS Reset).
   Minimal, accessible, predictable.
   ============================================================ */

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

* { margin: 0; }

html { -webkit-text-size-adjust: 100%; }

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

body {
  min-height: 100vh;
  min-height: 100svh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

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

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

a:not([class]) { text-decoration-skip-ink: auto; }

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

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

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

table { border-collapse: collapse; }

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