/* ============================================================
   agkit — showcase site
   Charte v3.0 · Dark Code Black / Electric Indigo → Neon Pink
   ============================================================ */

:root {
	--bg: #0B0F19;            /* Dark Code Black */
	--panel: #121826;         /* Shadow Grey */
	--panel-2: #161e2e;
	--indigo: #6366f1;        /* Electric Indigo */
	--purple: #a855f7;        /* Cyber Purple */
	--pink: #ec4899;          /* Neon Pink */
	--text: #e7eaf3;
	--muted: #98a2b8;
	--line: rgba(99, 102, 241, 0.22);
	--line-soft: rgba(99, 102, 241, 0.12);
	--grad: linear-gradient(120deg, var(--indigo), var(--purple), var(--pink));
	--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	--radius: 14px;
	--container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img, svg { max-width: 100%; height: auto; }

code {
	font-family: var(--font-mono);
	font-size: 0.9em;
	background: rgba(99, 102, 241, 0.12);
	border: 1px solid var(--line-soft);
	border-radius: 6px;
	padding: 0.1em 0.4em;
	color: #c9cdff;
	white-space: nowrap;
}

a { color: inherit; }

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.container-narrow { max-width: 820px; }

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--panel);
	color: var(--text);
	padding: 10px 18px;
	border-radius: 0 0 10px 0;
	z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Typography helpers ---------- */

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }

h2 code { font-size: 0.85em; vertical-align: 2px; }

.grad-text {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--purple);
	margin: 0 0 14px;
}

.kicker-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--grad);
	box-shadow: 0 0 12px var(--purple);
	animation: kicker-pulse 2.4s ease-in-out infinite;
}

@keyframes kicker-pulse {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.35); opacity: 0.7; }
}

.section-sub {
	color: var(--muted);
	font-size: 1.06rem;
	max-width: 640px;
	margin: 0 0 44px;
}

.note {
	color: var(--muted);
	font-size: 0.95rem;
	margin-top: 22px;
	text-align: center;
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
	white-space: nowrap;
}

.btn-sm { padding: 8px 16px; font-size: 0.88rem; }

.btn-primary {
	background: var(--grad);
	background-size: 160% 160%;
	color: #fff;
	box-shadow: 0 4px 22px rgba(168, 85, 247, 0.35);
}
.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 30px rgba(236, 72, 153, 0.45);
	background-position: 100% 0;
}

.btn-ghost {
	border: 1px solid var(--line);
	color: var(--text);
	background: rgba(18, 24, 38, 0.6);
}
.btn-ghost:hover {
	border-color: var(--purple);
	box-shadow: 0 0 18px rgba(168, 85, 247, 0.25);
	transform: translateY(-2px);
}

/* ---------- Nav ---------- */

.nav {
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	background: rgba(11, 15, 25, 0.78);
	border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
	display: flex;
	align-items: center;
	gap: 28px;
	height: 64px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	margin-right: auto;
}

.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }

.brand-name {
	font-weight: 900;
	font-size: 1.25rem;
	letter-spacing: -0.03em;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.nav-links {
	display: flex;
	gap: 22px;
}

.nav-links a {
	color: var(--muted);
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 500;
	transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }

.nav-cta { display: flex; gap: 10px; }

/* ---------- Hero ---------- */

.hero {
	position: relative;
	padding: 84px 0 40px;
	overflow: hidden;
}

.hero-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(110px);
	opacity: 0.32;
	pointer-events: none;
}
.hero-glow-a {
	width: 520px; height: 520px;
	background: var(--indigo);
	top: -180px; left: -140px;
	animation: drift-a 16s ease-in-out infinite alternate;
}
.hero-glow-b {
	width: 460px; height: 460px;
	background: var(--pink);
	bottom: -200px; right: -120px;
	animation: drift-b 18s ease-in-out infinite alternate;
}

@keyframes drift-a { to { transform: translate(70px, 50px) scale(1.12); } }
@keyframes drift-b { to { transform: translate(-60px, -40px) scale(1.08); } }

.hero-inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: center;
	gap: 40px;
}

