:root {
  color-scheme: light;
  --paper: #fbfcfa;
  --linen: #f4f1e9;
  --ink: #18251e;
  --graphite: #526057;
  --forest: #355e44;
  --copper: #b9663c;
  --outline: #d9ddd7;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

body {
  margin: 0;
}

a {
  color: var(--forest);
  font-weight: 650;
  text-underline-offset: 0.2em;
}

.site-header,
footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 72rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
}

.site-header {
  border-bottom: 1px solid var(--outline);
}

.brand {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand span,
.eyebrow {
  color: var(--copper);
}

.header-link {
  font-size: 0.9rem;
}

main {
  margin: 0 auto;
  max-width: 72rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.hero {
  max-width: 52rem;
  padding: clamp(5rem, 12vw, 9rem) 0;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5.25rem);
  letter-spacing: -0.055em;
  line-height: 1.02;
  margin-bottom: 1.75rem;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.lede {
  color: var(--graphite);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  max-width: 47rem;
}

.principles {
  border-bottom: 1px solid var(--outline);
  border-top: 1px solid var(--outline);
  display: grid;
  gap: 3rem;
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

.cards article {
  background: var(--linen);
  border: 1px solid var(--outline);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.cards p,
.contact p,
.legal-page p,
.not-found p {
  color: var(--graphite);
}

.contact {
  max-width: 42rem;
  padding: clamp(4rem, 8vw, 6rem) 0;
}

footer {
  border-top: 1px solid var(--outline);
  color: var(--graphite);
  font-size: 0.82rem;
}

footer p {
  margin: 0;
}

.legal-page {
  max-width: 48rem;
  padding-bottom: 5rem;
  padding-top: 5rem;
}

.legal-page h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 0.5rem;
}

.legal-page h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  margin-top: 2.25rem;
}

.effective {
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.not-found {
  max-width: 42rem;
  padding-bottom: 7rem;
  padding-top: 7rem;
}

.not-found h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}

@media (max-width: 44rem) {
  .cards {
    grid-template-columns: 1fr;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
  }
}
