html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--color-ink);
  background: var(--color-white);
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h4 {
  font-size: var(--text-sm);
  font-weight: 500;
}

strong {
  font-weight: 500;
}

a {
  color: inherit;
}

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

::selection {
  background: var(--color-sage-pale);
  color: var(--color-ink);
}

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