/* ==========================================================================
   lain — site
   Editorial/technical direction: flat surfaces, hairline rules, numbered
   spec entries, oversized type, real screenshots. No decorative cards,
   no glass, no gradient text; the accent is the app's own theme color.
   ========================================================================== */

@font-face {
	font-family: "Space Grotesk";
	src: url("assets/fonts/space-grotesk.woff2") format("woff2");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--bg: #07080a;
	--bg-soft: #0b0d11;
	--fg: #e8ecf3;
	--muted: #9aa4b2;
	--dim: #5d6673;
	--line: rgba(255, 255, 255, 0.08);
	--line-strong: rgba(255, 255, 255, 0.16);
	--accent: #7aa2f7;
	--accent-2: #bb9af7;
	--green: #9ece6a;
	--radius: 6px;
	--radius-sm: 4px;
	--max: 1180px;
	--font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "DejaVu Sans Mono", monospace;
}

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

[hidden] {
	display: none !important;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font-display);
	font-size: 16px;
	line-height: 1.6;
	font-weight: 400;
	letter-spacing: -0.005em;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
blockquote,
pre,
figure {
	margin: 0;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

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

canvas {
	display: block;
}

.mono {
	font-family: var(--font-mono);
}

::selection {
	background: rgba(122, 162, 247, 0.35);
	color: #fff;
}

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

.skip {
	position: fixed;
	top: -100px;
	left: 16px;
	z-index: 200;
	padding: 10px 16px;
	background: var(--accent);
	color: #05070b;
	font-weight: 600;
	transition: top 0.2s ease;
}

.skip:focus {
	top: 16px;
}

/* ------------------------------------------------------------ atmosphere */

.grain {
	position: fixed;
	inset: -50%;
	z-index: 90;
	pointer-events: none;
	opacity: 0.045;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: 200px 200px;
	animation: grain-shift 9s steps(6) infinite;
}

@keyframes grain-shift {
	0%, 100% { transform: translate(0, 0); }
	20% { transform: translate(-2%, 1%); }
	40% { transform: translate(1%, -2%); }
	60% { transform: translate(-1%, 2%); }
	80% { transform: translate(2%, -1%); }
}

/* ------------------------------------------------------------- nav -------- */

.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 120;
	background: var(--bg);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s ease;
}

.nav.is-scrolled {
	border-bottom-color: var(--line);
}

.nav-progress {
	position: absolute;
	bottom: -1px;
	left: 0;
	right: 0;
	height: 1px;
	transform: scaleX(0);
	transform-origin: 0 50%;
	background: var(--accent);
}

.nav-inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 24px;
	height: 64px;
	display: flex;
	align-items: center;
	gap: 28px;
}

.brand {
	font-weight: 600;
	font-size: 20px;
	letter-spacing: -0.03em;
}

.brand-cursor {
	color: var(--accent);
	animation: blink 1.15s steps(2, start) infinite;
}

@keyframes blink {
	0%, 49% { opacity: 1; }
	50%, 100% { opacity: 0; }
}

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

.nav-links a {
	font-size: 13.5px;
	color: var(--muted);
	transition: color 0.2s ease;
}

.nav-links a:hover {
	color: var(--fg);
}

.nav-gh {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	color: var(--muted);
	transition: color 0.2s ease;
}

.nav-gh:hover {
	color: var(--fg);
}

.nav-menu {
	display: none;
	margin-left: auto;
	width: 40px;
	height: 40px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--fg);
	padding: 0;
	cursor: pointer;
	position: relative;
}

.nav-menu span {
	position: absolute;
	left: 11px;
	right: 11px;
	top: 17px;
	height: 1.5px;
	background: var(--fg);
	transition: transform 0.25s ease, top 0.25s ease;
}

.nav-menu span:last-child {
	top: 22px;
}

.nav-menu[aria-expanded="true"] span:first-child {
	top: 19.5px;
	transform: rotate(45deg);
}

