/* reset.css — border-box, zero margins, system-ui, dvh body, sensible defaults */
@layer reset {
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

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

  body {
    min-block-size: 100dvh;
    font-family: system-ui, -apple-system, "SF Pro Text", "Helvetica Neue", sans-serif;
    font-size: var(--type-body, 1rem);
    line-height: 1.5;
    background: var(--bg, #0a0a0a);
    color: var(--fg, #f5f5f5);
    font-kerning: auto;
    font-variant-ligatures: common-ligatures;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

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

  h1, h2, h3 {
    text-wrap: balance;
    line-height: 1.15;
  }

  p, li {
    text-wrap: pretty;
    max-inline-size: 65ch;
  }

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

  button {
    background: none;
    border: 0;
    cursor: pointer;
  }

  fieldset {
    border: 0;
  }

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