:root {
  color-scheme: light;
  --ink: #18201d;
  --muted: #65706b;
  --paper: #f5f4ef;
  --line: #d7d9d2;
  --accent: #126b51;
  --accent-soft: #dcebe5;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% -10%, rgba(18, 107, 81, .13), transparent 32rem),
    var(--paper);
  min-height: 100vh;
}

a { color: inherit; }

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -.035em;
  font-size: 1.12rem;
}

.wordmark span { color: var(--accent); }

nav { display: flex; gap: 1.4rem; }

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
}

nav a:hover,
nav a[aria-current="page"] { color: var(--ink); }

.hero {
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
  max-width: 920px;
}

.eyebrow {
  color: var(--accent);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  margin: .8rem 0 1.5rem;
  max-width: 920px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .96;
}

.lede {
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.notes { border-top: 1px solid var(--ink); }

.section-heading {
  padding: 1.2rem 0 2.6rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.section-heading h2 { margin: 0; font-size: 1rem; }
.section-heading p { margin: 0; color: var(--muted); font-size: .85rem; }

article {
  display: grid;
  grid-template-columns: minmax(60px, 1fr) 5fr;
  gap: 2rem;
  padding: 2.4rem 0 3rem;
  border-top: 1px solid var(--line);
}

.number { margin: .25rem 0; color: var(--accent); font-variant-numeric: tabular-nums; }

article h3 {
  margin: 0 0 .7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -.025em;
}

article div p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.72;
}

.prose { padding: clamp(5rem, 12vw, 9rem) 0; max-width: 900px; }
.prose h1 { font-size: clamp(3rem, 7vw, 5.8rem); }
.prose > p:not(.eyebrow) { max-width: 700px; font-size: 1.12rem; line-height: 1.75; color: var(--muted); }
.prose .back { display: inline-block; margin-top: 2rem; color: var(--accent); text-decoration: none; font-weight: 650; }

footer {
  margin-top: 5rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: .82rem;
}

footer p { margin: 0; }

@media (max-width: 620px) {
  .site-header { align-items: flex-start; padding: 1.25rem 0; gap: 1rem; }
  nav { gap: .8rem; flex-wrap: wrap; justify-content: flex-end; }
  h1 br { display: none; }
  article { grid-template-columns: 38px 1fr; gap: 1rem; }
  footer { gap: 1rem; align-items: flex-start; }
}
