/* The colors come from the app icon: a blue gradient from sky (#5ca1f3) to navy (#0a285b),
   with a pale blue letter M (#eff7ff to #bcddff). The page loads no fonts or scripts from other hosts. */
:root {
	--sky: #5ca1f3;
	--blue: #3e7ccb;
	--brand: #0f468c;
	--navy: #0a285b;
	--mist: #eff7ff;
	--mist-strong: #cfe7ff;

	--bg: #f5f9ff;
	--surface: #ffffff;
	--text: #0a1c3d;
	--muted: #4a5d7a;
	--border: #d7e5f7;
	--line: #a9c6ea;
	--track: #e6eef9;
	--glass: rgb(255 255 255 / 0.82);
	--link: #1658b0;
	--accent: var(--brand);
	--shadow: 0 1px 2px rgb(10 40 91 / 0.06), 0 12px 32px rgb(10 40 91 / 0.10);
	--shadow-border:
		0 0 0 1px oklch(0 0 0 / 0.06),
		0 1px 2px -1px oklch(0 0 0 / 0.06),
		0 2px 4px 0 oklch(0 0 0 / 0.04);
	--shadow-border-hover:
		0 0 0 1px oklch(0 0 0 / 0.08),
		0 1px 2px -1px oklch(0 0 0 / 0.08),
		0 2px 4px 0 oklch(0 0 0 / 0.06);
	--image-outline: oklch(0 0 0 / 0.1);
	--on-accent: #ffffff;
	--radius: 14px;
	/* The screenshots show a window with corners of 32 points at a width of 1440 and a height of
	   900 points. In percent, the rounding scales with the image. */
	--window-radius: 2.22% / 3.56%;
	--ease-out-strong: cubic-bezier(0.2, 0, 0, 1);
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #061430;
		--surface: #0b2149;
		--text: #e7f1ff;
		--muted: #a9bedb;
		--border: #1b3a6b;
		--line: #2c568f;
		--track: #142d57;
		--glass: rgb(11 33 73 / 0.82);
		--link: #8cc0ff;
		--accent: var(--sky);
		--shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 12px 32px rgb(0 0 0 / 0.35);
		--shadow-border: 0 0 0 1px oklch(1 0 0 / 0.08);
		--shadow-border-hover: 0 0 0 1px oklch(1 0 0 / 0.13);
		--image-outline: oklch(1 0 0 / 0.1);
		--on-accent: var(--navy);
		color-scheme: dark;
	}
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

a { color: var(--link); text-underline-offset: 0.15em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

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

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; }

/* Hero */
.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: linear-gradient(170deg, var(--blue) 0%, var(--brand) 55%, var(--navy) 100%);
	color: var(--mist);
	padding-bottom: 150px;
}
.hero a { color: inherit; }

.hero-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; aspect-ratio: 1; border-radius: 50%; }
.blob-a { width: min(70vw, 760px); left: -14%; top: -30%; background: radial-gradient(closest-side, rgb(120 182 255 / 0.55), transparent); }
.blob-b { width: min(60vw, 640px); right: -16%; top: 4%; background: radial-gradient(closest-side, rgb(170 210 255 / 0.32), transparent); }
.blob-c { width: min(60vw, 620px); left: 28%; bottom: -40%; background: radial-gradient(closest-side, rgb(40 110 220 / 0.5), transparent); }
.dots {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgb(255 255 255 / 0.2) 1px, transparent 1.6px);
	background-size: 24px 24px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent);
	mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent);
}

