/* Arcade site: one shared design for Leapline, Avoid Me and Chomp Drop.
 * Layout: a full-bleed brand band (header + hero, always in the game's own colours) that ends in the game's signature
 * "line" divider, then theme-aware content sections in a 1160px column, then a footer. Every page uses the same
 * components; only the tokens below change per game (html[data-game]) and per theme (light / dark / system). */

/* ---------- fonts (local copies of free, openly licensed fonts: Nunito, Squada One and Londrina Solid, all SIL OFL 1.1;
 * nothing is loaded from another site). Chomp Drop's two-tone title is a picture (media/chomp-drop/wordmark-*.webp); its
 * lettering font, Londrina Solid Black, also sets the Chomp Drop subtitle and display headings. */
@font-face {
	font-family: 'Site Nunito';
	src: url(fonts/nunito-latin.woff2) format('woff2');
	font-weight: 200 1000; font-style: normal; font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Site Nunito';
	src: url(fonts/nunito-latin-ext.woff2) format('woff2');
	font-weight: 200 1000; font-style: normal; font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: 'Squada One'; src: url(fonts/squada-one.woff) format('woff'); font-display: swap; }
/* Londrina Solid Black (Marcelo Magalhaes, SIL OFL 1.1, licence in fonts/londrina-solid-OFL.txt): the unmodified font,
 * only WOFF-compressed */
@font-face { font-family: 'Londrina Solid'; src: url(fonts/londrina-solid-black.woff) format('woff'); font-weight: 900; font-style: normal; font-display: swap; }

/* ---------- tokens: the hub (no data-game) ---------- */
:root {
	--bg: #f4f4f8;
	--surface: #ffffff;
	--surface-2: #eaebf2;
	--fg: #1b1c2b;
	--muted: #555a70;
	--line: #dcdee8;
	--link: #3b40c9;
	--accent: #2a2d48;          /* buttons / badges on the content area */
	--accent-ink: #ffffff;
	--tint: #e7e9f6;            /* icon wells */
	--focus: #2f6bff;
	--hero-bg: #22243a;
	--hero-fg: #ffffff;
	--hero-muted: #c9cde0;
	--hero-chip: rgba(255, 255, 255, .12);
	--hero-line: rgba(255, 255, 255, .18);
	--pop: #ffe34d;             /* the play button */
	--pop-ink: #22243a;
	--pop-edge: #b88f00;        /* its pressable bottom edge */
	--font-body: 'Site Nunito', 'Nunito', ui-rounded, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--font-display: 'Site Nunito', 'Nunito', ui-rounded, system-ui, sans-serif;
	--display-weight: 900;
	--display-case: none;
	--display-track: .01em;
	--fs-body: 1.0625rem;
	--fs-small: .875rem;
	--fs-lead: clamp(1.125rem, 1rem + .55vw, 1.375rem);
	--fs-h3: clamp(1.1875rem, 1.1rem + .3vw, 1.375rem);
	--fs-h2: clamp(1.75rem, 1.25rem + 2.2vw, 2.875rem);
	--fs-hero: clamp(3.25rem, 1.6rem + 6.6vw, 7.25rem);
	--radius: 22px;
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #15161f; --surface: #1d1f2b; --surface-2: #232535; --fg: #eef0f8; --muted: #a9aec4; --line: #31344a;
		--link: #a9b2ff; --accent: #ffe34d; --accent-ink: #1b1c2b; --tint: #2a2d42; --focus: #8fb0ff;
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--bg: #15161f; --surface: #1d1f2b; --surface-2: #232535; --fg: #eef0f8; --muted: #a9aec4; --line: #31344a;
	--link: #a9b2ff; --accent: #ffe34d; --accent-ink: #1b1c2b; --tint: #2a2d42; --focus: #8fb0ff;
	color-scheme: dark;
}

