/* ---------- Design tokens (shared with tapkit.dev for visual consistency) ---------- */

:root {
	--bg: #ffffff;
	--bg-alt: #fafaf9;
	--bg-inset: #f4f4f2;

	--ink: #15171a;
	--ink-muted: #52575c;
	--ink-subtle: #787e85;

	--accent: #f38020;
	--accent-soft: #fff0e2;
	--accent-ink: #b4560f;

	--radius: 12px;
	--radius-lg: 16px;
	--shadow-sm: 0 1px 2px rgba(15, 17, 21, 0.04);
	--shadow: 0 4px 20px rgba(15, 17, 21, 0.06),
		0 1px 3px rgba(15, 17, 21, 0.04);
	--shadow-lg: 0 20px 60px rgba(15, 17, 21, 0.12),
		0 2px 8px rgba(15, 17, 21, 0.06);

	--fs-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
	--fs-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
		sans-serif;
}

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

html {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--fs-sans);
	font-feature-settings: "cv11", "ss01", "ss03";
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
}

a {
	color: var(--accent-ink);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 120ms ease, color 120ms ease;
}

a:hover {
	color: var(--accent);
	border-bottom-color: currentColor;
}

h1,
h2,
h3 {
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin: 0 0 0.5em;
	color: var(--ink);
}

h1 {
	font-size: clamp(2.25rem, 4.5vw, 3.75rem);
	letter-spacing: -0.03em;
}

h2 {
	font-size: clamp(1.625rem, 3vw, 2.25rem);
}

h3 {
	font-size: 1.125rem;
}

p {
	margin: 0 0 1em;
}

code {
	font-family: var(--fs-mono);
	font-size: 0.9em;
	background: var(--bg-inset);
	padding: 0.1em 0.35em;
	border-radius: 4px;
	color: var(--ink);
}

.container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--bg-inset);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 24px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 1.02rem;
	letter-spacing: -0.01em;
	color: var(--ink);
	border: none;
}

.brand:hover {
	color: var(--ink);
}

.brand-mark {
	color: var(--accent);
	font-size: 1.2em;
}

.brand-subtitle {
	color: var(--ink-subtle);
	font-weight: 500;
	font-size: 0.88rem;
	letter-spacing: 0;
}

.site-nav {
	display: flex;
	gap: 24px;
	align-items: center;
	font-size: 0.95rem;
}

.site-nav a {
	color: var(--ink-muted);
	border: none;
}

.site-nav a:hover {
	color: var(--accent);
}

@media (max-width: 720px) {
	.brand-subtitle {
		display: none;
	}
	.site-nav {
		gap: 16px;
	}
}

/* ---------- Sections ---------- */

section {
	padding: 96px 0;
	border-bottom: 1px solid var(--bg-inset);
}

section:last-of-type {
	border-bottom: none;
}

.section-lede {
	color: var(--ink-muted);
	font-size: 1.125rem;
	max-width: 62ch;
	margin-bottom: 3rem;
}

/* ---------- Hero ---------- */

.hero {
	padding: 96px 0 80px;
	background:
		radial-gradient(
			circle at 20% 0%,
			rgba(243, 128, 32, 0.06) 0%,
			transparent 40%
		),
		radial-gradient(
			circle at 80% 20%,
			rgba(243, 128, 32, 0.04) 0%,
			transparent 40%
		);
}

.eyebrow {
	font-family: var(--fs-mono);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--accent-ink);
	background: var(--accent-soft);
	padding: 6px 12px;
	border-radius: 999px;
	display: inline-block;
	margin-bottom: 24px;
}

.hero h1 {
	max-width: 22ch;
}

.hero h1 .accent {
	color: var(--accent);
}

.hero .lede {
	max-width: 65ch;
	font-size: 1.2rem;
	color: var(--ink-muted);
	margin-top: 20px;
}

