:root {
	color-scheme: light dark;

	--grey-1: #fbfbfb;
	--grey-2: #ffffff;
	--grey-3: #f5f5f5;
	--grey-4: #eeeeee;
	--grey-5: #e0e0e0;
	--grey-6: #d2d2d2;
	--grey-7: #888888;
	--grey-8: #6b6b6b;
	--grey-9: #5c5c5c;
	--grey-10: #3a3a3a;
	--grey-11: #161616;

	--bg: var(--grey-1);
	--bg-raised: var(--grey-2);
	--bg-weak: var(--grey-3);
	--border: var(--grey-5);
	--border-strong: var(--grey-6);
	--text: var(--grey-9);
	--text-strong: var(--grey-11);
	--text-muted: var(--grey-8);
	--text-faint: var(--grey-7);
	--button-bg: var(--grey-11);
	--button-text: var(--grey-1);

	--violet: #8c5cf5;
	--pink: #ed4a99;
	--orange: #fa923d;
	--brand: linear-gradient(90deg, var(--violet), var(--pink), var(--orange));

	--font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

	--page-max: 1080px;
	--pad: clamp(16px, 4vw, 40px);
	--radius: 8px;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme='light']) {
		--grey-1: #0c0c0c;
		--grey-2: #161616;
		--grey-3: #1a1a1a;
		--grey-4: #242424;
		--grey-5: #2e2e2e;
		--grey-6: #4b4b4b;
		--grey-7: #6a6a6a;
		--grey-8: #8f8f8f;
		--grey-9: #aeaeae;
		--grey-10: #dbdbdb;
		--grey-11: #fafafa;
	}
}

:root[data-theme='dark'] {
	--grey-1: #0c0c0c;
	--grey-2: #161616;
	--grey-3: #1a1a1a;
	--grey-4: #242424;
	--grey-5: #2e2e2e;
	--grey-6: #4b4b4b;
	--grey-7: #6a6a6a;
	--grey-8: #8f8f8f;
	--grey-9: #aeaeae;
	--grey-10: #dbdbdb;
	--grey-11: #fafafa;
}

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

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

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

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

a {
	color: var(--text-strong);
	text-decoration-color: var(--border-strong);
	text-underline-offset: 3px;
}

a:hover {
	text-decoration-color: currentColor;
}

h1,
h2,
h3 {
	color: var(--text-strong);
	font-weight: 600;
	letter-spacing: -0.01em;
	margin: 0;
}

p {
	margin: 0;
}

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

code {
	font-size: 0.88em;
	color: var(--text-strong);
	background: var(--bg-weak);
	border: 1px solid var(--border);
	border-radius: 4px;
	padding: 0.05em 0.35em;
}

kbd {
	font-family: var(--font-mono);
	font-size: 0.8em;
	font-weight: 500;
	color: var(--text-strong);
	background: var(--bg-raised);
	border: 1px solid var(--border-strong);
	border-bottom-width: 2px;
	border-radius: 5px;
	padding: 0.05em 0.4em;
	white-space: nowrap;
}

.muted {
	color: var(--text-faint);
}

.small {
	font-size: 13px;
}

.skip {
	position: absolute;
	left: -9999px;
}

.skip:focus {
	left: 16px;
	top: 16px;
	z-index: 10;
	background: var(--bg-raised);
	padding: 8px 12px;
}

:focus-visible {
	outline: 2px solid var(--violet);
	outline-offset: 2px;
}

/* Page frame: hairline rails on both sides, like a printed grid. */
.page {
	max-width: var(--page-max);
	margin: 0 auto;
	border-left: 1px solid var(--border);
	border-right: 1px solid var(--border);
	min-height: 100vh;
}

@media (max-width: 1100px) {
	.page {
		border-left: 0;
		border-right: 0;
	}
}

/* Nav */
.nav {
	position: sticky;
	top: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 14px var(--pad);
	background: color-mix(in srgb, var(--bg) 86%, transparent);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
}

.brand {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	font-family: var(--font-mono);
	font-weight: 600;
	font-size: 18px;
	letter-spacing: -0.02em;
}

.brand img {
	width: 28px;
	height: 28px;
	margin: -2px;
}

.nav-links {
	display: flex;
	gap: 20px;
	margin-left: auto;
	font-size: 14px;
}

.nav-links a {
	color: var(--text-muted);
	text-decoration: none;
}

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

