:root {
	--bg: #0f172a;
	--bg-2: #1e293b;
	--border: #334155;
	--text: #e2e8f0;
	--muted: #94a3b8;
	--accent: #3b82f6;
	--accent-2: #2563eb;
}

* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
	line-height: 1.6;
}
.container {
	width: min(1040px, 92vw);
	margin: 0 auto;
}
a {
	color: inherit;
	text-decoration: none;
}

/* header */
header {
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	background: rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(8px);
	z-index: 10;
}
nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	font-size: 1.1rem;
}
.nav-links {
	display: flex;
	gap: 1.5rem;
	color: var(--muted);
	font-size: 0.95rem;
}
.nav-links a:hover {
	color: var(--text);
}

/* hero */
.hero {
	padding: 6rem 0 4rem;
	text-align: center;
}
.hero h1 {
	font-size: clamp(2.4rem, 6vw, 4rem);
	line-height: 1.05;
	margin: 0 0 1.2rem;
	background: linear-gradient(180deg, #fff, #93c5fd);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.lede {
	font-size: 1.2rem;
	color: var(--muted);
	max-width: 36rem;
	margin: 0 auto 2rem;
}
.cta {
	display: flex;
	gap: 0.8rem;
	justify-content: center;
	flex-wrap: wrap;
}
.btn {
	padding: 0.75rem 1.6rem;
	border-radius: 9px;
	font-weight: 600;
	font-size: 1rem;
	border: 1px solid transparent;
	transition: 0.15s;
}
.btn.primary {
	background: var(--accent);
	color: #fff;
}
.btn.primary:hover {
	background: var(--accent-2);
}
.btn.ghost {
	border-color: var(--border);
	color: var(--text);
}
.btn.ghost:hover {
	border-color: var(--accent);
}
.sub {
	margin-top: 1.4rem;
	color: var(--muted);
	font-size: 0.9rem;
}

/* features */
.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.2rem;
	padding: 3rem 0;
}
.feature {
	background: var(--bg-2);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 1.5rem;
}
.feature h3 {
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
}
.feature p {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

/* how */
.how {
	padding: 3rem 0;
	text-align: center;
}
.how h2,
.download h2 {
	font-size: 2rem;
	margin: 0 0 2rem;
}
.steps {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	max-width: 40rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	text-align: left;
}
.steps li {
	display: flex;
	align-items: center;
	gap: 1rem;
	background: var(--bg-2);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 1rem 1.2rem;
	color: var(--muted);
}
.steps li b {
	color: var(--text);
}
.steps span {
	flex: none;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	display: grid;
	place-items: center;
	font-weight: 700;
}

/* download */
.download {
	padding: 3rem 0 5rem;
	text-align: center;
}
.muted {
	color: var(--muted);
}
.downloads {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	margin: 1.5rem 0;
}
.dl {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 1.2rem 2rem;
	background: var(--bg-2);
	border: 1px solid var(--border);
	border-radius: 12px;
	min-width: 200px;
	transition: 0.15s;
}
.dl:hover {
	border-color: var(--accent);
	transform: translateY(-2px);
}
.dl[aria-disabled='true'] {
	opacity: 0.65;
}
.dl .os {
	font-size: 1.2rem;
	font-weight: 600;
}
.dl .meta {
	font-size: 0.85rem;
	color: var(--muted);
}
.note {
	color: var(--muted);
	font-size: 0.85rem;
	max-width: 32rem;
	margin: 1rem auto 0;
}

/* footer */
footer {
	border-top: 1px solid var(--border);
	padding: 2rem 0;
	color: var(--muted);
	font-size: 0.9rem;
}
.footer-inner {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
}
.footer-inner a:hover {
	color: var(--text);
}

/* Live pricing section */
.pricing-controls { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: center; margin: 1rem 0 1.5rem; }
.pricing-controls label { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; }
.pricing-controls select, .pricing-controls input { padding: .4rem .5rem; border: 1px solid var(--border, #ccc); border-radius: 6px; background: var(--bg, #fff); color: inherit; }
.pricing-controls input[type="number"] { width: 5rem; }
.cycle-toggle { display: inline-flex; border: 1px solid var(--border, #ccc); border-radius: 8px; overflow: hidden; }
.cycle-toggle button { padding: .4rem .8rem; background: transparent; border: 0; cursor: pointer; color: inherit; font: inherit; }
.cycle-toggle button.active { background: var(--accent, #3b6cff); color: #fff; }
.pricing-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.pcard { border: 1px solid var(--border, #e3e3e8); border-radius: 12px; padding: 1.25rem; display: flex; flex-direction: column; }
.pcard h3 { margin: 0 0 .25rem; }
.pcard .pdesc { color: var(--muted, #777); font-size: .85rem; margin: 0 0 .75rem; min-height: 2.2em; }
.pcard .pprice { font-size: 1.9rem; font-weight: 700; }
.pcard .psub { color: var(--muted, #777); font-size: .8rem; margin-bottom: .75rem; }
.pcard ul { list-style: none; padding: 0; margin: 0 0 1rem; flex: 1; }
.pcard ul li { padding: .15rem 0; font-size: .9rem; }
.pcard ul li::before { content: "✓ "; color: #16a34a; }
.pcard .btn { text-align: center; }