.hero-trust {
	margin-top: 20px;
	padding: 14px 18px;
	border-left: 3px solid var(--accent);
	background: var(--accent-soft);
	border-radius: 0 var(--radius) var(--radius) 0;
	font-size: 0.95rem;
	color: var(--ink);
	max-width: 62ch;
}

/* Scope-at-a-glance (two-column TL;DR under the merchant hero) */

.scope-glance {
	margin-top: 56px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 32px 48px;
	padding: 28px 32px;
	border: 1px solid var(--bg-inset);
	border-radius: var(--radius-lg);
	background: var(--bg);
}

.scope-col h4 {
	font-family: var(--fs-mono);
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ink-muted);
	margin: 0 0 12px;
	font-weight: 600;
}

.scope-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.scope-col li {
	position: relative;
	padding-left: 22px;
	margin-bottom: 8px;
	font-size: 0.95rem;
	color: var(--ink);
}

.scope-col li::before {
	position: absolute;
	left: 0;
	top: 0.05em;
	font-weight: 700;
}

.scope-col:first-child li::before {
	content: "✓";
	color: #1f8a45;
}

.scope-col:last-child li::before {
	content: "→";
	color: var(--accent);
}

.hero-cta {
	display: flex;
	gap: 12px;
	margin-top: 32px;
	flex-wrap: wrap;
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	font-family: var(--fs-sans);
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: 8px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 80ms ease, background 120ms ease, border-color 120ms
		ease, box-shadow 120ms ease;
	text-decoration: none;
}

.btn:active {
	transform: translateY(1px);
}

.btn-primary {
	background: var(--ink);
	color: #fff;
	border-color: var(--ink);
}

.btn-primary:hover {
	background: var(--accent-ink);
	border-color: var(--accent-ink);
	color: #fff;
}

.btn-ghost {
	background: transparent;
	color: var(--ink);
	border-color: rgba(21, 23, 26, 0.15);
}

.btn-ghost:hover {
	border-color: var(--ink);
	color: var(--ink);
}

/* ---------- Proof / terminal ---------- */

.proof {
	padding: 40px 0 64px;
	border-bottom: 1px solid var(--bg-inset);
}

.proof-caption {
	color: var(--ink-muted);
	font-size: 0.95rem;
	margin-bottom: 20px;
	text-align: center;
}

.terminal {
	max-width: 760px;
	margin: 0 auto;
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}

.terminal-chrome {
	display: flex;
	align-items: center;
	gap: 6px;
	background: #1a1d23;
	padding: 10px 16px;
}

.terminal-chrome .dot {
	display: inline-block;
	width: 11px;
	height: 11px;
	border-radius: 50%;
}

.terminal-chrome .dot.red {
	background: #ff5f57;
}

.terminal-chrome .dot.yellow {
	background: #febc2e;
}

.terminal-chrome .dot.green {
	background: #28c840;
}

.terminal-label {
	margin-left: 12px;
	font-family: var(--fs-mono);
	font-size: 0.78rem;
	color: #8c93a1;
}

.terminal-body {
	background: #0f1115;
	color: #e4e6eb;
	font-family: var(--fs-mono);
	font-size: 0.85rem;
	line-height: 1.65;
	padding: 20px 24px;
	margin: 0;
	overflow-x: auto;
}

.terminal-body .t-pass {
	color: #6ec187;
	font-weight: 600;
}

.terminal-body .t-dim {
	color: #8c93a1;
}

.terminal-body .t-summary {
	color: #6ec187;
	font-weight: 600;
}

.terminal-body strong {
	color: #fff;
	font-weight: 600;
}

@media (max-width: 640px) {
	.terminal-body {
		font-size: 0.72rem;
		padding: 14px 16px;
	}
}

/* ---------- Three lane cards (front page) ---------- */

.lanes {
	padding-top: 40px;
}

.lanes-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
	margin-top: 40px;
}