.nav-menu[aria-expanded="true"] span:last-child {
	top: 19.5px;
	transform: rotate(-45deg);
}

.nav-mobile {
	display: flex;
	flex-direction: column;
	padding: 8px 24px 20px;
	gap: 4px;
	border-bottom: 1px solid var(--line);
	background: var(--bg);
}

.nav-mobile a {
	padding: 11px 12px;
	color: var(--muted);
	font-size: 15px;
}

.nav-mobile a:hover {
	color: var(--fg);
}

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

.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	padding: 120px 24px 90px;
	overflow: hidden;
}

#constellation {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0.7;
}

.hero-grid {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 72px 72px;
	-webkit-mask-image: radial-gradient(ellipse at 32% 40%, #000 18%, transparent 68%);
	mask-image: radial-gradient(ellipse at 32% 40%, #000 18%, transparent 68%);
}

.hero-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var(--max);
	margin: 0 auto;
}

.kicker {
	font-size: 11.5px;
	letter-spacing: 0.2em;
	color: var(--accent);
	margin-bottom: 22px;
}

.wordmark {
	font-size: clamp(5.5rem, 18vw, 14rem);
	line-height: 0.82;
	font-weight: 500;
	letter-spacing: -0.065em;
	margin: 0 0 26px -0.06em;
	display: flex;
	align-items: baseline;
	color: #eef2f8;
}

.wordmark-caret {
	color: var(--accent);
	font-size: 0.55em;
	animation: blink 1.15s steps(2, start) infinite;
	transform: translateY(-0.06em);
}

.mantra {
	font-size: clamp(1.45rem, 3.6vw, 2.5rem);
	line-height: 1.18;
	font-weight: 400;
	letter-spacing: -0.025em;
	color: #dbe2ee;
	margin-bottom: 24px;
}

.mantra em {
	font-style: normal;
	color: var(--accent-2);
}

.lede {
	max-width: 58ch;
	color: var(--muted);
	font-size: 1.02rem;
	margin-bottom: 34px;
}

.lede .mono {
	color: #c3cddd;
	font-size: 0.94em;
}

.cta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 22px;
	margin-bottom: 46px;
}

.btn {
	display: inline-flex;
	align-items: center;
	padding: 12px 22px;
	border-radius: var(--radius-sm);
	background: var(--accent);
	color: #06070b;
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: -0.01em;
	transition: background 0.2s ease;
}

.btn:hover {
	background: #94b4f9;
}

.link {
	color: var(--fg);
	font-size: 14.5px;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.3);
	text-underline-offset: 4px;
	transition: text-decoration-color 0.2s ease, color 0.2s ease;
}

.link:hover {
	color: var(--accent);
	text-decoration-color: var(--accent);
}

.status {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	font-size: 11.5px;
	letter-spacing: 0.06em;
	color: var(--dim);
}

.status li {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

.dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--green);
}

.mono-dim {
	color: var(--dim);
}

.scroll-hint {
	position: absolute;
	bottom: 26px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	font-size: 10.5px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--dim);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.scroll-arrow {
	animation: bob 2.2s ease-in-out infinite;
}

@keyframes bob {
	0%, 100% { transform: translateY(0); opacity: 0.6; }
	50% { transform: translateY(5px); opacity: 1; }
}

/* install command: the real one-liner, first thing in the hero */
.install-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 880px;
	margin-bottom: 28px;
	padding: 12px 8px 12px 16px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--bg-soft);
	font-size: 12.5px;
	color: #c9d4e3;
}

.install-bar code {
	flex: 1;
	min-width: 0;
	white-space: normal;
	overflow-wrap: anywhere;
	font-family: inherit;
}

.install-prompt {
	color: var(--accent);
	flex: none;
}

/* -------------------------------------------------------- manifesto ------- */

.manifesto {
	max-width: var(--max);
	margin: 0 auto;
	padding: 9rem 24px 3rem;
}

