:root {
  --bg: #fbfaf7;
  --fg: #1d1d1b;
  --muted: #6b6a66;
  --line: #e3e0d8;
  --accent: #2d5a43;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.65 Georgia, "Times New Roman", serif;
}

header, main, footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: .02em;
}

nav a {
  margin-left: 18px;
  color: var(--muted);
  text-decoration: none;
  font: 15px/1.4 system-ui, sans-serif;
}

nav a:hover { color: var(--accent); }

main { padding-top: 34px; }

h1 {
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 14px;
}

.lead {
  color: var(--muted);
  font-size: 19px;
  margin: 0 0 34px;
}

article { margin-bottom: 30px; }

h2 {
  font-size: 22px;
  margin: 0 0 6px;
}

h2 a { color: var(--fg); text-decoration: none; }
h2 a:hover { color: var(--accent); }

article p { margin: 0; color: var(--muted); }

footer {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 18px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 14px/1.4 system-ui, sans-serif;
}
