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

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fff;
}

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

a {
  color: inherit;
}

.wrap {
  width: min(44rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header,
.site-footer {
  padding: 1.25rem 0;
}

.site-header .wrap,
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 650;
  text-decoration: none;
}

.nav,
.footer-nav {
  display: flex;
  gap: 1rem;
}

.nav a,
.footer-nav a {
  text-decoration: none;
}

.nav a:hover,
.footer-nav a:hover,
.brand:hover {
  text-decoration: underline;
}

main {
  padding: 3rem 0 4rem;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
}

.lede {
  margin: 0;
  font-size: 1.125rem;
}

.prose h2 {
  margin-top: 2rem;
}

.site-footer {
  border-top: 1px solid #e6e6e6;
  font-size: 0.9rem;
}
