:root {
  --ink: #1f2a24;
  --muted: #5b6b62;
  --ground: #f7f5ef;
  --card: #ffffff;
  --accent: #3f7d5a;
  --line: #e4e0d5;
}

* { box-sizing: border-box; }

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

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

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

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

header .name {
  font: 600 20px/1.2 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  text-decoration: none;
}

nav a {
  font: 15px/1.2 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--muted);
  text-decoration: none;
  margin-right: 16px;
}

nav a:last-child { margin-right: 0; }

h1, h2, h3 {
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.25;
}

h1 { font-size: 32px; margin: 36px 0 8px; }
h2 { font-size: 22px; margin: 32px 0 8px; }

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

.posts { list-style: none; padding: 0; margin: 28px 0; }

.posts li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 14px;
}

.posts a {
  font: 600 19px/1.3 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  text-decoration: none;
}

.posts p { margin: 6px 0 0; color: var(--muted); }

.meta {
  color: var(--muted);
  font: 14px/1.4 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

.note {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 16px;
  color: var(--muted);
}

footer {
  margin-top: 56px;
  padding-top: 20px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 14px/1.5 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}
