/* Base element styles shared by every page (keeps the HTML free of repeated classes) */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
}

h3 {
  font-weight: 600;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

summary {
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