.hero-sub {
	color: var(--muted);
	font-size: 1.13rem;
	max-width: 540px;
	margin: 0 0 30px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

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

.hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	list-style: none;
	padding: 0;
	margin: 30px 0 0;
	color: var(--muted);
	font-size: 0.86rem;
}

.hero-badges li {
	display: flex;
	align-items: center;
	gap: 7px;
}

.hero-badges li::before {
	content: "";
	width: 5px; height: 5px;
	border-radius: 50%;
	background: var(--grad);
	flex-shrink: 0;
}

/* ---------- Install box ---------- */

.install-box {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 13px 15px 13px 18px;
	font-family: var(--font-mono);
	font-size: 0.98rem;
	margin: 0 0 26px;
	box-shadow: 0 0 0 1px rgba(11, 15, 25, 0.6), 0 12px 34px rgba(0, 0, 0, 0.4);
	max-width: 100%;
}

.install-box::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: 13px;
	padding: 1px;
	background: var(--grad);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0.55;
	pointer-events: none;
}

.install-box code {
	background: none;
	border: none;
	padding: 0;
	color: var(--text);
	font-size: inherit;
	overflow-x: auto;
}

.install-prompt {
	color: var(--pink);
	font-weight: 600;
	user-select: none;
}

.install-box-lg { font-size: 1.1rem; padding: 16px 18px 16px 22px; }

.copy-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px; height: 34px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: rgba(99, 102, 241, 0.1);
	color: var(--muted);
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
	flex-shrink: 0;
}
.copy-btn:hover { color: var(--text); border-color: var(--purple); }
.copy-btn .ic-check { display: none; color: #22c55e; }
.copy-btn.copied .ic-copy { display: none; }
.copy-btn.copied .ic-check { display: block; }

/* ---------- Hero art / monolith animations ---------- */

.hero-art { display: flex; justify-content: center; }

.monolith {
	width: min(100%, 520px);
	filter: drop-shadow(0 0 40px rgba(99, 102, 241, 0.18));
}

.monolith .cursor {
	animation: blink 1.25s steps(2, jump-none) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.monolith .chevron {
	stroke-dasharray: 100;
	stroke-dashoffset: 100;
	animation: draw-chevron 1.4s ease-out 0.5s forwards;
}

@keyframes draw-chevron { to { stroke-dashoffset: 0; } }

.monolith .hook {
	animation: hook-glow 3s ease-in-out infinite;
}

@keyframes hook-glow {
	0%, 100% { opacity: 0.45; }
	50% { opacity: 1; }
}

.monolith .pod {
	animation: pod-float 7s ease-in-out infinite;
	transform-origin: center;
}
.monolith .pod-a { animation-duration: 6.4s; }
.monolith .pod-b { animation-duration: 7.6s; animation-delay: -2.2s; }
.monolith .pod-c { animation-duration: 8.4s; animation-delay: -4.5s; }

@keyframes pod-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-16px); }
}

.monolith .pt {
	animation: rise 6s linear infinite;
	opacity: 0;
}
.monolith .pt-1 { animation-delay: 0s; }
.monolith .pt-2 { animation-delay: 1.1s; }
.monolith .pt-3 { animation-delay: 2.3s; }
.monolith .pt-4 { animation-delay: 3.2s; }
.monolith .pt-5 { animation-delay: 4.1s; }
.monolith .pt-6 { animation-delay: 5s; }

@keyframes rise {
	0% { transform: translateY(0); opacity: 0; }
	12% { opacity: 0.85; }
	80% { opacity: 0.25; }
	100% { transform: translateY(-130px); opacity: 0; }
}

.monolith .dock-ring {
	transform-origin: 308px 396px;
	animation: dock-pulse 6s ease-out infinite;
	opacity: 0;
}

@keyframes dock-pulse {
	0%, 68% { transform: scale(0.4); opacity: 0; }
	72% { opacity: 0.9; }
	88% { transform: scale(2.1); opacity: 0; }
	100% { opacity: 0; }
}

/* ---------- Agents strip ---------- */

.strip {
	border-top: 1px solid var(--line-soft);
	border-bottom: 1px solid var(--line-soft);
	background: rgba(18, 24, 38, 0.45);
	padding: 22px 0;
}

