@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ─── Design tokens ─── */
:root {
	--font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
	--font-mono: 'IBM Plex Mono', ui-monospace, monospace;

	--bg-base: #070708;
	--bg-raised: #0e0e11;
	--bg-surface: #141419;
	--bg-muted: #1a1a21;

	--border: rgba(255, 255, 255, 0.07);
	--border-strong: rgba(255, 255, 255, 0.14);

	--text-primary: #f4f4f5;
	--text-secondary: #a1a1aa;
	--text-muted: #71717a;

	--accent: #2563eb;
	--accent-hover: #1d4ed8;
	--accent-soft: rgba(37, 99, 235, 0.12);

	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--radius-xl: 20px;

	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
	--shadow-md: 0 8px 32px rgba(0, 0, 0, 0.35);
	--shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.45);

	--container: 1120px;
	--section-py: clamp(4.5rem, 7vw, 6.5rem);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Base ─── */
html, body {
	height: 100%;
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.65;
	background: var(--bg-base);
	color: var(--text-primary);
	min-height: 100vh;
	letter-spacing: -0.015em;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease), opacity 0.2s var(--ease);
}

a:hover {
	text-decoration: none;
}

.underline {
	text-decoration: underline;
	text-underline-offset: 3px;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6, .btn {
	font-family: var(--font-sans);
	font-weight: 600;
	letter-spacing: -0.025em;
	color: var(--text-primary);
}

h1 {
	font-size: clamp(2.25rem, 5vw, 3.25rem);
	font-weight: 700;
	line-height: 1.12;
}

.container {
	max-width: var(--container);
}

/* ─── Header (background image preserved) ─── */
header {
	background-color: var(--bg-base);
	background-image: url('../j-images/header.tpl.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: visible;
}

header::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37, 99, 235, 0.08) 0%, transparent 55%),
		linear-gradient(180deg, rgba(7, 7, 8, 0.72) 0%, rgba(7, 7, 8, 0.88) 100%);
	z-index: 1;
	pointer-events: none;
}

header::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 120px;
	background: linear-gradient(to bottom, transparent, var(--bg-base));
	z-index: 2;
	pointer-events: none;
}

header > * {
	position: relative;
	z-index: 10;
}

.hero-content,
.nav-container,
.other-pages-header > * {
	position: relative;
	z-index: 15;
}

.other-pages-header {
	padding: 2rem 0 3rem;
}

/* Inner pages: nav only, no hero photo */
header:not(:has(.hero-content)) {
	background-image: none;
	min-height: auto;
}

header:not(:has(.hero-content))::before,
header:not(:has(.hero-content))::after {
	display: none;
}

/* ─── Navigation ─── */
.nav {
	padding: 1.25rem 0;
	width: 100%;
	border-bottom: 1px solid var(--border);
	background: rgba(7, 7, 8, 0.55);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.nav::before {
	display: none;
}

.nav-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1.5rem;
	width: 100%;
	gap: 1.5rem;
}

.logo-section {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.logo-section:hover {
	opacity: 0.92;
}

a.logo-section {
	text-decoration: none !important;
	color: inherit;
}

.logo-text {
	display: flex;
	align-items: center;
}

.logo-text img {
	height: auto;
	max-height: 32px;
	width: auto;
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	margin-left: auto;
}

.nav-link {
	color: var(--text-secondary);
	font-size: 0.875rem;
	font-weight: 500;
	padding: 0.5rem 0.75rem;
	border-radius: var(--radius-sm);
	white-space: nowrap;
	cursor: pointer;
}

.nav-link:hover {
	color: var(--text-primary);
	background: rgba(255, 255, 255, 0.05);
}

.nav-link-cta {
	color: var(--text-primary) !important;
	background: var(--accent);
	margin-left: 0.5rem;
}

.nav-link-cta:hover {
	background: var(--accent-hover);
}

.mobile-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	cursor: pointer;
	padding: 0.5rem;
	background: transparent;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
}

