:root {
	--bg: #070812;
	--bg-card: rgba(255, 255, 255, 0.065);
	--bg-card-strong: rgba(255, 255, 255, 0.1);
	--text: #f8fafc;
	--muted: #b6c2d2;
	--muted-2: #8190a5;
	--line: rgba(255, 255, 255, 0.14);
	--brand: #8b5cf6;
	--brand-2: #22d3ee;
	--brand-3: #34d399;
	--danger: #fb7185;
	--warning: #fbbf24;
	--shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
	--radius: 26px;
	--max: 1120px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family:
		Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
		"Segoe UI", sans-serif;
	background:
		radial-gradient(
			circle at 18% 8%,
			rgba(139, 92, 246, 0.35),
			transparent 34rem
		),
		radial-gradient(
			circle at 88% 14%,
			rgba(34, 211, 238, 0.25),
			transparent 32rem
		),
		radial-gradient(
			circle at 50% 70%,
			rgba(52, 211, 153, 0.12),
			transparent 34rem
		),
		var(--bg);
	color: var(--text);
	line-height: 1.6;
	overflow-x: hidden;
}

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

a:hover {
	color: white;
}

.container {
	width: min(var(--max), calc(100% - 40px));
	margin: 0 auto;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 16px;
	z-index: 999;
	padding: 10px 14px;
	border-radius: 12px;
	background: white;
	color: #111827;
}

.skip-link:focus {
	left: 16px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	backdrop-filter: blur(18px);
	background: rgba(7, 8, 18, 0.72);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 16px 0;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	letter-spacing: -0.03em;
	font-size: 1.1rem;
}

.logo-mark {
	width: 34px;
	height: 34px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--brand), var(--brand-2));
	display: grid;
	place-items: center;
	box-shadow: 0 14px 34px rgba(139, 92, 246, 0.28);
	font-weight: 900;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 22px;
	color: var(--muted);
	font-size: 0.94rem;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 44px;
	padding: 11px 18px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.08);
	color: white;
	font-weight: 700;
	transition:
		transform 180ms ease,
		background 180ms ease,
		border-color 180ms ease;
}

.button:hover {
	transform: translateY(-1px);
	background: rgba(255, 255, 255, 0.13);
	border-color: rgba(255, 255, 255, 0.26);
}

.button.primary {
	border: 0;
	background: linear-gradient(135deg, var(--brand), var(--brand-2));
	box-shadow: 0 16px 44px rgba(34, 211, 238, 0.18);
}

.button.dark {
	background: rgba(0, 0, 0, 0.35);
}

.hero {
	position: relative;
	padding: 92px 0 58px;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.06fr 0.94fr;
	align-items: center;
	gap: 54px;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.07);
	color: #dbeafe;
	font-weight: 700;
	font-size: 0.88rem;
}

.badge-dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--brand-3);
	box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.13);
}

h1,
h2,
h3 {
	margin: 0;
	line-height: 1.05;
	letter-spacing: -0.055em;
}

h1 {
	margin-top: 24px;
	font-size: clamp(3.2rem, 8vw, 6.9rem);
}

h1 span {
	background: linear-gradient(135deg, #fff, #a7f3d0 45%, #67e8f9 82%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero-copy {
	margin: 22px 0 0;
	max-width: 690px;
	font-size: clamp(1.08rem, 2vw, 1.28rem);
	color: var(--muted);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

.hero-note {
	margin-top: 18px;
	color: var(--muted-2);
	font-size: 0.95rem;
}

.visual {
	position: relative;
	min-height: 520px;
}

.terminal-window {
	position: absolute;
	inset: 0;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--radius);
	background:
		linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.11),
			rgba(255, 255, 255, 0.045)
		),
		rgba(9, 11, 25, 0.86);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.window-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.04);
}

.window-bar span {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #fb7185;
}

.window-bar span:nth-child(2) {
	background: #fbbf24;
}

.window-bar span:nth-child(3) {
	background: #34d399;
}

.terminal {
	padding: 22px;
	font-family:
		"SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
	font-size: 0.86rem;
	color: #d1fae5;
}