.manifesto-lines {
	display: flex;
	flex-direction: column;
	gap: 1.6rem;
}

.line {
	font-size: clamp(1.6rem, 4.6vw, 3.4rem);
	line-height: 1.12;
	letter-spacing: -0.03em;
	font-weight: 500;
	display: flex;
	align-items: baseline;
	gap: 1.1rem;
}

.line-no {
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	color: var(--dim);
	transform: translateY(-0.5em);
	flex: none;
}

.dim {
	color: var(--dim);
}

.hl,
.hl-2 {
	position: relative;
	white-space: nowrap;
}

.hl {
	color: var(--accent);
}

.hl-2 {
	color: var(--accent-2);
}

.hl::after,
.hl-2::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.02em;
	height: 2px;
	background: currentColor;
	opacity: 0.35;
	transform: scaleX(0);
	transform-origin: 0 50%;
	transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s;
}

.line.in-view .hl::after,
.line.in-view .hl-2::after {
	transform: scaleX(1);
}

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

.section {
	max-width: var(--max);
	margin: 0 auto;
	padding: 7.5rem 24px;
	scroll-margin-top: 84px;
}

.section-head {
	max-width: 900px;
	margin-bottom: 3.4rem;
}

.section-index {
	font-size: 12px;
	color: var(--dim);
	margin-bottom: 18px;
}

.section h2 {
	font-size: clamp(2.15rem, 5.4vw, 4.1rem);
	line-height: 1.02;
	letter-spacing: -0.04em;
	font-weight: 500;
	margin-bottom: 20px;
}

.section-lede {
	color: var(--muted);
	max-width: 62ch;
	font-size: 1.02rem;
}

/* ----------------------------------------------------- spec sheet -------- */

.spec {
	border-top: 1px solid var(--line);
}

.spec-entry {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 40px;
	padding: 36px 0;
	border-bottom: 1px solid var(--line);
}

.spec-lead {
	padding-top: 44px;
}

.spec-key h3 {
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: -0.015em;
}

.spec-no {
	display: block;
	font-size: 11px;
	color: var(--accent);
	margin-bottom: 10px;
}

.spec-value > p {
	color: var(--muted);
	max-width: 64ch;
}

.spec-lead .spec-value > p {
	font-size: 1.12rem;
	color: #dbe2ee;
	max-width: 58ch;
}

.spec-value .mono {
	font-size: 0.88em;
	color: #c3cddd;
}

/* figures: flat, hairline, real screenshots */
.figure {
	margin-top: 24px;
	max-width: 760px;
}

.figure img {
	display: block;
	width: 100%;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg-soft);
}

.figure figcaption {
	margin-top: 10px;
	font-size: 10.5px;
	color: var(--dim);
}

/* widgets inside spec entries (functional diagrams, not cards) */
.registry {
	margin-top: 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.registry-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.chip {
	font-family: var(--font-mono);
	font-size: 11px;
	padding: 5px 10px;
	border-radius: 999px;
	border: 1px solid var(--line);
	color: var(--dim);
	transition: color 0.4s ease, border-color 0.4s ease;
}

.chip.is-active {
	color: var(--accent);
	border-color: rgba(122, 162, 247, 0.45);
}

.registry-gen {
	font-size: 11px;
	color: var(--dim);
}

.registry-gen .gen-fence {
	color: #3f4754;
}

#genCount {
	color: var(--green);
}

.range-demo {
	margin-top: 24px;
	max-width: 560px;
}

.range-track {
	position: relative;
	height: 5px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
}

.range-fill {
	display: block;
	height: 100%;
	width: 62%;
	background: var(--accent);
	animation: range-sweep 4.5s ease-in-out infinite;
}

@keyframes range-sweep {
	0%, 100% { width: 40%; }
	50% { width: 86%; }
}

.range-meta {
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
	font-size: 10.5px;
	color: var(--dim);
}