.mobile-menu-toggle span {
	width: 18px;
	height: 1.5px;
	background: var(--text-primary);
	border-radius: 1px;
	transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.mobile-menu-toggle.active span:nth-child(1) {
	transform: rotate(45deg) translate(4px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
	opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(4px, -5px);
}

.mobile-nav-menu {
	display: none;
	padding: 1rem 1.5rem 1.5rem;
	border-top: 1px solid var(--border);
	background: rgba(7, 7, 8, 0.92);
}

.mobile-nav-menu.show {
	display: block;
}

.mobile-nav-links {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.mobile-nav-links .nav-link {
	font-size: 0.9375rem;
	padding: 0.75rem 0.5rem;
	border-radius: var(--radius-sm);
	border-bottom: none;
	width: 100%;
	text-align: left;
}

/* ─── Hero ─── */
.hero-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: clamp(3rem, 8vw, 5.5rem) 1.5rem clamp(3.5rem, 7vw, 5rem);
	max-width: var(--container);
	margin: 0 auto;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.375rem 0.875rem;
	margin-bottom: 1.75rem;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-secondary);
	border: 1px solid var(--border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
}

.hero-badge-icon {
	width: 6px;
	height: 6px;
	background: var(--accent);
	border-radius: 50%;
	flex-shrink: 0;
}

.hero-title {
	font-size: clamp(2.5rem, 6vw, 3.75rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.035em;
	margin-bottom: 1.25rem;
	color: var(--text-primary);
	max-width: 18ch;
}

.hero-subtitle {
	font-size: clamp(1rem, 2vw, 1.125rem);
	line-height: 1.7;
	color: var(--text-secondary);
	max-width: 42rem;
	margin-bottom: 2.25rem;
	font-weight: 400;
}

.hero-subtitle strong {
	color: var(--text-primary);
	font-weight: 600;
}

.hero-cta {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	justify-content: center;
}

.cta-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
	padding: 0.8125rem 1.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #09090b;
	background: #fafafa;
	border: 1px solid #fafafa;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
	cursor: pointer;
}

.cta-primary:hover {
	color: #09090b;
	background: #fff;
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.cta-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 140px;
	padding: 0.8125rem 1.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--text-primary);
	background: transparent;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-md);
	cursor: pointer;
}

.cta-secondary:hover {
	color: var(--text-primary);
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.22);
}

.trust-indicators {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
	gap: 0;
	margin-top: 3rem;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 0;
	max-width: 52rem;
}

.trust-indicator {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.875rem 1.5rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--text-secondary);
	border-right: 1px solid var(--border);
}

.trust-indicator:last-child {
	border-right: none;
}

.trust-icon {
	width: 4px;
	height: 4px;
	background: var(--text-muted);
	border-radius: 50%;
	flex-shrink: 0;
}

.trust-icon::after {
	display: none;
}

.hero-tor {
	margin-top: 1.5rem;
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	color: var(--text-muted);
	word-break: break-all;
	max-width: 36rem;
	line-height: 1.6;
}

/* ─── Main sections ─── */
main {
	min-height: calc(100vh - 200px);
	position: relative;
	z-index: 5;
}

section {
	padding: var(--section-py) 0;
	position: relative;
	background: var(--bg-base);
	border-top: 1px solid var(--border);
}

section:nth-child(even) {
	background: var(--bg-raised);
}

.bg-grey {
	background: var(--bg-raised);
}

section h2.h1,
section h1.h1,
.h1 {
	font-size: clamp(1.75rem, 3.5vw, 2.375rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.03em;
	margin-bottom: 1rem;
	color: var(--text-primary);
	text-align: center;
}

section h2.h1::after,
.h1.text-center::after {
	content: '';
	display: block;
	width: 2.5rem;
	height: 2px;
	background: var(--accent);
	margin: 1.25rem auto 0;
	border-radius: 1px;
}

.h2 {
	font-size: clamp(1.375rem, 2.5vw, 1.75rem);
	font-weight: 700;
	line-height: 1.25;
	margin-bottom: 1.5rem;
	color: var(--text-primary);
}

.text-14 {
	font-size: 0.8125rem;
	color: var(--text-muted);
	line-height: 1.6;
}

.text-20 {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--text-secondary);
}

.big {
	font-size: 1.125rem;
	line-height: 1.75;
	color: var(--text-secondary);
}

.border-bottom-light {
	border-bottom: 1px solid var(--border);
}

.border-top-light {
	border-top: 1px solid var(--border);
}

.mb-50 {
	margin-bottom: 3rem;
}

.color-red {
	color: #ef4444;
}

