/* =============================================================================
   Reset — minimal, modern. Loaded before base.css.
   ========================================================================== */

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

* { margin: 0; }

html, body { height: 100%; }

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

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

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

table { border-collapse: collapse; width: 100%; }

h1, h2, h3, h4, h5, h6 { font-weight: inherit; font-size: inherit; }

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

/* Prevent flash of unstyled custom elements (parity with design-system pages) */
:not(:defined) { visibility: hidden; }
