:root {
  --ink: #1a1a1a;
  --muted: #666;
  --accent: #2f7d4f;
  --bg: #ffffff;
  --line: #e6e6e6;
  --maxw: 720px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 18px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.site-header { border-bottom: 1px solid var(--line); padding: 32px 0 24px; }
.site-title { display: inline-block; font-size: 1.6rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.site-tagline { margin: 4px 0 14px; color: var(--muted); font-size: 0.95rem; }
.site-nav a {
  display: inline-block; margin-right: 14px; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--accent);
  text-decoration: none;
}
.site-nav a:hover { text-decoration: underline; }

main.wrap { padding-top: 36px; padding-bottom: 56px; }

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

h1, h2, h3 { line-height: 1.25; }
.post-title { font-size: 2rem; margin: 0 0 6px; }
.post-meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 28px; }
.post-meta a { color: var(--muted); }

.post-content img { display: block; max-width: 100%; height: auto; margin: 1.4em auto; border-radius: 6px; }
.post-content iframe { display: block; max-width: 100%; margin: 1.4em auto; }
.post-content p { margin: 1.1em 0; }
.post-content h2 { margin-top: 1.8em; }
.post-content pre { background: #f5f5f5; padding: 14px; border-radius: 6px; overflow: auto; }
.post-content code { background: #f5f5f5; padding: 2px 5px; border-radius: 4px; font-size: 0.9em; }
.post-content pre code { background: none; padding: 0; }
.post-content blockquote {
  margin: 1.4em 0; padding: 4px 18px; border-left: 3px solid var(--accent); color: var(--muted);
}

.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.post-list h2 { font-size: 1.35rem; margin: 0 0 4px; }
.post-list h2 a { color: var(--ink); text-decoration: none; }
.post-list h2 a:hover { color: var(--accent); }
.post-list .post-meta { margin: 0 0 8px; }
.post-list .excerpt { margin: 0; color: #333; }

.page-heading { font-size: 1.5rem; margin: 0 0 8px; }
.post-categories { margin-top: 36px; font-size: 0.85rem; color: var(--muted); }
.post-categories a { margin-right: 10px; }

.site-footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 0.85rem; }