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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height-mobile);
}

body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

p,
blockquote {
  text-wrap: pretty;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.container {
  width: min(var(--container-max), calc(100% - (2 * var(--container-gutter))));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: var(--space-3);
  z-index: 9999;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-ink-strong);
  font-weight: 750;
}

.skip-link:focus {
  top: var(--space-3);
}

.eyebrow {
  margin: 0 0 var(--space-4);
  color: var(--color-brand);
  font-size: var(--text-base);
  font-weight: 800;
  letter-spacing: var(--tracking-label);
  line-height: 1.25;
  text-transform: uppercase;
}

.lead {
  max-width: 43rem;
  margin: var(--space-6) 0 0;
  color: #555c55;
  font-size: clamp(1.05rem, 3.8vw, 1.35rem);
  line-height: 1.6;
}

.lead-small {
  color: #555c55;
  font-size: var(--text-lg);
}

@media (min-width: 56.25rem) {
  html {
    scroll-padding-top: var(--header-height-desktop);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
