/* Landing — minimalist layout */

.container {
	width: min(var(--maxw), calc(100% - 48px));
	margin: 0 auto;
}

.page {
	background: var(--bg);
	overflow-x: hidden;
}

/* Sticky header offset for in-page anchors */
#main-content,
#what-is-usedocs,
#help-center,
#how,
#trust,
#integrations,
#pricing,
#faq,
#start,
[id^="faq-"] {
	scroll-margin-top: calc(var(--header-offset, 80px) + env(safe-area-inset-top, 0px));
}

.pill-new {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: 999px;
	padding: 4px 12px 4px 4px;
	background: var(--accent-soft);
	font-size: 12px;
	font-weight: 500;
	color: var(--brand);
}
.pill-new span {
	background: var(--brand);
	color: #fff;
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.04em;
	padding: 3px 8px;
	border-radius: 999px;
}

.hero {
	padding: 72px 0 0;
}
.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr);
	gap: 64px;
	align-items: center;
	padding-bottom: 72px;
}
h1 {
	margin: 16px 0 0;
	font-family: var(--font-display);
	font-size: clamp(40px, 5vw, 56px);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.04em;
	color: var(--ink);
	overflow-wrap: anywhere;
	text-wrap: balance;
}
h1 em {
	font-style: italic;
	color: var(--brand);
}
.hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.hero-kicker::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: var(--brand);
	box-shadow: 0 0 0 3px var(--accent-glow);
}
.lead {
	margin: 20px 0 0;
	max-width: 480px;
	color: var(--ink-soft);
	font-size: 17px;
	line-height: 1.65;
}
/* Links in body copy: violet ink with a quiet underline, the same as the homepage and library.css. */
.lead a,
.highlight-link {
	color: #4338ca;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: rgba(67, 56, 202, 0.3);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
}
.lead a:hover,
.highlight-link:hover {
	text-decoration-color: currentColor;
}
/* Accessibility: skip link */
.skip-link {
	position: absolute;
	left: 12px;
	top: -48px;
	z-index: 10000;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--accent, #5f50f5);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	transition: top 0.15s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
	top: calc(12px + env(safe-area-inset-top, 0px));
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero-reassure {
	margin: 14px 0 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--ink-soft);
}
.trust-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

.definition-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	margin: 16px 0 0;
}
.definition-links a {
	font-size: 14px;
	font-weight: 600;
	color: var(--accent, #5f50f5);
	text-decoration: none;
}
.definition-links a:hover {
	text-decoration: underline;
}
.definition-links a:focus-visible {
	outline: 2px solid var(--focus-ring, var(--brand));
	outline-offset: 3px;
	border-radius: 4px;
}

.final-checklist {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 18px;
	margin: 18px 0 0;
	padding: 0;
}
.final-checklist li {
	position: relative;
	padding-left: 18px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.82);
}
.final-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(129, 140, 248, 0.95);
	box-shadow: 0 0 0 2px rgba(129, 140, 248, 0.25);
}

/* Sticky mobile conversion bar */
.mobile-cta {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9990;
	display: flex;
	justify-content: center;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
	background: linear-gradient(180deg, transparent, rgba(16, 19, 34, 0.08) 20%, rgba(16, 19, 34, 0.12));
	pointer-events: none;
}
.mobile-cta .btn {
	pointer-events: auto;
	width: min(100%, 420px);
	box-shadow: 0 12px 40px rgba(95, 80, 245, 0.35);
}
body.mobile-cta-visible {
	padding-bottom: 76px;
}
@media (min-width: 768px) {
	.mobile-cta { display: none !important; }
	body.mobile-cta-visible { padding-bottom: 0; }
}
.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	font-size: 13px;
	color: var(--ink-soft);
	min-width: 0;
}

