/*
 * usedocs homepage — scoped to body.home.
 * Dark hero + light body. Type follows the Tailwind scale, spacing the 2/4/8/12/16/24/32/40/48/64/80/96 scale,
 * one easing curve for every transition. No gradient backgrounds: patterns are SVG, glows are blurred solid
 * shapes, fades use mask-image. Motion lives in /home.js (Web Animations API + IntersectionObserver).
 */
:root {
	--paper: #fafafa;
	--raised: #ffffff;
	--sunk: #f4f4f5;
	--ink: #0a0a0a;
	--ink-soft: #3f3f46;
	--ink-faint: #52525b;
	--line: #e4e4e7;
	--line-strong: #d4d4d8;
	--violet: #5b54f5;
	--violet-hover: #4a43e0;
	--violet-ink: #4338ca;
	--violet-tint: #eeedfe;
	--violet-bright: #a5a1fb;
	--mint: #047857;
	--mint-tint: #e7f7ef;
	--mint-bright: #34d399;
	--amber: #92400e;
	--amber-tint: #fdf3e1;
	--rose: #b42318;
	--rose-tint: #fdecea;
	--night: #000000;
	--night-2: #181818;
	--night-3: #1f1f1f;
	--night-4: #272727;
	--night-line: rgba(255, 255, 255, 0.1);
	--night-text: #a1a1aa;
	--focus: #71717a;
	--focus-on-dark: #a1a1aa;
	--sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
	--mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--ease: cubic-bezier(0.32, 0.72, 0, 1);
	--shadow-card: 0 1px 2px rgba(10, 10, 10, 0.04), 0 12px 32px -12px rgba(10, 10, 10, 0.1);
	--shadow-lift: 0 1px 2px rgba(10, 10, 10, 0.05), 0 24px 48px -16px rgba(10, 10, 10, 0.16);
	--grid-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 0H0V48' fill='none' stroke='white' stroke-opacity='0.08'/%3E%3C/svg%3E");
	--dots-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='1' cy='1' r='1' fill='%230a0a0a' fill-opacity='0.13'/%3E%3C/svg%3E");
	--noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	interpolate-size: allow-keywords;
}

/* —— Base —— */
/* In-page links (founding chip, nav links to /#faq and friends) glide instead of jumping. CSS only, so no scroll listeners. */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}
body.home {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1rem;
	line-height: 1.5rem;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
.home *,
.home *::before,
.home *::after {
	box-sizing: border-box;
}
/* Resets use :where() so they carry zero specificity and never beat a component's own spacing. */
:where(.home) :where(h1, h2, h3, p, ul, ol, figure, pre) {
	margin: 0;
}
:where(.home) :where(ul, ol) {
	padding: 0;
	list-style: none;
}
:where(.home) :where(h1, h2, h3) {
	text-wrap: balance;
	font-weight: 600;
	letter-spacing: -0.02em;
}
:where(.home) :where(p, li) {
	text-wrap: pretty;
}
/* :where keeps this at zero specificity so button classes set their own link color. */
:where(.home) a {
	color: inherit;
}
/* Zero specificity so components (like the flow connectors) can still hide or resize an svg. */
:where(.home) :where(img, svg) {
	display: block;
	max-width: 100%;
}
.home code,
.home .mono {
	font-family: var(--mono);
}
.home em {
	font-style: normal;
}
/* Outlines follow each element's own corner radius. Focus is neutral gray: dark on paper, light on the dark bands. */
.home :focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
}
.home :is(.hero-inner, .dark-card) :focus-visible {
	outline-color: var(--focus-on-dark);
}
.home .i {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	fill: currentColor;
}
.skip-link {
	position: absolute;
	left: 16px;
	top: -64px;
	z-index: 200;
	padding: 8px 12px;
	border-radius: 8px;
	background: var(--ink);
	color: #fff;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
	text-decoration: none;
	transition: top 0.3s var(--ease);
}
.skip-link:focus {
	top: 16px;
}
.wrap {
	position: relative;
	z-index: 1;
	width: min(72rem, calc(100% - 32px));
	margin: 0 auto;
}
@media (min-width: 768px) {
	.wrap {
		width: min(72rem, calc(100% - 64px));
	}
}
.section {
	position: relative;
	padding: 96px 0;
}
/* In-page links land below the floating nav. */
.home main [id] {
	scroll-margin-top: 96px;
}
.home main .tour-panel[id] {
	scroll-margin-top: 192px;
}
@media (max-width: 767px) {
	.section {
		padding: 64px 0;
	}
}

/* —— Pattern kit —— */
.pat-grid,
.pat-dots,
.pat-noise {
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.pat-grid {
	background-image: var(--grid-dark);
	background-position: center top;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 25%, transparent 80%);
	mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 25%, transparent 80%);
}
.pat-dots-wrap {
	overflow: hidden;
}
.pat-dots {
	background-image: var(--dots-light);
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 10%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 10%, transparent 75%);
}
.pat-noise {
	background-image: var(--noise);
	opacity: 0.06;
	mix-blend-mode: overlay;
}
.glow {
	position: absolute;
	width: 560px;
	height: 560px;
	border-radius: 9999px;
	filter: blur(140px);
	opacity: 0.4;
	pointer-events: none;
	will-change: translate;
	animation: glow-drift 24s ease-in-out infinite alternate;
}
.glow-a {
	top: -280px;
	left: calc(50% - 480px);
	background: var(--violet);
}
.glow-b {
	top: -160px;
	left: calc(50% + 64px);
	background: #0ea5e9;
	opacity: 0.22;
	animation-duration: 30s;
	animation-direction: alternate-reverse;
}
.glow-c {
	right: -240px;
	bottom: -320px;
	background: var(--violet);
	opacity: 0.3;
}
@keyframes glow-drift {
	from {
		translate: 0 0;
	}
	to {
		translate: 96px 48px;
	}
}
/* Beams run down grid lines: the grid tiles from the center, so lines sit at 50% - 24px + n * 48px. */
.beam {
	position: absolute;
	top: 0;
	left: calc(50% - 24px + var(--x) * 48px);
	width: 1px;
	height: 160px;
	background: var(--violet-bright);
	opacity: 0.9;
	-webkit-mask-image: linear-gradient(to bottom, transparent, #000 70%, transparent);
	mask-image: linear-gradient(to bottom, transparent, #000 70%, transparent);
	transform: translateY(-160px);
	animation: beam-fall 9s linear infinite;
	animation-delay: var(--d);
}
@keyframes beam-fall {
	from {
		transform: translateY(-160px);
	}
	to {
		transform: translateY(1040px);
	}
}

/* —— Buttons —— */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 16px;
	overflow: hidden;
	border: 1px solid transparent;
	border-radius: 12px;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.5rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	isolation: isolate;
	transition: transform 0.7s var(--ease), background-color 0.7s var(--ease), border-color 0.7s var(--ease),
		box-shadow 0.7s var(--ease), color 0.7s var(--ease);
}
.btn > .i:last-child {
	transition: transform 0.7s var(--ease);
}
.btn:hover > .i:last-child {
	transform: translateX(4px);
}
.btn:hover {
	transform: translateY(-2px);
}
.btn:active {
	transform: scale(0.98);
}
.btn:disabled {
	cursor: progress;
	opacity: 0.72;
}
.btn-lg {
	min-height: 48px;
	padding: 8px 24px;
}
.btn-block {
	width: 100%;
}
/* Shine: a skewed solid bar sweeps across on hover. */
.btn-light::after,
.btn-dark::after,
.btn-violet::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	width: 32px;
	height: 100%;
	background: rgba(91, 84, 245, 0.18);
	transform: translateX(-64px) skewX(-20deg);
	transition: transform 0.9s var(--ease);
}
.btn-dark::after,
.btn-violet::after {
	background: rgba(255, 255, 255, 0.22);
}
.btn-light:hover::after,
.btn-dark:hover::after,
.btn-violet:hover::after {
	transform: translateX(480px) skewX(-20deg);
}
.btn-light {
	background: #fff;
	color: var(--ink);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 8px 24px rgba(91, 84, 245, 0.25);
}
.btn-light:hover {
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12), 0 12px 32px rgba(91, 84, 245, 0.35);
}
.btn-glass {
	border-color: rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}
.btn-glass:hover,
.btn-glass[aria-expanded="true"] {
	border-color: rgba(165, 161, 251, 0.6);
	background: rgba(255, 255, 255, 0.1);
}
.btn-dark {
	background: var(--ink);
	color: #fff;
}
.btn-dark:hover {
	background: var(--violet);
	box-shadow: 0 12px 24px rgba(91, 84, 245, 0.28);
}
.btn-violet {
	background: var(--violet);
	color: #fff;
}
.btn-violet:hover {
	background: var(--violet-hover);
}
.btn-outline {
	border-color: var(--line-strong);
	background: #fff;
	color: var(--ink);
}
.btn-outline:hover {
	border-color: var(--ink);
}
.text-link {
	display: inline;
	padding: 0;
	border: 0;
	background: none;
	color: var(--violet-ink);
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 4px;
	cursor: pointer;
	transition: text-decoration-color 0.7s var(--ease);
}
.text-link:hover {
	text-decoration-color: currentColor;
}

/* —— Section headers —— */
.section-head {
	max-width: 680px;
}
.section-head.center {
	margin: 0 auto;
	text-align: center;
}
.label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ink-faint);
	font-family: var(--mono);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.label span {
	padding: 2px 8px;
	border-radius: 9999px;
	background: var(--violet-tint);
	color: var(--violet-ink);
}
.label.on-dark {
	color: var(--night-text);
}
.label.on-dark span {
	background: rgba(165, 161, 251, 0.14);
	color: var(--violet-bright);
}
.section-head h2 {
	margin-top: 16px;
	font-size: 3rem;
	line-height: 1;
	letter-spacing: -0.03em;
}
.section-head > p:not(.label) {
	margin-top: 16px;
	color: var(--ink-faint);
	font-size: 1.125rem;
	line-height: 1.75rem;
}
@media (max-width: 767px) {
	.section-head h2 {
		font-size: 2.25rem;
		line-height: 2.5rem;
	}
}

/* —— Floating island nav: dark over the hero, light after ——
   The pill itself is shared by every page (site-chrome.css). The homepage pins it over the hero and adds a
   dark tone while the hero is behind it. */
body.home .site-header,
body.home .site-header.scrolled {
	position: fixed;
	top: 24px;
	left: 0;
	right: 0;
	padding-top: 0;
}
body.home[data-nav-tone="dark"] .site-header .site-chrome-inner::before {
	border-color: var(--night-line);
	background: rgba(24, 24, 24, 0.72);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}