.coin {
	position: absolute;
	width: var(--size, 56px);
	translate: calc(var(--px, 0) * var(--depth, 10) * 1px) calc(var(--py, 0) * var(--depth, 10) * 1px);
}
.coin svg { display: block; width: 100%; height: auto; aspect-ratio: 1; overflow: visible; filter: drop-shadow(0 10px 18px rgb(3 20 50 / 0.35)); }
.coin use { transform-box: fill-box; transform-origin: center; }
.coin-1 { --size: 64px; left: 7%; top: 24%; }
.coin-2 { --size: 40px; left: 17%; top: 60%; opacity: 0.75; filter: blur(1px); }
.coin-3 { --size: 78px; right: 8%; top: 20%; }
.coin-4 { --size: 34px; right: 21%; top: 60%; opacity: 0.7; filter: blur(1px); }
.coin-5 { --size: 50px; left: 3%; top: 74%; }
.coin-6 { --size: 54px; right: 3%; top: 70%; }
.coin-7 { --size: 28px; left: 29%; top: 11%; opacity: 0.6; filter: blur(1.5px); }
.coin-8 { --size: 30px; right: 30%; top: 8%; opacity: 0.6; filter: blur(1.5px); }

.wave { position: absolute; left: 0; bottom: -1px; height: 96px; width: 100%; fill: var(--bg); }
.wave-back { width: 200%; opacity: 0.35; }

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 1.15rem;
	text-decoration: none;
}
.brand img { width: 36px; height: 36px; }
.nav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; opacity: 0.9; }

.hero-body { padding-top: 40px; text-align: center; }
.hero-logo {
	display: block;
	width: 140px;
	height: 140px;
	margin: 0 auto 22px;
	overflow: visible;
	filter: drop-shadow(0 18px 30px rgb(3 20 50 / 0.45));
}
.logo-body, .logo-m { transform-box: fill-box; transform-origin: center; }
.hero h1 { color: #ffffff; }
.shine { color: var(--mist-strong); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.shine {
		background: linear-gradient(90deg, #ffffff 0%, #bcddff 25%, #7ab6ff 50%, #bcddff 75%, #ffffff 100%) 0 0 / 200% 100%;
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
	}
}
.lead { font-size: 1.2rem; max-width: 640px; margin: 0 auto 28px; color: var(--mist-strong); }

.badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	padding: 5px 14px 5px 12px;
	border-radius: 999px;
	font-size: 0.85rem;
	color: var(--mist);
	background: rgb(255 255 255 / 0.1);
	box-shadow: inset 0 0 0 1px rgb(239 247 255 / 0.3);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #7dffb3; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #7dffb3; opacity: 0; }

.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.actions.start { justify-content: flex-start; margin-top: 40px; }
.button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid transparent;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 150ms ease-out, box-shadow 150ms ease-out;
}
/* The icon side gets 2px less padding, so the icon and the label look centered. */
.button:has(svg) { padding-inline-start: 20px; }
.button svg { width: 20px; height: 20px; flex: none; }
.button.primary { background: #ffffff; color: var(--navy); box-shadow: 0 8px 24px rgb(3 20 50 / 0.25); }
.button.secondary { border-color: rgb(239 247 255 / 0.5); color: #ffffff; }
.button.solid { background: var(--brand); color: #ffffff; }
.button.outline { color: var(--text); background: var(--surface); box-shadow: var(--shadow-border); }
@media (prefers-color-scheme: dark) {
	.button.solid { background: var(--sky); color: var(--navy); }
}

/* Screenshot stage */
.stage { position: relative; z-index: 1; margin-top: -120px; }
.shot { margin: 0; }
.shot-frame { position: relative; perspective: 1800px; }
.stage-glow {
	position: absolute;
	inset: 6% 8%;
	z-index: -1;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgb(92 161 243 / 0.55), transparent);
	filter: blur(30px);
}
.tilt img { transform-origin: 50% 0; }
.shot img, .viz-shot img {
	border-radius: var(--window-radius);
	box-shadow: var(--shadow);
	outline: 1px solid var(--image-outline);
	outline-offset: -1px;
	margin: 0 auto;
}
figcaption { color: var(--muted); font-size: 0.9rem; text-align: center; margin-top: 14px; }

.chip, .viz-card {
	background: var(--glass);
	-webkit-backdrop-filter: blur(16px) saturate(1.4);
	backdrop-filter: blur(16px) saturate(1.4);
	box-shadow: var(--shadow), var(--shadow-border);
	border: 1px solid transparent;
}
.chip {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px 10px 10px;
	border-radius: 16px;
	font-size: 0.85rem;
	line-height: 1.3;
	text-align: left;
}
.chip strong { display: block; }
.chip small { display: block; color: var(--muted); font-size: 0.78rem; }
.chip-icon, .point-icon, .card .icon {
	display: grid;
	place-items: center;
	flex: none;
	color: #ffffff;
	background: linear-gradient(170deg, var(--sky), var(--brand));
}
.chip-icon { width: 34px; height: 34px; border-radius: 10px; }
.chip-icon svg { width: 18px; height: 18px; }
.chip-a { left: -40px; top: 26%; }
.chip-b { right: -44px; top: 9%; }
.chip-c { right: -28px; bottom: 12%; }

/* Marquee */
.marquee {
	overflow: hidden;
	padding: 36px 0 8px;
	-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; width: max-content; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li {
	display: flex;
	align-items: center;
	gap: 40px;
	padding-right: 40px;
	font-weight: 600;
	color: var(--muted);
	white-space: nowrap;
}
.marquee li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }

/* Sections */
section { padding: 88px 0; }
.section-intro { color: var(--muted); max-width: 680px; font-size: 1.08rem; }
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--sky), var(--brand)); }

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin-top: 36px;
}
.grid > .reveal { display: flex; }
.card {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	flex: 1;
	background: var(--surface);
	border: 1px solid transparent; /* forced colors drop the shadow and draw this border */
	border-radius: var(--radius);
	padding: 24px;
	box-shadow: var(--shadow-border);
	transition: box-shadow 150ms ease-out;
}
/* A soft light that follows the pointer. The script sets --mx and --my. */
.card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgb(92 161 243 / 0.16), transparent 70%);
	opacity: 0;
	transition: opacity 150ms ease-out;
}
.card p { color: var(--muted); margin: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px; box-shadow: 0 6px 16px rgb(15 70 140 / 0.3); }
.card .icon svg { width: 24px; height: 24px; stroke-width: 2.5px; overflow: visible; }
.card .icon svg * { vector-effect: non-scaling-stroke; transform-box: fill-box; }
.icon .col, .icon .bar { transform-origin: 50% 100%; }
.icon .rule { transform-origin: 0 50%; }
.icon .piece { transform-origin: 50% 50%; }
.tag {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 1px 8px;
	border-radius: 999px;
	vertical-align: middle;
	margin-left: 6px;
	background: var(--mist);
	color: var(--brand);
}
@media (prefers-color-scheme: dark) {
	.tag { background: var(--border); color: var(--mist-strong); }
}