.hero-visual {
	position: relative;
	perspective: 1800px;
	perspective-origin: 65% 25%;
	animation: preview-float 9s ease-in-out infinite;
}
.preview-card {
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background: var(--surface);
	box-shadow: -28px 34px 60px -28px rgba(15, 23, 42, 0.28), 0 4px 14px rgba(15, 23, 42, 0.06);
	overflow: hidden;
	transform-origin: center;
	transform-style: preserve-3d;
	transform: rotateX(7deg) rotateY(-13deg);
	transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-visual:hover .preview-card {
	transform: rotateX(0deg) rotateY(0deg);
	box-shadow: -10px 20px 44px -24px rgba(15, 23, 42, 0.24), 0 4px 14px rgba(15, 23, 42, 0.06);
}
.preview-top {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--line-soft);
	background: var(--bg);
}
.preview-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--line);
}
.preview-dot:nth-child(1) { background: #f87171; }
.preview-dot:nth-child(2) { background: #fbbf24; }
.preview-dot:nth-child(3) { background: #4ade80; }
.preview-url {
	flex: 1;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--ink-faint);
}
.demo {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	height: 420px;
}
.demo-side {
	padding: 20px;
	background: var(--bg);
	border-right: 1px solid var(--line-soft);
}
.demo-side h3,
.answer h3,
.gaps h3 {
	margin: 0 0 12px;
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ink-faint);
}
.source-row {
	position: relative;
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 10px;
	align-items: start;
	padding: 10px 12px;
	margin: 0 -12px;
	border-radius: 10px;
	border-bottom: 1px solid var(--line-soft);
	opacity: 0.62;
	transition: background 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), color 0.45s ease, opacity 0.45s ease;
}
.source-row:last-child { border-bottom: 0; }
.source-row.active {
	transform: translateX(3px);
	opacity: 1;
	background: var(--accent-soft);
	border-bottom-color: transparent;
	box-shadow: inset 3px 0 0 var(--brand);
}
.source-row.active .source-icon {
	border-color: var(--brand);
	color: var(--brand);
	background: var(--surface);
}
.source-row.active strong { color: var(--brand); }
.source-row.active::after {
	content: "";
	position: absolute;
	right: 10px;
	top: 19px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--green);
	box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.32);
	animation: source-ping 1.6s ease-out infinite;
}
.source-icon {
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 8px;
	background: var(--surface);
	border: 1px solid var(--line);
	color: var(--brand);
	transition: border-color 0.45s ease, color 0.45s ease, background 0.45s ease;
}
.source-row strong { display: block; font-size: 13px; font-weight: 500; transition: color 0.45s ease; }
.source-row span { display: block; margin-top: 2px; color: var(--ink-faint); font-size: 11px; }
.source-stream {
	display: grid;
	gap: 8px;
	margin-top: 14px;
	padding: 12px;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.62);
}
.stream-line {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--ink-faint);
	font-family: var(--font-mono);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.stream-line span {
	width: 36px;
	height: 3px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--brand), transparent);
	transform-origin: left;
	animation: stream-fill 2.8s ease-in-out infinite;
}
.stream-line:nth-child(2) span { animation-delay: 0.42s; }
.stream-line:nth-child(3) span { animation-delay: 0.84s; }
.stream-line strong { font-weight: 500; }
.demo-main {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px;
	min-width: 0;
	overflow: hidden;
}
.live-status {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 7px;
	padding: 5px 10px;
	border: 1px solid var(--line-soft);
	border-radius: 999px;
	background: var(--bg);
	color: var(--ink-soft);
	font-size: 11px;
	font-weight: 500;
}
.live-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--green);
	box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.28);
	animation: live-dot 1.6s ease-out infinite;
}
.chat-thread {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 214px;
}
.question {
	margin-left: auto;
	width: fit-content;
	max-width: 85%;
	padding: 10px 12px;
	border-radius: 12px 12px 4px 12px;
	background: var(--brand);
	color: #fff;
	font-size: 13px;
	line-height: 1.45;
}
.preview-question {
	animation: message-in-right 0.34s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.typing-bubble {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	width: fit-content;
	padding: 10px 12px;
	border: 1px solid var(--line-soft);
	border-radius: 12px 12px 12px 4px;
	background: var(--bg);
}
.typing-bubble span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ink-faint);
	animation: typing-dot 0.9s ease-in-out infinite;
}
.typing-bubble span:nth-child(2) { animation-delay: 0.15s; }
.typing-bubble span:nth-child(3) { animation-delay: 0.3s; }
.typing-bubble.hidden { display: none; }
.answer {
	margin-top: 14px;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-lg);
	padding: 14px;
	background: var(--bg);
}
.preview-answer {
	margin-top: 0;
	opacity: 1;
	transform-origin: top left;
	animation: answer-in 0.38s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.preview-answer.pending {
	opacity: 0;
	transform: translateY(8px) scale(0.98);
	pointer-events: none;
}
.answer p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.citations { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.citation {
	border-radius: 6px;
	background: var(--accent-soft);
	color: var(--brand);
	padding: 4px 8px;
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 500;
}
.citation {
	animation: citation-pop 0.32s ease both;
}
.citation:nth-child(2) { animation-delay: 0.08s; }
.gap-event {
	display: grid;
	gap: 3px;
	padding: 12px 14px;
	border: 1px solid #fde68a;
	border-radius: var(--radius-lg);
	background: var(--amber-soft);
	color: var(--amber);
	box-shadow: 0 12px 28px rgba(217, 119, 6, 0.08);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.28s ease, transform 0.28s ease;
}
.gap-event.show {
	opacity: 1;
	transform: translateY(0);
}
.gap-event span {
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.gap-event strong {
	color: #92400e;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
}
.gaps {
	margin-top: 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
	padding: 16px;
}
.gap-item {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px;
	align-items: center;
	padding: 8px 0;
	border-top: 1px solid var(--line-soft);
	font-size: 12px;
	color: var(--ink-soft);
}
.gap-item:first-of-type { border-top: 0; padding-top: 0; }
.gap-count {
	min-width: 28px;
	height: 22px;
	display: grid;
	place-items: center;
	border-radius: 6px;
	background: var(--amber-soft);
	color: var(--amber);
	font-family: var(--font-mono);
	font-weight: 600;
	font-size: 11px;
}

.stats-band {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	overflow: hidden;
}
.stats-band .stat {
	padding: 28px 20px;
	text-align: center;
	background: var(--surface);
	transition: background 0.2s ease, transform 0.2s ease;
}
.stats-band .stat:hover {
	background: #fff;
	transform: translateY(-2px);
}
.stats-band .stat strong {
	display: block;
	font-size: clamp(26px, 3vw, 32px);
	font-weight: 600;
	letter-spacing: -0.03em;
	color: var(--ink);
	line-height: 1;
}
.stats-band .stat strong em {
	margin-left: 3px;
	font-style: normal;
	color: var(--brand);
}
.stats-band .stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--ink-soft); }

.definition-section {
	background: var(--surface);
	border-block: 1px solid var(--line);
}
.definition-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
	gap: 64px;
	align-items: start;
}
.definition-copy {
	max-width: 620px;
}
.definition-copy strong {
	color: var(--ink);
	font-weight: 600;
}
.definition-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}
.definition-facts > div {
	display: grid;
	gap: 8px;
	min-height: 130px;
	padding: 22px;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.definition-facts span {
	color: var(--brand);
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0;
}
.definition-facts strong {
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.55;
}

.section-head {
	max-width: 560px;
	margin: 0 auto 48px;
	text-align: center;
}
.section-head.align-left {
	margin: 0;
	text-align: left;
	max-width: 620px;
}
.section-head h2 {
	margin: 12px 0 0;
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: var(--ink);
	text-wrap: balance;
}
.section-head p,
.section-split > p {
	margin: 14px 0 0;
	color: var(--ink-soft);
	font-size: 16px;
	line-height: 1.65;
}
.section-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
	gap: 56px;
	align-items: end;
	margin-bottom: 40px;
}
.section-split > p {
	margin: 0;
	max-width: 420px;
	justify-self: end;
}