body.home[data-nav-tone="dark"] .site-header .brand {
	color: #fff;
}
body.home[data-nav-tone="dark"] .site-header :focus-visible {
	outline-color: var(--focus-on-dark);
}
body.home[data-nav-tone="dark"] .site-header .brand .mark {
	background: #fff;
	color: var(--ink);
}
body.home[data-nav-tone="dark"] .site-header .nav-toggle {
	border-color: rgba(255, 255, 255, 0.2);
	background: transparent;
}
body.home[data-nav-tone="dark"] .site-header .nav-toggle[aria-expanded="false"] span {
	background: #fff;
}
@media (min-width: 981px) {
	body.home[data-nav-tone="dark"] .site-header .nav-trigger,
	body.home[data-nav-tone="dark"] .site-header .nav-link {
		color: #d4d4d8;
	}
	body.home[data-nav-tone="dark"] .site-header .nav-trigger:hover,
	body.home[data-nav-tone="dark"] .site-header .nav-trigger[aria-expanded="true"],
	body.home[data-nav-tone="dark"] .site-header .nav-link:hover {
		color: #fff;
		background: rgba(255, 255, 255, 0.08);
	}
	body.home[data-nav-tone="dark"] .site-header .nav-hover-bg {
		background: rgba(255, 255, 255, 0.08);
	}
	body.home[data-nav-tone="dark"] .site-header .nav-actions .btn.ghost {
		color: #fff;
	}
	body.home[data-nav-tone="dark"] .site-header .nav-actions .btn.primary {
		background: #fff;
		color: var(--ink);
	}
	body.home[data-nav-tone="dark"] .site-header .nav-actions .btn.primary:hover {
		background: var(--violet-tint);
	}
}

/* —— Reveal: hidden only once JS marks <html class="js">, so no-JS readers see everything —— */
html.js .reveal {
	opacity: 0;
	transform: translateY(64px);
	filter: blur(12px);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
}
html.js .reveal.is-in {
	opacity: 1;
	transform: none;
	filter: none;
}
html.js .reveal[data-delay="1"] {
	transition-delay: 0.1s;
}
html.js .reveal[data-delay="2"] {
	transition-delay: 0.2s;
}
html.js .reveal[data-delay="3"] {
	transition-delay: 0.3s;
}
html.js [data-stagger] > * {
	opacity: 0;
	transform: translateY(48px);
	filter: blur(8px);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
	transition-delay: calc(var(--i, 0) * 80ms);
}
html.js [data-stagger].is-in > * {
	opacity: 1;
	transform: none;
	filter: none;
}
/* Decorative loops only run while on screen (home.js toggles .is-running). */
html.js [data-loop]:not(.is-running),
html.js [data-loop]:not(.is-running) * {
	animation-play-state: paused !important;
}

/* —— Hero —— */
.hero {
	position: relative;
	padding-top: 160px;
	color: #fff;
}
.hero-dark {
	position: absolute;
	inset: 0 0 240px;
	overflow: hidden;
	background: var(--night);
}
.hero-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.announce {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 12px 4px 8px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.05);
	color: #e4e4e7;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 500;
	text-decoration: none;
	transition: border-color 0.7s var(--ease), background-color 0.7s var(--ease);
}
.announce:hover {
	border-color: rgba(165, 161, 251, 0.6);
	background: rgba(255, 255, 255, 0.08);
}
.announce .i {
	color: var(--violet-bright);
	transition: transform 0.7s var(--ease);
}
.announce:hover .i {
	transform: translateX(4px);
}
.pulse {
	position: relative;
	width: 8px;
	height: 8px;
	margin: 0 4px;
	border-radius: 9999px;
	background: var(--violet-bright);
}
.pulse::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 9999px;
	background: var(--violet-bright);
	animation: ping 2s var(--ease) infinite;
}
@keyframes ping {
	from {
		transform: scale(1);
		opacity: 0.7;
	}
	to {
		transform: scale(3);
		opacity: 0;
	}
}
.hero-kicker {
	margin-top: 24px;
	color: var(--night-text);
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 500;
}
.hero h1 {
	max-width: 1040px;
	margin-top: 16px;
	font-size: 4.5rem;
	line-height: 1;
	letter-spacing: -0.045em;
}
.hero h1 .line {
	display: block;
	width: fit-content;
	margin-inline: auto;
	padding-bottom: 8px;
	background: linear-gradient(90deg, #ffffff, #9b9b9b);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
html.js .hero h1 .line {
	animation: line-in 1.1s var(--ease) both;
}
html.js .hero h1 .line + .line {
	animation-delay: 0.12s;
}
@keyframes line-in {
	from {
		opacity: 0;
		transform: translateY(24px);
		filter: blur(12px);
	}
}
.hero-sub {
	max-width: 680px;
	margin-top: 24px;
	color: var(--night-text);
	font-size: 1.25rem;
	line-height: 1.75rem;
	text-wrap: balance;
}
.hero-cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 40px;
}
.trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 24px;
	margin-top: 24px;
	color: var(--night-text);
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.trust li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.trust .i {
	color: var(--mint-bright);
}
@media (max-width: 767px) {
	.hero {
		padding-top: 128px;
	}
	.hero-dark {
		bottom: 160px;
	}
	.hero h1 {
		font-size: 2.25rem;
		line-height: 2.5rem;
		letter-spacing: -0.035em;
	}
	.hero h1 .line {
		display: inline;
		padding-bottom: 0;
	}
	.hero-sub {
		font-size: 1.125rem;
		line-height: 1.75rem;
	}
	.hero-cta .btn {
		width: 100%;
	}
}

/* —— Scan form (hero, scan section) —— */
.scan {
	width: 100%;
	max-width: 560px;
	margin-top: 24px;
	text-align: left;
}
.scan[hidden] {
	display: none;
}
.scan-row {
	display: flex;
	gap: 8px;
	padding: 8px;
	border: 1px solid var(--line-strong);
	border-radius: 16px;
	background: var(--raised);
	transition: border-color 0.7s var(--ease), box-shadow 0.7s var(--ease);
}
.scan-row:focus-within {
	border-color: var(--focus);
	box-shadow: 0 0 0 4px rgba(10, 10, 10, 0.08);
}
.scan-row.has-error {
	border-color: var(--rose);
}
.scan-row label {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 8px;
	min-width: 0;
	padding-left: 8px;
	color: var(--ink-faint);
}
.scan-row input {
	width: 100%;
	min-width: 0;
	min-height: 44px;
	border: 0;
	background: transparent;
	color: var(--ink);
	font-family: var(--mono);
	font-size: 1rem;
	line-height: 1.5rem;
	outline: none;
}
/* The row's :focus-within border and ring is the focus indicator, so the input drops the global outline. */
.home .scan-row input:focus-visible {
	outline: none;
}
.scan-row .btn {
	border-radius: 8px;
}
.scan-hint {
	margin-top: 12px;
	color: var(--ink-faint);
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.scan-error {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 12px;
	color: var(--rose);
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.scan-error .i {
	margin-top: 2px;
}
.scan-error[hidden],
.scan-result[hidden] {
	display: none;
}
.scan-on-dark .scan-row {
	border-color: rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}
.scan-on-dark .scan-row:focus-within {
	border-color: var(--focus-on-dark);
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}
.scan-on-dark .scan-row.has-error {
	border-color: #fda4af;
}
.scan-on-dark label {
	color: var(--night-text);
}
.scan-on-dark input {
	color: #fff;
}
.scan-on-dark input::placeholder {
	color: #71717a;
}
.scan-on-dark .scan-hint {
	color: var(--night-text);
}
.scan-on-dark .scan-error {
	color: #fda4af;
}
.scan-lg input {
	min-height: 48px;
	font-size: 1.125rem;
	line-height: 1.75rem;
}
@media (max-width: 540px) {
	.scan-row {
		flex-direction: column;
	}
	.scan-row .btn {
		width: 100%;
	}
}
.scan-result {
	margin-top: 16px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--raised);
	box-shadow: var(--shadow-lift);
	color: var(--ink);
	text-align: left;
}
.scan-result .result-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 16px;
}
.scan-result .result-score {
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}
.scan-result .result-meta {
	color: var(--ink-faint);
	font-family: var(--mono);
	font-size: 0.75rem;
	line-height: 1rem;
}
.scan-result .result-bar {
	height: 8px;
	margin-top: 16px;
	overflow: hidden;
	border-radius: 9999px;
	background: var(--rose-tint);
}
.scan-result .result-bar span {
	display: block;
	height: 100%;
	border-radius: 9999px;
	background: var(--mint);
	transition: width 1.2s var(--ease);
}
.scan-result h3 {
	margin-top: 24px;
	color: var(--ink-faint);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.scan-result .q-list {
	display: grid;
	gap: 8px;
	margin-top: 12px;
}
.scan-result .q {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 2px 12px;
	padding: 12px;
	border-radius: 8px;
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.scan-result .q .i {
	grid-row: span 2;
	margin-top: 2px;
}
.scan-result .q.gap {
	background: var(--rose-tint);
}
.scan-result .q.gap .i {
	color: var(--rose);
}
.scan-result .q.ok {
	background: var(--mint-tint);
}
.scan-result .q.ok .i {
	color: var(--mint);
}
.scan-result .q strong {
	font-weight: 500;
}
.scan-result .q small {
	color: var(--ink-soft);
	font-size: 0.75rem;
	line-height: 1rem;
}
.scan-result .result-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin-top: 24px;
}
.scan-result .result-cta p {
	color: var(--ink-faint);
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.skeleton .sk {
	border-radius: 8px;
	background: var(--sunk);
	animation: sk-pulse 1.6s var(--ease) infinite alternate;
}
.skeleton .sk-title {
	width: 55%;
	height: 32px;
}
.skeleton .sk-bar {
	height: 8px;
	margin-top: 16px;
	border-radius: 9999px;
}
.skeleton .sk-row {
	height: 44px;
	margin-top: 8px;
}
.skeleton .sk-row:first-of-type {
	margin-top: 24px;
}
.skeleton .sk-note {
	margin-top: 16px;
	color: var(--ink-faint);
	font-size: 0.875rem;
	line-height: 1.25rem;
}
@keyframes sk-pulse {
	to {
		opacity: 0.45;
	}
}

/* —— Product demo ——
   Four chapters: a PR merges and usedocs writes the edit, you approve it and the article updates, a customer
   asks (one cited answer, one honest "won't guess"), and the question becomes a draft you publish. home.js
   runs the timeline; without JS or with reduced motion the markup is the readable final frame. */
.demo-wrap {
	margin-top: 64px;
}
.demo {
	display: flex;
	flex-direction: column;
	perspective: 1600px;
	color: var(--ink);
}
.demo-window {
	overflow: hidden;
	border: 1px solid var(--night-line);
	border-radius: 16px;
	background: var(--night-2);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 40px 120px -24px rgba(91, 84, 245, 0.45), 0 24px 48px rgba(0, 0, 0, 0.35);
	transform-origin: 50% 0%;
}
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.demo-window {
			animation: demo-tilt linear both;
			animation-timeline: view();
			animation-range: entry 0% cover 45%;
		}
	}
}
@keyframes demo-tilt {
	from {
		transform: rotateX(14deg) scale(0.94);
	}
	to {
		transform: none;
	}
}
.demo-bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: 40px;
	padding: 0 16px;
	border-bottom: 1px solid var(--night-line);
	color: var(--night-text);
	font-size: 0.75rem;
	line-height: 1rem;
}
.demo-bar .dots {
	display: flex;
	gap: 8px;
}
.demo-bar .dots i {
	width: 12px;
	height: 12px;
	border-radius: 9999px;
	background: #3f3f46;
}
.demo-bar .url {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 12px;
	border-radius: 8px;
	background: var(--night-3);
	font-family: var(--mono);
}
.demo-bar .url .i {
	width: 12px;
	height: 12px;
}
.demo-brand {
	justify-self: end;
	color: var(--violet-bright);
	font-weight: 600;
}
.demo-body {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	height: 520px;
}

