:root {
	color-scheme: light dark;
	--bg: #fafafa;
	--fg: #111;
	--muted: #666;
	--line: #ddd;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #111;
		--fg: #eee;
		--muted: #aaa;
		--line: #333;
	}
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font:
		18px / 1.6 system-ui,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		sans-serif;
}

main {
	max-width: 720px;
	margin: 0 auto;
	padding: 2rem 1rem 5rem;
}

header {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid var(--line);
	margin-bottom: 3rem;
	padding-bottom: 0.75rem;
}

a {
	color: inherit;
}

nav a {
	margin-left: 1rem;
}

h1,
h2,
h3 {
	line-height: 1.2;
}

.subtitle,
time {
	color: var(--muted);
}

img {
	max-width: 100%;
	height: auto;
}
