/* LocallAgent marketing site styles. Hand-authored, no build step.
   Fonts are self-hosted (Space Grotesk display + system body): zero third-party requests. */

@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("/assets/fonts/space-grotesk-500.woff2") format("woff2");
}

@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("/assets/fonts/space-grotesk-600.woff2") format("woff2");
}

@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("/assets/fonts/space-grotesk-700.woff2") format("woff2");
}

:root {
	--bg: #ffffff;
	--bg-soft: #f6f8fb;
	--ink: #0b1220;
	--ink-soft: #111a2c;

	--text: #1f2a37;
	--text-soft: #5a6573;
	--text-on-dark: #dfe6f0;
	--text-on-dark-soft: #9aa7b8;

	--border: #e7ebf1;
	--border-dark: rgba(255, 255, 255, 0.10);

	--accent: #059669;
	--accent-600: #047857;
	--accent-400: #10b981;
	--accent-300: #34d399;
	--accent-weak: #ecfdf5;

	--shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
	--shadow: 0 6px 24px -8px rgba(16, 24, 40, 0.12), 0 2px 6px -2px rgba(16, 24, 40, 0.06);
	--shadow-lg: 0 28px 64px -24px rgba(4, 30, 24, 0.45);

	--radius: 16px;
	--radius-sm: 10px;
	--radius-pill: 999px;
	--container: 1140px;

	--font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
	--font-display: "Space Grotesk", var(--font);
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 84px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16.5px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a {
	color: var(--accent-600);
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: var(--font-display);
	letter-spacing: -0.02em;
	line-height: 1.12;
	color: var(--text);
}

h1 {
	font-size: clamp(2.3rem, 4.6vw, 3.5rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.04;
}

h2 {
	font-size: clamp(1.85rem, 3.2vw, 2.5rem);
	font-weight: 700;
	letter-spacing: -0.03em;
}

.eyebrow,
.brand,
.step-num {
	font-family: var(--font-display);
}

.lead {
	font-size: clamp(1.05rem, 1.5vw, 1.2rem);
	color: var(--text-soft);
}

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

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

.skip-link:focus {
	left: 12px;
	top: 12px;
	z-index: 100;
	background: #fff;
	padding: 8px 14px;
	border-radius: 8px;
	box-shadow: var(--shadow);
}

/* ---------- Layout ---------- */

.wrap {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.section {
	padding: clamp(64px, 9vw, 112px) 0;
}

.section-soft {
	background: var(--bg-soft);
}

.band-dark {
	background: var(--ink);
	color: var(--text-on-dark);
}

.band-dark h1,
.band-dark h2,
.band-dark h3 {
	color: #fff;
}

.band-dark .section-sub,
.band-dark .lead {
	color: var(--text-on-dark-soft);
}

.section-head {
	max-width: 720px;
	margin: 0 auto clamp(36px, 5vw, 58px);
	text-align: center;
}

.eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--accent-600);
	margin-bottom: 0.9em;
}

.eyebrow-light {
	color: var(--accent-300);
}

.section-sub {
	color: var(--text-soft);
	font-size: clamp(1.05rem, 1.5vw, 1.18rem);
	margin: 0.7em 0 0;
}

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	font-weight: 600;
	font-size: 0.98rem;
	line-height: 1;
	padding: 0.78em 1.2em;
	border-radius: var(--radius-sm);
	border: 1px solid transparent;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-lg {
	padding: 0.95em 1.55em;
	font-size: 1.02rem;
}

.btn-block {
	width: 100%;
}

.btn-primary {
	background: var(--accent);
	color: #fff;
	box-shadow: 0 8px 20px -8px rgba(5, 150, 105, 0.6);
}

.btn-primary:hover {
	background: var(--accent-600);
	transform: translateY(-1px);
}

.btn-ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.08);
}

.btn-outline {
	background: #fff;
	color: var(--text);
	border-color: var(--border);
}