@media (max-width: 640px) {
	.nav-links {
		display: none;
	}
	.nav .button {
		margin-left: auto;
	}
}

/* Buttons */
.button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 16px;
	border-radius: 6px;
	background: var(--button-bg);
	color: var(--button-text);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: opacity 0.15s;
	white-space: nowrap;
}

.button:hover {
	opacity: 0.86;
}

.button-small {
	height: 32px;
	padding: 0 12px;
	font-size: 14px;
}

/* Hero */
.hero {
	padding: clamp(48px, 9vw, 96px) var(--pad) 0;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--text-muted);
	margin-bottom: 20px;
}

.eyebrow .dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--brand);
}

h1 {
	font-size: clamp(32px, 5vw, 52px);
	line-height: 1.08;
	letter-spacing: -0.03em;
	max-width: 14em;
}

.lead {
	margin-top: 20px;
	font-size: clamp(17px, 1.6vw, 19px);
	max-width: 36em;
}

.lead span:first-child {
	color: var(--text-strong);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 32px;
}

/* Stage: a slice of desktop with the voice bar on it */
.stage {
	position: relative;
	margin: clamp(40px, 6vw, 64px) calc(var(--pad) * -1) 0;
	height: clamp(340px, 46vw, 480px);
	border-top: 1px solid var(--border);
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 0 16px clamp(24px, 4vw, 48px);
}

.stage-wall {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(60% 80% at 20% 0%, color-mix(in srgb, var(--violet) 55%, transparent), transparent 70%),
		radial-gradient(50% 70% at 85% 20%, color-mix(in srgb, var(--pink) 40%, transparent), transparent 70%),
		radial-gradient(70% 60% at 60% 110%, color-mix(in srgb, var(--orange) 45%, transparent), transparent 70%),
		linear-gradient(180deg, #1d1530, #2a1830 55%, #2c1b22);
}

/* Fine dot grain over the wallpaper */
.stage-wall::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgb(255 255 255 / 0.09) 1px, transparent 1px);
	background-size: 4px 4px;
	mask-image: linear-gradient(180deg, #000, transparent 80%);
}

.stage-hint {
	position: absolute;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: rgb(255 255 255 / 0.6);
}

.stage-hint kbd {
	background: rgb(255 255 255 / 0.08);
	border-color: rgb(255 255 255 / 0.18);
	color: #fff;
}

.stage-hint span {
	margin-left: 4px;
}

.stage-hint.is-pressed kbd {
	background: rgb(255 255 255 / 0.28);
	transform: translateY(1px);
}

/* The voice bar (mirrors the app's HUD) */
.hud {
	--hud-bg: rgb(30 30 32 / 0.9);
	position: relative;
	display: flex;
	gap: 14px;
	width: min(640px, 100%);
	padding: 14px 18px 16px 14px;
	border-radius: 22px;
	background: radial-gradient(120% 140% at 0% 0%, rgb(140 92 245 / 0.18), transparent 50%), var(--hud-bg);
	backdrop-filter: blur(24px) saturate(1.4);
	-webkit-backdrop-filter: blur(24px) saturate(1.4);
	box-shadow:
		0 24px 60px -12px rgb(0 0 0 / 0.55),
		0 2px 8px rgb(0 0 0 / 0.3);
	color: #f2f2f2;
	font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
	transition:
		width 0.35s ease,
		transform 0.35s ease,
		opacity 0.35s ease;
}

.hud.is-hidden {
	opacity: 0;
	transform: translateY(12px) scale(0.98);
}

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

.hud-ring {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1.3px;
	background: conic-gradient(
		from var(--angle),
		var(--violet),
		var(--pink),
		var(--orange),
		var(--pink),
		var(--violet)
	);
	-webkit-mask:
		linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	animation: spin 6s linear infinite;
	opacity: 0.8;
	pointer-events: none;
}

.hud[data-phase='listening'] .hud-ring {
	animation-duration: 2.4s;
	opacity: 1;
}

@keyframes spin {
	to {
		--angle: 360deg;
	}
}