.terminal p {
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 9px 0;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.terminal p span {
	color: #67e8f9;
	flex: 0 0 auto;
}

pre {
	margin: 0;
	padding: 20px;
	overflow-x: auto;
	color: #d1fae5;
	font-size: 0.92rem;
	line-height: 1.65;
}

.terminal pre {
	margin: 0;
	padding: 0;
	font-size: 0.82rem;
	line-height: 1.95;
	color: #d1fae5;
	white-space: pre;
	overflow-x: auto;
}

.terminal .prompt {
	color: #67e8f9;
}

.terminal .fill {
	color: var(--brand-2);
}

.result-card {
	position: absolute;
	right: -20px;
	bottom: 36px;
	width: min(360px, 92%);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 22px;
	background: rgba(13, 17, 35, 0.92);
	backdrop-filter: blur(18px);
	box-shadow: var(--shadow);
	padding: 18px;
}

.score-row {
	display: grid;
	grid-template-columns: 80px 1fr 54px;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
	color: var(--muted);
	font-size: 0.9rem;
}

.bar {
	height: 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	overflow: hidden;
}

.bar i {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.pass {
	color: #86efac;
}

.fail {
	color: #fda4af;
}

.warn {
	color: #fde68a;
}

.section {
	padding: 76px 0;
}

.section-header {
	max-width: 760px;
	margin-bottom: 34px;
}

.section-header.no-margin {
	margin-bottom: 0;
}

.eyebrow {
	margin: 0 0 12px;
	color: #67e8f9;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.78rem;
}

h2 {
	font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.section-header p:not(.eyebrow) {
	margin: 18px 0 0;
	color: var(--muted);
	font-size: 1.08rem;
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.card {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg-card);
	padding: 24px;
	box-shadow: 0 18px 58px rgba(0, 0, 0, 0.18);
}

.card h3 {
	font-size: 1.25rem;
	letter-spacing: -0.03em;
	margin-bottom: 9px;
}

.card p {
	color: var(--muted);
	margin: 0;
}

.note-card {
	margin-top: 18px;
	background: var(--bg-card-strong);
}

code {
	font-family:
		"SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.note-card code {
	padding: 2px 7px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.09);
	font-size: 0.9em;
}

.icon {
	width: 44px;
	height: 44px;
	border-radius: 16px;
	display: grid;
	place-items: center;
	background: linear-gradient(
		135deg,
		rgba(139, 92, 246, 0.35),
		rgba(34, 211, 238, 0.18)
	);
	border: 1px solid rgba(255, 255, 255, 0.12);
	margin-bottom: 18px;
	font-weight: 900;
}

.flow {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	counter-reset: step;
}

.flow .card {
	position: relative;
	padding-top: 58px;
}

.flow .card::before {
	counter-increment: step;
	content: counter(step);
	position: absolute;
	left: 24px;
	top: 20px;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	background: rgba(34, 211, 238, 0.18);
	color: #a5f3fc;
	font-weight: 900;
	font-size: 0.82rem;
}

.split {
	display: grid;
	grid-template-columns: 0.86fr 1.14fr;
	gap: 22px;
	align-items: stretch;
}

.metric-card {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background:
		linear-gradient(
			135deg,
			rgba(52, 211, 153, 0.14),
			rgba(34, 211, 238, 0.08)
		),
		var(--bg-card);
	padding: 28px;
}

.metric-number {
	font-size: clamp(3.6rem, 9vw, 7.5rem);
	line-height: 0.9;
	letter-spacing: -0.08em;
	font-weight: 900;
}

.metric-card p {
	margin: 14px 0 0;
	font-size: 1.12rem;
	color: var(--muted);
}

.results-table {
	width: 100%;
	border-collapse: collapse;
	overflow: hidden;
	border-radius: 20px;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.045);
}

.results-table th,
.results-table td {
	padding: 15px 16px;
	text-align: left;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.results-table th {
	color: #dbeafe;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	background: rgba(255, 255, 255, 0.06);
}

.results-table td {
	color: var(--muted);
}

.results-table tr:last-child td {
	border-bottom: 0;
}

.pill {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 5px 9px;
	font-weight: 800;
	font-size: 0.82rem;
}

.pill.good {
	color: #bbf7d0;
	background: rgba(34, 197, 94, 0.15);
}

.pill.bad {
	color: #fecdd3;
	background: rgba(244, 63, 94, 0.15);
}

.pill.warn {
	color: #fde68a;
	background: rgba(245, 158, 11, 0.15);
}

.table-note {
	margin-top: 18px;
	color: var(--muted);
}

.source-note {
	margin-top: 10px;
	color: var(--muted-2);
	font-size: 0.94rem;
}

.source-note a {
	text-decoration: underline;
}

.code-block {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #080b17;
	overflow: hidden;
	box-shadow: var(--shadow);
}

.code-title {
	padding: 14px 18px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
	color: var(--muted);
	font-size: 0.9rem;
}

.cta {
	padding: 88px 0 96px;
}

.cta-box {
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: calc(var(--radius) + 8px);
	padding: 46px;
	background:
		radial-gradient(
			circle at top right,
			rgba(34, 211, 238, 0.22),
			transparent 25rem
		),
		linear-gradient(
			135deg,
			rgba(139, 92, 246, 0.22),
			rgba(255, 255, 255, 0.06)
		),
		rgba(255, 255, 255, 0.055);
	box-shadow: var(--shadow);
}

.cta-box p:not(.eyebrow) {
	max-width: 720px;
	color: var(--muted);
	font-size: 1.1rem;
}

.footer {
	padding: 28px 0 42px;
	color: var(--muted-2);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.footer-inner p {
	margin: 0;
}

.footer-links {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
}

@media (max-width: 920px) {
	.nav-links a:not(.button) {
		display: none;
	}

	.hero-grid,
	.split {
		grid-template-columns: 1fr;
	}

	.visual {
		min-height: 470px;
	}

	.card-grid,
	.flow {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.container {
		width: min(100% - 28px, var(--max));
	}

	.hero {
		padding-top: 56px;
	}

	.card-grid,
	.flow {
		grid-template-columns: 1fr;
	}

	.result-card {
		position: relative;
		right: auto;
		bottom: auto;
		margin: -132px auto 0;
	}

	.visual {
		min-height: 560px;
	}

	.cta-box {
		padding: 30px 22px;
	}

	.results-table {
		font-size: 0.9rem;
	}

	.results-table th,
	.results-table td {
		padding: 12px 10px;
	}
}