.btn-outline:hover {
	border-color: var(--accent);
	color: var(--accent-600);
}

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

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

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 68px;
	gap: 24px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	font-weight: 700;
	letter-spacing: -0.02em;
	font-size: 1.1rem;
	color: var(--text);
	text-decoration: none;
}

.logo {
	display: block;
	flex: 0 0 auto;
}

.nav-links {
	display: flex;
	gap: 28px;
}

.nav-links a {
	color: var(--text-soft);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
}

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

.nav-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nav-toggle {
	display: none;
	width: 42px;
	height: 42px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 0;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 10px;
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
	opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
	display: none;
}

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

.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(52px, 7vw, 92px) 0 clamp(60px, 8vw, 100px);
	background:
		radial-gradient(1100px 460px at 82% -8%, rgba(16, 185, 129, 0.20), transparent 60%),
		radial-gradient(800px 380px at 5% 110%, rgba(16, 185, 129, 0.10), transparent 55%),
		var(--ink);
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	gap: 52px;
	align-items: center;
}

.hero-copy h1 {
	margin: 0.5em 0 0.45em;
}

.grad {
	background: linear-gradient(118deg, #34d399 0%, #10b981 50%, #6ee7d2 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero .lead {
	max-width: 44ch;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--accent-300);
	background: rgba(16, 185, 129, 0.12);
	border: 1px solid rgba(16, 185, 129, 0.28);
	padding: 0.42em 0.85em;
	border-radius: var(--radius-pill);
}

.hero-cta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin: 1.7em 0 1.5em;
}

.hero-trust {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
	color: var(--text-on-dark-soft);
	font-size: 0.85rem;
}

.hero-trust li {
	position: relative;
	padding-left: 18px;
}

.hero-trust li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent-400);
}

/* Hero call card */
.hero-visual {
	display: flex;
	justify-content: center;
}

.call-card {
	width: 100%;
	max-width: 384px;
	background: linear-gradient(180deg, #15233b, #0e1828);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 20px;
	padding: 20px;
	box-shadow: var(--shadow-lg);
}

.call-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--text-on-dark-soft);
	font-size: 0.8rem;
}

.live {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
}

.live-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent-400);
	animation: pulse 2s infinite;
}

.call-timer {
	font-variant-numeric: tabular-nums;
}

.waveform {
	display: flex;
	align-items: center;
	gap: 3px;
	height: 60px;
	margin: 18px 0;
}

.waveform span {
	flex: 1;
	height: 30%;
	border-radius: 2px;
	background: linear-gradient(180deg, #34d399, #059669);
	animation: wave 1.1s ease-in-out infinite;
}

.waveform span:nth-child(2n) { animation-delay: -0.15s; }
.waveform span:nth-child(3n) { animation-delay: -0.35s; }
.waveform span:nth-child(5n) { animation-delay: -0.55s; }
.waveform span:nth-child(7n) { animation-delay: -0.8s; }

.call-lines {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.call-lines p {
	margin: 0;
	padding: 0.5em 0.75em;
	border-radius: 12px;
	font-size: 0.9rem;
	max-width: 88%;
}

.from-agent {
	background: rgba(16, 185, 129, 0.16);
	color: #d6ffe9;
	align-self: flex-start;
	border-bottom-left-radius: 4px;
}

.from-caller {
	background: rgba(255, 255, 255, 0.06);
	color: var(--text-on-dark);
	align-self: flex-end;
	border-bottom-right-radius: 4px;
}

.call-chips {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 16px;
}

.chip {
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--text-on-dark-soft);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.10);
	padding: 0.3em 0.65em;
	border-radius: var(--radius-pill);
}

.chip-accent {
	background: var(--accent-300);
	color: #04221a;
	border-color: transparent;
}

@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
	70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
	100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes wave {
	0%, 100% { height: 22%; }
	50% { height: 92%; }
}

/* ---------- Trust strip ---------- */

.trust {
	padding: 42px 0;
	background: #fff;
	border-bottom: 1px solid var(--border);
}

