/* CloudEye — landing page. Palette lifted from web/css/app.css so the site and the app are one product. */

:root {
	--bg: #0d0d0d;
	--surface: #1a1a19;
	--surface-2: #232322;
	--surface-3: #2c2c2a;
	--ink: #ffffff;
	--ink-2: #c3c2b7;
	--ink-3: #898781;
	--grid: #2c2c2a;
	--hairline: rgba(255, 255, 255, 0.10);
	--hairline-2: rgba(255, 255, 255, 0.055);
	--edge: #4a4a47;
	--edge-hi: #3987e5;
	--blue: #3987e5;
	--aqua: #199e70;
	--yellow: #c98500;
	--violet: #9085e9;
	--red: #e66767;
	--orange: #d95926;
	--magenta: #d55181;
	--good: #0ca30c;
	--warning: #fab219;
	--serious: #ec835a;
	--critical: #d03b3b;

	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

	--maxw: 1240px;
	--r: 14px;
	--r-lg: 20px;
	--r-xl: 26px;

	/* one elevation recipe, used everywhere */
	--lift: 0 1px 0 rgba(255, 255, 255, 0.055) inset,
	        0 1px 2px rgba(0, 0, 0, 0.4),
	        0 12px 28px -14px rgba(0, 0, 0, 0.7);
	--lift-lg: 0 1px 0 rgba(255, 255, 255, 0.06) inset,
	           0 4px 12px -6px rgba(0, 0, 0, 0.55),
	           0 40px 90px -40px rgba(0, 0, 0, 0.95);
	--frost: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
b { font-weight: 650; }
code { font-family: var(--mono); font-size: 0.88em; }
a { color: inherit; }

:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 3px;
	border-radius: 6px;
}

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--ink); color: var(--bg); padding: 10px 16px;
	border-radius: 10px; font-weight: 650; text-decoration: none;
	transition: top 0.15s;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.grow { flex: 1; }

