/* Holiday Train - the game's site. A winter night (the key art's sky), the logo's cherry red and gold, the game's own
   stickers and its split-flap board. Pictures: tools/site_images.py. */
@font-face { font-family: "Rubik"; src: url("fonts/Rubik.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/Manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
	--bg: #090f27;
	--bg-2: #0e1636;
	--bg-3: #152049;
	--ink: #f6f3ec;
	--ink-2: #a9b2d4;
	--ink-3: #7d87ad;
	--gold: #ffc53d;
	--gold-2: #ffdf86;
	--red: #e8352f;
	--red-2: #b81f1c;
	--line: rgba(255, 255, 255, 0.09);
	--line-2: rgba(255, 255, 255, 0.16);
	--display: "Rubik", "Manrope", system-ui, sans-serif;
	--text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1160px;
	--gutter: 20px;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 17px/1.65 var(--text);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
::selection { background: var(--gold); color: var(--bg); }

/* languages: every language has its own pages; Japanese, Korean and Chinese take the system's fonts for their
   letters (Rubik and Manrope carry Latin and Cyrillic only), without the Latin headings' tight spacing */
html:lang(ja) { --display: "Rubik", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif; --text: "Manrope", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif; }
html:lang(ko) { --display: "Rubik", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; --text: "Manrope", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; }
html:lang(zh-Hant) { --display: "Rubik", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif; --text: "Manrope", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif; }
html:lang(ja) :is(h1, h2, h3), html:lang(ko) :is(h1, h2, h3), html:lang(zh-Hant) :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.25; }
html:lang(ja), html:lang(zh-Hant) { line-break: strict; }
html:lang(ko) body { word-break: keep-all; }
html:lang(de) :is(h1, h2, h3) { hyphens: auto; -webkit-hyphens: auto; }
h1, h2, h3 { overflow-wrap: break-word; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- top bar ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.bar.solid, .page-body .bar { background: rgba(9, 15, 39, 0.8); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 17px var(--display); letter-spacing: -0.01em; white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 9px; flex: none; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); }
.brand:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; transition: color 0.2s, background 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, 0.08); }
/* the language menu: the globe and the language's code, a list of the languages in their own names */
.langs { position: relative; margin-left: 6px; }
.langs summary { list-style: none; display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 10px; border-radius: 999px; cursor: pointer;
	border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); color: var(--ink); font: 700 13px var(--text); letter-spacing: 0.04em; white-space: nowrap; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover, .langs[open] summary { background: rgba(255, 255, 255, 0.1); }
.langs summary svg { width: 16px; height: 16px; opacity: 0.85; }
.langs ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; margin: 0; padding: 6px; list-style: none; border-radius: 16px;
	background: rgba(14, 22, 54, 0.97); border: 1px solid var(--line-2); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); max-height: min(70vh, 460px); overflow-y: auto; }
.langs li { margin: 0; }
.langs ul a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.langs ul a:hover { background: rgba(255, 255, 255, 0.08); color: var(--ink); }
.langs ul a[aria-current] { color: var(--gold); }
.lang { margin-left: 6px; height: 34px; min-width: 44px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); color: var(--ink); font: 700 13px var(--text); letter-spacing: 0.06em; cursor: pointer; }
.lang:hover { background: rgba(255, 255, 255, 0.1); }
@media (max-width: 720px) { .nav .wide { display: none; } }
@media (max-width: 420px) { .brand span { display: none; } .nav a { padding: 8px 9px; font-size: 14px; } }

