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

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-page);
  color: var(--color-text);
  font-family: var(--font-family);
  font-size: var(--font-size-b2);
  line-height: var(--line-height-b2);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.is-scroll-locked {
  overflow: hidden;
}

ul[role="list"] {
  list-style: none;
  margin: 0;
  padding: 0;
}

img,
svg {
  display: block;
}

button {
  font: inherit;
  color: inherit;
}

.skip-link {
  position: absolute;
  inset-inline-start: var(--space-2);
  top: var(--space-2);
  z-index: 100;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-pill);
  background: var(--color-primary-700);
  color: var(--color-text-on-brand);
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform var(--duration-base) var(--ease-smooth);
}

.skip-link:focus {
  transform: none;
}

/* ---- TEMPORARY section scaffolding (remove when real sections land) ---- */
.scaffold__section {
  min-height: 100vh;
  scroll-margin-top: var(--header-height, 0px);
}

/* Visually hidden, still announced by screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
