/* The Artifics. One stylesheet: tokens, base, frame, components, sections, motion states.
   One theme (dark), no accent colour: emphasis is white on warm grey.
   Radius rule: controls 6px, panels 12px, diagram glyphs round. */

@font-face {
	font-family: "Satoshi";
	src: url("../fonts/Satoshi-Regular.woff2") format("woff2");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "Satoshi";
	src: url("../fonts/Satoshi-Medium.woff2") format("woff2");
	font-style: normal;
	font-weight: 500;
	font-display: swap;
}

/* Tokens ---------------------------------------------------------------- */
:root {
	color-scheme: dark;

	--bg: #121110;
	--bg-raised: #191816;
	--bg-inset: #0d0c0b;
	--text: #f3f1ec;
	--text-soft: #cdc9c1;
	--text-muted: #9a968f;
	--text-label: #85817a;
	--line: rgba(243, 241, 236, 0.08);
	--line-strong: rgba(243, 241, 236, 0.16);
	--line-bright: rgba(243, 241, 236, 0.32);

	--font: "Satoshi", "Helvetica Neue", Arial, sans-serif;
	--fs-hero: clamp(2.5rem, 4.1vw, 4.5rem);
	--fs-section: clamp(2rem, 3.6vw, 3.25rem);
	--fs-statement: clamp(1.75rem, 3.4vw, 3rem);
	--fs-lead: 1.0625rem;
	--fs-body: 1rem;
	--fs-small: 0.875rem;
	--fs-label: 0.75rem;

	--header-h: 72px;
	--frame: 1760px;
	--gutter: clamp(20px, 4.4vw, 88px);
	--rail: max(0px, calc(var(--gutter) - 40px));
	--section: clamp(80px, 8vw, 120px);
	--radius-control: 6px;
	--radius-panel: 12px;

	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}
@media (max-width: 767px) {
	:root { --gutter: 16px; --header-h: 64px; }
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
:where(html) {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
	:where(html) { scroll-behavior: smooth; }
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: var(--fs-body);
	line-height: 1.6;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, table { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 500; color: var(--text); }
button { font: inherit; color: inherit; }
::selection { background: var(--text); color: var(--bg); }

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

.sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
.skip-link {
	position: absolute;
	left: 16px;
	top: 12px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: var(--radius-control);
	background: var(--text);
	color: var(--bg);
	font-size: var(--fs-small);
	transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* Frame: one column of content between two hairline rails. */
.frame {
	width: 100%;
	max-width: var(--frame);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
@media (min-width: 768px) {
	body::before {
		content: "";
		position: fixed;
		top: 0;
		bottom: 0;
		left: var(--rail);
		right: var(--rail);
		z-index: 2;
		max-width: calc(var(--frame) - 2 * var(--rail));
		margin-inline: auto;
		border-inline: 1px solid var(--line);
		pointer-events: none;
	}
}
.site-main, .site-footer { position: relative; z-index: 1; }

.label {
	font-size: var(--fs-label);
	line-height: 1.4;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-label);
}
.icon { flex: none; }

/* Buttons ---------------------------------------------------------------- */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid transparent;
	border-radius: var(--radius-control);
	font-size: 0.9375rem;
	line-height: 1;
	font-weight: 500;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease;
}
.button:active { transform: scale(0.97); }
.button--small { min-height: 36px; padding: 0 14px; font-size: 0.875rem; }
.button--light { background: var(--text); color: var(--bg); }
.button--dark { background: var(--bg-raised); color: var(--text); border-color: var(--line-strong); }
.button-arrow { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
	.button--light:hover { background: #ffffff; }
	.button--dark:hover { border-color: var(--line-bright); background: #1f1e1b; }
	.button:hover .button-arrow { transform: translateX(2px); }
}
.text-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--text);
	border-bottom: 1px solid var(--line-bright);
	padding-bottom: 2px;
	transition: border-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
	.text-link:hover { border-color: var(--text); }
}

/* Header ----------------------------------------------------------------- */
.nav-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 8px; }
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
}
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(18, 17, 16, 0.82);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	opacity: 0;
	transition: opacity 240ms ease;
}
.site-header.is-scrolled::before, .site-header.is-open::before { opacity: 1; }
.header-inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 40px;
	height: var(--header-h);
}
.header-inner::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--line);
}
.brand { display: inline-flex; align-items: center; color: var(--text); flex: none; }
.wordmark { width: 264px; height: auto; }
.site-footer .wordmark { width: 132px; }
.compare-wordmark { display: block; width: 112px; height: auto; color: var(--text); }
@media (max-width: 767px) {
	.site-header .wordmark { width: 180px; }
}
@media (max-width: 419px) {
	.site-header .wordmark { width: 150px; }
}
.primary-nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 8px 12px;
	border-radius: var(--radius-control);
	color: var(--text-soft);
	font-size: 0.9375rem;
	line-height: 1.2;
	transition: color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
	.nav-link:hover { color: var(--text); }
}
.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
/* Every navigation item stays on one line. Up to 1279px the links tighten to fit six; below 1200px the
   wordmark and the actions tighten too, and below 1100px Explore Guester moves to the footer and menu only. */