.lane-card {
	display: block;
	background: var(--bg);
	border: 1px solid var(--bg-inset);
	border-radius: var(--radius-lg);
	padding: 32px;
	text-decoration: none;
	color: inherit;
	transition: border-color 120ms ease, box-shadow 120ms ease,
		transform 120ms ease;
	border-bottom: 1px solid var(--bg-inset); /* override global a underline */
}

/* Mobile: compact cards so all three lanes are visible without
   scrolling a mile. Reduces padding + shrinks body text so two
   cards comfortably fit in a 667px mobile viewport height. */
@media (max-width: 640px) {
	.lanes-grid {
		gap: 14px;
		margin-top: 24px;
	}
	.lane-card {
		padding: 20px 22px;
	}
	.lane-card h3 {
		font-size: 1.15rem;
		margin-bottom: 8px;
	}
	.lane-card p {
		font-size: 0.92rem;
		margin-bottom: 12px;
	}
	.lane-eyebrow {
		margin-bottom: 8px;
	}
}

.lane-card:hover {
	border-color: rgba(243, 128, 32, 0.4);
	box-shadow: var(--shadow);
	transform: translateY(-2px);
	color: inherit;
}

.lane-card.primary {
	border-color: rgba(243, 128, 32, 0.3);
	background: linear-gradient(
		180deg,
		var(--accent-soft) 0%,
		var(--bg) 70%
	);
}

.lane-card.primary:hover {
	border-color: var(--accent);
}

.lane-eyebrow {
	font-family: var(--fs-mono);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--accent);
	margin-bottom: 12px;
	font-weight: 600;
}

.lane-card h3 {
	font-size: 1.35rem;
	margin-bottom: 12px;
}

.lane-card p {
	color: var(--ink-muted);
	font-size: 0.97rem;
	margin: 0 0 20px;
}

.lane-card .lane-cta {
	color: var(--accent-ink);
	font-weight: 600;
	font-size: 0.95rem;
}

.lane-card:hover .lane-cta {
	color: var(--accent);
}

/* ---------- Primary action block (elevated "do this first" CTA) ---------- */

.primary-action {
	background: linear-gradient(
		180deg,
		var(--accent-soft) 0%,
		var(--bg) 95%
	);
	border: 1px solid rgba(243, 128, 32, 0.25);
	border-radius: var(--radius-lg);
	padding: 32px 36px;
	margin-top: 16px;
	box-shadow: var(--shadow-sm);
}

.primary-action h3 {
	font-size: 1.3rem;
	margin-bottom: 12px;
}

.primary-action p {
	color: var(--ink-muted);
	margin-bottom: 20px;
	max-width: 60ch;
}

.primary-action-cta {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

/* ---------- Content sections on lane pages ---------- */

.content h2 {
	margin-bottom: 20px;
}

.content-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 32px 40px;
}

.content-item {
	padding-left: 20px;
	border-left: 2px solid var(--accent);
}

.content-item h3 {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 8px;
}

.content-item p {
	color: var(--ink-muted);
	font-size: 0.95rem;
	margin: 0 0 8px;
}

.content-item a {
	font-size: 0.9rem;
	font-weight: 500;
}

/* List-of-resources style */

.resources {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: 24px;
}

.resources li {
	background: var(--bg);
	border: 1px solid var(--bg-inset);
	border-radius: var(--radius);
	padding: 24px;
	transition: border-color 120ms ease, box-shadow 120ms ease;
}

.resources li:hover {
	border-color: rgba(243, 128, 32, 0.3);
	box-shadow: var(--shadow);
}

.resources h3 {
	font-size: 1.05rem;
	margin-bottom: 6px;
}

.resources h3 a {
	color: var(--ink);
	border: none;
}

.resources h3 a:hover {
	color: var(--accent-ink);
}

.resources p {
	color: var(--ink-muted);
	font-size: 0.94rem;
	margin: 0 0 8px;
}

.resources .resource-tag {
	display: inline-block;
	font-family: var(--fs-mono);
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ink-subtle);
	background: var(--bg-inset);
	padding: 3px 10px;
	border-radius: 999px;
	margin-top: 8px;
}

