*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--fs-body) / 1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img,
svg,
picture {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
p {
  margin: 0;
  text-wrap: pretty;
  max-width: 68ch;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
table {
  border-collapse: collapse;
  width: 100%;
}
dialog {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-light :focus-visible {
  outline-color: var(--accent-on-light);
}

.wrap {
  width: min(var(--max), 100%);
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}
.section {
  padding-block: var(--section);
  position: relative;
}
.section.tight {
  padding-block: clamp(48px, 4vw + 16px, 96px);
}
.surface-2 {
  background: var(--bg-2);
}
.on-light {
  background: var(--light);
  color: var(--ink);
}
.on-light.alt {
  background: var(--light-2);
}
.on-light p,
.on-light li {
  color: var(--ink-2);
}
.on-light h1,
.on-light h2,
.on-light h3 {
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: var(--r-s);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  transition: top var(--t-fast);
}
.skip-link:focus {
  top: 16px;
}

.eyebrow {
  font: 600 0.9rem / 1.2 var(--f-body);
  letter-spacing: 0.01em;
  color: var(--accent-text);
  text-transform: none;
}
.on-light .eyebrow {
  color: var(--accent-on-light);
}
.lede {
  font-size: var(--fs-lede);
  color: var(--text-2);
  line-height: 1.55;
  max-width: 60ch;
}
.on-light .lede {
  color: var(--ink-2);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
  }
}
