:root {
	--bg: #050807;
	--bg-2: #071510;
	--surface: #0d1b17;
	--surface-2: #112620;
	--surface-3: #162d26;
	--line: rgba(156, 255, 103, 0.18);
	--line-strong: rgba(62, 230, 157, 0.36);
	--text: #f4fff8;
	--muted: #b5c9c0;
	--soft: #83a69a;
	--lime: #a8ff3e;
	--lime-2: #d6ff5f;
	--teal: #36e7bd;
	--cyan: #70d8ff;
	--gold: #f4c95d;
	--danger: #ff7a69;
	--shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
	--radius: 8px;
	--radius-lg: 14px;
	--container: 1180px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at top left, rgba(48, 181, 122, 0.12), transparent 32rem),
		linear-gradient(180deg, var(--bg) 0%, #06110e 45%, #030605 100%);
	color: var(--text);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	letter-spacing: 0;
	overflow-x: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--lime);
}

button,
input,
textarea,
select {
	font: inherit;
}

:focus-visible {
	outline: 3px solid rgba(168, 255, 62, 0.75);
	outline-offset: 3px;
}

.screen-reader-text,
.skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	width: auto;
	height: auto;
	margin: 12px;
	padding: 10px 14px;
	clip: auto;
	background: var(--lime);
	color: #06110e;
	z-index: 999;
}

.container {
	width: min(100% - 32px, var(--container));
	margin-inline: auto;
}

.container.narrow {
	width: min(100% - 32px, 860px);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(5, 9, 8, 0.93);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.32);
}

.top-rail {
	background: #07100d;
	border-bottom: 1px solid rgba(112, 216, 255, 0.14);
	color: var(--soft);
	font-size: 0.82rem;
}

.top-rail-inner {
	min-height: 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.top-rail a {
	color: var(--teal);
	font-weight: 700;
}

.nav-shell {
	min-height: 66px;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 18px;
}

.site-branding {
	display: flex;
	align-items: center;
	min-width: 128px;
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.custom-logo {
	max-width: 156px;
	max-height: 48px;
	object-fit: contain;
}

.brand-text {
	font-size: 1.55rem;
	font-weight: 900;
	color: var(--lime);
	letter-spacing: 0;
}

.primary-navigation {
	justify-self: center;
}

.primary-navigation ul {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-navigation a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 10px;
	color: var(--muted);
	font-weight: 700;
	font-size: 0.9rem;
	border-radius: var(--radius);
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a {
	background: rgba(168, 255, 62, 0.1);
	color: var(--text);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--text);
	cursor: pointer;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--lime);
	margin: auto;
	content: "";
}

.menu-toggle-bars::before {
	transform: translateY(-7px);
}

.menu-toggle-bars::after {
	transform: translateY(5px);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 18px;
	border-radius: var(--radius);
	border: 1px solid transparent;
	font-weight: 900;
	line-height: 1.2;
	cursor: pointer;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn-primary {
	background: linear-gradient(135deg, var(--lime), var(--lime-2));
	color: #06110e;
	box-shadow: 0 14px 34px rgba(168, 255, 62, 0.24);
}

.btn-primary:hover {
	color: #06110e;
	box-shadow: 0 18px 40px rgba(168, 255, 62, 0.32);
}

.btn-secondary,
.btn-ghost {
	background: rgba(255, 255, 255, 0.04);
	color: var(--text);
	border-color: var(--line);
}

.btn-secondary:hover,
.btn-ghost:hover {
	border-color: rgba(168, 255, 62, 0.45);
	background: rgba(168, 255, 62, 0.08);
}

.btn.compact {
	min-height: 40px;
	padding: 9px 12px;
	font-size: 0.88rem;
}

.section {
	padding: 76px 0;
}

.eyebrow {
	margin: 0 0 10px;
	color: var(--lime);
	text-transform: uppercase;
	font-weight: 900;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
}

h1,
h2,
h3,
h4 {
	color: var(--text);
	line-height: 1.18;
	letter-spacing: 0;
	margin: 0 0 16px;
}

h1 {
	font-size: clamp(2.2rem, 6vw, 4.9rem);
	max-width: 820px;
}

h2 {
	font-size: clamp(1.75rem, 4vw, 3rem);
}

h3 {
	font-size: clamp(1.18rem, 2vw, 1.45rem);
}

p {
	margin: 0 0 16px;
	color: var(--muted);
}

.hero {
	position: relative;
	padding: 74px 0 58px;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(110deg, rgba(168, 255, 62, 0.06), transparent 38%),
		radial-gradient(circle at 78% 28%, rgba(54, 231, 189, 0.2), transparent 23rem);
	pointer-events: none;
}

.hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.02fr 0.78fr;
	align-items: center;
	gap: 44px;
}

.hero-lead {
	max-width: 720px;
	font-size: 1.1rem;
	color: #d8e8e1;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 28px 0 18px;
}

.hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.hero-badges span {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 6px 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.035);
	color: var(--muted);
	font-weight: 800;
	font-size: 0.86rem;
}

