/* ==========================================================================
   reset.css — small modern reset. Nothing site-specific belongs in here.
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body,
h1, h2, h3, h4,
p, figure, blockquote,
dl, dd, ul, ol {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, button, input, label {
  line-height: 1.2;
}

h1, h2, h3, h4 {
  text-wrap: balance;
  font-weight: inherit;
}

p, li {
  text-wrap: pretty;
}

a {
  color: inherit;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img, picture, svg, video {
  max-width: 100%;
  display: block;
}

svg {
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

/* Smooth anchor scrolling, but only where motion is welcome. */
@media (prefers-reduced-motion: no-preference) {
  html:focus-within {
    scroll-behavior: smooth;
  }
}

@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;
  }
}