/* Left: Ledgerloop's help center, with the article the PR changes and the chat widget. */
.demo-site {
	position: relative;
	overflow: hidden;
	background: var(--paper);
}
.hc-top {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 48px;
	padding: 0 24px;
	border-bottom: 1px solid var(--line);
	background: #fff;
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.hc-top b {
	font-weight: 600;
}
.hc-logo {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 8px;
	background: #0f766e;
	color: #fff;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
}
.hc-search {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	padding: 4px 12px;
	border: 1px solid var(--line);
	border-radius: 9999px;
	background: var(--paper);
	color: #71717a;
	font-size: 0.75rem;
	line-height: 1rem;
	transition: opacity 0.4s var(--ease);
}
.hc-search .i {
	width: 12px;
	height: 12px;
}
/* The open widget would cover the search pill: fade it out whenever the widget shows (always in the final frame). */
.demo:not(.is-live) .hc-search,
.demo-site:has(.w-panel.on) .hc-search {
	opacity: 0;
}
.hc-article {
	max-width: 304px;
	padding: 24px 24px 0;
}
.hc-crumbs {
	display: flex;
	gap: 8px;
	color: #71717a;
	font-size: 0.75rem;
	line-height: 1rem;
}
.hc-crumbs span {
	color: var(--line-strong);
}
.hc-title {
	margin-top: 8px;
	color: var(--ink);
	font-size: 1.25rem;
	line-height: 1.75rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}
.hc-meta {
	margin-top: 4px;
	color: #71717a;
	font-size: 0.75rem;
	line-height: 1rem;
}
.hc-meta-new {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--mint);
	font-weight: 500;
}
.hc-meta-new .i {
	width: 12px;
	height: 12px;
}
.hc-text {
	margin-top: 16px;
	color: var(--ink-soft);
	font-size: 0.875rem;
	line-height: 1.5rem;
}
/* The changed sentence: highlighted mint once it is fresh (the default and final frame). */
.hc-line {
	border-radius: 4px;
	background: var(--mint-tint);
	box-shadow: 0 0 0 2px var(--mint-tint);
	color: var(--ink);
	transition: background-color 0.7s var(--ease), box-shadow 0.7s var(--ease);
}
.hc-stale,
.hc-meta-old,
.hc-flag {
	display: none;
}
.hc-flag {
	align-items: center;
	gap: 4px;
	padding: 0 8px;
	border-radius: 9999px;
	background: var(--amber-tint);
	color: var(--amber);
	font-size: 0.75rem;
	line-height: 1.25rem;
	font-weight: 600;
	white-space: nowrap;
}
.hc-flag .i {
	width: 12px;
	height: 12px;
}
[data-hc="stale"] .hc-stale,
[data-hc="flagged"] .hc-stale,
[data-hc="stale"] .hc-meta-old,
[data-hc="flagged"] .hc-meta-old {
	display: inline;
}
[data-hc="stale"] .hc-fresh,
[data-hc="flagged"] .hc-fresh,
[data-hc="stale"] .hc-meta-new,
[data-hc="flagged"] .hc-meta-new {
	display: none;
}
[data-hc="stale"] .hc-line {
	background: transparent;
	box-shadow: 0 0 0 2px transparent;
	color: inherit;
}
[data-hc="flagged"] .hc-line {
	background: var(--amber-tint);
	box-shadow: 0 0 0 2px var(--amber-tint);
}
[data-hc="flagged"] .hc-flag {
	display: inline-flex;
}
.hc-skel {
	display: grid;
	gap: 8px;
	margin-top: 16px;
}
.hc-skel span {
	display: block;
	height: 8px;
	border-radius: 9999px;
	background: var(--line);
}
.hc-sub {
	margin-top: 24px;
	color: var(--ink);
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
}
.hc-toc {
	position: absolute;
	top: 72px;
	right: 24px;
	display: grid;
	gap: 8px;
	width: 184px;
	padding-left: 16px;
	border-left: 1px solid var(--line);
	color: #71717a;
	font-size: 0.75rem;
	line-height: 1rem;
}
.hc-toc p {
	color: var(--ink);
	font-weight: 600;
}
.hc-toc .is-on {
	color: var(--mint);
	font-weight: 500;
}
.w-launcher {
	position: absolute;
	right: 24px;
	bottom: 24px;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 9999px;
	background: #0f766e;
	color: #fff;
	box-shadow: 0 12px 24px -8px rgba(10, 10, 10, 0.4);
}
.w-launcher .i {
	width: 24px;
	height: 24px;
}
.w-panel {
	position: absolute;
	top: 20px;
	right: 20px;
	bottom: 20px;
	display: flex;
	flex-direction: column;
	width: 336px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 24px 48px -12px rgba(10, 10, 10, 0.25);
	transform-origin: 100% 100%;
}
.w-head {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--line);
}
.w-title {
	min-width: 0;
	overflow: hidden;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.w-status {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
	margin-left: auto;
	color: var(--mint);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 500;
	white-space: nowrap;
}
.w-status i {
	width: 6px;
	height: 6px;
	border-radius: 9999px;
	background: var(--mint);
}
.w-thread {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: flex-end;
	gap: 8px;
	min-height: 0;
	padding: 12px 16px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to bottom, transparent, #000 24px);
	mask-image: linear-gradient(to bottom, transparent, #000 24px);
}
.msg {
	max-width: 90%;
	padding: 8px 12px;
	border-radius: 12px;
	font-size: 0.875rem;
	line-height: 1.25rem;
	flex-shrink: 0;
}
.msg.user {
	align-self: flex-end;
	background: var(--ink);
	color: #fff;
}
.msg.bot {
	align-self: flex-start;
	background: var(--sunk);
	color: var(--ink-soft);
}
.msg.search {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	padding: 4px 0;
	color: var(--ink-faint);
	font-size: 0.75rem;
	line-height: 1rem;
}
.msg.search .chips {
	display: inline-flex;
	gap: 4px;
}
.msg.search b {
	padding: 2px 8px;
	border: 1px solid var(--line);
	border-radius: 9999px;
	background: #fff;
	font-weight: 500;
	transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.msg.search b.lit {
	border-color: rgba(91, 84, 245, 0.4);
	background: var(--violet-tint);
	color: var(--violet-ink);
}
.cite {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	column-gap: 8px;
	margin-top: 8px;
	padding: 4px 8px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
	color: var(--violet-ink);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 500;
}
.cite code {
	grid-column: 2;
	overflow: hidden;
	color: #71717a;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 400;
}
.msg.honest .sent {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 8px;
	color: var(--mint);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
}
.w-input {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 12px 12px;
	padding: 8px 12px;
	border: 1px solid var(--line);
	border-radius: 12px;
	color: #71717a;
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.w-input .i {
	color: var(--violet);
}
.caret::after {
	content: "";
	display: inline-block;
	width: 2px;
	height: 1em;
	margin-left: 2px;
	vertical-align: -2px;
	background: currentColor;
	animation: caret 1s steps(2) infinite;
}
@keyframes caret {
	50% {
		opacity: 0;
	}
}
.demo-toast {
	position: absolute;
	left: 24px;
	bottom: 24px;
	display: flex;
	align-items: center;
	gap: 12px;
	/* Stays clear of the open widget (336px wide, 20px from the edge). */
	max-width: min(280px, calc(100% - 400px));
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--ink);
	color: #fff;
	box-shadow: 0 16px 32px -12px rgba(10, 10, 10, 0.45);
}
.demo-toast .i {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	color: var(--mint-bright);
}
.demo-toast span {
	display: grid;
	min-width: 0;
}
.demo-toast b {
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
}
.demo-toast small {
	overflow: hidden;
	color: var(--night-text);
	font-size: 0.75rem;
	line-height: 1rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Right: the usedocs review queue. Edits from code sit above the questions customers asked. */
.demo-app {
	display: flex;
	min-width: 0;
	border-left: 1px solid var(--night-line);
	color: #e4e4e7;
}
.app-rail {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	align-items: center;
	gap: 4px;
	width: 48px;
	padding: 16px 0;
	border-right: 1px solid var(--night-line);
	background: var(--night);
}
.app-mark {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	margin-bottom: 12px;
	border-radius: 8px;
	background: #fff;
	color: var(--ink);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 700;
}
.app-rail i {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	color: #71717a;
}
.app-rail i.is-on {
	background: var(--night-4);
	color: #fff;
}
.app-rail .i {
	width: 16px;
	height: 16px;
}
.app-main {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	padding: 20px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 24px), transparent);
	mask-image: linear-gradient(to bottom, #000 calc(100% - 24px), transparent);
}
.app-main > * {
	flex-shrink: 0;
}
.app-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.app-title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
}
.app-count {
	min-width: 20px;
	padding: 0 6px;
	border-radius: 9999px;
	background: var(--violet);
	color: #fff;
	font-family: var(--mono);
	font-size: 0.75rem;
	line-height: 1.25rem;
	font-weight: 500;
	text-align: center;
	transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.app-count.is-zero {
	background: var(--night-4);
	color: var(--night-text);
}
.app-tag {
	padding: 2px 8px;
	border-radius: 9999px;
	background: var(--night-4);
	color: var(--night-text);
	font-size: 0.75rem;
	line-height: 1rem;
}
.queue-label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
	color: var(--night-text);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 500;
}
.pr-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 8px;
	background: var(--night-3);
}
.pr-row-icon {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: rgba(165, 161, 251, 0.14);
	color: var(--violet-bright);
	transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.pr-row-icon .i {
	width: 16px;
	height: 16px;
}
.pr-row-text {
	display: grid;
	flex: 1;
	min-width: 0;
}
.pr-row-text b {
	overflow: hidden;
	color: #fff;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.pr-row-text small {
	overflow: hidden;
	color: var(--night-text);
	text-overflow: ellipsis;
	white-space: nowrap;
	font-family: var(--mono);
	font-size: 0.75rem;
	line-height: 1rem;
}
.pr-row-pill {
	flex-shrink: 0;
	padding: 2px 8px;
	border-radius: 9999px;
	background: rgba(52, 211, 153, 0.14);
	color: var(--mint-bright);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
	transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.pr-row[data-state="open"] .pr-row-icon {
	background: rgba(52, 211, 153, 0.14);
	color: var(--mint-bright);
}
.pr-row[data-state="open"] .pr-row-pill {
	background: var(--night-4);
	color: var(--night-text);
}
.pr-row[data-state="merged"] .pr-row-pill {
	background: rgba(165, 161, 251, 0.16);
	color: var(--violet-bright);
}
.demo-scan {
	display: grid;
	gap: 8px;
	padding: 12px;
	border: 1px dashed rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	color: var(--night-text);
	font-size: 0.75rem;
	line-height: 1rem;
}
.demo-scan-bar {
	display: block;
	height: 4px;
	overflow: hidden;
	border-radius: 9999px;
	background: var(--night-4);
}
.demo-scan-bar i {
	display: block;
	height: 100%;
	background: var(--violet-bright);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.1s linear;
}
.demo-edit {
	padding: 12px;
	border: 1px solid rgba(165, 161, 251, 0.35);
	border-radius: 12px;
	background: var(--night-3);
	font-size: 0.75rem;
	line-height: 1rem;
}
.de-head {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.de-head b {
	font-weight: 600;
}
.de-head .i {
	color: var(--night-text);
}
.de-flag {
	margin-left: auto;
	padding: 2px 8px;
	border-radius: 9999px;
	background: rgba(251, 191, 36, 0.14);
	color: #fcd34d;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 500;
	white-space: nowrap;
}
.de-line {
	margin-top: 8px;
	padding: 4px 8px;
	border-radius: 8px;
	line-height: 1.25rem;
}
.de-line + .de-line {
	margin-top: 4px;
}
.de-line.del {
	background: rgba(244, 63, 94, 0.12);
	color: #fda4af;
	text-decoration: line-through;
	text-decoration-color: rgba(253, 164, 175, 0.5);
}
.de-line.add {
	background: rgba(52, 211, 153, 0.12);
	color: #6ee7b7;
}
.de-foot {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
}
.de-foot code {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-width: 0;
	overflow: hidden;
	color: var(--night-text);
	font-family: var(--mono);
	white-space: nowrap;
}
.de-foot code .i {
	flex-shrink: 0;
	width: 12px;
	height: 12px;
}
.de-more {
	color: #71717a;
	white-space: nowrap;
}
.de-approve,
.draft-actions .approve {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	border-radius: 8px;
	background: var(--violet);
	color: #fff;
	font-weight: 600;
	white-space: nowrap;
	transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.de-approve {
	margin-left: auto;
}
.de-approve.is-done,
.draft-actions .approve.is-done {
	background: rgba(52, 211, 153, 0.16);
	color: var(--mint-bright);
}
.gap-list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
}
.demo .gap-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 8px;
	background: var(--night-3);
	font-size: 0.875rem;
	line-height: 1.25rem;
	transition: border-color 0.7s var(--ease), box-shadow 0.7s var(--ease);
}
.demo .gap-row .q {
	overflow: hidden;
	color: #d4d4d8;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.demo .gap-row .count {
	flex-shrink: 0;
	padding: 2px 8px;
	border-radius: 9999px;
	background: var(--night-4);
	color: var(--night-text);
	font-family: var(--mono);
	font-size: 0.75rem;
	line-height: 1rem;
	transition: background-color 0.7s var(--ease), color 0.7s var(--ease);
}
.demo .gap-row.is-new {
	border-color: rgba(165, 161, 251, 0.55);
	box-shadow: 0 0 0 4px rgba(91, 84, 245, 0.16);
}
.demo .gap-row.is-new .count {
	background: var(--violet);
	color: #fff;
}
.draft {
	margin-top: 4px;
	padding: 16px;
	border: 1px solid rgba(165, 161, 251, 0.35);
	border-radius: 12px;
	background: var(--night-3);
}
.draft-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.draft-head .i {
	color: var(--violet-bright);
}
.draft-head span {
	color: #fff;
	font-weight: 600;
}
.draft-head em {
	flex-basis: 100%;
	color: var(--night-text);
	font-size: 0.75rem;
	line-height: 1rem;
	font-style: normal;
}
.draft-lines {
	display: grid;
	gap: 8px;
	margin-top: 12px;
}
.draft-lines span {
	display: block;
	width: var(--w);
	height: 8px;
	border-radius: 9999px;
	background: #3f3f46;
	transform-origin: left center;
}
.draft-actions {
	display: flex;
	gap: 8px;
	margin-top: 16px;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
}
.draft-actions .edit {
	padding: 4px 8px;
	border-radius: 8px;
	background: var(--night-4);
	color: #d4d4d8;
}

/* The pointer that approves things. Positioned by home.js in .demo-body coordinates. */
.demo-cursor {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
	width: 24px;
	height: 24px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s var(--ease);
}
.demo-cursor.on {
	opacity: 1;
}
.demo-cursor svg {
	display: block;
	width: 24px;
	height: 24px;
	fill: var(--ink);
	stroke: #fff;
	stroke-width: 1.5;
	stroke-linejoin: round;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
	transform-origin: 20% 10%;
}

/* While the timeline runs, steps not yet reached are removed. Without JS or with reduced motion the final
   frame shows: the fresh article, the open widget, the folded PR row, and the draft. */
.demo.is-live [data-step]:not(.on) {
	display: none;
}
.demo:not(.is-live) .msg.search,
.demo:not(.is-live) .w-launcher,
.demo:not(.is-live) .demo-scan,
.demo:not(.is-live) .demo-edit,
.demo:not(.is-live) .demo-toast,
.demo:not(.is-live) .demo-cursor {
	display: none;
}

/* Chapter rail under the window: jump to a step; the active track fills as the step plays. */
.demo-rail {
	display: none;
	align-items: center;
	gap: 24px;
	margin-top: 16px;
}
.demo.is-live .demo-rail {
	display: flex;
}
.demo-chapters {
	display: grid;
	flex: 1;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.demo-chapters button {
	display: grid;
	gap: 8px;
	width: 100%;
	padding: 4px 0;
	border: 0;
	background: none;
	color: var(--ink-faint);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: color 0.7s var(--ease);
}
.demo-chapters button:hover,
.demo-chapters button[aria-current="step"] {
	color: var(--ink);
}
.demo-chapters button:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 4px;
	border-radius: 4px;
}
.demo-chapter-track {
	display: block;
	height: 2px;
	overflow: hidden;
	border-radius: 9999px;
	background: var(--line-strong);
}
.demo-chapter-track i {
	display: block;
	height: 100%;
	background: var(--ink);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.1s linear;
}
.demo-chapter-label {
	display: flex;
	gap: 8px;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 500;
}
.demo-chapter-label b {
	color: #71717a;
	font-family: var(--mono);
	font-weight: 500;
}
.demo-toggle {
	display: none;
	flex-shrink: 0;
	align-items: center;
	gap: 8px;
	padding: 4px 12px;
	border: 1px solid var(--line);
	border-radius: 9999px;
	background: #fff;
	color: var(--ink-soft);
	font-family: inherit;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.7s var(--ease);
}
.demo.is-live .demo-toggle {
	display: inline-flex;
}
.demo-toggle:hover {
	border-color: var(--ink);
}
.demo-toggle:active {
	transform: scale(0.98);
}
@media (max-width: 1100px) {
	.hc-search,
	.hc-toc {
		display: none;
	}
}
/* Phones: one pane at a time while the story runs (home.js sets data-focus); both stack in the final frame. */
@media (max-width: 860px) {
	.demo-body {
		grid-template-columns: minmax(0, 1fr);
		height: auto;
	}
	.demo-site {
		height: 472px;
	}
	.hc-article {
		max-width: none;
	}
	.w-panel {
		inset: 12px;
		width: auto;
	}
	.w-launcher {
		right: 16px;
		bottom: 16px;
	}
	.demo-toast {
		max-width: calc(100% - 48px);
	}
	.demo-app {
		height: 452px;
		border-left: 0;
		border-top: 1px solid var(--night-line);
	}
	.app-rail,
	.pr-row-icon,
	.de-more {
		display: none;
	}
	.app-main {
		padding: 16px;
	}
	/* Two loops and a draft in a phone sized panel: keep the top two questions. */
	.demo-app [data-gap="refund"] {
		display: none;
	}
	.demo-bar .url {
		display: none;
	}
	.demo.is-live .demo-site,
	.demo.is-live .demo-app {
		height: 480px;
		border-top: 0;
	}
	.demo.is-live .demo-body[data-focus="app"] .demo-site,
	.demo.is-live .demo-body[data-focus="site"] .demo-app {
		display: none;
	}
	.demo-rail {
		flex-wrap: wrap;
		gap: 12px;
	}
	.demo-chapters {
		flex-basis: 100%;
		gap: 8px;
	}
	.demo-chapter-label b {
		display: none;
	}
	.demo-toggle {
		margin-left: auto;
	}
}

/* —— Works with —— */
.logos {
	padding: 48px 0 32px;
}
.logos-title {
	color: var(--ink-faint);
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 500;
	text-align: center;
}
.marquee {
	display: flex;
	margin-top: 24px;
	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);
}
.marquee-track {
	display: flex;
	flex-shrink: 0;
	gap: 48px;
	padding-right: 48px;
	animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track {
	animation-play-state: paused;
}
.marquee-track li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #71717a;
	font-size: 1.125rem;
	line-height: 1.75rem;
	font-weight: 600;
	white-space: nowrap;
	transition: color 0.7s var(--ease);
}
.marquee-track li:hover {
	color: var(--ink);
}
.logo-i {
	width: 24px;
	height: 24px;
	fill: currentColor;
}
@keyframes marquee {
	to {
		transform: translateX(-100%);
	}
}

/* —— Cards —— */
.card {
	position: relative;
	overflow: hidden;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--raised);
	box-shadow: var(--shadow-card);
	transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease), border-color 0.7s var(--ease);
}
.card:hover {
	transform: translateY(-4px);
	border-color: var(--line-strong);
	box-shadow: var(--shadow-lift);
}
/* Cursor spotlight: a blurred solid circle at the pointer (home.js sets --mx / --my). */
.spot::before {
	content: "";
	position: absolute;
	top: var(--my, 50%);
	left: var(--mx, 50%);
	width: 320px;
	height: 320px;
	border-radius: 9999px;
	background: rgba(91, 84, 245, 0.12);
	filter: blur(64px);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%);
	transition: opacity 0.7s var(--ease);
}
.spot:hover::before {
	opacity: 1;
}
.spot > * {
	position: relative;
}
.card h3 {
	font-size: 1.25rem;
	line-height: 1.75rem;
}
.card p {
	margin-top: 8px;
	color: var(--ink-faint);
}
.card-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-bottom: 24px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--paper);
	color: var(--violet);
}
.card-icon .i {
	width: 20px;
	height: 20px;
}
.cards-3 {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	margin-top: 48px;
}
@media (min-width: 900px) {
	.cards-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
	}
}