.hero-panel {
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-lg);
	background: linear-gradient(160deg, rgba(17, 38, 32, 0.92), rgba(7, 21, 16, 0.98));
	box-shadow: var(--shadow);
	padding: 14px;
}

.portal-device {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	aspect-ratio: 4 / 3;
	background: #0b1512;
}

.portal-device-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.device-overlay {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px;
	border-radius: var(--radius);
	background: rgba(3, 7, 6, 0.78);
	border: 1px solid rgba(168, 255, 62, 0.28);
	backdrop-filter: blur(10px);
}

.device-overlay span {
	color: var(--muted);
}

.device-overlay strong {
	color: var(--lime);
	font-size: 1.25rem;
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-top: 12px;
}

.hero-stats div {
	padding: 14px 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(0, 0, 0, 0.2);
	text-align: center;
}

.hero-stats strong {
	display: block;
	color: var(--lime);
	font-size: 1.4rem;
	line-height: 1.1;
}

.hero-stats span {
	display: block;
	color: var(--soft);
	font-size: 0.78rem;
}

.quick-nav-band {
	border-block: 1px solid var(--line);
	background: rgba(13, 27, 23, 0.88);
}

.quick-nav-scroll {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding: 14px 0;
	scrollbar-width: thin;
}

.quick-pill {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 46px;
	padding: 9px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #091410;
	color: var(--text);
	font-weight: 850;
}

.quick-pill span {
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(168, 255, 62, 0.13);
	color: var(--lime);
}

.portal-strip {
	padding: 34px 0;
	background: linear-gradient(90deg, rgba(168, 255, 62, 0.09), rgba(54, 231, 189, 0.04));
	border-bottom: 1px solid var(--line);
}

.strip-grid {
	display: grid;
	grid-template-columns: 0.7fr 1fr;
	gap: 28px;
	align-items: center;
}

.strip-label,
.card-kicker {
	display: inline-flex;
	margin-bottom: 10px;
	color: var(--teal);
	font-weight: 900;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.portal-strip h2 {
	font-size: clamp(1.45rem, 3vw, 2.25rem);
	margin: 0;
}

.portal-strip p {
	margin: 0;
	color: #dbe9e3;
}

.section-heading {
	margin-bottom: 28px;
}

.split-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
}

.centered {
	text-align: center;
}

.centered h2,
.centered p {
	margin-left: auto;
	margin-right: auto;
}

.route-layout {
	display: grid;
	grid-template-columns: 1.35fr 0.75fr 0.75fr;
	gap: 16px;
	align-items: stretch;
}

.route-feature,
.route-card,
.step-card,
.post-card,
.module-card-grid article,
.faq-grid details {
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: linear-gradient(180deg, rgba(17, 38, 32, 0.92), rgba(10, 22, 18, 0.94));
	box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
}

.route-feature {
	display: grid;
	grid-template-columns: 0.92fr 1fr;
	gap: 18px;
	padding: 16px;
}