.steps-section {
	background: var(--surface);
	border-block: 1px solid var(--line);
}
.workflow-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.45fr);
	gap: 48px;
	align-items: start;
}
.workflow-card {
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background: var(--bg);
	box-shadow: var(--shadow-sm);
}
.workflow-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
}
.workflow-card-top span {
	color: var(--ink-soft);
	font-size: 13px;
	font-weight: 500;
}
.workflow-card-top strong {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	color: var(--green);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.workflow-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	color: var(--ink);
	font-size: 14px;
	font-weight: 500;
}
.steps {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background: var(--line);
	overflow: hidden;
}
.trust-workflow {
	margin-top: 56px;
	padding-top: 48px;
	border-top: 1px solid var(--line);
}
.step {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 18px;
	padding: 28px;
	background: var(--surface);
}
.step-num {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--bg);
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	color: var(--brand);
}
.step h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.02em;
}
.step p {
	margin: 8px 0 0;
	color: var(--ink-soft);
	font-size: 14px;
	line-height: 1.6;
}

.trust-intro {
	max-width: 640px;
	margin-bottom: 32px;
}
.trust-intro p {
	margin: 14px 0 0;
	color: var(--ink-soft);
	font-size: 16px;
	line-height: 1.65;
}

.final { padding-top: 72px; padding-bottom: 96px; }
.final-box {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 44px;
	align-items: center;
	overflow: hidden;
	padding: 44px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-xl);
	background:
		linear-gradient(135deg, rgba(82, 73, 232, 0.3), transparent 38%),
		var(--ink);
	color: #fff;
	box-shadow: 0 28px 70px rgba(24, 24, 27, 0.16);
}
.final-box.glow-card > .glow-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0.8;
	-webkit-mask-image: radial-gradient(circle at center, #000 0%, #000 52%, transparent 88%);
	mask-image: radial-gradient(circle at center, #000 0%, #000 52%, transparent 88%);
}
.final-box .glow-bg canvas {
	display: block;
	width: 100%;
	height: 100%;
}
.final-box > .card-bg {
	position: absolute;
	z-index: 0;
}
.final-box > div:not(.glow-bg):not(.card-bg) {
	position: relative;
	z-index: 1;
}
.final-box .eyebrow { color: rgba(255, 255, 255, 0.58); }
.final-box .eyebrow .dot { background: #86efac; }
.final-box h2 {
	margin: 12px 0 0;
	font-size: clamp(26px, 3.4vw, 38px);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.03em;
	text-wrap: balance;
}
.final-box > div > p {
	margin: 14px 0 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 15px;
	line-height: 1.65;
	max-width: 560px;
}
.email-form { display: grid; gap: 10px; }
.email-form input {
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--radius);
	padding: 0 14px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}
.email-form input::placeholder { color: rgba(255, 255, 255, 0.7); }
.email-form input:focus {
	border-color: rgba(255, 255, 255, 0.34);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}
.email-form .btn.primary {
	height: 46px;
	background: #fff;
	border-color: #fff;
	color: var(--ink);
}
.email-form .btn.primary:hover { background: #f4f4f5; }
.form-note { min-height: 18px; color: #86efac; font-size: 13px; }

/* Reusable card spotlight */
.glow-card {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.glow-card > :not(.card-bg) {
	position: relative;
	z-index: 1;
}
.card-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	border-radius: inherit;
	opacity: 0;
	transition: opacity 0.22s ease;
}
.glow-card:hover .card-bg,
.glow-card:focus-within .card-bg {
	opacity: 1;
}
.card-bg-dots {
	display: block;
	width: 100%;
	height: 100%;
	opacity: 0.26;
}
.card-bg-mesh,
.card-bg-spotlight {
	position: absolute;
	inset: 0;
}
.card-bg-mesh {
	background:
		linear-gradient(135deg, rgba(82, 73, 232, 0.12), transparent 44%),
		radial-gradient(circle at 85% 18%, rgba(22, 163, 74, 0.12), transparent 34%);
}
.card-bg-spotlight {
	background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(82, 73, 232, 0.16), transparent 34%);
	mix-blend-mode: multiply;
}
.final-box .card-bg {
	opacity: 0.55;
}
.final-box:hover .card-bg,
.final-box:focus-within .card-bg {
	opacity: 0.88;
}
.final-box > div:not(.glow-bg):not(.card-bg) {
	position: relative;
	z-index: 1;
}

@media (max-width: 980px) {
	/* Mobile nav open/closed rules live in site-chrome.css */
	.hero-grid,
	.section-split,
	.workflow-grid,
	.final-box { grid-template-columns: 1fr; gap: 40px; }
	.section-split > p { justify-self: start; }
	.steps { grid-template-columns: 1fr; }
	.stats-band { grid-template-columns: repeat(2, 1fr); }
	.workflow-card { max-width: 460px; }
}
@media (max-width: 640px) {
	.container { width: min(100% - 32px, var(--maxw)); }
	.hero { padding-top: 48px; }
	.hero-visual { perspective: none; animation: none; }
	.preview-card { transform: none; }
	.demo { grid-template-columns: 1fr; height: auto; }
	.demo-side { border-right: 0; border-bottom: 1px solid var(--line-soft); }
	section { padding: 72px 0; }
	.nav-shell,
	.hero-copy,
	.hero-visual,
	.preview-card,
	.gaps,
	.section-head,
	.section-split,
	.workflow-grid,
	.final-box { min-width: 0; max-width: 100%; }
	.section-head h2 { font-size: clamp(28px, 10vw, 36px); }
	.section-head h2,
	.section-split > p,
	.step p,
	.final-box h2,
	.final-box > div > p { overflow-wrap: break-word; }
	.stats-band { grid-template-columns: 1fr; }
	.workflow-card,
	.final-box { border-radius: var(--radius-lg); }
	.step,
	.score { grid-template-columns: 1fr; }
	.final-box { padding: 28px; }
}

/* Embed snippet */
.embed-section {
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

/* Confidence workflow */
.confidence-section,
.trust-section {
	background:
		linear-gradient(180deg, #fff 0%, var(--bg) 48%, #fff 100%);
}
.confidence-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}
.confidence-stacked {
	perspective: 1200px;
	margin-bottom: 18px;
}
.confidence-card {
	min-height: 190px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.confidence-stacked .confidence-card:nth-child(1) {
	transform: rotate(-2.2deg) translateY(2px);
}
.confidence-stacked .confidence-card:nth-child(2) {
	transform: rotate(1.6deg) translateY(-3px);
}
.confidence-stacked .confidence-card:nth-child(3) {
	transform: rotate(-1.4deg) translateY(1px);
}
.confidence-stacked .confidence-card:nth-child(4) {
	transform: rotate(2deg) translateY(-2px);
}
.confidence-stacked .confidence-card:hover,
.confidence-stacked .confidence-card:focus-within {
	border-color: var(--accent-border);
	box-shadow: var(--shadow);
	transform: rotate(0deg) translateY(-4px);
}
.confidence-step {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border: 1px solid var(--accent-border);
	border-radius: 10px;
	background: var(--accent-soft);
	color: var(--brand);
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 600;
}
.confidence-card h3,
.integration-card h3 {
	margin: 34px 0 0;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -0.02em;
}
.confidence-card p,
.integration-card p {
	margin: 9px 0 0;
	color: var(--ink-soft);
	font-size: 14px;
	line-height: 1.58;
}
.confidence-console {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
	gap: 18px;
	margin-top: 18px;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}
.console-chat {
	display: grid;
	align-content: start;
	gap: 12px;
	padding: 16px;
	border-radius: var(--radius-lg);
	background: var(--bg);
	border: 1px solid var(--line-soft);
}
.console-chat .answer {
	margin-top: 0;
	background: var(--surface);
}
.ops-stack {
	display: grid;
	gap: 10px;
}
.ops-stack div {
	display: grid;
	gap: 4px;
	padding: 14px;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	background: var(--bg);
}
.ops-stack span,
.notification-line span,
.notification-top span {
	color: var(--ink-faint);
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.ops-stack strong,
.notification-line strong {
	color: var(--ink);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

/* Hosted help center */
.help-center-section {
	padding: clamp(56px, 8vw, 96px) 0;
}
.help-center-grid {
	margin-top: 28px;
}
.help-center-grid .confidence-card {
	min-height: 168px;
}
.help-center-grid code {
	font-family: var(--font-mono, ui-monospace, monospace);
	font-size: 0.88em;
	background: rgba(91, 84, 245, 0.08);
	padding: 1px 5px;
	border-radius: 4px;
}
.help-center-extra {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 14px;
}
.help-center-callout {
	padding: 22px 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
}
.help-center-callout h3 {
	margin: 0 0 8px;
	font-size: 1.05rem;
	font-weight: 600;
}
.help-center-callout p {
	margin: 0;
	color: var(--ink-soft);
	font-size: 14px;
	line-height: 1.55;
}
@media (max-width: 800px) {
	.help-center-extra {
		grid-template-columns: 1fr;
	}
}

/* Integrations */
.integrations-section {
	background: var(--surface);
	border-block: 1px solid var(--line);
}
.integrations-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 0.58fr);
	gap: 18px;
	align-items: stretch;
}
.integration-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
.integration-card {
	min-height: 180px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--bg);
	box-shadow: var(--shadow-sm);
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.integration-card:hover {
	border-color: var(--accent-border);
	box-shadow: var(--shadow);
	transform: translateY(-2px);
}
.integration-card h3 {
	margin-top: auto;
}
.notification-mock {
	align-self: stretch;
	display: grid;
	gap: 12px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background: var(--ink);
	color: #fff;
	box-shadow: var(--shadow);
}
.notification-mock .card-bg-spotlight,
.notification-mock .card-bg-mesh {
	mix-blend-mode: screen;
}
.notification-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.notification-top span {
	color: rgba(255, 255, 255, 0.58);
}
.notification-top strong {
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(34, 197, 94, 0.16);
	color: #86efac;
	font-family: var(--font-mono);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.notification-line {
	display: grid;
	gap: 5px;
	padding: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.055);
}
.notification-line span {
	color: rgba(255, 255, 255, 0.48);
}
.notification-line strong {
	color: rgba(255, 255, 255, 0.9);
}
.notification-line.split {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}
.notification-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	margin-top: 4px;
	border-radius: var(--radius);
	background: #fff;
	color: var(--ink);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
	touch-action: manipulation;
}
.notification-link:hover {
	background: #f4f4f5;
}
.notification-link:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 0 0 4px rgba(82, 73, 232, 0.55);
}
.pricing-section {
	background: linear-gradient(180deg, var(--bg), var(--surface) 38%, var(--bg));
}
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-top: 32px;
	align-items: stretch;
}
.billing-toggle-wrap {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 22px;
	padding: 6px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}
.billing-label {
	appearance: none;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	color: var(--ink-soft);
	padding: 0 8px;
	cursor: pointer;
	user-select: none;
	touch-action: manipulation;
}
.billing-label:hover {
	color: var(--ink);
}
.billing-label:focus-visible {
	outline: 2px solid var(--focus-ring, var(--brand));
	outline-offset: 3px;
	border-radius: 6px;
	color: var(--ink);
}
.pricing-section[data-billing="monthly"] #billingMonthlyLabel,
.pricing-section[data-billing="annual"] #billingAnnualLabel {
	color: var(--ink);
}
.billing-label.annual {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.billing-save {
	padding: 2px 7px;
	border-radius: 999px;
	background: var(--accent-soft);
	border: 1px solid var(--accent-border);
	color: var(--brand);
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 500;
}
/* Annual toggle highlight */
.free-months-pill {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	overflow: hidden;
	isolation: isolate;
	padding: 4px 10px 4px 8px;
	border-radius: 999px;
	border: 1px solid rgba(22, 163, 74, 0.28);
	background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 48%, #eef2ff 100%);
	color: #047857;
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: none;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.85) inset,
		0 6px 16px -8px rgba(16, 185, 129, 0.55);
	white-space: nowrap;
}
.free-months-pill-glow {
	position: absolute;
	inset: -40% -20%;
	background: linear-gradient(
		105deg,
		transparent 30%,
		rgba(255, 255, 255, 0.75) 48%,
		transparent 62%
	);
	transform: translateX(-60%);
	animation: free-months-shine 3.2s ease-in-out infinite;
	pointer-events: none;
	z-index: 0;
}
.free-months-pill-icon,
.free-months-pill {
	z-index: 1;
}
.free-months-pill-icon {
	display: inline-grid;
	place-items: center;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: linear-gradient(145deg, #34d399, #10b981);
	color: #fff;
	font-size: 8px;
	line-height: 1;
	box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.18);
	animation: free-months-pulse 2.4s ease-in-out infinite;
}
.pricing-section[data-billing="annual"] .free-months-pill {
	border-color: rgba(82, 73, 232, 0.32);
	background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 45%, #ecfdf5 100%);
	color: var(--brand);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.9) inset,
		0 8px 20px -10px rgba(82, 73, 232, 0.55);
}
.pricing-section[data-billing="annual"] .free-months-pill-icon {
	background: linear-gradient(145deg, #818cf8, #5249e8);
	box-shadow: 0 0 0 2px rgba(82, 73, 232, 0.18);
}
/* Per-card annual badge (hidden on monthly) */
.free-months-card-badge {
	display: none;
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
}
.free-months-card-badge span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 10px;
	border-radius: 999px;
	border: 1px solid rgba(16, 185, 129, 0.28);
	background: linear-gradient(135deg, rgba(236, 253, 245, 0.98), rgba(209, 250, 229, 0.95));
	color: #047857;
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.03em;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.9) inset,
		0 8px 18px -10px rgba(16, 185, 129, 0.55);
	white-space: nowrap;
}
.free-months-card-badge span::before {
	content: "✦";
	font-size: 9px;
	color: #10b981;
}
.pricing-section[data-billing="annual"] .free-months-card-badge {
	display: block;
	animation: free-months-badge-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.pricing-card.featured .free-months-card-badge {
	top: 18px;
}
.pricing-card.featured .free-months-card-badge span {
	border-color: rgba(82, 73, 232, 0.3);
	background: linear-gradient(135deg, rgba(238, 242, 255, 0.98), rgba(224, 231, 255, 0.96));
	color: var(--brand);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.9) inset,
		0 8px 18px -10px rgba(82, 73, 232, 0.5);
}
.pricing-card.featured .free-months-card-badge span::before {
	color: var(--brand);
}
@keyframes free-months-shine {
	0%, 55% { transform: translateX(-70%); opacity: 0; }
	65% { opacity: 1; }
	80%, 100% { transform: translateX(70%); opacity: 0; }
}
@keyframes free-months-pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.08); }
}
@keyframes free-months-badge-in {
	from {
		opacity: 0;
		transform: translateY(-6px) scale(0.94);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}
.billing-toggle {
	position: relative;
	width: 52px;
	height: 30px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--bg);
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.billing-toggle:focus-visible {
	outline: 2px solid var(--focus-ring, var(--brand));
	outline-offset: 2px;
}
.billing-toggle-knob {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: 0 1px 3px rgba(24, 24, 27, 0.2);
	transition: transform 0.2s ease;
}
.pricing-section[data-billing="annual"] .billing-toggle {
	background: rgba(82, 73, 232, 0.16);
	border-color: var(--accent-border);
}
.pricing-section[data-billing="annual"] .billing-toggle-knob {
	transform: translateX(22px);
}

/* Pricing cards */
.pricing-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 26px 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.pricing-card.glow-card {
	overflow: visible;
}
.pricing-card.glow-card > .card-bg {
	clip-path: inset(0 round var(--radius-xl));
}
.pricing-card:hover {
	border-color: #d4d4d8;
	box-shadow: var(--shadow);
	transform: translateY(-2px);
}
.pricing-badge {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--brand);
	color: #fff;
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	box-shadow: 0 4px 12px var(--accent-glow);
}
.pricing-card.featured {
	border-color: var(--accent-border);
	background: linear-gradient(180deg, rgba(82, 73, 232, 0.07), var(--surface) 60%);
	box-shadow: 0 0 0 1px var(--accent-border), var(--shadow);
}
.pricing-card.featured:hover {
	transform: translateY(-3px);
}
.pricing-head {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.pricing-head h3 {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.01em;
}
.pricing-tagline {
	margin: 0;
	font-size: 13px;
	color: var(--ink-soft);
	line-height: 1.5;
	min-height: 38px;
}
.pricing-cost {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-height: 64px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--line-soft);
}
.pricing-price {
	display: flex;
	align-items: baseline;
	gap: 2px;
	color: var(--ink);
}
.pricing-amount {
	font-size: 34px;
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.pricing-price .price-term {
	font-size: 13px;
	font-weight: 500;
	color: var(--ink-faint);
}
.price-annual,
.price-term-annual {
	display: none;
}
.pricing-section[data-billing="annual"] .price-monthly,
.pricing-section[data-billing="annual"] .price-term-monthly {
	display: none;
}
.pricing-section[data-billing="annual"] .price-annual,
.pricing-section[data-billing="annual"] .price-term-annual {
	display: inline;
}
.billing-meta {
	margin: 0;
	font-size: 12px;
	color: var(--ink-faint);
}
.pricing-section[data-billing="monthly"] .billing-meta {
	visibility: hidden;
}
.pricing-card .btn {
	width: 100%;
}
.pricing-features {
	margin: 0;
	padding: 0;
	display: grid;
	gap: 11px;
	list-style: none;
}
.pricing-features li {
	font-size: 13px;
	color: var(--ink-soft);
	display: flex;
	align-items: flex-start;
	gap: 10px;
	line-height: 1.45;
}
.pricing-features li::before {
	content: "";
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	border-radius: 6px;
	background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235249e8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.pricing-note {
	margin-top: 16px;
	color: var(--ink-faint);
	font-size: 13px;
}

/* Comparison table */
.comparison-wrap {
	margin-top: 28px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}
.comparison-intro {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 16px;
}
.comparison-intro h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.02em;
}
.comparison-grid {
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.comparison-row {
	display: grid;
	grid-template-columns: minmax(160px, 0.85fr) minmax(220px, 1fr) minmax(220px, 1fr);
	border-top: 1px solid var(--line-soft);
}
.comparison-row:first-child {
	border-top: 0;
}
.comparison-row > div {
	padding: 14px 16px;
	font-size: 13px;
	line-height: 1.5;
}
.comparison-row:not(.comparison-head):hover {
	background: var(--line-soft);
}
.comparison-head {
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}
.comparison-head > div {
	font-size: 12px;
	font-weight: 600;
	color: var(--ink-faint);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.comparison-col-usedocs {
	color: var(--brand);
}
.comparison-brand {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	text-transform: none;
	letter-spacing: -0.01em;
	font-size: 13px;
}
.comparison-brand-mark {
	width: 20px;
	height: 20px;
	display: grid;
	place-items: center;
	border-radius: 6px;
	background: var(--brand);
	color: #fff;
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 700;
}
.comparison-label {
	font-weight: 600;
	color: var(--ink);
}
.comparison-yes,
.comparison-alt {
	display: flex;
	align-items: flex-start;
	gap: 9px;
}
.comparison-yes {
	color: var(--ink);
	font-weight: 500;
	background: rgba(82, 73, 232, 0.045);
}
.comparison-yes::before,
.comparison-alt::before {
	content: "";
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}
.comparison-yes::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235249e8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}
.comparison-alt {
	color: var(--ink-soft);
}
.comparison-alt::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E");
}
.comparison-col-usedocs,
.comparison-yes {
	box-shadow: inset 1px 0 0 var(--line-soft), inset -1px 0 0 var(--line-soft);
}
.comparison-source {
	margin: 14px 2px 0;
	color: var(--ink-faint);
	font-size: 12px;
	line-height: 1.6;
}
.comparison-source a {
	color: var(--brand);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.embed-showcase {
    margin-top: 24px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--ink);
    box-shadow: var(--shadow-sm);
}
.embed-code pre {
    margin: 0;
    padding: 16px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
}

/* FAQ */
.faq-section {
    background:
        linear-gradient(180deg, var(--bg), var(--surface) 42%, var(--bg));
}
.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.38fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 32px;
}
.faq-grid .section-head p {
    margin-top: 14px;
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.65;
}
.faq-note {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}
.faq-note strong {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.faq-note span {
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.55;
}
.faq-list {
    display: grid;
    gap: 10px;
    width: 100%;
}
.accordion-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.accordion-item.active {
    border-color: var(--accent-border);
    box-shadow: 0 16px 38px rgba(24, 24, 27, 0.07);
}
.accordion-item h3 {
    margin: 0;
}
.accordion-trigger {
    width: 100%;
    min-height: 62px;
    display: grid;
    grid-template-columns: 1fr 24px;
    gap: 20px;
    align-items: center;
    padding: 0 22px;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.accordion-trigger:focus-visible {
    outline: 2px solid var(--focus-ring, var(--brand));
    outline-offset: -2px;
}
.accordion-arrow {
    position: relative;
    width: 24px;
    height: 24px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg);
}
.accordion-arrow::before,
.accordion-arrow::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 10px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 0.18s ease, opacity 0.18s ease;
}
.accordion-arrow::after {
    transform: translate(-50%, -50%) rotate(90deg);
}
.accordion-trigger[aria-expanded="true"] .accordion-arrow {
    background: var(--accent-soft);
    border-color: var(--accent-border);
    color: var(--brand);
}
.accordion-trigger[aria-expanded="true"] .accordion-arrow::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg);
}
.accordion-content {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 0.24s ease;
}
.accordion-content[hidden] {
    display: none;
}
.accordion-content > div {
    overflow: hidden;
    padding: 0 22px 22px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.65;
}