/* —— Problem visuals —— */
.viz {
	position: relative;
	height: 144px;
	margin-bottom: 24px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--paper);
	font-size: 0.75rem;
	line-height: 1rem;
}
.viz-stack .bub {
	position: absolute;
	left: 16px;
	bottom: calc(16px + var(--n) * 36px);
	padding: 4px 12px;
	border-radius: 12px;
	background: var(--ink);
	color: #fff;
	animation: stack-in 6s var(--ease) infinite;
	animation-delay: calc(var(--n) * 0.7s);
}
@keyframes stack-in {
	0% {
		opacity: 0;
		transform: translateY(16px);
	}
	10%,
	78% {
		opacity: 1;
		transform: none;
	}
	90%,
	100% {
		opacity: 0;
		transform: none;
	}
}
.viz .times {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 2px 8px;
	border-radius: 9999px;
	background: var(--rose-tint);
	color: var(--rose);
	font-weight: 600;
	animation: throb 2s var(--ease) infinite;
}
@keyframes throb {
	50% {
		transform: scale(1.08);
	}
}
.viz-wrong {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
	padding: 16px;
}
.viz-wrong .bub {
	position: relative;
	align-self: flex-start;
	padding: 8px 12px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	color: var(--ink-soft);
}
.viz-wrong .strike {
	position: absolute;
	top: 50%;
	left: 8px;
	right: 8px;
	height: 2px;
	background: var(--rose);
	transform: scaleX(0);
	transform-origin: left;
	animation: strike 5s var(--ease) infinite;
}
@keyframes strike {
	0%,
	30% {
		transform: scaleX(0);
	}
	42%,
	90% {
		transform: scaleX(1);
	}
	100% {
		transform: scaleX(0);
	}
}
.viz-wrong .verdict {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--rose);
	font-weight: 600;
	animation: verdict 5s var(--ease) infinite;
}
@keyframes verdict {
	0%,
	38% {
		opacity: 0;
		transform: translateY(8px);
	}
	48%,
	90% {
		opacity: 1;
		transform: none;
	}
	100% {
		opacity: 0;
	}
}
.viz-missing {
	display: grid;
	align-content: center;
	gap: 8px;
	padding: 16px;
}
.viz-missing .doc {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
	color: var(--ink-soft);
}
.viz-missing .ok .i {
	color: var(--mint);
}
.viz-missing .gap {
	border: 1px dashed #d97706;
	background: var(--amber-tint);
	color: var(--amber);
	font-weight: 600;
	animation: flicker 2.4s var(--ease) infinite;
}
@keyframes flicker {
	50% {
		opacity: 0.45;
	}
}

