@layer reset {
  /* Box sizing
  /* -------------------------------------------------------------------------- */

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

  /* Remove default margin
  /* -------------------------------------------------------------------------- */

  blockquote,
  body,
  figure,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p {
    margin: 0;
  }

  /* Document
  /* -------------------------------------------------------------------------- */

  html,
  body {
    overflow-x: clip;
  }

  body {
    line-height: 1.5;
    min-block-size: 100dvh;
  }

  /* Media
  /* -------------------------------------------------------------------------- */

  img,
  picture,
  svg {
    display: block;
    max-inline-size: 100%;
  }

  /* Forms
  /* -------------------------------------------------------------------------- */

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

  button {
    cursor: pointer;
  }

  /* Lists that carry a class are being laid out, not read as prose
  /* -------------------------------------------------------------------------- */

  :is(ul, ol)[class] {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  /* Motion
  /* -------------------------------------------------------------------------- */

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