/*
===========================================================================

site.css - Legends Of The Road site styles

Night-desert theme: ink-blue ground, saffron gold for actions, Iznik
turquoise for live and informational accents. Dark only; the game's own
look is dark and the site is its doorway. Tokens first, then the shell,
then components in page order.

===========================================================================
*/

@font-face {
	font-family: "Marcellus";
	font-weight: 400;
	font-display: swap;
	src: url("/fonts/marcellus-latin-400-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Marcellus";
	font-weight: 400;
	font-display: swap;
	src: url("/fonts/marcellus-latin-ext-400-normal.woff2") format("woff2");
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Source Sans 3";
	font-weight: 400;
	font-display: swap;
	src: url("/fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Source Sans 3";
	font-weight: 400;
	font-display: swap;
	src: url("/fonts/source-sans-3-latin-ext-400-normal.woff2") format("woff2");
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Source Sans 3";
	font-weight: 600;
	font-display: swap;
	src: url("/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Source Sans 3";
	font-weight: 600;
	font-display: swap;
	src: url("/fonts/source-sans-3-latin-ext-600-normal.woff2") format("woff2");
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Source Sans 3";
	font-weight: 700;
	font-display: swap;
	src: url("/fonts/source-sans-3-latin-700-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Source Sans 3";
	font-weight: 700;
	font-display: swap;
	src: url("/fonts/source-sans-3-latin-ext-700-normal.woff2") format("woff2");
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	color-scheme: dark;
	--bg: #0b0f16;
	--bg-2: #0f141d;
	--panel: #131a25;
	--panel-2: #182130;
	--line: #243042;
	--line-2: #33425a;
	--text: #ebe5d6;
	--muted: #98a2b0;
	--faint: #6b7686;
	--gold: #e3a94f;
	--gold-hi: #f5d08c;
	--gold-lo: #a8722c;
	--teal: #3cb4ac;
	--teal-soft: rgba(60, 180, 172, .14);
	--up: #45c486;
	--down: #e0675a;
	--wait: #d9a441;
	--radius: 6px;
	--shell: 1240px;
	--display: "Marcellus", "Times New Roman", serif;
	--body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
	--shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 12px 32px rgba(0, 0, 0, .35);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.6 var(--body);
	overflow-x: hidden;
}

img,
svg {
	max-width: 100%;
}

a {
	color: var(--gold-hi);
	text-underline-offset: 3px;
}
a:hover {
	color: #fff2cf;
}

h1,
h2,
h3 {
	font-family: var(--display);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: .01em;
	margin: 0 0 .5em;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

:focus-visible {
	outline: 2px solid var(--teal);
	outline-offset: 2px;
}

.sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 100;
	background: var(--gold);
	color: #1a1206;
	padding: 8px 14px;
	border-radius: var(--radius);
	font-weight: 700;
}
.skip:focus {
	top: 8px;
}

.shell {
	width: 100%;
	max-width: var(--shell);
	margin: 0 auto;
	padding: 0 24px;
}

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

.gold-text {
	background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* --- strip and header --------------------------------------------------- */

.strip {
	background: #080b11;
	border-bottom: 1px solid var(--line);
	font-size: 13px;
	color: var(--muted);
}
.strip-in {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 34px;
}
.strip b {
	color: var(--text);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.strip-live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.strip-lang {
	margin-left: auto;
	font-weight: 700;
	letter-spacing: .08em;
	text-decoration: none;
	color: var(--muted);
	border: 1px solid var(--line-2);
	border-radius: 4px;
	padding: 1px 8px;
}
.strip-lang:hover {
	color: var(--text);
	border-color: var(--gold-lo);
}

.dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--faint);
	display: inline-block;
}
.is-up .dot {
	background: var(--up);
	box-shadow: 0 0 0 0 rgba(69, 196, 134, .6);
	animation: pulse 2.4s infinite;
}
@keyframes pulse {
	70% {
		box-shadow: 0 0 0 8px rgba(69, 196, 134, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(69, 196, 134, 0);
	}
}

.top {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(11, 15, 22, .86);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.top-in {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 72px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--gold);
}
.brand:hover {
	color: var(--gold-hi);
}
.brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1;
	font-family: var(--display);
}
.brand-text b {
	font-weight: 400;
	font-size: 22px;
	letter-spacing: .06em;
	color: var(--text);
}
.brand-text small {
	font-size: 11px;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--gold);
	margin-top: 3px;
}

.nav {
	display: flex;
	gap: 4px;
}
.nav a {
	color: var(--muted);
	text-decoration: none;
	padding: 8px 12px;
	border-radius: var(--radius);
	font-weight: 600;
	font-size: 15px;
}
.nav a:hover {
	color: var(--text);
	background: var(--panel);
}
.nav a[aria-current="page"] {
	color: var(--gold-hi);
	box-shadow: inset 0 -2px 0 var(--gold);
	border-radius: 0;
}

.top-cta {
	margin-left: auto;
	display: flex;
	gap: 10px;
}
.top-cta [hidden] {
	display: none;
}

.menu-btn {
	display: none;
	margin-left: auto;
	background: none;
	color: var(--text);
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	padding: 7px 12px;
	font: 600 14px var(--body);
	cursor: pointer;
}

/* --- buttons -------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 9px 18px;
	border-radius: var(--radius);
	font: 700 13px/1.2 var(--body);
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
	white-space: nowrap;
}
.btn:hover {
	transform: translateY(-1px);
}
.btn-gold {
	color: #1c1306;
	background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, #c98a36);
	border-color: #f7dc9f;
	box-shadow: 0 6px 20px rgba(227, 169, 79, .25), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn-gold:hover {
	color: #1c1306;
	box-shadow: 0 8px 26px rgba(227, 169, 79, .38), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn-ghost {
	color: var(--text);
	background: rgba(255, 255, 255, .02);
	border-color: var(--line-2);
}
.btn-ghost:hover {
	color: #fff;
	border-color: var(--gold-lo);
	background: rgba(227, 169, 79, .06);
}
.btn-lg {
	padding: 14px 26px;
	font-size: 14px;
}
.btn-block {
	width: 100%;
	padding: 13px 18px;
}
.btn[disabled],
[inert] .btn {
	opacity: .5;
	cursor: not-allowed;
	transform: none;
}

/* --- hero ----------------------------------------------------------------- */

.hero {
	position: relative;
	min-height: min(78vh, 680px);
	display: flex;
	align-items: center;
	overflow: hidden;
	isolation: isolate;
	border-bottom: 1px solid var(--line);
}
.hero-art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(11, 15, 22, .88) 0%, rgba(11, 15, 22, .55) 45%, rgba(11, 15, 22, 0) 75%), linear-gradient(0deg, var(--bg) 0, rgba(11, 15, 22, 0) 30%);
}
.hero-art .stars {
	animation: twinkle 6s ease-in-out infinite alternate;
}
.hero-art .caravan {
	animation: walk 60s linear infinite;
}
@keyframes twinkle {
	to {
		opacity: .55;
	}
}
@keyframes walk {
	from {
		transform: translateX(80px);
	}
	to {
		transform: translateX(-260px);
	}
}
.hero-in {
	padding-top: 72px;
	padding-bottom: 96px;
}
.eyebrow {
	color: var(--teal);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .22em;
	text-transform: uppercase;
	margin-bottom: 16px;
}
.hero-h {
	font-size: clamp(42px, 7vw, 84px);
	max-width: 12ch;
	margin-bottom: 20px;
	text-shadow: 0 4px 30px rgba(0, 0, 0, .5);
}
.hero-h span {
	display: block;
}
.hero-lede {
	font-size: clamp(17px, 2vw, 20px);
	color: #d6d0c2;
	max-width: 52ch;
	margin-bottom: 28px;
}
.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 8px 0 0;
}
.badges {
	list-style: none;
	padding: 0;
	margin: 28px 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.badges li {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	color: var(--gold-hi);
	border: 1px solid rgba(227, 169, 79, .4);
	background: rgba(11, 15, 22, .5);
	padding: 4px 10px;
	border-radius: 99px;
}

/* --- layout and cards ----------------------------------------------------- */

.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 28px;
	margin-top: -48px;
	position: relative;
	padding-bottom: 64px;
}
.main-col {
	min-width: 0;
	display: grid;
	gap: 28px;
	align-content: start;
}
.side {
	display: grid;
	gap: 20px;
	align-content: start;
}