/* ---------- Leapline: navy hex world, mint towers, purple crystals, yellow tiles ---------- */
:root[data-game="leapline"] {
	--bg: #f1f3fa; --surface: #ffffff; --surface-2: #e6eaf6; --fg: #1f2240; --muted: #4c5378; --line: #d6dbed;
	--link: #5b3fcf; --accent: #2a2d48; --accent-ink: #ffffff; --tint: #e2f2f2; --focus: #5b3fcf;
	--hero-bg: #2a2d48; --hero-fg: #ffffff; --hero-muted: #c5d6e0; --hero-chip: rgba(191, 227, 230, .13); --hero-line: rgba(191, 227, 230, .22);
	--pop: #ffe34d; --pop-ink: #2a2d48; --pop-edge: #b88f00;
	--mint: #bfe3e6; --mint-deep: #6fa6ad; --yellow: #ffe34d; --yellow-deep: #c79a00; --purple: #b69cf0;
	--font-display: 'Site Nunito', 'Nunito', ui-rounded, system-ui, sans-serif;
	--display-weight: 900; --display-case: uppercase; --display-track: .03em;
}
@media (prefers-color-scheme: dark) {
	:root[data-game="leapline"]:not([data-theme="light"]) {
		--bg: #1b1d33; --surface: #24274a; --surface-2: #20223c; --fg: #f1f3ff; --muted: #b9c7d8; --line: #383d66;
		--link: #cdb9ff; --accent: #ffe34d; --accent-ink: #2a2d48; --tint: #2d3a58; --focus: #cdb9ff;
	}
}
:root[data-game="leapline"][data-theme="dark"] {
	--bg: #1b1d33; --surface: #24274a; --surface-2: #20223c; --fg: #f1f3ff; --muted: #b9c7d8; --line: #383d66;
	--link: #cdb9ff; --accent: #ffe34d; --accent-ink: #2a2d48; --tint: #2d3a58; --focus: #cdb9ff;
}

/* ---------- Avoid Me: charcoal arena, red hazards, white dot and squares ---------- */
:root[data-game="avoid-me"] {
	--bg: #f3f1f1; --surface: #ffffff; --surface-2: #e9e5e5; --fg: #1c1a1a; --muted: #585252; --line: #dcd5d5;
	--link: #b3261e; --accent: #212121; --accent-ink: #ffffff; --tint: #f6e3e3; --focus: #1565c0;
	--hero-bg: #212121; --hero-fg: #ffffff; --hero-muted: #c4c0c0; --hero-chip: rgba(255, 255, 255, .1); --hero-line: rgba(255, 255, 255, .16);
	--pop: #d32f2f; --pop-ink: #ffffff; --pop-edge: #8a1a1a;
	--red: #f64545;
	--font-display: 'Squada One', 'Arial Narrow', 'Roboto Condensed', system-ui, sans-serif;
	--display-weight: 400; --display-case: uppercase; --display-track: .02em;
}
@media (prefers-color-scheme: dark) {
	:root[data-game="avoid-me"]:not([data-theme="light"]) {
		--bg: #161616; --surface: #212121; --surface-2: #1b1b1b; --fg: #f4f2f2; --muted: #b8b1b1; --line: #363333;
		--link: #ff7b72; --accent: #ffffff; --accent-ink: #212121; --tint: #33241f; --focus: #90caf9;
	}
}
:root[data-game="avoid-me"][data-theme="dark"] {
	--bg: #161616; --surface: #212121; --surface-2: #1b1b1b; --fg: #f4f2f2; --muted: #b8b1b1; --line: #363333;
	--link: #ff7b72; --accent: #ffffff; --accent-ink: #212121; --tint: #33241f; --focus: #90caf9;
}