.trust-line {
	text-align: center;
	color: var(--text-soft);
	max-width: 54ch;
	margin: 0 auto 18px;
}

.trust-sectors {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px 30px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.trust-sectors li {
	font-weight: 700;
	letter-spacing: -0.01em;
	font-size: 1.02rem;
	color: var(--text);
	opacity: 0.5;
}

/* ---------- Cards ---------- */

.grid {
	display: grid;
	gap: 22px;
}

.cards-3 {
	grid-template-columns: repeat(3, 1fr);
}

/* Intrinsically responsive grid: 3 → 2 → 1 columns with no orphan rows. */
.cards-auto {
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 26px;
	box-shadow: var(--shadow-sm);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow);
	border-color: #dde4ee;
}

.card-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--accent-weak);
	color: var(--accent-600);
	margin-bottom: 16px;
}

.ico {
	width: 24px;
	height: 24px;
}

.card h3 {
	margin: 0 0 0.4em;
	font-size: 1.12rem;
}

.card p {
	margin: 0;
	color: var(--text-soft);
	font-size: 0.97rem;
}

/* ---------- Steps ---------- */

.steps {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.step {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px;
	box-shadow: var(--shadow-sm);
}

.step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--accent-weak);
	color: var(--accent-600);
	font-weight: 800;
	margin-bottom: 16px;
}

.step h3 {
	margin: 0 0 0.4em;
	font-size: 1.15rem;
}

.step p {
	margin: 0;
	color: var(--text-soft);
}

/* ---------- How it connects (flow) ---------- */

.flow {
	display: flex;
	align-items: stretch;
	gap: 14px;
	margin-top: clamp(10px, 3vw, 22px);
}

.flow-node {
	flex: 1 1 0;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px 24px;
	box-shadow: var(--shadow-sm);
	text-align: center;
}

.flow-node h3 {
	margin: 0 0 0.4em;
	font-size: 1.12rem;
}

.flow-node p {
	margin: 0;
	color: var(--text-soft);
	font-size: 0.95rem;
}

.flow-ico {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--accent-weak);
	color: var(--accent-600);
	margin: 0 auto 16px;
}

.flow-node-accent {
	border-color: var(--accent);
	box-shadow: var(--shadow);
}

.flow-node-accent .flow-ico {
	background: var(--accent);
	color: #fff;
}

.flow-tag {
	display: block;
	width: fit-content;
	margin: 0 auto 14px;
	padding: 4px 12px;
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	background: var(--accent);
	border-radius: var(--radius-pill);
}

.flow-arrow {
	flex: 0 0 auto;
	align-self: center;
	color: var(--accent);
}

.flow-arrow svg {
	width: 28px;
	height: 28px;
}

.flow-note {
	margin: clamp(20px, 3vw, 30px) auto 0;
	max-width: 640px;
	text-align: center;
	color: var(--text-soft);
	font-size: 0.95rem;
}

/* ---------- Use cases ---------- */

.usecase {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px;
	box-shadow: var(--shadow-sm);
}

.usecase h3 {
	margin: 0 0 0.4em;
	font-size: 1.22rem;
}

.usecase > p {
	color: var(--text-soft);
	margin: 0 0 1.1em;
	font-size: 0.97rem;
}

.ticks {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5em;
}

.ticks li {
	position: relative;
	padding-left: 1.6em;
	font-size: 0.95rem;
	color: var(--text);
}

.ticks li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--accent-600);
	font-weight: 800;
}

.ticks-lg li {
	font-size: 1.02rem;
	padding-left: 1.8em;
	margin-bottom: 0.15em;
}

/* ---------- Sovereign features + stats ---------- */

.features-2 {
	grid-template-columns: repeat(2, 1fr);
	gap: 22px 44px;
	max-width: 940px;
	margin: 0 auto;
}

