:root {
	color-scheme: light dark;
	--ink: #1c1c1e;
	--muted: #6b6b70;
	--rule: #e2e2e5;
	--paper: #fbfbfa;
	--accent: #6b4f2a;
}

@media (prefers-color-scheme: dark) {
	:root {
		--ink: #e8e6e1;
		--muted: #9a978f;
		--rule: #34343a;
		--paper: #16161a;
		--accent: #c9a227;
	}
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0 1.25rem;
	background: var(--paper);
	color: var(--ink);
	font: 16px/1.65 Georgia, "Times New Roman", serif;
}

.wrap {
	max-width: 40rem;
	margin: 0 auto;
	padding: 3rem 0 4rem;
}

header {
	border-bottom: 1px solid var(--rule);
	padding-bottom: 1.25rem;
	margin-bottom: 2.5rem;
}

.site-title {
	font-size: 1.35rem;
	font-weight: normal;
	letter-spacing: 0.01em;
	margin: 0 0 0.4rem;
}

.site-title a {
	color: var(--ink);
	text-decoration: none;
}

nav {
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 0.83rem;
	color: var(--muted);
}

nav a {
	color: var(--muted);
	text-decoration: none;
	margin-right: 1rem;
}

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

h1 {
	font-size: 1.7rem;
	font-weight: normal;
	line-height: 1.3;
	margin: 0 0 1.4rem;
}

h2 {
	font-size: 1.15rem;
	font-weight: normal;
	margin: 2.5rem 0 0.8rem;
}

p {
	margin: 0 0 1.1rem;
}

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

.entry {
	border-bottom: 1px solid var(--rule);
	padding-bottom: 1.6rem;
	margin-bottom: 1.6rem;
}

.entry:last-of-type {
	border-bottom: none;
}

.entry h2 {
	margin-top: 0;
}

.date {
	display: block;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 0.45rem;
}

blockquote {
	margin: 1.4rem 0;
	padding-left: 1.1rem;
	border-left: 2px solid var(--rule);
	color: var(--muted);
	font-style: italic;
}

footer {
	border-top: 1px solid var(--rule);
	margin-top: 3.5rem;
	padding-top: 1.2rem;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 0.78rem;
	color: var(--muted);
}