/* ---------- the hero: the key art, the logo, the first words ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; animation: drift 22s ease-out both; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(180deg, rgba(9, 15, 39, 0.55) 0%, rgba(9, 15, 39, 0) 22%),
		linear-gradient(0deg, var(--bg) 0%, rgba(9, 15, 39, 0.82) 22%, rgba(9, 15, 39, 0) 52%); }
.snow { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-top { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: clamp(84px, 13vh, 140px) var(--gutter) 0; }
.hero-logo { width: min(560px, 84vw); filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5)); animation: rise 0.9s 0.1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero-bottom { padding: 0 var(--gutter) clamp(36px, 7vh, 72px); text-align: center; animation: rise 0.9s 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-lead { font: 600 clamp(18px, 2.3vw, 23px)/1.45 var(--text); max-width: 620px; margin: 0 auto 26px; color: var(--ink); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55); }
.soon { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; padding: 8px; border-radius: 999px;
	background: rgba(9, 15, 39, 0.55); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.soon .tag { font: 800 12px var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--bg); background: var(--gold); padding: 7px 12px; border-radius: 999px; }
.soon .plat { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 15px; color: var(--ink); padding-right: 8px; }
.soon svg { width: 18px; height: 18px; }
@media (max-width: 420px) { .soon { border-radius: 22px; } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(72px, 11vw, 140px) 0; }
.head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.eyebrow { display: inline-block; font: 800 12.5px var(--text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.head h2 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; margin-bottom: 18px; }
.head p { font-size: clamp(17px, 1.8vw, 19px); color: var(--ink-2); margin: 0; }

/* ---------- the departure board (the game's split-flap cards) ---------- */
.board-sec { padding: 0 0 clamp(20px, 4vw, 40px); margin-top: -12px; position: relative; z-index: 2; }
.board { max-width: 920px; margin: 0 auto; border-radius: 22px; padding: 22px clamp(18px, 3vw, 34px) 26px;
	background: linear-gradient(180deg, #1a1f33, #11152a); border: 1px solid var(--line-2);
	box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.board-top { display: flex; align-items: center; gap: 10px; font: 800 12px var(--text); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.board-top .lamp { width: 8px; height: 8px; border-radius: 50%; background: #3be37a; box-shadow: 0 0 10px #3be37a; animation: blink 2.4s infinite; }
@keyframes blink { 50% { opacity: 0.35; } }
.board-top .dest { margin-left: auto; color: var(--gold); }
.board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 3vw, 28px); }
.stat { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.flaps { display: flex; gap: 5px; }
.flap { position: relative; width: clamp(44px, 7vw, 64px); height: clamp(60px, 9.4vw, 86px); border-radius: 9px;
	background: linear-gradient(180deg, #2c3147 0%, #222639 49.5%, #15192a 50.5%, #1d2134 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 6px 14px rgba(0, 0, 0, 0.45);
	display: grid; place-items: center; font: 800 clamp(34px, 5.6vw, 52px)/1 var(--display); color: #fff8e6; overflow: hidden; }
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(0, 0, 0, 0.55); }
.flap.tick { animation: tick 0.07s linear; }
@keyframes tick { 0% { transform: scaleY(0.9); filter: brightness(0.8); } 100% { transform: none; } }
.stat .label { font: 700 13px var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 520px) {
	.board-top .dest { display: none; }
	.flaps { gap: 3px; }
	.flap { width: 36px; height: 50px; font-size: 29px; border-radius: 7px; }
	.stat .label { font-size: 11px; letter-spacing: 0.08em; }
}

/* ---------- how it plays: a phone and its words, side by side ---------- */
.moves { display: grid; gap: clamp(72px, 10vw, 130px); }
.move { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 90px); }
.move:nth-child(even) .stage { order: 2; }
.stage { position: relative; display: flex; justify-content: center; }
.stage::before { content: ""; position: absolute; width: min(100%, 520px); aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%;
	background: radial-gradient(circle, var(--glow, rgba(255, 197, 61, 0.35)) 0%, transparent 66%); filter: blur(6px); z-index: 0; }
.device { position: relative; z-index: 1; }
.phone { position: relative; z-index: 1; width: min(300px, 66vw); aspect-ratio: 640 / 1139; padding: 9px; border-radius: 44px;
	background: linear-gradient(150deg, #3a3f57 0%, #14182a 40%, #0b0e1b 100%);
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.1), 0 50px 90px -30px rgba(0, 0, 0, 0.85), 0 20px 40px -20px rgba(0, 0, 0, 0.6); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }
.sticker { position: absolute; z-index: 2; width: clamp(84px, 11vw, 130px); filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.45)); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--r, -6deg)); } 50% { transform: translateY(-12px) rotate(calc(var(--r, -6deg) * -0.4)); } }
.copy { max-width: 470px; }
.move:nth-child(even) .copy { justify-self: end; }
.num { display: inline-flex; align-items: center; gap: 12px; font: 800 14px var(--text); letter-spacing: 0.14em; color: var(--gold); margin-bottom: 18px; }
.num::after { content: ""; width: 44px; height: 2px; background: currentColor; opacity: 0.5; border-radius: 2px; }
.copy h3 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin-bottom: 18px; }
.copy p { font-size: clamp(17px, 1.7vw, 19px); color: var(--ink-2); margin: 0; }
@media (max-width: 800px) {
	.move { grid-template-columns: 1fr; text-align: center; gap: 36px; }
	.move:nth-child(even) .stage { order: 0; }
	.copy, .move:nth-child(even) .copy { justify-self: center; }
	.num { justify-content: center; }
	.num::after { display: none; }
}

