html {
  scroll-behavior: smooth;
}

/* Keep anchor targets clear of the sticky header */
[id] {
  scroll-margin-top: 4.5rem;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: var(--leading-tight);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

h3 {
  font-size: var(--text-lg);
  font-weight: 500;
  line-height: 1.25;
}

p {
  line-height: 1.6;
}

a {
  text-underline-offset: 0.2em;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