/* ---------- Chomp Drop: peach sunset home, mint sky, candy pill bars, ink outlines ---------- */
:root[data-game="chomp-drop"] {
	--bg: #fff6ec; --surface: #fffdf9; --surface-2: #fbeadb; --fg: #2b2238; --muted: #694858; --line: #efd8c5;
	--link: #b0283a; --accent: #3b2232; --accent-ink: #ffffff; --tint: #dff0e0; --focus: #1565c0;
	--hero-bg: #f6b48c; --hero-fg: #2b2238; --hero-muted: #4b2c3c; --hero-chip: rgba(255, 252, 245, .62); --hero-line: rgba(43, 34, 56, .2);
	--pop: #c8303f; --pop-ink: #ffffff; --pop-edge: #7a1824;
	--ink: #2b2238; --mint: #d1e9d2;
	--font-display: 'Londrina Solid', 'Site Nunito', 'Nunito', ui-rounded, system-ui, sans-serif;
	--display-weight: 900; --display-case: uppercase; --display-track: .02em;
}
@media (prefers-color-scheme: dark) {
	:root[data-game="chomp-drop"]:not([data-theme="light"]) {
		--bg: #1f1726; --surface: #2a1f33; --surface-2: #251b2d; --fg: #fff3e8; --muted: #d6bfcd; --line: #46354f;
		--link: #ffa595; --accent: #ffde58; --accent-ink: #2b2238; --tint: #2c3a31; --focus: #90caf9;
	}
}
:root[data-game="chomp-drop"][data-theme="dark"] {
	--bg: #1f1726; --surface: #2a1f33; --surface-2: #251b2d; --fg: #fff3e8; --muted: #d6bfcd; --line: #46354f;
	--link: #ffa595; --accent: #ffde58; --accent-ink: #2b2238; --tint: #2c3a31; --focus: #90caf9;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0; background: var(--bg); color: var(--fg);
	font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6; font-weight: 500;
	-webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--link); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; margin: 0; }
h2 { font-size: var(--fs-h2); font-weight: 900; letter-spacing: -.01em; }
h3 { font-size: var(--fs-h3); font-weight: 900; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--surface); color: var(--fg); padding: 10px 16px; border-radius: 12px; font-weight: 800; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-size: .8125rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.display {
	font-family: var(--font-display); font-weight: var(--display-weight);
	text-transform: var(--display-case); letter-spacing: var(--display-track);
}

