:root {
  color-scheme: light;
  --ink: #16201c;
  --muted: #5e6963;
  --paper: #f4f1e9;
  --card: #ebe6dc;
  --line: #d5cec1;
  --accent: #2d604d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a { color: inherit; }

.site-header,
main,
footer {
  width: min(1080px, 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);
}

.brand {
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-decoration: none;
}

nav { display: flex; gap: 24px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--accent); }

.hero { padding: 110px 0 96px; max-width: 850px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1 { margin-bottom: 28px; font-size: clamp(3rem, 8vw, 6.8rem); letter-spacing: -.055em; }
h2 { margin-bottom: 28px; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.035em; }
h3 { margin-bottom: 10px; font-size: 1.25rem; }

.lede { max-width: 690px; margin: 0; color: var(--muted); font-size: 1.25rem; }

.notes { border-top: 1px solid var(--line); padding: 72px 0 90px; }
.section-heading { margin-bottom: 38px; }
.notes article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.notes article:last-child { border-bottom: 1px solid var(--line); }
.notes article p { margin: 0; max-width: 720px; color: var(--muted); }
.notes .number { color: var(--accent); font-variant-numeric: tabular-nums; }

.about {
  margin-bottom: 100px;
  padding: 64px;
  background: var(--card);
  border-radius: 3px;
}
.about p:last-child { max-width: 700px; margin-bottom: 0; color: var(--muted); font-size: 1.1rem; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}
footer p { margin: 0; }

@media (max-width: 640px) {
  .site-header, main, footer { width: min(100% - 28px, 1080px); }
  .hero { padding: 76px 0 70px; }
  .notes { padding-top: 56px; }
  .notes article { grid-template-columns: 44px 1fr; }
  .about { padding: 38px 26px; margin-bottom: 70px; }
  footer { flex-direction: column; }
}
