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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

::selection { background: var(--brand-100); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--paper);
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.25;
  margin: 0 0 0.6em;
  color: var(--brand-900);
}

h1 { font-size: clamp(1.75rem, 5.5vw, 2.75rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 4.5vw, 2rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }

p { margin: 0 0 1em; }

a { color: var(--brand-700); }
a:hover { color: var(--brand-800); }

:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: 2px;
  border-radius: 4px;
}

img, svg { max-width: 100%; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--brand-900);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 12px 0;
  font-weight: 600;
}

.skip-link:focus { left: 0; color: #fff; }

.lead, .section-lead {
  font-size: 1.08rem;
  color: var(--ink-700);
}

.muted { color: var(--ink-500); }
.small { font-size: 0.9rem; }

.kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-100);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin: 0 0 0.9em;
}
