:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #5c6762;
  --paper: #f5f3ed;
  --surface: #ffffff;
  --accent: #166b4f;
  --accent-dark: #0f503b;
  --line: #d8dcd7;
}

* {
  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(--accent-dark);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

.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(--line);
}

.wordmark {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-weight: 700;
  gap: 0.7rem;
  text-decoration: none;
}

.mark {
  align-items: center;
  background: var(--ink);
  border-radius: 0.7rem;
  color: var(--surface);
  display: inline-flex;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  height: 2.2rem;
  justify-content: center;
  width: 2.2rem;
}

nav a {
  font-weight: 650;
  text-decoration: none;
}

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

.hero {
  max-width: 52rem;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.7rem, 8vw, 5.6rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.65rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  max-width: 45rem;
}

.button {
  background: var(--accent);
  border-radius: 999px;
  color: white;
  display: inline-block;
  font-weight: 750;
  margin-top: 1.25rem;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-dark);
  color: white;
}

.details {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  margin-top: clamp(5rem, 10vw, 9rem);
  padding-top: 2.5rem;
}

.detail-copy p:first-child {
  margin-top: 0;
}

.policy {
  max-width: 52rem;
}

.policy-heading {
  border-bottom: 1px solid var(--line);
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
}

.policy h1 {
  font-size: clamp(2.5rem, 7vw, 4.7rem);
}

.policy section {
  margin-top: 2.8rem;
}

.policy section h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.policy p,
.policy li {
  color: #39423e;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 680px) {
  .details {
    grid-template-columns: 1fr;
  }

  .site-header,
  footer {
    align-items: flex-start;
  }

  .wordmark span:last-child {
    max-width: 12rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  a {
    transition: color 150ms ease, background-color 150ms ease;
  }
}