.card {
	background: linear-gradient(180deg, var(--panel-2), var(--panel));
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px 24px;
	box-shadow: var(--shadow);
	position: relative;
}
.card::before {
	/* the corner tick that marks a panel */
	content: "";
	position: absolute;
	top: -1px;
	left: -1px;
	width: 18px;
	height: 18px;
	border-top: 2px solid var(--gold);
	border-left: 2px solid var(--gold);
	border-top-left-radius: var(--radius);
	opacity: .8;
}
.card-h {
	font-size: 20px;
	margin-bottom: 16px;
	color: var(--text);
}

.section {
	padding: 8px 0;
}
.section.card {
	padding: 22px 24px;
}
.section-h {
	font-size: clamp(26px, 3.4vw, 34px);
}
.section-lede {
	color: var(--muted);
	margin-bottom: 22px;
}
.more {
	font-weight: 700;
	text-decoration: none;
	font-size: 14px;
	letter-spacing: .04em;
}

/* status */
.stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	/* cells draw their own hairlines, so a short last row leaves no
	   coloured gap behind it */
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.stat {
	box-shadow: 0 0 0 .5px var(--line);
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.stat span {
	color: var(--muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.stat b {
	font-size: 20px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.state::before {
	content: "";
	display: inline-block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	margin-right: 8px;
	vertical-align: middle;
	background: currentColor;
}
.state-up {
	color: var(--up);
}
.state-down {
	color: var(--down);
}
.state-wait {
	color: var(--wait);
}

/* features */
.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 14px;
	margin-bottom: 14px;
}
.feature {
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px 20px;
	transition: border-color .2s ease, transform .2s ease;
}
.feature:hover {
	border-color: var(--line-2);
	transform: translateY(-2px);
}
.feature-n {
	font-family: var(--display);
	color: var(--gold);
	font-size: 14px;
	letter-spacing: .1em;
}
.feature h3 {
	font-size: 21px;
	margin: 6px 0 8px;
}
.feature p {
	color: var(--muted);
	margin: 0;
	font-size: 15px;
}

/* steps */
.steps {
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	counter-reset: s;
}
.steps li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}
.step-n {
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-family: var(--display);
	font-size: 20px;
	color: var(--gold-hi);
	border: 1px solid var(--gold-lo);
	background: rgba(227, 169, 79, .08);
}
.steps h3 {
	font-size: 19px;
	margin: 6px 0 4px;
}
.steps p {
	color: var(--muted);
	margin: 0;
	font-size: 15px;
}

/* tabs */
.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 16px;
}
.tabs button {
	background: none;
	border: 0;
	color: var(--muted);
	font: 600 14px var(--body);
	padding: 10px 14px;
	cursor: pointer;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}
.tabs button:hover {
	color: var(--text);
}
.tabs button[aria-selected="true"] {
	color: var(--gold-hi);
	border-bottom-color: var(--gold);
}

/* live lists */
.feed {
	list-style: none;
	margin: 0;
	padding: 0;
}
.feed li {
	display: flex;
	gap: 12px;
	align-items: baseline;
	padding: 9px 0;
	border-bottom: 1px solid var(--line);
	font-size: 15px;
}
.feed li:last-child {
	border-bottom: 0;
}
.feed .when {
	color: var(--faint);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	flex: none;
	min-width: 56px;
}
.feed .grow {
	flex: 1;
	min-width: 0;
}
.feed .val {
	color: var(--muted);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.feed b {
	font-weight: 600;
}
.pill {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 99px;
	white-space: nowrap;
}
.pill-up {
	color: var(--up);
	background: rgba(69, 196, 134, .12);
}
.pill-down {
	color: var(--muted);
	background: rgba(255, 255, 255, .05);
}
.pill-now {
	color: var(--teal);
	background: var(--teal-soft);
}

.tips {
	margin: 0;
	padding-left: 20px;
	color: var(--muted);
	font-size: 14px;
}
.tips li {
	margin-bottom: 6px;
}

/* --- inner pages ---------------------------------------------------------- */

.page-head {
	padding: 64px 0 36px;
	background: radial-gradient(ellipse at 20% 0%, rgba(60, 180, 172, .10), transparent 55%), radial-gradient(ellipse at 90% 10%, rgba(227, 169, 79, .10), transparent 50%);
	border-bottom: 1px solid var(--line);
	margin-bottom: 36px;
}
.page-head h1 {
	font-size: clamp(34px, 5vw, 54px);
}
.lede {
	color: var(--muted);
	font-size: 18px;
	max-width: 60ch;
	margin: 0;
}

.narrow {
	max-width: 820px;
	padding-bottom: 72px;
}

/* about book */
.book {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 48px;
	padding-bottom: 72px;
}
.book-toc {
	position: sticky;
	top: 96px;
	align-self: start;
}
.book-toc ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 2px;
}
.book-toc a {
	display: flex;
	gap: 10px;
	padding: 7px 10px;
	border-radius: var(--radius);
	color: var(--muted);
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
}
.book-toc a span {
	color: var(--gold);
	font-family: var(--display);
}
.book-toc a:hover {
	background: var(--panel);
	color: var(--text);
}
.chapter {
	padding-bottom: 36px;
	margin-bottom: 36px;
	border-bottom: 1px solid var(--line);
	max-width: 72ch;
}
.chapter-n {
	font-family: var(--display);
	color: var(--gold);
	letter-spacing: .14em;
	margin-bottom: 4px;
}
.chapter h2 {
	font-size: 32px;
}
.chapter p {
	color: #d4cebf;
	font-size: 17px;
}
.diff {
	display: grid;
	gap: 12px;
	margin-top: 12px;
}
.diff article {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 14px 16px;
}
.diff h3 {
	font: 700 16px var(--body);
	margin-bottom: 6px;
}
.diff dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 4px 12px;
	margin: 0;
	font-size: 15px;
}
.diff dt {
	color: var(--faint);
}
.diff dd {
	margin: 0;
	color: var(--muted);
}