/* Honest gaps panel */

.gaps {
	background: var(--bg-alt);
}

.gaps-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.gaps-list li {
	padding: 20px 0;
	border-bottom: 1px solid var(--bg-inset);
}

.gaps-list li:last-child {
	border-bottom: none;
}

.gaps-list h3 {
	font-size: 1.02rem;
	margin-bottom: 4px;
}

.gaps-list p {
	color: var(--ink-muted);
	font-size: 0.95rem;
	margin: 0;
}

/* CTA section */

.cta {
	text-align: center;
	padding: 96px 0 120px;
}

.cta h2 {
	max-width: 22ch;
	margin: 0 auto 16px;
}

.cta p {
	color: var(--ink-muted);
	max-width: 52ch;
	margin: 0 auto 32px;
	font-size: 1.1rem;
}

.cta-buttons {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

/* Footer */

.site-footer {
	background: var(--bg-inset);
	padding: 32px 0;
	font-size: 0.88rem;
	color: var(--ink-muted);
}

.site-footer p {
	margin: 0 0 8px;
}

.site-footer a {
	color: var(--ink-muted);
	border: none;
}

.site-footer a:hover {
	color: var(--accent-ink);
}

.site-footer-meta {
	margin-top: 12px;
	color: var(--ink-subtle);
	font-size: 0.82rem;
	font-family: var(--fs-mono);
}

.site-footer-meta time {
	font-family: var(--fs-mono);
}

/* Breadcrumb */

.breadcrumb {
	padding: 20px 0 0;
	font-size: 0.88rem;
	color: var(--ink-subtle);
}

.breadcrumb a {
	color: var(--ink-muted);
	border: none;
}

.breadcrumb a:hover {
	color: var(--accent-ink);
}

.breadcrumb-sep {
	margin: 0 8px;
	color: var(--ink-subtle);
}

/* ---------- Inline code sample (merchant page) ----------
   A hero-adjacent code card that shows, without a second click,
   how small the actual merchant integration is. Styled as a
   labelled editor pane so it reads as "real code" not marketing. */

.code-card {
	margin-top: 56px;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	background: #0f1115;
	max-width: 760px;
}

.code-card-chrome {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #1a1d23;
	padding: 10px 16px;
	border-bottom: 1px solid #2a2e37;
}

.code-card-filename {
	font-family: var(--fs-mono);
	font-size: 0.78rem;
	color: #c5cad3;
	font-weight: 500;
}

.code-card-tag {
	font-family: var(--fs-mono);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #8c93a1;
}

.code-card pre {
	margin: 0;
	padding: 22px 24px;
	font-family: var(--fs-mono);
	font-size: 0.85rem;
	line-height: 1.7;
	color: #e4e6eb;
	overflow-x: auto;
}

.code-card .c-kw {
	color: #c18ef4;
}

.code-card .c-str {
	color: #98c379;
}

.code-card .c-fn {
	color: #61afef;
}

.code-card .c-comment {
	color: #6a737d;
	font-style: italic;
}

.code-card-footer {
	padding: 12px 24px;
	background: #151821;
	color: #8c93a1;
	font-size: 0.82rem;
	font-family: var(--fs-mono);
	border-top: 1px solid #2a2e37;
}

.code-card-footer a {
	color: #c5cad3;
	border-bottom: 1px solid #2a2e37;
}

.code-card-footer a:hover {
	color: #fff;
	border-bottom-color: currentColor;
}

@media (max-width: 640px) {
	.code-card pre {
		font-size: 0.72rem;
		padding: 14px 16px;
	}
}

/* ---------- Before / after split ----------
   Two-column visual contrast: today, agents and scrapers look
   identical at the edge; with TAPKit, one of them proves who it is.
   The "today" side is deliberately grey/flat, the "TAPKit" side
   picks up the accent to show the difference visually. */

.compare {
	background: var(--bg-alt);
}

.compare-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 40px;
}

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

