/* Trike Service — MW4 landing page */

:root {
	--purple: #933aff;
	--purple-deep: #7a24e6;
	--night: #26124d;
	--gunmetal: #1b1c24;
	--gunmetal-2: #24252f;
	--ink: #131419;
	--line: #2e2f3b;
	--bone: #f4f2fa;
	--smoke: #a9a6bb;
	--xp: #ffd000; /* the MW4 logo's yellow */
	--discord: #5865f2;

	--display: "Kufam", "Readex Pro", system-ui, sans-serif;
	--text: "Readex Pro", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(72px, 9vw, 128px);
}

/* Resets carry zero specificity so component rules below always win. */
:where(.trike-home) :where(*, *::before, *::after) { box-sizing: border-box; }
:where(.trike-home) :where(img) { max-width: 100%; height: auto; display: block; }
:where(.trike-home) :where(a) { color: inherit; text-decoration: none; }
:where(.trike-home) :where(h1, h2, h3, p, dl, dd, figure) { margin: 0; }
:where(.trike-home) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	scrollbar-color: #3a3b48 var(--gunmetal);
	accent-color: var(--purple);
}

body.trike-home {
	margin: 0;
	background: var(--gunmetal);
	color: var(--bone);
	font-family: var(--text);
	font-size: 1.0625rem;
	line-height: 1.75;
	caret-color: var(--purple);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

.trike-home ::selection { background: var(--xp); color: var(--gunmetal); }
.trike-home :focus-visible { outline: 3px solid var(--xp); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Text other plugins print for screen readers only; the theme's skip link targets #main, which this page doesn't have. */
.trike-home .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.trike-home .skip-link { display: none; }

.skip { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--xp); color: var(--gunmetal); font-weight: 700; }
.skip:focus { top: 12px; }

.ico { width: 1.2em; height: 1.2em; flex: none; }

h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); font-weight: 900; line-height: 1.2; }
h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.35; }
p { text-wrap: pretty; }

/* Buttons */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	padding: .85em 1.35em;
	border-radius: 10px;
	font-family: var(--text);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease, translate .15s ease;
}
.btn:active { translate: 0 1px; }
.btn-lg { padding: 1em 1.7em; font-size: 1.12rem; border-radius: 12px; }

.btn-light { background: #fff; color: var(--gunmetal); box-shadow: 0 8px 20px -10px rgba(27, 28, 36, .55); }
.btn-light:hover { background: var(--bone); }
.btn-light .ico-discord { color: var(--discord); }

.btn-brand { background: var(--purple); color: #fff; box-shadow: 0 8px 20px -10px rgba(122, 36, 230, .8); }
.btn-brand:hover { background: var(--purple-deep); }

.btn-nav { background: var(--gunmetal); color: #fff; padding: .65em 1.1em; font-size: .95rem; }
.btn-nav:hover { background: #000; }

.text-link { display: inline-flex; align-items: center; gap: .5em; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.text-link:hover { text-decoration-thickness: 2.5px; }

/* Hero: the operator, with what we offer pinned beside him */

.hero { position: relative; overflow: hidden; background: var(--night); color: #fff; }

.nav { position: relative; z-index: 3; display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 900; font-size: 1.1rem; direction: ltr; }
.nav-links { display: flex; gap: 28px; margin-inline-start: auto; font-weight: 500; font-size: .98rem; }
.nav-links a { text-underline-offset: 8px; text-decoration-thickness: 2px; }
.nav-links a:hover { text-decoration-line: underline; }

/* Phones first: title, operator with the perks beside him, then the button. */
.hero-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "title" "stage" "actions";
}
.hero-title {
	grid-area: title;
	position: relative;
	z-index: 2;
	padding-top: 4px;
	font-size: clamp(2.15rem, 1.2rem + 4.2vw, 4.4rem);
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: -.01em;
}
.hero-title [dir="ltr"] { white-space: nowrap; }

.stage { grid-area: stage; position: relative; height: clamp(310px, 88vw, 420px); }
.slab {
	position: absolute;
	inset-inline-end: 2%;
	bottom: 0;
	width: 64%;
	height: 86%;
	background: var(--purple);
	clip-path: polygon(34% 0, 100% 0, 66% 100%, 0 100%);
}
.operator {
	position: absolute;
	bottom: 0;
	inset-inline-end: -6%;
	height: 100%;
	width: auto;
	max-width: 80%;
	object-fit: contain;
	object-position: bottom;
	filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45));
}
.float { position: absolute; width: 50px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .5)); }
.f1 { top: 2%; inset-inline-start: 4%; }
.f2 { top: 8%; inset-inline-end: 6%; width: 44px; }
.f3 { bottom: 5%; inset-inline-start: 8%; width: 62px; }

.perks {
	grid-area: stage;
	align-self: center;
	justify-self: start;
	position: relative;
	z-index: 2;
	display: grid;
	gap: 8px;
	max-width: 62%;
}
.perks li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 12px;
	border-radius: 10px;
	background: var(--gunmetal);
	border: 1px solid rgba(255, 255, 255, .09);
	box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .8);
	font-size: .9rem;
	font-weight: 500;
	line-height: 1.45;
}
.perks .ico { width: 20px; height: 20px; color: var(--xp); }