/* Scheme diagram — image preserved */
img.scheme {
	display: block;
	margin: 0 auto 2.5rem;
	max-width: 100%;
	height: auto;
	background: #fff;
	border-radius: 50%;
	padding: 1.25rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: var(--shadow-md);
}

#how .text-20,
#vip .text-20 {
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
}

.vip-service-details {
	max-width: 42rem;
	margin: 0 auto;
	padding: 2rem;
	background: var(--bg-surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
}

.contact-info {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border);
}

/* ─── Benefits ─── */
.benefits-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
	margin-top: 3rem;
	background: var(--border);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	overflow: hidden;
}

.benefit-card {
	background: var(--bg-surface);
	padding: 2rem;
	transition: background 0.2s var(--ease);
}

.benefit-card:hover {
	background: var(--bg-muted);
}

.benefit-card-icon {
	width: 40px;
	height: 40px;
	border-radius: var(--radius-sm);
	background: var(--accent-soft);
	border: 1px solid rgba(37, 99, 235, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
}

.benefit-card-icon svg {
	width: 20px;
	height: 20px;
	fill: #60a5fa;
}

.benefit-card h3 {
	font-size: 1.0625rem;
	font-weight: 600;
	margin-bottom: 0.625rem;
	color: var(--text-primary);
}

.benefit-card p {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--text-secondary);
	margin: 0;
}

.benefit-card:nth-child(n) .benefit-card-icon,
.benefit-card:nth-child(n) .benefit-card-icon svg {
	background: var(--accent-soft);
	border-color: rgba(37, 99, 235, 0.2);
	fill: #60a5fa;
}

/* ─── FAQ ─── */
.faq-item {
	padding: 1.5rem 0;
	margin-bottom: 0;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--border);
	border-radius: 0;
	box-shadow: none;
	transition: none;
}

.faq-item:last-child {
	border-bottom: none;
}

.faq-item:hover {
	transform: none;
	box-shadow: none;
}

.faq-item h3,
.faq-item h5 {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 0.625rem;
	color: var(--text-primary);
}

.faq-item p {
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--text-secondary);
	margin: 0;
}

#faq .container {
	max-width: 720px;
}

#faq .h1.text-center {
	margin-bottom: 2.5rem;
}

/* ─── Contacts ─── */
.contacts-section {
	background: var(--bg-surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: 2.5rem;
	margin: 2rem 0;
}

.contacts-section::before {
	display: none;
}

.contacts-section p {
	color: var(--text-secondary);
	font-size: 1rem;
	line-height: 1.7;
	margin-bottom: 1.5rem;
}

.contacts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.contact-item {
	display: flex;
	align-items: center;
	padding: 1rem 1.125rem;
	background: var(--bg-raised);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	color: inherit;
	transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.contact-item::before {
	display: none;
}

.contact-item:hover {
	background: var(--bg-muted);
	border-color: var(--border-strong);
	transform: none;
	box-shadow: none;
}

.contact-icon {
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 1rem;
	flex-shrink: 0;
}

.contact-icon::before {
	display: none;
}

.contact-icon svg.icon {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--text-primary);
}

.contact-label {
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--text-primary);
	margin-bottom: 0.125rem;
}

.contact-value {
	font-size: 0.8125rem;
	color: var(--text-muted);
	font-family: var(--font-mono);
}

/* ─── Buttons ─── */
.btn-jam {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	padding: 0 1.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--text-primary);
	background: var(--accent);
	border: 1px solid var(--accent);
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: background 0.2s var(--ease), transform 0.2s var(--ease);
	box-shadow: none;
	width: 100%;
}

.btn-jam:hover {
	background: var(--accent-hover);
	border-color: var(--accent-hover);
	color: #fff;
	transform: translateY(-1px);
}

.btn-jam-white,
.btn-jam.btn-jam-white {
	color: #09090b;
	background: #fafafa;
	border-color: #fafafa;
}

.btn-jam-white:hover,
.btn.btn-jam.btn-jam-white:hover {
	color: #09090b;
	background: #fff;
}

.btn.btn-jam:hover {
	color: #fff;
}

/* ─── Footer ─── */
footer {
	background: var(--bg-base);
	padding: 3.5rem 0 2.5rem;
	border-top: 1px solid var(--border);
	color: var(--text-secondary);
}

footer::before {
	display: none;
}

.footer-shell {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0 1.5rem;
	backdrop-filter: none;
}