.nav-list > li { flex: none; }
.nav-link { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1279px) {
	.header-inner { gap: 24px; }
	.nav-list { gap: 0; }
	.nav-link { padding-inline: 8px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
	.site-header .wordmark { width: 224px; }
	.header-actions { gap: 8px; }
}
@media (min-width: 1024px) and (max-width: 1099px) {
	.nav-link--external { display: none; }
}
/* The current page, wherever it is linked from the header, the mobile menu or the footer; a page inside a
   section (a post inside the blog) lights the section's link without underlining it. */
.site-header a[aria-current], .site-footer a[aria-current] { color: var(--text); }
.site-header a[aria-current="page"], .site-footer a[aria-current="page"] {
	text-decoration: underline;
	text-decoration-color: var(--line-bright);
	text-underline-offset: 6px;
}
.menu-toggle, .menu-fallback { display: none; }
.mobile-menu { display: none; }

@media (max-width: 1023px) {
	.primary-nav, .nav-link--external { display: none; }
	.header-actions { gap: 8px; }
	html:not(.ata-js) .menu-fallback {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		padding: 0 4px;
		font-size: 0.9375rem;
		color: var(--text-soft);
	}
	.ata-js .menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		margin-right: -10px;
		border: 0;
		background: none;
		cursor: pointer;
	}
	.menu-toggle-icon { position: relative; width: 18px; height: 10px; }
	.menu-toggle-icon i {
		position: absolute;
		left: 0;
		width: 18px;
		height: 1.5px;
		border-radius: 1px;
		background: var(--text);
		transition: transform 200ms var(--ease-out);
	}
	.menu-toggle-icon i:first-child { top: 0; }
	.menu-toggle-icon i:last-child { bottom: 0; }
	.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:first-child { transform: translateY(4.25px) rotate(45deg); }
	.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:last-child { transform: translateY(-4.25px) rotate(-45deg); }
	.mobile-menu { display: block; position: relative; }
	.mobile-menu[hidden] { display: none; }
	.mobile-list {
		padding-top: 8px;
		padding-bottom: 24px;
		opacity: 0;
		transform: translateY(-6px);
		transition: opacity 150ms ease, transform 150ms var(--ease-out);
	}
	.mobile-menu.is-open .mobile-list {
		opacity: 1;
		transform: none;
		transition-duration: 200ms;
	}
	.mobile-link {
		display: flex;
		align-items: center;
		gap: 6px;
		min-height: 52px;
		border-bottom: 1px solid var(--line);
		font-size: 1.25rem;
		color: var(--text);
	}
}
@media (max-width: 419px) {
	.header-actions .button { display: none; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	min-height: calc(100svh - var(--header-h));
}
.hero > .field-canvas {
	position: absolute;
	left: 0;
	top: calc(-1 * var(--header-h));
	z-index: -2;
	width: 100%;
	height: calc(100% + var(--header-h));
	pointer-events: none;
	-webkit-mask-image: linear-gradient(transparent, #000 12%, #000 84%, transparent);
	mask-image: linear-gradient(transparent, #000 12%, #000 84%, transparent);
}
/* A veil keeps the claim readable wherever a loop swings behind it. */
.hero::after {
	content: "";
	position: absolute;
	inset: calc(-1 * var(--header-h)) 0 0;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(18, 17, 16, 0.92) 0%, rgba(18, 17, 16, 0.7) 32%, rgba(18, 17, 16, 0) 54%);
}
.hero-inner {
	flex: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	align-items: center;
	gap: 40px;
	padding-top: clamp(24px, 3vw, 48px);
}
.hero-copy { padding-block: 24px; }
.hero-title {
	font-size: var(--fs-hero);
	line-height: 1.02;
	letter-spacing: -0.035em;
	font-weight: 500;
}
.hero-title .line { display: block; }
.hero-lede {
	max-width: 34em;
	margin-top: 28px;
	font-size: var(--fs-lead);
	line-height: 1.7;
	color: var(--text-muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* The field: canvas below, hub and nodes above it. Nodes sit on their spot by the icon centre. */
.field {
	position: relative;
	width: clamp(320px, min(100%, calc(100svh - var(--header-h) - 190px)), 760px);
	max-width: 100%;
	aspect-ratio: 1;
	margin: 0 0 0 auto;
	container-type: inline-size;
}
.field--ambient .field-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.field-hub, .field-node {
	position: absolute;
	left: calc(var(--x) * 100%);
	top: calc(var(--y) * 100%);
}
.field-hub {
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	display: grid;
	place-items: center;
}
.field-hex {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	fill: var(--bg);
	stroke: var(--line-bright);
	stroke-width: 1.5;
	vector-effect: non-scaling-stroke;
	overflow: visible;
}
.field-mark { position: relative; width: 22px; height: 22px; color: var(--text); }
.field-nodes { margin: 0; padding: 0; list-style: none; }
.field-node {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: -18px 0 0 -18px;
	transform-origin: 18px 18px;
}
.field-node-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--bg);
	border: 1px solid var(--line-strong);
	box-shadow: 0 0 0 4px rgba(18, 17, 16, 0.6), 0 0 24px rgba(243, 241, 236, 0.06);
	color: var(--text);
	transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field-node.is-focus .field-node-icon {
	border-color: var(--line-bright);
	box-shadow: 0 0 0 4px rgba(18, 17, 16, 0.6), 0 0 28px rgba(243, 241, 236, 0.16);
}
.field-node-text { display: grid; gap: 3px; width: 128px; text-shadow: 0 0 6px var(--bg), 0 0 12px var(--bg); opacity: var(--depth, 1); }
.field-node-name {
	font-size: 0.6875rem;
	line-height: 1.2;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text);
}
.field-node-desc { font-size: 0.75rem; line-height: 1.35; color: var(--text-muted); }
/* A narrow field keeps the names and drops the captions, so no label runs past the box. */
@container (max-width: 500px) {
	.field-node-desc { display: none; }
	.field-node-text { width: auto; }
}

/* Facts ------------------------------------------------------------------ */
.facts {
	display: grid;
	grid-template-columns: repeat(3, max-content);
	gap: 24px clamp(48px, 6vw, 88px);
	padding-block: clamp(32px, 4vw, 48px) clamp(40px, 4.5vw, 56px);
}
.fact { display: flex; flex-direction: column-reverse; gap: 6px; }
.fact-value {
	font-size: clamp(1.75rem, 2.4vw, 2.125rem);
	line-height: 1;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: var(--text);
}
.fact-label {
	font-size: 0.6875rem;
	line-height: 1.4;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-label);
}

/* Strip ------------------------------------------------------------------ */
.strip-inner { border-top: 1px solid var(--line); padding-block: 36px 40px; }
.strip-head { position: relative; display: flex; align-items: center; justify-content: center; min-height: 32px; padding-inline: 48px; }
.strip-title { text-align: center; }
.strip-toggle {
	position: absolute;
	right: 0;
	top: 50%;
	display: none;
	place-items: center;
	width: 32px;
	height: 32px;
	margin-top: -16px;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	background: var(--bg);
	color: var(--text-muted);
	cursor: pointer;
	transition: transform 160ms var(--ease-out), color 150ms ease, border-color 150ms ease;
}
.strip-toggle::before { content: ""; position: absolute; inset: -6px; }
.strip-toggle:active { transform: scale(0.95); }
.strip-icon-play, .strip-toggle[aria-pressed="true"] .strip-icon-pause { display: none; }
.strip-toggle[aria-pressed="true"] .strip-icon-play { display: block; }
@media (hover: hover) and (pointer: fine) {
	.strip-toggle:hover { color: var(--text); border-color: var(--line-bright); }
}
.strip-track {
	margin-top: 28px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.strip-reel { display: flex; width: max-content; }
.strip-list { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
.strip-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--text-soft);
	font-size: 1.0625rem;
	font-weight: 500;
	letter-spacing: -0.01em;
	white-space: nowrap;
}
.strip-item .icon { color: var(--text-muted); }
@media (prefers-reduced-motion: no-preference) {
	.strip-reel { animation: ata-strip 48s linear infinite; }
	.strip-track.is-paused .strip-reel, .strip-track.is-stopped .strip-reel { animation-play-state: paused; }
	.ata-js .strip-toggle { display: grid; }
	@media (hover: hover) and (pointer: fine) {
		.strip-track:hover .strip-reel { animation-play-state: paused; }
	}
}
@media (prefers-reduced-motion: reduce) {
	.strip-track { -webkit-mask-image: none; mask-image: none; }
	.strip-reel { width: auto; }
	.strip-list { flex-wrap: wrap; justify-content: center; row-gap: 20px; padding-right: 0; }
	.strip-list[aria-hidden="true"] { display: none; }
}
@keyframes ata-strip {
	to { transform: translateX(-50%); }
}

/* Responsive hero -------------------------------------------------------- */
@media (max-width: 959px) {
	.hero-inner { grid-template-columns: 1fr; gap: 8px; }
	.field { width: 100%; max-width: 520px; margin-inline: auto; }
	.hero::after { background: linear-gradient(180deg, rgba(18, 17, 16, 0.92) 0%, rgba(18, 17, 16, 0.75) 34%, rgba(18, 17, 16, 0) 52%); }
}
@media (max-width: 639px) {
	.hero-title { font-size: 2.375rem; }
	.hero-lede { margin-top: 20px; font-size: 1rem; }
	.hero-actions { margin-top: 28px; }
	.field-node-desc { display: none; }
	.field-node-text { width: auto; }
	.field-node { gap: 8px; margin: -15px 0 0 -15px; transform-origin: 15px 15px; }
	.field-node-icon { width: 30px; height: 30px; }
	.field-node-icon .icon { width: 14px; height: 14px; }
	.field-hub { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
	.field-mark { width: 18px; height: 18px; }
	.facts { grid-template-columns: 1fr; gap: 0; padding-block: 8px 32px; }
	.fact {
		flex-direction: row-reverse;
		justify-content: flex-end;
		align-items: baseline;
		gap: 16px;
		padding-block: 14px;
		border-bottom: 1px solid var(--line);
	}
	.fact:last-child { border-bottom: 0; }
	.fact-value { min-width: 64px; font-size: 1.5rem; }
	.strip-list { gap: 40px; padding-right: 40px; }
}

/* Sections: shared ------------------------------------------------------ */
.section-inner { border-top: 1px solid var(--line); padding-block: var(--section); }
.section-head { max-width: 40rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title {
	font-size: var(--fs-section);
	line-height: 1.06;
	letter-spacing: -0.03em;
}
.section-title .line { display: block; }
.section-lede {
	margin-top: 20px;
	font-size: var(--fs-lead);
	line-height: 1.65;
	color: var(--text-muted);
	max-width: 36em;
}
.section-head--center .section-lede { margin-inline: auto; }
.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	padding: 6px 12px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-control);
	background: var(--bg);
	font-size: 0.8125rem;
	line-height: 1.3;
	color: var(--text-soft);
}
.chip .icon { color: var(--text-muted); }
.chip--bright { border-color: var(--line-bright); background: var(--bg-raised); color: var(--text); }
.chip--bright .icon, .chip-mark { color: var(--text); }
.chip-mark { width: 14px; height: 14px; flex: none; }

/* Shift ------------------------------------------------------------------ */
.statement {
	max-width: 22em;
	font-size: var(--fs-statement);
	line-height: 1.14;
	letter-spacing: -0.028em;
}
.statement span { display: block; }
.statement-quiet { color: var(--text-label); }
.arch {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-top: clamp(48px, 6vw, 80px);
}
.arch-panel {
	display: flex;
	flex-direction: column;
	padding: clamp(24px, 3vw, 40px);
	border: 1px solid var(--line);
	border-radius: var(--radius-panel);
}
.arch-panel--after {
	border-color: var(--line-strong);
	background: radial-gradient(120% 80% at 50% 100%, rgba(243, 241, 236, 0.05), transparent 60%), var(--bg-raised);
}
.arch-label { font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.01em; }
.arch-text { margin-top: 10px; max-width: 30em; font-size: 0.9375rem; line-height: 1.65; color: var(--text-muted); }
.arch-flow {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: auto;
	padding-top: 40px;
}
.arch-node {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 16px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-control);
	background: var(--bg);
	font-size: 0.875rem;
	line-height: 1.3;
	color: var(--text);
	text-align: center;
}
.arch-node--muted { color: var(--text-muted); border-style: dashed; }
.arch-node--core { border-color: var(--text); color: var(--text); box-shadow: 0 0 32px rgba(243, 241, 236, 0.08); }
.arch-mark { width: 14px; height: 14px; }
.arch-fan { width: 100%; height: 48px; }
.arch-fan svg { width: 100%; height: 100%; overflow: visible; }
.arch-fan path {
	fill: none;
	stroke: var(--line-bright);
	stroke-width: 1;
	stroke-dasharray: 2 5;
	vector-effect: non-scaling-stroke;
}
.arch-apps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	width: 100%;
}
.arch-flow--before > li:not(.arch-fan):not(.arch-node) { width: 100%; }
.arch-flow--before > li > .arch-apps { justify-items: center; }
.arch-wire { position: relative; width: 1px; height: 36px; }
.arch-wire span {
	position: absolute;
	inset: 0;
	background: linear-gradient(var(--line-bright), var(--line-bright)) center / 1px 100% no-repeat;
	overflow: hidden;
}
.arch-wire span::after {
	content: "";
	position: absolute;
	left: -1px;
	top: -8px;
	width: 3px;
	height: 8px;
	border-radius: 2px;
	background: var(--text);
	opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
	.arch-panel--after.is-in .arch-wire span::after { animation: ata-pulse 1.8s var(--ease-in-out) infinite; }
	.arch-panel--after.is-in .arch-wire:nth-child(4) span::after { animation-delay: 0.3s; }
	.arch-panel--after.is-in .arch-wire:nth-child(6) span::after { animation-delay: 0.6s; }
}
@keyframes ata-pulse {
	0% { transform: translateY(0); opacity: 0; }
	15% { opacity: 1; }
	85% { opacity: 1; }
	100% { transform: translateY(52px); opacity: 0; }
}