[data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity 0.58s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.58s cubic-bezier(0.16, 1, 0.3, 1);
	transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].visible {
	opacity: 1;
	transform: translateY(0);
}

@keyframes preview-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}
@keyframes source-ping {
	0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.32); }
	70% { box-shadow: 0 0 0 9px rgba(22, 163, 74, 0); }
	100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}
@keyframes stream-fill {
	0%, 100% { transform: scaleX(0.3); opacity: 0.42; }
	50% { transform: scaleX(1); opacity: 1; }
}
@keyframes live-dot {
	0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.28); }
	70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
	100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}
@keyframes typing-dot {
	0%, 70%, 100% { transform: translateY(0); opacity: 0.45; }
	35% { transform: translateY(-3px); opacity: 1; }
}
@keyframes message-in-right {
	0% { opacity: 0; transform: translateX(16px) translateY(4px) scale(0.98); }
	100% { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
}
@keyframes answer-in {
	0% { opacity: 0; transform: translateY(8px) scale(0.98); }
	100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes citation-pop {
	0% { opacity: 0; transform: translateY(3px) scale(0.94); }
	100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Mobile menu */
@media (max-width: 980px) {
    .nav-toggle {
        display: inline-flex;
    }
    .nav-links {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        padding: 12px 16px;
        gap: 12px;
        background: rgba(255, 255, 255, 0.97);
        border-bottom: 1px solid var(--line);
        backdrop-filter: blur(12px);
    }
    .nav-links.open {
        display: flex;
    }
    .nav-actions {
        display: none;
    }
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 16px;
    }
}
@media (max-width: 640px) {
    .nav-actions {
        display: none;
    }
    h1 {
        font-size: clamp(34px, 10vw, 38px);
        letter-spacing: -0.035em;
    }
    .lead {
        font-size: 16px;
        overflow-wrap: break-word;
    }
    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .trust-chips {
        display: grid;
        grid-template-columns: 1fr;
    }
    .chip {
        width: 100%;
        justify-content: flex-start;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .pricing-card {
		padding: 22px 20px;
	}
    .pricing-card.featured {
		order: -1;
	}
    .pricing-tagline {
		min-height: 0;
	}
    .pricing-cost {
		min-height: 0;
	}
    .billing-toggle-wrap {
		width: 100%;
		justify-content: center;
		flex-wrap: wrap;
		border-radius: var(--radius-lg);
	}
    .comparison-wrap {
		padding: 16px;
	}
    .comparison-grid {
		border-radius: var(--radius);
	}
    .comparison-row,
    .comparison-row.comparison-head {
		grid-template-columns: 1fr;
	}
    .comparison-head {
		display: none;
	}
    .comparison-row {
		padding: 6px 0;
	}
    .comparison-row:not(.comparison-head):hover {
		background: transparent;
	}
    .comparison-label {
		padding-bottom: 4px;
		font-size: 14px;
	}
    .comparison-yes,
    .comparison-alt {
		box-shadow: none;
		background: transparent;
		flex-wrap: wrap;
		padding-top: 6px;
		padding-bottom: 6px;
	}
    .comparison-yes::after,
    .comparison-alt::after {
		content: attr(data-col);
		order: -1;
		display: block;
		width: 100%;
		font-family: var(--font-mono);
		font-size: 10px;
		font-weight: 500;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		color: var(--ink-faint);
	}
    .comparison-yes::after {
		color: var(--brand);
	}
    .hero-grid,
    .section-split,
    .workflow-grid,
    .final-box { grid-template-columns: 1fr; gap: 36px; }
    .section-split > p { justify-self: start; }
    .steps { grid-template-columns: 1fr; }
    .stats-band { grid-template-columns: 1fr; }
    .workflow-card { max-width: 100%; }
    .faq-grid { grid-template-columns: 1fr; gap: 20px; }
    section { padding: 56px 0; }
    .hero { padding-top: 40px; }
    .demo { grid-template-columns: 1fr; }
    .demo-side { border-right: 0; border-bottom: 1px solid var(--line-soft); }
    .nav-shell,
    .hero-copy,
    .hero-visual,
    .preview-card,
    .gaps,
    .section-head,
    .section-split,
    .workflow-grid,
    .final-box { min-width: 0; max-width: 100%; }
    .section-head h2 { font-size: clamp(26px, 10vw, 36px); }
    .final-box { border-radius: var(--radius-lg); }
    .step { grid-template-columns: 1fr; }
    .final-box { padding: 24px; }
}

/* Trusted-by row */
.trusted-by {
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}
.trusted-by-label {
	display: block;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-faint);
}
.trusted-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px;
	margin-top: 16px;
}
.trusted-logo {
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--ink-faint);
	opacity: 0.85;
	transition: color 0.18s ease, opacity 0.18s ease;
}
.trusted-logo:hover {
	color: var(--ink-soft);
	opacity: 1;
}