.feature {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.tick {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: rgba(16, 185, 129, 0.15);
	color: var(--accent-300);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ico-check {
	width: 18px;
	height: 18px;
}

.feature h3 {
	margin: 0 0 0.25em;
	font-size: 1.05rem;
}

.feature p {
	margin: 0;
	color: var(--text-on-dark-soft);
	font-size: 0.95rem;
}

.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: clamp(44px, 6vw, 66px);
	padding-top: clamp(32px, 5vw, 48px);
	border-top: 1px solid var(--border-dark);
}

.stat {
	text-align: center;
}

.stat-num {
	display: block;
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
	color: #fff;
}

.stat-num.grad {
	background: linear-gradient(120deg, #34d399, #10b981);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.stat-label {
	display: block;
	margin-top: 0.6em;
	color: var(--text-on-dark-soft);
	font-size: 0.9rem;
}

/* ---------- Pricing ---------- */

.plans {
	grid-template-columns: repeat(3, 1fr);
	align-items: start;
}

.plan {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 30px 26px;
	box-shadow: var(--shadow-sm);
}

.plan-featured {
	border-color: var(--accent);
	box-shadow: var(--shadow);
	position: relative;
}

.plan-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--accent);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	padding: 0.35em 0.85em;
	border-radius: var(--radius-pill);
	white-space: nowrap;
}

.plan-name {
	margin: 0;
	font-size: 1.3rem;
}

.plan-desc {
	color: var(--text-soft);
	margin: 0.4em 0 1.2em;
	font-size: 0.95rem;
	/* Reserve two lines so a longer description can't shift the ticks/CTA and
	   misalign the cards. */
	min-height: 3.2em;
}

.plan .ticks {
	margin-bottom: 1.6em;
}

.plan .btn {
	margin-top: auto;
	width: 100%;
}

.plans-note {
	text-align: center;
	color: var(--text-soft);
	font-size: 0.92rem;
	margin: 26px 0 0;
}

/* ---------- Comparison ---------- */

.compare {
	max-width: 920px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}

.compare-row {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	align-items: center;
}

.compare-row > * {
	padding: 15px 22px;
	border-bottom: 1px solid var(--border);
	font-size: 0.97rem;
}

.compare-row:last-child > * {
	border-bottom: none;
}

.compare-dim {
	font-weight: 600;
	color: var(--text);
}

.compare-us {
	background: rgba(5, 150, 105, 0.05);
}

.compare-head > * {
	align-self: end;
	font-weight: 800;
	font-size: 1.05rem;
	border-bottom: 2px solid var(--border);
}

.compare-head small {
	display: block;
	margin-top: 4px;
	font-weight: 500;
	font-size: 0.8rem;
	color: var(--text-soft);
}

.compare-head .compare-us {
	color: var(--accent-600);
	background: var(--accent-weak);
	border-bottom-color: var(--accent);
}

.compare-us.yes,
.compare-us.mixed,
.compare-them.no,
.compare-them.mixed {
	font-weight: 600;
}

.compare-them.no,
.compare-them.mixed {
	color: var(--text-soft);
}

.yes::before {
	content: "✓";
	margin-right: 0.5em;
	color: var(--accent-600);
	font-weight: 800;
}

.no::before {
	content: "✕";
	margin-right: 0.5em;
	color: #c2c8d2;
	font-weight: 700;
}

.compare .mixed::before {
	content: "•";
	margin-right: 0.5em;
	color: var(--text-soft);
}

.cl {
	display: none;
}

.compare-note {
	max-width: 62ch;
	margin: 22px auto 0;
	text-align: center;
	color: var(--text-soft);
	font-size: 0.95rem;
}

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

.faq {
	max-width: 820px;
	margin: 0 auto;
	border-top: 1px solid var(--border);
}

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

.faq-item summary {
	list-style: none;
	cursor: pointer;
	position: relative;
	padding: 22px 44px 22px 0;
	font-weight: 600;
	font-size: 1.08rem;
	color: var(--text);
}

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

.faq-item summary::after {
	content: "+";
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1;
	color: var(--accent-600);
}

.faq-item[open] summary::after {
	content: "−";
}

.faq-item p {
	margin: 0 0 22px;
	max-width: 72ch;
	color: var(--text-soft);
	line-height: 1.7;
}