/* Build ------------------------------------------------------------------ */
.bento {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: clamp(40px, 5vw, 64px);
}
.cell {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: clamp(24px, 2.6vw, 36px);
	border: 1px solid var(--line);
	border-radius: var(--radius-panel);
	background: var(--bg-raised);
	overflow: hidden;
}
.cell--understand {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	align-items: center;
	gap: clamp(24px, 4vw, 64px);
	background:
		radial-gradient(70% 60% at 78% 38%, rgba(243, 241, 236, 0.06), transparent 70%),
		var(--bg-raised);
}
.cell--reason { background: var(--bg-inset); }
.cell-visual { flex: 1; display: flex; }
.cell-body { max-width: 30em; }
.cell-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.375rem;
	line-height: 1.2;
	letter-spacing: -0.015em;
}
.cell-icon {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid var(--line-strong);
	color: var(--text);
}
.cell-text { margin-top: 10px; font-size: 0.9375rem; line-height: 1.65; color: var(--text-muted); }

.cell--understand .cell-visual { order: 2; }
.cell--understand .cell-body { order: 1; align-self: end; }
.signals {
	display: grid;
	grid-template-columns: auto minmax(48px, 1fr) auto;
	align-items: center;
	height: 280px;
}
.signals-list { display: grid; grid-template-rows: repeat(5, 1fr); align-items: center; height: 280px; }
.signals-list .chip { justify-self: start; }
.signals-wires { width: 100%; height: 280px; overflow: visible; }
.signals-wires path {
	fill: none;
	stroke: var(--line-bright);
	stroke-width: 1;
	stroke-dasharray: 2 6;
	vector-effect: non-scaling-stroke;
}
@media (prefers-reduced-motion: no-preference) {
	.cell--understand.is-in .signals-wires path { animation: ata-flow 1.4s linear infinite; }
}
@keyframes ata-flow {
	to { stroke-dashoffset: -16; }
}
.signals-result { max-width: 13em; }

