:root {
  --bg: #fafaf8;
  --fg: #2c2c2c;
  --muted: #6b6b6b;
  --accent: #4a7c6f;
  --border: #e2e0dc;
  --code-bg: #f0efec;
  --max-w: 680px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 17px; }

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
  padding: 3rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

h1, h2, h3 {
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

h1 { font-size: 1.8rem; }
h2 { font-size: 1.35rem; color: var(--accent); }
h3 { font-size: 1.1rem; }

p { margin-bottom: 1.25rem; }

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
a:hover { border-bottom-color: var(--accent); }

blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.5rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--muted);
  font-style: italic;
}

code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.88rem;
  background: var(--code-bg);
  padding: 0.15em 0.4em;
  border-radius: 3px;
}

pre {
  background: var(--code-bg);
  padding: 1.25rem;
  border-radius: 6px;
  overflow-x: auto;
  margin: 1.5rem 0;
}
pre code { background: none; padding: 0; }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

ul, ol {
  margin: 1rem 0 1.25rem 1.5rem;
}
li { margin-bottom: 0.4rem; }

nav {
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
}
nav a { margin-right: 1.5rem; }

.meta {
  color: var(--muted);
  font-size: 0.88rem;
  font-family: system-ui, sans-serif;
  margin-bottom: 2rem;
}

.emoji { font-style: normal; }

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
  font-family: system-ui, sans-serif;
}
