:root {
  --ink: #23262b;
  --muted: #646b75;
  --paper: #fbfaf7;
  --line: #e2ded6;
  --accent: #2f6b4f;
  --accent-soft: #e4efe8;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 Georgia, "Times New Roman", serif;
}
a { color: var(--accent); }
.site-header, main, .site-footer { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.site-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.brand { font-size: 24px; color: var(--ink); text-decoration: none; }
.brand span { font-size: 14px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-left: 8px; }
nav { display: flex; gap: 20px; font-family: system-ui, sans-serif; font-size: 15px; }
nav a { text-decoration: none; color: var(--muted); }
nav a[aria-current="page"], nav a:hover { color: var(--accent); }
h1 { font-size: 40px; line-height: 1.15; margin: 56px 0 16px; font-weight: normal; }
h2 { font-size: 24px; margin: 48px 0 12px; font-weight: normal; }
.lead { font-size: 20px; color: var(--muted); max-width: 34em; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding: 0; list-style: none; }
.cards li { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; }
.cards h3 { margin: 0 0 6px; font-size: 18px; font-weight: normal; color: var(--accent); }
.cards p { margin: 0; font-size: 15px; color: var(--muted); }
.note { background: var(--accent-soft); border-radius: 6px; padding: 20px 24px; margin-top: 40px; }
.note h2 { margin-top: 0; }
.site-footer {
  margin-top: 72px;
  padding-top: 20px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  color: var(--muted);
}
.site-footer p { margin: 0; }
@media (max-width: 520px) { h1 { font-size: 30px; margin-top: 36px; } }
