*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-weight: 800; font-size: clamp(40px, 6vw, 72px); }
h2 { font-weight: 700; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.1; }
h3 { font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; }
h4 { font-weight: 700; font-size: 22px; line-height: 1.3; }

p { font-size: 18px; line-height: 1.65; }
.lede { font-size: 20px; color: var(--cool-grey); max-width: 680px; line-height: 1.55; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--signal-red);
  display: inline-block;
  padding: 6px 14px;
  background: rgba(176, 33, 26, 0.08);
  border-radius: var(--r-pill);
}
.accent { color: var(--signal-red); }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.container.narrow { width: min(calc(100% - 48px), var(--container-narrow)); }

section { padding: var(--section-pad-desktop) 0; border-bottom: 1px solid var(--hairline); }
section.alt { background: var(--bone); }
section.dark { background: var(--ink); color: var(--white); border-bottom-color: transparent; }
section.dark p { color: rgba(255, 255, 255, 0.75); }
section.dark .lede { color: rgba(255, 255, 255, 0.75); }
section.dark h2, section.dark h3 { color: var(--white); }

@media (max-width: 1024px) { section { padding: var(--section-pad-tablet) 0; } }
@media (max-width: 640px) {
  section { padding: var(--section-pad-mobile) 0; }
  body { font-size: 17px; }
  p { font-size: 17px; }
  .lede { font-size: 18px; }
}

:focus-visible { outline: 2px solid var(--signal-red); outline-offset: 3px; border-radius: 4px; }