/* —— How it works: what you connect → usedocs → what you get —— */
.flow {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	margin-top: 64px;
}
@media (min-width: 1024px) {
	.flow {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
		align-items: center;
		gap: 96px;
	}
	.flow-arrow {
		display: none !important;
	}
}
.flow-lines {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
}
@media (max-width: 1023px) {
	.flow-lines {
		display: none;
	}
}
.flow-lines .base {
	fill: none;
	stroke: var(--line-strong);
	stroke-width: 1.5;
}
.flow-lines .pulse-path {
	fill: none;
	stroke: var(--violet);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-dasharray: 8 120;
	animation: flow-dash 2.6s linear infinite;
}
@keyframes flow-dash {
	to {
		stroke-dashoffset: -128;
	}
}
.flow-col,
.flow-core {
	position: relative;
	z-index: 1;
}
.flow-title {
	color: var(--ink-faint);
	font-family: var(--mono);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.flow-nodes {
	display: grid;
	gap: 8px;
	margin-top: 12px;
}
.flow-node {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--shadow-card);
	transition: transform 0.7s var(--ease), border-color 0.7s var(--ease);
}
.flow-node:hover {
	transform: translateX(4px);
	border-color: var(--line-strong);
}
.flow-node b {
	display: block;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
}
.flow-node small {
	display: block;
	color: var(--ink-faint);
	font-size: 0.75rem;
	line-height: 1rem;
}
.node-icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--paper);
	color: var(--ink);
}
.flow-node.out .node-icon {
	border-color: rgba(91, 84, 245, 0.25);
	background: var(--violet-tint);
	color: var(--violet-ink);
}
.flow-arrow {
	display: grid;
	place-items: center;
	justify-self: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--line);
	border-radius: 9999px;
	background: #fff;
	color: var(--violet);
}
.core-card {
	position: relative;
	overflow: hidden;
	padding: 24px;
	border: 1px solid var(--night-line);
	border-radius: 24px;
	background: var(--night);
	color: #fff;
	box-shadow: 0 32px 64px -24px rgba(91, 84, 245, 0.5);
}
.core-ring {
	position: absolute;
	top: -120px;
	right: -120px;
	width: 280px;
	height: 280px;
	border-radius: 9999px;
	background: var(--violet);
	filter: blur(96px);
	opacity: 0.45;
	animation: glow-drift 12s ease-in-out infinite alternate;
}
.core-head {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
}
.core-mark {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: #fff;
	color: var(--ink);
	font-family: var(--mono);
	font-size: 1.125rem;
	line-height: 1.75rem;
	font-weight: 600;
	box-shadow: 0 0 0 4px rgba(165, 161, 251, 0.25);
}
.core-head b {
	display: block;
	font-size: 1.125rem;
	line-height: 1.75rem;
}
.core-head small {
	display: block;
	color: var(--night-text);
	font-size: 0.75rem;
	line-height: 1rem;
}
.core-steps {
	position: relative;
	display: grid;
	gap: 8px;
	margin-top: 24px;
}
.core-steps li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	background: var(--night-2);
	color: #d4d4d8;
	font-size: 0.875rem;
	line-height: 1.25rem;
	animation: core-step 10s var(--ease) infinite;
}
.core-steps li .i {
	color: var(--violet-bright);
}
.core-steps li:nth-child(2) {
	animation-delay: 2s;
}
.core-steps li:nth-child(3) {
	animation-delay: 4s;
}
.core-steps li:nth-child(4) {
	animation-delay: 6s;
}
.core-steps li:nth-child(5) {
	animation-delay: 8s;
}
@keyframes core-step {
	0%,
	18% {
		border-color: rgba(165, 161, 251, 0.55);
		background: var(--night-3);
		color: #fff;
	}
	26%,
	100% {
		border-color: rgba(255, 255, 255, 0.06);
		background: var(--night-2);
		color: #d4d4d8;
	}
}
.setup {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	margin-top: 64px;
}
@media (min-width: 900px) {
	.setup {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
	}
}
.setup-step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--shadow-card);
}
.setup-step > div {
	min-width: 0;
}
.setup-num {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 9999px;
	background: var(--violet);
	color: #fff;
	font-family: var(--mono);
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 500;
}
.setup-step h3 {
	font-size: 1.125rem;
	line-height: 1.75rem;
}
.setup-step p {
	margin-top: 4px;
	color: var(--ink-faint);
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.setup-time {
	position: absolute;
	top: 24px;
	right: 24px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 9999px;
	background: var(--mint-tint);
	color: var(--mint);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
}
.setup-trust {
	display: grid;
	gap: 8px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px dashed var(--line);
}
.setup-trust li {
	display: flex;
	gap: 8px;
	color: var(--ink-soft);
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.setup-trust .i {
	flex-shrink: 0;
	margin-top: 2px;
	color: var(--mint);
}
.setup-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 12px;
	color: var(--violet-ink);
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 500;
}
.setup-link .i {
	width: 12px;
	height: 12px;
	transition: transform 0.7s var(--ease);
}
.setup-link:hover .i {
	transform: translateX(2px);
}
/* The copy button sits in its own bar, so it never covers the snippet. */
.code {
	margin-top: 12px;
	overflow: hidden;
	border-radius: 8px;
	background: var(--ink);
}
.code-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 4px 4px 4px 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	color: #a1a1aa;
	font-family: var(--mono);
	font-size: 0.75rem;
	line-height: 1rem;
}
.code pre {
	padding: 12px;
	overflow-x: auto;
	color: #e4e4e7;
	font-family: var(--mono);
	font-size: 0.75rem;
	line-height: 1rem;
}
.copy {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 8px;
	background: var(--night-3);
	color: #e4e4e7;
	font-family: inherit;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.7s var(--ease), color 0.7s var(--ease);
}
.copy:hover {
	border-color: var(--violet-bright);
}
.copy:active {
	transform: scale(0.98);
}
.copy.is-done {
	border-color: var(--mint-bright);
	color: var(--mint-bright);
}

