/* =============================================================================
   Base — reset + typographic baseline
   ============================================================================= */

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

html {
  font-size: var(--font-size-md);
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  margin: 0 0 var(--sp-4);
  line-height: 1.25;
}

p {
  margin: 0 0 var(--sp-4);
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

/* ── Utility: visually-hidden (a11y) ─────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
