:root {
	color-scheme: light;
	--text: #222e2c;
	--muted: #4b5d58;
	--accent: #145d50;
	--line: #d6e1db;
	--heading-font: "Source Serif 4", Georgia, serif;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: #fcfcf8;
	color: var(--text);
	font: 1.125rem / 1.6 "Source Sans 3", system-ui, sans-serif;
}

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

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

h1,
h2 {
	margin: 0 0 0.75em;
	font-family: var(--heading-font);
	font-weight: 600;
	line-height: 1.13;
}

h1 {
	font-size: clamp(2rem, 5vw, 3.5rem);
	margin-bottom: 0.45em;
}

h2 {
	font-size: clamp(1.55rem, 3vw, 1.95rem);
}

p {
	margin: 0 0 0.9em;
}

.site-width {
	width: min(100% - 2rem, 68rem);
	margin-inline: auto;
}

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

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 4.25rem;
}

.header-inner img {
	display: block;
}

.header-inner nav {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	font-weight: 600;
}

.site-header nav a,
.site-header nav a:hover,
.interior a,
.interior a:hover {
	color: var(--accent);
	text-decoration: underline;
}

.site-header nav a[aria-current] {
	text-decoration-thickness: 2px;
}

.interior.container {
	max-width: 68rem;
	padding: clamp(2rem, 5vw, 3.75rem) 0 3rem;
}

.interior .bigtitle,
.interior .title,
.interior .head,
.interior .bighead {
	color: var(--text);
	font-family: var(--heading-font);
	font-weight: 600;
	line-height: 1.15;
}

.interior .bigtitle {
	font-size: clamp(2rem, 5vw, 3.5rem);
}

.interior .title {
	font-size: clamp(1.85rem, 4vw, 2.75rem);
}

.interior .head,
.interior .bighead {
	font-size: clamp(1.45rem, 3vw, 1.95rem);
}

.interior .smallhead {
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.45;
}

.interior .note,
.interior .smallnote,
.interior .footernav {
	color: var(--muted);
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.5;
}

.interior .paperbox {
	min-height: 0;
}

.interior .media {
	gap: 0.85rem;
}

.interior .media-body {
	min-width: 0;
}

.interior .post {
	max-width: 68ch;
}

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

.interior hr {
	border-color: var(--line);
}

.interior pre,
.interior table {
	max-width: 100%;
	overflow-x: auto;
}

.interior table {
	display: block;
}

.interior > .bigspacer:first-child {
	display: none;
}

@media (max-width: 35rem) {
	.interior .media {
		flex-wrap: wrap;
	}

	.interior .media-body {
		flex-basis: 100%;
	}
}