/* —— Product tour —— */
.tour {
	margin-top: 48px;
}
.tour-tabs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	padding: 8px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--shadow-card);
}
html:not(.js) .tour-tabs {
	display: none;
}
.tour-tab {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px;
	overflow: hidden;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--ink-faint);
	font-family: inherit;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.7s var(--ease), color 0.7s var(--ease);
}
.tour-tab .i {
	width: 20px;
	height: 20px;
	margin-top: 2px;
}
.tour-tab b {
	display: block;
	color: var(--ink);
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
}
.tour-tab small {
	display: block;
	font-size: 0.75rem;
	line-height: 1rem;
}
.tour-tab:hover {
	background: var(--paper);
}
.tour-tab:active {
	transform: scale(0.98);
}
.tour-tab.is-active {
	background: var(--violet-tint);
	color: var(--violet-ink);
}
.tour-tab.is-active .i {
	color: var(--violet);
}
.tab-progress {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 4px;
	height: 2px;
	overflow: hidden;
	border-radius: 9999px;
	background: rgba(91, 84, 245, 0.15);
	opacity: 0;
}
.tab-progress > i {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--violet);
	transform: scaleX(0);
	transform-origin: left;
}
.tour.is-auto .tour-tab.is-active .tab-progress {
	opacity: 1;
}
.tour.is-auto .tour-tab.is-active .tab-progress > i {
	animation: tab-fill 8s linear forwards;
}
@keyframes tab-fill {
	to {
		transform: scaleX(1);
	}
}
@media (max-width: 899px) {
	.tour-tabs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.tour-tab small {
		display: none;
	}
}
.tour-stage {
	margin-top: 24px;
}
.tour-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
	align-items: center;
	padding: 32px 24px;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: #fff;
	box-shadow: var(--shadow-card);
}
.tour-panel[hidden] {
	display: none;
}
html:not(.js) .tour-panel + .tour-panel {
	margin-top: 24px;
}
@media (min-width: 1024px) {
	.tour-panel {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
		gap: 48px;
		min-height: 480px;
		padding: 48px;
	}
}
.tour-copy h3 {
	font-size: 1.875rem;
	line-height: 2.25rem;
	letter-spacing: -0.02em;
}
.tour-copy > p {
	margin-top: 12px;
	color: var(--ink-faint);
	font-size: 1.125rem;
	line-height: 1.75rem;
}
.ticks {
	display: grid;
	gap: 12px;
	margin-top: 24px;
}
.ticks li {
	display: flex;
	gap: 12px;
	color: var(--ink-soft);
}
.ticks .i {
	margin-top: 4px;
	color: var(--violet);
}
/* The answers tab points at the live chat bubble: the one proof on the page that runs on the real product. */
.tour-try {
	display: grid;
	justify-items: start;
	gap: 12px;
	margin-top: 24px;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--sunk);
}
.tour-try p {
	color: var(--ink-soft);
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.tour-try-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border: 1px solid var(--line-strong);
	border-radius: 9999px;
	background: #fff;
	color: var(--ink);
	font: inherit;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 500;
	cursor: pointer;
	transition: border-color 0.7s var(--ease);
}
.tour-try-btn:hover {
	border-color: var(--ink);
}
.tour-try-btn:active {
	transform: scale(0.98);
}
.tour-try-btn .i {
	color: var(--violet);
}
.app {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--paper);
	box-shadow: var(--shadow-lift);
}
.app-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 36px;
	padding: 0 12px;
	border-bottom: 1px solid var(--line);
	background: #fff;
	color: var(--ink-faint);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 500;
}
.app-bar .dots {
	display: flex;
	gap: 4px;
}
.app-bar .dots i {
	width: 8px;
	height: 8px;
	border-radius: 9999px;
	background: var(--line-strong);
}
.app-body {
	padding: 16px;
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.chat {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.c-msg {
	max-width: 88%;
	padding: 8px 12px;
	border-radius: 12px;
}
.c-msg.user {
	align-self: flex-end;
	background: var(--ink);
	color: #fff;
}
.c-msg.bot {
	align-self: flex-start;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink-soft);
}
.c-source {
	margin-top: 12px;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--paper);
	font-size: 0.75rem;
	line-height: 1rem;
}
.c-src-head {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--violet-ink);
	font-weight: 600;
}
.c-src-head code {
	min-width: 0;
	margin-left: auto;
	overflow: hidden;
	color: #71717a;
	font-weight: 400;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.c-source p {
	margin-top: 8px;
	color: var(--ink-faint);
}
.c-source mark {
	padding: 0 2px;
	border-radius: 4px;
	background: var(--violet-tint);
	color: var(--ink);
}
.c-rate {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	color: #71717a;
	font-size: 0.75rem;
	line-height: 1rem;
}
.c-rate b {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
	color: var(--ink-soft);
}
.c-rate b:first-of-type {
	border-color: rgba(4, 120, 87, 0.3);
	background: var(--mint-tint);
	color: var(--mint);
}
.typed {
	min-height: 60px;
}
.c-sent {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 8px;
	color: var(--mint);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.js .typed.typing + .c-sent,
html.js .handoff-app:has(.typed.typing) .slack {
	opacity: 0;
	transform: translateY(8px);
}
.slack {
	margin: 0 16px 16px;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--shadow-card);
	font-size: 0.875rem;
	line-height: 1.25rem;
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.slack-head {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--ink-soft);
	font-size: 0.75rem;
	line-height: 1rem;
}
.slack-head small {
	margin-left: auto;
	color: #71717a;
}
.slack p {
	margin-top: 8px;
}
.slack blockquote {
	margin: 8px 0 0;
	padding: 8px 12px;
	border-radius: 8px;
	background: var(--paper);
	color: var(--ink-soft);
}
.slack-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	color: #71717a;
	font-size: 0.75rem;
	line-height: 1rem;
}
.slack-btn {
	margin-left: auto;
	padding: 4px 8px;
	border-radius: 8px;
	background: var(--ink);
	color: #fff;
	font-weight: 600;
}
.inbox-head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}
.chip {
	padding: 2px 8px;
	border: 1px solid var(--line);
	border-radius: 9999px;
	background: #fff;
	color: var(--ink-faint);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 500;
}
.chip.on {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}
.inbox-total {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
	color: var(--rose);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
}
.gap-rows {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
}
.inbox .gap-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 80px 24px;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
	transition: border-color 0.7s var(--ease);
}
.inbox .gap-row .q {
	min-width: 0;
	overflow: hidden;
	font-weight: 500;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.inbox .gap-row .q small {
	display: block;
	overflow: hidden;
	color: #71717a;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 400;
	text-overflow: ellipsis;
}
.inbox .bar {
	position: relative;
	height: 8px;
	overflow: hidden;
	border-radius: 9999px;
	background: var(--sunk);
}
.inbox .bar::after {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--v);
	border-radius: inherit;
	background: var(--violet);
	transition: width 0.7s var(--ease);
}
.inbox .count {
	color: var(--ink-faint);
	font-family: var(--mono);
	font-size: 0.75rem;
	line-height: 1rem;
	font-variant-numeric: tabular-nums;
	text-align: right;
}
.inbox .gap-row.is-hot {
	border-color: var(--violet);
}
.inbox .gap-row.is-hot .count {
	color: var(--violet-ink);
	font-weight: 600;
}
@media (max-width: 540px) {
	.inbox .gap-row {
		grid-template-columns: minmax(0, 1fr) 24px;
	}
	.inbox .bar {
		display: none;
	}
}
.editor {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 16px;
}
@media (max-width: 640px) {
	.editor {
		grid-template-columns: minmax(0, 1fr);
	}
}
.doc {
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
}
.doc-meta {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 9999px;
	background: var(--violet-tint);
	color: var(--violet-ink);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
}
.doc-title {
	margin-top: 12px;
	font-size: 1.25rem;
	line-height: 1.75rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}
.doc-h {
	margin-top: 16px;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
}
/* Tour: an edit from a merged pull request */
.review {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}
.pr-card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
}
.pr-icon {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: var(--violet-tint);
	color: var(--violet-ink);
}
.pr-text b {
	display: block;
	overflow: hidden;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.pr-text small {
	display: block;
	overflow: hidden;
	color: #71717a;
	font-size: 0.75rem;
	line-height: 1rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.pr-state {
	padding: 2px 8px;
	border-radius: 9999px;
	background: var(--violet);
	color: #fff;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
}
.edit-card {
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--shadow-card);
}
.edit-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}
.edit-title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}
.edit-flag {
	padding: 2px 8px;
	border-radius: 9999px;
	background: var(--amber-tint);
	color: var(--amber);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
}
.diff-line {
	position: relative;
	padding: 8px 12px 8px 28px;
	border-radius: 8px;
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.diff-line + .diff-line {
	margin-top: 4px;
}
.diff-line::before {
	position: absolute;
	left: 12px;
	font-family: var(--mono);
	font-weight: 600;
}
.diff-line.del {
	background: var(--rose-tint);
	color: var(--rose);
	text-decoration: line-through;
	text-decoration-color: rgba(180, 35, 24, 0.45);
}
.diff-line.del::before {
	content: "−";
}
.diff-line.add {
	background: var(--mint-tint);
	color: #065f46;
}
.diff-line.add::before {
	content: "+";
}
.evidence {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	color: #71717a;
	font-size: 0.75rem;
	line-height: 1rem;
}
.evidence span {
	font-weight: 600;
}
.evidence code {
	min-width: 0;
	overflow: hidden;
	padding: 2px 8px;
	border-radius: 6px;
	background: var(--sunk);
	color: var(--ink-soft);
	text-overflow: ellipsis;
	white-space: nowrap;
}
.edit-actions,
.queue-foot {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
}
.edit-actions .approve,
.queue-foot .approve {
	display: inline-flex;
	white-space: nowrap;
	align-items: center;
	gap: 4px;
	padding: 4px 12px;
	border-radius: 8px;
	background: var(--ink);
	color: #fff;
}
.edit-actions .ghost {
	padding: 4px 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
	color: var(--ink-soft);
}
.also {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--ink-faint);
	font-size: 0.75rem;
	line-height: 1rem;
}
.also .i {
	color: var(--amber);
}
/* Tour: one review queue for edits and drafts */
.queue-list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
}
.queue-list li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
}
.queue-list li.is-picked {
	border-color: rgba(91, 84, 245, 0.45);
	box-shadow: 0 0 0 3px rgba(91, 84, 245, 0.08);
}
.queue-list .src {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
}
.queue-list .src.code {
	background: var(--violet-tint);
	color: var(--violet-ink);
}
.queue-list .src.cust {
	background: var(--mint-tint);
	color: var(--mint);
}
.queue-list .qt b {
	display: block;
	overflow: hidden;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.queue-list .qt small {
	display: block;
	color: #71717a;
	font-size: 0.75rem;
	line-height: 1rem;
}
.queue-list .kind {
	padding: 2px 8px;
	border-radius: 9999px;
	background: var(--sunk);
	color: var(--ink-soft);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
}
.queue-list .kind.new {
	background: var(--mint-tint);
	color: var(--mint);
}
.queue-foot {
	justify-content: space-between;
	padding-top: 12px;
	border-top: 1px solid var(--line);
	color: var(--ink-faint);
}
.publish-to {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.pt-title {
	color: #71717a;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.pt-opt {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	column-gap: 8px;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	font-weight: 600;
}
.pt-opt small {
	grid-column: 2;
	overflow: hidden;
	color: #71717a;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 400;
	text-overflow: ellipsis;
}
.pt-opt.on {
	border-color: var(--violet);
	box-shadow: 0 0 0 4px var(--violet-tint);
}
.tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 9999px;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
}
.tag-violet {
	background: var(--violet-tint);
	color: var(--violet-ink);
}
.write-lines {
	display: grid;
	gap: 8px;
	margin-top: 8px;
}
.write-lines span {
	display: block;
	width: var(--w);
	height: 8px;
	border-radius: 9999px;
	background: var(--line-strong);
	transform-origin: left;
	animation: write 6s var(--ease) infinite;
}
.write-lines span:nth-child(2) {
	animation-delay: 0.3s;
}
.write-lines span:nth-child(3) {
	animation-delay: 0.6s;
}
@keyframes write {
	0% {
		transform: scaleX(0);
	}
	25%,
	100% {
		transform: scaleX(1);
	}
}
.publish {
	position: relative;
	display: block;
	height: 32px;
	margin-top: 8px;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
}
.publish > span {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	height: 32px;
	border-radius: 8px;
}
.publish-a {
	background: var(--violet);
	color: #fff;
	animation: swap-a 6s var(--ease) infinite;
}
.publish-b {
	background: var(--mint-tint);
	color: var(--mint);
	opacity: 0;
	animation: swap-b 6s var(--ease) infinite;
}
@keyframes swap-a {
	0%,
	60% {
		opacity: 1;
		transform: none;
	}
	68%,
	100% {
		opacity: 0;
		transform: translateY(-8px);
	}
}
@keyframes swap-b {
	0%,
	62% {
		opacity: 0;
		transform: translateY(8px);
	}
	70%,
	96% {
		opacity: 1;
		transform: none;
	}
	100% {
		opacity: 0;
	}
}

/* —— Dark cards (scan, founding) —— */
.dark-card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 48px;
	overflow: hidden;
	padding: 64px;
	border: 1px solid var(--night-line);
	border-radius: 24px;
	background: var(--night);
	color: #fff;
}
.dark-card > :not(.pat-grid):not(.pat-noise):not(.glow):not(.beam-border) {
	position: relative;
}
.dark-card h2 {
	margin-top: 16px;
	font-size: 3rem;
	line-height: 1;
	letter-spacing: -0.03em;
}
.dark-card h2 + p {
	margin-top: 16px;
	color: var(--night-text);
	font-size: 1.125rem;
	line-height: 1.75rem;
}
@media (min-width: 1024px) {
	.dark-card {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		align-items: center;
	}
}
@media (max-width: 767px) {
	.dark-card {
		padding: 32px 24px;
	}
	.dark-card h2 {
		font-size: 2.25rem;
		line-height: 2.5rem;
	}
}
.scan-card .scan {
	margin-top: 32px;
}
.scan-sample {
	padding: 24px;
	border: 1px solid var(--night-line);
	border-radius: 16px;
	background: var(--night-2);
	box-shadow: 0 32px 64px -24px rgba(91, 84, 245, 0.4);
	animation: float 7s ease-in-out infinite alternate;
}
@keyframes float {
	to {
		transform: translateY(-12px);
	}
}
.sample-tag {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 9999px;
	background: var(--night-4);
	color: var(--night-text);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
}
.sample-score {
	margin-top: 12px;
	font-size: 1.125rem;
	line-height: 1.75rem;
	font-weight: 600;
}
.sample-bar {
	height: 8px;
	margin: 12px 0 16px;
	overflow: hidden;
	border-radius: 9999px;
	background: rgba(253, 164, 175, 0.25);
}
.sample-bar span {
	display: block;
	width: 63%;
	height: 100%;
	border-radius: 9999px;
	background: var(--mint-bright);
}
.sample-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
	padding: 8px 12px;
	border-radius: 8px;
	background: var(--night-3);
	color: #d4d4d8;
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.sample-row.gap .i {
	color: #fda4af;
}
.sample-row.ok .i {
	color: var(--mint-bright);
}
.beam-border {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
}
.beam-border rect {
	width: calc(100% - 2px);
	height: calc(100% - 2px);
	fill: none;
	stroke: var(--violet-bright);
	stroke-width: 1.5;
	stroke-dasharray: 14 86;
	stroke-linecap: round;
	animation: beam-run 7s linear infinite;
}
@keyframes beam-run {
	to {
		stroke-dashoffset: -100;
	}
}
/* Founding batches: the founder's note on the left, the open batch on the right. The card shows the spots left in
   the open batch, never the batch size, and the later prices as one line. */