.faq-cta {
	margin: 28px 0 0;
	text-align: center;
	color: var(--text-soft);
}

.faq-cta a {
	color: var(--accent-600);
	font-weight: 600;
}

@media (max-width: 640px) {
	.compare-row {
		grid-template-columns: 1fr;
		padding: 8px 0 14px;
	}

	.compare-row:not(:last-child) {
		border-bottom: 1px solid var(--border);
	}

	.compare-head {
		display: none;
	}

	.compare-row > * {
		padding: 4px 18px;
		border-bottom: none;
	}

	.compare-dim {
		padding-top: 14px;
		font-weight: 700;
		font-size: 1rem;
	}

	.compare-us,
	.compare-them {
		background: transparent;
	}

	.compare-us::before,
	.compare-them::before,
	.compare .mixed::before {
		content: none;
	}

	.cl {
		display: inline;
		font-weight: 700;
		color: var(--text);
	}

	.cl::after {
		content: ": ";
		font-weight: 400;
		color: var(--text-soft);
	}

	.compare-them .cl {
		color: var(--text-soft);
	}
}

/* ---------- CTA ---------- */

.cta-inner {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.cta .lead {
	margin: 0.8em auto 0;
}

.cta .hero-cta {
	justify-content: center;
	margin-top: 1.7em;
}

/* ---------- Footer ---------- */

.site-footer {
	background: var(--ink);
	color: var(--text-on-dark-soft);
	padding: clamp(48px, 6vw, 74px) 0 28px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 32px;
}

.footer-brand .brand {
	color: #fff;
	margin-bottom: 14px;
}

.footer-brand p {
	max-width: 34ch;
	font-size: 0.92rem;
	margin: 0;
}

.footer-col h4 {
	color: #fff;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	margin: 0 0 1.1em;
}

.footer-col a {
	display: block;
	color: var(--text-on-dark-soft);
	text-decoration: none;
	margin-bottom: 0.7em;
	font-size: 0.95rem;
}

.footer-col a:hover {
	color: #fff;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 42px;
	padding-top: 24px;
	border-top: 1px solid var(--border-dark);
}

.trust-badges {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
}

.trust-badges li {
	position: relative;
	padding-left: 18px;
	font-size: 0.85rem;
}

.trust-badges li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent-400);
}

.copyright {
	margin: 0;
	font-size: 0.85rem;
}

/* ---------- Page head (sub-pages) ---------- */

.page-head {
	padding: clamp(52px, 7vw, 88px) 0 clamp(40px, 6vw, 64px);
}

.page-head h1 {
	margin: 0.35em 0 0.4em;
	font-size: clamp(2rem, 3.6vw, 2.85rem);
}

.page-head .lead {
	max-width: 56ch;
}

/* ---------- Demo form ---------- */

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

.demo-aside h2 {
	font-size: 1.5rem;
	margin: 0 0 1em;
}

.aside-trust {
	margin-top: 2em;
	color: var(--text-soft);
	font-size: 0.9rem;
}

.demo-form-wrap {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: clamp(24px, 3vw, 36px);
	box-shadow: var(--shadow);
}

.field {
	display: flex;
	flex-direction: column;
	margin-bottom: 18px;
}

.field label {
	font-weight: 600;
	font-size: 0.92rem;
	margin-bottom: 0.45em;
}

.req {
	color: var(--accent-600);
}

