:root {
	color-scheme: light dark;
	--paper: #f5f4ef;
	--surface: #fffefa;
	--ink: #191817;
	--ink-2: #57524d;
	--ink-3: #7d7871;
	--line: #ddd8ce;
	--accent: #0f6b4c;
	--accent-ink: #ffffff;
	--notice: #fff3d8;
	--notice-line: #e5b85e;
}

@media (prefers-color-scheme: dark) {
	:root {
		--paper: #171614;
		--surface: #1e1d1a;
		--ink: #f2efe8;
		--ink-2: #c2bcb2;
		--ink-3: #9c958a;
		--line: #39342d;
		--accent: #79c3a0;
		--accent-ink: #17382b;
		--notice: #332a19;
		--notice-line: #765b29;
	}
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font:
		16px/1.62 ui-sans-serif,
		-apple-system,
		BlinkMacSystemFont,
		'Segoe UI',
		Inter,
		system-ui,
		sans-serif;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration-color: color-mix(in srgb, var(--ink-3) 50%, transparent);
	text-decoration-style: dashed;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

a:hover {
	text-decoration-style: solid;
}

.topbar {
	border-bottom: 1px solid var(--line);
	background: color-mix(in srgb, var(--surface) 68%, transparent);
}

.topbar-inner,
.document {
	width: min(820px, calc(100% - 40px));
	margin-inline: auto;
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 70px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 9px;
	font:
		600 24px/1 ui-serif,
		Georgia,
		serif;
	letter-spacing: -0.025em;
	text-decoration: none;
}

.brand img {
	width: 29px;
	height: 29px;
}

.back {
	color: var(--ink-2);
	font-size: 14px;
	text-underline-offset: 3px;
}

.document {
	padding-block: 72px 100px;
}

.eyebrow {
	margin: 0 0 12px;
	color: var(--accent);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

h1 {
	margin: 0;
	font:
		500 clamp(40px, 7vw, 62px) / 1.02 ui-serif,
		'Iowan Old Style',
		Georgia,
		serif;
	letter-spacing: -0.045em;
}

.intro {
	max-width: 700px;
	margin: 22px 0 0;
	color: var(--ink-2);
	font-size: 18px;
}

.notice {
	margin: 34px 0;
	border: 1px solid var(--notice-line);
	border-radius: 12px;
	padding: 17px 19px;
	background: var(--notice);
	font-size: 14px;
}

.content {
	margin-top: 48px;
	border-top: 1px solid var(--line);
}

.content section {
	border-bottom: 1px solid var(--line);
	padding: 30px 0;
}

h2 {
	margin: 0 0 12px;
	font-size: 20px;
	letter-spacing: -0.02em;
}

p,
ul,
ol {
	margin-block: 10px;
}

ul,
ol {
	padding-left: 22px;
}

li + li {
	margin-top: 7px;
}

.muted {
	color: var(--ink-3);
}

.data-table {
	display: grid;
	grid-template-columns: minmax(160px, 0.45fr) minmax(0, 1fr);
	margin-top: 20px;
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}

.data-table dt,
.data-table dd {
	margin: 0;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	padding: 13px 15px;
}

.data-table dt {
	color: var(--ink-3);
	font-size: 13px;
}

.data-table dd {
	background: var(--surface);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	margin-top: 16px;
	border-radius: 10px;
	padding: 0 19px;
	background: var(--accent);
	color: var(--accent-ink);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

@media (max-width: 560px) {
	.document {
		padding-block: 52px 72px;
	}

	.data-table {
		grid-template-columns: 1fr;
	}
}