.compare-col {
	background: var(--bg);
	border: 1px solid var(--bg-inset);
	border-radius: var(--radius-lg);
	padding: 28px;
	position: relative;
}

.compare-col.after {
	border-color: rgba(243, 128, 32, 0.35);
	box-shadow:
		0 0 0 1px rgba(243, 128, 32, 0.1),
		var(--shadow-sm);
}

.compare-col-label {
	font-family: var(--fs-mono);
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--ink-subtle);
	margin-bottom: 8px;
	display: block;
}

.compare-col.after .compare-col-label {
	color: var(--accent-ink);
}

.compare-col h3 {
	font-size: 1.15rem;
	margin-bottom: 16px;
}

.compare-row {
	display: flex;
	gap: 12px;
	padding: 10px 0;
	font-size: 0.9rem;
	align-items: flex-start;
	border-top: 1px solid var(--bg-inset);
}

.compare-row:first-of-type {
	border-top: none;
}

.compare-icon {
	flex: 0 0 18px;
	font-family: var(--fs-mono);
	font-weight: 700;
	line-height: 1.5;
}

.compare-icon.x {
	color: #a23d3d;
}

.compare-icon.check {
	color: #1f8a45;
}

.compare-icon.q {
	color: var(--ink-subtle);
}

.compare-row-text {
	color: var(--ink);
	line-height: 1.5;
}

.compare-row-text small {
	display: block;
	color: var(--ink-subtle);
	font-size: 0.82rem;
	margin-top: 2px;
}

/* ---------- Request-path diagram ----------
   Dark panel, horizontal SVG flow: Agent → CF edge (TAPKit) → Origin
   → Processor. Intentionally dark to feel like an architecture diagram
   instead of a marketing graphic. */

.diagram {
	background: #0f1115;
	color: #e4e6eb;
	border-bottom-color: #1a1d23;
}

.diagram h2 {
	color: #fff;
}

.diagram .section-lede {
	color: #9ba2ac;
}

.diagram-frame {
	margin-top: 32px;
	padding: 40px 24px;
	background: #15181f;
	border-radius: var(--radius-lg);
	border: 1px solid #1f232c;
	overflow-x: auto;
}

.diagram-svg {
	width: 100%;
	max-width: 920px;
	height: auto;
	margin: 0 auto;
	display: block;
}

.diagram-legend {
	margin-top: 32px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}

.diagram-legend-item {
	padding: 16px 18px;
	background: #1a1d23;
	border-radius: var(--radius);
	border: 1px solid #24282f;
}

.diagram-legend-item h4 {
	font-size: 0.8rem;
	font-family: var(--fs-mono);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #c5cad3;
	margin: 0 0 6px;
}

.diagram-legend-item p {
	margin: 0;
	font-size: 0.88rem;
	color: #9ba2ac;
	line-height: 1.55;
}

.diagram-legend-item strong {
	color: #f8a45c;
	font-weight: 600;
}

/* ---------- Build-yourself comparison ---------- */

.compare-build {
	overflow-x: auto;
}

.compare-build table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 32px;
	font-size: 0.94rem;
}

.compare-build th,
.compare-build td {
	text-align: left;
	padding: 14px 18px;
	border-bottom: 1px solid var(--bg-inset);
	vertical-align: top;
}

.compare-build th {
	font-family: var(--fs-mono);
	font-size: 0.74rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ink-subtle);
	font-weight: 600;
	background: var(--bg-alt);
	white-space: nowrap;
}

.compare-build th.col-build,
.compare-build td.col-build {
	background: var(--bg-alt);
}

.compare-build th.col-tapkit,
.compare-build td.col-tapkit {
	background: rgba(243, 128, 32, 0.06);
	color: var(--ink);
}

.compare-build tr:last-child td {
	border-bottom: none;
}