.route-feature .route-img {
	width: 100%;
	height: 100%;
	min-height: 250px;
	object-fit: cover;
	border-radius: var(--radius);
}

.route-feature > div,
.route-card {
	padding: 18px;
}

.route-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 260px;
}

.route-card a,
.route-feature a,
.game-card a,
.text-link {
	color: var(--lime);
	font-weight: 900;
}

.compact-card {
	background: linear-gradient(180deg, rgba(34, 55, 25, 0.86), rgba(10, 22, 18, 0.94));
}

.promo-banner {
	padding: 48px 0;
}

.promo-inner {
	display: grid;
	grid-template-columns: 1fr 0.65fr;
	gap: 24px;
	align-items: center;
	padding: 28px;
	border-radius: var(--radius-lg);
	border: 1px solid rgba(168, 255, 62, 0.26);
	background:
		linear-gradient(120deg, rgba(168, 255, 62, 0.13), rgba(54, 231, 189, 0.04)),
		var(--surface);
	box-shadow: var(--shadow);
}

.promo-img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--radius);
}

.feature-split {
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: 28px;
	align-items: center;
}

.feature-copy {
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.feature-media {
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
	padding: 12px;
}

.feature-img {
	width: 100%;
	aspect-ratio: 16 / 11;
	object-fit: cover;
	border-radius: var(--radius);
}

.table-wrap {
	width: 100%;
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	margin: 18px 0;
}

table {
	width: 100%;
	min-width: 520px;
	border-collapse: collapse;
	background: #08110e;
}

th,
td {
	padding: 13px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	text-align: left;
	color: var(--muted);
}

th {
	color: var(--lime);
	background: rgba(168, 255, 62, 0.08);
}

.product-zone {
	background: linear-gradient(180deg, rgba(54, 231, 189, 0.04), rgba(0, 0, 0, 0));
}

.game-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 18px;
}

.game-card {
	overflow: hidden;
}

.game-card.large {
	display: grid;
	grid-template-columns: 1fr 0.9fr;
}

.game-img {
	width: 100%;
	height: 100%;
	min-height: 260px;
	object-fit: cover;
}

.game-card > div {
	padding: 20px;
}

.step-grid,
.module-card-grid,
.post-grid,
.faq-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.step-card,
.module-card-grid article {
	padding: 20px;
}

.step-card span,
.module-card-grid span {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: rgba(168, 255, 62, 0.12);
	color: var(--lime);
	font-weight: 950;
}

.responsible-band {
	background: #030605;
	border-block: 1px solid var(--line);
}

.responsible-grid {
	display: grid;
	grid-template-columns: 1fr 0.75fr 0.75fr;
	gap: 22px;
	align-items: center;
}

.risk-checks {
	display: grid;
	gap: 10px;
}

.risk-checks span {
	display: block;
	padding: 12px 14px;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--line);
	color: var(--muted);
	font-weight: 800;
}

.responsible-img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius-lg);
	border: 1px solid var(--line);
}

.guide-source {
	background: linear-gradient(180deg, rgba(11, 26, 21, 0.95), rgba(6, 13, 11, 0.95));
}

.guide-layout {
	display: grid;
	grid-template-columns: 0.34fr 0.66fr;
	gap: 24px;
	align-items: start;
}

.guide-aside {
	position: sticky;
	top: 120px;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: rgba(0, 0, 0, 0.22);
}

.guide-article,
.page-article-content {
	border-radius: var(--radius-lg);
	background: #f7fbf8;
	color: #15211d;
	padding: clamp(22px, 4vw, 42px);
	box-shadow: 0 18px 52px rgba(0, 0, 0, 0.22);
}

.wp-content {
	font-size: 1.04rem;
}

.wp-content h2,
.wp-content h3,
.wp-content h4 {
	color: #0f1c18;
	margin-top: 1.8em;
}

.wp-content h2::before {
	content: "";
	display: block;
	width: 54px;
	height: 4px;
	margin-bottom: 12px;
	border-radius: 99px;
	background: #4bad28;
}