.reasoning { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; }
.reasoning-inputs { display: flex; flex-wrap: wrap; gap: 8px; }
.reasoning-wire {
	width: 1px;
	height: 28px;
	margin-left: 20px;
	background: repeating-linear-gradient(var(--line-bright) 0 2px, transparent 2px 6px);
}

.steps { align-items: center; }
.steps-list { display: grid; gap: 10px; width: 100%; max-width: 22rem; }
.step {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius-control);
	background: var(--bg);
	font-size: 0.875rem;
	color: var(--text-soft);
}
.step-check {
	display: grid;
	place-items: center;
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--text);
	color: var(--bg);
}
/* Steps tick in order when the cell arrives. */
@media screen {
	.ata-motion:not(.ata-reveal-all) .cell--act:not(.is-in) .step-check { transform: scale(0.6); opacity: 0; }
}
.ata-motion .cell--act .step-check {
	transition: transform 300ms var(--ease-out), opacity 300ms var(--ease-out);
	transition-delay: calc(500ms + var(--s, 0) * 450ms);
}

/* Operating layer ---------------------------------------------------------- */
.layer-wrap { margin-top: clamp(48px, 6vw, 72px); }
.layer {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: clamp(28px, 4vw, 56px) clamp(16px, 3vw, 40px);
	border: 1px solid var(--line);
	border-radius: var(--radius-panel);
	background:
		radial-gradient(60% 50% at 50% 30%, rgba(243, 241, 236, 0.045), transparent 70%),
		var(--bg-inset);
}
.layer-operator {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px 8px 10px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-control);
	font-size: 0.875rem;
}
.layer-operator-icon { color: var(--text-muted); display: grid; }
.layer-operator-name { color: var(--text); font-weight: 500; }
.layer-operator-note { color: var(--text-muted); }
.layer-wire {
	width: 1px;
	height: 32px;
	background: repeating-linear-gradient(var(--line-bright) 0 2px, transparent 2px 6px);
}
.layer-core {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	padding: 22px 24px;
	border: 1px solid var(--line-bright);
	border-radius: var(--radius-panel);
	background: var(--bg-raised);
	box-shadow: 0 0 60px rgba(243, 241, 236, 0.05), inset 0 1px 0 rgba(243, 241, 236, 0.06);
	color: var(--text);
}
.layer-mark { width: 22px; height: 22px; }
.layer-wordmark { width: 168px; height: auto; }
.layer-agents {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
}
.agent {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 48px;
	padding: 8px 12px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-control);
	background: var(--bg);
	color: var(--text-soft);
	font-size: 0.875rem;
	cursor: pointer;
	transition: transform 160ms var(--ease-out), border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}