.reg-line {
	margin-top: 22px;
	font-size: 12px;
	color: #c3cddd;
	overflow-wrap: anywhere;
}

.reg-get {
	color: var(--accent);
}

.reg-ok {
	color: var(--green);
}

.reg-dim {
	color: var(--dim);
}

.providers {
	margin-top: 22px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.provider {
	font-size: 12px;
	padding: 5px 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--muted);
}

.provider-merge {
	flex-basis: 100%;
	font-size: 10.5px;
	color: var(--dim);
	margin-top: 2px;
}

.surface-line {
	margin-top: 14px;
	font-size: 11.5px;
	color: var(--dim);
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
}

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

.pipeline {
	position: relative;
	margin: 1rem 0 4rem;
	padding: 3rem 0 1rem;
}

.pipeline-line {
	position: absolute;
	left: 0;
	right: 0;
	top: 3.55rem;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(122, 162, 247, 0.5) 15%, rgba(187, 154, 247, 0.5) 85%, transparent);
}

.pipeline-pulse {
	position: absolute;
	top: -2.5px;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
	animation: travel 6.5s linear infinite;
}

@keyframes travel {
	0% { left: 2%; }
	100% { left: 98%; }
}

.pipeline-steps {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
	position: relative;
}

.pipeline-steps li {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
}

.pipeline-node {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--bg);
	border: 1.5px solid var(--accent);
	margin-bottom: 14px;
}

.pipeline-label {
	font-size: 12px;
	color: #d6dde9;
	letter-spacing: 0.04em;
}

.pipeline-sub {
	font-size: 10.5px;
	color: var(--dim);
	font-family: var(--font-mono);
}

.marquee {
	position: relative;
	overflow: hidden;
	margin: 0 -24px 4rem;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
	display: flex;
	gap: 3rem;
	width: max-content;
	padding: 15px 0;
	animation: marquee 46s linear infinite;
}

.marquee:hover .marquee-track {
	animation-play-state: paused;
}

.marquee-track span {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--dim);
	letter-spacing: 0.06em;
	white-space: nowrap;
}

@keyframes marquee {
	to { transform: translateX(-50%); }
}

.degrade {
	text-align: center;
	max-width: 760px;
	margin: 0 auto;
}

.degrade-quote {
	font-size: clamp(1.25rem, 2.9vw, 1.9rem);
	line-height: 1.35;
	letter-spacing: -0.02em;
	color: #dbe2ee;
	margin-bottom: 18px;
}

.degrade-quote .hl {
	color: var(--accent);
	white-space: normal;
}

.degrade-quote .hl::after {
	display: none;
}

.degrade-note {
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--dim);
}

/* -------------------------------------------------------- install --------- */

.install-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

.tab-buttons {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.tab {
	appearance: none;
	border: 1px solid var(--line);
	background: transparent;
	color: var(--muted);
	font-family: var(--font-display);
	font-size: 13.5px;
	font-weight: 500;
	padding: 8px 15px;
	border-radius: var(--radius-sm);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.tab + .tab {
	margin-left: 6px;
}

.tab:hover {
	color: var(--fg);
	border-color: var(--line-strong);
}

.tab.is-active {
	color: var(--fg);
	border-color: var(--accent);
}

.tab-badge {
	font-size: 9px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
}

.terminal {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--bg-soft);
}

.terminal-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 14px;
	border-bottom: 1px solid var(--line);
}

.terminal-title {
	font-size: 11px;
	color: var(--dim);
}

