:root {
	color-scheme: dark;
	--bg: #07111f;
	--panel: rgba(14, 30, 50, 0.72);
	--line: rgba(148, 180, 207, 0.18);
	--text: #f4f8fb;
	--muted: #9eb1c4;
	--green: #45e0a8;
	--cyan: #59c7f7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	min-width: 320px;
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--text);
	background:
		radial-gradient(circle at 75% 10%, rgba(34, 188, 196, 0.18), transparent 32rem),
		radial-gradient(circle at 12% 42%, rgba(69, 224, 168, 0.11), transparent 26rem),
		var(--bg);
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), transparent 72%);
	opacity: 0.32;
}

a { color: inherit; }
.container { position: relative; width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
header { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; }

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 19px;
	font-weight: 760;
	letter-spacing: 0.02em;
	text-decoration: none;
}

.mark {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(89, 199, 247, 0.6);
	border-radius: 10px;
	color: var(--green);
	background: rgba(69, 224, 168, 0.08);
}

nav { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--muted); }
nav a { text-decoration: none; }
nav a:hover { color: var(--text); }

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
	gap: 72px;
	align-items: center;
	min-height: 620px;
	padding: 70px 0 94px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 20px;
	color: var(--green);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 16px currentColor; }
h1 { max-width: 760px; margin: 0; font-size: clamp(52px, 8vw, 92px); line-height: 0.95; letter-spacing: -0.065em; }

h1 span {
	display: block;
	margin-top: 16px;
	font-size: clamp(28px, 4vw, 46px);
	line-height: 1.08;
	letter-spacing: -0.04em;
	color: transparent;
	background: linear-gradient(95deg, var(--green), var(--cyan));
	background-clip: text;
	-webkit-background-clip: text;
}

.lead { max-width: 680px; margin: 26px 0 0; font-size: clamp(17px, 2vw, 20px); line-height: 1.75; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 20px;
	border: 1px solid var(--line);
	border-radius: 12px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.035);
	transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); border-color: rgba(89, 199, 247, 0.58); background: rgba(255, 255, 255, 0.07); }
.button.primary { border-color: transparent; color: #04151a; background: linear-gradient(100deg, var(--green), var(--cyan)); }
.stack { position: relative; min-height: 430px; }
.orbit { position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 50%; transform: rotate(-12deg); }
.orbit::before, .orbit::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 22px var(--green); }
.orbit::before { top: 16%; left: 9%; }
.orbit::after { right: 7%; bottom: 19%; background: var(--cyan); box-shadow: 0 0 22px var(--cyan); }

.runtime-card {
	position: absolute;
	inset: 62px 28px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 30px;
	border: 1px solid rgba(89, 199, 247, 0.24);
	border-radius: 28px;
	background: linear-gradient(145deg, rgba(20, 45, 69, 0.92), rgba(8, 21, 36, 0.92));
	box-shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
	backdrop-filter: blur(18px);
}

.card-label { font: 600 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.1em; color: var(--cyan); text-transform: uppercase; }
.pipeline { display: grid; gap: 12px; margin: 24px 0; }
.pipeline div { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; background: rgba(255, 255, 255, 0.025); }
.pipeline small { color: var(--muted); }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; }
.platforms span { padding: 7px 10px; border-radius: 999px; font-size: 12px; color: var(--muted); background: rgba(255, 255, 255, 0.055); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0 0 86px; }
.feature { min-height: 178px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.feature b { display: block; margin-bottom: 12px; font-size: 16px; }
.feature p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px 0 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 860px) {
	.hero { grid-template-columns: 1fr; gap: 30px; padding-top: 52px; }
	.stack { min-height: 380px; max-width: 520px; width: 100%; margin: 0 auto; }
	.features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
	.container { width: min(100% - 28px, 1120px); }
	header { padding: 20px 0; }
	nav a:first-child { display: none; }
	.hero { min-height: auto; padding: 54px 0 72px; }
	.stack { min-height: 330px; }
	.runtime-card { inset: 45px 12px; padding: 22px; }
	.features { grid-template-columns: 1fr; }
	footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.button { transition: none; }
}