/* ---------- brand band (header + hero) ---------- */
.band { position: relative; background: var(--hero-bg); color: var(--hero-fg); isolation: isolate; overflow: hidden; }
.band::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
[data-game="leapline"] .band::before {
	background:
		radial-gradient(60% 70% at 78% 42%, rgba(191, 227, 230, .16), transparent 70%),
		radial-gradient(50% 60% at 10% 0%, rgba(182, 156, 240, .16), transparent 70%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='156' height='270' viewBox='0 0 156 270'%3E%3Cpath d='M78 0L156 45V135L78 180L0 135V45ZM78 180V270' fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='3'/%3E%3C/svg%3E") center top / 156px 270px;
}
[data-game="avoid-me"] .band::before {
	background: radial-gradient(55% 65% at 80% 40%, rgba(246, 69, 69, .1), transparent 70%);
}
[data-game="chomp-drop"] .band::before {
	background:
		radial-gradient(28% 18% at 12% 30%, rgba(255, 255, 255, .45), transparent 70%),
		radial-gradient(22% 14% at 92% 72%, rgba(255, 255, 255, .35), transparent 70%),
		linear-gradient(180deg, rgba(255, 246, 228, .55), rgba(255, 246, 228, 0) 45%),
		#f6b48c url(chomp-drop/home-bg.jpg) center 30% / cover no-repeat;
}
:root:not([data-game]) .band::before {
	background:
		radial-gradient(40% 60% at 15% 20%, rgba(182, 156, 240, .22), transparent 70%),
		radial-gradient(40% 60% at 85% 30%, rgba(246, 69, 69, .18), transparent 70%),
		radial-gradient(45% 60% at 60% 100%, rgba(255, 190, 120, .2), transparent 70%);
}

.topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-block: 14px; }
.brand {
	display: inline-flex; align-items: center; gap: 12px; margin-right: auto; min-height: 44px;
	color: inherit; text-decoration: none; font-size: 1.375rem; line-height: 1;
}
.brand .mark { width: 40px; height: 40px; border-radius: 11px; flex: none; overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.brand .mark img, .brand .mark svg { width: 100%; height: 100%; display: block; }
.nav { display: flex; gap: 4px; }
.nav a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
	color: var(--hero-fg); text-decoration: none; font-weight: 800; font-size: .9375rem;
}
.nav a:hover { background: var(--hero-chip); }
.nav a[aria-current="page"] { background: var(--hero-chip); box-shadow: inset 0 0 0 1px var(--hero-line); }
.theme-btn {
	width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--hero-line); background: transparent;
	color: var(--hero-fg); display: inline-grid; place-items: center; cursor: pointer; padding: 0;
}
.theme-btn:hover { background: var(--hero-chip); }
.theme-btn svg { width: 20px; height: 20px; }
@media (max-width: 640px) {
	.topbar .nav { order: 3; width: 100%; justify-content: space-between; border-top: 1px solid var(--hero-line); padding-top: 8px; }
	.nav a { padding: 0 12px; }
}

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(20px, 4vw, 56px) clamp(40px, 6vw, 80px); }
.hero-copy { display: grid; gap: 22px; min-width: 0; justify-items: start; }
.hero .eyebrow { color: var(--hero-muted); }
.hero h1 { font-size: var(--fs-hero); line-height: .92; }
.hero .subtitle { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.375rem); font-weight: 900; line-height: 1.15; letter-spacing: -.005em; }
[data-game="chomp-drop"] .hero .subtitle { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; }
.hero .pitch { font-size: var(--fs-lead); color: var(--hero-muted); max-width: 34em; line-height: 1.55; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.play-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 0 24px 0 28px;
	border-radius: 999px; background: var(--pop); color: var(--pop-ink); font-weight: 900; font-size: 1.125rem; line-height: 1.15;
	text-decoration: none; text-align: center; box-shadow: 0 5px 0 var(--pop-edge), 0 16px 30px rgba(0, 0, 0, .22);
	transition: transform .12s ease, box-shadow .12s ease;
}
.play-btn .arrow { width: 22px; height: 22px; flex: none; transition: transform .15s ease; }
.play-btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--pop-edge), 0 20px 34px rgba(0, 0, 0, .26); text-decoration: none; }
.play-btn:hover .arrow { transform: translateX(3px); }
.play-btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--pop-edge), 0 8px 14px rgba(0, 0, 0, .2); }
.play-btn--sm { min-height: 44px; padding: 0 16px 0 18px; font-size: .9375rem; gap: 8px; box-shadow: 0 3px 0 var(--pop-edge); }
.play-btn--sm .arrow { width: 17px; height: 17px; }
.play-btn--sm:hover { box-shadow: 0 5px 0 var(--pop-edge); }
.hero-2nd {
	display: inline-flex; align-items: center; min-height: 58px; padding: 0 24px; border-radius: 999px; color: var(--hero-fg);
	font-weight: 900; font-size: 1.0625rem; text-decoration: none; background: var(--hero-chip); box-shadow: inset 0 0 0 1.5px var(--hero-line);
}
.hero-2nd:hover { box-shadow: inset 0 0 0 2px currentColor; }
@media (max-width: 480px) { .hero .cta-row { width: 100%; gap: 12px; } .hero .cta-row > * { flex: 1 1 100%; justify-content: center; } }
.store-note { display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 800; color: var(--hero-muted); line-height: 1.3; }
.store-note svg { width: 13px; height: 20px; flex: none; }
.band .text-link { color: var(--hero-fg); font-weight: 800; min-height: 44px; display: inline-flex; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips li {
	display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px;
	background: var(--hero-chip); box-shadow: inset 0 0 0 1px var(--hero-line); font-size: .875rem; font-weight: 800;
}
.chips svg { width: 15px; height: 15px; flex: none; }

/* the phone screen with real gameplay */
.hero-art { position: relative; justify-self: center; width: min(100%, 360px); }
.screen {
	position: relative; aspect-ratio: 390 / 844; width: 100%; border-radius: 46px; overflow: hidden;
	background: #000; box-shadow: 0 0 0 9px rgba(10, 10, 20, .55), 0 0 0 10px var(--hero-line), 0 40px 80px rgba(0, 0, 0, .45);
}
[data-game="chomp-drop"] .screen { box-shadow: 0 0 0 9px #2b2238, 0 0 0 10px rgba(43, 34, 56, .3), 0 40px 70px rgba(120, 40, 50, .35); }
.screen img { width: 100%; height: 100%; object-fit: cover; }
.screen-cap { margin-top: 22px; text-align: center; font-size: .8125rem; font-weight: 700; color: var(--hero-muted); }
.sticker { position: absolute; pointer-events: none; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .35)); }
[data-game="leapline"] .sticker { width: 34%; left: -16%; top: 34%; animation: bob 1.4s ease-in-out infinite; filter: drop-shadow(0 0 22px rgba(191, 255, 246, .55)) drop-shadow(0 24px 18px rgba(0, 0, 0, .4)); }
[data-game="leapline"] .tower { position: absolute; width: 22%; right: -15%; bottom: 6%; opacity: .95; filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .35)); }
[data-game="avoid-me"] .sticker { width: 34%; left: -17%; top: 30%; filter: drop-shadow(0 0 18px rgba(255, 255, 255, .35)); animation: bob 1.6s ease-in-out infinite; }
[data-game="chomp-drop"] .sticker { width: 50%; left: -22%; bottom: 3%; animation: bob 1.8s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes bob { 50% { transform: translateY(-12px); } }
@media (max-width: 860px) {
	.hero { grid-template-columns: minmax(0, 1fr); }
	.hero-art { width: min(74%, 320px); margin-top: 8px; }
}

/* the signature line at the bottom of every band */
.line { position: relative; height: 64px; }
.line--sm { height: 44px; }
/* Leapline: the dotted track with yellow tiles */
[data-game="leapline"] .line::before {
	content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 10px; margin-top: -5px;
	background: radial-gradient(circle, #f7d774 0 4px, transparent 4.5px) 0 0 / 24px 10px repeat-x;
	opacity: .9;
}
[data-game="leapline"] .line .tile { position: absolute; top: 50%; width: 44px; transform: translate(-50%, -50%); }
/* Avoid Me: a red bar with a gap and the white dot slipping through it */
[data-game="avoid-me"] .line::before, [data-game="avoid-me"] .line::after {
	content: ''; position: absolute; top: 50%; height: 16px; margin-top: -8px; background: var(--red);
}
[data-game="avoid-me"] .line::before { left: 0; width: 58%; }
[data-game="avoid-me"] .line::after { left: calc(58% + 132px); right: 0; }
[data-game="avoid-me"] .line .dot {
	position: absolute; top: 50%; left: calc(58% + 66px); width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%;
	background: #fff; box-shadow: 0 0 18px rgba(255, 255, 255, .5);
}
[data-game="avoid-me"] .line .trail {
	position: absolute; top: 50%; left: calc(58% + 66px); width: 120px; height: 8px; margin-top: -4px; transform-origin: 0 50%;
	transform: rotate(152deg); border-radius: 8px; background: linear-gradient(90deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0));
}
/* Chomp Drop: a row of candy pill bars with a gap and a cube falling through */
[data-game="chomp-drop"] .line::before, [data-game="chomp-drop"] .line::after {
	content: ''; position: absolute; top: 50%; height: 26px; margin-top: -13px; border-radius: 999px;
	background: linear-gradient(180deg, #a37bff 0 30%, #8b52ff 30%); box-shadow: inset 0 0 0 4px var(--ink);
}
[data-game="chomp-drop"] .line::before { left: -30px; width: calc(46% + 30px); }
[data-game="chomp-drop"] .line::after { left: calc(46% + 150px); right: -30px; }
[data-game="chomp-drop"] .line .cube { position: absolute; left: calc(46% + 75px); top: 50%; width: 38px; transform: translate(-50%, -110%); }
:root:not([data-game]) .line::before {
	content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--hero-line);
}

/* ---------- content sections ---------- */
.section { padding-block: clamp(48px, 7vw, 96px); }
.section + .section { padding-top: 0; }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(24px, 4vw, 40px); max-width: 44rem; }
.section-head .eyebrow { color: var(--link); }
.section-head p { color: var(--muted); font-size: var(--fs-lead); }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 0; list-style: none; }
.feature { display: grid; align-content: start; gap: 14px; padding: 26px 24px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.feature .ic { width: 72px; height: 72px; border-radius: 20px; background: var(--tint); display: grid; place-items: center; }
.feature .ic img, .feature .ic svg { width: 48px; height: 48px; object-fit: contain; }
.feature p { color: var(--muted); }
[data-game="avoid-me"] .feature .ic { background: #212121; box-shadow: inset 0 0 0 1px rgba(246, 69, 69, .35); }      /* the game's own arena: white and red read on it */
@media (max-width: 860px) { .features { grid-template-columns: minmax(0, 1fr); } .feature { grid-template-columns: 72px minmax(0, 1fr); column-gap: 18px; } .feature .ic { grid-row: span 2; } }
@media (max-width: 420px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature .ic { grid-row: auto; } }

/* the "pure game" promise */
.promise { background: var(--surface-2); border-radius: calc(var(--radius) + 6px); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.promise h2 { font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem); }
.promise > div > p { color: var(--muted); margin-top: 12px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface); border-radius: 16px; font-weight: 800; min-width: 0; }
.checks svg { width: 26px; height: 26px; flex: none; }
.checks svg { --ck-bg: var(--accent); --ck-ink: var(--accent-ink); }      /* the #ck symbol reads these through <use> */
@media (max-width: 860px) { .promise { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .checks { grid-template-columns: minmax(0, 1fr); } }

/* screenshots: the section only exists once real store screenshots do (update_media.py) */
.shots-scroll { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 4px 4px 16px; margin-inline: -4px; scrollbar-width: thin; }
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 208px); gap: 16px; padding: 0; margin: 0; list-style: none; }
.shot { scroll-snap-align: start; aspect-ratio: 1290 / 2796; border-radius: 26px; overflow: hidden; position: relative; min-width: 0; box-shadow: 0 1px 0 var(--line), 0 14px 30px rgba(0, 0, 0, .12); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) { .shots-scroll { overflow: visible; } }

