@layer reset, tokens, site, page;

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

  html {
    color-scheme: light dark;
    font-size: 100%;
    line-height: 1.5;
    text-size-adjust: 100%;
  }

  body {
    min-block-size: 100vh;
    margin: 0;
  }

  body,
  h1,
  h2,
  h3,
  h4,
  p,
  figure,
  blockquote,
  dl,
  dd {
    margin-block-start: 0;
  }

  ul,
  ol {
    padding-inline-start: 1.25em;
  }

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

  img,
  video {
    block-size: auto;
  }

  iframe {
    border: 0;
  }

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

  button {
    cursor: pointer;
  }

  textarea {
    resize: vertical;
  }

  :focus-visible {
    outline: 0.1875rem solid currentcolor;
    outline-offset: 0.1875rem;
  }
}

@layer reset {
  @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;
    }
  }
}
