:root {
	--ink: #24272a;
	--muted: #6f7478;
	--line: #deded8;
	--surface: #ffffff;
	--surface-soft: #f7f7f4;
	--soft-fill: #eeeeea;
	--footer: #2f3336;
	--accent: #3f5c55;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--surface-soft);
	color: var(--ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

body.menu-open {
	overflow: hidden;
}

img {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
}

.site-shell {
	min-height: 100vh;
	overflow-x: clip;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--line);
}

.nav-wrap {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 64px;
}

.brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	font-weight: 700;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 8px;
}

.nav-links a {
	border-radius: 6px;
	color: #334149;
	font-size: 0.94rem;
	font-weight: 600;
	padding: 10px 14px;
	text-decoration: none;
}

.nav-links a:hover,
.nav-links a.is-active {
	background: var(--soft-fill);
	color: var(--ink);
}

.nav-toggle {
	display: none;
	border: 0;
	background: var(--ink);
	border-radius: 6px;
	color: #fff;
	font: inherit;
	font-weight: 600;
	padding: 9px 13px;
}

.section {
	padding: 64px 0;
}

.section.tight {
	padding: 48px 0;
}

.section.dark {
	background: var(--soft-fill);
}

.container {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
}

.eyebrow {
	color: var(--muted);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin: 0 0 12px;
	text-transform: uppercase;
}

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

.hero .container {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
	gap: 48px;
	align-items: center;
	padding: 64px 0;
}

.hero h1,
.page-hero h1 {
	color: var(--ink);
	font-size: clamp(2.1rem, 4vw, 3.4rem);
	font-weight: 700;
	line-height: 1.12;
	margin: 0 0 18px;
}

.hero-copy {
	color: var(--muted);
	font-size: 1.02rem;
	line-height: 1.75;
	margin: 0 0 32px;
	max-width: 560px;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.button {
	align-items: center;
	border-radius: 6px;
	display: inline-flex;
	font-weight: 700;
	justify-content: center;
	min-height: 44px;
	padding: 0 20px;
	text-decoration: none;
}

.button.primary {
	background: var(--ink);
	color: #fff;
}

.button.secondary {
	background: #fff;
	border: 1px solid var(--line);
	color: var(--ink);
}

.hero-stage {
	align-self: start;
	display: grid;
	gap: 12px;
	max-width: 360px;
}

.hero-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 8px;
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 16px;
	padding: 14px;
	width: 100%;
}

.hero-card img {
	border-radius: 8px;
	width: 64px;
	height: 64px;
	object-fit: cover;
}

.hero-card h2 {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 6px;
}

.hero-card p {
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.5;
	margin: 0;
}

.store-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.store-row a,
.store-row img {
	display: block;
	height: 40px;
	width: auto;
}

.intro-grid {
	display: grid;
	grid-template-columns: 0.92fr 1.08fr;
	gap: 56px;
	align-items: start;
}

.section-heading {
	max-width: 760px;
}

.section-heading.center {
	margin: 0 auto 46px;
	text-align: center;
}

.section-heading h2 {
	font-size: clamp(1.7rem, 3vw, 2.45rem);
	font-weight: 700;
	line-height: 1.18;
	margin: 0 0 20px;
}

.section-heading p {
	color: var(--muted);
	font-size: 1.08rem;
	margin: 0;
}

.stat-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.stat-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 24px;
}

.stat-card strong {
	display: block;
	font-size: 1.85rem;
	font-weight: 700;
	line-height: 1;
}

.stat-card span {
	color: var(--muted);
	font-size: 0.95rem;
}

.feature-grid {
	display: grid;
	gap: 24px;
}

.feature-card,
.game-card,
.info-card,
.support-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 8px;
	overflow: hidden;
}

.feature-body,
.game-body,
.info-card,
.support-card,
.contact-box,
.panel-dark {
	padding: 24px;
}