.wp-content p,
.wp-content li,
.wp-content dd,
.wp-content figcaption {
	color: #314139;
}

.wp-content a {
	color: #176b47;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.wp-content blockquote {
	margin: 26px 0;
	padding: 18px 20px;
	border-left: 5px solid #4bad28;
	background: #e9f5ed;
	color: #17231f;
	border-radius: var(--radius);
}

.wp-content .wp-block-table {
	overflow-x: auto;
	margin: 28px 0;
}

.wp-content table {
	width: 100%;
	border-collapse: collapse;
	min-width: 640px;
}

.wp-content th,
.wp-content td {
	padding: 12px 14px;
	border: 1px solid #cfe0d7;
	text-align: left;
	vertical-align: top;
	color: #23322d;
}

.wp-content th {
	background: #e4f2e9;
	color: #10231c;
	font-weight: 900;
}

.content-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0 0;
	color: var(--muted);
	font-size: 0.88rem;
}

.content-meta span {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 6px 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.035);
}

.wp-content img {
	border-radius: var(--radius);
}

.trust-entry-band {
	background: rgba(255, 255, 255, 0.018);
}

.trust-entry-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.trust-entry-grid a {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 150px;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: linear-gradient(180deg, rgba(17, 38, 32, 0.92), rgba(10, 22, 18, 0.94));
}

.trust-entry-grid strong {
	color: var(--lime);
	font-size: 1.05rem;
}

.trust-entry-grid span {
	color: var(--muted);
}

.faq-section {
	background: rgba(255, 255, 255, 0.015);
}

.faq-grid {
	grid-template-columns: repeat(2, 1fr);
}

.faq-grid details {
	padding: 16px 18px;
}

.faq-grid summary {
	cursor: pointer;
	font-weight: 900;
	color: var(--text);
	min-height: 44px;
	display: flex;
	align-items: center;
}

.faq-grid p {
	margin: 8px 0 0;
}

.final-cta {
	padding-top: 34px;
}

.final-cta-inner {
	padding: 32px;
	border-radius: var(--radius-lg);
	background:
		linear-gradient(135deg, rgba(168, 255, 62, 0.15), rgba(54, 231, 189, 0.06)),
		var(--surface);
	border: 1px solid var(--line-strong);
	text-align: center;
}

.page-hero,
.archive-hero,
.single-hero {
	padding: 54px 0 44px;
	background:
		linear-gradient(120deg, rgba(168, 255, 62, 0.08), transparent 52%),
		var(--bg-2);
	border-bottom: 1px solid var(--line);
}

.page-hero-inner,
.archive-hero-inner {
	max-width: 860px;
}

.page-hero h1,
.archive-hero h1,
.single-hero h1 {
	font-size: clamp(2rem, 5vw, 3.5rem);
}

.breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
	color: var(--soft);
	font-size: 0.9rem;
}

.breadcrumb a {
	color: var(--teal);
	font-weight: 800;
}

.page-modules {
	padding: 42px 0 24px;
}

.module-feature {
	display: grid;
	grid-template-columns: 1fr 0.72fr;
	gap: 20px;
	align-items: center;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
	margin-bottom: 18px;
}

.module-copy {
	padding: 12px;
}

.module-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.module-img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--radius);
}

.page-article-content {
	margin-bottom: 64px;
}

.single-article .page-article-content {
	margin-top: 28px;
}

.featured-image img,
.featured-image {
	width: 100%;
	border-radius: var(--radius-lg);
}

.post-grid {
	grid-template-columns: repeat(3, 1fr);
}

.post-card {
	overflow: hidden;
}

.post-card-media {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--surface-2);
}

.post-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card-body {
	padding: 18px;
}

.post-card h2 {
	font-size: 1.25rem;
}

.post-meta {
	color: var(--soft);
	font-size: 0.9rem;
}

.empty-state {
	grid-column: 1 / -1;
	padding: 28px;
	border-radius: var(--radius-lg);
	border: 1px solid var(--line);
	background: var(--surface);
}