.pair {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 48px;
	align-items: center;
}

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 8px; }
.checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35em;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--accent);
}
/* The check mark is drawn with two borders, so it takes its color from the theme. */
.checklist li::after {
	content: "";
	position: absolute;
	left: 6.5px;
	top: calc(0.35em + 4px);
	width: 5px;
	height: 9px;
	border: solid var(--on-accent);
	border-width: 0 2px 2px 0;
	rotate: 45deg;
}
.checklist.open li::before { background: transparent; border: 2px solid var(--accent); }
.checklist.open li::after { content: none; }

/* Charts */
.viz { position: relative; padding: 36px 0 48px; }
.viz-card { position: absolute; border-radius: 18px; padding: 16px; }
.donut-card { left: -36px; bottom: 0; width: 330px; display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; }
.donut { position: relative; }
.donut svg { display: block; width: 100%; height: auto; }
.donut-track { fill: none; stroke: var(--track); stroke-width: 14; }
.seg {
	fill: none;
	stroke: var(--c);
	stroke-width: 14;
	stroke-dasharray: var(--len) 100;
	stroke-dashoffset: calc(var(--off) * -1);
}
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.15; }
.donut-center strong { font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.donut-center small { color: var(--muted); font-size: 0.7rem; }
.legend { list-style: none; margin: 0; padding: 0; font-size: 0.78rem; }
.legend li { display: flex; align-items: center; gap: 8px; padding: 2px 0; }
.legend li::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--c); flex: none; }
.legend span { flex: 1; color: var(--muted); }
.legend b { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.spark-card { right: -20px; top: 0; width: 230px; }
.spark-card small { display: block; color: var(--muted); font-size: 0.75rem; }
.spark-card strong { display: block; font-size: 1.15rem; font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.spark-card svg { display: block; width: 100%; height: 56px; }
.spark-line { fill: none; stroke: var(--sky); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1 2; }

/* Extensions */
.ext { margin-top: 36px; }
.flow svg { display: block; width: 100%; height: auto; overflow: visible; }
.orbit { fill: none; stroke: var(--border); stroke-width: 1.5; stroke-dasharray: 2 7; transform-box: fill-box; transform-origin: center; }
.flow-line { fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 4 8; stroke-linecap: round; }
.packets circle { fill: var(--sky); filter: drop-shadow(0 0 6px rgb(92 161 243 / 0.9)); }
.node rect { fill: var(--surface); stroke: var(--border); stroke-width: 1; filter: drop-shadow(0 6px 12px rgb(10 40 91 / 0.12)); }
.node text { font: 600 13px -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; fill: var(--text); }
.node-icon { fill: none; stroke: var(--accent); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.hub-ping { fill: var(--sky); opacity: 0.18; transform-box: fill-box; transform-origin: center; }
.hub > rect { filter: drop-shadow(0 12px 22px rgb(10 40 91 / 0.35)); }
.seal circle { fill: #30c26b; }
.seal path { fill: none; stroke: #ffffff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.seal { transform-box: fill-box; transform-origin: center; }
.flow-note { font: 600 12px -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; fill: var(--muted); text-anchor: middle; letter-spacing: 0.04em; }

.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.points li { display: flex; gap: 16px; align-items: flex-start; }
.points h3 { margin-bottom: 0.3em; }
.points p { color: var(--muted); margin: 0; }
.point-icon { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 6px 16px rgb(15 70 140 / 0.3); }
.point-icon svg { width: 22px; height: 22px; }

/* Timeline */
.timeline {
	position: relative;
	list-style: none;
	margin: 44px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.timeline::before, .timeline::after { content: ""; position: absolute; top: 9px; left: 0; height: 2px; }
.timeline::before { right: 0; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
/* The segment from v0.1 to v0.2 moves like a progress bar without an end: work in progress, no percentage. */
.timeline::after {
	width: calc((100% - 56px) / 3 + 28px);
	background: repeating-linear-gradient(90deg, var(--accent) 0 14px, transparent 14px 22px);
	background-size: 22px 2px;
	transform-origin: 0 50%;
}
.timeline li { position: relative; padding-top: 40px; }
.timeline .node {
	position: absolute;
	top: 0;
	left: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--bg);
	box-shadow: inset 0 0 0 2px var(--line);
}
.timeline .now .node { background: var(--accent); box-shadow: 0 0 0 5px rgb(92 161 243 / 0.25); }
.timeline .now .node::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); opacity: 0; }
.when { margin: 0 0 4px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.now .when { color: var(--accent); }
.timeline h3 span { color: var(--accent); }
.timeline p:last-child { color: var(--muted); margin: 0; }
.lists { margin-top: 56px; align-items: start; }
.more { margin-top: 24px; }

/* Call to action */
.cta {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: linear-gradient(170deg, var(--blue) 0%, var(--brand) 55%, var(--navy) 100%);
	color: var(--mist);
	border-radius: 24px;
	padding: 64px 32px;
	text-align: center;
}
.cta::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 2px;
	background: conic-gradient(from var(--angle, 0deg), transparent 0 55%, rgb(140 192 255 / 0.9) 72%, #ffffff 78%, rgb(140 192 255 / 0.9) 84%, transparent 100%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	pointer-events: none;
}
.cta-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta .coin-a { --size: 70px; left: 5%; top: 14%; }
.cta .coin-b { --size: 46px; right: 7%; top: 18%; opacity: 0.85; }
.cta .coin-c { --size: 56px; right: 14%; bottom: 10%; opacity: 0.9; }
.cta h2 { color: #ffffff; }
.cta p { color: var(--mist-strong); max-width: 620px; margin-left: auto; margin-right: auto; }

footer {
	border-top: 1px solid var(--border);
	padding: 32px 0 48px;
	color: var(--muted);
	font-size: 0.9rem;
}
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
footer a { color: var(--muted); }
footer .note { margin-top: 16px; font-size: 0.82rem; }

/* Legal pages */
.hero.page-header { padding-bottom: 40px; }
.legal { padding: 48px 0 72px; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal address { font-style: normal; margin-bottom: 1em; }

@media (max-width: 960px) {
	.chip { display: none; }
	.donut-card { left: 0; }
	.spark-card { right: 0; }
}

@media (max-width: 720px) {
	.viz { padding: 0; display: grid; gap: 16px; }
	.viz-card { position: static; width: auto; }
	.timeline { grid-template-columns: 1fr; gap: 28px; }
	.timeline::before, .timeline::after { top: 0; left: 9px; width: 2px; height: auto; }
	.timeline::before { bottom: 0; right: auto; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
	.timeline::after { height: 40%; background: repeating-linear-gradient(180deg, var(--accent) 0 14px, transparent 14px 22px); background-size: 2px 22px; transform-origin: 50% 0; }
	.timeline li { padding: 0 0 0 40px; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.nav ul { display: none; }
	.hero { padding-bottom: 120px; }
	.hero-body { padding-top: 16px; }
	.hero-logo { width: 104px; height: 104px; }
	.stage { margin-top: -96px; }
	.coin-2, .coin-4, .coin-7, .coin-8 { display: none; }
	.coin-1 { --size: 40px; top: 12%; }
	.coin-3 { --size: 46px; top: 10%; }
	.coin-5, .coin-6 { --size: 34px; top: 82%; }
	section { padding: 64px 0; }
	.cta { padding: 44px 20px; }
	.cta .coin-b { display: none; }
}

/* Parts fade in when they scroll into view. Without the script, they stay visible. */
.js .reveal {
	opacity: 0;
	transition: opacity 300ms ease-out;
	transition-delay: calc(var(--i, 0) * 100ms);
}
.js .reveal.in { opacity: 1; }

/* Hover styles only for pointers that can hover, so a tap on a phone leaves no stuck state. */
@media (hover: hover) {
	a:hover { text-decoration-thickness: 2px; }
	.nav ul a:hover { opacity: 1; text-decoration: underline; }
	.button.secondary:hover { background: rgb(255 255 255 / 0.1); }
	.card:hover { box-shadow: var(--shadow-border-hover); }
	.card:hover::before { opacity: 1; }
	.marquee:hover .marquee-track { animation-play-state: paused; }
}

/* Movement only without the reduced motion setting. With it, parts only fade in, and nothing
   moves on its own. */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal { filter: blur(4px); translate: 0 12px; transition-property: opacity, filter, translate; }
	.js .reveal.in { filter: blur(0); translate: 0 0; }

	.button { transition-property: background-color, box-shadow, translate, scale; transition-duration: 150ms; transition-timing-function: ease-out; }
	.button:active { scale: 0.96; }

	.blob-a { animation: drift 22s ease-in-out infinite; }
	.blob-b { animation: drift 26s ease-in-out -8s infinite reverse; }
	.blob-c { animation: drift 30s ease-in-out -14s infinite; }
	.coin { transition: translate 600ms var(--ease-out-strong); }
	.coin svg { animation: float var(--float, 7s) ease-in-out var(--delay, 0s) infinite; }
	.coin use { animation: flip var(--flip, 9s) ease-in-out var(--delay, 0s) infinite; }
	.coin-1 { --float: 7s; --flip: 8s; --delay: -1s; }
	.coin-2 { --float: 9s; --flip: 11s; --delay: -4s; }
	.coin-3 { --float: 8s; --flip: 10s; --delay: -2s; }
	.coin-4 { --float: 10s; --flip: 12s; --delay: -6s; }
	.coin-5 { --float: 6.5s; --flip: 9s; --delay: -3s; }
	.coin-6 { --float: 8.5s; --flip: 7.5s; --delay: -5s; }
	.coin-7 { --float: 11s; --flip: 13s; --delay: -7s; }
	.coin-8 { --float: 9.5s; --flip: 10.5s; --delay: -2.5s; }
	.cta .coin-a { --float: 7s; --flip: 9s; --delay: -2s; }
	.cta .coin-b { --float: 8s; --flip: 11s; --delay: -5s; }
	.cta .coin-c { --float: 9s; --flip: 8s; --delay: -1s; }
	.wave-back { animation: wave 20s linear infinite; }

	.hero-logo { animation: float 7s ease-in-out 1.4s infinite; }
	.logo-body { animation: logo-pop 700ms var(--ease-out-strong) both; }
	.logo-m { stroke-dasharray: 1 2; animation: draw 1200ms var(--ease-out-strong) 300ms both; }
	.logo-sheen { animation: sheen 7s ease-in-out 1.8s infinite; }
	.shine { animation: shimmer 8s linear infinite; }
	.pulse::after { animation: ping 2s ease-out infinite; }

	.tilt img { transition: transform 1200ms var(--ease-out-strong) 150ms; }
	.js .stage:not(.in) .tilt img { transform: rotateX(18deg) scale(0.94) translateY(24px); }
	.stage-glow { animation: glow 6s ease-in-out infinite; }
	.chip { animation: float 6s ease-in-out infinite; }
	.chip-b { animation-delay: -2s; }
	.chip-c { animation-delay: -4s; }
	.js .stage.in .chip { animation: chip-in 500ms var(--ease-out-strong) backwards, float 6s ease-in-out 1.5s infinite; }
	.js .stage.in .chip-a { animation-delay: 700ms, 1.2s; }
	.js .stage.in .chip-b { animation-delay: 900ms, 1.4s; }
	.js .stage.in .chip-c { animation-delay: 1100ms, 1.6s; }

	.marquee-track { animation: marquee 48s linear infinite; }

	.card .icon svg * { transition: translate 150ms ease-out, rotate 150ms ease-out, scale 150ms ease-out; }
	.js .reveal.in .shackle { animation: shackle-in 700ms var(--ease-out-strong) calc(var(--i, 0) * 100ms + 300ms) backwards; }
	.js .reveal.in .keyhole { animation: fade-in 300ms ease-out calc(var(--i, 0) * 100ms + 700ms) backwards; }
	.js .reveal.in .col { animation: grow-y 500ms var(--ease-out-strong) calc(var(--i, 0) * 100ms + 300ms + var(--n) * 90ms) backwards; }
	.js .reveal.in .roof { animation: drop-in 500ms var(--ease-out-strong) calc(var(--i, 0) * 100ms + 650ms) backwards; }
	.js .reveal.in .piece { animation: snap-in 700ms var(--ease-out-strong) calc(var(--i, 0) * 100ms + 300ms) backwards; }
	.js .reveal.in .rule { animation: grow-x 500ms var(--ease-out-strong) calc(var(--i, 0) * 100ms + 400ms) backwards; }
	.js .reveal.in .bar { animation: grow-y 600ms var(--ease-out-strong) calc(var(--i, 0) * 100ms + 300ms + var(--n) * 110ms) backwards; }
	.js .reveal.in .arrow { animation: drop-in 600ms var(--ease-out-strong) calc(var(--i, 0) * 100ms + 350ms) backwards; }

	.js .viz.in .seg { animation: seg-in 800ms var(--ease-out-strong) calc(400ms + var(--n) * 140ms) backwards; }
	.js .viz.in .spark-line { animation: draw 1600ms var(--ease-out-strong) 500ms backwards; }
	.js .viz.in .spark-area { animation: fade-in 800ms ease-out 1200ms backwards; }
	.donut-card { animation: float 7s ease-in-out -3s infinite; }
	.spark-card { animation: float 8s ease-in-out -1s infinite; }

	.orbit { animation: spin 80s linear infinite; }
	.orbit-inner { animation-direction: reverse; animation-duration: 60s; }
	.flow-line { animation: flow 1s linear infinite; }
	.hub-ping { animation: hub-ping 2.6s ease-out infinite; }
	.node { animation: bob 6s ease-in-out infinite; }
	.node:nth-of-type(2) { animation-delay: -1.2s; }
	.node:nth-of-type(3) { animation-delay: -2.4s; }
	.node:nth-of-type(4) { animation-delay: -3.6s; }
	.node:nth-of-type(5) { animation-delay: -4.8s; }
	.js .flow.in .seal { animation: pop 500ms var(--ease-out-strong) 900ms backwards; }

	.js .timeline.in::after { animation: grow-x 900ms var(--ease-out-strong) 300ms backwards, progress 900ms linear 1.2s infinite; }
	.timeline .now .node::after { animation: ping 2.2s ease-out infinite; }
	@media (max-width: 720px) {
		.js .timeline.in::after { animation: grow-y 900ms var(--ease-out-strong) 300ms backwards, progress-y 900ms linear 1.2s infinite; }
	}

	.cta::before { animation: turn 7s linear infinite; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.button:hover { translate: 0 -1px; }
	.button:hover:active { translate: 0; }
	.card:hover .shackle { translate: 0 -2px; }
	.card:hover .piece { rotate: -10deg; }
	.card:hover .arrow { translate: 0 2px; }
	.card:hover .rule { scale: 0.7 1; }
	.card:hover .bar { scale: 1 0.85; }
	.card:hover .bar:nth-child(2) { scale: 1 1.08; }
}
@media (prefers-reduced-motion: reduce) {
	.packets { display: none; }
	.marquee ul[aria-hidden] { display: none; }
	.marquee-track { width: auto; justify-content: center; }
	.marquee ul { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
}

@property --angle {
	syntax: "<angle>";
	inherits: false;
	initial-value: 0deg;
}

@keyframes drift {
	0%, 100% { translate: 0 0; scale: 1; }
	50% { translate: 8% -6%; scale: 1.12; }
}
@keyframes float {
	0%, 100% { translate: 0 0; }
	50% { translate: 0 -10px; }
}
@keyframes bob {
	0%, 100% { translate: 0 0; }
	50% { translate: 0 -4px; }
}
@keyframes flip {
	0%, 40%, 100% { scale: 1 1; }
	55% { scale: 0.08 1; }
	70% { scale: 1 1; }
}
@keyframes wave { to { translate: -50% 0; } }
@keyframes logo-pop { from { scale: 0.86; opacity: 0; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes sheen {
	0% { translate: 0 0; }
	35%, 100% { translate: 1300px 0; }
}
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes ping {
	0% { scale: 1; opacity: 0.7; }
	100% { scale: 3; opacity: 0; }
}
@keyframes glow {
	0%, 100% { opacity: 0.7; }
	50% { opacity: 1; }
}
@keyframes chip-in { from { opacity: 0; scale: 0.9; translate: 0 8px; } }
@keyframes marquee { to { translate: -50% 0; } }
@keyframes shackle-in { from { translate: 0 -5px; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes grow-y { from { scale: 1 0; } }
@keyframes grow-x { from { scale: 0 1; } }
@keyframes drop-in { from { translate: 0 -6px; opacity: 0; } }
@keyframes snap-in { from { translate: 4px -4px; rotate: 16deg; opacity: 0; } }
@keyframes seg-in { from { stroke-dasharray: 0 100; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes flow { to { stroke-dashoffset: -12; } }
@keyframes hub-ping {
	0% { scale: 0.9; opacity: 0.3; }
	100% { scale: 1.9; opacity: 0; }
}
@keyframes pop { from { scale: 0; } }
@keyframes progress { to { background-position: 22px 0; } }
@keyframes progress-y { to { background-position: 0 22px; } }
@keyframes turn { to { --angle: 360deg; } }