.copy {
	font-size: 10.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	background: transparent;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 4px 10px;
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.copy:hover {
	color: var(--fg);
	border-color: var(--line-strong);
}

.copy.is-copied {
	color: var(--green);
	border-color: rgba(158, 206, 106, 0.5);
}

.terminal-body {
	min-height: 158px;
	padding: 20px;
	font-size: 12.8px;
	line-height: 1.8;
	color: #c9d4e3;
	white-space: pre-wrap;
	word-break: break-word;
}

.terminal-body .caret {
	display: inline-block;
	width: 8px;
	height: 1.05em;
	margin-left: 2px;
	vertical-align: text-bottom;
	background: var(--accent);
	animation: blink 1.15s steps(2, start) infinite;
}

.terminal-note {
	padding: 0 20px 18px;
	font-size: 11px;
	color: var(--dim);
}

.terminal-note .hl {
	color: var(--accent);
	white-space: normal;
}

.terminal-note .hl::after {
	display: none;
}

.marginalia {
	border-top: 1px solid var(--line);
	padding-top: 20px;
}

.marginalia-title {
	font-size: 10.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--dim);
	margin-bottom: 18px;
}

.marginalia ol {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.marginalia li {
	display: flex;
	gap: 14px;
	align-items: baseline;
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.5;
}

.marginalia li .mono {
	font-size: 0.88em;
	color: #c3cddd;
}

.step-no {
	flex: none;
	font-size: 10.5px;
	color: var(--accent);
}

.marginalia-meta {
	font-size: 10.5px;
	color: var(--dim);
	border-top: 1px solid var(--line);
	padding-top: 16px;
	margin-top: 22px;
}

/* -------------------------------------------------------- desktop --------- */

.desktop-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: 44px;
	align-items: start;
}

.desktop-grid .figure {
	margin-top: 0;
	max-width: none;
}

.desktop-copy {
	display: flex;
	flex-direction: column;
	gap: 26px;
	align-items: flex-start;
}

.plain-list {
	border-top: 1px solid var(--line);
	width: 100%;
}

.plain-list > div {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.plain-list dt {
	font-size: 10.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	padding-top: 3px;
}

.plain-list dd {
	color: var(--muted);
	font-size: 0.94rem;
}

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

.footer {
	border-top: 1px solid var(--line);
	padding: 0 24px 32px;
	overflow: hidden;
}

.footer-word {
	font-size: clamp(6rem, 24vw, 19rem);
	line-height: 0.86;
	text-align: center;
	letter-spacing: -0.06em;
	font-weight: 500;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.09);
	user-select: none;
	transform: translateY(0.06em);
}

.footer-grid {
	max-width: var(--max);
	margin: 0 auto 3rem;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
}

.footer-col {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.footer-label {
	font-size: 10px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--dim);
	margin-bottom: 4px;
}

.footer-col a {
	color: var(--muted);
	font-size: 14.5px;
	width: fit-content;
	transition: color 0.2s ease;
}

.footer-col a:hover {
	color: var(--fg);
}

.footer-muted {
	color: var(--dim);
	font-size: 11.5px;
}

.footer-base {
	max-width: var(--max);
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	justify-content: space-between;
	font-size: 11px;
	color: var(--dim);
	border-top: 1px solid var(--line);
	padding-top: 22px;
}

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

.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
		transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: calc(var(--d, 0) * 90ms);
}

.reveal.in-view {
	opacity: 1;
	transform: none;
}

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

@media (max-width: 1024px) {
	.install-grid,
	.desktop-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.spec-entry {
		grid-template-columns: 200px minmax(0, 1fr);
		gap: 28px;
	}
}

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

	.nav-menu {
		display: block;
	}

	.hero {
		padding-top: 108px;
	}

	.wordmark {
		font-size: clamp(4.4rem, 26vw, 7rem);
	}

	.spec-entry {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.pipeline-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 12px;
	}

	.pipeline-line,
	.pipeline-pulse {
		display: none;
	}

	.plain-list > div {
		grid-template-columns: 76px minmax(0, 1fr);
	}

	.footer-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.line {
		flex-direction: column;
		gap: 0.3rem;
	}

	.line-no {
		transform: none;
	}
}

@media (max-width: 420px) {
	.status-hide {
		display: none;
	}
}

/* ------------------------------------------------- reduced motion --------- */

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

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

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

	.grain {
		animation: none;
	}
}
