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

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

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

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

  a {
    color: inherit;
    text-decoration: none;
  }

  ul,
  ol {
    list-style: none;
  }
}

@layer base {
  html {
    font-family: var(--font-body);
    font-size: 100%;
    background: var(--c-white);
    color: var(--c-ink);
  }

  body {
    min-height: 100dvh;
    line-height: var(--lh-body);
    overflow-x: hidden;
  }

  h1,
  h2,
  h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: var(--lh-tight);
    letter-spacing: -0.01em;
  }

  h1 {
    font-size: var(--fs-h1);
  }

  h2 {
    font-size: var(--fs-h2);
    line-height: var(--lh-snug);
  }

  h3 {
    font-size: var(--fs-h3);
    line-height: var(--lh-snug);
  }

  p {
    font-size: var(--fs-body);
  }

  strong {
    font-weight: 700;
  }

  em {
    font-style: italic;
    font-family: var(--font-display);
  }

  small {
    font-size: var(--fs-small);
  }

  ::selection {
    background: var(--c-volt);
    color: var(--c-on-volt);
  }
}
