:root {
  --bg: #fdfbf7;
  --text: #2b2620;
  --muted: #7d7262;
  --accent: #b4532a;
  --border: #e8e0d2;
  --code-bg: #f4efe6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.7;
  font-size: 17px;
}

header {
  max-width: 720px;
  margin: 0 auto;
  padding: 30px 20px 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 2px solid var(--border);
}

.logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.4px;
}

nav a {
  margin-left: 20px;
  color: var(--muted);
  text-decoration: none;
  font-size: 16px;
}

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

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 48px;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1.3;
  margin: 14px 0 8px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  margin: 38px 0 8px;
}

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

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

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

.meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 0.2px;
}

.post-teaser {
  border-top: 1px solid var(--border);
  padding: 20px 0 6px;
}

.post-teaser:first-of-type { border-top: none; }

p { margin: 12px 0; }

code {
  background: var(--code-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 15px;
}

.back { margin-top: 38px; }

footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 20px 40px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--border);
}
