/* ============================================================
   reset.css — minimal modern reset
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--gray-dark) var(--black);
}

body {
  min-height: 100svh;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, video, svg, canvas, iframe { display: block; max-width: 100%; }
img, video { height: auto; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul, ol { list-style: none; }

::selection { background: var(--white); color: var(--black); }

:focus-visible {
  outline: 1.5px solid var(--white);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: calc(var(--z-loader) + 1);
  padding: 12px 18px;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 12px;
  border-radius: var(--radius-xs);
  transform: translateY(-200%);
  transition: transform var(--duration-fast) var(--ease-out-quart);
}
.skip-link:focus-visible { transform: none; }

html.reduce-motion *,
html.reduce-motion *::before,
html.reduce-motion *::after {
  animation-duration: 0.001s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001s !important;
  scroll-behavior: auto !important;
}
