:root {
	--paper: #fbf8ec;
	--surface: #fffdf5;
	--ink: #1c2540;
	--ink-soft: #4b5470;
	--blue: #2433a6;
	--blue-soft: #e8ebfa;
	--line: #e3dcc2;
	--band: #1c2540;
	--band-ink: #fbf8ec;
	--amber: #e39a2d;
	--amber-hover: #f2ae48;
	--amber-ink: #241500;
	--card: #fffef7;
	--card-line: #e3dcc2;
	--shadow: 0 1px 2px rgba(28, 37, 64, .06), 0 6px 18px rgba(28, 37, 64, .07);
	--radius: 12px;
	--serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
	--sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
	:root {
		--paper: #0f1527;
		--surface: #151d35;
		--ink: #e9ecf5;
		--ink-soft: #aab2c8;
		--blue: #a5b5ff;
		--blue-soft: #1d2747;
		--line: #2a3454;
		--band: #0a0f1e;
		--band-ink: #f3efe0;
		--amber: #f0a43a;
		--amber-hover: #f7b85c;
		--amber-ink: #1f1200;
		--card-line: #3a4466;
		--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 22px rgba(0, 0, 0, .35);
	}
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 1.0625rem/1.65 var(--sans);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

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

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.vh {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
	position: absolute; left: -999px; top: 0;
	background: var(--amber); color: var(--amber-ink);
	padding: .5rem 1rem; z-index: 10; font-weight: 600;
}
.skip:focus { left: 1rem; top: .5rem; }

.site-header { background: var(--band); color: var(--band-ink); }

.bar {
	max-width: 52rem;
	margin: 0 auto;
	padding: .9rem 1.25rem;
	display: flex;
	align-items: center;
	gap: .75rem;
}

.brand {
	font: 600 1.7rem/1.1 var(--serif);
	letter-spacing: .01em;
	color: var(--band-ink);
	text-decoration: none;
	margin-right: auto;
}
.brand:hover { text-decoration: none; opacity: .9; }

.tabs { background: var(--surface); border-bottom: 1px solid var(--line); }

.tabs ul {
	max-width: 52rem;
	margin: 0 auto;
	padding: 0 .5rem;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
}

.tabs a {
	display: block;
	padding: .8rem .75rem .7rem;
	color: var(--ink);
	text-decoration: none;
	font-weight: 500;
	border-bottom: 3px solid transparent;
}
.tabs a:hover { color: var(--blue); border-bottom-color: var(--line); }
.tabs a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--amber); font-weight: 650; }

.menu { display: none; position: relative; }
.menu summary {
	list-style: none;
	cursor: pointer;
	padding: .45rem .9rem;
	border: 1px solid rgba(251, 248, 236, .45);
	border-radius: 999px;
	font-weight: 600;
	color: var(--band-ink);
	user-select: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: " \25BE"; }
