:root {
	--ink: #0e1220;
	--muted: #5c6478;
	--line: rgba(15, 23, 42, 0.08);
	--paper: #f6f7fb;
	--card: #fff;
	--navy: #07080f;
	--cyan: #00c6ff;
	--indigo: #5b5bd6;
	--purple: #9d50bb;
	--ok: #067647;
	--bad: #b42318;
	--radius: 18px;
	--shadow: 0 18px 50px rgba(15, 18, 32, 0.08);
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body.site {
	margin: 0;
	font-family: Heebo, system-ui, sans-serif;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.site-wrap { overflow-x: hidden; }

.site-nav {
	position: sticky;
	top: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 22px;
	padding-top: calc(12px + env(safe-area-inset-top));
	background: rgba(7, 8, 15, 0.92);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: #fff;
	flex-shrink: 0;
}

.site-brand img {
	width: 36px;
	height: 36px;
	border-radius: 10px;
}

.site-brand strong {
	font-size: 13px;
	letter-spacing: 0.14em;
	font-weight: 800;
}

.site-links {
	display: flex;
	align-items: center;
	gap: 6px;
}

.site-links a {
	text-decoration: none;
	color: #c9cde0;
	font-size: 14px;
	font-weight: 600;
	padding: 8px 12px;
	border-radius: 10px;
}

.site-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	border-radius: 12px;
	padding: 12px 18px;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
	transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
}

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

.btn-ghost {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-primary {
	color: #fff;
	background: linear-gradient(90deg, var(--cyan) 0%, var(--indigo) 52%, var(--purple) 100%);
	box-shadow: 0 10px 24px rgba(91, 91, 214, 0.28);
}

.btn-dark {
	background: var(--navy);
	color: #fff;
}

.btn-wide { width: 100%; }

.nav-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	cursor: pointer;
}

.hero {
	position: relative;
	background: var(--navy);
	color: #fff;
	padding: 72px 22px 88px;
	overflow: hidden;
}

.hero-fx,
.hero-glow,
.hero-grain {
	position: absolute;
	pointer-events: none;
}

.hero-glow {
	border-radius: 50%;
	filter: blur(70px);
}

.hero-glow-a {
	width: 420px;
	height: 420px;
	top: -140px;
	right: -80px;
	background: rgba(157, 80, 187, 0.42);
}

.hero-glow-b {
	width: 340px;
	height: 340px;
	bottom: -120px;
	left: -80px;
	background: rgba(0, 198, 255, 0.28);
}

.hero-grain {
	inset: 0;
	opacity: 0.18;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	mix-blend-mode: overlay;
}

.hero-inner {
	position: relative;
	z-index: 1;
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	gap: 40px;
	align-items: center;
}

.eyebrow {
	margin: 0 0 12px;
	color: #7dd8ff;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.18em;
}

.hero h1 {
	margin: 0 0 16px;
	font-size: clamp(2rem, 5vw, 3.4rem);
	line-height: 1.15;
	letter-spacing: -0.04em;
	font-weight: 800;
}

.hero-lead {
	margin: 0 0 28px;
	max-width: 42rem;
	color: #c2c6d4;
	font-size: 1.12rem;
	line-height: 1.75;
	font-weight: 400;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 28px;
}

.hero-points {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	padding: 0;
	margin: 0;
	list-style: none;
	color: #a8adc0;
	font-size: 0.95rem;
}

.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points b { color: #fff; }

.hero-panel {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 22px;
	padding: 22px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.hero-panel h2 {
	margin: 0 0 14px;
	font-size: 1.05rem;
}

.hero-panel ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.hero-panel li {
	counter-increment: step;
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 12px;
	padding: 12px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	color: #c9cde0;
	font-size: 0.95rem;
	line-height: 1.55;
}

.hero-panel li:first-child { border-top: 0; }

.hero-panel li::before {
	content: counter(step);
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 800;
	color: #fff;
	background: linear-gradient(180deg, var(--cyan), var(--purple));
}

.section {
	padding: 72px 22px;
}

.section-inner {
	max-width: 1100px;
	margin: 0 auto;
}

.section h2 {
	margin: 0 0 10px;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	letter-spacing: -0.03em;
}

.section-lead {
	margin: 0 0 32px;
	color: var(--muted);
	max-width: 40rem;
	line-height: 1.7;
	font-size: 1.05rem;
}

.grid-3,
.grid-4,
.plans-grid {
	display: grid;
	gap: 16px;
}

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

.card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px;
	box-shadow: var(--shadow);
}

.feat-card h3,
.how-card h3 {
	margin: 12px 0 8px;
	font-size: 1.05rem;
}

.feat-card p,
.how-card p {
	margin: 0;
	color: var(--muted);
	line-height: 1.65;
	font-size: 0.95rem;
}

.ico {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(180deg, rgba(0, 198, 255, 0.16), rgba(157, 80, 187, 0.16));
	color: var(--indigo);
}

.ico svg { width: 22px; height: 22px; }

.how-card {
	position: relative;
	overflow: hidden;
}

.how-n {
	position: absolute;
	top: 10px;
	left: 16px;
	font-size: 42px;
	font-weight: 800;
	color: rgba(91, 91, 214, 0.12);
	line-height: 1;
}

.plans-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: stretch; }

.plan {
	display: flex;
	flex-direction: column;
	padding: 26px 22px;
	position: relative;
}

.plan.is-featured {
	border-color: transparent;
	background:
		linear-gradient(#fff, #fff) padding-box,
		linear-gradient(180deg, var(--cyan), var(--purple)) border-box;
	border: 2px solid transparent;
	transform: translateY(-6px);
	box-shadow: 0 24px 50px rgba(91, 91, 214, 0.16);
}

.plan-badge {
	position: absolute;
	top: -11px;
	right: 18px;
	background: linear-gradient(90deg, var(--cyan), var(--purple));
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.06em;
	padding: 4px 10px;
	border-radius: 999px;
}

.plan h3 { margin: 0 0 8px; font-size: 1.25rem; }

.plan-desc {
	margin: 0 0 16px;
	color: var(--muted);
	min-height: 3em;
	line-height: 1.55;
	font-size: 0.95rem;
}

.plan-price {
	margin: 0 0 18px;
	font-size: 2.1rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	background: linear-gradient(90deg, #00c6ff, #9d50bb);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.plan-price span {
	display: inline-block;
	margin-right: 6px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--muted);
	background: none;
	-webkit-text-fill-color: var(--muted);
}

.plan ul {
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
	flex: 1;
}

.plan li {
	position: relative;
	padding: 7px 0 7px 0;
	padding-inline-start: 22px;
	color: #344054;
	font-size: 0.95rem;
}

.plan li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 14px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: linear-gradient(180deg, var(--cyan), var(--purple));
}

.faq details {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 14px 18px;
	margin-bottom: 10px;
}

.faq summary {
	cursor: pointer;
	font-weight: 700;
	list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq details p {
	margin: 10px 0 0;
	color: var(--muted);
	line-height: 1.7;
}

.site-foot {
	background: var(--navy);
	color: #a8adc0;
	padding: 28px 22px calc(28px + env(safe-area-inset-bottom));
}

.site-foot-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	align-items: center;
}

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

.checkout-page {
	min-height: 100vh;
	background: var(--paper);
}

.checkout-grid {
	max-width: 980px;
	margin: 0 auto;
	padding: 28px 18px 64px;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 18px;
	align-items: start;
}

.field { margin: 0 0 14px; text-align: right; }

.field label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 700;
}

