/* ===== Theme ===== */
:root {
	--bg: #ffffff;
	--bg-alt: #f5f7fb;
	--card: #ffffff;
	--ink: #0f172a;
	--ink-2: #475569;
	--line: #e2e8f0;
	--brand: #4f46e5;
	--brand-dark: #4338ca;
	--brand-soft: #eef2ff;
	--ok: #059669;
	--ok-soft: #ecfdf5;
	--warn: #b45309;
	--warn-soft: #fffbeb;
	--radius: 14px;
	--shadow: 0 20px 40px -24px rgba(15, 23, 42, 0.25);
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0b0f1a;
		--bg-alt: #111727;
		--card: #151c2e;
		--ink: #e8ecf5;
		--ink-2: #9aa4b8;
		--line: #243049;
		--brand: #818cf8;
		--brand-dark: #6366f1;
		--brand-soft: rgba(129, 140, 248, 0.14);
		--ok: #34d399;
		--ok-soft: rgba(52, 211, 153, 0.12);
		--warn: #fbbf24;
		--warn-soft: rgba(251, 191, 36, 0.12);
		--shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.8);
	}
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family:
		'Inter',
		system-ui,
		-apple-system,
		'Segoe UI',
		sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
	line-height: 1.2;
	margin: 0 0 0.5em;
	letter-spacing: -0.02em;
}
p {
	margin: 0 0 1em;
}
a {
	color: inherit;
	text-decoration: none;
}

.container {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 20px;
}
.narrow {
	max-width: 720px;
}

/* ===== Buttons ===== */
.btn {
	display: inline-block;
	padding: 12px 22px;
	border-radius: 10px;
	background: var(--brand);
	color: #fff;
	font-weight: 600;
	border: 1px solid var(--brand);
	transition:
		background 0.15s,
		transform 0.15s;
}
.btn:hover {
	background: var(--brand-dark);
	transform: translateY(-1px);
}
.btn:focus-visible {
	outline: 3px solid var(--brand);
	outline-offset: 3px;
}
.btn-small {
	padding: 8px 16px;
	font-size: 14px;
}
.btn-ghost {
	background: transparent;
	color: var(--ink);
	border-color: var(--line);
}
.btn-ghost:hover {
	background: var(--bg-alt);
}
.btn-light {
	background: #fff;
	color: #312e81;
	border-color: #fff;
}
.btn-light:hover {
	background: #eef2ff;
}
.btn-block {
	display: block;
	text-align: center;
}

/* ===== Header ===== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: color-mix(in srgb, var(--bg) 85%, transparent);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.nav {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 64px;
}
.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 17px;
}
.logo-mark {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	background: var(--brand);
	color: #fff;
}
.nav-links {
	display: flex;
	gap: 24px;
	margin-left: auto;
	font-size: 15px;
	color: var(--ink-2);
}
.nav-links a:hover {
	color: var(--ink);
}
.lang-switch {
	position: relative;
	display: flex;
	padding: 3px;
	border: 1px solid var(--line);
	border-radius: 99px;
	background: var(--bg-alt);
	flex-shrink: 0;
}
.lang-thumb {
	position: absolute;
	top: 3px; left: 3px;
	width: calc(50% - 3px); height: calc(100% - 6px);
	border-radius: 99px;
	background: var(--brand);
	transition: transform 0.2s ease;
}
.lang-switch[data-active="cz"] .lang-thumb {
	transform: translateX(100%);
}
.lang-switch button {
	position: relative;
	z-index: 1;
	width: 38px;
	padding: 4px 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	color: var(--ink-2);
	cursor: pointer;
	transition: color 0.2s;
}
.lang-switch button[aria-pressed="true"] {
	color: #fff;
}
.lang-switch button:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
	border-radius: 99px;
}

/* ===== Hero ===== */
.hero {
	padding: 88px 0 72px;
}
.hero-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 56px;
	align-items: center;
}
.eyebrow {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 99px;
	background: var(--brand-soft);
	color: var(--brand);
	font-size: 13px;
	font-weight: 600;
}
.hero h1 {
	font-size: clamp(34px, 5vw, 54px);
	font-weight: 700;
	margin-top: 12px;
}
.lead {
	font-size: 18px;
	color: var(--ink-2);
	max-width: 540px;
}
.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

