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

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 .5em;
}

h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); letter-spacing: -.01em; }
h3 { font-weight: 700; }

p { margin: 0 0 1em; }

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

a { color: var(--c-crimson); }

:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 2px; }

section[id] { scroll-margin-top: var(--header-h); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--c-charcoal);
  color: var(--c-white);
}
.skip-link:focus { top: 8px; }

/* Unconfirmed business facts; the launch gate refuses any data-todo. */
.todo {
  background: #fef08a;
  color: var(--c-text);
  text-decoration: underline dotted;
}