.founding {
	background: var(--night-2);
}
.founding-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}
.founding-note {
	margin-top: 16px;
	color: var(--night-text);
	font-size: 0.875rem;
	line-height: 1.25rem;
}
/* A signed note from the founder: the audience buys from a person. Swap the monogram for a photo when there is one. */
.founder-note {
	display: flex;
	gap: 16px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--night-line);
}
.founder-mark {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 9999px;
	background: var(--night-4);
	color: #fff;
	font-weight: 600;
}
.founder-text p {
	margin: 0;
	color: var(--night-text);
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.founder-text b {
	color: #fff;
	font-weight: 600;
}
.founder-email {
	color: #e4e4e7;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.3);
	text-underline-offset: 3px;
}
.founder-email:hover {
	text-decoration-color: currentColor;
}
.founder-text .founder-links {
	margin-top: 8px;
}
.founder-links a {
	color: var(--violet-bright);
	font-weight: 500;
}
.founder-links a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.batch-now {
	padding: 24px;
	border: 1px solid rgba(165, 161, 251, 0.55);
	border-radius: 16px;
	background: var(--night-3);
	box-shadow: 0 0 0 4px rgba(91, 84, 245, 0.18), 0 24px 48px -24px rgba(91, 84, 245, 0.55);
}
.batch-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.batch-name {
	padding: 2px 8px;
	border-radius: 9999px;
	background: var(--violet);
	color: #fff;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
}
.batch-left {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.batch-deal {
	margin-top: 16px;
	color: #d4d4d8;
	font-size: 1.125rem;
	line-height: 1.75rem;
}
.batch-deal b {
	color: #fff;
	font-size: 2.25rem;
	line-height: 2.5rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}
.batch-per {
	white-space: nowrap;
}
.batch-deal s {
	margin-left: 4px;
	color: #71717a;
}
.batch-terms,
.batch-next {
	margin-top: 4px;
	color: var(--night-text);
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.batch-next {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--night-line);
}
.batch-now.is-sold {
	border-color: var(--night-line);
	box-shadow: none;
}
.batch-now.is-sold .batch-name {
	background: var(--night-4);
	color: var(--night-text);
}
.batch-now.is-sold .batch-left,
.batch-now.is-sold .batch-deal,
.batch-now.is-sold .batch-terms,
.batch-now.is-sold .batch-next {
	display: none;
}
.live-dot {
	width: 8px;
	height: 8px;
	border-radius: 9999px;
	background: var(--mint-bright);
	box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2);
	animation: throb 2s var(--ease) infinite;
}
.announce-left {
	padding: 2px 8px;
	border-radius: 9999px;
	background: rgba(165, 161, 251, 0.16);
	color: var(--violet-bright);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
}
.founding-price {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	padding: 8px 12px;
	border-radius: 8px;
	background: var(--violet-tint);
	color: var(--violet-ink);
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.founding-price b {
	font-weight: 600;
}
.founding-price[hidden] {
	display: none;
}
/* Phone-only trial bar, shown after the hero and hidden again at the final call to action. */
.sticky-cta {
	position: fixed;
	left: 16px;
	right: 96px;
	bottom: 16px;
	z-index: 60;
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 8px 8px 16px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: var(--shadow-lift);
	color: var(--ink-soft);
	font-size: 0.875rem;
	line-height: 1.25rem;
	transform: translateY(160%);
	transition: transform 0.7s var(--ease);
}
.sticky-label {
	min-width: 0;
	white-space: nowrap;
}
.sticky-label b,
.sticky-label small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
}
.sticky-label b {
	color: var(--ink);
}
.sticky-label small {
	color: var(--ink-faint);
	font-size: 0.75rem;
	line-height: 1rem;
}
.sticky-cta .btn {
	min-height: 40px;
	padding: 8px 12px;
	font-size: 0.875rem;
	line-height: 1.25rem;
}
@media (max-width: 767px) {
	.sticky-cta {
		display: flex;
	}
	body.home[data-nav-tone="light"]:not(.final-in-view) .sticky-cta {
		transform: none;
	}
}

/* —— Pricing —— */
.billing-toggle {
	position: relative;
	display: inline-flex;
	gap: 4px;
	margin-top: 24px;
	padding: 4px;
	border: 1px solid var(--line);
	border-radius: 9999px;
	background: var(--raised);
	box-shadow: var(--shadow-card);
}
.toggle-pill {
	position: absolute;
	top: 4px;
	bottom: 4px;
	left: 0;
	width: var(--pill-w, 0);
	border-radius: 9999px;
	background: var(--ink);
	opacity: 0;
	transform: translateX(var(--pill-x, 0));
	transition: transform 0.7s var(--ease), width 0.7s var(--ease);
}
.billing-toggle.has-pill .toggle-pill {
	opacity: 1;
}
.billing-toggle button {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border: 0;
	border-radius: 9999px;
	background: transparent;
	color: var(--ink-faint);
	font-family: inherit;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
	cursor: pointer;
	transition: color 0.7s var(--ease), background-color 0.7s var(--ease);
}
.billing-toggle:not(.has-pill) button[aria-pressed="true"] {
	background: var(--ink);
}
.billing-toggle button[aria-pressed="true"] {
	color: #fff;
}
.billing-toggle button:active {
	transform: scale(0.98);
}
.billing-toggle .save {
	padding: 2px 8px;
	border-radius: 9999px;
	background: var(--mint-tint);
	color: var(--mint);
	font-size: 0.75rem;
	line-height: 1rem;
}
/* One plan (ADR 0005), shared by the homepage and /pricing. The price runs across the top in one band. Below it,
   the two loops (from your code, from your customers) meet at one approval step and feed what customers read, and
   the limits sit in a ruled strip along the foot. Tooltips are CSS only. */
.plan {
	position: relative;
	max-width: 1040px;
	margin: 48px auto 0;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--raised);
	box-shadow: 0 1px 2px rgba(10, 10, 10, 0.05), 0 32px 64px -32px rgba(91, 84, 245, 0.35);
}
/* Above the panels' own backgrounds, so the beam stays visible all the way round. */
.plan > .beam-border {
	z-index: 1;
}
.plan .beam-border rect {
	stroke: var(--violet);
}
.plan-band {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	padding: 32px;
	border-bottom: 1px solid var(--line);
}
.plan-top {
	display: flex;
	align-items: center;
	gap: 12px;
}
.plan-name {
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}
.plan-desc {
	max-width: 320px;
	margin-top: 8px;
	color: var(--ink-faint);
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.plan-amount {
	display: flex;
	align-items: baseline;
	gap: 8px;
}
.plan-amount strong {
	display: inline-block;
	font-size: 3.5rem;
	line-height: 1;
	font-weight: 600;
	letter-spacing: -0.045em;
	font-variant-numeric: tabular-nums;
}
.plan-amount span {
	color: var(--ink-faint);
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.plan-billed {
	min-height: 20px;
	margin-top: 8px;
	color: var(--ink-faint);
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.plan-price .founding-price {
	margin-top: 12px;
}
.plan-fine {
	margin-top: 12px;
	color: var(--ink-faint);
	font-size: 0.75rem;
	line-height: 1rem;
	text-align: center;
}
/* The two loops on the left meet at "You approve every change", which feeds what customers read on the right. */
.plan-lanes {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	padding: 32px;
}
.plan-loops {
	display: grid;
	gap: 12px;
}
.plan-lane {
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--paper);
}
.plan-out {
	padding: 24px;
	background: var(--raised);
	box-shadow: var(--shadow-card);
}
.plan-lane-label {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--ink-faint);
	font-family: var(--mono);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.plan-lane-label span {
	padding: 2px 8px;
	border-radius: 9999px;
	background: var(--violet-tint);
	color: var(--violet-ink);
}
.plan-lane-note {
	margin-top: 8px;
	color: var(--ink-soft);
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.plan-list {
	display: grid;
	margin-top: 12px;
}
.plan-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 8px 0;
	border-top: 1px dashed var(--line-strong);
	color: var(--ink-soft);
	font-size: 0.9375rem;
	line-height: 1.375rem;
}
.plan-list li .i {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	padding: 3px;
	border-radius: 9999px;
	background: var(--mint-tint);
	color: var(--mint);
}
.plan-join {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 64px;
}
/* Phones: a dashed line down through the chip. Wider: two lines from the loops merge into it. */
.plan-join::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	border-left: 1px dashed var(--line-strong);
}
.plan-join-lines {
	display: none;
}
.plan-join-chip {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border: 1px solid var(--line);
	border-radius: 9999px;
	background: var(--raised);
	box-shadow: var(--shadow-card);
	color: var(--ink);
	font-size: 0.8125rem;
	line-height: 1.25rem;
	font-weight: 600;
	text-align: center;
}
.plan-join-chip .i {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	color: var(--violet);
}
.plan-limits {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	border-top: 1px solid var(--line);
	border-radius: 0 0 24px 24px;
	background: var(--sunk);
}
.plan-limit {
	display: flex;
	flex-direction: column;
	padding: 24px;
}
.plan-limit:nth-child(even) {
	border-left: 1px solid var(--line);
}
.plan-limit:nth-child(n + 3) {
	border-top: 1px solid var(--line);
}
/* A small pooled meter under the conversation allowance, like the one in the dashboard header. */
.plan-limit:first-child {
	position: relative;
	padding-bottom: 32px;
}
.plan-limit:first-child::before,
.plan-limit:first-child::after {
	content: "";
	position: absolute;
	bottom: 16px;
	left: 24px;
	height: 4px;
	border-radius: 9999px;
}
.plan-limit:first-child::before {
	right: 24px;
	background: var(--line);
}
.plan-limit:first-child::after {
	width: calc((100% - 48px) * 0.62);
	background: var(--violet);
}
.plan-limit dd {
	margin: 0;
}
.plan-limit dt {
	color: var(--ink-soft);
	font-size: 0.8125rem;
	line-height: 1.125rem;
	font-weight: 500;
}
/* The number reads first; the label stays first in the markup so the list makes sense to screen readers. */
.plan-limit .plan-limit-n {
	order: -1;
	margin-bottom: 2px;
	color: var(--ink);
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}
.plan-limit-sub {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	color: var(--ink-faint);
	font-size: 0.75rem;
	line-height: 1rem;
}
@media (min-width: 640px) {
	.plan-limits {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.plan-limit:nth-child(n) {
		border-top: 0;
		border-left: 1px solid var(--line);
	}
	.plan-limit:first-child {
		border-left: 0;
	}
}
@media (min-width: 900px) {
	.plan-band {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 248px);
		align-items: center;
		gap: 40px;
	}
	.plan-price {
		padding-left: 40px;
		border-left: 1px solid var(--line);
	}
	.plan-lanes {
		grid-template-columns: minmax(0, 1fr) 152px minmax(0, 1.1fr);
		align-items: stretch;
	}
	.plan-out {
		align-self: center;
	}
	.plan-join::before {
		display: none;
	}
	.plan-join-lines {
		display: block;
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		overflow: visible;
	}
	.plan-join-lines path {
		fill: none;
		stroke: var(--line-strong);
		stroke-width: 1.5;
		stroke-dasharray: 4 4;
		vector-effect: non-scaling-stroke;
	}
	.plan-join-chip {
		max-width: 128px;
		padding: 8px 12px;
		border-radius: 16px;
		flex-direction: column;
		gap: 4px;
	}
}
@media (max-width: 767px) {
	.plan-band,
	.plan-lanes {
		padding: 24px;
	}
	.plan-lane,
	.plan-out {
		padding: 16px;
	}
	.plan-limit {
		padding: 16px;
	}
	.plan-limit:first-child::before,
	.plan-limit:first-child::after {
		left: 16px;
	}
	.plan-limit:first-child::before {
		right: 16px;
	}
	.plan-limit:first-child::after {
		width: calc((100% - 32px) * 0.62);
	}
	.plan-amount strong {
		font-size: 3rem;
	}
}
.pf-tip { position: relative; display: inline-flex; }
.pf-tip-btn {
	display: inline-grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border: 1px solid var(--line);
	border-radius: 5px;
	background: var(--raised);
	color: var(--ink-soft);
	font: 700 11px/1 inherit;
	cursor: help;
}
.pf-tip-text {
	position: absolute;
	right: -6px;
	bottom: calc(100% + 8px);
	z-index: 20;
	width: max-content;
	max-width: 240px;
	padding: 8px 10px;
	border-radius: 8px;
	background: #14120b;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.4;
	white-space: normal;
	text-align: left;
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
	pointer-events: none;
}
.pf-tip:hover .pf-tip-text,
.pf-tip-btn:focus-visible + .pf-tip-text { opacity: 1; visibility: visible; transform: none; }
/* Opens to the right, for tips that sit near a card's left edge. */
.pf-tip.tip-left .pf-tip-text { right: auto; left: -6px; }
@media (prefers-reduced-motion: reduce) { .pf-tip-text { transition: none; } }

.pricing-notes {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 24px;
	margin-top: 32px;
	color: var(--ink-faint);
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.pricing-notes span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.pricing-notes .i {
	color: var(--mint);
}
.pricing-notes a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--violet-ink);
	font-weight: 600;
	text-decoration: none;
}
.pricing-notes a .i {
	color: currentColor;
}
.pricing-notes a:hover {
	text-decoration: underline;
}

