/* ============================================================
   reset.css — Normalize, base body, scrollbar, selection
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ui);
  background: var(--dark);
  color: var(--text-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

img, video, svg { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- Custom scrollbar ---- */
::-webkit-scrollbar           { width: var(--scrollbar-w); }
::-webkit-scrollbar-track     { background: var(--dark-2); }
::-webkit-scrollbar-thumb     { background: var(--accent); border-radius: var(--scrollbar-r); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-light); }

/* ---- Selection ---- */
::selection { background: var(--accent); color: #fff; }

/* ---- Focus visible (keyboard nav) ---- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
