*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--navy);
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(2.7rem, 5.5vw, 5.05rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  font-weight: 750;
}

p {
  color: var(--muted);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: clamp(72px, 9vw, 118px) 0;
}

.section--soft {
  background: var(--pale);
}

.section-heading {
  max-width: 710px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading p {
  max-width: 610px;
  margin: 14px auto 0;
  font-size: 1.06rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--teal-dark);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--navy);
  color: white;
}

.skip-link:focus {
  transform: translateY(0);
}

.grid {
  display: grid;
  gap: 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
  border: 0;
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 36px, var(--container));
  }

  .section {
    padding: 70px 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}