/* closing call-out */
.closer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; padding-block: clamp(36px, 5vw, 56px); }
.closer-cta { display: grid; gap: 10px; justify-items: end; }
.closer .closer-cta .cta-row { font-size: 1rem; margin: 0; gap: 4px 20px; }
.closer h2 { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: var(--display-track); }
.closer p { color: var(--hero-muted); margin-top: 8px; font-size: var(--fs-lead); }
@media (max-width: 760px) { .closer { grid-template-columns: minmax(0, 1fr); } .closer-cta { justify-items: start; } }

/* ---------- wordmarks (each game's own title treatment) ---------- */
.wm-leapline { font-family: var(--font-display); font-weight: 900; letter-spacing: .03em; white-space: nowrap; }
.wm-leapline .t1 { color: #bfe3e6; text-shadow: 0 .05em 0 #6fa6ad, 0 .12em .26em rgba(0, 0, 0, .4); }
.wm-leapline .t2 { color: #ffe34d; text-shadow: 0 .05em 0 #c79a00, 0 .12em .26em rgba(0, 0, 0, .4); }
.wm-avoid { font-family: 'Squada One', 'Arial Narrow', sans-serif; font-weight: 400; letter-spacing: .02em; white-space: nowrap; color: #fff; }
.wm-avoid .me { color: var(--red, #f64545); }
.wm-chomp { display: block; height: auto; max-width: 100%; }                 /* Chomp Drop: a picture of the two-tone title (see update_media.py) */
.hero .wm-chomp--stacked { width: clamp(230px, 14vw + 150px, 390px); margin: -2% 0 -1% -1.5%; filter: drop-shadow(0 10px 18px rgba(120, 40, 50, .18)); }
.brand .wm-chomp--line { height: 30px; width: auto; }
.wm-chomp-text { font-family: 'Londrina Solid', 'Site Nunito', 'Nunito', ui-rounded, system-ui, sans-serif; font-weight: 900; letter-spacing: .02em; color: #2b2238; }
.brand .wm-leapline .t1, .brand .wm-leapline .t2 { text-shadow: 0 .06em 0 rgba(0, 0, 0, .35); }

/* ---------- document pages (privacy, support) ---------- */
.page-head { display: grid; gap: 14px; padding-block: clamp(20px, 4vw, 48px) clamp(28px, 4vw, 52px); }
.page-head > * { max-width: 48rem; }
.page-head .eyebrow { color: var(--hero-muted); }
.page-head h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); font-weight: 900; letter-spacing: -.01em; }
.page-head p { color: var(--hero-muted); font-size: var(--fs-lead); }
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(28px, 5vw, 64px); align-items: start; padding-block: clamp(36px, 5vw, 64px); }
.doc-body { min-width: 0; max-width: 46rem; display: grid; gap: 40px; }
.doc-body section { display: grid; gap: 14px; scroll-margin-top: 20px; }
.doc-body h2 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }
.doc-body p, .doc-body li { color: var(--fg); }
.doc-body ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.doc-body ul.checks { padding-left: 0; }
.doc-body .muted { color: var(--muted); }
.toc { position: sticky; top: 20px; display: grid; gap: 6px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: .9375rem; }
.toc .eyebrow { color: var(--muted); margin-bottom: 4px; }
.toc a { color: var(--fg); text-decoration: none; font-weight: 700; padding: 6px 0; }
.toc a:hover { color: var(--link); }
@media (max-width: 900px) { .doc { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }

.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); display: grid; gap: 16px; }
.summary h2 { font-size: 1.25rem; }
.summary .checks li { background: var(--surface-2); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .9375rem; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 900; background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) {                     /* phones: each row becomes a small card (what, then why) */
	table { min-width: 0; }
	thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	tr { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); }
	tr:last-child { border-bottom: 0; }
	td { display: block; padding: 0; border: 0; }
	td + td { color: var(--muted); font-size: .875rem; margin-top: 2px; }
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.steps li::before { content: counter(step); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 900; }
.steps h3 { font-size: 1.125rem; }
.steps p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.kv { margin: 0; display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.kv dt, .kv dd { margin: 0; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.kv dt { font-weight: 900; background: var(--surface-2); }
.kv dt:last-of-type, .kv dd:last-of-type { border-bottom: 0; }
@media (max-width: 560px) { .kv { grid-template-columns: minmax(0, 1fr); } .kv dt { border-bottom: 0; padding-bottom: 4px; } }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; font-weight: 900; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; line-height: 1; color: var(--link); font-weight: 700; }
.faq details[open] summary::after { content: '\2212'; }
.faq details > div { padding: 0 18px 18px; color: var(--muted); display: grid; gap: 10px; }

.contact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); display: grid; gap: 14px; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.email { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 1.0625rem; font-weight: 700; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); color: var(--fg); overflow-wrap: anywhere; user-select: all; text-decoration: none; }
.email.is-todo { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 2px var(--line); user-select: text; }
a.email { color: var(--link); text-decoration: underline; text-decoration-thickness: .08em; }
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0;
	background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 900; cursor: pointer; text-decoration: none;
}
.btn:hover { filter: brightness(1.08); }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 2px var(--line); }

