/* reset.css — modern minimal reset */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }

  * { margin: 0; padding: 0; }

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

  body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

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

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

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

  p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

  ul, ol { list-style: none; }

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

  :focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 4px;
  }

  ::selection {
    background: var(--brand);
    color: #fff;
  }
}
