:root {
	--ink: #1c2226;
	--ink-soft: #5a666e;
	--paper: #f7f8f8;
	--line: #d9dee1;
	--accent: #2f5d77;
	--accent-soft: #eaf0f4;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	line-height: 1.65;
}

.wrap {
	max-width: 46rem;
	margin: 0 auto;
	padding: 0 1.25rem;
}

header.site {
	border-bottom: 1px solid var(--line);
	background: #fff;
}

.masthead {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem;
	padding: 1.4rem 0 1.1rem;
}

.masthead h1 {
	margin: 0;
	font-size: 1.5rem;
	letter-spacing: 0.02em;
}

.masthead h1 a {
	color: var(--ink);
	text-decoration: none;
}

.tagline {
	margin: 0.2rem 0 0;
	color: var(--ink-soft);
	font-size: 0.9rem;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

nav.site ul {
	list-style: none;
	display: flex;
	gap: 1.1rem;
	margin: 0;
	padding: 0;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 0.92rem;
}

nav.site a {
	color: var(--accent);
	text-decoration: none;
	padding-bottom: 2px;
	border-bottom: 1px solid transparent;
}

nav.site a:hover {
	border-bottom-color: var(--accent);
}

main {
	padding: 2.2rem 0 3rem;
}

h2 {
	font-size: 1.35rem;
	margin: 2.2rem 0 0.7rem;
	line-height: 1.3;
}

h3 {
	font-size: 1.08rem;
	margin: 1.6rem 0 0.4rem;
}

p {
	margin: 0 0 1rem;
}

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

.lede {
	font-size: 1.08rem;
	color: var(--ink-soft);
}

figure {
	margin: 1.8rem 0;
}

figure img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--line);
	background: #fff;
}

figcaption {
	margin-top: 0.5rem;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 0.85rem;
	color: var(--ink-soft);
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.4rem 0;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 0.9rem;
}

th,
td {
	text-align: left;
	padding: 0.5rem 0.6rem;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}

th {
	background: var(--accent-soft);
	font-weight: 600;
}

.entry {
	border-top: 1px solid var(--line);
	padding-top: 1.3rem;
	margin-top: 1.7rem;
}

.entry h3 {
	margin-top: 0;
}

.meta {
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 0.82rem;
	color: var(--ink-soft);
	letter-spacing: 0.03em;
	text-transform: uppercase;
	margin-bottom: 0.35rem;
}

blockquote {
	margin: 1.5rem 0;
	padding: 0.2rem 0 0.2rem 1.1rem;
	border-left: 3px solid var(--line);
	color: var(--ink-soft);
}

footer.site {
	border-top: 1px solid var(--line);
	background: #fff;
	padding: 1.5rem 0 2.2rem;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 0.85rem;
	color: var(--ink-soft);
}

footer.site p {
	margin: 0 0 0.4rem;
}

.notfound {
	padding: 3.5rem 0;
	text-align: center;
}

.notfound .code {
	font-size: 3.2rem;
	margin: 0;
	color: var(--accent);
	letter-spacing: 0.05em;
}

@media (max-width: 34rem) {
	body {
		font-size: 16px;
	}

	.masthead {
		flex-direction: column;
		align-items: flex-start;
	}
}