.hero-actions { grid-area: actions; position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-block: 20px 24px; }

/* XP bar: the edge of the hero, filled once on load */

.xp { position: relative; z-index: 2; background: var(--gunmetal); color: var(--bone); }
.xp-row { display: flex; align-items: center; gap: 18px; height: 72px; }
.xp-lv { font-family: var(--display); font-weight: 900; font-size: 1.05rem; direction: ltr; white-space: nowrap; min-width: 4.5em; text-align: end; }
.xp-lv b { color: var(--xp); font-variant-numeric: tabular-nums; }
.xp-track { position: relative; flex: 1; height: 10px; border-radius: 6px; background: var(--line); }
.xp-fill { position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--p, 0%); border-radius: inherit; background: var(--xp); }
.xp-mark {
	position: absolute;
	top: 50%;
	inset-inline-start: var(--at);
	width: 38px;
	translate: 50% -50%;
	filter: grayscale(1) brightness(.55);
	transition: filter .3s ease, scale .3s cubic-bezier(.34, 1.56, .64, 1);
}
.xp-mark.is-last { width: 52px; }
.xp-mark.on { filter: none; scale: 1.12; }
.xp-end { margin-inline-start: 28px; font-family: var(--display); font-weight: 700; font-size: 1rem; white-space: nowrap; color: var(--smoke); transition: color .3s ease; }
.xp.done .xp-end { color: var(--xp); }

/* Sections */

.sec-head { max-width: 40rem; margin-bottom: clamp(32px, 4vw, 48px); }
.sec-head p { margin-top: 12px; color: var(--smoke); }

/* Prices: a lobby playlist, one row selected */