input,
select,
textarea {
	font: inherit;
	color: var(--text);
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 0.7em 0.85em;
	width: 100%;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

textarea {
	resize: vertical;
	min-height: 112px;
}

[aria-invalid="true"] {
	border-color: #e5484d;
}

.field-error {
	color: #c0392b;
	font-size: 0.85rem;
	margin: 0.5em 0 0;
}

.field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.form-fine {
	font-size: 0.82rem;
	color: var(--text-soft);
	margin: 1em 0 0;
}

.hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.alert {
	border-radius: var(--radius-sm);
	padding: 16px 18px;
	margin-bottom: 18px;
}

.alert p {
	margin: 0;
}

.alert-success {
	background: var(--accent-weak);
	border: 1px solid #a7f3d0;
	color: #065f46;
}

.alert-success strong {
	display: block;
	margin-bottom: 0.3em;
}

.alert-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

/* ---------- Prose ---------- */

.prose {
	max-width: 760px;
	margin: 0 auto;
}

.prose h2 {
	font-size: 1.3rem;
	margin: 1.7em 0 0.5em;
}

.prose p {
	margin: 0 0 1em;
	line-height: 1.7;
}

.prose a {
	color: var(--accent-600);
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
	.hero-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.hero .lead {
		max-width: 56ch;
	}

	.demo-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.features-2 {
		grid-template-columns: 1fr;
		max-width: 620px;
	}
}

@media (max-width: 860px) {
	.nav-links {
		display: none;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.nav-actions .btn-primary {
		padding: 0.62em 0.95em;
		font-size: 0.92rem;
	}

	.mobile-nav {
		display: none;
		flex-direction: column;
		padding: 8px 24px 20px;
		background: #fff;
		border-top: 1px solid var(--border);
	}

	.site-header.is-open .mobile-nav {
		display: flex;
	}

	.mobile-nav a {
		padding: 13px 2px;
		color: var(--text);
		text-decoration: none;
		font-weight: 500;
		border-bottom: 1px solid var(--border);
	}

	.mobile-nav .btn {
		margin-top: 14px;
	}

	.cards-3,
	.steps,
	.plans {
		grid-template-columns: 1fr;
	}

	.flow {
		flex-direction: column;
		max-width: 440px;
		margin-left: auto;
		margin-right: auto;
	}

	.flow-arrow svg {
		transform: rotate(90deg);
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 28px;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px 12px;
	}

	.field-row {
		grid-template-columns: 1fr;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.hero-cta .btn,
	.cta .hero-cta .btn {
		width: 100%;
	}

	.trust-sectors {
		gap: 8px 18px;
	}

	.trust-sectors li {
		font-size: 0.92rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto;
	}

	.waveform span,
	.live-dot {
		animation: none;
	}

	.waveform span {
		height: 55%;
	}
}

/* ---------- Coming soon ---------- */

body.coming {
	display: flex;
	min-height: 100vh;
	color: var(--text-on-dark);
	background:
		radial-gradient(1100px 500px at 80% -10%, rgba(16, 185, 129, 0.18), transparent 60%),
		var(--ink);
}

.coming-wrap {
	max-width: 640px;
	margin: auto;
	padding: 48px 24px;
	text-align: center;
}

.coming-wrap h1 {
	margin: 0 0 0.4em;
	color: #fff;
}

.coming-wrap .lead {
	max-width: 48ch;
	margin: 0 auto;
	color: var(--text-on-dark-soft);
}

.coming-form {
	display: flex;
	gap: 10px;
	max-width: 440px;
	margin: 2em auto 0;
}

.coming-form input[type="email"] {
	flex: 1;
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.16);
}

.coming-form input[type="email"]::placeholder {
	color: var(--text-on-dark-soft);
}

.coming-form .btn {
	flex: 0 0 auto;
}

.coming-ok {
	margin: 2em auto 0;
	color: var(--accent-300);
	font-weight: 600;
}

.coming-err {
	margin: 0.8em auto 0;
	color: #fca5a5;
	font-size: 0.9rem;
}

.coming-foot {
	margin-top: 3em;
	color: var(--text-on-dark-soft);
	font-size: 0.85rem;
}

@media (max-width: 480px) {
	.coming-form {
		flex-direction: column;
	}
}

/* On the narrowest phones the header CTA label ("Request a private demo")
   overflows the top bar and pushes the menu toggle off-screen. Drop it there;
   the hamburger menu and the hero still carry the CTA. */
@media (max-width: 420px) {
	.nav-actions > .btn-primary {
		display: none;
	}
}