.footer-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 3rem;
	padding-bottom: 2rem;
	margin-bottom: 0;
	border-bottom: 1px solid var(--border);
}

.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	max-width: 280px;
}

.footer-brand .logo-text img {
	max-height: 28px;
	width: auto;
}

.footer-tagline {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--text-muted);
}

.footer-nav {
	display: flex;
	gap: 3.5rem;
}

.footer-col {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	min-width: 7rem;
}

.footer-col-title {
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 0.25rem;
}

.footer-col a {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text-secondary);
	line-height: 1.4;
}

.footer-col a:hover {
	color: var(--text-primary);
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.5rem;
}

.footer-powered {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--text-muted);
}

.footer-powered a {
	color: var(--text-secondary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.footer-powered a:hover {
	color: var(--text-primary);
}

.footer-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 1rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--text-primary);
	background: transparent;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	white-space: nowrap;
}

.footer-cta:hover {
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-primary);
	border-color: rgba(255, 255, 255, 0.28);
}

/* legacy footer helpers (old pages before JS rewrite) */
.footer-brand-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-bottom: 1.5rem;
	margin-bottom: 1.5rem;
	border-bottom: 1px solid var(--border);
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 1.75rem;
}

.footer-links a {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text-secondary);
}

.footer-links a:hover {
	color: var(--text-primary);
}

.logo {
	display: inline-block;
	transition: opacity 0.2s var(--ease);
}

.logo:hover {
	opacity: 0.9;
	transform: none;
	text-decoration: none;
}

footer .logo {
	background: none;
	-webkit-text-fill-color: unset;
	font-size: inherit;
}

footer a {
	color: var(--text-secondary);
}

footer a:hover {
	color: var(--text-primary);
	transform: none;
}

footer .icons {
	display: flex;
	gap: 0.5rem;
	margin-top: 1.5rem;
}

footer .icons a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: var(--radius-sm);
	background: var(--bg-surface);
	border: 1px solid var(--border);
	color: var(--text-secondary);
}

footer .icons a:hover {
	background: var(--bg-muted);
	border-color: var(--border-strong);
	color: var(--text-primary);
	transform: none;
	box-shadow: none;
}

footer .icons a svg.icon {
	width: 1rem;
	height: 1rem;
}

footer a.fingerprint {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg-surface);
	color: var(--text-secondary);
}

footer a.fingerprint:hover {
	border-color: var(--border-strong);
	color: var(--text-primary);
	transform: none;
	box-shadow: none;
}

footer .menu a {
	font-size: 0.875rem;
	color: var(--text-secondary);
	margin-bottom: 0.5rem;
}

/* ─── Icons & utilities ─── */
svg.icon {
	display: inline-block;
	stroke-width: 0;
	stroke: currentColor;
	fill: currentColor;
}

a[name] {
	display: inline-block;
	position: relative;
	top: -50px;
}

a[name="top"] {
	position: absolute;
	top: 0;
	left: 0;
}

a[href="#top"] {
	position: fixed;
	bottom: 1.25rem;
	right: 1.25rem;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text-secondary);
	z-index: 100;
}

a[href="#top"]:hover {
	color: var(--text-primary);
	border-color: var(--border-strong);
}

a, button, .btn, .cta-primary, .cta-secondary, .nav-link, .mobile-menu-toggle {
	pointer-events: auto !important;
	position: relative;
	cursor: pointer;
}

/* ─── Loader ─── */
#loader {
	width: 130px;
	height: 30px;
	display: block;
	position: relative;
	margin: auto;
}

.loader-block {
	background-color: white;
	float: left;
	height: 23px;
	margin-left: 7px;
	width: 23px;
	opacity: 0.1;
	animation: bounceG 1.5s infinite normal;
	transform: scale(0.7);
}

#block-1 { animation-delay: 0.45s; }
#block-2 { animation-delay: 0.6s; }
#block-3 { animation-delay: 0.75s; }
#block-4 { animation-delay: 0.9s; }

@keyframes bounceG {
	0% { transform: scale(1.2); opacity: 1; }
	100% { transform: scale(0.7); opacity: 0.1; }
}

/* ─── Mix page ─── */
.mix-page-section {
	padding: var(--section-py) 0;
}

.mix-hero-content {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}

.mix-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.375rem 0.875rem;
	margin-bottom: 1.25rem;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-secondary);
	border: 1px solid var(--border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
}