.core-links,
.not-found-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.core-links a,
.not-found-links a {
	min-height: 42px;
	padding: 9px 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text);
	font-weight: 850;
}

.not-found-page {
	min-height: 62vh;
	display: grid;
	place-items: center;
	padding: 72px 0;
}

.not-found-inner {
	text-align: center;
	max-width: 760px;
}

.portal-search {
	display: flex;
	gap: 10px;
	margin-top: 20px;
	max-width: 620px;
}

.portal-search label {
	flex: 1;
}

.search-field {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: #07110e;
	color: var(--text);
}

.search-submit {
	min-height: 48px;
	padding: 10px 16px;
	border-radius: var(--radius);
	border: 0;
	background: var(--lime);
	color: #06110e;
	font-weight: 900;
	cursor: pointer;
}

.site-footer {
	padding: 58px 0 24px;
	background: #020403;
	border-top: 1px solid var(--line);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
	gap: 28px;
}

.site-footer h2 {
	font-size: 1.05rem;
	color: var(--lime);
}

.footer-menu,
.footer-contact ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.footer-menu a,
.footer-contact a {
	color: var(--muted);
}

.footer-risk {
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(168, 255, 62, 0.05);
}

.footer-bottom {
	margin-top: 30px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-btn {
	margin-top: 12px;
}

.back-to-top {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 40;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid rgba(168, 255, 62, 0.4);
	background: var(--lime);
	color: #06110e;
	font-weight: 950;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: translateY(12px);
	transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

@media (max-width: 1080px) {
	.nav-shell {
		grid-template-columns: auto auto auto;
		justify-content: space-between;
	}

	.menu-toggle {
		display: inline-grid;
		place-items: center;
		order: 3;
	}

	.primary-navigation {
		display: none;
		grid-column: 1 / -1;
		justify-self: stretch;
		width: 100%;
		padding: 10px 0 16px;
	}

	.primary-navigation.is-open {
		display: block;
	}

	.primary-navigation ul {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}

	.primary-navigation a {
		background: rgba(255, 255, 255, 0.04);
	}

	.header-actions {
		order: 2;
	}

	.hero-grid,
	.feature-split,
	.responsible-grid,
	.guide-layout,
	.module-feature {
		grid-template-columns: 1fr;
	}

	.guide-aside {
		position: static;
	}

	.route-layout {
		grid-template-columns: 1fr 1fr;
	}

	.route-feature {
		grid-column: 1 / -1;
	}

	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 760px) {
	.container {
		width: min(100% - 24px, var(--container));
	}

	.top-rail-inner {
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
		gap: 2px;
		padding: 6px 0;
	}

	.nav-shell {
		min-height: 58px;
		gap: 10px;
	}

	.custom-logo {
		max-width: 122px;
		max-height: 40px;
	}

	.header-actions .btn-ghost {
		display: none;
	}

	.btn.compact {
		min-height: 38px;
		padding: 8px 10px;
	}

	.section {
		padding: 48px 0;
	}

	.hero {
		padding: 46px 0 36px;
	}

	h1 {
		font-size: 2.28rem;
	}

	h2 {
		font-size: 1.72rem;
	}

	.hero-actions,
	.module-actions,
	.portal-search {
		flex-direction: column;
	}

	.hero-actions .btn,
	.module-actions .btn,
	.portal-search .search-submit {
		width: 100%;
	}

	.hero-stats,
	.strip-grid,
	.route-layout,
	.route-feature,
	.promo-inner,
	.game-grid,
	.game-card.large,
	.step-grid,
	.module-card-grid,
	.post-grid,
	.faq-grid,
	.trust-entry-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.split-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.promo-inner,
	.final-cta-inner {
		padding: 20px;
	}

	.route-card {
		min-height: 0;
	}

	.responsible-grid {
		gap: 16px;
	}

	.page-hero,
	.archive-hero,
	.single-hero {
		padding: 40px 0 32px;
	}

	.guide-article,
	.page-article-content {
		padding: 22px 18px;
	}

	.primary-navigation ul {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
