:root {
  color-scheme: light dark;
  font-family: ui-rounded, -apple-system, BlinkMacSystemFont, "SF Pro Rounded", sans-serif;
  line-height: 1.6;
  background: Canvas;
  color: CanvasText;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

a {
  color: LinkText;
  text-underline-offset: 0.16em;
}

a:focus-visible {
  border-radius: 0.2rem;
  outline: 0.2rem solid #0a84ff;
  outline-offset: 0.2rem;
}

.skip-link {
  background: Canvas;
  left: 1rem;
  padding: 0.65rem 0.85rem;
  position: absolute;
  top: -5rem;
  z-index: 1;
}

.skip-link:focus {
  top: 1rem;
}

header,
main,
footer {
  width: min(46rem, calc(100% - 2rem));
  margin-inline: auto;
}

header {
  padding-block: 3rem 1.5rem;
}

main {
  min-height: 60vh;
}

footer {
  border-top: 1px solid color-mix(in srgb, CanvasText 18%, transparent);
  margin-top: 4rem;
  padding-block: 1.5rem 3rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

h1 {
  font-size: clamp(2.25rem, 8vw, 4.75rem);
  line-height: 1;
  margin: 0;
}

h2 {
  line-height: 1.25;
  margin-top: 2.25rem;
}

.eyebrow {
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lede {
  font-size: 1.25rem;
  max-width: 38rem;
}

address {
  font-style: normal;
}

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