.mix-hero-icon {
	width: 14px;
	height: 14px;
	fill: var(--accent);
}

.mix-hero-title {
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 700;
	line-height: 1.12;
	margin-bottom: 1rem;
	color: var(--text-primary);
}

.mix-hero-subtitle {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--text-secondary);
	margin-bottom: 0;
}

.mix-free-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #4ade80;
	border: 1px solid rgba(74, 222, 128, 0.25);
	border-radius: var(--radius-sm);
	background: rgba(74, 222, 128, 0.08);
}

.mix-free-icon {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.mix-form-container {
	max-width: 520px;
	margin: 0 auto 3rem;
}

.mix-form-card {
	background: var(--bg-surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: 2rem;
	box-shadow: var(--shadow-md);
}

.mix-form-card:hover {
	transform: none;
}

.mix-form-header {
	text-align: left;
	margin-bottom: 2rem;
}

.mix-form-header h2 {
	font-size: 1.375rem;
	font-weight: 700;
	margin-bottom: 0.375rem;
	color: var(--text-primary);
}

.mix-form-header p {
	font-size: 0.9375rem;
	color: var(--text-muted);
	line-height: 1.6;
	margin: 0;
}

.mix-error-alert {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.875rem 1rem;
	margin-bottom: 1.5rem;
	font-size: 0.875rem;
	color: #f87171;
	background: rgba(239, 68, 68, 0.08);
	border: 1px solid rgba(239, 68, 68, 0.2);
	border-radius: var(--radius-md);
}

.mix-error-icon {
	width: 18px;
	height: 18px;
	fill: currentColor;
	flex-shrink: 0;
}

.mix-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.mix-input-group label {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--text-primary);
	letter-spacing: 0;
	text-transform: none;
}

.mix-optional {
	color: var(--text-muted);
	font-weight: 400;
}

.mix-input {
	width: 100%;
	padding: 0.8125rem 1rem;
	font-size: 0.9375rem;
	font-family: var(--font-mono);
	color: var(--text-primary);
	background: var(--bg-raised);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.mix-input::placeholder {
	color: var(--text-muted);
	font-family: var(--font-sans);
}

.mix-input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-soft);
}

.mix-input-error {
	font-size: 0.8125rem;
	color: #f87171;
	margin-top: 0.375rem;
}

.mix-service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--border);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	margin-bottom: 1.5rem;
}

.mix-service-item {
	padding: 1.5rem;
	text-align: center;
	background: var(--bg-surface);
}

.mix-service-content h3 {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 0.375rem;
}

.mix-service-content p {
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--text-primary);
	margin: 0;
}

.mix-info-note {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 1rem 1.125rem;
	background: var(--accent-soft);
	border: 1px solid rgba(37, 99, 235, 0.2);
	border-radius: var(--radius-md);
}

.mix-info-icon {
	width: 18px;
	height: 18px;
	fill: #60a5fa;
	flex-shrink: 0;
	margin-top: 2px;
}

.mix-info-note p {
	font-size: 0.875rem;
	color: var(--text-secondary);
	line-height: 1.6;
	margin: 0;
}

.mix-link {
	color: #60a5fa;
	font-weight: 500;
}

.mix-link:hover {
	color: #93c5fd;
	text-decoration: underline;
}

/* ─── Result / deposit page ─── */
.result-hero-section {
	padding: 3rem 0 1.5rem;
	background: var(--bg-base);
}

.result-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.375rem 0.875rem;
	margin-bottom: 1rem;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #4ade80;
	border: 1px solid rgba(74, 222, 128, 0.25);
	border-radius: 999px;
	background: rgba(74, 222, 128, 0.08);
}

.result-hero-title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	margin-bottom: 0.75rem;
	color: var(--text-primary);
}

.result-hero-subtitle {
	font-size: 1rem;
	color: var(--text-secondary);
	max-width: 32rem;
	margin: 0 auto;
	line-height: 1.65;
}

.deposit-section {
	padding: 1.5rem 0 3rem;
}