.hud-orb {
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgb(255 255 255 / 0.07);
	border: 1px solid rgb(255 255 255 / 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2.5px;
}

.hud-orb span {
	width: 3.5px;
	height: 14px;
	border-radius: 2px;
	background: linear-gradient(0deg, var(--violet), var(--pink));
	transform-origin: center;
}

.hud-orb span:nth-child(1),
.hud-orb span:nth-child(5) {
	height: 8px;
}

.hud-orb span:nth-child(3) {
	height: 18px;
}

.hud[data-phase='listening'] .hud-orb span {
	animation: vu 0.9s ease-in-out infinite alternate;
}

.hud[data-phase='speaking'] .hud-orb span {
	animation: vu 0.6s ease-in-out infinite alternate;
}

.hud[data-phase='thinking'] .hud-orb span,
.hud[data-phase='looking'] .hud-orb span {
	height: 8px;
	animation: wave 1.1s ease-in-out infinite;
}

.hud-orb span:nth-child(2) {
	animation-delay: -0.3s !important;
}
.hud-orb span:nth-child(3) {
	animation-delay: -0.55s !important;
}
.hud-orb span:nth-child(4) {
	animation-delay: -0.15s !important;
}
.hud-orb span:nth-child(5) {
	animation-delay: -0.7s !important;
}

@keyframes vu {
	from {
		transform: scaleY(0.35);
	}
	to {
		transform: scaleY(1.1);
	}
}

@keyframes wave {
	0%,
	100% {
		transform: translateY(0);
		opacity: 0.6;
	}
	50% {
		transform: translateY(-4px);
		opacity: 1;
	}
}

.hud-body {
	min-width: 0;
	flex: 1;
	padding-top: 1px;
}

.hud-top {
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: rgb(255 255 255 / 0.72);
}

.hud-timer {
	font-weight: 400;
	color: rgb(255 255 255 / 0.4);
	font-variant-numeric: tabular-nums;
}

.hud-esc {
	margin-left: auto;
	font-weight: 400;
	font-size: 13px;
	color: rgb(255 255 255 / 0.45);
}

.hud-esc kbd {
	background: rgb(255 255 255 / 0.08);
	border: 1px solid rgb(255 255 255 / 0.14);
	color: rgb(255 255 255 / 0.7);
	font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
	font-weight: 600;
	font-size: 11px;
	border-radius: 4px;
}

.hud-context {
	margin-top: 4px;
	font-size: 14px;
	color: rgb(255 255 255 / 0.45);
}

.hud-context:empty {
	display: none;
}

.hud-text {
	margin-top: 4px;
	font-size: 16px;
	line-height: 1.45;
	color: #fff;
	min-height: 1.45em;
}

.hud-text .caret {
	display: inline-block;
	width: 2px;
	height: 1.05em;
	margin-left: 2px;
	vertical-align: -0.15em;
	background: var(--pink);
	animation: blink 1s steps(1) infinite;
}

.hud-text .pending {
	color: rgb(255 255 255 / 0.35);
}

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

.hud-activity {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	font-size: 13.5px;
	color: rgb(255 255 255 / 0.55);
}

.hud-activity[hidden] {
	display: none;
}

.hud-steps {
	color: rgb(255 255 255 / 0.35);
}

/* Spacer: a dithered band between sections */
.spacer {
	height: 48px;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.dither {
	background-image: radial-gradient(var(--border-strong) 1px, transparent 1.2px);
	background-size: 6px 6px;
	mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

/* Sections */
.section {
	padding: clamp(48px, 7vw, 80px) var(--pad);
	border-bottom: 1px solid var(--border);
}

.section-head {
	max-width: 40em;
	margin-bottom: 40px;
}

.section-head h2 {
	font-size: clamp(24px, 2.6vw, 30px);
	letter-spacing: -0.02em;
	margin-bottom: 12px;
}

.section-head p {
	font-size: 17px;
}

.section h3 {
	font-size: 17px;
	margin-bottom: 6px;
}

/* Features: a two-column list with bold names, like a spec sheet */
.features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	border-top: 1px solid var(--border);
}

.features li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 18px 24px 18px 0;
	border-bottom: 1px solid var(--border);
}

.features li:nth-child(even) {
	padding-left: 24px;
	border-left: 1px solid var(--border);
}

.features strong {
	color: var(--text-strong);
	font-weight: 600;
	font-size: 15px;
}

.features span {
	font-size: 15px;
}

@media (max-width: 720px) {
	.features {
		grid-template-columns: 1fr;
	}
	.features li:nth-child(even) {
		padding-left: 0;
		border-left: 0;
	}
}

/* Cards */
.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

@media (max-width: 900px) {
	.cards {
		grid-template-columns: 1fr;
	}
}

.card {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--bg-raised);
	display: flex;
	flex-direction: column;
}

.card-media {
	position: relative;
	height: 220px;
	background: #141414;
	border-bottom: 1px solid var(--border);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	color: #eee;
	font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
}