/* rankings */
.rank-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}
.rank-tools .tabs {
	margin-bottom: 0;
	flex: 1;
}
.rank-filters {
	display: flex;
	gap: 8px;
	padding-bottom: 8px;
}
select,
input[type="search"],
input[type="text"],
input[type="email"],
input[type="password"] {
	background: var(--bg);
	border: 1px solid var(--line-2);
	color: var(--text);
	border-radius: var(--radius);
	padding: 9px 12px;
	font: 15px var(--body);
	min-width: 0;
}
select:focus,
input:focus {
	border-color: var(--teal);
	outline: none;
	box-shadow: 0 0 0 3px var(--teal-soft);
}
.table-wrap {
	overflow-x: auto;
	margin: 8px -4px 0;
}
table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	font-variant-numeric: tabular-nums;
}
th,
td {
	text-align: left;
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	white-space: nowrap;
}
th {
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}
tbody tr:hover {
	background: rgba(255, 255, 255, .02);
}
.medal {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	font-weight: 700;
	font-size: 13px;
	background: var(--panel-2);
	border: 1px solid var(--line-2);
}
.medal-1 {
	background: linear-gradient(180deg, #f7d98c, #c9902f);
	color: #241605;
	border-color: #f7d98c;
}
.medal-2 {
	background: linear-gradient(180deg, #e3e7ee, #9aa3b1);
	color: #1a1e25;
	border-color: #e3e7ee;
}
.medal-3 {
	background: linear-gradient(180deg, #e7b48a, #a3643a);
	color: #24140a;
	border-color: #e7b48a;
}
.pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 16px;
	color: var(--muted);
	font-size: 14px;
}

/* faq and rules */
.qa {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--panel);
	margin-bottom: 10px;
}
.qa summary {
	cursor: pointer;
	padding: 16px 20px;
	font-weight: 600;
	font-size: 17px;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 12px;
}
.qa summary::-webkit-details-marker {
	display: none;
}
.qa summary::after {
	content: "+";
	color: var(--gold);
	font-size: 22px;
	line-height: 1;
}
.qa[open] summary::after {
	content: "-";
}
.qa p {
	padding: 0 20px 18px;
	margin: 0;
	color: var(--muted);
}
.rule-block {
	margin-bottom: 32px;
}
.rule-block h2 {
	font-size: 26px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--line);
}
.rule-block li,
.rule-block p {
	color: #d4cebf;
}
.rule-block li {
	margin-bottom: 8px;
}