/* Vault card */
.vault-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: var(--shadow);
	overflow: hidden;
}
.vault-head {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--line);
	background: var(--bg-alt);
}
.dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--line);
}
.vault-title {
	margin-left: 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ink-2);
}
.vault-list {
	list-style: none;
	margin: 0;
	padding: 8px 18px;
}
.vault-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}
.vault-list li:last-child {
	border-bottom: 0;
}
.domain {
	font-weight: 500;
	font-size: 15px;
}
.tag {
	font-size: 12px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 99px;
	white-space: nowrap;
}
.tag-locked {
	background: var(--ok-soft);
	color: var(--ok);
}
.tag-renew {
	background: var(--warn-soft);
	color: var(--warn);
}
.vault-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 18px;
	border-top: 1px solid var(--line);
	font-size: 14px;
	color: var(--ink-2);
}
.switch {
	width: 38px;
	height: 22px;
	border-radius: 99px;
	background: var(--brand);
	position: relative;
}
.switch span {
	position: absolute;
	top: 3px;
	right: 3px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
}

/* ===== Sections ===== */
.section {
	padding: 88px 0;
}
.section-alt {
	background: var(--bg-alt);
}
.section-title {
	font-size: clamp(28px, 3.5vw, 38px);
	text-align: center;
}
.section-sub {
	text-align: center;
	color: var(--ink-2);
	margin-bottom: 48px;
}

/* Steps */
.steps {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.steps li {
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--card);
}
.step-num {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--brand-soft);
	color: var(--brand);
	font-weight: 700;
	margin-bottom: 16px;
}
.steps h3 {
	font-size: 19px;
}
.steps p {
	color: var(--ink-2);
	margin: 0;
}

/* Features */
.features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.feature {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px;
	transition:
		transform 0.15s,
		box-shadow 0.15s;
}
.feature:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}
.icon {
	width: 42px;
	height: 42px;
	border-radius: 11px;
	display: grid;
	place-items: center;
	background: var(--brand-soft);
	color: var(--brand);
	margin-bottom: 16px;
}
.icon svg {
	width: 22px;
	height: 22px;
}
.feature h3 {
	font-size: 18px;
}
.feature p {
	color: var(--ink-2);
	margin: 0;
	font-size: 15px;
}

/* FAQ */
details {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 18px 22px;
	margin-bottom: 12px;
}
summary {
	cursor: pointer;
	font-weight: 600;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 16px;
}
summary::-webkit-details-marker {
	display: none;
}
summary::after {
	content: '+';
	color: var(--brand);
	font-size: 20px;
	line-height: 1;
}
details[open] summary::after {
	content: '−';
}
details p {
	color: var(--ink-2);
	margin: 12px 0 0;
}

/* CTA */
.cta {
	text-align: center;
	padding: 64px 24px;
	border-radius: 22px;
	background: linear-gradient(135deg, #4f46e5, #7c3aed);
	color: #fff;
}
.cta h2 {
	font-size: clamp(26px, 3.5vw, 36px);
}
.cta p {
	opacity: 0.85;
	margin-bottom: 28px;
}

/* Footer */
.site-footer {
	border-top: 1px solid var(--line);
	padding: 40px 0 24px;
	font-size: 14px;
	color: var(--ink-2);
}
.site-footer strong {
	color: var(--ink);
}
.site-footer p {
	margin: 6px 0 0;
}
.footer-grid {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px;
}
.site-footer nav {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}
.site-footer nav a:hover {
	color: var(--ink);
}
.copyright {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	font-size: 13px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
	.hero-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.steps,
	.features {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 800px) {
	.container {
		padding: 0 16px;
	}
	.nav-links {
		display: none;
	}
	.nav .btn-small {
		margin-left: auto;
	}
	.lang-switch {
		margin-left: auto;
	}
	.hero {
		padding: 56px 0 48px;
	}
	.section {
		padding: 64px 0;
	}
	.steps,
	.features {
		grid-template-columns: 1fr;
	}
}