* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-cream);
  font: 1.125rem/1.65 var(--font-sans);
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--color-primary-dark);
}
a:hover {
  color: var(--color-primary);
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
h1,
h2,
h3 {
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.08;
}
h1 {
  font-size: clamp(2.5rem, 4.45vw, 4rem);
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(2rem, 3.34vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.5rem;
  line-height: 1.25;
}
p,
li {
  max-width: 75ch;
}
ul {
  padding-left: 1.2rem;
}
main :is(h1, h2, h3, p) {
  margin-block: 0;
}
main :is(h1, h2, h3, p, li) {
  overflow-wrap: anywhere;
  hyphens: auto;
}
main :is(h1, h2, h3, .hero-lead, .large-copy) {
  hyphens: manual;
}
main :is(h1, h2) {
  text-wrap: balance;
}
main :is(h1, h2) + p,
main p + p {
  margin-top: var(--copy-gap);
}
main h3 + p {
  margin-top: 0.75rem;
}
:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: -5rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--color-primary-dark);
}
.skip-link:focus {
  top: 1rem;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