.field input,
.field textarea {
	width: 100%;
	border: 1px solid #d0d5dd;
	border-radius: 12px;
	padding: 12px 14px;
	background: #fff;
	outline: none;
}

.field input:focus,
.field textarea:focus {
	border-color: #8b8cf0;
	box-shadow: 0 0 0 4px rgba(91, 91, 214, 0.12);
}

.field .err {
	display: block;
	margin-top: 5px;
	color: var(--bad);
	font-size: 12px;
	font-weight: 600;
}

.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.form-alert {
	border-radius: 12px;
	padding: 12px 14px;
	margin-bottom: 16px;
	font-weight: 700;
}

.form-alert.is-bad { background: #fef3f2; color: var(--bad); }
.form-alert.is-ok { background: #ecfdf3; color: var(--ok); }
.form-alert.is-warn { background: #fff7ed; color: #9a3412; }

.success-box {
	max-width: 560px;
	margin: 48px auto;
	background: #fff;
	border-radius: 20px;
	padding: 32px 26px;
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	text-align: center;
}

.success-box h1 { margin: 0 0 10px; }
.success-box p { color: var(--muted); line-height: 1.7; }
.creds {
	text-align: right;
	background: var(--navy);
	color: #fff;
	border-radius: 14px;
	padding: 16px 18px;
	margin: 18px 0;
}
.creds p { color: #c9cde0; margin: 0 0 8px; }
.creds p:last-child { margin: 0; }
.creds b { color: #fff; }

.pw-toggle-wrap { position: relative; display: block; width: 100%; }
.pw-toggle-wrap input { padding-left: 42px; }
.pw-toggle-btn {
	position: absolute;
	left: 8px;
	top: 50%;
	transform: translateY(-50%);
	border: 0;
	background: transparent;
	cursor: pointer;
	font-size: 16px;
}

@media (min-width: 900px) {
	.hero-inner { grid-template-columns: 1.15fr 0.85fr; }
}

@media (max-width: 899px) {
	.grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
	.checkout-grid { grid-template-columns: 1fr; }
	.plan.is-featured { transform: none; }
}

@media (max-width: 720px) {
	.site-links,
	.site-nav-cta .btn-ghost { display: none; }
	body.nav-open .site-links {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		background: #07080f;
		padding: 12px;
		border-bottom: 1px solid rgba(255,255,255,.08);
	}
	.nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
	.grid-3, .grid-4 { grid-template-columns: 1fr; }
	.hero { padding: 48px 18px 64px; }
	.section { padding: 48px 18px; }
	.hero-actions .btn { width: 100%; }
}