.agent:active { transform: scale(0.97); }
.agent .icon { color: var(--text-muted); transition: color 150ms ease; }
.agent-label { white-space: nowrap; }
@media (max-width: 1199px) {
	.agent-suffix { display: none; }
}
.agent.is-preview, .agent[aria-pressed="true"] { border-color: var(--text); color: var(--text); background: var(--bg-raised); }
.agent.is-preview .icon, .agent[aria-pressed="true"] .icon { color: var(--text); }
.layer.has-active .agent:not(.is-preview):not([aria-pressed="true"]) { color: var(--text-label); border-color: var(--line); }
@media (hover: hover) and (pointer: fine) {
	.agent:hover { border-color: var(--line-bright); color: var(--text); }
}
.layer-links { position: relative; width: 100%; height: 120px; }
.layer-links svg { width: 100%; height: 100%; overflow: visible; }
.link {
	fill: none;
	stroke: var(--line-strong);
	stroke-width: 1;
	stroke-dasharray: 2 6;
	vector-effect: non-scaling-stroke;
	transition: stroke 150ms ease, opacity 150ms ease;
}
.layer.has-active .link { opacity: 0.25; }
.layer.has-active .link.is-on { opacity: 1; stroke: var(--text); }
@media (prefers-reduced-motion: no-preference) {
	.layer-wrap.is-in .link { animation: ata-flow 1.6s linear infinite; }
}
.layer-bus {
	position: absolute;
	left: 50%;
	top: 50%;
	padding: 4px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--bg-inset);
	transform: translate(-50%, -50%);
	white-space: nowrap;
}
.layer-systems {
	display: grid;
	grid-template-columns: repeat(10, minmax(0, 1fr));
	gap: 8px;
	width: 100%;
}
.system {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 6px 4px;
	border: 1px solid var(--line);
	border-radius: var(--radius-control);
	font-size: 0.8125rem;
	line-height: 1.25;
	color: var(--text-muted);
	text-align: center;
	hyphens: auto;
	transition: border-color 150ms ease, color 150ms ease;
}
.layer.has-active .system { color: var(--text-label); }
.layer.has-active .system.is-on { opacity: 1; border-color: var(--text); color: var(--text); }
.layer-hint { margin-top: 16px; text-align: center; font-size: var(--fs-small); color: var(--text-label); }

