:root {
  color-scheme: light;
  --paper: #f3f0e7;
  --ink: #17342d;
  --muted: #62716a;
  --line: #cdd4ca;
  --accent: #b85f3d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
}

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

.site-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 22px;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.tagline,
footer {
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 0.82rem;
}

.intro {
  max-width: 820px;
  padding: 13vh 0 11vh;
}

.eyebrow,
.note-number {
  color: var(--accent);
  font-family: system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

h1 {
  max-width: 760px;
  margin: 18px 0 22px;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

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

.notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

article {
  min-height: 280px;
  padding: 32px;
  border-right: 1px solid var(--line);
}

article:first-child {
  padding-left: 0;
}

article:last-child {
  padding-right: 0;
  border-right: 0;
}

h2 {
  margin: 52px 0 18px;
  font-size: 1.42rem;
  font-weight: 500;
}

article p:last-child {
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 0.92rem;
  line-height: 1.65;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 24px 0 40px;
}

@media (max-width: 760px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .intro {
    padding-block: 10vh;
  }

  .notes {
    grid-template-columns: 1fr;
  }

  article,
  article:first-child,
  article:last-child {
    min-height: auto;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  article:last-child {
    border-bottom: 0;
  }

  h2 {
    margin-top: 28px;
  }
}