.prices { padding-block: var(--section); }
.playlist { display: grid; gap: 12px; max-width: 900px; }
.row {
	display: grid;
	grid-template-columns: 4.5rem 1fr auto auto;
	align-items: center;
	gap: 8px 24px;
	padding: 20px 24px;
	border-radius: 14px;
	background: var(--gunmetal-2);
	border: 1.5px solid transparent;
	transition: border-color .15s ease, background-color .15s ease;
}
.row:hover { border-color: var(--purple); }
.row-qty { font-family: var(--display); font-weight: 900; font-size: 2.6rem; line-height: 1; color: var(--purple); text-align: center; }
.row-main { display: grid; gap: 2px; }
.row-main b { font-family: var(--display); font-weight: 700; font-size: 1.3rem; }
.row-main span { color: var(--smoke); font-size: .95rem; }
.row-main em {
	justify-self: start;
	margin-top: 8px;
	padding: 2px 10px;
	border-radius: 6px;
	background: var(--xp);
	color: var(--gunmetal);
	font-style: normal;
	font-weight: 700;
	font-size: .85rem;
}
.row-price { display: grid; justify-items: end; gap: 2px; }
.usd { display: flex; align-items: baseline; gap: 10px; direction: ltr; }
.usd b { font-family: var(--display); font-weight: 900; font-size: 2.3rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.usd s { color: var(--smoke); font-size: 1.05rem; font-weight: 500; text-decoration-thickness: 2px; }
.sar { color: var(--smoke); font-size: .9rem; }
.row-go {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	padding: .7em 1.15em;
	border-radius: 10px;
	border: 1.5px solid var(--purple);
	color: #fff;
	font-weight: 700;
	transition: background-color .15s ease;
}
.row:hover .row-go { background: var(--purple); }

.row.is-selected { background: var(--purple); color: #fff; box-shadow: 0 18px 40px -22px rgba(147, 58, 255, .9); }
.row.is-selected .row-qty,
.row.is-selected .row-main span,
.row.is-selected .usd s,
.row.is-selected .sar { color: #fff; }
.row.is-selected .row-go { background: #fff; border-color: #fff; color: var(--gunmetal); }
.row.is-selected .row-go .ico-discord { color: var(--discord); }
.row.is-selected:hover { border-color: #fff; }
.row.is-selected:hover .row-go { background: var(--bone); }

.pay { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 28px; color: var(--smoke); font-size: .9rem; }
.pay img { width: 44px; height: 44px; }

/* Lobby facts: a spec sheet on a light field */

.lobby { padding-block: var(--section); background: var(--bone); color: var(--gunmetal); }
.lobby-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 32px 72px; align-items: start; }
.lobby h2 { position: sticky; top: 32px; }
.spec > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 6px 28px; padding-block: 22px; border-top: 1px solid rgba(27, 28, 36, .16); }
.spec > div:last-child { border-bottom: 1px solid rgba(27, 28, 36, .16); }
.spec dt { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--purple-deep); padding-top: 2px; }
.spec dd { max-width: 36em; }

/* Steps */

.how { padding-block: var(--section); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; margin-block: clamp(32px, 4vw, 48px) 44px; }
.steps li { padding-top: 22px; border-top: 2px solid var(--line); }
.steps li:first-child { border-top-color: var(--purple); }
.step-n { display: block; font-family: var(--display); font-weight: 900; font-size: 3.2rem; line-height: 1; color: var(--purple); margin-bottom: 14px; }
.steps p { margin-top: 8px; color: var(--smoke); max-width: 30em; }

/* Proof */

.proof { padding-block: var(--section); background: var(--ink); }
.proof-line { font-size: clamp(2.6rem, 1.2rem + 5.6vw, 6rem); line-height: 1.15; }
.proof-line span { display: block; }
.proof-note { margin-top: clamp(40px, 5vw, 64px); margin-bottom: 18px; color: var(--smoke); }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.shots img { width: 100%; border-radius: 14px; border: 1px solid var(--line); background: #000; }

/* FAQ */

.faq { padding-block: var(--section); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 32px 72px; align-items: start; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: 22px 0;
	padding-inline-end: 48px;
	font-weight: 700;
	font-size: 1.12rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before,
.faq-list summary::after {
	content: "";
	position: absolute;
	inset-inline-end: 6px;
	top: 50%;
	width: 16px;
	height: 2px;
	border-radius: 2px;
	background: var(--purple);
	transition: rotate .2s ease;
}
.faq-list summary::after { rotate: 90deg; }
.faq-list details[open] summary::after { rotate: 0deg; }
.faq-list summary:hover { color: #fff; }
.faq-list details p { padding-bottom: 24px; color: var(--smoke); max-width: 40em; }
.faq-list details a { color: var(--bone); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }

/* Close */

.close { padding-block: var(--section); background: var(--purple); color: #fff; }
.close h2 { font-size: clamp(2.3rem, 1.2rem + 4.4vw, 5rem); max-width: 14em; }
.close h2 span { white-space: nowrap; }
.close p { margin-top: 16px; margin-bottom: 32px; font-size: 1.15rem; font-weight: 500; }

/* Footer */

.foot { padding-block: 40px 32px; background: var(--ink); color: var(--smoke); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot .brand { color: var(--bone); }
.foot-links { display: flex; flex-wrap: wrap; gap: 24px; font-weight: 500; }
.foot-links a { display: inline-flex; align-items: center; gap: 8px; }
.foot-links a:hover { color: var(--bone); }
.legal { display: grid; gap: 4px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .85rem; }

/* Sticky booking bar (phones only) */

.sticky-cta { display: none; }

/* Responsive */

@media (min-width: 981px) {
	.hero-body {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
		grid-template-rows: auto auto 1fr;
		grid-template-areas: "title stage" "perks stage" "actions stage";
		column-gap: 48px;
		min-height: clamp(580px, 76vh, 740px);
	}
	.hero-title { align-self: end; padding-top: 56px; }
	.hero-title .line { display: block; }
	.stage { height: auto; min-height: 100%; }
	.slab { width: 70%; height: 84%; inset-inline-end: 6%; }
	.operator { inset-inline-end: 0; max-width: 100%; max-height: 780px; }
	.float { width: 64px; }
	.f1 { top: 10%; inset-inline-start: 0; }
	.f2 { top: 4%; inset-inline-end: 4%; width: 56px; }
	.f3 { bottom: 10%; inset-inline-start: 2%; width: 84px; }
	.perks { grid-area: perks; align-self: start; max-width: 30rem; margin-top: 28px; gap: 10px; }
	.perks li { padding: 12px 16px; font-size: 1rem; }
	.hero-actions { align-self: start; padding-block: 32px 72px; }
}

@media (max-width: 980px) {
	.nav-links { display: none; }
	.nav .btn-nav { margin-inline-start: auto; }
	.lobby-grid, .faq-grid { grid-template-columns: 1fr; }
	.lobby h2 { position: static; }
	.steps { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	body.trike-home { font-size: 1rem; padding-bottom: 80px; }
	.nav { height: 64px; }
	.hero-actions { flex-direction: column; align-items: stretch; }
	.hero-actions .btn { width: 100%; }
	.hero-actions .text-link { justify-content: center; }
	.xp-row { height: 60px; gap: 12px; }
	.xp-mark { width: 30px; }
	.xp-mark.is-last { width: 40px; }
	.xp-end { display: none; }

	.row { grid-template-columns: 3rem 1fr auto; padding: 18px; gap: 6px 14px; }
	.row-qty { font-size: 2.1rem; }
	.usd b { font-size: 1.9rem; }
	.row-go { grid-column: 1 / -1; justify-content: center; margin-top: 10px; padding: .8em; }

	.spec > div { grid-template-columns: 1fr; }
	.steps { gap: 0; margin-bottom: 32px; }
	.steps li { display: grid; grid-template-columns: 3.25rem 1fr; column-gap: 8px; padding-block: 20px; }
	.step-n { grid-row: span 2; font-size: 2.4rem; margin: 0; }
	.steps p { margin-top: 4px; }
	.how .btn { width: 100%; }
	.shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
	.shots img { flex: 0 0 82%; scroll-snap-align: center; }
	.close .btn { width: 100%; }
	.foot-row { flex-direction: column; align-items: flex-start; }

	.sticky-cta {
		display: block;
		position: fixed;
		inset-inline: 0;
		bottom: 0;
		z-index: 60;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: var(--gunmetal);
		border-top: 1px solid var(--line);
		translate: 0 110%;
		visibility: hidden;
		transition: translate .3s cubic-bezier(.16, 1, .3, 1), visibility .3s;
	}
	.sticky-cta.show { translate: 0 0; visibility: visible; }
	.sticky-cta .btn { width: 100%; }
}

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