:root {
	--bg: #fbfaf6;
	--text: #2b2a26;
	--muted: #6f6b60;
	--accent: #4f7a3a;
	--line: #e4e0d4;
	--card: #ffffff;
}
@media (prefers-color-scheme: dark) {
	:root {
		--bg: #1c1d1a;
		--text: #e6e3da;
		--muted: #a5a191;
		--accent: #9cc47f;
		--line: #34362f;
		--card: #23251f;
	}
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 17px/1.65 Georgia, "PT Serif", "Times New Roman", serif;
}
a { color: var(--accent); }
a:hover { text-decoration: none; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
header.site { border-bottom: 1px solid var(--line); padding: 28px 0 18px; }
header.site .title { font-size: 30px; font-weight: bold; color: var(--text); text-decoration: none; }
header.site .tagline { color: var(--muted); margin: 4px 0 0; font-style: italic; }
nav.site { margin-top: 12px; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 15px; }
nav.site a { margin-right: 18px; }
main { padding: 24px 0 40px; }
.post-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.post-item h2 { margin: 0 0 4px; font-size: 22px; line-height: 1.3; }
.post-item h2 a { color: var(--text); text-decoration: none; }
.post-item h2 a:hover { color: var(--accent); }
.meta { color: var(--muted); font-size: 14px; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.post-item p { margin: 8px 0 0; }
article h1 { font-size: 30px; line-height: 1.25; margin: 0 0 6px; }
article h2 { font-size: 21px; margin: 28px 0 8px; }
article p, article li { margin: 0 0 14px; }
article ul, article ol { padding-left: 22px; }
.note {
	background: var(--card);
	border-left: 3px solid var(--accent);
	padding: 12px 16px;
	margin: 18px 0;
	font-size: 16px;
}
.back { margin-top: 30px; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 15px; }
footer.site {
	border-top: 1px solid var(--line);
	padding: 18px 0 30px;
	color: var(--muted);
	font: 14px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