/* ---------- the route: four seasons ---------- */
.seasons-sec { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }
.seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-bottom: 36px; }
.season { position: relative; margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 640 / 763; background: var(--bg-3);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); transform: translateY(var(--y, 0px)); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.season:nth-child(even) { --y: 36px; }
.season:hover { transform: translateY(calc(var(--y, 0px) - 8px)); }
.season img { width: 100%; height: 100%; object-fit: cover; }
.season::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 8, 20, 0.9) 0%, rgba(5, 8, 20, 0) 48%); }
.season figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.season b { display: block; font: 800 26px/1.1 var(--display); letter-spacing: -0.01em; }
.season span { display: block; font-size: 14.5px; color: var(--ink-2); margin-top: 4px; }
.season i { position: absolute; top: 16px; left: 16px; z-index: 1; width: 10px; height: 10px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.35), 0 0 16px var(--dot); }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: clamp(48px, 7vw, 80px) 0 0; padding: 0; list-style: none; }
.facts li { margin: 0; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); font-weight: 700; font-size: 15px; color: var(--ink); }
.facts li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: 10px; vertical-align: 2px; }
@media (max-width: 900px) {
	.seasons { grid-template-columns: repeat(4, 64vw); overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 46px; scrollbar-width: none; }
	.seasons::-webkit-scrollbar { display: none; }
	.season { scroll-snap-align: center; --y: 0px !important; }
}

/* ---------- toys on a shelf ---------- */
.shelf { position: relative; display: flex; justify-content: center; align-items: flex-end; flex-wrap: nowrap; gap: clamp(6px, 2.2vw, 28px); padding: 0 0 26px; max-width: 980px; margin: 0 auto; }
.shelf::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: 0; height: 14px; border-radius: 8px;
	background: linear-gradient(180deg, #7a4a27, #4b2c16); box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.7), inset 0 2px 0 rgba(255, 255, 255, 0.18); }
.shelf img { width: clamp(52px, 9vw, 108px); min-width: 0; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.45)); animation: bob 5s ease-in-out infinite; --r: -4deg; }
.shelf img:nth-child(2n) { animation-delay: -1.4s; --r: 5deg; }
.shelf img:nth-child(3n) { animation-delay: -2.6s; --r: -3deg; }
@media (max-width: 560px) { .shelf { flex-wrap: wrap; gap: 8px 10px; padding-bottom: 0; } .shelf img { width: 19vw; } .shelf::after { display: none; } }