.compare-build td.col-feature {
	color: var(--ink);
	font-weight: 500;
}

.compare-build td.col-build small,
.compare-build td.col-tapkit small {
	display: block;
	color: var(--ink-subtle);
	font-size: 0.82rem;
	margin-top: 2px;
}

/* ---------- Week-1 rollout timeline ---------- */

.rollout {
	background: var(--bg-alt);
}

.rollout-steps {
	margin-top: 32px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 0;
	position: relative;
}

.rollout-step {
	padding: 24px 24px 28px;
	background: var(--bg);
	border: 1px solid var(--bg-inset);
	border-right: none;
	position: relative;
}

.rollout-step:first-child {
	border-top-left-radius: var(--radius);
	border-bottom-left-radius: var(--radius);
}

.rollout-step:last-child {
	border-right: 1px solid var(--bg-inset);
	border-top-right-radius: var(--radius);
	border-bottom-right-radius: var(--radius);
}

@media (max-width: 760px) {
	.rollout-step {
		border-right: 1px solid var(--bg-inset);
		border-bottom: none;
	}
	.rollout-step:first-child {
		border-radius: var(--radius) var(--radius) 0 0;
	}
	.rollout-step:last-child {
		border-bottom: 1px solid var(--bg-inset);
		border-radius: 0 0 var(--radius) var(--radius);
	}
}

.rollout-when {
	font-family: var(--fs-mono);
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--accent-ink);
	background: var(--accent-soft);
	padding: 3px 10px;
	border-radius: 999px;
	display: inline-block;
	margin-bottom: 14px;
	font-weight: 600;
}

.rollout-step h3 {
	font-size: 1.02rem;
	margin-bottom: 8px;
}

.rollout-step p {
	font-size: 0.9rem;
	color: var(--ink-muted);
	margin: 0;
	line-height: 1.55;
}

.rollout-step code {
	font-size: 0.82rem;
}

/* ---------- What you'll see (observability preview) ---------- */

.observe-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 32px;
	margin-top: 32px;
	align-items: start;
}

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

.observe-preview {
	background: #0f1115;
	border-radius: var(--radius);
	padding: 22px 24px;
	font-family: var(--fs-mono);
	color: #e4e6eb;
	font-size: 0.85rem;
	line-height: 1.7;
	box-shadow: var(--shadow-lg);
}

.observe-preview-label {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #8c93a1;
	margin-bottom: 14px;
}

.observe-row {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
	border-bottom: 1px solid #1f232c;
}

.observe-row:last-child {
	border-bottom: none;
}

.observe-row-key {
	color: #9ba2ac;
}

.observe-row-val {
	color: #fff;
	font-weight: 500;
}

.observe-row-val.ok {
	color: #6ec187;
}

.observe-note {
	padding: 16px 20px;
	background: var(--bg-alt);
	border-left: 3px solid var(--ink-subtle);
	border-radius: 0 var(--radius) var(--radius) 0;
	margin-top: 24px;
	font-size: 0.88rem;
	color: var(--ink-muted);
}

.observe-note strong {
	color: var(--ink);
}

.observe-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.observe-list li {
	padding: 12px 0;
	border-bottom: 1px solid var(--bg-inset);
	font-size: 0.94rem;
}

.observe-list li:last-child {
	border-bottom: none;
}

.observe-list li strong {
	display: block;
	margin-bottom: 2px;
	font-weight: 600;
}

.observe-list li span {
	color: var(--ink-muted);
	font-size: 0.88rem;
}

.observe-list li.future strong {
	color: var(--ink-subtle);
}

.observe-list li.future::after {
	content: "coming";
	float: right;
	font-family: var(--fs-mono);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--accent-ink);
	background: var(--accent-soft);
	padding: 2px 8px;
	border-radius: 999px;
	margin-top: 1px;
}

/* ---------- FAQ accordion ---------- */

.faq-list {
	margin-top: 32px;
	max-width: 820px;
}