/* ============================= film grain ============================= */
.grain {
	position: fixed; inset: 0; z-index: 60; pointer-events: none;
	opacity: 0.035; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ========================== gradient washes ========================== */
.wash { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.wash::before, .wash::after { content: ""; position: absolute; border-radius: 50%; }
.wash-hero::before {
	width: min(1200px, 130vw); height: 760px;
	left: 50%; top: -320px; transform: translateX(-50%);
	background: radial-gradient(50% 50% at 50% 50%, rgba(57, 135, 229, 0.17), transparent 68%);
}
.wash-hero::after {
	width: min(760px, 100vw); height: 520px;
	left: 50%; top: 40px; transform: translateX(-50%);
	background: radial-gradient(50% 50% at 50% 50%, rgba(144, 133, 233, 0.09), transparent 70%);
}
.wash-sec::before {
	width: min(900px, 110vw); height: 700px;
	left: -12%; top: -6%;
	background: radial-gradient(50% 50% at 50% 50%, rgba(208, 59, 59, 0.10), transparent 70%);
}
.wash-sec::after {
	width: min(700px, 90vw); height: 560px;
	right: -8%; bottom: -12%;
	background: radial-gradient(50% 50% at 50% 50%, rgba(57, 135, 229, 0.08), transparent 70%);
}
.wash-dl::before {
	width: min(1100px, 130vw); height: 680px;
	left: 50%; top: -60px; transform: translateX(-50%);
	background: radial-gradient(50% 50% at 50% 50%, rgba(57, 135, 229, 0.14), transparent 66%);
}
.wash-dl::after { display: none; }

/* ============================== buttons ============================== */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	font: inherit; font-size: 14px; font-weight: 600;
	padding: 9px 16px; border-radius: 10px;
	text-decoration: none; cursor: pointer;
	border: 1px solid transparent;
	transition: background 0.14s, border-color 0.14s, color 0.14s, transform 0.14s, box-shadow 0.14s;
	white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn.solid { background: var(--ink); color: #0b0b0b; box-shadow: 0 6px 20px -8px rgba(255, 255, 255, 0.32); }
.btn.solid:hover { background: #e9e9e5; box-shadow: 0 10px 28px -10px rgba(255, 255, 255, 0.42); }
.btn.ghost { color: var(--ink-2); border-color: var(--hairline); background: var(--frost); }
.btn.ghost:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.26); background: var(--surface); }
.btn.lg { font-size: 15px; padding: 13px 24px; border-radius: 12px; }
.btn:active { transform: translateY(0.5px); }

/* the app's own small button */
.mbtn {
	display: inline-flex; align-items: center;
	padding: 5px 11px; border: 1px solid var(--hairline); border-radius: 8px;
	background: var(--surface-2); color: var(--ink-2);
	font-size: 11.5px; font-weight: 550;
}
.mbtn.on { border-color: var(--blue); color: var(--blue); }

/* ================================ nav ================================ */
.nav {
	position: sticky; top: 0; z-index: 50;
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: background 0.22s, border-color 0.22s;
}
.nav.scrolled {
	background: rgba(13, 13, 13, 0.68);
	backdrop-filter: saturate(150%) blur(16px);
	-webkit-backdrop-filter: saturate(150%) blur(16px);
	border-bottom-color: var(--hairline-2);
}
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { width: 26px; height: 26px; border-radius: 8px; }
.brand b { font-size: 16px; font-weight: 750; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 2px; margin-left: 12px; }
.nav-links a {
	font-size: 14px; color: var(--ink-3); text-decoration: none;
	padding: 6px 11px; border-radius: 8px; transition: color 0.14s, background 0.14s;
}
.nav-links a:hover { color: var(--ink); background: var(--surface); }
.nav-cta { display: flex; gap: 9px; margin-left: auto; }

/* =============================== hero =============================== */
.hero { position: relative; padding: 96px 0 0; text-align: center; overflow: hidden; }
.hero > *:not(.wash) { position: relative; z-index: 1; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em;
	color: var(--ink-2);
	border: 1px solid var(--hairline); background: var(--frost), var(--surface);
	padding: 6px 14px; border-radius: 999px; margin-bottom: 30px;
	box-shadow: var(--lift);
}
.eyebrow .dot {
	width: 6px; height: 6px; border-radius: 50%; background: var(--aqua);
	box-shadow: 0 0 0 3px rgba(25, 158, 112, 0.18);
}

h1 {
	font-size: clamp(44px, 7.6vw, 92px);
	line-height: 0.99;
	letter-spacing: -0.042em;
	font-weight: 700;
}
.h1-dim {
	background: linear-gradient(180deg, var(--ink-3), rgba(137, 135, 129, 0.42));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede {
	max-width: 640px; margin: 28px auto 0;
	font-size: clamp(16.5px, 1.7vw, 20px);
	line-height: 1.62; color: var(--ink-2);
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.hero-sub { margin-top: 20px; font-size: 13.5px; color: var(--ink-3); }

/* =========================== the product shot =========================== */
.stage {
	position: relative;
	width: 100%; max-width: 1380px;
	margin: 70px auto 0;
	padding: 0 24px;
	perspective: 2200px;
}
.shot-glow {
	position: absolute; inset: 8% 6% -10% 6%;
	background: radial-gradient(60% 55% at 50% 40%, rgba(57, 135, 229, 0.26), transparent 72%);
	filter: blur(48px); pointer-events: none;
}
.shot {
	position: relative;
	border: 1px solid var(--hairline);
	border-radius: var(--r-xl);
	background: var(--bg);
	box-shadow: var(--lift-lg);
	text-align: left;
	transform-origin: 50% 100%;
}
html.js .shot.tilt {
	transform: rotateX(7deg) scale(0.975);
	opacity: 0.72;
	transition: transform 1.05s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}
html.js .shot.tilt.flat { transform: none; opacity: 1; }
.shot::after {
	content: ""; position: absolute; inset: 0; border-radius: var(--r-xl);
	pointer-events: none;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 22%);
	mix-blend-mode: overlay;
}
.win {
	position: relative;
	display: flex; align-items: center; gap: 10px;
	height: 40px; padding: 0 14px;
	border-bottom: 1px solid var(--hairline);
	background: var(--surface);
	border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.tl-dots { display: flex; gap: 6px; }
.tl-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); display: block; }
.tl-dots i:first-child { background: #4a3b3b; }
.win-title {
	position: absolute; left: 50%; transform: translateX(-50%);
	font-size: 12px; font-weight: 600; color: var(--ink-3);
	line-height: 40px; pointer-events: none;
}
.app {
	display: grid; grid-template-columns: 184px 1fr;
	border-radius: 0 0 var(--r-xl) var(--r-xl);
	overflow: hidden;
	background: var(--bg);
}

.side {
	background: var(--surface);
	border-right: 1px solid var(--hairline);
	padding: 12px 8px 10px;
	display: flex; flex-direction: column;
}
.side-brand { display: flex; align-items: center; gap: 8px; padding: 4px 7px 0; }
.side-brand svg { width: 21px; height: 21px; border-radius: 6px; }
.side-brand b { font-size: 13.5px; font-weight: 750; letter-spacing: -0.01em; }
.side-tabs { display: flex; flex-direction: column; gap: 1px; margin-top: 14px; flex: 1; }
.stab {
	position: relative;
	display: flex; align-items: center; gap: 10px;
	font-size: 12.5px; color: var(--ink-2);
	padding: 7px 10px; border-radius: 9px;
}
.stab svg { width: 15px; height: 15px; opacity: 0.6; }
.stab.on { background: var(--surface-3); color: var(--ink); font-weight: 600; }
.stab.on svg { opacity: 1; color: var(--blue); }
.stab.on::before {
	content: ""; position: absolute; left: -8px; top: 8px; bottom: 8px; width: 3px;
	border-radius: 0 2px 2px 0; background: var(--blue);
}
.side-foot {
	display: flex; justify-content: space-between;
	border-top: 1px solid var(--hairline); margin-top: 10px; padding: 8px 8px 0;
	font-size: 10px; color: var(--ink-3);
}

.app-body { min-width: 0; display: flex; flex-direction: column; }
.topbar {
	display: flex; align-items: center; gap: 8px;
	height: 44px; padding: 0 14px;
	border-bottom: 1px solid var(--hairline);
	background: var(--surface);
}
.topbar .crumb { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.topbar .crumb b { color: var(--ink); }
.sync {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 11px; font-weight: 600; color: var(--aqua);
	border: 1px solid rgba(25, 158, 112, 0.4); border-radius: 999px; padding: 3px 10px;
}
.sync i { width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); }
.chip {
	font-size: 11px; color: var(--ink-3);
	border: 1px solid var(--hairline); border-radius: 8px; padding: 3px 8px;
}
.pane { padding: 16px; min-width: 0; }
.pane-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pillg { display: inline-flex; border: 1px solid var(--hairline); border-radius: 9px; overflow: hidden; }
.pillg span {
	font-size: 11px; color: var(--ink-2); padding: 4px 11px;
	border-right: 1px solid var(--hairline);
}
.pillg span:last-child { border-right: none; }
.pillg span.on { background: var(--blue); color: #fff; font-weight: 650; }
.pane-bar .hint { font-size: 11px; color: var(--ink-3); }

.chart {
	background: var(--surface); border: 1px solid var(--hairline);
	border-radius: var(--r); padding: 10px 0;
	box-shadow: var(--lift);
}
.chart-inner { position: relative; }
.tl-svg { width: 100%; height: auto; display: block; }

.z-crit { fill: rgba(208, 59, 59, 0.10); }
.z-warn { fill: rgba(250, 178, 25, 0.08); }
.g { stroke: var(--grid); stroke-width: 1; opacity: 0.45; }
.th { stroke-width: 1; stroke-dasharray: 3 4; opacity: 0.75; }
.th.crit { stroke: var(--critical); }
.th.warn { stroke: var(--warning); }
.base { stroke: rgba(255, 255, 255, 0.12); stroke-width: 1; }
.ax { font-size: 9.5px; fill: var(--ink-3); font-family: var(--font); }
.lane { stroke: rgba(255, 255, 255, 0.12); stroke-width: 1; stroke-dasharray: 1 5; }
.lane-lbl { font-size: 10.5px; fill: var(--ink-2); font-weight: 600; font-family: var(--font); }
.mem { stroke: var(--blue); stroke-width: 1.9; fill: none; stroke-linejoin: round; }
.mem-fill { fill: rgba(57, 135, 229, 0.12); }
.cpu { stroke: var(--ink-3); stroke-width: 1.2; fill: none; opacity: 0.55; }
.b5 { fill: var(--red); opacity: 0.85; }
.mk.good { fill: var(--good); }
.mk.blue { fill: var(--blue); }
.mk.dim { fill: var(--ink-3); }
.mk.violet { fill: var(--violet); }
.mk.warn { fill: var(--warning); }
.mk.crit { fill: var(--critical); }
.mk.orange { fill: var(--orange); }

@media (prefers-reduced-motion: no-preference) {
	#memLine {
		stroke-dasharray: 1400; stroke-dashoffset: 1400;
		animation: draw 2.4s cubic-bezier(0.4, 0, 0.2, 1) 0.45s forwards;
	}
	.bars rect { opacity: 0; animation: rise 0.5s ease 2.1s forwards; }
	@keyframes draw { to { stroke-dashoffset: 0; } }
	@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 0.85; transform: none; } }
}

.selbox {
	position: absolute;
	left: 51.1%; width: 16.6%;
	top: 4.3%; height: 87%;
	background: rgba(57, 135, 229, 0.11);
	border-left: 1px solid var(--blue);
	border-right: 1px solid var(--blue);
	pointer-events: none;
}
.head {
	position: absolute; top: 4.3%; height: 87%;
	width: 1.5px; background: var(--ink);
	left: 40%; pointer-events: none; z-index: 3;
}
.head::before {
	content: ""; position: absolute; left: -5.5px; top: -5px;
	width: 12px; height: 12px; border-radius: 50%;
	background: var(--ink); border: 2px solid var(--surface);
}
.head.hot { background: var(--critical); }
.head.hot::before { background: var(--critical); }
.head-at {
	position: absolute; top: -24px; left: 50%; transform: translateX(-50%);
	background: var(--ink); color: var(--bg);
	font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums;
	padding: 2px 6px; border-radius: 5px; white-space: nowrap;
}
.head.hot .head-at { background: var(--critical); color: #fff; }

.legend { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 14px 0; }
.lg { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--ink-3); }
.lg i { width: 9px; height: 9px; border-radius: 2px; }
.lg-mem { background: var(--blue); }
.lg-cpu { background: var(--ink-3); }
.lg-5xx { background: var(--red); }
.lg-good { background: var(--good); }
.lg-violet { background: var(--violet); }
.lg-orange { background: var(--orange); }
.lg-note { margin-left: auto; font-size: 11px; color: var(--ink-3); }

.state { margin-top: 16px; }
.state-h { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 650; margin-bottom: 10px; }
.state-h b { font-variant-numeric: tabular-nums; }
.state-h .tt {
	font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
	background: rgba(250, 178, 25, 0.16); color: var(--warning);
	padding: 2px 8px; border-radius: 999px;
}
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.tile {
	background: var(--frost), var(--surface); border: 1px solid var(--hairline);
	border-radius: 12px; padding: 11px 13px;
}
.tile .num {
	font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}
.tile .num.bad { color: var(--critical); }
.tile .num.ok { color: var(--aqua); }
.tile .lbl { font-size: 10.5px; color: var(--ink-3); margin-top: 2px; }

.narr {
	margin-top: 12px;
	background: var(--frost), var(--surface); border: 1px solid var(--hairline);
	border-radius: var(--r); padding: 14px 16px;
}
.narr-h {
	display: flex; align-items: center; gap: 7px;
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
	color: var(--violet); margin-bottom: 8px;
}
.narr-h svg { width: 13px; height: 13px; }
.narr p { font-size: 12.8px; line-height: 1.65; color: var(--ink-2); }
.narr p b { color: var(--ink); }
.narr .ask {
	color: var(--ink); font-weight: 600; margin-bottom: 7px;
	padding-left: 10px; border-left: 2px solid var(--violet);
}
.narr-foot { display: flex; align-items: center; gap: 10px; margin-top: 11px; flex-wrap: wrap; }
.pmbtn {
	font-size: 11.5px; font-weight: 650;
	border: 1px solid var(--hairline); border-radius: 8px; padding: 5px 11px;
	background: var(--surface-2);
}
.narr-foot .hint { font-size: 11px; color: var(--ink-3); }

/* trust strip */
.trust {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px;
	list-style: none; margin-top: 84px;
	font-size: 13px; color: var(--ink-3);
}
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); opacity: 0.7; }
.trust code { color: var(--ink-2); }