/* Embed code window */
.embed-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 48px;
	align-items: center;
}
.embed-grid .section-head { margin-bottom: 0; }
.embed-grid .section-head p code {
	font-family: var(--font-mono);
	font-size: 0.85em;
	padding: 1px 6px;
	border-radius: 6px;
	background: var(--accent-soft);
	color: var(--brand);
}
.embed-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}
.code-window {
	border: 1px solid #1f2430;
	border-radius: var(--radius-xl);
	background: #0d1017;
	overflow: hidden;
	box-shadow: 0 28px 60px -28px rgba(13, 16, 23, 0.6), 0 4px 14px rgba(13, 16, 23, 0.2);
}
.code-window-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 16px;
	border-bottom: 1px solid #1f2430;
	background: #11151d;
}
.code-window-title {
	font-size: 13px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.62);
}
.code-copy {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.82);
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	touch-action: manipulation;
}
.code-copy:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}
.code-copy:focus-visible {
	outline: 2px solid #a1a1aa;
	outline-offset: 2px;
}
.code-copy.copied {
	border-color: rgba(74, 222, 128, 0.5);
	color: #4ade80;
}
.code-copy-status {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.code-window-body {
	margin: 0;
	padding: 22px 20px;
	font-family: var(--font-mono);
	font-size: 13px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.9);
	overflow-x: auto;
	white-space: pre;
}
.code-window-body .tok-tag { color: #f472b6; }
.code-window-body .tok-attr { color: #a5b4fc; }
.code-window-body .tok-str { color: #4ade80; }
.code-window-body .tok-punc { color: rgba(255, 255, 255, 0.5); }

/* Final CTA buttons */
.final-actions {
	display: grid;
	gap: 12px;
}
.final-box-centered {
	grid-template-columns: minmax(0, 760px);
	justify-content: center;
	gap: 28px;
	padding-block: 56px;
	text-align: center;
}
.final-box-centered .final-copy {
	max-width: 760px;
}
.final-box-centered .final-copy > p {
	margin-inline: auto;
}
.final-box-centered .final-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}
.btn.ghost-light {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
}
.btn.ghost-light:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.32);
}
.btn.ghost-light:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