/* forms */
.form-wrap {
	display: flex;
	justify-content: center;
	padding-bottom: 80px;
}
.form-card {
	width: 100%;
	max-width: 460px;
	padding: 32px;
}
.form-card > .mark {
	color: var(--gold);
	display: block;
	margin: 0 auto 16px;
}
.notice {
	background: rgba(217, 164, 65, .1);
	border: 1px solid rgba(217, 164, 65, .35);
	color: #f0d9a8;
	border-radius: var(--radius);
	padding: 12px 14px;
	font-size: 15px;
}
.form[inert] {
	opacity: .55;
}
.field {
	margin-bottom: 16px;
}
.field label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 6px;
}
.field-in {
	position: relative;
	display: flex;
}
.field-in input {
	width: 100%;
	padding: 12px 14px;
}
.pw-toggle {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: 0;
	color: var(--muted);
	font: 600 12px var(--body);
	letter-spacing: .06em;
	text-transform: uppercase;
	cursor: pointer;
	padding: 6px 8px;
}
.pw-toggle:hover {
	color: var(--text);
}
.field-in input[type="password"],
.field-in input[data-pw] {
	padding-right: 72px;
}
.hint {
	color: var(--faint);
	font-size: 13px;
	margin: 6px 0 0;
}
.field.bad input {
	border-color: var(--down);
}
.check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 15px;
	color: var(--muted);
	margin: 4px 0 16px;
}
.check input {
	margin-top: 4px;
	accent-color: var(--gold);
}
.cf-turnstile {
	margin-bottom: 14px;
}
.form-msg {
	min-height: 1.4em;
	font-size: 15px;
	margin-bottom: 12px;
}
.form-msg.bad {
	color: #f0a094;
}
.form-msg.ok {
	color: #8fe0b5;
}
.form-alt {
	text-align: center;
	color: var(--muted);
	font-size: 14px;
	margin: 16px 0 0;
}