/* Guester ------------------------------------------------------------------ */
.guester-inner {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
	align-items: center;
	gap: clamp(40px, 5vw, 80px);
}
.guester-name {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 20px;
	font-size: clamp(2.5rem, 4.4vw, 3.75rem);
	line-height: 1;
	letter-spacing: -0.035em;
}
.guester-symbol { width: 52px; height: auto; color: var(--text); }
.guester-title {
	margin-top: 20px;
	font-size: clamp(1.25rem, 1.8vw, 1.5rem);
	line-height: 1.3;
	letter-spacing: -0.015em;
	color: var(--text);
}
.guester-body { margin-top: 16px; font-size: 0.9375rem; line-height: 1.7; color: var(--text-muted); max-width: 32em; }
.guester-caps { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; }
.guester-shot {
	position: relative;
	padding: 10px;
	border: 1px solid var(--line-strong);
	border-radius: 16px;
	background: var(--bg-raised);
	box-shadow: 0 40px 120px -40px rgba(243, 241, 236, 0.14);
}
.guester-shot img { width: 100%; border-radius: 8px; }

/* Copilots ----------------------------------------------------------------- */
.compare { margin-top: clamp(40px, 5vw, 64px); overflow-x: auto; }
.compare-table {
	width: 100%;
	min-width: 560px;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 1rem;
	line-height: 1.45;
}
.compare-table th, .compare-table td {
	padding: 20px 24px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--line);
}
.compare-table thead th, .compare-table thead td { border-bottom-color: var(--line-strong); padding-block: 18px; font-size: 0.9375rem; font-weight: 500; }
.compare-table thead th { color: var(--text-muted); }
.compare-table tbody th {
	width: 22%;
	font-size: var(--fs-label);
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-label);
	padding-top: 23px;
}
.compare-table tbody td { color: var(--text-muted); }
.compare-table tr:last-child > * { border-bottom: 0; }
.compare-table .is-ours { background: var(--bg-raised); color: var(--text); border-inline: 1px solid var(--line-strong); }
.compare-table thead .is-ours { color: var(--text); border-top: 1px solid var(--line-strong); border-radius: var(--radius-panel) var(--radius-panel) 0 0; }
.compare-table tbody tr:last-child .is-ours { border-bottom: 1px solid var(--line-strong); border-radius: 0 0 var(--radius-panel) var(--radius-panel); }
.compare-brand { display: inline-flex; align-items: center; gap: 8px; }
.compare-mark { width: 14px; height: 14px; }