.strip-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 34px;
	flex-wrap: wrap;
}

.strip-group {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.strip-label {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--muted);
	white-space: nowrap;
}

.strip-list {
	display: flex;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.strip-list li {
	font-size: 0.88rem;
	font-weight: 600;
	padding: 5px 14px;
	border: 1px solid var(--line-soft);
	border-radius: 100px;
	background: rgba(11, 15, 25, 0.5);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	white-space: nowrap;
}

.strip-list li:hover {
	border-color: var(--purple);
	box-shadow: 0 0 14px rgba(168, 85, 247, 0.25);
}

.strip-sep {
	width: 1px;
	height: 30px;
	background: var(--line);
}

/* ---------- Sections ---------- */

.section { padding: 104px 0; }

.section-alt {
	background:
		radial-gradient(ellipse 60% 50% at 50% 0%, rgba(99, 102, 241, 0.06), transparent),
		var(--bg);
	border-top: 1px solid var(--line-soft);
	border-bottom: 1px solid var(--line-soft);
}

/* ---------- Feature cards ---------- */

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 22px;
}

.card {
	position: relative;
	background: var(--panel);
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	padding: 28px 26px;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
	overflow: hidden;
}

.card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(168, 85, 247, 0.09), transparent 60%);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.card:hover {
	transform: translateY(-4px);
	border-color: var(--line);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(99, 102, 241, 0.12);
}
.card:hover::after { opacity: 1; }

.card-icon {
	width: 46px;
	height: 46px;
	margin-bottom: 18px;
	filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.35));
}

.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- Pipeline ---------- */

.pipeline-wrap {
	overflow-x: auto;
	margin: 0 -24px 40px;
	padding: 10px 24px;
	-webkit-overflow-scrolling: touch;
}

.pipeline {
	min-width: 780px;
	width: 100%;
	display: block;
}

.pipe-node rect {
	fill: rgba(18, 24, 38, 0.92);
	stroke: var(--line);
	stroke-width: 1.2;
	transition: stroke 0.2s ease;
}