.card-copy {
	padding: 20px;
}

.card-copy p {
	font-size: 15px;
}

.media-talk {
	background:
		radial-gradient(80% 90% at 10% 0%, rgb(140 92 245 / 0.45), transparent 70%),
		radial-gradient(70% 80% at 100% 100%, rgb(250 146 61 / 0.35), transparent 70%), #1b1522;
}

.mini-hud {
	display: flex;
	gap: 10px;
	width: 100%;
	padding: 12px 14px;
	border-radius: 16px;
	background: rgb(30 30 32 / 0.9);
	border: 1px solid rgb(237 74 153 / 0.45);
	box-shadow: 0 16px 40px -10px rgb(0 0 0 / 0.6);
	font-size: 13px;
}

.hud-orb.small {
	width: 30px;
	height: 30px;
	gap: 2px;
}

.hud-orb.small span {
	width: 2.5px;
	height: 6px;
	animation: wave 1.1s ease-in-out infinite;
}

.mini-status {
	font-weight: 600;
	color: rgb(255 255 255 / 0.72);
}

.mini-text {
	color: #fff;
	margin-top: 2px;
}

.mini-act {
	color: rgb(255 255 255 / 0.5);
	margin-top: 4px;
	font-size: 12px;
}

.media-dictate {
	flex-direction: column;
	gap: 14px;
	background: #1a1a1a;
}

.fake-field {
	width: 100%;
	border-radius: 10px;
	background: #232323;
	border: 1px solid #333;
	padding: 12px 14px;
	font-size: 13px;
	min-height: 110px;
}

.fake-field-label {
	color: rgb(255 255 255 / 0.4);
	padding-bottom: 8px;
	margin-bottom: 8px;
	border-bottom: 1px solid #333;
}

.fake-field p {
	color: #f2f2f2;
	line-height: 1.5;
}

.fake-field p::after {
	content: '';
	display: inline-block;
	width: 1.5px;
	height: 1em;
	margin-left: 1px;
	vertical-align: -0.15em;
	background: #fff;
	animation: blink 1s steps(1) infinite;
}

.dictate-pill {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgb(30 30 32 / 0.95);
	border: 1px solid rgb(255 255 255 / 0.12);
	font-size: 12px;
	color: rgb(255 255 255 / 0.75);
}

.dictate-pill kbd {
	background: rgb(255 255 255 / 0.08);
	border-color: rgb(255 255 255 / 0.18);
	color: #fff;
}

.rec {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--pink);
	animation: blink 1.2s steps(1) infinite;
}

.media-threads {
	padding: 0;
	align-items: stretch;
	justify-content: stretch;
	background: #1c1c1c;
}

.fake-threads {
	display: flex;
	width: 100%;
	font-size: 11.5px;
}

.fake-threads aside {
	width: 44%;
	padding: 14px 8px;
	background: #171717;
	border-right: 1px solid #2a2a2a;
}

.ft-group {
	color: rgb(255 255 255 / 0.35);
	font-size: 10.5px;
	font-weight: 600;
	padding: 8px 6px 4px;
}

.ft-group:first-child {
	padding-top: 0;
}

.ft-row {
	display: flex;
	justify-content: space-between;
	gap: 6px;
	padding: 4px 6px;
	border-radius: 5px;
	color: rgb(255 255 255 / 0.78);
	white-space: nowrap;
}

.ft-row span {
	overflow: hidden;
	text-overflow: ellipsis;
}

.ft-row em {
	font-style: normal;
	color: rgb(255 255 255 / 0.35);
}

.ft-row.active {
	background: rgb(255 255 255 / 0.08);
}

