@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
  img, svg, video { display: block; max-inline-size: 100%; }
  input, button, textarea, select { font: inherit; color: inherit; }
}

@layer base {
  html {
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
  }

  body {
    background: var(--color-canvas);
    color: var(--color-ink);
    font-family: var(--font-sans);
    font-size: var(--text-normal);
    line-height: 1.5;
    min-block-size: 100dvh;
  }

  a {
    color: var(--color-accent);
    text-underline-offset: 0.15em;
  }

  h1 { font-size: var(--text-xx-large); line-height: 1.15; }
  h2 { font-size: var(--text-large); }

  :focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
  }
}