/* ---------- all aboard ---------- */
.cta { position: relative; max-width: 1000px; margin: 0 auto; border-radius: 32px; overflow: hidden; isolation: isolate;
	display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 12px;
	background: radial-gradient(120% 140% at 0% 100%, #ff5a4a 0%, var(--red) 35%, #8e1514 100%);
	box-shadow: 0 50px 100px -40px rgba(232, 53, 47, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.18;
	background-image: radial-gradient(circle at 20% 30%, #fff 1.5px, transparent 2px), radial-gradient(circle at 70% 60%, #fff 1px, transparent 1.6px);
	background-size: 90px 90px, 60px 60px; }
.cta img { width: 100%; max-width: 420px; align-self: end; margin: 18px 0 0 auto; }
.cta .text { padding: clamp(28px, 5vw, 56px) clamp(24px, 5vw, 56px) clamp(28px, 5vw, 56px) 0; }
.cta h2 { font-size: clamp(40px, 6vw, 72px); font-weight: 900; margin-bottom: 16px; text-shadow: 0 4px 0 rgba(0, 0, 0, 0.15); }
.cta p { font-size: clamp(17px, 1.8vw, 19px); color: rgba(255, 255, 255, 0.9); margin-bottom: 28px; max-width: 440px; }
@media (max-width: 760px) {
	.cta { grid-template-columns: 1fr; text-align: center; }
	.cta img { order: 2; max-width: 300px; margin: 0 auto; }
	.cta .text { padding: 40px 24px 0; }
	.cta p { margin-left: auto; margin-right: auto; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none;
	font: 800 16px var(--text); letter-spacing: 0.01em; padding: 15px 26px; border-radius: 999px; transition: transform 0.15s, box-shadow 0.2s, background 0.2s; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-light { background: #fff; color: #1a0d0d; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); }
.btn-light:hover { color: #1a0d0d; background: #fff6df; }
.btn-gold { background: var(--gold); color: #1d1405; box-shadow: 0 10px 30px -12px rgba(255, 197, 61, 0.7); }
.btn-gold:hover { color: #1d1405; background: var(--gold-2); }
.btn svg { width: 18px; height: 18px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--ink-3); font-size: 15px; margin-top: clamp(72px, 10vw, 120px); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
footer .brand { font-size: 15px; color: var(--ink-2); }
footer .brand img { width: 26px; height: 26px; border-radius: 7px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
footer nav a { color: var(--ink-2); text-decoration: none; }
footer nav a:hover { color: var(--ink); }
footer .copy { margin-left: auto; }
@media (max-width: 720px) { footer .copy { margin-left: 0; width: 100%; } }

/* ---------- text pages: support, privacy, deletion ---------- */
.page-hero { position: relative; padding: 136px 0 52px; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero img.bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: blur(3px) saturate(1.1); transform: scale(1.06); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9, 15, 39, 0.7), rgba(9, 15, 39, 0.88) 70%, var(--bg)); }
.page-hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; margin-bottom: 14px; }
.page-hero p { color: var(--ink-2); font-size: clamp(16px, 1.8vw, 19px); max-width: 640px; margin: 0; }
.prose { max-width: 760px; padding-top: clamp(36px, 6vw, 60px); }
.prose h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 700; margin: 1.9em 0 0.7em; }
.prose h3 { font-size: 19px; font-weight: 700; margin: 1.6em 0 0.5em; letter-spacing: -0.01em; }
.prose p, .prose li { color: #d9dcea; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--gold); }
.meta { display: inline-block; font-size: 14px; color: var(--ink-3); margin-top: 18px; }
.card { background: linear-gradient(180deg, var(--bg-2), #0c1330); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 30px); margin: 26px 0; }
.card > :last-child { margin-bottom: 0; }
.card h3:first-child, .card h2:first-child { margin-top: 0; }
.mail { font: 700 clamp(19px, 2.6vw, 24px) var(--display); word-break: break-all; margin: 4px 0 0; }
.mail a { text-decoration: none; }
.steps { counter-reset: step; list-style: none; padding: 0 !important; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; margin-bottom: 18px; min-height: 36px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -3px; width: 36px; height: 36px; border-radius: 50%;
	background: var(--gold); color: var(--bg); font: 800 16px/36px var(--display); text-align: center; }
.table-scroll { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { color: var(--ink-2); font-weight: 700; background: rgba(255, 255, 255, 0.03); }
@media (max-width: 560px) { table { font-size: 14px; } th, td { padding: 9px 8px; } }

.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; max-width: none; }
.split .card { margin: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split > :last-child { order: -1; } }

details { border-bottom: 1px solid var(--line); }
details summary { cursor: pointer; list-style: none; position: relative; padding: 18px 40px 18px 0; font-weight: 700; font-size: 17px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform 0.2s; }
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details p { color: var(--ink-2); margin: -4px 0 18px; }

form { display: grid; gap: 16px; }
label { display: grid; gap: 7px; font-weight: 700; font-size: 14px; color: var(--ink-2); }
input, select, textarea { font: 500 16px var(--text); color: var(--ink); background: rgba(5, 8, 22, 0.6); border: 1px solid var(--line-2); border-radius: 14px; padding: 13px 15px; width: 100%; transition: border-color 0.2s, box-shadow 0.2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 197, 61, 0.2); }
textarea { min-height: 150px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.note { color: var(--ink-3); font-size: 14px; margin: 0; }

/* ---------- articles ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 22px; text-decoration: none; color: var(--ink);
	background: linear-gradient(180deg, var(--bg-2), #0c1330); border: 1px solid var(--line); transition: transform 0.25s, border-color 0.25s; }
.post-card:hover { color: var(--ink); transform: translateY(-4px); border-color: var(--line-2); }
.post-card h2 { font-size: 24px; font-weight: 800; }
.post-card p { color: var(--ink-2); margin: 0; font-size: 16px; }
.post-date { font-size: 13px; color: var(--ink-3); font-weight: 700; letter-spacing: 0.04em; }
.post-more { margin-top: auto; padding-top: 6px; color: var(--gold); font-weight: 800; font-size: 15px; }
.page-hero .meta { margin-top: 16px; }
.article .lede { font-size: clamp(18px, 2vw, 20px); color: var(--ink); }
.article h2 { scroll-margin-top: 90px; }
.toc { list-style: none; padding: 0 !important; margin: 0; columns: 2 240px; column-gap: 28px; }
.toc li { margin: 0 0 8px; break-inside: avoid; }
.toc a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--gold); }
.toc b { color: var(--gold); font-family: var(--display); margin-right: 8px; }
.pick { margin-top: clamp(40px, 6vw, 60px); padding-top: 4px; }
.pick h2 { display: flex; align-items: baseline; gap: 14px; margin-top: 0 !important; }
.pick-n { flex: none; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--gold); color: var(--bg);
	font: 800 20px/1 var(--display); transform: translateY(-2px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; margin: 0 0 16px !important; }
.chips li { margin: 0; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); font-size: 14px; font-weight: 700; color: var(--ink) !important; }
.chips li::marker { content: none; }
.why { padding: 14px 18px; border-left: 3px solid var(--gold); background: rgba(255, 197, 61, 0.06); border-radius: 0 14px 14px 0; }
.ours { border-color: rgba(255, 197, 61, 0.35); background: linear-gradient(180deg, rgba(255, 197, 61, 0.08), rgba(255, 197, 61, 0.02)); }
.ours .shot { float: right; width: 150px; margin: 0 0 12px 20px; border-radius: 22px; border: 3px solid rgba(255, 255, 255, 0.14); }
@media (max-width: 560px) { .ours .shot { float: none; width: 60%; margin: 0 auto 16px; } .pick h2 { gap: 10px; } .pick-n { width: 36px; height: 36px; font-size: 17px; } }
.note-box { font-size: 15px; color: var(--ink-2); }

/* ---------- the cookie notice: small, at the bottom, "no" as easy as "yes" ---------- */
.consent { position: fixed; z-index: 70; left: 0; right: 0; margin: 0 auto; bottom: 16px; width: min(620px, calc(100% - 24px));
	display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px;
	background: rgba(14, 22, 54, 0.96); border: 1px solid var(--line-2); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: rise 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.consent p a { white-space: nowrap; }
.consent-btns { display: flex; gap: 8px; flex: none; }
.consent .btn { padding: 10px 16px; font-size: 14px; }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { color: var(--ink); background: rgba(255, 255, 255, 0.12); }
@media (max-width: 600px) {
	.consent { flex-direction: column; align-items: stretch; bottom: 10px; padding: 14px; gap: 12px; }
	.consent-btns .btn { flex: 1; }
}

/* ---------- motion: things come up as they scroll in ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
	html { scroll-behavior: auto; }
}