.ft-main {
	flex: 1;
	padding: 14px 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.ft-user {
	align-self: flex-end;
	background: #2b2b2b;
	padding: 5px 9px;
	border-radius: 10px;
	color: #eee;
	max-width: 95%;
}

.ft-worked {
	color: rgb(255 255 255 / 0.42);
}

.ft-reply {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.ft-reply span {
	height: 6px;
	border-radius: 3px;
	background: rgb(255 255 255 / 0.14);
}

.ft-reply .short {
	width: 60%;
}

.ft-task {
	margin-top: auto;
	border: 1px solid #333;
	border-radius: 8px;
	padding: 7px 9px;
	color: rgb(255 255 255 / 0.75);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ft-task b {
	color: rgb(255 255 255 / 0.4);
	font-weight: 500;
	margin-right: 4px;
}

.ft-task i {
	font-style: normal;
	background: var(--brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-left: 4px;
}

/* Pipeline */
.pipeline {
	list-style: none;
	margin: 0 0 56px;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg-raised);
	font-size: 14px;
	counter-reset: p;
}

.pipeline li {
	display: grid;
	grid-template-columns: 2.5em 5.5em 1fr;
	gap: 12px;
	align-items: baseline;
	padding: 14px 20px;
	border-bottom: 1px solid var(--border);
	counter-increment: p;
}

.pipeline li:last-child {
	border-bottom: 0;
}

.pipeline li::before {
	content: counter(p, decimal-leading-zero);
	color: var(--text-faint);
}

.pk {
	color: var(--text-strong);
	font-weight: 600;
}

@media (max-width: 560px) {
	.pipeline li {
		grid-template-columns: 2em 1fr;
	}
	.pipeline li > span:last-child {
		grid-column: 2;
	}
}

.split {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 48px;
	align-items: start;
}

.split-copy {
	display: flex;
	flex-direction: column;
}

.split-copy p {
	font-size: 15px;
	margin-bottom: 28px;
}

.split-copy p:last-child {
	margin-bottom: 0;
}

@media (max-width: 860px) {
	.split {
		grid-template-columns: 1fr;
	}
}

.shot {
	margin: 0;
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
	background: #1f1f1f;
	box-shadow: 0 20px 50px -20px rgb(0 0 0 / 0.35);
}

.shot-wide {
	margin-top: 56px;
	max-width: 760px;
}

/* Steps */
.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--border);
}

.steps li {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	padding: 28px 0;
	border-bottom: 1px solid var(--border);
}

.step-n {
	color: var(--text-faint);
	font-size: 14px;
	padding-top: 2px;
}

.steps p {
	font-size: 15px;
	margin-bottom: 16px;
}

.steps li:last-child p {
	margin-bottom: 0;
}

.cmd {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 560px;
	border: 1px solid var(--border);
	border-radius: 6px;
	background: var(--bg-raised);
	padding: 10px 10px 10px 14px;
}

.cmd code {
	flex: 1;
	min-width: 0;
	overflow-x: auto;
	white-space: nowrap;
	background: none;
	border: 0;
	padding: 0;
	font-size: 13.5px;
}

.cmd code::before {
	content: '$ ';
	color: var(--text-faint);
}

.copy {
	flex: none;
	font-size: 12px;
	height: 26px;
	padding: 0 10px;
	border-radius: 4px;
	border: 1px solid var(--border-strong);
	background: transparent;
	color: var(--text-strong);
	cursor: pointer;
}

.copy:hover {
	background: var(--bg-weak);
}

/* Shortcuts */
.keys {
	width: 100%;
	max-width: 720px;
	border-collapse: collapse;
	font-size: 15px;
}

.keys td {
	padding: 12px 0;
	border-bottom: 1px solid var(--border);
	vertical-align: baseline;
}

.keys tr:first-child td {
	border-top: 1px solid var(--border);
}

.keys td:first-child {
	width: 140px;
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--text-muted);
	white-space: nowrap;
}

/* FAQ */
.faq {
	max-width: 760px;
	border-top: 1px solid var(--border);
}

.faq details {
	border-bottom: 1px solid var(--border);
}

.faq summary {
	list-style: none;
	cursor: pointer;
	padding: 18px 32px 18px 0;
	position: relative;
	color: var(--text-strong);
	font-weight: 500;
}

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

.faq summary::after {
	content: '+';
	position: absolute;
	right: 4px;
	top: 16px;
	font-family: var(--font-mono);
	color: var(--text-faint);
	font-size: 18px;
}

.faq details[open] summary::after {
	content: '−';
}

.faq details p {
	padding: 0 32px 20px 0;
	font-size: 15px;
}

/* CTA */
.cta {
	padding: clamp(64px, 9vw, 112px) var(--pad);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 14px;
	border-bottom: 1px solid var(--border);
}

.cta img {
	margin-bottom: 8px;
}

.cta h2 {
	font-size: clamp(26px, 3.4vw, 38px);
	letter-spacing: -0.025em;
}

.cta p {
	font-size: 17px;
	margin-bottom: 12px;
}

/* Footer */
.footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
	padding: 24px var(--pad) 40px;
	font-size: 12.5px;
	color: var(--text-muted);
}