.support-play { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding: 18px 20px 22px; border-radius: var(--radius); background: var(--surface-2); }
.support-play p { font-weight: 800; max-width: 26rem; }

/* ---------- footer ---------- */
.footer { background: var(--surface-2); border-top: 1px solid var(--line); padding-block: 44px 36px; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.footer h2 { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 900; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: var(--fg); font-weight: 800; text-decoration: none; }
.footer a:hover { color: var(--link); text-decoration: underline; }
.more { display: flex; align-items: center; gap: 12px; }
.more .mk { width: 44px; height: 44px; border-radius: 12px; overflow: hidden; flex: none; }
.more .mk img, .more .mk svg { width: 100%; height: 100%; display: block; }
.footer .muted-p { color: var(--muted); margin-bottom: 8px; }
.more small { display: block; color: var(--muted); font-weight: 600; font-size: .8125rem; }
.footer .fine { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- hub ---------- */
.hub-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(12px, 3vw, 40px) clamp(24px, 4vw, 48px); }
.hub-head { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.fan { position: relative; width: 100%; max-width: 480px; justify-self: center; aspect-ratio: 1 / 1.02; }
.fan-phone {
	position: absolute; top: 50%; left: 50%; width: 40%; aspect-ratio: 390 / 844; border-radius: 26px; overflow: hidden; background: #000;
	box-shadow: 0 0 0 6px rgba(10, 10, 20, .65), 0 0 0 7px rgba(255, 255, 255, .14), 0 30px 60px rgba(0, 0, 0, .45);
}
.fan-phone img { width: 100%; height: 100%; object-fit: cover; }
.fan-0 { transform: translate(-116%, -47%) rotate(-8deg); }
.fan-1 { width: 44%; z-index: 2; transform: translate(-50%, -51%); }
.fan-2 { transform: translate(16%, -47%) rotate(8deg); }
@media (max-width: 860px) { .hub-hero { grid-template-columns: minmax(0, 1fr); } .fan { max-width: 420px; } }
.hub-head h1 { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5rem); font-weight: 900; letter-spacing: -.02em; line-height: 1; }
.hub-head p { color: var(--hero-muted); font-size: var(--fs-lead); max-width: 36em; }
.games { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.game-card { border-radius: calc(var(--radius) + 4px); overflow: hidden; display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.game-card .art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: grid; place-items: center; }
.game-card .art .shot-mini { position: absolute; width: 42%; right: 8%; top: 12%; aspect-ratio: 390 / 844; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 5px rgba(0, 0, 0, .35), 0 20px 40px rgba(0, 0, 0, .35); }
.game-card .art .shot-mini img { width: 100%; height: 100%; object-fit: cover; }
.game-card .art .wm { position: absolute; left: 7%; top: 14%; max-width: 46%; font-size: clamp(1.75rem, 1rem + 2vw, 2.5rem); line-height: .95; }
.game-card .wm-leapline { display: inline-flex; flex-direction: column; }
.game-card .wm-avoid .me { display: block; }
.game-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.game-card .body > p:first-of-type { flex: 1; }      /* buttons and links line up across the cards */
.game-card .body p { color: var(--muted); }
.game-card .links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; font-weight: 800; }
.game-card .links a { min-height: 44px; display: inline-flex; align-items: center; }
.art--leapline { background: radial-gradient(70% 70% at 70% 40%, #3a3f68, #2a2d48 70%); }
.art--avoid { background: #212121; }
.art--chomp { background: #f6b48c url(chomp-drop/home-bg.jpg) center / cover; }
.art--chomp .wm { width: 44%; left: 5%; top: 16%; }
.art--chomp .wm .wm-chomp { width: 100%; }
.game-card .card-play { margin-top: 8px; }
[data-game-card="avoid-me"] .play-btn { --pop: #d32f2f; --pop-ink: #ffffff; --pop-edge: #8a1a1a; }
[data-game-card="chomp-drop"] .play-btn { --pop: #c8303f; --pop-ink: #ffffff; --pop-edge: #7a1824; }
@media (max-width: 900px) { .games { grid-template-columns: minmax(0, 1fr); } .game-card .art { aspect-ratio: 16 / 9; } .game-card .art .shot-mini { width: 26%; top: 8%; } }

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