/* Principles --------------------------------------------------------------- */
.principles-inner {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}
.faq { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 64px;
	padding: 18px 0;
	font-size: 1.0625rem;
	line-height: 1.4;
	font-weight: 500;
	color: var(--text);
	cursor: pointer;
	list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-toggle {
	display: grid;
	place-items: center;
	flex: none;
	width: 28px;
	height: 28px;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	color: var(--text-muted);
	transition: transform 200ms var(--ease-out), color 150ms ease, border-color 150ms ease;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); color: var(--text); border-color: var(--line-bright); }
@media (hover: hover) and (pointer: fine) {
	.faq-question:hover .faq-toggle { color: var(--text); border-color: var(--line-bright); }
}
.faq-answer p { padding: 0 48px 24px 0; font-size: 0.9375rem; line-height: 1.7; color: var(--text-muted); max-width: 40em; }
@supports (interpolate-size: allow-keywords) {
	@media (prefers-reduced-motion: no-preference) {
		.faq { interpolate-size: allow-keywords; }
		.faq-item::details-content {
			height: 0;
			overflow: clip;
			transition: height 220ms var(--ease-out), content-visibility 220ms allow-discrete;
		}
		.faq-item[open]::details-content { height: auto; }
	}
}

/* Closing ------------------------------------------------------------------ */
.closing-inner {
	position: relative;
	border-top: 1px solid var(--line);
	padding-block: clamp(112px, 14vw, 200px);
	text-align: center;
	isolation: isolate;
	overflow: hidden;
}
.field--ambient {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: auto;
	max-width: none;
	aspect-ratio: auto;
	margin: 0;
	opacity: 0.6;
	-webkit-mask-image: radial-gradient(70% 80% at 50% 50%, rgba(0, 0, 0, 0.3) 18%, #000 55%, transparent 100%);
	mask-image: radial-gradient(70% 80% at 50% 50%, rgba(0, 0, 0, 0.3) 18%, #000 55%, transparent 100%);
}
.closing-copy { position: relative; max-width: 44rem; margin-inline: auto; }
.closing-title {
	font-size: clamp(2.5rem, 5.4vw, 4.5rem);
	line-height: 1.02;
	letter-spacing: -0.035em;
	text-shadow: 0 0 40px var(--bg);
}
.closing-title .line { display: block; }
.closing-body { margin: 24px auto 0; max-width: 32em; font-size: var(--fs-lead); line-height: 1.65; color: var(--text-soft); text-shadow: 0 0 24px var(--bg); }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.closing-mail { margin-top: 24px; font-size: var(--fs-small); }

/* Footer ------------------------------------------------------------------- */
.footer-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 40px 48px;
	border-top: 1px solid var(--line);
	padding-block: 56px 40px;
}
.footer-tagline { margin-top: 14px; font-size: var(--fs-small); color: var(--text-muted); }
.footer-nav { display: flex; gap: clamp(48px, 8vw, 112px); }
.footer-heading { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-label); }
.footer-col ul { display: grid; gap: 4px; margin-top: 12px; }
.footer-col a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 32px;
	font-size: 0.9375rem;
	color: var(--text-soft);
	transition: color 150ms ease;
}
@media (hover: hover) and (pointer: fine) {
	.footer-col a:hover { color: var(--text); }
}
.footer-legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--text-label); }

