/* Pixl — site styles.
 *
 * One dark theme, deliberately: the logo is a lit gradient on near-black and
 * a light version of it looks like a mistake. Colours come from the logo
 * itself — cyan through blue to magenta — used as an accent line rather than
 * as fill, so the interface screenshots stay the loudest thing on the page.
 */

:root {
	--bg: #0b0c10;
	--bg-1: #101218;
	--bg-2: #161921;
	--bg-3: #1d212a;
	--line: #23262f;
	--line-soft: #1a1d25;

	--text: #e9eaed;
	--dim: #9aa1ac;
	--faint: #6a707b;

	--cyan: #22d3ee;
	--blue: #5b7cfa;
	--violet: #a855f7;
	--magenta: #e935e9;
	--grad: linear-gradient(120deg, var(--cyan), var(--blue) 45%, var(--magenta));

	--ok: #3ecf8e;
	--warn: #e0a63e;

	--radius: 10px;
	--radius-lg: 16px;
	--wrap: 1120px;

	color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

/* A single wash of colour behind the top of every page, so the logo's palette
   is present without tinting the content itself. */
body::before {
	content: "";
	position: fixed;
	inset: -20% 0 auto 0;
	height: 620px;
	background:
		radial-gradient(60% 60% at 22% 30%, rgba(91, 124, 250, .16), transparent 70%),
		radial-gradient(50% 50% at 78% 20%, rgba(233, 53, 233, .12), transparent 70%);
	pointer-events: none;
	z-index: 0;
}

img { max-width: 100%; }

a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 650; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.5rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

code, pre, kbd {
	font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}
code {
	font-size: .875em;
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: 5px;
	padding: .1em .38em;
	color: #cfd4dc;
}
pre {
	background: var(--bg-1);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 14px 16px;
	overflow-x: auto;
	font-size: .85rem;
	line-height: 1.65;
	margin: 0 0 1.2em;
}
pre code { background: none; border: 0; padding: 0; font-size: inherit; }

kbd {
	display: inline-block;
	background: var(--bg-3);
	border: 1px solid var(--line);
	border-bottom-width: 2px;
	border-radius: 5px;
	padding: .1em .45em;
	font-size: .8em;
	color: #dfe3e9;
	white-space: nowrap;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ---------- header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(11, 12, 16, .78);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap {
	display: flex;
	align-items: center;
	gap: 22px;
	height: 62px;
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 650; font-size: 1.05rem; letter-spacing: -.02em; }
.brand img { width: 26px; height: 26px; display: block; }

.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { color: var(--dim); font-size: .93rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

.nav-toggle { display: none; }

/* ---------- buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 8px;
	border: 1px solid var(--line);
	background: var(--bg-2);
	color: var(--text);
	font-size: .95rem;
	font-weight: 550;
	cursor: pointer;
	transition: background .15s, border-color .15s, transform .1s;
}
.btn:hover { background: var(--bg-3); border-color: #2f333d; color: #fff; }
.btn:active { transform: translateY(1px); }

.btn-primary {
	background: var(--grad);
	border: 0;
	color: #08090c;
	font-weight: 650;
}
.btn-primary:hover { color: #08090c; filter: brightness(1.08); }

.btn-sm { padding: 7px 14px; font-size: .875rem; }
.btn-lg { padding: 13px 26px; font-size: 1rem; }

/* ---------- hero ---------- */

.hero { padding: 90px 0 40px; text-align: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lede { font-size: 1.16rem; color: var(--dim); max-width: 620px; margin: 0 auto 1.9em; }
.grad-text {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: .85rem; color: var(--faint); }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 13px 5px 6px;
	border: 1px solid var(--line);
	background: var(--bg-1);
	border-radius: 100px;
	font-size: .8rem;
	color: var(--dim);
	margin-bottom: 26px;
}
.eyebrow b {
	background: var(--grad);
	color: #08090c;
	font-weight: 650;
	border-radius: 100px;
	padding: 1px 9px;
	font-size: .72rem;
	letter-spacing: .02em;
	text-transform: uppercase;
}

/* ---------- pipeline diagram ---------- */

.pipeline {
	display: grid;
	grid-template-columns: 1fr auto 1fr auto 1fr;
	align-items: stretch;
	gap: 14px;
	margin: 56px 0 20px;
	text-align: left;
}
.pipe-card {
	background: var(--bg-1);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.pipe-card.is-focus { border-color: #2c3350; box-shadow: 0 0 0 1px rgba(91,124,250,.18), 0 18px 50px -22px rgba(91,124,250,.5); }
.pipe-head {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 13px;
	border-bottom: 1px solid var(--line);
	background: var(--bg-2);
	font-size: .78rem;
	color: var(--dim);
}
.pipe-head .dotrow { display: flex; gap: 4px; margin-right: 3px; }
.pipe-head .dotrow i { width: 8px; height: 8px; border-radius: 50%; background: #2c313b; display: block; }
.pipe-body { padding: 11px 8px; font-size: .8rem; flex: 1; }

.tree { list-style: none; margin: 0; padding: 0; }
.tree li { padding: 3px 6px; border-radius: 5px; display: flex; align-items: center; gap: 7px; color: #c3c8d1; white-space: nowrap; overflow: hidden; }
.tree li .ico { color: var(--faint); font-size: .78em; width: 13px; text-align: center; flex: none; }
.tree li.d1 { padding-left: 18px; }
.tree li.d2 { padding-left: 32px; }
.tree li.sel { background: #1c2340; color: #d5e0ff; }
.tree li .tag { margin-left: auto; color: var(--faint); font-size: .72rem; padding-left: 8px; }

.pipe-arrow { display: flex; align-items: center; justify-content: center; color: #333844; font-size: 1.2rem; }

/* The middle card shows a design rather than a list, so it needs a stage. */
.mini-stage {
	position: relative;
	background:
		repeating-conic-gradient(#14161c 0% 25%, #101218 0% 50%) 50% / 16px 16px;
	border-radius: 8px;
	height: 100%;
	min-height: 148px;
	overflow: hidden;
}
.mini-panel { position: absolute; inset: 14px; background: #171b24; border: 1px solid #262b36; border-radius: 8px; }
.mini-bar { position: absolute; left: 24px; right: 24px; top: 26px; height: 16px; border-radius: 4px; background: var(--grad); opacity: .85; }
.mini-line { position: absolute; left: 24px; height: 7px; border-radius: 3px; background: #2b303b; }
.mini-btn { position: absolute; left: 24px; bottom: 26px; width: 74px; height: 20px; border-radius: 5px; background: #2a3040; }
.mini-handle { position: absolute; width: 7px; height: 7px; background: var(--cyan); border-radius: 1px; }
.mini-guide { position: absolute; background: var(--magenta); opacity: .8; }

/* ---------- generic sections ---------- */

section { padding: 60px 0; position: relative; z-index: 1; }
.section-head { max-width: 660px; margin-bottom: 38px; }
.section-head p { color: var(--dim); margin: 0; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.rule { border: 0; border-top: 1px solid var(--line-soft); margin: 0; }

/* ---------- steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
	background: var(--bg-1);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 24px;
}
.step .num {
	display: inline-grid;
	place-items: center;
	width: 28px; height: 28px;
	border-radius: 8px;
	background: var(--bg-3);
	border: 1px solid var(--line);
	font-size: .82rem;
	font-weight: 650;
	color: var(--dim);
	margin-bottom: 14px;
}
.step h3 { margin-bottom: .35em; }
.step p { color: var(--dim); font-size: .93rem; margin: 0; }

/* ---------- feature grid ---------- */

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

.card {
	background: var(--bg-1);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 22px;
}
.card h3 { margin-bottom: .4em; display: flex; align-items: center; gap: 9px; }
.card p { color: var(--dim); font-size: .93rem; margin: 0; }
.card .ico {
	width: 30px; height: 30px;
	display: grid; place-items: center;
	border-radius: 8px;
	background: var(--bg-3);
	border: 1px solid var(--line);
	flex: none;
}
.card .ico svg { width: 16px; height: 16px; stroke: var(--dim); fill: none; stroke-width: 1.6; }

/* ---------- tables ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-1); }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th { color: var(--dim); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; background: var(--bg-2); }
tr:last-child td { border-bottom: 0; }
td code { white-space: nowrap; }

/* ---------- split feature ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split ul { margin: 0; padding-left: 0; list-style: none; }
.split li { padding: 7px 0 7px 26px; position: relative; color: var(--dim); font-size: .95rem; }
.split li::before {
	content: "";
	position: absolute;
	left: 0; top: 15px;
	width: 12px; height: 2px;
	border-radius: 2px;
	background: var(--grad);
}
.split li b { color: var(--text); font-weight: 600; }

/* ---------- callouts ---------- */

.note {
	border: 1px solid var(--line);
	border-left: 2px solid var(--blue);
	background: var(--bg-1);
	border-radius: 0 var(--radius) var(--radius) 0;
	padding: 14px 18px;
	margin: 0 0 1.4em;
	font-size: .93rem;
	color: var(--dim);
}
.note.warn { border-left-color: var(--warn); }
.note strong { color: var(--text); }
.note :last-child { margin-bottom: 0; }

/* ---------- download page ---------- */

.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.dl-card {
	background: var(--bg-1);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 26px;
	display: flex;
	flex-direction: column;
}
.dl-card .os { display: flex; align-items: center; gap: 11px; margin-bottom: 4px; }
.dl-card .os svg { width: 22px; height: 22px; fill: var(--dim); }
.dl-card .os h3 { margin: 0; font-size: 1.15rem; }
.dl-card .meta { color: var(--faint); font-size: .82rem; margin-bottom: 18px; }
.dl-card ul { list-style: none; margin: 0 0 20px; padding: 0; }
.dl-card ul li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: .9rem; }
.dl-card ul li:last-child { border-bottom: 0; }
.dl-card ul li span { color: var(--faint); font-size: .82rem; white-space: nowrap; }
.dl-card .btn { margin-top: auto; }

.badge {
	display: inline-block;
	padding: 2px 9px;
	border-radius: 100px;
	font-size: .74rem;
	background: var(--bg-3);
	border: 1px solid var(--line);
	color: var(--dim);
}

/* ---------- docs layout ---------- */

.docs { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 52px; align-items: start; padding: 44px 0 90px; }

.toc { position: sticky; top: 86px; max-height: calc(100vh - 110px); overflow-y: auto; font-size: .9rem; }
.toc h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); margin: 22px 0 8px; font-weight: 600; }
.toc h4:first-child { margin-top: 0; }
.toc a { display: block; padding: 5px 0 5px 12px; color: var(--dim); border-left: 1px solid var(--line); }
.toc a:hover { color: var(--text); border-left-color: #39404d; }
.toc a.active { color: var(--text); border-left-color: var(--blue); }

.doc-body { max-width: 780px; }
.doc-body h2 {
	margin-top: 58px;
	padding-top: 26px;
	border-top: 1px solid var(--line-soft);
}
.doc-body > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.doc-body h3 { margin-top: 34px; color: #dfe3e9; }
.doc-body p, .doc-body li { color: #b9bfc9; }
.doc-body ul, .doc-body ol { padding-left: 22px; margin: 0 0 1.2em; }
.doc-body li { margin-bottom: .45em; }
.doc-body li::marker { color: var(--faint); }
.doc-body strong { color: var(--text); font-weight: 600; }
.doc-body .table-wrap { margin-bottom: 1.4em; }
.doc-body a:not(.btn) { color: #8fa8ff; }
.doc-body a:not(.btn):hover { text-decoration: underline; }

.lead { font-size: 1.08rem; color: var(--dim); }

.page-head { padding: 54px 0 8px; }
.page-head h1 { margin-bottom: .25em; }
.page-head p { color: var(--dim); font-size: 1.08rem; max-width: 640px; margin: 0; }

/* ---------- cta ---------- */

.cta {
	background: var(--bg-1);
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 52px 40px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.cta::after {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 2px;
	background: var(--grad);
}
.cta h2 { margin-bottom: .35em; }
.cta p { color: var(--dim); max-width: 480px; margin: 0 auto 1.8em; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line-soft); padding: 40px 0; margin-top: 30px; position: relative; z-index: 1; }
.site-footer .wrap { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.site-footer .brand { font-size: .95rem; }
.site-footer nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.site-footer a, .site-footer small { color: var(--faint); font-size: .87rem; }
.site-footer a:hover { color: var(--text); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
	.pipeline { grid-template-columns: 1fr; }
	.pipe-arrow { transform: rotate(90deg); padding: 2px 0; }
	.steps, .grid-3, .grid-2, .dl-grid { grid-template-columns: 1fr; }
	.split { grid-template-columns: 1fr; gap: 26px; }
	.docs { grid-template-columns: 1fr; gap: 26px; }
	.toc {
		position: static;
		max-height: none;
		background: var(--bg-1);
		border: 1px solid var(--line);
		border-radius: var(--radius-lg);
		padding: 18px 20px;
	}
	.nav { gap: 16px; }
	.nav .btn { padding: 7px 13px; font-size: .85rem; }
}

@media (max-width: 560px) {
	.wrap { padding: 0 18px; }
	.hero { padding: 56px 0 24px; }
	.nav a.hide-sm { display: none; }
	.cta { padding: 36px 22px; }
	section { padding: 44px 0; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* ---------- animator mock ---------- */

/* A small still of the timeline. Tracks are a grid so the labels line up, and
   the playhead is one element spanning the whole thing rather than a line
   drawn per row. */
.mock-timeline {
	position: relative;
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 8px 10px;
	align-items: center;
	padding: 14px;
	font-size: .78rem;
	color: var(--dim);
}
.mock-timeline .track {
	position: relative;
	height: 20px;
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: 4px;
}
.mock-timeline .key {
	position: absolute;
	top: 5px;
	width: 8px;
	height: 8px;
	transform: rotate(45deg);
	border-radius: 1px;
	background: var(--cyan);
}
.mock-timeline .key.violet { background: var(--violet); }
.mock-timeline .key.magenta { background: var(--magenta); }
.mock-timeline .event { position: absolute; top: 2px; color: var(--warn); font-size: .8rem; }

/* Spans every track, so it stays right if a track is added or removed. */
.mock-playhead {
	position: absolute;
	top: 12px;
	bottom: 28px;
	width: 1px;
	background: var(--magenta);
	opacity: .75;
	pointer-events: none;
}
.mock-playhead::before {
	content: "";
	position: absolute;
	top: -4px;
	left: -4px;
	border: 4px solid transparent;
	border-top-color: var(--magenta);
}
.mock-ruler { display: flex; justify-content: space-between; font-size: .7rem; color: var(--faint); }

/* ---------- side-by-side comparison ---------- */

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare-col {
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 24px 26px;
	background: var(--bg-1);
}
.compare-col.after { border-color: #2c3350; box-shadow: 0 0 0 1px rgba(91,124,250,.14); }
.compare-col h3 { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; font-size: 1rem; }
.compare-col h3 .tagline { font-size: .75rem; font-weight: 500; color: var(--faint); margin-left: auto; }
.compare-col ol { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.compare-col li {
	counter-increment: s;
	position: relative;
	padding: 8px 0 8px 30px;
	font-size: .93rem;
	color: var(--dim);
	border-bottom: 1px solid var(--line-soft);
}
.compare-col li:last-child { border-bottom: 0; }
.compare-col li::before {
	content: counter(s);
	position: absolute;
	left: 0; top: 9px;
	width: 19px; height: 19px;
	display: grid; place-items: center;
	border-radius: 5px;
	background: var(--bg-3);
	border: 1px solid var(--line);
	font-size: .68rem;
	color: var(--faint);
}
.compare-col.after li::before { background: var(--grad); border: 0; color: #08090c; font-weight: 700; }
.compare-col.after li { color: #c9cfd8; }
.compare-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--faint); }
.compare-col.after .compare-foot { color: var(--text); }

/* ---------- pricing ---------- */

.price-card {
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--bg-1);
	overflow: hidden;
	display: grid;
	grid-template-columns: 1fr 1.15fr;
}
.price-main { padding: 40px; border-right: 1px solid var(--line); }
.price-tag { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.price-tag .amount { font-size: 3.2rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.price-tag .per { color: var(--faint); font-size: .95rem; }
.price-main .sub { color: var(--dim); font-size: .95rem; margin: 0 0 26px; }
.price-main .btn { width: 100%; }
.price-main .fineprint { margin: 14px 0 0; font-size: .82rem; color: var(--faint); text-align: center; }

.price-list { padding: 40px; }
.price-list h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); margin: 0 0 16px; font-weight: 600; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 7px 0 7px 28px; font-size: .95rem; color: var(--dim); }
.checks li b { color: var(--text); font-weight: 600; }
.checks li::before {
	content: "";
	position: absolute;
	left: 2px; top: 14px;
	width: 11px; height: 6px;
	border-left: 2px solid var(--cyan);
	border-bottom: 2px solid var(--cyan);
	transform: rotate(-45deg);
}

/* ---------- faq ---------- */

.faq { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-1); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
	cursor: pointer;
	padding: 16px 22px;
	font-weight: 550;
	font-size: .97rem;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 14px;
	transition: background .15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--bg-2); }
.faq summary::after {
	content: "";
	margin-left: auto;
	flex: none;
	width: 8px; height: 8px;
	border-right: 1.5px solid var(--faint);
	border-bottom: 1.5px solid var(--faint);
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details[open] summary { color: #fff; }
.faq .answer { padding: 0 22px 18px; color: var(--dim); font-size: .93rem; }
.faq .answer :last-child { margin-bottom: 0; }
.faq .answer a { color: #8fa8ff; }
.faq .answer a:hover { text-decoration: underline; }

@media (max-width: 900px) {
	.compare, .price-card { grid-template-columns: 1fr; }
	.price-main { border-right: 0; border-bottom: 1px solid var(--line); }
	.price-main, .price-list { padding: 30px 26px; }
}