.deposit-card {
	background: var(--bg-surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: 2rem;
	max-width: 640px;
	margin: 0 auto;
	box-shadow: var(--shadow-md);
}

.deposit-header {
	text-align: center;
	margin-bottom: 2rem;
}

.deposit-header h2 {
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 0.375rem;
}

.deposit-header p {
	font-size: 0.9375rem;
	color: var(--text-muted);
}

.address-container {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	align-items: center;
	margin-bottom: 2rem;
}

.address-display {
	width: 100%;
	padding: 1rem;
	background: var(--bg-raised);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.address-text {
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	color: var(--text-primary);
	word-break: break-all;
	line-height: 1.5;
	flex: 1;
}

.copy-btn {
	padding: 0.5rem;
	background: var(--bg-muted);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	cursor: pointer;
	flex-shrink: 0;
}

.copy-btn:hover {
	border-color: var(--border-strong);
}

.copy-icon {
	width: 18px;
	height: 18px;
	fill: var(--text-primary);
}

.qr-container {
	background: #fff;
	border-radius: var(--radius-lg);
	padding: 1.25rem;
	box-shadow: var(--shadow-sm);
}

.qr-code {
	max-width: 180px;
	height: auto;
	border-radius: var(--radius-sm);
}

.transaction-status {
	margin-bottom: 2rem;
}

.status-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	border-radius: var(--radius-md);
	background: var(--bg-raised);
	border: 1px solid var(--border);
}

.status-loading {
	border-color: rgba(37, 99, 235, 0.25);
	background: var(--accent-soft);
}

.status-success {
	border-color: rgba(74, 222, 128, 0.25);
	background: rgba(74, 222, 128, 0.08);
}

.status-error {
	border-color: rgba(239, 68, 68, 0.25);
	background: rgba(239, 68, 68, 0.08);
}

.spinner-ring {
	width: 100%;
	height: 100%;
	border: 2px solid rgba(37, 99, 235, 0.2);
	border-top-color: var(--accent);
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

.status-spinner,
.status-icon {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
}

.status-content h3 {
	font-size: 0.9375rem;
	font-weight: 600;
	margin-bottom: 0.125rem;
	color: var(--text-primary);
}

.status-content p {
	font-size: 0.875rem;
	color: var(--text-secondary);
	margin: 0;
}

.status-note {
	font-size: 0.8125rem;
	color: var(--text-muted);
}

.deposit-actions {
	display: flex;
	gap: 0.75rem;
	justify-content: center;
	flex-wrap: wrap;
}

.btn-guarantee {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.25rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #fff;
	background: var(--accent);
	border: none;
	border-radius: var(--radius-md);
	cursor: pointer;
}

.btn-guarantee:hover {
	background: var(--accent-hover);
	color: #fff;
	transform: translateY(-1px);
}

.btn-icon {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.calculator-section {
	padding: 2rem 0 3rem;
	background: var(--bg-raised);
	border-top: 1px solid var(--border);
}

.calculator-header h2 {
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--text-primary);
}

.calculator-header p {
	color: var(--text-muted);
	font-size: 0.9375rem;
}

.calculator-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.calculator-input-group label,
.calculator-result-group label {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--text-primary);
	text-transform: none;
	letter-spacing: 0;
}

.calculator-input {
	width: 100%;
	padding: 0.8125rem 1rem;
	font-size: 1rem;
	color: var(--text-primary);
	background: var(--bg-surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
}

.calculator-input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-soft);
}

.input-suffix {
	position: absolute;
	right: 1rem;
	color: var(--text-muted);
	font-size: 0.875rem;
}

.result-display {
	padding: 0.875rem 1rem;
	background: rgba(74, 222, 128, 0.08);
	border: 1px solid rgba(74, 222, 128, 0.2);
	border-radius: var(--radius-md);
	display: flex;
	align-items: baseline;
	gap: 0.375rem;
}

.result-amount {
	font-size: 1.375rem;
	font-weight: 700;
	font-family: var(--font-mono);
	color: #4ade80;
}

.result-currency {
	font-size: 0.875rem;
	color: var(--text-muted);
}

.btn-calculate {
	padding: 0.75rem 1.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #fff;
	background: var(--accent);
	border: none;
	border-radius: var(--radius-md);
	cursor: pointer;
}

.btn-calculate:hover {
	background: var(--accent-hover);
}

