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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--space-4));
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
}

main {
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 4px;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  max-width: 24ch;
  margin-bottom: var(--space-4);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.25rem;
}

p,
li,
dd,
dt,
h1,
h2,
h3,
a,
button,
summary,
.brand-copy,
.status {
  overflow-wrap: anywhere;
}

.skip-link {
  position: fixed;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--color-focus);
  color: #111;
  font-weight: 800;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 2.5rem), var(--content-width));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-8);
}

.section + .section {
  border-top: 1px solid var(--color-line);
}

.section-header {
  max-width: var(--text-width);
  margin-bottom: var(--space-7);
}

.section-header p:last-child,
.lede,
.muted {
  color: var(--color-muted);
}

.eyebrow {
  margin-bottom: var(--space-3);
  color: var(--color-action);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.prose {
  max-width: var(--text-width);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 47.99rem) {
  :root {
    --header-height: 4.25rem;
    --space-8: 3.5rem;
  }

  .shell {
    width: min(calc(100% - 1.5rem), var(--content-width));
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 29.99rem) {
  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