.feature-body h3,
.game-card h3,
.info-card h3,
.support-card h2 {
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.12;
	margin: 0 0 14px;
}

.feature-body p,
.game-card p,
.info-card p,
.support-card p {
	color: var(--muted);
	margin: 0;
	overflow-wrap: anywhere;
}

.catalog-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.game-card {
	display: flex;
	flex-direction: column;
}

.game-body {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.game-body .store-row {
	margin-top: auto;
	padding-top: 20px;
}

.game-heading {
	align-items: center;
	display: flex;
	gap: 14px;
	margin-bottom: 16px;
}

.game-heading .eyebrow {
	margin: 0 0 4px;
}

.game-heading h3 {
	margin: 0;
}

.game-icon {
	border-radius: 8px;
	flex: 0 0 auto;
	height: 64px;
	object-fit: cover;
	width: 64px;
}

.mini-lineup {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.mini-lineup a {
	align-items: center;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 8px;
	color: var(--ink);
	display: flex;
	gap: 12px;
	overflow: hidden;
	padding: 14px;
	text-decoration: none;
}

.mini-lineup img {
	background: var(--soft-fill);
	border-radius: 8px;
	flex: 0 0 auto;
	height: 56px;
	object-fit: contain;
	width: 56px;
}

.mini-lineup span {
	font-weight: 700;
}

.page-hero {
	background: var(--surface-soft);
	border-bottom: 1px solid var(--line);
	padding: 64px 0;
}

.page-hero p {
	color: var(--muted);
	font-size: 1.1rem;
	max-width: 680px;
}

.info-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.split-panel {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 24px;
	align-items: stretch;
}

.panel-dark,
.contact-box {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 8px;
}

.panel-dark h2,
.contact-box h2 {
	font-size: clamp(1.7rem, 3vw, 2.45rem);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 18px;
}

.panel-dark p {
	color: var(--muted);
	margin: 0;
}

.support-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
	gap: 24px;
}

.contact-box p {
	color: var(--muted);
	margin: 0 0 24px;
}

.contact-box .button {
	background: var(--ink);
	color: #fff;
	max-width: 100%;
	overflow-wrap: anywhere;
	white-space: normal;
	width: fit-content;
}

.text-link {
	color: var(--accent);
	display: inline-block;
	font-weight: 700;
	margin-top: 12px;
	max-width: 100%;
	overflow-wrap: anywhere;
	text-decoration: none;
}

.site-footer {
	background: var(--footer);
	color: rgba(255, 255, 255, 0.72);
	padding: 34px 0;
}

.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.footer-links {
	display: flex;
	gap: 16px;
}

.footer-links a {
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

@media screen and (max-width: 980px) {
	.nav-toggle {
		display: inline-flex;
	}

	.nav-links {
		position: fixed;
		inset: 76px 16px auto 16px;
		display: none;
		background: #fff;
		border: 1px solid var(--line);
		border-radius: 8px;
		padding: 12px;
	}

	body.menu-open .nav-links {
		display: grid;
	}

	.nav-links a {
		padding: 13px 14px;
	}

	.hero .container,
	.intro-grid,
	.support-layout,
	.split-panel,
	.catalog-grid,
	.info-grid,
	.stat-grid {
		grid-template-columns: 1fr;
	}

	.hero .container {
		gap: 34px;
		padding-top: 48px;
	}

	.hero-stage {
		max-width: 460px;
	}
}

@media screen and (max-width: 680px) {
	.section,
	.section.tight {
		padding: 44px 0;
	}

	.nav-wrap,
	.container {
		width: min(100% - 24px, 1180px);
	}

	.hero .container {
		padding: 48px 0;
	}

	.actions .button {
		width: 100%;
	}

	.store-row a,
	.store-row img {
		height: 36px;
	}

	.mini-lineup {
		grid-template-columns: 1fr;
	}

	.footer-inner {
		align-items: flex-start;
		flex-direction: column;
	}
}
