/* ═══════════════════════════════════════════════════
   Base — Reset & global element styles
   Requires: tokens.css loaded first
═══════════════════════════════════════════════════ */

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

/* ── Root ── */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background: var(--color-canvas);
  color: var(--color-ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Scrollbar ── */
::-webkit-scrollbar       { width: 5px; height: 5px }
::-webkit-scrollbar-track { background: var(--color-border) }
::-webkit-scrollbar-thumb { background: var(--color-divider); border-radius: var(--radius-pill) }

/* ── Form elements ── */
input,
select,
textarea,
button {
  font-family: var(--font-family);
  font-size: inherit;
  outline: none;
}

::placeholder { color: var(--color-subtle) }

/* ── Links ── */
a {
  color: var(--color-brand);
  text-decoration: none;
}

/* ── Lists ── */
ul, ol { list-style: none }

/* ── Images ── */
img, svg { display: block; max-width: 100% }