.pipe-node-hero rect { stroke: url(#pipeGrad); stroke-width: 1.6; }

.pipe-node:hover rect { stroke: var(--purple); }

.pipe-t-label { fill: #98a2b8; font-family: var(--font-sans); font-size: 13px; }
.pipe-t-strong { fill: #e7eaf3; font-family: var(--font-sans); font-size: 14px; font-weight: 600; }
.pipe-t-mono { fill: #c9cdff; font-family: var(--font-mono); font-size: 13.5px; }
.pipe-t-small { fill: #7c869d; font-family: var(--font-sans); font-size: 12.5px; }

.pipe-line {
	stroke-dasharray: 6 7;
	animation: dash-flow 1.1s linear infinite;
	opacity: 0.65;
}

@keyframes dash-flow { to { stroke-dashoffset: -13; } }

.gear {
	animation: gear-spin 7s linear infinite;
	transform-box: fill-box;
	transform-origin: center;
}

@keyframes gear-spin { to { rotate: 360deg; } }

/* ---------- Duo cards (native / generated) ---------- */

.duo {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 22px;
}

.duo-card {
	background: var(--panel);
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	padding: 26px 26px 22px;
	position: relative;
}

.duo-dot {
	position: absolute;
	top: 30px;
	right: 26px;
	width: 10px; height: 10px;
	border-radius: 50%;
}
.duo-dot-green { background: #22c55e; box-shadow: 0 0 12px #22c55e; }
.duo-dot-grad { background: var(--grad); box-shadow: 0 0 12px var(--purple); }
.duo-dot-amber { background: #f59e0b; box-shadow: 0 0 12px #f59e0b; }

.duo-card-muted { border-style: dashed; border-color: var(--line); }

.duo-card h3 { margin-bottom: 8px; padding-right: 30px; }
.duo-card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- Article / prose pages ---------- */
.prose p { color: #c3cadb; margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); }
.prose a {
	color: #a9b1ff;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: rgba(99, 102, 241, 0.5);
}
.prose a:hover { color: #fff; text-decoration-color: var(--purple); }
.prose .note { text-align: left; }
.prose .duo { margin: 26px 0; }

.crumbs {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--muted);
	margin-bottom: 18px;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { margin: 0 8px; opacity: 0.5; }

.lede { font-size: 1.18rem; color: var(--text) !important; margin: 0 0 24px; }

.prose-table-wrap {
	overflow-x: auto;
	margin: 0 0 22px;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
}
.prose-table {
	border-collapse: collapse;
	width: 100%;
	min-width: 560px;
	font-size: 0.93rem;
}
.prose-table th,
.prose-table td {
	text-align: left;
	padding: 12px 16px;
	border-bottom: 1px solid var(--line-soft);
	vertical-align: top;
}
.prose-table thead th {
	background: var(--panel);
	color: var(--text);
	font-weight: 700;
	white-space: nowrap;
}
.prose-table td { color: var(--muted); }
.prose-table tbody tr:last-child td { border-bottom: none; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Terminal ---------- */

.terminal {
	background: #0a0e17;
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow: hidden;
	max-width: 860px;
	margin: 0 auto;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 40px rgba(99, 102, 241, 0.08);
}

.terminal-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	background: var(--panel);
	border-bottom: 1px solid var(--line-soft);
}

.tl { width: 12px; height: 12px; border-radius: 50%; }
.tl-r { background: #f87171; }
.tl-y { background: #fbbf24; }
.tl-g { background: #34d399; }

.terminal-title {
	margin-left: 10px;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	color: var(--muted);
}

.terminal-body {
	padding: 22px 24px 26px;
	font-family: var(--font-mono);
	font-size: 0.92rem;
	line-height: 2.05;
	overflow-x: auto;
}

.tline { white-space: nowrap; }

.tline[data-type="out"] { color: var(--muted); }

.tp { color: var(--pink); font-weight: 600; }
.tp-claude { color: var(--purple); }
.tc { color: var(--text); }
.tcm { color: #5b657c; }

.tline-install {
	margin-top: 10px;
	padding-top: 12px;
	border-top: 1px dashed var(--line-soft);
	color: var(--text) !important;
}

/* Typing animation states (JS adds .term-animate to #term) */
.term-animate .tline { visibility: hidden; }
.term-animate .tline.shown { visibility: visible; }
.term-animate .tline.typing::after {
	content: "▌";
	color: var(--pink);
	animation: blink 0.9s steps(2, jump-none) infinite;
}

/* ---------- Commands grid ---------- */

.cmd-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
	gap: 18px;
}

.cmd {
	background: var(--panel);
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	padding: 22px;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.cmd:hover { border-color: var(--line); transform: translateY(-3px); }

.cmd h3 { font-size: 1rem; margin-bottom: 8px; }
.cmd h3 code {
	background: rgba(99, 102, 241, 0.14);
	color: #d6d9ff;
	font-size: 0.95em;
}
.cmd p { color: var(--muted); font-size: 0.9rem; margin: 0; }

.cmd-more {
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border-style: dashed;
}
.cmd-more a {
	color: var(--purple);
	font-weight: 600;
	text-decoration: none;
	font-size: 0.95rem;
}
.cmd-more a:hover { color: var(--pink); }

/* ---------- Plugin modes ---------- */

.modes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 22px;
}

.mode {
	background: var(--panel);
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	padding: 26px;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, border-color 0.25s ease;
}

.mode:hover { transform: translateY(-4px); border-color: var(--line); }

.mode-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.mode-head h3 { margin: 0; display: flex; align-items: center; gap: 10px; }

.mode-tag {
	font-family: var(--font-mono);
	font-size: 0.62rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #fff;
	background: var(--grad);
	border-radius: 100px;
	padding: 3px 10px;
}

.mode p { color: var(--muted); font-size: 0.93rem; margin: 0 0 18px; flex: 1; }

.mode-code {
	background: #0a0e17;
	border: 1px solid var(--line-soft);
	border-radius: 10px;
	padding: 12px 16px;
	margin: 0;
	overflow-x: auto;
}

.mode-code code {
	background: none;
	border: none;
	padding: 0;
	color: #c9cdff;
	font-size: 0.84rem;
	/* The global `code` rule sets nowrap, which would collapse newlines in multi-line blocks. */
	white-space: pre;
}

/* ---------- FAQ ---------- */

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-list details {
	background: var(--panel);
	border: 1px solid var(--line-soft);
	border-radius: 12px;
	transition: border-color 0.2s ease;
}

.faq-list details[open] { border-color: var(--line); }

.faq-list summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	cursor: pointer;
	list-style: none;
	padding: 18px 22px;
	font-weight: 600;
	font-size: 1rem;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-chev {
	flex-shrink: 0;
	width: 10px; height: 10px;
	border-right: 2px solid var(--purple);
	border-bottom: 2px solid var(--purple);
	transform: rotate(45deg);
	transition: transform 0.25s ease;
}

.faq-list details[open] .faq-chev { transform: rotate(225deg); }

.faq-list details p {
	margin: 0;
	padding: 0 22px 20px;
	color: var(--muted);
	font-size: 0.95rem;
}

/* ---------- CTA ---------- */

.cta {
	position: relative;
	padding: 110px 0;
	text-align: center;
	overflow: hidden;
}

.cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 55% 65% at 50% 100%, rgba(168, 85, 247, 0.13), transparent);
	pointer-events: none;
}

.cta-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.cta-mark {
	width: 92px;
	height: 92px;
	margin-bottom: 16px;
	filter: drop-shadow(0 0 26px rgba(168, 85, 247, 0.45));
}

.cta-mark .cursor { animation: blink 1.25s steps(2, jump-none) infinite; }

.cta .install-box { margin: 18px 0 26px; }
.cta .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */

.footer {
	border-top: 1px solid var(--line-soft);
	padding: 46px 0;
	background: rgba(10, 14, 23, 0.7);
}

.footer-inner {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1.2fr;
	gap: 32px;
	align-items: start;
}

.footer-brand {
	display: flex;
	gap: 14px;
	align-items: center;
}

.footer-brand img { border-radius: 9px; }
.footer-brand strong { font-size: 1.05rem; }
.footer-brand p { margin: 2px 0 0; color: var(--muted); font-size: 0.85rem; }

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.footer-links a {
	color: var(--muted);
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.15s ease;
	width: fit-content;
}
.footer-links a:hover { color: var(--text); }

.footer-meta { text-align: right; }
.footer-meta p { margin: 0 0 6px; color: var(--muted); font-size: 0.85rem; }
.footer-meta a { color: var(--purple); text-decoration: none; }
.footer-disclaimer { font-size: 0.76rem !important; opacity: 0.75; max-width: 320px; margin-left: auto !important; }

/* ---------- Scroll reveal ---------- */

.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
	opacity: 1;
	transform: none;
}

/* No-JS fallback: everything visible */
.no-observer .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
	.nav-links { display: none; }

	.hero { padding: 56px 0 30px; }

	.hero-inner {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.hero-copy { display: flex; flex-direction: column; align-items: center; }
	.hero-sub { max-width: 580px; }
	.hero-actions { justify-content: center; }
	.hero-art { order: -1; }
	.monolith { width: min(78%, 380px); }

	.section { padding: 72px 0; }

	.footer-inner { grid-template-columns: 1fr; text-align: center; }
	.footer-brand { justify-content: center; }
	.footer-links { align-items: center; }
	.footer-meta { text-align: center; }
	.footer-disclaimer { margin: 0 auto !important; }
}

@media (max-width: 560px) {
	.nav-inner { gap: 14px; }
	.btn-sm { padding: 7px 12px; }

	.install-box {
		width: 100%;
		font-size: 0.86rem;
	}

	.terminal-body { font-size: 0.78rem; padding: 16px 14px 20px; }

	.strip-sep { display: none; }
}

/* ---------- Reduced motion ---------- */

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

	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.reveal { opacity: 1; transform: none; }
	.monolith .chevron { stroke-dashoffset: 0; animation: none; }
	.monolith .pt { opacity: 0; }
	.monolith .dock-ring { opacity: 0; }
	.term-animate .tline { visibility: visible; }
}