/* ─── Responsive ─── */
@media (max-width: 991px) {
	.nav-container {
		padding: 0 1.25rem;
	}

	.hero-cta {
		flex-direction: column;
		width: 100%;
	}

	.cta-primary,
	.cta-secondary {
		width: 100%;
		max-width: 320px;
	}

	.benefits-grid {
		grid-template-columns: 1fr;
	}

	.trust-indicator {
		border-right: none;
		border-bottom: 1px solid var(--border);
		width: 100%;
		justify-content: center;
		padding: 0.75rem 0;
	}

	.trust-indicator:last-child {
		border-bottom: none;
	}

	.mix-service-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 900px) {
	.nav-menu {
		display: none;
	}

	.mobile-menu-toggle {
		display: flex;
	}

	.footer-top {
		flex-direction: column;
		gap: 2rem;
	}

	.footer-nav {
		width: 100%;
		justify-content: flex-start;
		gap: 2.5rem;
	}
}

@media (max-width: 767px) {
	.hero-content {
		padding: 2.5rem 1.25rem 3rem;
	}

	.contacts-section {
		padding: 1.5rem;
	}

	.contacts-grid {
		grid-template-columns: 1fr;
	}

	footer {
		padding: 2.5rem 0 calc(2rem + env(safe-area-inset-bottom, 0px));
	}

	.footer-shell {
		padding: 0 1.25rem;
	}

	.footer-top {
		flex-direction: column;
		gap: 2rem;
		padding-bottom: 1.75rem;
	}

	.footer-brand {
		max-width: none;
		align-items: flex-start;
		gap: 0.625rem;
	}

	.footer-tagline {
		font-size: 0.8125rem;
		max-width: 22rem;
	}

	.footer-nav {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 1.5rem 1.25rem;
		width: 100%;
	}

	.footer-col {
		gap: 0.125rem;
		min-width: 0;
	}

	.footer-col-title {
		margin-bottom: 0.5rem;
	}

	.footer-col a {
		display: flex;
		align-items: center;
		padding: 0.625rem 0;
		font-size: 0.9375rem;
		min-height: 44px;
		border-bottom: 1px solid var(--border);
	}

	.footer-col a:last-child {
		border-bottom: none;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
		padding-top: 1.25rem;
	}

	.footer-powered {
		text-align: center;
		order: 2;
		font-size: 0.75rem;
	}

	.footer-cta {
		order: 1;
		width: 100%;
		min-height: 48px;
		padding: 0.875rem 1rem;
		font-size: 0.9375rem;
		background: #fafafa;
		color: #09090b;
		border-color: #fafafa;
		border-radius: var(--radius-md);
	}

	.footer-cta:hover {
		background: #fff;
		color: #09090b;
		border-color: #fff;
	}

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

	.calculator-grid {
		grid-template-columns: 1fr;
	}

	.deposit-card {
		margin: 0 1rem;
		padding: 1.5rem;
	}

	.mix-form-card {
		margin: 0 1rem;
		padding: 1.5rem;
	}
}

@media (max-width: 575px) {
	img.scheme {
		width: min(100%, 320px);
		padding: 1rem;
	}

	.hero-title {
		max-width: none;
	}
}

@media (max-width: 480px) {
	.mix-hero-title {
		font-size: 1.75rem;
	}

	.status-item {
		flex-direction: column;
		text-align: center;
	}

	footer .icons {
		justify-content: flex-start;
	}
}

/* ─── Mobile polish (no SEO impact — CSS only) ─── */
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body.nav-open {
	overflow: hidden;
	touch-action: none;
}

.mobile-menu-toggle {
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	z-index: 30;
}

.mobile-nav-menu {
	max-height: min(75vh, 560px);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding: 0.75rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
}

.mobile-nav-menu[hidden] {
	display: none !important;
}

.mobile-nav-menu.show {
	display: block;
}

.mobile-nav-links .nav-link {
	min-height: 44px;
	display: flex;
	align-items: center;
	padding: 0.75rem 0.75rem;
	border-bottom: 1px solid var(--border);
	font-size: 1rem;
}

.mobile-nav-links .nav-link:last-child {
	border-bottom: none;
}

.mobile-nav-links .nav-link-cta {
	justify-content: center;
	margin: 0.25rem 0 0.75rem;
	border-bottom: none;
}

@media (max-width: 900px) {
	.nav {
		padding: 0.75rem 0;
		padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
	}

	.nav-container {
		padding: 0 1rem;
		gap: 0.75rem;
	}

	.logo-text img {
		max-height: 28px;
		width: auto;
	}

	.mobile-nav-menu {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		z-index: 40;
		box-shadow: var(--shadow-lg);
		border-bottom: 1px solid var(--border);
	}

	.nav {
		position: relative;
		z-index: 50;
	}
}

