: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);
}