.menu[open] summary::after { content: " \25B4"; }
.menu ul {
	position: absolute;
	right: 0;
	top: calc(100% + .5rem);
	z-index: 5;
	min-width: 13rem;
	margin: 0;
	padding: .4rem;
	list-style: none;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.menu a {
	display: block;
	padding: .6rem .8rem;
	border-radius: 8px;
	color: var(--ink);
	text-decoration: none;
}
.menu a:hover { background: var(--blue-soft); }
.menu a[aria-current="page"] { color: var(--blue); font-weight: 650; background: var(--blue-soft); }

@media (max-width: 52rem) {
	.tabs { display: none; }
	.menu { display: block; }
	.brand { font-size: 1.45rem; }
	.bar { padding: .75rem 1rem; gap: .5rem; }
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .6rem 1.15rem;
	border-radius: 999px;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
	border: 2px solid transparent;
}
.btn:hover { text-decoration: none; }

.btn-play { background: var(--amber); color: var(--amber-ink); }
.btn-play:hover { background: var(--amber-hover); }

.bar .btn-play { padding: .45rem 1rem; }

.btn-line { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-line:hover { background: var(--blue-soft); }

.btn small { font-weight: 500; opacity: .8; font-size: .85em; }

main {
	flex: 1 0 auto;
	width: 100%;
	max-width: 52rem;
	margin: 0 auto;
	padding: 2.25rem 1.25rem 3rem;
}

h1 {
	font: 600 clamp(2rem, 1.5rem + 2vw, 2.6rem)/1.15 var(--serif);
	margin: 0 0 1.25rem;
	color: var(--ink);
}

h2 {
	font: 600 1.4rem/1.25 var(--serif);
	color: var(--blue);
	margin: 2.4rem 0 .6rem;
}

p { margin: 0 0 1rem; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0 0; }

.plain-list { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.plain-list li { padding-left: 1.6em; text-indent: -1.6em; margin: 0 0 .55rem; }

.bullets { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.bullets li { position: relative; padding-left: 1.5rem; margin: 0 0 .45rem; }
.bullets li::before {
	content: "";
	position: absolute; left: .2rem; top: .62em;
	width: .55rem; height: .55rem; border-radius: 50%;
	background: var(--amber);
}

.lead { font-size: 1.15rem; }

.cta {
	margin: 0 0 2rem;
	padding: 1.25rem 1.4rem;
	background: var(--blue-soft);
	border-radius: var(--radius);
	border-left: 5px solid var(--amber);
}
.cta p:last-child { margin-bottom: 0; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 1.5rem; }

.figs {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 1.25rem 1.5rem;
	margin: 1.5rem 0 2rem;
}

figure {
	margin: 0;
	width: fit-content;
	min-width: min(10rem, 100%);
	max-width: 100%;
}

.paper {
	background: var(--card);
	border: 1px solid var(--card-line);
	border-radius: var(--radius);
	padding: .6rem;
	box-shadow: var(--shadow);
}
.paper img { display: block; margin: 0 auto; }

figcaption {
	width: 0;
	min-width: 100%;
	margin-top: .6rem;
	font-size: .95rem;
	color: var(--ink-soft);
}

.figs-stack { flex-direction: column; }

.actions-center { justify-content: center; }

.figs-or {
	align-self: center;
	margin: 0;
	font: 600 1.05rem var(--serif);
	letter-spacing: .08em;
	color: var(--ink-soft);
}

.board { margin: .5rem auto 1.75rem; }
.board .paper { padding: .75rem; }

.notice { font-size: .95rem; color: var(--ink-soft); }

@media (max-width: 36rem) {
	main { padding-top: 1.6rem; }
	.figs { gap: 1rem; }
	.cta .btn { width: 100%; justify-content: center; text-align: center; }
}

.site-footer {
	border-top: 1px solid var(--line);
	background: var(--surface);
	color: var(--ink-soft);
	font-size: .875rem;
	text-align: center;
	padding: 1.25rem 1.25rem 1.75rem;
}
.site-footer p { margin: 0; }

@media print {
	:root {
		--paper: #fff; --surface: #fff; --ink: #000; --ink-soft: #222; --blue: #000;
		--line: #999; --card: #fff; --card-line: #bbb; --shadow: none;
	}
	@page { margin: .6in; }
	body { font-size: 11pt; line-height: 1.45; display: block; }
	.skip, .tabs, .menu, .btn, .cta, .actions { display: none !important; }
	.site-header { background: none; color: #000; border-bottom: 1px solid #999; }
	.bar { padding: 0 0 .4rem; }
	.brand { color: #000; font-size: 13pt; }
	main { max-width: none; padding: .8rem 0 0; }
	h1 { font-size: 20pt; }
	h2 { font-size: 13pt; margin-top: 1.4rem; break-after: avoid; }
	a { color: #000; text-decoration: none; }
	figure, .figs, .paper { break-inside: avoid; }
	.figs { margin: .8rem 0 1.2rem; }
	.board img { max-height: 8.5in; width: auto; }
	.site-footer { background: none; border-top: 1px solid #999; color: #000; margin-top: 1rem; }
}
