@layer reset {

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

    html {
      font-size: var(--font-size-base);
      scroll-behavior: smooth;
    }

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


      body, ul, ol, li, h1, h2, h3, p, button, fieldset, blockquote, figure, details, summary, dl, dt, dd {
        margin: 0;
        padding: 0;
      }

      body { -webkit-font-smoothing: antialiased; }
      :any-link { color: inherit; }
      ul, ol { list-style-type: none; }
      em { font-style: normal; }
      h1, h2, nav, nav :any-link { line-height: 1; }

      svg {
        inline-size: auto;
        block-size: 1rem;
        stroke-width: 1;
        vector-effect: non-scaling-stroke;
        stroke: currentcolor;
        fill: none;
        stroke-linecap: round;
        stroke-linejoin: round;
      }

      table {
        table-layout: fixed;
        border-collapse: collapse;
      }

      h1, h2, h3, h4, h5, h6 {
        font-size: var(--font-md);
        font-weight: var(--bold);
      }

      input,
      select,
      button,
      textarea {
        border-radius: 0;
        background: inherit;
        color: inherit;
        &:disabled { cursor: not-allowed; }
        &[type="checkbox"] {
          inline-size: auto;
          block-size: 1rem;
        }
      }

      summary {
        cursor: pointer;
        list-style: none;
        &::-webkit-details-marker { display: none; }
      }
    }
