:root {
	color-scheme: light dark;
	--bg: #fbf8f4;
	--fg: #2a2320;
	--muted: #6d6259;
	--rule: #e2d9cd;
	--accent: #8a4b2a;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #1b1815;
		--fg: #ece5dc;
		--muted: #a2968a;
		--rule: #3a332d;
		--accent: #d99263;
	}
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font: 17px/1.65 Georgia, "Times New Roman", serif;
}

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

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

.brand {
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	text-decoration: none;
	color: var(--fg);
}

.tagline {
	margin: 0.35rem 0 0;
	color: var(--muted);
	font-size: 0.95rem;
}

nav {
	margin-top: 1.1rem;
	font-size: 0.95rem;
}

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

nav a:hover,
nav a:focus {
	text-decoration: underline;
}

h1 {
	font-size: 1.75rem;
	line-height: 1.25;
	margin: 0 0 1rem;
}

h2 {
	font-size: 1.2rem;
	margin: 2.25rem 0 0.6rem;
}

p {
	margin: 0 0 1.1rem;
}

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

ul {
	padding-left: 1.2rem;
}

li {
	margin-bottom: 0.4rem;
}

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

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

.entry h2 {
	margin-top: 0;
}

.entry h2 a {
	text-decoration: none;
}

.date {
	display: block;
	color: var(--muted);
	font-size: 0.85rem;
	font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
	margin-bottom: 0.5rem;
}

table {
	border-collapse: collapse;
	width: 100%;
	font-size: 0.95rem;
	margin-bottom: 1.2rem;
}

th,
td {
	text-align: left;
	padding: 0.4rem 0.6rem 0.4rem 0;
	border-bottom: 1px solid var(--rule);
}

blockquote {
	margin: 0 0 1.1rem;
	padding-left: 1rem;
	border-left: 3px solid var(--rule);
	color: var(--muted);
}

footer {
	border-top: 1px solid var(--rule);
	margin-top: 3rem;
	padding-top: 1.25rem;
	color: var(--muted);
	font-size: 0.85rem;
}