/* =========================== shared type =========================== */
.kicker {
	font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
	color: var(--blue); margin-bottom: 16px;
}
.kicker.center { text-align: center; }
.center { text-align: center; }
h2 {
	font-size: clamp(28px, 3.6vw, 44px);
	line-height: 1.1; letter-spacing: -0.032em; font-weight: 700;
	max-width: 22ch;
}
h2.statement {
	max-width: 20ch; margin: 0 auto; text-align: center;
	font-size: clamp(30px, 4.4vw, 54px);
	line-height: 1.06; letter-spacing: -0.038em;
	background: linear-gradient(175deg, #ffffff 32%, rgba(195, 194, 183, 0.6));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.body { margin-top: 22px; font-size: 16.5px; line-height: 1.68; color: var(--ink-2); max-width: 52ch; }
.body.center { margin-left: auto; margin-right: auto; text-align: center; max-width: 58ch; }
.body code { background: var(--surface-2); padding: 1px 6px; border-radius: 5px; color: var(--ink); }

.bullets { list-style: none; margin-top: 28px; display: grid; gap: 16px; max-width: 52ch; }
.bullets li { font-size: 15px; line-height: 1.6; color: var(--ink-2); padding-left: 18px; position: relative; }
.bullets li b { color: var(--ink); }
.bullets li::before {
	content: ""; position: absolute; left: 0; top: 9px;
	width: 5px; height: 5px; border-radius: 50%; background: var(--blue);
}

/* ========================== scroll reveals ========================== */
html.js .reveal { opacity: 0; transform: translateY(16px); }
html.js .reveal.in {
	opacity: 1; transform: none;
	transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============ SECTION 2 — read-only: statement + call gate ============ */
.gate-sec { padding: 150px 0 0; }

.gate {
	margin-top: 56px;
	border: 1px solid var(--hairline);
	border-radius: var(--r-lg);
	background: var(--frost), var(--surface);
	box-shadow: var(--lift-lg);
	overflow: hidden;
}
.gate-h {
	display: flex; align-items: center; gap: 10px;
	padding: 13px 18px; border-bottom: 1px solid var(--hairline);
	background: var(--surface-2);
	font-family: var(--mono); font-size: 12.5px; color: var(--ink-2);
}
.dot-g { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); flex-shrink: 0; }
.gate-verbs { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.gate-verbs b {
	font-family: var(--font); font-size: 10px; font-weight: 800;
	letter-spacing: 0.06em; text-transform: uppercase;
	background: rgba(25, 158, 112, 0.16); color: var(--aqua);
	padding: 2px 9px; border-radius: 999px;
}
.gate-body { display: grid; grid-template-columns: 1fr 1fr; }
.gate-col { padding: 18px 18px 20px; min-width: 0; }
.gate-col + .gate-col { border-left: 1px solid var(--hairline); }
.gate-lbl {
	font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
	margin-bottom: 12px;
}
.gate-lbl.ok { color: var(--aqua); }
.gate-lbl.no { color: var(--critical); }
.gate-col ul { list-style: none; display: grid; gap: 2px; }
.gate-col li {
	display: flex; align-items: center; gap: 12px;
	padding: 7px 8px; border-radius: 8px;
	font-family: var(--mono); font-size: 12.5px;
	min-width: 0;
}
.gate-col li code { overflow: hidden; text-overflow: ellipsis; }
.gate-col li.ok code { color: var(--ink-2); }
.gate-col li.no code { color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgba(208, 59, 59, 0.75); }
.gate-col li.no { background: rgba(208, 59, 59, 0.045); }
.tag {
	font-family: var(--font); font-size: 9.5px; font-weight: 800;
	text-transform: uppercase; letter-spacing: 0.06em;
	padding: 2px 7px; border-radius: 999px; width: 62px; text-align: center; flex-shrink: 0;
}
.tag.ok { background: rgba(25, 158, 112, 0.16); color: var(--aqua); }
.tag.no { background: rgba(208, 59, 59, 0.16); color: var(--critical); }
.gate-foot {
	font-size: 12.5px; color: var(--ink-3);
	padding: 13px 18px; border-top: 1px solid var(--hairline); background: var(--surface-2);
}

.checks {
	list-style: none; margin-top: 26px;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.checks li {
	display: flex; gap: 12px; font-size: 14.5px; line-height: 1.58; color: var(--ink-2);
	padding: 18px 20px;
	border: 1px solid var(--hairline-2); border-radius: var(--r);
	background: rgba(255, 255, 255, 0.012);
}
.checks li b { color: var(--ink); }
.checks svg {
	width: 19px; height: 19px; flex-shrink: 0; margin-top: 2px;
	color: var(--aqua);
	background: rgba(25, 158, 112, 0.13); border-radius: 6px; padding: 2px;
}
.checks code { background: var(--surface-2); padding: 1px 5px; border-radius: 4px; color: var(--ink); }

/* ============ SECTION 3 — security: asymmetric split, art-led ============ */
.sec-sec { position: relative; padding: 150px 0 0; overflow: hidden; }
.sec-sec > .wrap { position: relative; z-index: 1; }
.split {
	display: grid; grid-template-columns: 1.32fr 1fr;
	gap: clamp(36px, 5vw, 64px); align-items: center;
}
.split-art, .split-copy { min-width: 0; }

/* mock chrome shared by the section mocks */
.mock {
	border: 1px solid var(--hairline);
	border-radius: var(--r-lg);
	background: var(--bg);
	box-shadow: var(--lift-lg);
	overflow: hidden;
}
.mock-bar {
	display: flex; align-items: center; gap: 4px;
	padding: 9px 12px;
	border-bottom: 1px solid var(--hairline);
	background: var(--surface);
}
.mock-tab {
	font-size: 11.5px; font-weight: 550; color: var(--ink-3);
	padding: 4px 10px; border-radius: 8px; white-space: nowrap;
}
.mock-tab.on { background: var(--surface-3); color: var(--ink); font-weight: 650; }
.mock-body { padding: 18px; background: var(--bg); }

/* the Security tab, faithful to web/js/15-security.js */
.sec-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sec-grade {
	width: 60px; height: 60px; border-radius: 16px; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
	font-size: 32px; font-weight: 800; letter-spacing: -0.02em;
	background: color-mix(in srgb, var(--sgc, var(--ink-3)) 15%, transparent);
	border: 1px solid color-mix(in srgb, var(--sgc, var(--ink-3)) 40%, transparent);
	color: var(--sgc, var(--ink-3));
}
.sec-grade.sg-a { --sgc: var(--good); }
.sec-grade.sg-b { --sgc: var(--aqua); }
.sec-grade.sg-c { --sgc: var(--warning); }
.sec-grade.sg-d { --sgc: var(--serious); }
.sec-grade.sg-e { --sgc: var(--orange); }
.sec-grade.sg-f { --sgc: var(--critical); }
.sec-headmeta { min-width: 0; }
.sec-num { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sec-scanned { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.sec-track { font-size: 11px; color: var(--ink-3); margin-top: 3px; font-variant-numeric: tabular-nums; }
.sec-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.sec-chip {
	font-size: 10px; font-weight: 800; padding: 2px 9px; border-radius: 20px;
	letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap;
}
.sec-chip.sc-crit { background: color-mix(in srgb, var(--critical) 22%, transparent); color: var(--critical); }
.sec-chip.sc-high { background: color-mix(in srgb, var(--warning) 22%, transparent); color: var(--warning); }
.sec-chip.sc-med { background: var(--surface-3); color: var(--ink-2); }
.sec-group {
	font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
	color: var(--ink-3); margin: 18px 0 8px;
}
.sec-find {
	display: flex; gap: 12px; align-items: flex-start;
	background: var(--frost), var(--surface);
	border: 1px solid var(--hairline); border-radius: 12px;
	padding: 12px 16px; margin-bottom: 8px;
	transition: border-color 0.3s;
}
.sec-find.reappeared { border-color: color-mix(in srgb, var(--critical) 45%, var(--hairline)); }
.sec-find .sec-chip { flex-shrink: 0; margin-top: 2px; }
.sec-find-main { flex: 1; min-width: 0; }
.sec-find-title { font-size: 13px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.sec-find-title b { color: var(--ink); font-weight: 650; }
.sec-src {
	font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
	background: var(--surface-3); color: var(--ink-2); border-radius: 5px; padding: 1px 6px;
}
.sec-st {
	font-size: 9.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
	border-radius: 5px; padding: 1px 6px; white-space: nowrap;
}
.sec-st.ss-open { background: var(--surface-3); color: var(--ink-2); }
.sec-st.ss-prog { background: color-mix(in srgb, var(--blue) 20%, transparent); color: var(--blue); }
.sec-st.ss-done { background: color-mix(in srgb, var(--good) 20%, transparent); color: var(--good); }
.sec-st.ss-rea { background: color-mix(in srgb, var(--critical) 24%, transparent); color: var(--critical); }
.sec-age { font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sec-find-detail { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; margin-top: 3px; }
.sec-find-res { font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 4px; word-break: break-all; }
.sec-find-at { font-size: 11px; color: var(--ink-3); white-space: nowrap; flex-shrink: 0; margin-top: 3px; }
.sec-act { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.sec-sel {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 8px 5px 10px; border: 1px solid var(--hairline); border-radius: 8px;
	background: var(--surface-2); color: var(--ink-2);
	font-size: 12px; font-weight: 550;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.sec-sel svg { width: 13px; height: 13px; opacity: 0.6; }
.sec-sel.picked {
	border-color: color-mix(in srgb, var(--good) 55%, transparent);
	color: var(--good);
	background: color-mix(in srgb, var(--good) 12%, transparent);
}
.sec-sel.rejected {
	border-color: color-mix(in srgb, var(--critical) 55%, transparent);
	color: var(--critical);
	background: color-mix(in srgb, var(--critical) 12%, transparent);
}
.sec-msg {
	font-size: 12px; line-height: 1.45; margin-top: 9px;
	border-radius: 8px; padding: 7px 10px;
}
.sec-msg.gone { display: none; }
.sec-msg.pending { background: var(--surface-2); color: var(--ink-3); }
.sec-msg.pending::before {
	content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
	background: var(--ink-3); margin-right: 7px; vertical-align: middle;
}
.sec-msg.warn { background: color-mix(in srgb, var(--critical) 12%, transparent); color: var(--critical); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
	.sec-sel.rejected { animation: nudge 0.42s cubic-bezier(0.36, 0.07, 0.19, 0.97); }
	@keyframes nudge {
		20% { transform: translateX(-4px); }
		45% { transform: translateX(4px); }
		70% { transform: translateX(-2px); }
		100% { transform: none; }
	}
	.sec-msg.pending::before { animation: blip 1s ease-in-out infinite; }
	@keyframes blip { 50% { opacity: 0.25; } }
	.sec-msg.warn { animation: msgIn 0.3s ease; }
	@keyframes msgIn { from { opacity: 0; transform: translateY(-3px); } }
}

/* ============ SECTION 4 — timeline: full-bleed lane rail ============ */
.lanes-sec { padding: 150px 0 0; }
.rail-wrap { margin-top: 54px; padding: 0 24px; overflow: hidden; }
.rail {
	position: relative;
	max-width: 1500px; margin: 0 auto;
	border: 1px solid var(--hairline);
	border-radius: var(--r-lg);
	background:
		linear-gradient(180deg, rgba(57, 135, 229, 0.05), transparent 60%),
		var(--frost), var(--surface);
	box-shadow: var(--lift-lg);
	padding: 10px 0;
	overflow: hidden;
}
.rail-scan {
	position: absolute; top: 0; bottom: 0; left: 0; width: 140px;
	background: linear-gradient(90deg, transparent, rgba(57, 135, 229, 0.10), transparent);
	pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
	.rail-scan { animation: scan 8s linear infinite; }
	@keyframes scan { from { transform: translateX(-160px); } to { transform: translateX(1520px); } }
}
.lane-row {
	display: grid; grid-template-columns: 130px 250px 1fr;
	align-items: center; gap: 20px;
	padding: 13px 24px;
	border-bottom: 1px solid var(--hairline-2);
}
.lane-row:last-child { border-bottom: none; }
.lane-n {
	display: flex; align-items: center; gap: 9px;
	font-size: 14px; font-weight: 650; color: var(--ink);
}
.lane-n .c { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.lane-d { font-size: 13px; color: var(--ink-3); }
.lane-t {
	position: relative; height: 22px; min-width: 0;
	background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 7px);
	background-size: 100% 1px;
	background-position: 0 50%;
	background-repeat: no-repeat;
}
.lane-t .m { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.m { width: 9px; height: 9px; border-radius: 2px; }
.c.good, .m.good { background: var(--good); }
.c.warn, .m.warn { background: var(--warning); }
.c.crit, .m.crit { background: var(--critical); }
.c.violet, .m.violet { background: var(--violet); }
.c.orange, .m.orange { background: var(--orange); }
.c.blue, .m.blue { background: var(--blue); }
.m.violet, .m.blue { border-radius: 50%; }
.m.orange { width: 5px; height: 13px; border-radius: 1px; }
.lane-spark { width: 100%; height: 22px; display: block; }
.lane-spark path { fill: none; stroke: var(--blue); stroke-width: 1.6; }

.lanefacts {
	list-style: none; margin-top: 46px;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.lanefacts li {
	font-size: 14px; line-height: 1.6; color: var(--ink-3);
	padding-top: 16px; border-top: 1px solid var(--hairline);
}
.lanefacts li b { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 4px; }

/* ============ SECTION 5 — bento ============ */
.bento-sec { padding: 150px 0 0; }
.bento {
	margin-top: 54px;
	display: grid; grid-template-columns: repeat(6, 1fr);
	gap: 16px;
}
.bcell {
	position: relative;
	grid-column: span 2;
	display: flex; flex-direction: column;
	padding: 24px;
	border: 1px solid var(--hairline);
	border-radius: var(--r-lg);
	background: var(--frost), var(--surface);
	box-shadow: var(--lift);
	overflow: hidden;
	transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.bcell::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	border-radius: var(--r-lg);
	background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(57, 135, 229, 0.10), transparent 60%);
	opacity: 0; transition: opacity 0.25s;
}
.bcell:hover { border-color: rgba(255, 255, 255, 0.22); transform: translateY(-3px); box-shadow: var(--lift-lg); }
.bcell:hover::before { opacity: 1; }
.bcell > * { position: relative; z-index: 1; }
.bcell h3 { font-size: 17px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.3; }
.bcell p { margin-top: 9px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.bcell .ic {
	display: flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 11px;
	background: var(--surface-2); border: 1px solid var(--hairline);
	color: var(--blue); margin-bottom: 18px;
}
.bcell .ic svg { width: 19px; height: 19px; }
.bcell-txt, .bcell-mock { min-width: 0; }

.b-map { grid-column: span 4; }
.b-map .bcell-mock { margin: -4px -4px 18px; }
.b-ai { grid-column: span 2; }
.b-ai .bcell-mock { margin-top: 20px; flex: 1; display: flex; }
.b-logs { grid-column: span 4; }
.b-logs .bcell-mock { margin-bottom: 18px; }
.b-deploy { grid-column: span 2; }
.b-ws, .b-local { grid-column: span 3; }

/* architecture map mock, faithful to web/js/03-map.js */
.mapmock { width: 100%; height: auto; }
.mapmock .gbox { stroke-width: 1; }
.gb-edge { stroke: rgba(57, 135, 229, 0.26); fill: rgba(57, 135, 229, 0.045); }
.gb-core { stroke: rgba(144, 133, 233, 0.26); fill: rgba(144, 133, 233, 0.045); }
.gb-ext { stroke: rgba(230, 103, 103, 0.26); fill: rgba(230, 103, 103, 0.045); }
.gbox-t {
	font-family: var(--font); font-size: 9px; font-weight: 800; letter-spacing: 0.1em;
	paint-order: stroke; stroke: #1a1a19; stroke-width: 6px; stroke-linejoin: round;
}
.gt-edge { fill: #6ba6ec; }
.gt-core { fill: #a9a1ee; }
.gt-ext { fill: #ec8b8b; }
.mapmock .nbg { fill: var(--surface-2); stroke: var(--hairline); stroke-width: 1; }
.mapmock .nt { font-family: var(--font); font-size: 11.5px; font-weight: 650; fill: var(--ink); }
.mapmock .ns { font-family: var(--font); font-size: 9.5px; fill: var(--ink-3); }
.mapmock .st-g { fill: var(--good); }
.mapmock .edge { stroke: var(--edge); stroke-width: 1.5; fill: none; opacity: 0.8; }
.mapmock .edge-label {
	font-family: var(--font); font-size: 9px; font-weight: 600; fill: var(--ink-3);
	paint-order: stroke; stroke: #1a1a19; stroke-width: 4px; stroke-linejoin: round;
}
.mapmock .edge.pulse { stroke: var(--edge-hi); stroke-width: 2.6; opacity: 1; stroke-dasharray: 8 7; }
@media (prefers-reduced-motion: no-preference) {
	.mapmock .edge.pulse { animation: edgeFlow 0.6s linear infinite; }
	@keyframes edgeFlow { to { stroke-dashoffset: -15; } }
	.mapmock .st-g { animation: blip 2.2s ease-in-out infinite; }
}

/* AI analyst mock, faithful to web/js/13-chat.js */
.chatmock {
	display: flex; flex-direction: column; width: 100%;
	border: 1px solid var(--hairline); border-radius: var(--r);
	background: var(--surface); box-shadow: var(--lift);
	overflow: hidden;
}
.lc-head {
	display: flex; align-items: center; gap: 8px;
	padding: 10px 12px; border-bottom: 1px solid var(--hairline);
	font-size: 12.5px; font-weight: 650;
}
.lc-av { width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0; }
.lc-hint { font-size: 10.5px; font-weight: 400; color: var(--ink-3); margin-left: auto; text-align: right; }
.lc-msgs { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.lc-q {
	align-self: flex-end; background: var(--blue); color: #fff;
	border-radius: 12px 12px 3px 12px; padding: 8px 12px; font-size: 12.5px; max-width: 88%;
}
.lc-row { display: flex; gap: 8px; align-items: flex-start; }
.lc-row .lc-av { margin-top: 2px; }
.lc-a {
	align-self: flex-start; max-width: 95%;
	background: var(--surface-2); border: 1px solid var(--hairline);
	border-radius: 3px 12px 12px 12px;
	padding: 10px 13px; font-size: 12.5px; line-height: 1.6; color: var(--ink-2);
	min-height: 5.2em;
}
.lc-a b { color: var(--ink); }
.lc-a.typing::after { content: "▋"; color: var(--blue); margin-left: 1px; }
@media (prefers-reduced-motion: no-preference) {
	.lc-a.typing::after { animation: blink 0.9s steps(1) infinite; }
	@keyframes blink { 50% { opacity: 0; } }
}
.sc-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 12px; }
.sc-chip {
	background: var(--surface-2); border: 1px solid var(--hairline); border-radius: 20px;
	padding: 5px 11px; font-size: 11px; color: var(--ink-3);
}

/* live logs mock, faithful to web/js/09-logs.js */
.logmock {
	border: 1px solid var(--hairline); border-radius: var(--r);
	background: var(--bg); box-shadow: var(--lift);
	overflow: hidden;
}
.logbar {
	display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
	padding: 9px 12px; border-bottom: 1px solid var(--hairline);
	background: var(--surface);
}
.lsel, .lin {
	border: 1px solid var(--hairline); border-radius: 8px;
	padding: 5px 9px; font-size: 11.5px;
	background: var(--bg);
}
.lsel { color: var(--ink-2); white-space: nowrap; }
.lin {
	color: var(--ink-3); flex: 1; min-width: 110px;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lhint { font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.logrows { padding: 8px 0; font-family: var(--mono); font-size: 11.5px; line-height: 1.55; }
.lrow {
	display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap;
	padding: 3px 14px; border-left: 2px solid transparent; color: var(--ink-2);
}
.lrow.alt { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.lrow.err { border-left-color: var(--red); }
.lrow.warn { border-left-color: var(--warning); }
.lrow.debug { color: var(--ink-3); }
.lrow.x { cursor: pointer; }
.lcaret { color: var(--ink-3); font-size: 10px; display: inline-block; transition: transform 0.18s; }
.lcaret.off { visibility: hidden; }
.lrow.open > .lcaret { transform: rotate(90deg); }
.lts { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.lchip {
	font-family: var(--font); font-size: 9px; font-weight: 750; letter-spacing: 0.09em;
	border-radius: 5px; padding: 1px 6px; flex-shrink: 0;
}
.lchip.error { background: color-mix(in srgb, var(--red) 16%, transparent); color: var(--red); }
.lchip.warn { background: color-mix(in srgb, var(--warning) 16%, transparent); color: var(--warning); }
.lchip.info { background: var(--surface-3); color: var(--ink-2); }
.lchip.debug { background: var(--surface-2); color: var(--ink-3); }
.lmsg { flex: 1; min-width: 0; word-break: break-word; }
.lfullwrap {
	flex-basis: 100%; min-width: 0;
	display: grid; grid-template-rows: 0fr;
	transition: grid-template-rows 0.28s ease;
}
.lrow.open > .lfullwrap { grid-template-rows: 1fr; }
.lfull { overflow: hidden; margin-left: 18px; font-size: 11px; color: var(--ink-2); }
.lrow.open > .lfullwrap > .lfull {
	margin: 5px 0 4px 18px;
	padding: 9px 12px;
	background: var(--surface); border: 1px solid var(--hairline); border-radius: 9px;
}

/* deploy drift */
.drift { margin-top: auto; padding-top: 18px; display: grid; gap: 6px; }
.drow {
	display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
	padding: 7px 10px; border: 1px solid var(--hairline-2); border-radius: 9px;
	background: var(--surface-2); font-family: var(--mono); font-size: 12px; color: var(--ink);
}
.dk {
	font-family: var(--font); font-size: 10px; font-weight: 800;
	letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); width: 56px;
}
.dbadge {
	margin-left: auto; font-family: var(--font);
	font-size: 9.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
	background: color-mix(in srgb, var(--warning) 20%, transparent); color: var(--warning);
	padding: 2px 8px; border-radius: 999px; white-space: nowrap;
}

/* ============ SECTION 6 — how it works: a wired rail ============ */
.how { padding: 150px 0 0; }
.steps {
	position: relative; list-style: none; margin-top: 52px;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.steps::before {
	content: ""; position: absolute;
	left: 8%; right: 8%; top: 17px; height: 1px;
	background: linear-gradient(90deg, transparent, var(--hairline) 12%, var(--hairline) 88%, transparent);
}
.steps li { position: relative; text-align: center; padding: 0 8px; }
.steps .n {
	position: relative; z-index: 1;
	display: flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 50%;
	margin: 0 auto 18px;
	background: var(--surface-2); border: 1px solid var(--hairline);
	font-size: 13px; font-weight: 700; color: var(--blue);
	box-shadow: 0 0 0 6px var(--bg), var(--lift);
}
.steps h4 { font-size: 15.5px; font-weight: 650; letter-spacing: -0.01em; }
.steps p { margin-top: 8px; font-size: 13.5px; line-height: 1.58; color: var(--ink-3); }
.steps code { color: var(--ink-2); }

/* ============ SECTION 7 — download slab ============ */
.install { position: relative; padding: 150px 0 0; overflow: hidden; }
.install > .wrap { position: relative; z-index: 1; }
.slab {
	position: relative;
	max-width: 760px; margin: 0 auto;
	padding: clamp(36px, 5vw, 60px) clamp(24px, 4vw, 56px) clamp(32px, 4vw, 48px);
	border-radius: var(--r-xl);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.008)), var(--surface);
	box-shadow: var(--lift-lg);
	text-align: center;
	overflow: hidden;
}
.slab::before {
	content: ""; position: absolute; inset: 0; border-radius: var(--r-xl); padding: 1px;
	background: linear-gradient(160deg, rgba(57, 135, 229, 0.65), rgba(255, 255, 255, 0.12) 42%, rgba(255, 255, 255, 0.05));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask-composite: exclude;
	pointer-events: none;
}
.slab > * { position: relative; }
.slab .statement { margin-bottom: 38px; }
.dl-main {
	position: relative; overflow: hidden;
	display: inline-flex; align-items: center; gap: 14px;
	padding: 15px 30px; border-radius: 14px; text-align: left;
}
.dl-main svg { width: 26px; height: 26px; }
.dl-main b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.dl-main small { display: block; font-size: 12px; font-weight: 500; opacity: 0.62; }
@media (prefers-reduced-motion: no-preference) {
	.dl-main::after {
		content: ""; position: absolute; top: 0; bottom: 0; left: -80px; width: 58px;
		background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
		transform: skewX(-18deg);
		animation: shine 5s ease-in-out 1.6s infinite;
	}
	@keyframes shine {
		0% { left: -80px; }
		20%, 100% { left: 115%; }
	}
}
.notarized {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	margin-top: 18px; font-size: 13.5px; color: var(--ink-2);
}
.ver {
	display: flex; align-items: center; justify-content: center;
	width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
	background: rgba(25, 158, 112, 0.18); color: var(--aqua);
	border: 1px solid rgba(25, 158, 112, 0.45);
}
.ver svg { width: 10px; height: 10px; }
.dl-note { margin-top: 14px; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.dl-note.dim { color: var(--ink-3); }
.dl-note code { color: var(--ink-2); }
.dl-alt {
	display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
	margin-top: 40px; padding-top: 32px;
	border-top: 1px solid var(--hairline-2);
}
.dl-req {
	margin-top: 30px; padding: 14px 18px;
	border: 1px solid var(--hairline); border-radius: var(--r);
	background: rgba(0, 0, 0, 0.25);
	font-size: 13.5px; line-height: 1.6; color: var(--ink-3); text-align: left;
}
.dl-req b { color: var(--ink-2); }

/* =============================== footer =============================== */
.foot { margin-top: 140px; border-top: 1px solid var(--hairline-2); padding: 40px 0 56px; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 11px; }
.foot-brand .mark { width: 30px; height: 30px; border-radius: 9px; }
.foot-brand b { display: block; font-size: 14px; font-weight: 700; }
.foot-brand small { display: block; font-size: 12px; color: var(--ink-3); }
.foot-by { font-size: 13.5px; color: var(--ink-3); }
.foot-by a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--hairline); }
.foot-by a:hover { color: var(--ink); border-bottom-color: var(--ink-3); }

/* ============================== responsive ============================== */
@media (max-width: 1100px) {
	.split { grid-template-columns: 1fr; gap: 44px; }
	.split-copy h2 { max-width: none; }
	.b-map, .b-logs, .b-ai { grid-column: span 6; }
	.b-ai .bcell-mock { margin-top: 18px; }
	.b-deploy, .b-ws { grid-column: span 3; }
	.b-local { grid-column: span 6; }
	.lane-row { grid-template-columns: 130px 1fr; }
	.lane-d { display: none; }
	.lanefacts { grid-template-columns: repeat(2, 1fr); }
	.nav-links { display: none; }
}

@media (max-width: 860px) {
	.gate-body { grid-template-columns: 1fr; }
	.gate-col + .gate-col { border-left: none; border-top: 1px solid var(--hairline); }
	.checks { grid-template-columns: 1fr; gap: 12px; }
	.steps { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
	.steps::before { display: none; }
	.b-deploy, .b-ws, .b-local { grid-column: span 6; }
}

@media (max-width: 760px) {
	.hero { padding-top: 64px; }
	.gate-sec, .sec-sec, .lanes-sec, .bento-sec, .how, .install { padding-top: 100px; }
	.foot { margin-top: 100px; }
	.trust { margin-top: 60px; gap: 8px 20px; font-size: 12px; }
	.stage { margin-top: 52px; padding: 0 16px; }
	.rail-wrap { padding: 0 16px; }
	.lanefacts { grid-template-columns: 1fr; gap: 18px; }

	/* the shot: drop the sidebar, keep the timeline */
	.app { grid-template-columns: 1fr; }
	.side { display: none; }
	.shot { overflow: hidden; }
	.chart-inner { overflow: hidden; }
	.tiles { grid-template-columns: repeat(2, 1fr); }
	.tiles .tile:last-child { display: none; }
	.legend .lg-note { display: none; }
	.topbar .chip { display: none; }
	.tl-svg { min-height: 220px; }
	.state-h .tt { display: none; }

	.mock-body { padding: 14px; }
	.sec-chips { margin-left: 0; width: 100%; }
	.sec-find-at { display: none; }
	.bcell { padding: 20px; }
}

@media (max-width: 520px) {
	.hero-cta .btn { width: 100%; justify-content: center; }
	.pane { padding: 10px; }
	.legend { gap: 8px 10px; }
	.dl-main { width: 100%; justify-content: center; padding: 15px 18px; }
	.dl-alt .btn { flex: 1; justify-content: center; }
	.lane-row { grid-template-columns: 106px 1fr; gap: 12px; padding: 12px 16px; }
	.lane-n { font-size: 13px; }
	.gate-col li { font-size: 11.5px; gap: 8px; padding: 7px 4px; }
	.tag { width: 54px; font-size: 9px; }
	.sec-head { gap: 12px; }
	.sec-grade { width: 50px; height: 50px; font-size: 26px; border-radius: 13px; }
	.logbar .lin, .logbar .lhint { display: none; }
	.lrow { padding: 3px 10px; gap: 7px; }
	.slab { padding: 32px 20px 30px; }
	.mock-bar { overflow-x: auto; }
}

/* ============================ reduced motion ============================ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
	html.js .reveal { opacity: 1; transform: none; }
	html.js .shot.tilt { transform: none; opacity: 1; }
	.bcell:hover { transform: none; }
	.rail-scan { display: none; }
	.dl-main::after { display: none; }
}

/* ===================== read-only command tester ===================== */
.tester {
	max-width: 760px; margin: 0 auto;
	background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
	overflow: hidden;
}
.tester-h {
	display: flex; align-items: center; gap: 10px;
	padding: 13px 18px; border-bottom: 1px solid var(--hairline);
	background: var(--surface-2); font-family: var(--mono); font-size: 13px;
}
.tester-h code { color: var(--ink); }
.tester-verbs { margin-left: auto; display: flex; gap: 6px; }
.tester-verbs b {
	font: 600 11px/1 var(--mono); letter-spacing: .02em; color: var(--aqua);
	background: rgba(25, 158, 112, 0.14); padding: 4px 7px; border-radius: 6px;
}
.tester-body { padding: 20px 18px 18px; }
.tester-input {
	display: flex; align-items: center; gap: 10px;
	background: #101010; border: 1px solid var(--hairline); border-radius: 10px;
	padding: 12px 14px; transition: border-color .15s;
}
.tester-input:focus-within { border-color: rgba(255,255,255,.28); }
.tprompt { font-family: var(--mono); font-size: 14px; color: var(--ink-3); flex-shrink: 0; }
.tester-input input {
	flex: 1; background: none; border: 0; outline: none;
	font-family: var(--mono); font-size: 14.5px; color: var(--ink); padding: 0;
}
.tester-verdict {
	display: flex; align-items: center; gap: 10px;
	margin-top: 14px; padding: 12px 14px; border-radius: 10px;
	font-size: 14px; transition: background .18s, color .18s;
}
.tester-verdict.allowed { background: rgba(25, 158, 112, 0.12); color: var(--aqua); }
.tester-verdict.blocked { background: rgba(208, 59, 59, 0.12); color: var(--critical); }
.tester-verdict.idle    { background: var(--surface-2); color: var(--ink-3); }
.verdict-tag {
	font: 600 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase;
	padding: 5px 8px; border-radius: 6px; background: rgba(255,255,255,.08); flex-shrink: 0;
}
.tester-verdict.allowed .verdict-tag { background: rgba(25, 158, 112, 0.2); }
.tester-verdict.blocked .verdict-tag { background: rgba(208, 59, 59, 0.2); }
.verdict-txt { color: var(--ink-2); }
.tester-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cchip {
	font-family: var(--mono); font-size: 12.5px; color: var(--ink-2);
	background: var(--surface-2); border: 1px solid var(--hairline); border-radius: 8px;
	padding: 7px 11px; cursor: pointer; transition: border-color .15s, color .15s, background .15s;
}
.cchip:hover { color: var(--ink); border-color: rgba(255,255,255,.24); background: var(--surface-3); }
.tester-foot { margin: 16px 0 0; font-size: 13px; color: var(--ink-3); text-align: center; }

.connect {
	max-width: 760px; margin: 26px auto 0; text-align: center;
}
.connect h3 { font-size: 19px; margin: 0 0 8px; letter-spacing: -.01em; }
.connect p { color: var(--ink-2); font-size: 15px; line-height: 1.7; margin: 0; }
.connect code { font-family: var(--mono); font-size: .9em; color: var(--ink); }

/* ===================== get-started: two paths ===================== */
.paths {
	display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
	max-width: 860px; margin: 40px auto 0;
}
.path {
	background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
	padding: 26px 24px; display: flex; flex-direction: column;
}
.path-hosted { border-color: rgba(59, 130, 246, 0.4); }
.path-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.path-ic {
	width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
	display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2);
}
.path-ic svg { width: 21px; height: 21px; }
.path-h b { display: block; font-size: 16px; }
.path-h small { display: block; color: var(--ink-3); font-size: 12.5px; margin-top: 1px; }
.path p { color: var(--ink-2); font-size: 14.5px; line-height: 1.65; margin: 0 0 18px; flex: 1; }
.path p code { font-family: var(--mono); font-size: .88em; color: var(--ink); }
.path-cta { width: 100%; justify-content: center; }
.path-cta svg { width: 18px; height: 18px; margin-right: 8px; }
.path-alt { display: flex; gap: 16px; justify-content: center; margin-top: 12px; }
.path-alt a { color: var(--ink-3); font-size: 13px; text-decoration: none; }
.path-alt a:hover { color: var(--ink-2); text-decoration: underline; }

@media (max-width: 680px) {
	.paths { grid-template-columns: 1fr; }
}