@media (max-width: 980px) {
	.embed-grid { grid-template-columns: 1fr; gap: 32px; }
	.definition-grid { grid-template-columns: 1fr; gap: 36px; }
	.confidence-grid,
	.integration-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.confidence-console,
	.integrations-layout {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 640px) {
	.definition-facts { grid-template-columns: 1fr; }
	.definition-facts > div { min-height: 0; }
	.hero { padding-top: 24px; }
	.hero-grid { gap: 16px; padding-bottom: 24px; }
	.hero-grid .trusted-by { display: none; }
	.hero-grid .trust-chips {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 6px;
		margin-top: 16px;
	}
	.hero-grid .chip {
		width: auto;
		justify-content: center;
		padding-inline: 7px;
		font-size: 11px;
		white-space: nowrap;
	}
	.hero-grid .demo {
		display: block;
		height: auto;
	}
	.hero-grid .demo-side { display: none; }
	.hero-grid .demo-main {
		min-height: 240px;
		padding: 16px;
	}
	.hero-grid .chat-thread { min-height: 0; }
	.hero .stats-band { display: none; }
	.trusted-logos { gap: 20px; }
	.embed-actions { display: grid; grid-template-columns: 1fr; }
	.embed-actions .btn { width: 100%; }
	.confidence-grid,
	.integration-cards,
	.notification-line.split {
		grid-template-columns: 1fr;
	}
	.confidence-stacked .confidence-card,
	.confidence-stacked .confidence-card:nth-child(n) {
		transform: none;
	}
	.confidence-stacked .confidence-card:hover,
	.confidence-stacked .confidence-card:focus-within {
		transform: translateY(-2px);
	}
	.confidence-card,
	.integration-card {
		min-height: 0;
	}
	.confidence-card h3,
	.integration-card h3 {
		margin-top: 26px;
	}
	.confidence-console,
	.notification-mock {
		padding: 16px;
	}
	.final-box-centered .final-actions {
		display: grid;
		grid-template-columns: 1fr;
		width: 100%;
	}
	.final-box-centered .final-actions .btn {
		width: 100%;
	}
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
	.preview-card { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
	.hero-visual {
		animation: none;
	}
	.preview-card {
		transform: rotateX(6deg) rotateY(-11deg);
	}
	[data-reveal] {
		opacity: 1;
		transform: none;
	}
	.typing-bubble {
		display: none;
	}
	.confidence-stacked .confidence-card,
	.confidence-stacked .confidence-card:nth-child(n),
	.confidence-stacked .confidence-card:hover,
	.confidence-stacked .confidence-card:focus-within {
		transform: none;
	}
}
