:root {
  color-scheme: light;
  --ink: #17201e;
  --muted: #66716e;
  --paper: #f3f1e9;
  --card: #faf9f4;
  --line: #d8d5ca;
  --accent: #1c6b58;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

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

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

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

nav {
  display: flex;
  gap: 24px;
}

nav a,
footer a {
  color: var(--muted);
  text-decoration: none;
}

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

.hero {
  min-height: 560px;
  display: grid;
  align-content: center;
  padding: 72px 0;
}

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

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

h1 {
  max-width: 850px;
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 7.4rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .92;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.button {
  width: fit-content;
  margin-top: 16px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
}

.button:hover {
  color: var(--paper);
  background: var(--ink);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.cards article {
  min-height: 230px;
  padding: 28px;
  background: var(--card);
}

.cards span,
time {
  color: var(--muted);
  font-size: .8rem;
}

.cards h2 {
  margin: 58px 0 8px;
  font-size: 1.2rem;
}

.cards p,
.note-list p,
.page > p:not(.eyebrow):not(.lead) {
  color: var(--muted);
}

.page {
  min-height: 650px;
  padding: 96px 0;
}

.page h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.narrow {
  max-width: 840px;
  margin-left: max(20px, calc((100% - 1120px) / 2));
}

.note-list {
  margin-top: 70px;
  border-top: 1px solid var(--line);
}

.note-list article {
  display: grid;
  grid-template-columns: 170px minmax(220px, 1fr) 1.3fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.note-list h2 {
  font-size: 1.15rem;
}

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

@media (max-width: 720px) {
  .site-header {
    min-height: 72px;
  }

  nav {
    gap: 14px;
    font-size: .9rem;
  }

  .hero {
    min-height: 500px;
  }

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

  .note-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