/* Reading pages ------------------------------------------------------------ */
.page-main { position: relative; z-index: 1; }
.reading { max-width: calc(46rem + 2 * var(--gutter)); padding-block: clamp(64px, 9vw, 120px); }
.entry-title { font-size: var(--fs-section); line-height: 1.08; letter-spacing: -0.03em; }
.entry-content { margin-top: 32px; color: var(--text-soft); font-size: 1.0625rem; line-height: 1.75; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry--summary { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.entry-summary-title { font-size: 1.5rem; line-height: 1.25; }
.lede { margin-top: 20px; color: var(--text-muted); font-size: var(--fs-lead); }
.reading .text-link { margin-top: 24px; }

/* Responsive sections ------------------------------------------------------ */
@media (max-width: 1023px) {
	.layer-systems { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.layer-links { display: none; }
	.layer-agents { margin-bottom: 24px; }
	.guester-inner, .principles-inner, .arch { grid-template-columns: 1fr; }
	.guester-copy { max-width: 36rem; }
}
@media (max-width: 767px) {
	.arch, .bento { grid-template-columns: 1fr; }
	.cell--understand { grid-column: auto; grid-template-columns: 1fr; }
	.cell--understand .cell-visual { order: 0; }
	.signals { height: 240px; grid-template-columns: auto minmax(24px, 1fr) auto; }
	.signals-list, .signals-wires { height: 240px; }
	.signals-result { max-width: 9em; }
	.layer-agents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.layer-agents li:last-child { grid-column: 1 / -1; }
	.layer-systems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.layer-wordmark { width: 132px; }
	.footer-inner { grid-template-columns: 1fr; }
	.compare-table th, .compare-table td { padding: 16px 14px; }
}
@media (max-width: 479px) {
	.arch-apps { grid-template-columns: 1fr; gap: 6px; }
	.arch-fan { height: 24px; }
	.arch-fan path:not(:nth-child(2)) { display: none; }
	.arch-node { font-size: 0.8125rem; padding: 8px 12px; }
	.footer-nav { gap: 40px; }
}

/* Motion states ----------------------------------------------------------- */
/* Screen only: printing before scrolling must never leave a section blank. */
@media screen {
	.no-transition, .no-transition * { transition: none !important; }

	/* Field nodes arrive one after another once field.js is live. */
	.ata-motion:not(.ata-reveal-all) .field .field-node {
		opacity: 0;
		transform: scale(0.96);
	}
	.ata-motion:not(.ata-reveal-all) .field .field-hub { opacity: 0; transform: scale(0.96); }
	.ata-motion .field.is-live .field-node,
	.ata-motion .field.is-live .field-hub {
		opacity: 1;
		transform: none;
		transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
	}
	.ata-motion .field.is-live .field-node { transition-delay: calc(420ms + var(--i, 0) * 80ms); }
	.ata-motion .field.is-live .field-hub { transition-delay: 80ms; }

	/* Scroll reveals: opacity and a short rise, once. */
	.ata-motion:not(.ata-reveal-all) [data-reveal]:not(.is-in) {
		opacity: 0;
		transform: translateY(12px);
	}
	[data-reveal] {
		transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
		transition-delay: calc(var(--d, 0) * 60ms);
	}
}

/* Touch: every control at least 44px tall. */
@media (pointer: coarse) {
	.button, .button--small, .nav-link, .footer-col a, .brand, .text-link { min-height: 44px; }
	.brand, .text-link { display: inline-flex; align-items: center; }
	.text-link { padding-bottom: 0; }
}
