:root {
	--bg: #0a0c10;
	--bg-soft: #0f131a;
	--panel: #121824;
	--fg: #e8edf5;
	--muted: #98a4b8;
	--line: rgba(255, 255, 255, 0.09);
	--line-strong: rgba(255, 255, 255, 0.16);
	--accent: #7dd3fc;
	--accent-soft: rgba(125, 211, 252, 0.12);
	--warm: #fbbf24;
	--radius: 14px;
	--mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "PingFang SC", sans-serif;
}

@media (prefers-color-scheme: light) {
	:root {
		--bg: #f7f8fa;
		--bg-soft: #ffffff;
		--panel: #ffffff;
		--fg: #11151c;
		--muted: #5b6575;
		--line: rgba(17, 21, 28, 0.1);
		--line-strong: rgba(17, 21, 28, 0.18);
		--accent: #0369a1;
		--accent-soft: rgba(3, 105, 161, 0.1);
		--warm: #b45309;
	}
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background:
		radial-gradient(900px 480px at 15% -10%, var(--accent-soft), transparent 65%),
		radial-gradient(700px 420px at 95% 0%, rgba(251, 191, 36, 0.06), transparent 60%),
		var(--bg);
	color: var(--fg);
	font: 16px/1.65 var(--sans);
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

code, pre { font-family: var(--mono); }

.nav {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 14px clamp(20px, 5vw, 64px);
	background: color-mix(in srgb, var(--bg) 82%, transparent);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(14px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.01em; }

.brand-mark {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: linear-gradient(140deg, var(--accent), #38bdf8);
	color: #04121d;
	font: 700 16px/1 var(--mono);
}

.brand-name { font-size: 17px; }

.nav-links { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--fg); }

.nav-cta {
	padding: 7px 14px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	color: var(--fg);
}

.nav-cta:hover { border-color: var(--accent); color: var(--accent); }

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(28px, 4vw, 64px);
	align-items: center;
	padding: clamp(56px, 9vw, 120px) clamp(20px, 5vw, 64px) clamp(40px, 6vw, 80px);
	max-width: 1240px;
	margin: 0 auto;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	color: var(--muted);
	font: 600 12px/1 var(--mono);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.12); }

.hero h1 {
	margin: 0 0 22px;
	font-size: clamp(34px, 5vw, 58px);
	line-height: 1.12;
	letter-spacing: -0.035em;
	font-weight: 720;
}

.lede { margin: 0 0 30px; max-width: 34em; color: var(--muted); font-size: clamp(15px, 1.5vw, 17px); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 20px;
	border-radius: 10px;
	background: var(--accent);
	color: #04121d;
	font-weight: 650;
	font-size: 15px;
	border: 1px solid transparent;
	transition: transform 0.15s ease, background 0.15s ease;
}

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

.btn.ghost {
	background: transparent;
	border-color: var(--line-strong);
	color: var(--fg);
}

.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

.install {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 26px;
	padding: 10px 14px;
	border: 1px dashed var(--line-strong);
	border-radius: 10px;
	width: fit-content;
	max-width: 100%;
	overflow-x: auto;
}

.install-label { color: var(--muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.install code { font-size: 13.5px; color: var(--accent); white-space: nowrap; }

.hero-card {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--panel);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
	overflow: hidden;
}

.card-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 14px;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font: 12px/1 var(--mono);
}

.card-dot { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; box-shadow: 16px 0 0 #f59e0b, 32px 0 0 #22c55e; margin-right: 26px; }

.hero-card pre { margin: 0; padding: 18px 20px; overflow-x: auto; font-size: 13px; line-height: 1.7; color: #cfe3f7; }
.card-foot { padding: 10px 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

.strip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 64px);
}

.strip div {
	padding: 22px 20px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: color-mix(in srgb, var(--panel) 55%, transparent);
}

.strip strong { display: block; font-size: 20px; letter-spacing: -0.02em; }
.strip span { color: var(--muted); font-size: 13px; }

.section { max-width: 1240px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px); }

.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2, .split h2, .cta h2 { margin: 0; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; letter-spacing: -0.025em; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.feature {
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: color-mix(in srgb, var(--panel) 70%, transparent);
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.feature:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feature h3 { margin: 0 0 10px; font-size: 17px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.feature code { color: var(--accent); font-size: 0.92em; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }

.prose-block p { color: var(--muted); }
.prose-block h2 { margin-bottom: 16px; }

.prose-block pre {
	margin: 22px 0 0;
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--panel);
	overflow-x: auto;
	font-size: 13px;
	line-height: 1.7;
	color: #cfe3f7;
}

.cta {
	max-width: 1240px;
	margin: 0 auto clamp(48px, 7vw, 88px);
	padding: clamp(36px, 6vw, 64px);
	border: 1px solid var(--line-strong);
	border-radius: 20px;
	background:
		linear-gradient(135deg, var(--accent-soft), transparent 55%),
		var(--panel);
	text-align: center;
}

.cta p { max-width: 34em; margin: 14px auto 26px; color: var(--muted); }
.cta .actions { justify-content: center; }

.closing { max-width: 760px; margin: 0 auto 80px; padding: 0 clamp(20px, 5vw, 64px); color: var(--muted); }

.foot { border-top: 1px solid var(--line); padding: 28px clamp(20px, 5vw, 64px); }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; max-width: 1240px; margin: 0 auto; color: var(--muted); font-size: 13px; }
.foot-brand { font-weight: 650; color: var(--fg); }
.foot-links { display: flex; gap: 18px; }
.foot-links a:hover { color: var(--accent); }

@media (max-width: 980px) {
	.hero { grid-template-columns: 1fr; }
	.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	.nav { flex-direction: column; align-items: flex-start; gap: 12px; }
	.nav-links { flex-wrap: wrap; }
	.grid, .split { grid-template-columns: 1fr; }
	.hero h1 { font-size: 34px; }
}