.footer nav {
	display: flex;
	gap: 16px;
}

.footer a {
	color: var(--text-muted);
	text-decoration: none;
}

.footer a:hover {
	color: var(--text-strong);
}

.footer .muted {
	margin-left: auto;
}

@media (max-width: 720px) {
	.footer .muted {
		margin-left: 0;
		width: 100%;
	}
}

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

/* Clawd, Claude Code's mascot: pixel art (18 × 10 grid of half-width pixels, like the terminal original) */
.clawd-art {
	display: block;
	overflow: visible;
	fill: #d97757;
}

.clawd-eyes rect {
	fill: #141414;
	transform-box: fill-box;
	transform-origin: center;
	animation: clawd-blink 5s infinite;
}

.clawd-legs rect,
.clawd-arm,
.clawd-eyes {
	transform-box: fill-box;
	transition: transform 0.2s steps(2);
}

/* Riding on the hero voice bar; main.js moves it (--x) and sets is-walking / is-hopping */
.clawd {
	--x: 6px;
	position: absolute;
	bottom: calc(100% - 1px);
	left: 0;
	width: 72px;
	height: 40px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	transform: translateX(var(--x));
	transition: transform 1.1s cubic-bezier(0.45, 0.05, 0.35, 1);
	-webkit-tap-highlight-color: transparent;
}

.clawd:focus-visible {
	outline: 2px solid #d97757;
	outline-offset: 4px;
	border-radius: 4px;
}

.clawd .clawd-art {
	width: 100%;
	height: 100%;
	transform-origin: bottom center;
}

.clawd.is-walking .leg-a {
	animation: clawd-step 0.26s steps(1) infinite;
}

.clawd.is-walking .leg-b {
	animation: clawd-step 0.26s steps(1) infinite 0.13s;
}

.clawd.is-walking .clawd-body {
	animation: clawd-step 0.26s steps(1) infinite 0.065s;
}

/* Listening: perks up and looks at what you're saying */
.hud[data-phase='listening'] .clawd:not(.is-walking) .clawd-art {
	animation: clawd-perk 1.4s ease-in-out infinite;
}

.hud[data-phase='listening'] .clawd-eyes {
	transform: translate(1px, -1px);
}

/* Looking at your screen: eyes dart around */
.hud[data-phase='looking'] .clawd-eyes {
	animation: clawd-look 1.6s steps(1) infinite;
}

/* Speaking: waves */
.hud[data-phase='speaking'] .clawd:not(.is-walking) .clawd-arm-r {
	animation: clawd-wave 0.5s steps(1) 4;
}

.clawd.is-hopping .clawd-art {
	animation: clawd-hop 0.45s cubic-bezier(0.3, 0.7, 0.4, 1) 2;
}

.clawd-say {
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	padding: 3px 8px;
	border-radius: 6px;
	background: #f2f2f2;
	color: #141414;
	font-size: 11px;
	white-space: nowrap;
	opacity: 0;
	transform: translate(-50%, 4px);
	transition:
		opacity 0.2s ease,
		transform 0.2s ease;
	pointer-events: none;
}

.clawd-say::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	border: 4px solid transparent;
	border-top-color: #f2f2f2;
	transform: translateX(-50%);
}

.clawd-say.is-shown {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* The little one next to "Install Claude Code" */
.with-clawd {
	display: flex;
	align-items: center;
	gap: 10px;
}

.clawd-mini {
	flex: none;
	width: 29px;
	height: 16px;
}

.with-clawd:hover .clawd-mini {
	animation: clawd-hop 0.45s cubic-bezier(0.3, 0.7, 0.4, 1);
}

@keyframes clawd-step {
	50% {
		transform: translateY(-1px);
	}
}

@keyframes clawd-perk {
	50% {
		transform: translateY(-3px);
	}
}

@keyframes clawd-hop {
	40% {
		transform: translateY(-10px) scaleY(1.06);
	}
	80% {
		transform: translateY(0) scaleY(0.92);
	}
}

@keyframes clawd-wave {
	50% {
		transform: translateY(-2px);
	}
}

@keyframes clawd-look {
	0% {
		transform: translateX(-1px);
	}
	35% {
		transform: translateX(1px);
	}
	70% {
		transform: translate(0, -1px);
	}
}

@keyframes clawd-blink {
	0%,
	94%,
	100% {
		transform: scaleY(1);
	}
	97% {
		transform: scaleY(0.15);
	}
}