.acc-list {
	margin: 0 0 20px;
}
.acc-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
}
.acc-row dt {
	color: var(--muted);
}
.acc-row dd {
	margin: 0;
	text-align: right;
	overflow-wrap: anywhere;
}
.acc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.nf {
	text-align: center;
	border: 0;
	padding: 96px 0;
}
.nf .mark {
	color: var(--gold);
	margin-bottom: 16px;
}
.nf .lede {
	margin: 0 auto 24px;
}

/* --- footer --------------------------------------------------------------- */

.foot {
	border-top: 1px solid var(--line);
	background: #080b11;
	padding-top: 48px;
	color: var(--muted);
	font-size: 15px;
}
.foot-in {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 32px;
	padding-bottom: 32px;
}
.foot-brand p {
	max-width: 40ch;
	margin-top: 14px;
}
.foot h2 {
	font: 700 12px var(--body);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--text);
}
.foot ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.foot li {
	margin-bottom: 6px;
}
.foot a {
	color: var(--muted);
	text-decoration: none;
}
.foot a:hover {
	color: var(--gold-hi);
}
.foot-legal {
	border-top: 1px solid var(--line);
	padding-top: 20px;
	padding-bottom: 28px;
	font-size: 13px;
	color: var(--faint);
}
.foot-legal p {
	margin-bottom: 6px;
}
.foot-links {
	display: flex;
	gap: 16px;
}

/* --- motion --------------------------------------------------------------- */

/* site.js adds .hide only to sections below the fold, then .seen as each
   scrolls in; without the script nothing is ever hidden. */
.reveal {
	transition: opacity .6s ease, transform .6s ease;
}
.reveal.hide {
	opacity: 0;
	transform: translateY(14px);
}
.reveal.hide.seen {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
	html {
		scroll-behavior: auto;
	}
}

/* --- small screens -------------------------------------------------------- */

@media (max-width: 1040px) {
	.layout {
		grid-template-columns: minmax(0, 1fr);
	}
	.side {
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	}
	.book {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}
	.book-toc {
		position: static;
		margin-bottom: 32px;
	}
	.book-toc ol {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	}
}

@media (max-width: 860px) {
	.top-in {
		flex-wrap: wrap;
		gap: 12px;
		min-height: 64px;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.menu-btn {
		display: block;
	}
	.nav {
		display: none;
		order: 3;
		width: 100%;
		flex-direction: column;
		padding-bottom: 8px;
	}
	.nav.open {
		display: flex;
	}
	.nav a[aria-current="page"] {
		box-shadow: inset 2px 0 0 var(--gold);
	}
	.top-cta {
		order: 2;
		margin-left: 0;
	}
	.top-cta [data-guest-only] {
		display: none;
	}
	.top-cta .btn {
		padding-inline: 12px;
	}
	.foot-in {
		grid-template-columns: 1fr 1fr;
	}
	.foot-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.shell {
		padding: 0 16px;
	}
	.strip-time {
		display: none;
	}
	.brand-text b {
		font-size: 19px;
	}
	.hero-in {
		padding-top: 48px;
		padding-bottom: 80px;
	}
	.hero::after {
		background: linear-gradient(0deg, var(--bg) 0, rgba(11, 15, 22, .6) 40%, rgba(11, 15, 22, .75) 100%);
	}
	.hero-cta .btn {
		flex: 1;
	}
	.card,
	.section.card {
		padding: 18px 16px;
	}
	.form-card {
		padding: 24px 18px;
	}
	.rank-filters {
		width: 100%;
	}
	.rank-filters > * {
		flex: 1;
	}
}

/* the "launching soon" badge stands out from the plain facts */
.badges .badge-soon {
	color: var(--teal);
	border-color: rgba(60, 180, 172, .5);
}
