:root {
	--ink: #10131a;
	--paper: #f7f5ef;
	--muted: #5d6472;
	--rule: #d9d5c8;
	--accent: #2b4a7d;
}

@media (prefers-color-scheme: dark) {
	:root {
		--ink: #e8e6df;
		--paper: #12141a;
		--muted: #98a0b0;
		--rule: #2a2e39;
		--accent: #93b4e8;
	}
}

* { box-sizing: border-box; }

html {
	background: var(--paper);
}

body {
	margin: 0 auto;
	max-width: 40rem;
	padding: 3rem 1.25rem 4rem;
	background: var(--paper);
	color: var(--ink);
	font: 1rem/1.65 Iowan Old Style, Palatino Linotype, Palatino, Georgia, serif;
	-webkit-text-size-adjust: 100%;
}

a {
	color: var(--accent);
	text-underline-offset: 0.18em;
}

a:hover { text-decoration: none; }

header.masthead {
	border-bottom: 1px solid var(--rule);
	padding-bottom: 1rem;
	margin-bottom: 2.25rem;
}

.wordmark {
	display: inline-block;
	font-size: 1.6rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: none;
	color: var(--ink);
}

.wordmark span { color: var(--muted); }

nav {
	margin-top: 0.6rem;
	font-size: 0.9rem;
}

nav a {
	margin-right: 1.1rem;
	text-decoration: none;
}

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

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

h2 {
	font-size: 1.1rem;
	margin: 2.25rem 0 0.5rem;
}

p { margin: 0 0 1.1rem; }

.lede {
	font-size: 1.1rem;
	color: var(--muted);
}

ul.log {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.log li {
	border-top: 1px solid var(--rule);
	padding: 0.9rem 0;
}

ul.log li:last-child { border-bottom: 1px solid var(--rule); }

time {
	display: block;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

dl {
	margin: 0;
}

dt {
	font-weight: 600;
	margin-top: 1rem;
}

dd {
	margin: 0.2rem 0 0;
	color: var(--muted);
}

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