/* —— FAQ ——
   One centered column (homepage and /pricing): plain questions, short answers, and a one line help strip. */
.faq {
	max-width: 816px;
}
.faq-list {
	margin-top: 48px;
	border-top: 1px solid var(--line);
}
.faq-list details {
	border-bottom: 1px solid var(--line);
}
.faq-list summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 24px;
	align-items: center;
	gap: 16px;
	padding: 16px 0;
	cursor: pointer;
	font-size: 1rem;
	line-height: 1.5rem;
	font-weight: 500;
	list-style: none;
	transition: color 0.7s var(--ease);
}
.faq-list summary::-webkit-details-marker {
	display: none;
}
.faq-list summary:hover {
	color: var(--violet-ink);
}
.faq-list summary .plus {
	position: relative;
	width: 24px;
	height: 24px;
	color: var(--ink-faint);
	transition: color 0.7s var(--ease), transform 0.7s var(--ease);
}
.faq-list summary:hover .plus,
.faq-list details[open] summary .plus {
	color: var(--ink);
}
.faq-list details[open] summary .plus {
	transform: rotate(45deg);
}
.faq-list summary .plus::before,
.faq-list summary .plus::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 1.5px;
	margin: -0.75px 0 0 -6px;
	border-radius: 2px;
	background: currentColor;
}
.faq-list summary .plus::after {
	transform: rotate(90deg);
}
.faq-list details p {
	max-width: 65ch;
	padding: 0 40px 20px 0;
	color: var(--ink-faint);
	font-size: 1rem;
	line-height: 1.625rem;
}
.faq-list details a {
	color: var(--violet-ink);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 4px;
	transition: text-decoration-color 0.7s var(--ease);
}
.faq-list details a:hover {
	text-decoration-color: currentColor;
}
@supports selector(::details-content) {
	.faq-list details::details-content {
		block-size: 0;
		overflow: hidden;
		opacity: 0;
		transition: block-size 0.7s var(--ease), opacity 0.7s var(--ease), content-visibility 0.7s allow-discrete;
	}
	.faq-list details[open]::details-content {
		block-size: auto;
		opacity: 1;
	}
}
.faq-help {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 16px;
	margin-top: 40px;
	text-align: center;
}
.faq-help-title {
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
}
.faq-help-title span {
	color: var(--ink-faint);
	font-weight: 400;
}
.faq-help-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}
.faq-help-row {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border: 1px solid var(--line);
	border-radius: 9999px;
	background: var(--raised);
	color: var(--ink);
	font: inherit;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	transition: border-color 0.7s var(--ease), background-color 0.7s var(--ease);
}
.faq-help-row:hover {
	border-color: var(--ink);
}
.faq-help-row:active {
	transform: scale(0.98);
}
.faq-help-row .i {
	width: 16px;
	height: 16px;
	color: var(--violet-ink);
}
@media (max-width: 767px) {
	.faq-list {
		margin-top: 32px;
	}
	.faq-list details p {
		padding-right: 0;
	}
	.faq-help {
		flex-direction: column;
	}
}
.compare-links {
	margin-top: 24px;
	color: var(--ink-faint);
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.faq .compare-links {
	max-width: 640px;
	margin: 24px auto 0;
	text-align: center;
	text-wrap: balance;
}
.compare-links a {
	color: var(--ink-soft);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: var(--line-strong);
	text-underline-offset: 4px;
	transition: text-decoration-color 0.7s var(--ease), color 0.7s var(--ease);
}
.compare-links a:hover {
	color: var(--violet-ink);
	text-decoration-color: currentColor;
}

/* —— Reduced motion: stop every loop and show final states —— */
@media (prefers-reduced-motion: reduce) {
	.home *,
	.home *::before,
	.home *::after {
		animation: none !important;
		transition-duration: 0.001ms !important;
	}
	html.js .reveal,
	html.js [data-stagger] > * {
		opacity: 1;
		transform: none;
		filter: none;
	}
	.beam,
	.glow {
		display: none;
	}
	.publish-b {
		opacity: 0;
	}
}

/* —— The help center: a bento of what comes with it —— */
.bento {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	margin-top: 48px;
}
@media (min-width: 720px) {
	.bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.bento-card.is-wide {
		grid-column: span 2;
	}
}
@media (min-width: 1024px) {
	.bento {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
	}
}
.bento-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.bento-card.is-wide {
	display: grid;
	gap: 24px;
	align-items: center;
}
@media (min-width: 720px) {
	.bento-card.is-wide {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}
.bento-copy {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.bento-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-bottom: 8px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--paper);
	color: var(--violet-ink);
}
.bento-icon .i {
	width: 20px;
	height: 20px;
}
.bento-card p {
	color: var(--ink-faint);
}
.url-mock {
	display: grid;
	gap: 12px;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--paper);
}
.url-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	padding: 8px 12px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 9999px;
	background: #fff;
	color: var(--ink);
	font-family: var(--mono);
	font-size: 0.75rem;
	line-height: 1rem;
	white-space: nowrap;
	box-shadow: var(--shadow-card);
}
.url-bar .i {
	color: var(--mint);
}
.url-bar b {
	color: #71717a;
	font-weight: 400;
}
.url-bar.is-alt {
	margin-left: 32px;
	box-shadow: none;
}