@media (max-width: 767px) {
	:root {
		--section-py: clamp(2.75rem, 8vw, 4rem);
	}

	.container {
		padding-left: 1rem;
		padding-right: 1rem;
		max-width: 100%;
	}

	.hero-content {
		padding: 2rem 1rem 2.5rem;
		width: 100%;
	}

	.hero-badge {
		margin-bottom: 1.25rem;
		font-size: 0.625rem;
		letter-spacing: 0.08em;
		max-width: 100%;
		text-align: center;
		line-height: 1.4;
		white-space: normal;
	}

	.hero-title {
		font-size: clamp(1.75rem, 8vw, 2.35rem);
		max-width: none;
		margin-bottom: 1rem;
		padding: 0 0.25rem;
	}

	.hero-subtitle {
		font-size: 0.9375rem;
		margin-bottom: 1.5rem;
		padding: 0 0.15rem;
	}

	.hero-cta {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0.625rem;
	}

	.cta-primary,
	.cta-secondary {
		width: 100%;
		max-width: none;
		min-height: 48px;
		min-width: 0;
	}

	.trust-indicators {
		margin-top: 1.75rem;
		flex-direction: column;
		width: 100%;
		gap: 0;
	}

	.trust-indicator {
		width: 100%;
		justify-content: flex-start;
		padding: 0.75rem 0.25rem;
		border-right: none;
		border-bottom: 1px solid var(--border);
		font-size: 0.8125rem;
	}

	.hero-tor {
		font-size: 0.625rem;
		margin-top: 1.25rem;
		padding: 0 0.25rem;
		width: 100%;
	}

	section .h1.text-center,
	section .h2.text-center {
		font-size: clamp(1.375rem, 5.5vw, 1.75rem);
		padding: 0 0.25rem;
		line-height: 1.25;
	}

	section .text-20 {
		font-size: 0.9375rem !important;
		line-height: 1.65;
	}

	img.scheme {
		width: min(100%, 280px);
		height: auto;
		padding: 0.75rem;
	}

	.faq-item {
		padding: 1rem 0.25rem;
	}

	.faq-item h3,
	.faq-item h5 {
		font-size: 0.9375rem;
		line-height: 1.4;
	}

	.contacts-section {
		padding: 1.25rem 1rem;
		margin: 0;
		border-radius: var(--radius-lg);
	}

	.contact-item {
		min-height: 48px;
	}

	/* Forms: prevent iOS input zoom */
	.mix-input,
	.calculator-input,
	input[type="text"],
	input[type="email"],
	input[type="number"],
	textarea,
	select {
		font-size: 16px !important;
		max-width: 100%;
	}

	.mix-form-card,
	.deposit-card {
		margin: 0;
		padding: 1.25rem;
		border-radius: var(--radius-lg);
		width: 100%;
	}

	.mix-form-container,
	.deposit-section .container {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.mix-hero-content,
	.result-hero-section {
		padding-left: 0.25rem;
		padding-right: 0.25rem;
	}

	.mix-hero-subtitle,
	.result-hero-subtitle {
		font-size: 0.9375rem;
	}

	.address-display {
		flex-direction: column;
		align-items: stretch;
	}

	.address-text {
		font-size: 0.75rem;
	}

	.copy-btn {
		align-self: flex-end;
		min-width: 44px;
		min-height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.btn,
	.btn-jam,
	.btn-calculate {
		min-height: 48px;
		width: 100%;
	}

	.footer-nav {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.footer-cta {
		text-align: center;
	}

	a[href="#top"] {
		bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
		right: calc(1rem + env(safe-area-inset-right, 0px));
		width: 44px;
		height: 44px;
	}

	/* Long mono fingerprints / onions */
	.fingerprint,
	.contact-value {
		word-break: break-word;
		overflow-wrap: anywhere;
	}
}

@media (max-width: 380px) {
	.hero-title {
		font-size: 1.625rem;
	}

	.nav-link-cta {
		font-size: 0.875rem;
	}
}

@media (hover: none) and (pointer: coarse) {
	.cta-primary:hover,
	.cta-secondary:hover,
	.nav-link:hover {
		transform: none;
	}
}

