:root {
	color-scheme: light;
	font-family: Verdana, Arial, sans-serif;
	color: #000;
	background: #fff;
}

* {
	box-sizing: border-box;
}

html {
	font-size: 18px;
}

body {
	margin: 0;
	background: #fff;
	color: #000;
	line-height: 1.6;
}

.shell {
	width: min(48rem, calc(100% - 2rem));
	margin: 0 auto;
	padding: 2.5rem 0 5rem;
}

a {
	color: #000;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover {
	text-decoration-thickness: 2px;
}

.skip-link {
	position: absolute;
	left: -10000px;
	top: auto;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
	padding: 0.5rem;
	background: #fff;
	border: 2px solid #000;
	z-index: 2;
}

.site-header {
	margin-bottom: 3rem;
}

.site-name {
	margin: 0 0 0.2rem;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: clamp(2rem, 7vw, 3rem);
	line-height: 1.1;
}

.site-name a {
	text-decoration: none;
}

.site-header nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	font-size: 0.9rem;
}

.site-header nav a + a::before {
	content: '·';
	display: inline-block;
	margin: 0 0.45rem;
	color: #555;
}

.archive-row time,
.post-header time {
	color: #555;
	font-size: 0.82rem;
}

.archive-year {
	margin-top: 2rem;
}

.home-page .archive-year:first-child {
	margin-top: 0;
}

.archive-year h2 {
	margin: 0 0 0.75rem;
	font-family: Georgia, 'Times New Roman', serif;
	font-weight: 400;
}

.archive-row {
	display: grid;
	grid-template-columns: 6.5rem 1fr;
	gap: 0.75rem;
	margin: 0.7rem 0;
}

.site-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.35rem 1rem;
	margin-top: 5rem;
	padding-top: 1rem;
	border-top: 1px solid #ccc;
	color: #555;
	font-size: 0.82rem;
}

.proof-line {
	font-style: italic;
}

.copyright {
	margin-left: auto;
	text-align: right;
}

.post-header {
	max-width: 42rem;
	margin-bottom: 1.5rem;
}

.post-header h1,
.not-found h1 {
	margin: 0 0 0.45rem;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: clamp(2rem, 8vw, 3.5rem);
	font-weight: 400;
	line-height: 1.08;
}

.post-header time {
	display: block;
	margin-bottom: 1.25rem;
}

.post-hero {
	max-width: 42rem;
	margin: 0 0 2.5rem;
}

.post-hero img,
.post-body img {
	display: block;
	max-width: 100%;
	height: auto;
}

.post-body,
.not-found {
	max-width: 42rem;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 1.05rem;
}

.post-body p {
	margin: 0 0 1.35em;
}

.post-body h2,
.post-body h3,
.post-body h4 {
	margin: 2.25em 0 0.65em;
	font-weight: 400;
	line-height: 1.2;
}

.post-body blockquote {
	margin: 1.75rem 0;
	padding-left: 1.25rem;
	border-left: 2px solid #000;
	font-style: italic;
}

.post-body blockquote p {
	margin-bottom: 0.7em;
}

.post-body pre {
	overflow-x: auto;
	padding: 1rem;
	background: #f3f3f3;
	border: 1px solid #ccc;
	font-size: 0.82rem;
}

.post-body :not(pre) > code {
	padding: 0.1em 0.25em;
	background: #f3f3f3;
	font-size: 0.9em;
}

.post-body hr {
	margin: 2.5rem 0;
	border: 0;
	border-top: 1px solid #ccc;
}

.post-body table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

.post-body th,
.post-body td {
	padding: 0.45rem;
	border: 1px solid #bbb;
	text-align: left;
}

@media (max-width: 36rem) {
	html {
		font-size: 17px;
	}

	.shell {
		width: min(100% - 1.25rem, 48rem);
		padding-top: 1.25rem;
	}

	.site-header {
		margin-bottom: 2rem;
	}

	.archive-row {
		grid-template-columns: 5.25rem 1fr;
		gap: 0.5rem;
	}
}