.faq-item {
	border-bottom: 1px solid var(--bg-inset);
}

.faq-item[open] {
	background: var(--bg-alt);
}

.faq-item summary {
	cursor: pointer;
	padding: 20px 0;
	font-weight: 600;
	font-size: 1rem;
	color: var(--ink);
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

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

.faq-item summary::after {
	content: "+";
	font-family: var(--fs-mono);
	font-size: 1.2rem;
	color: var(--ink-subtle);
	transition: transform 120ms ease;
	flex: 0 0 auto;
}

.faq-item[open] summary::after {
	content: "−";
	color: var(--accent);
}

.faq-item[open] summary {
	padding-left: 16px;
}

.faq-body {
	padding: 0 0 20px;
	color: var(--ink-muted);
	font-size: 0.96rem;
	line-height: 1.65;
	max-width: 72ch;
}

.faq-item[open] .faq-body {
	padding-left: 16px;
}

.faq-body p:last-child {
	margin-bottom: 0;
}

.faq-body code {
	font-size: 0.86em;
}

/* ---------- Pilot / human-contact CTA ---------- */

.pilot {
	padding: 72px 0;
}

.pilot-panel {
	background: linear-gradient(
		180deg,
		var(--accent-soft) 0%,
		var(--bg) 95%
	);
	border: 1px solid rgba(243, 128, 32, 0.25);
	border-radius: var(--radius-lg);
	padding: 36px 40px;
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 32px;
	align-items: center;
	box-shadow: var(--shadow-sm);
}

@media (max-width: 760px) {
	.pilot-panel {
		grid-template-columns: 1fr;
		padding: 28px 24px;
	}
}

.pilot-panel h3 {
	font-size: 1.3rem;
	margin-bottom: 10px;
}

.pilot-panel p {
	color: var(--ink-muted);
	margin: 0 0 8px;
	font-size: 0.96rem;
}

.pilot-panel ul {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	color: var(--ink-muted);
	font-size: 0.9rem;
}

.pilot-panel ul li {
	padding: 3px 0;
}

.pilot-panel ul li::before {
	content: "→";
	color: var(--accent);
	margin-right: 8px;
	font-weight: 700;
}

.pilot-cta {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: stretch;
}

.pilot-cta .btn {
	width: 100%;
}

.pilot-cta small {
	color: var(--ink-subtle);
	font-size: 0.82rem;
	text-align: center;
}

/* Responsive */

@media (max-width: 640px) {
	section {
		padding: 64px 0;
	}
	.hero {
		padding: 64px 0;
	}
}

/* ============================================================
   Merchants index — additions for the two-card chooser plus the
   "which one is for me?" disambiguation block. The auto-fit grid
   already handles the two-up layout; we just need helper styles.
   ============================================================ */

.lanes-helper {
	max-width: 720px;
	margin: 56px auto 0;
	padding: 32px;
	border: 1px solid var(--bg-inset);
	border-radius: var(--radius-lg);
	background: var(--bg);
}

.lanes-helper h4 {
	margin: 0 0 16px;
	font-size: 1rem;
	color: var(--ink);
	font-weight: 600;
}

.lanes-helper dl {
	margin: 0;
}

.lanes-helper dt {
	font-weight: 500;
	color: var(--ink);
	margin-top: 14px;
}

.lanes-helper dt:first-of-type {
	margin-top: 0;
}

.lanes-helper dd {
	margin: 4px 0 0;
	color: var(--ink-muted);
	font-size: 0.95rem;
}

.lanes-helper dd a {
	font-weight: 500;
}

/* ============================================================
   WebMCP page — phase ownership attribution under each phase
   section. Light, not noisy, references the GitLab origin.
   ============================================================ */

.phase-attribution {
	margin-top: 24px;
	font-size: 0.875rem;
	color: var(--ink-muted);
	max-width: 70ch;
}

.phase-attribution code {
	font-size: 0.85em;
}
