/* ================================================================== */
/*  Eduflexio landing — v4 design system                               */
/*  Replaces the old SaaS template skin (style.css / dark.css /        */
/*  responsive.css / owl / aos / flaticon / remixicon / odometer).     */
/*  Same content, same data, same endpoints — new layout only.         */
/*  Tokens mirror the admin v4 system (assets/css/design-system.css).  */
/* ================================================================== */

:root {
	--v4l-ink: #0b0b2a;
	--v4l-ink-2: #171738;
	--v4l-accent: #4f46e5;
	--v4l-accent-ink: #4338ca;
	--v4l-accent-bright: #6366f1;
	--v4l-accent-soft: #eef2ff;
	--v4l-bg: #f8f9fc;
	--v4l-surface: #ffffff;
	--v4l-surface-2: #f1f5f9;
	--v4l-text: #16232b;
	--v4l-text-2: #475569;
	--v4l-text-3: #64748b;
	--v4l-border: #e3e8ee;
	--v4l-border-strong: #cbd5e1;
	--v4l-radius: 16px;
	--v4l-radius-sm: 10px;
	--v4l-shadow: 0 1px 2px rgba(11, 11, 42, 0.06), 0 4px 16px rgba(11, 11, 42, 0.06);
	--v4l-shadow-lg: 0 12px 40px rgba(11, 11, 42, 0.14);
	--v4l-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--v4l-display: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--v4l-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
}
html.dark {
	--v4l-bg: #0d0d24;
	--v4l-surface: #141432;
	--v4l-surface-2: #1c1c40;
	--v4l-text: #e8e8f2;
	--v4l-text-2: #b9b9d6;
	/* v11: was #8a8aa8 — 4.41:1 on surface #141432, just under 4.5:1.
	   #9a9ac0 is 6.60:1 there. */
	--v4l-text-3: #9a9ac0;
	--v4l-border: #262650;
	--v4l-border-strong: #34345e;
	--v4l-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.3);
	--v4l-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.45);
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body.v4-landing {
	font-family: var(--v4l-font);
	background: var(--v4l-bg);
	color: var(--v4l-text);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
body.v4-landing a { color: var(--v4l-accent); text-decoration: none; }
body.v4-landing a:hover { color: var(--v4l-accent-ink); }
body.v4-landing h1, body.v4-landing h2, body.v4-landing h3, body.v4-landing h4 {
	font-family: var(--v4l-display);
	/* No color here: headings inherit the body text color, so dark-band
	   headings (.v4l-feature-wide h3, .v4l-value h2, .v4l-cta h2,
	   .v4l-footer h3) can override it with a plain single-class rule. */
	letter-spacing: -0.02em;
	line-height: 1.2;
}
body.v4-landing img { max-width: 100%; }

/* ---------- buttons ---------- */
.v4l-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-weight: 600;
	font-size: 15px;
	line-height: 1;
	padding: 13px 22px;
	border-radius: 999px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
	white-space: nowrap;
}
.v4l-btn:hover { transform: translateY(-1px); }
.v4l-btn-primary { background: var(--v4l-accent); color: #fff !important; box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35); }
.v4l-btn-primary:hover { background: var(--v4l-accent-ink); color: #fff !important; }
.v4l-btn-ghost { background: transparent; color: var(--v4l-text) !important; border-color: var(--v4l-border-strong); }
.v4l-btn-ghost:hover { border-color: var(--v4l-accent); color: var(--v4l-accent-ink) !important; }
.v4l-btn-light { background: #fff; color: var(--v4l-accent-ink) !important; }
.v4l-btn-light:hover { background: var(--v4l-accent-soft); }
.v4l-btn-lg { padding: 16px 30px; font-size: 16px; }

/* ---------- section scaffolding ---------- */
.v4l-section { padding: 88px 0; }
.v4l-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.v4l-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--v4l-accent);
	background: var(--v4l-accent-soft);
	border-radius: 999px;
	padding: 6px 14px;
	margin-bottom: 16px;
}
html.dark .v4l-eyebrow { background: rgba(99, 102, 241, 0.16); }
.v4l-section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.v4l-section-head h2 { font-size: 34px; font-weight: 800; margin: 0 0 12px; }
.v4l-section-head p { color: var(--v4l-text-2); font-size: 17px; margin: 0; }

/* ---------- navbar ---------- */
.v4l-nav {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 1030;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--v4l-border);
	transition: box-shadow 0.2s ease;
}
html.dark .v4l-nav { background: rgba(13, 13, 36, 0.86); }
.v4l-nav.scrolled { box-shadow: var(--v4l-shadow); }
.v4l-nav-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
	height: 68px;
	display: flex;
	align-items: center;
	gap: 24px;
}
.v4l-nav-brand { display: flex; align-items: center; flex: 0 0 auto; }
.v4l-nav-brand img { height: 38px; width: auto; }
.v4l-nav-links { display: flex; align-items: center; gap: 4px; margin: 0 auto; list-style: none; padding: 0; }
.v4l-nav-links a {
	display: block;
	padding: 8px 13px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 500;
	color: var(--v4l-text-2) !important;
}
.v4l-nav-links a:hover, .v4l-nav-links a.active { color: var(--v4l-accent-ink) !important; background: var(--v4l-accent-soft); }
html.dark .v4l-nav-links a:hover, html.dark .v4l-nav-links a.active { background: rgba(99, 102, 241, 0.14); }
.v4l-nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.v4l-nav-links + .v4l-nav-actions { margin-left: 0; }
.v4l-theme-btn {
	width: 38px; height: 38px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%;
	border: 1px solid var(--v4l-border);
	background: var(--v4l-surface);
	color: var(--v4l-text-2);
	cursor: pointer;
	font-size: 15px;
}
.v4l-theme-btn:hover { border-color: var(--v4l-accent); color: var(--v4l-accent-ink); }
.v4l-nav-toggler {
	display: none;
	width: 38px; height: 38px;
	align-items: center; justify-content: center;
	border: 1px solid var(--v4l-border);
	border-radius: 9px;
	background: var(--v4l-surface);
	color: var(--v4l-text);
	cursor: pointer;
	font-size: 17px;
}
.v4l-nav-mobile { display: none; }

/* ---------- hero ---------- */
.v4l-hero {
	padding: 156px 0 72px;
	text-align: center;
	background:
		radial-gradient(720px 360px at 50% -80px, rgba(99, 102, 241, 0.16), transparent 70%),
		var(--v4l-bg);
}
html.dark .v4l-hero { background: radial-gradient(720px 360px at 50% -80px, rgba(99, 102, 241, 0.14), transparent 70%), var(--v4l-bg); }
.v4l-hero h1 { font-size: 52px; font-weight: 800; max-width: 820px; margin: 0 auto 18px; }
.v4l-hero h1 .v4l-hl { color: var(--v4l-accent); font-family: var(--v4l-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.v4l-hero p.v4l-lead { font-size: 18px; color: var(--v4l-text-2); max-width: 720px; margin: 0 auto 30px; }
.v4l-hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }

/* CSS-only dashboard mock (replaces the old purple laptop image) */
.v4l-mock {
	max-width: 920px;
	margin: 0 auto;
	background: var(--v4l-surface);
	border: 1px solid var(--v4l-border);
	border-radius: var(--v4l-radius);
	box-shadow: var(--v4l-shadow-lg);
	overflow: hidden;
	text-align: left;
}
.v4l-mock-bar {
	display: flex; align-items: center; gap: 7px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--v4l-border);
	background: var(--v4l-surface-2);
}
.v4l-mock-bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.v4l-mock-bar i:nth-child(1) { background: #f87171; }
.v4l-mock-bar i:nth-child(2) { background: #fbbf24; }
.v4l-mock-bar i:nth-child(3) { background: #34d399; }
.v4l-mock-bar span { margin-left: 10px; font-size: 12.5px; color: var(--v4l-text-3); font-weight: 500; }
.v4l-mock-body { display: flex; min-height: 260px; }
.v4l-mock-side {
	flex: 0 0 148px;
	background: var(--v4l-surface);
	border-right: 1px solid var(--v4l-border);
	padding: 16px 12px;
	display: flex; flex-direction: column; gap: 6px;
}
.v4l-mock-side span {
	display: block; height: 26px; border-radius: 7px;
	background: #f1f5f9;
}
.v4l-mock-side span.on { background: var(--v4l-accent-soft); box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.15); }
html.dark .v4l-mock-side { background: var(--v4l-surface-2); }
html.dark .v4l-mock-side span { background: rgba(255, 255, 255, 0.08); }
html.dark .v4l-mock-side span.on { background: rgba(99, 102, 241, 0.25); box-shadow: none; }
.v4l-mock-main { flex: 1; padding: 18px 20px; min-width: 0; }
.v4l-mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.v4l-mock-kpi {
	background: var(--v4l-surface-2);
	border-radius: 10px;
	padding: 12px 14px;
}
.v4l-mock-kpi b { display: block; font-size: 20px; color: var(--v4l-text); line-height: 1.1; }
.v4l-mock-kpi small { font-size: 11.5px; color: var(--v4l-text-3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.v4l-mock-chart {
	background: var(--v4l-surface-2);
	border-radius: 10px;
	padding: 14px 16px 10px;
}
.v4l-mock-chart small { font-size: 12px; font-weight: 600; color: var(--v4l-text-2); }
.v4l-mock-bars { display: flex; align-items: flex-end; gap: 8px; height: 74px; margin-top: 10px; }
.v4l-mock-bars i {
	flex: 1; display: block;
	background: linear-gradient(180deg, var(--v4l-accent-bright), var(--v4l-accent));
	border-radius: 4px 4px 0 0;
	opacity: 0.9;
}
.v4l-mock-bars i:nth-child(odd) { opacity: 0.55; }

/* v10 (track 3) — the mock reads as a real dashboard now, not a grey
   skeleton: labelled sidebar items, a Recent payments list and an
   attendance donut under the chart, plus two floating callout chips
   (reference hero). The chips live on a wrapper, not the mock itself,
   because .v4l-mock clips its overflow for the rounded corners. */
.v4l-mock-wrap { position: relative; max-width: 920px; margin: 0 auto; padding: 18px 0; }
.v4l-mock-side span {
	display: flex; align-items: center; gap: 8px;
	height: 30px; padding: 0 10px;
	font-size: 12.5px; font-weight: 600; color: var(--v4l-text-2);
	white-space: nowrap; overflow: hidden;
}
.v4l-mock-side span i { font-size: 12px; color: var(--v4l-text-3); width: 16px; text-align: center; flex: 0 0 auto; }
.v4l-mock-side span.on { color: var(--v4l-accent-ink); }
.v4l-mock-side span.on i { color: var(--v4l-accent); }
html.dark .v4l-mock-side span { color: var(--v4l-text-2); }
.v4l-mock-row { display: grid; grid-template-columns: 1fr 132px; gap: 12px; margin-top: 12px; }
.v4l-mock-payments { background: var(--v4l-surface-2); border-radius: 10px; padding: 12px 14px; }
.v4l-mock-payments > small, .v4l-mock-chart > small { font-size: 12px; font-weight: 600; color: var(--v4l-text-2); }
.v4l-mock-payments ul { list-style: none; margin: 8px 0 0; padding: 0; }
.v4l-mock-payments li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--v4l-border); font-size: 13px; }
.v4l-mock-payments li:first-child { border-top: 0; }
.v4l-mock-payments li > i {
	flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	color: #fff; font-size: 9.5px; font-weight: 700; font-style: normal;
}
.v4l-mock-payments li span { flex: 1; min-width: 0; font-weight: 600; color: var(--v4l-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v4l-mock-payments li span small { display: block; font-size: 11px; font-weight: 500; color: var(--v4l-text-3); }
.v4l-mock-payments li b { font-size: 12.5px; color: var(--v4l-text); white-space: nowrap; }
.v4l-mock-payments li em {
	font-style: normal; font-size: 10.5px; font-weight: 700; color: #047857;
	background: #d1fae5; border-radius: 999px; padding: 2px 8px; white-space: nowrap;
}
html.dark .v4l-mock-payments li em { color: #6ee7b7; background: rgba(16, 185, 129, 0.18); }
.v4l-mock-donut {
	background: var(--v4l-surface-2); border-radius: 10px;
	display: flex; align-items: center; justify-content: center; padding: 10px;
}
.v4l-mock-donut span {
	width: 92px; height: 92px; border-radius: 50%;
	background: conic-gradient(var(--v4l-accent) 0 98%, #e2e8f0 98% 100%);
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	position: relative;
}
.v4l-mock-donut span::before {
	content: ""; position: absolute; inset: 12px; border-radius: 50%;
	background: var(--v4l-surface);
}
.v4l-mock-donut b, .v4l-mock-donut small { position: relative; }
.v4l-mock-donut b { font-size: 17px; color: var(--v4l-text); line-height: 1.1; }
.v4l-mock-donut small { font-size: 10px; font-weight: 600; color: var(--v4l-text-3); }
html.dark .v4l-mock-donut span { background: conic-gradient(var(--v4l-accent-bright) 0 98%, #2a2a52 98% 100%); }
.v4l-mock-chip {
	position: absolute; z-index: 2;
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--v4l-surface); color: var(--v4l-text);
	border: 1px solid var(--v4l-border); border-radius: 999px;
	box-shadow: var(--v4l-shadow-lg);
	padding: 9px 14px; font-size: 13px; font-weight: 500; white-space: nowrap;
}
.v4l-mock-chip i { color: var(--v4l-accent); font-size: 14px; }
.v4l-mock-chip b { font-weight: 800; }
.v4l-mock-chip-a { top: 0; right: 28px; }
.v4l-mock-chip-b { bottom: 0; left: 28px; }

/* ---------- trusted-by ---------- */
.v4l-trust { padding: 40px 0 8px; text-align: center; }
.v4l-trust p {
	font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
	text-transform: uppercase; color: var(--v4l-text-3); margin: 0 0 20px;
}
.v4l-trust-logos {
	display: flex; justify-content: center; align-items: center;
	gap: 40px; flex-wrap: wrap;
	list-style: none; margin: 0; padding: 0;
}
.v4l-trust-logos img {
	height: 54px; width: auto;
	filter: grayscale(0.25);
	opacity: 0.88;
	transition: filter 0.2s ease, opacity 0.2s ease;
}
.v4l-trust-logos img:hover { filter: none; opacity: 1; }

/* ---------- features bento ---------- */
.v4l-features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.v4l-feature {
	background: var(--v4l-surface);
	border: 1px solid var(--v4l-border);
	border-radius: var(--v4l-radius);
	padding: 26px 24px;
	box-shadow: var(--v4l-shadow);
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.v4l-feature:hover { transform: translateY(-3px); box-shadow: var(--v4l-shadow-lg); border-color: var(--v4l-accent-bright); }
.v4l-feature-icon {
	width: 52px; height: 52px;
	border-radius: 13px;
	background: var(--v4l-accent-soft);
	color: var(--v4l-accent);
	display: flex; align-items: center; justify-content: center;
	font-size: 23px;
	margin-bottom: 16px;
}
html.dark .v4l-feature-icon { background: rgba(99, 102, 241, 0.16); }
.v4l-feature h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.v4l-feature p { color: var(--v4l-text-2); font-size: 14.5px; margin: 0; }
.v4l-feature-wide { grid-column: span 2; display: flex; gap: 24px; align-items: center; background: var(--v4l-ink); border-color: var(--v4l-ink); }
.v4l-feature-wide h3 { color: #fff; }
.v4l-feature-wide p { color: #b8d4d8; }
/* v11 — M-Pesa logo readability (v10 nit, spec §6.2): the logo tile was
   rgba(255,255,255,0.12) over the navy card — a dark-on-dark wash. It is
   now a solid white chip in BOTH modes (the wide card is navy in both),
   so the green M-Pesa mark reads at full contrast. */
.v4l-feature-wide .v4l-feature-icon { background: #ffffff; color: #fff; flex: 0 0 auto; width: 76px; height: 76px; font-size: 30px; }
/* The generic dark icon rule above (html.dark .v4l-feature-icon, 0,2,1)
   outranks the wide-card rule (0,2,0) — restate the white chip for dark. */
html.dark .v4l-feature-wide .v4l-feature-icon { background: #ffffff; }
.v4l-feature-wide .v4l-feature-icon img { width: 56px; height: auto; }
/* v7 — M-Pesa card title must never break mid-word ("Lipa Na M-Pes:").
   The wide card's text column is a flex item: give it min-width: 0 so it
   can shrink instead of squeezing the heading, keep the heading on one
   line, and explicitly reset any inherited word-breaking on all feature
   headings. The paragraph keeps normal wrapping (break-word) for long
   tokens. Bento layout unchanged (wide card still spans 2 cols). */
.v4l-feature h3 { overflow-wrap: normal; word-break: normal; }
.v4l-feature-wide > div { min-width: 0; }
.v4l-feature-wide h3 { white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.v4l-feature-wide p { overflow-wrap: break-word; }
.v4l-feature-wide .v4l-mpesa-tag {
	display: inline-block; margin-top: 12px;
	font-size: 12.5px; font-weight: 700; color: #a5b4fc;
	border: 1px solid rgba(94, 234, 212, 0.4);
	border-radius: 999px; padding: 5px 12px;
}

/* ---------- value band ---------- */
.v4l-value { background: var(--v4l-ink); color: #fff; }
/* v11: the dark band deepens in dark mode (page bg #0d0d24; the light-mode
   band #0b0b2a would vanish into it). Same treatment for the wide M-Pesa
   card, which is also a navy band in both modes. */
html.dark .v4l-value, html.dark .v4l-feature-wide { background: #07071a; border-color: #07071a; }
.v4l-value-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.v4l-value h2 { color: #fff; font-size: 34px; font-weight: 800; margin: 0 0 14px; }
.v4l-value p { color: #b8d4d8; font-size: 17px; margin: 0; }
.v4l-value-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.v4l-value-list li {
	display: flex; align-items: center; gap: 14px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 16px 18px;
	font-size: 16px; font-weight: 600; color: #fff;
}
.v4l-value-list li i { color: #a5b4fc; font-size: 19px; }

/* ---------- pricing ---------- */
/* v9 (track B): auto-fit grid — holds for 2, 3, 4 or 5 plans (the fixed
   repeat(4, 1fr) left an empty slot at 3 plans and an orphan row at 5).
   The 991px/640px overrides are gone: auto-fit already collapses to 2
   then 1 column. */
.v4l-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; padding-top: 14px; }
.v4l-plan {
	background: var(--v4l-surface);
	border: 1px solid var(--v4l-border);
	border-radius: var(--v4l-radius);
	padding: 28px 24px;
	display: flex; flex-direction: column;
	box-shadow: var(--v4l-shadow);
	position: relative;
}
/* v9 (track B): the recommended plan is a DARK card (reference: dark
   middle card), not a 2px border. Navy gradient on light pages; indigo
   gradient in dark mode, where navy would vanish into the page bg. */
.v4l-plan-featured {
	background: linear-gradient(160deg, #1b1b45, #0e0e2e);
	border-color: #1b1b45;
	color: #fff;
	box-shadow: 0 16px 48px rgba(11, 11, 42, 0.28);
}
html.dark .v4l-plan-featured {
	background: linear-gradient(160deg, #4f46e5, #312e81);
	border-color: #6366f1;
}
@media only screen and (min-width: 992px) {
	.v4l-plan-featured { transform: translateY(-8px); }
}
.v4l-plan-badge {
	position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
	background: var(--v4l-accent); color: #fff;
	font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
	border-radius: 999px; padding: 5px 14px;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}
.v4l-plan-name { font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.v4l-plan-price { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 4px; }
/* v9 (track B): period sits on its own line under the price — inline it
   wraps mid-phrase at 260px cards ("Ksh5,500.00 / 1" + "Months"). */
.v4l-plan-price .v4l-plan-period { display: block; font-size: 14px; font-weight: 500; color: var(--v4l-text-3); margin-top: 2px; }
.v4l-plan-price .v4l-strike {
	display: block; font-size: 15px; font-weight: 500;
	color: var(--v4l-text-3); text-decoration: line-through;
}
/* v9 (track B): limits as a compact 2×2 stat block, not 4 list rows. */
.v4l-plan-limits {
	list-style: none; margin: 16px 0 0; padding: 14px;
	display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px;
	background: var(--v4l-surface-2);
	border: 1px solid var(--v4l-border);
	border-radius: 12px;
}
.v4l-plan-limits li { display: flex; gap: 10px; align-items: center; }
.v4l-plan-limits li i { color: var(--v4l-accent); font-size: 15px; width: 20px; text-align: center; flex: 0 0 auto; }
.v4l-plan-limits li span { display: block; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--v4l-text-3); }
.v4l-plan-limits li b { display: block; font-size: 15px; color: var(--v4l-text); }
.v4l-plan-list { list-style: none; margin: 14px 0 20px; padding: 14px 0 0; border-top: 1px solid var(--v4l-border); flex: 1; }
.v4l-plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--v4l-text-2); padding: 4px 0; }
.v4l-plan-list li i { margin-top: 3px; font-size: 13px; }
.v4l-plan-list li i.fa-check { color: var(--v4l-accent); }
.v4l-plan-list li i.fa-times { color: var(--v4l-text-3); opacity: 0.6; }
.v4l-plan-list li.v4l-has-not { color: var(--v4l-text-3); }
.v4l-plan .v4l-btn { width: 100%; }
/* dark featured card: white text, soft indigo checks, inverted button. */
.v4l-plan-featured .v4l-plan-name, .v4l-plan-featured .v4l-plan-price { color: #fff; }
.v4l-plan-featured .v4l-plan-price .v4l-plan-period { color: rgba(255, 255, 255, 0.72); }
.v4l-plan-featured .v4l-plan-price .v4l-strike { color: rgba(255, 255, 255, 0.6); }
.v4l-plan-featured .v4l-plan-limits { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); }
.v4l-plan-featured .v4l-plan-limits li i { color: #a5b4fc; }
.v4l-plan-featured .v4l-plan-limits li span { color: rgba(255, 255, 255, 0.7); }
.v4l-plan-featured .v4l-plan-limits li b { color: #fff; }
.v4l-plan-featured .v4l-plan-list { border-top-color: rgba(255, 255, 255, 0.16); }
.v4l-plan-featured .v4l-plan-list li { color: rgba(255, 255, 255, 0.92); }
.v4l-plan-featured .v4l-plan-list li i.fa-check { color: #a5b4fc; }
.v4l-plan-featured .v4l-plan-list li.v4l-has-not { color: rgba(255, 255, 255, 0.5); }
.v4l-plan-featured .v4l-plan-list li i.fa-times { color: rgba(255, 255, 255, 0.45); }
.v4l-plan-featured .v4l-btn-primary { background: #fff; color: #4338ca !important; border-color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); }
.v4l-plan-featured .v4l-btn-primary:hover { background: #eef2ff; color: #3730a3 !important; }
/* v9 (track B): full comparison table — every limit + every module,
   side by side (reference: "Every plan, side by side"). Scrolls
   horizontally below ~640px instead of squeezing. */
.v4l-compare { margin-top: 56px; }
.v4l-compare h3 { font-size: 24px; font-weight: 800; text-align: center; margin: 0 0 8px; }
.v4l-compare-sub { text-align: center; color: var(--v4l-text-2); margin: 0 0 24px; }
.v4l-compare-scroll { overflow-x: auto; border: 1px solid var(--v4l-border); border-radius: var(--v4l-radius); background: var(--v4l-surface); box-shadow: var(--v4l-shadow); contain: layout; /* v9: without containment the 620px table's scrollable overflow leaks into documentElement.scrollWidth at 390px (measured 583px) even though the div itself clips it. */ }
.v4l-compare-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 14.5px; }
.v4l-compare-table th, .v4l-compare-table td { padding: 11px 14px; text-align: center; border-bottom: 1px solid var(--v4l-border); }
.v4l-compare-table thead th { background: var(--v4l-surface-2); font-size: 15px; font-weight: 700; }
.v4l-compare-table thead th span { display: block; font-size: 12.5px; font-weight: 500; color: var(--v4l-text-3); margin-top: 2px; }
.v4l-compare-table thead th.v4l-compare-featured { background: var(--v4l-accent); color: #fff; }
.v4l-compare-table thead th.v4l-compare-featured span { color: rgba(255, 255, 255, 0.8); }
.v4l-compare-table tbody th { text-align: left; font-weight: 600; color: var(--v4l-text-2); white-space: nowrap; }
.v4l-compare-table tbody tr:last-child th, .v4l-compare-table tbody tr:last-child td { border-bottom: 0; }
.v4l-compare-table td i.fa-check { color: var(--v4l-accent); }
.v4l-compare-table td i.fa-times { color: var(--v4l-text-3); opacity: 0.55; }
/* v10 (track 3): the Advance column was a pale-lavender wash with faint
   grey ✗ marks — low contrast against the white columns. Stronger tint
   and a solid slate ✗ inside the featured column. */
.v4l-compare-table td.v4l-compare-featured { background: rgba(79, 70, 229, 0.10); }
html.dark .v4l-compare-table td.v4l-compare-featured { background: rgba(99, 102, 241, 0.22); }
.v4l-compare-table td.v4l-compare-featured i.fa-times { color: #64748b; opacity: 0.95; }
html.dark .v4l-compare-table td.v4l-compare-featured i.fa-times { color: #a5b4fc; opacity: 0.95; }
/* v10 (track 3): slim by default — rows outside the headline set hide
   while the table is collapsed (class added by JS; without JS the full
   table stays visible). */
.v4l-compare.v4l-compare-collapsed .v4l-compare-extra { display: none; }
.v4l-compare-foot { text-align: center; margin-top: 20px; }
.v4l-compare-note { color: var(--v4l-text-3); font-size: 13.5px; margin: 0 0 12px; }
.v4l-compare-toggle { padding: 10px 22px; font-size: 14.5px; }
.v4l-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- reviews ---------- */
.v4l-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.v4l-review {
	background: var(--v4l-surface);
	border: 1px solid var(--v4l-border);
	border-radius: var(--v4l-radius);
	padding: 26px 24px;
	box-shadow: var(--v4l-shadow);
	display: flex; flex-direction: column;
}
.v4l-review blockquote { font-size: 16.5px; color: var(--v4l-text-2); margin: 0 0 20px; flex: 1; }
.v4l-review-who { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--v4l-border); padding-top: 18px; }
.v4l-review-who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.v4l-review-who b { display: block; font-size: 15px; }
.v4l-review-who small { color: var(--v4l-text-3); font-size: 13px; }
.v4l-stars { margin-left: auto; color: #f59e0b; font-size: 13px; letter-spacing: 2px; white-space: nowrap; }

/* ---------- contact ---------- */
/* v10 (track 3): the form was the narrow column (0.9fr vs 1.1fr) while
   the info column was roomy — flipped, so the form gets the space. */
.v4l-contact-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 40px; align-items: start; }
.v4l-contact-form {
	background: var(--v4l-surface);
	border: 1px solid var(--v4l-border);
	border-radius: var(--v4l-radius);
	padding: 30px 28px;
	box-shadow: var(--v4l-shadow-lg);
}
.v4l-contact-form h3 { font-size: 21px; font-weight: 700; margin: 0 0 20px; }
.v4l-field { margin-bottom: 16px; }
.v4l-field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--v4l-text-2); margin-bottom: 6px; }
.v4l-field label .req { color: #dc2626; }
/* v8 (R2 — dark mode): the red asterisk is 3.7:1 on the dark card. */
html.dark .v4l-field label .req { color: #f87171; }
/* v9 (track B): two-column field rows (name/email, mobile/subject);
   single column at phone widths. */
.v4l-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
/* v9 (track B): leading input icons. Labels carry the field name, so
   placeholders are example text now ("e.g. Jane Mwangi") — the old
   label+placeholder duplication ("Name *" twice) is gone. */
.v4l-input { position: relative; }
.v4l-input > i {
	position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
	color: var(--v4l-text-3); font-size: 14px; pointer-events: none;
}
.v4l-input:focus-within > i { color: var(--v4l-accent); }
.v4l-input-textarea > i { top: 15px; transform: none; }
.v4l-field .form-control, .v4l-field textarea.form-control {
	width: 100%;
	border: 1px solid var(--v4l-border-strong);
	border-radius: var(--v4l-radius-sm);
	padding: 11px 13px;
	font-size: 15px;
	font-family: var(--v4l-font);
	background: var(--v4l-surface);
	color: var(--v4l-text);
}
.v4l-field .v4l-input .form-control { padding-left: 38px; }
.v4l-field .v4l-input-textarea textarea.form-control { min-height: 168px; resize: vertical; }
.v4l-field .form-control:focus { outline: none; border-color: var(--v4l-accent); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18); }
.v4l-field .error { color: #dc2626; font-size: 13px; display: block; margin-top: 4px; }
.v4l-field .error:empty { display: none; }
/* v9 (track B): reCAPTCHA is Google's grey box — give it breathing room. */
.v4l-field.recaptcha-container { margin-bottom: 20px; }
/* v10 (track 3): captcha + button share one foot row. The grey captcha
   no longer sits alone above the button and outweighs it — the button
   stretches to the captcha's height, so the indigo button is the anchor.
   With captcha off, the foot holds just the button, full width. */
.v4l-form-foot { display: flex; gap: 16px; align-items: stretch; margin-top: 4px; }
.v4l-form-foot .v4l-field.recaptcha-container { margin-bottom: 0; flex: 0 0 auto; display: flex; align-items: center; }
.v4l-form-foot .v4l-contact-submit { flex: 1; width: auto; min-height: 56px; margin-top: 0; }
.v4l-contact-submit { width: 100%; padding: 13px 20px; font-size: 16px; margin-top: 4px; }
.v4l-contact-info h2 { font-size: 27px; font-weight: 800; line-height: 1.25; text-wrap: balance; margin: 4px 0 24px; }
/* v9 (track B): info rows are cards now, not bare divider rows — each
   with its icon chip, label + CMS-driven value, and a real CTA where
   one exists (click-to-call on phone, mailto on email). */
.v4l-contact-item {
	display: flex; gap: 16px; align-items: center;
	background: var(--v4l-surface);
	border: 1px solid var(--v4l-border);
	border-radius: var(--v4l-radius);
	padding: 18px 20px;
	margin-bottom: 14px;
	box-shadow: var(--v4l-shadow);
	min-width: 0;
}
.v4l-contact-item:last-child { margin-bottom: 0; }
.v4l-contact-item .v4l-ci-icon {
	flex: 0 0 auto;
	width: 46px; height: 46px; border-radius: 12px;
	background: var(--v4l-accent-soft); color: var(--v4l-accent);
	display: flex; align-items: center; justify-content: center; font-size: 19px;
}
html.dark .v4l-contact-item .v4l-ci-icon { background: rgba(99, 102, 241, 0.16); }
.v4l-ci-body { flex: 1; min-width: 0; }
.v4l-contact-item h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--v4l-text-3); margin: 0 0 3px; }
.v4l-contact-item p { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.v4l-contact-item p a { color: var(--v4l-text); }
.v4l-contact-item p a:hover { color: var(--v4l-accent-ink); }
.v4l-ci-cta { flex: 0 0 auto; padding: 9px 16px; font-size: 14px; white-space: nowrap; }

/* ---------- FAQ ---------- */
.v4l-faq { max-width: 820px; margin: 0 auto; }
.v4l-faq .accordion-item {
	background: var(--v4l-surface);
	border: 1px solid var(--v4l-border) !important;
	border-radius: 12px !important;
	margin-bottom: 12px;
	overflow: hidden;
}
.v4l-faq .accordion-button {
	background: var(--v4l-surface);
	color: var(--v4l-text);
	font-weight: 600;
	font-size: 16px;
	padding: 18px 20px;
	box-shadow: none !important;
}
.v4l-faq .accordion-button:not(.collapsed) { background: var(--v4l-accent-soft); color: var(--v4l-accent-ink); }
html.dark .v4l-faq .accordion-button:not(.collapsed) { background: rgba(99, 102, 241, 0.14); }
html.dark .v4l-faq .accordion-button { color: #e8f0f2; background: transparent; }
html.dark .v4l-faq .accordion-button:not(.collapsed) { color: #fff; }
html.dark .v4l-faq .accordion-button::after { filter: invert(1); }
html.dark .v4l-eyebrow { color: #a5b4fc; background: rgba(99, 102, 241, 0.18); }
.v4l-faq .accordion-button .serial {
	display: inline-flex; align-items: center; justify-content: center;
	width: 26px; height: 26px; border-radius: 50%;
	background: var(--v4l-accent-soft); color: var(--v4l-accent-ink);
	font-size: 12.5px; font-weight: 700;
	margin-right: 12px;
}
.v4l-faq .accordion-body { color: var(--v4l-text-2); font-size: 15.5px; }

/* v8 (R2 — dark mode): FAQ answers are Summernote HTML echoed from the DB,
   so a pasted inline colour (e.g. <span style="color:#000">) beats every
   stylesheet rule and goes invisible on the dark card while reading fine
   in light mode — the live failure (near-black on #141432, matching no
   shipped value). The render layer strips inline colours (see
   strip_inline_colours() in general_helper.php); this is the second layer:
   an author !important beats an inline style WITHOUT !important, so even
   stored markup that bypasses the helper still reads. Links keep a light
   indigo so they stay distinguishable from body text. Light mode is
   untouched — this block is html.dark only. */
html.dark .v4l-faq .accordion-body,
html.dark .v4l-faq .accordion-body * { color: var(--v4l-text-2) !important; background-color: transparent !important; }
html.dark .v4l-faq .accordion-body a { color: #a5b4fc !important; }

/* ---------- final CTA ---------- */
.v4l-cta { background: var(--v4l-ink); color: #fff; text-align: center; }
.v4l-cta h2 { color: #fff; font-size: 32px; font-weight: 800; margin: 0 0 10px; }
.v4l-cta p { color: #b8d4d8; font-size: 17px; margin: 0 0 26px; }

/* ---------- footer ---------- */
.v4l-footer { background: #052e36; color: #b8d4d8; padding: 64px 0 0; }
.v4l-footer-grid { display: grid; grid-template-columns: 1.4fr 0.7fr 0.8fr 0.7fr; gap: 40px; padding-bottom: 48px; }
.v4l-footer-brand img { height: 40px; width: auto; background: #fff; border-radius: 8px; padding: 3px 8px; margin-bottom: 16px; }
.v4l-footer-brand p { font-size: 14.5px; margin: 0 0 20px; }
.v4l-socials { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.v4l-socials a {
	width: 38px; height: 38px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, 0.09); color: #fff !important;
	font-size: 15px;
}
.v4l-socials a:hover { background: var(--v4l-accent); }
.v4l-footer h3 { color: #fff; font-size: 16px; font-weight: 700; margin: 0 0 18px; }
.v4l-footer-links { list-style: none; margin: 0; padding: 0; }
.v4l-footer-links li { margin-bottom: 10px; }
.v4l-footer-links a { color: #b8d4d8 !important; font-size: 14.5px; }
.v4l-footer-links a:hover { color: #fff !important; }
.v4l-footer-apps img { display: block; width: 150px; border-radius: 8px; margin-bottom: 10px; }
.v4l-copyright { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 0; }
.v4l-copyright-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.v4l-copyright p { margin: 0; font-size: 14px; }
.v4l-copyright a { color: #a5b4fc !important; }
.v4l-copyright img { height: 26px; width: auto; }

/* ---------- floating buttons ---------- */
.v4l-fabs { position: fixed; right: 20px; bottom: 20px; z-index: 1040; display: flex; flex-direction: column; gap: 10px; }
.v4l-fab {
	width: 52px; height: 52px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	color: #fff !important; font-size: 24px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
	transition: transform 0.15s ease;
}
.v4l-fab:hover { transform: scale(1.07); }
.v4l-fab-wa { background: #25d366; }
.v4l-fab-call { background: var(--v4l-accent); font-size: 20px; }

/* ---------- register / terms modals ---------- */
.v4l-modal .modal-content { border-radius: var(--v4l-radius); border: 0; overflow: hidden; }
.v4l-modal .modal-header { border-bottom: 1px solid var(--v4l-border); padding: 18px 24px; }
.v4l-modal .modal-title { font-weight: 700; font-size: 19px; }
.v4l-modal .modal-body { padding: 24px; }
.v4l-modal .form-group { margin-bottom: 16px; }
.v4l-modal .form-group > label { display: block; font-size: 13.5px; font-weight: 600; color: var(--v4l-text-2); margin-bottom: 6px; }
.v4l-modal .form-control, .v4l-modal .form-select {
	border: 1px solid var(--v4l-border-strong);
	border-radius: var(--v4l-radius-sm);
	padding: 10px 12px;
	font-size: 15px;
	background-color: var(--v4l-surface);
	color: var(--v4l-text);
}
.v4l-modal .form-control:focus, .v4l-modal .form-select:focus { border-color: var(--v4l-accent); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18); outline: none; }
.v4l-modal .error { color: #dc2626; font-size: 13px; display: block; margin-top: 4px; }
.v4l-modal .error:empty { display: none; }
.v4l-modal .card { border: 1px solid var(--v4l-border); border-radius: 12px; }
.v4l-modal .sp-summary { list-style: none; margin: 0; padding: 0; }
.v4l-modal .sp-summary li { font-size: 14.5px; color: var(--v4l-text-2); padding: 3px 0; }
.v4l-modal .btn { border-radius: 999px; padding: 12px 24px; font-weight: 600; }
.v4l-modal .btn:not(.btn-secondary) { background: var(--v4l-accent); color: #fff; border: 0; }
.v4l-modal .btn:not(.btn-secondary):hover { background: var(--v4l-accent-ink); }
.v4l-modal .btn-secondary { background: var(--v4l-surface-2); color: var(--v4l-text); border: 1px solid var(--v4l-border); }

/* select2 inside the register modal */
.v4l-modal .select2-container--default .select2-selection--single {
	height: 44px; border: 1px solid var(--v4l-border-strong); border-radius: var(--v4l-radius-sm);
	background: var(--v4l-surface);
}
.v4l-modal .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 42px; color: var(--v4l-text); }
.v4l-modal .select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }
/* v10 Track 1: the vendored Select2 dropdown sits at z-index 1051, BELOW
   the .v4l-modal (1055), so it rendered underneath the registration modal —
   open but invisible and unclickable. Raise it above the modal. Do NOT
   "fix" this with dropdownParent: the dropdown would land inside
   .modal-content (overflow:hidden) and clip. */
.select2-dropdown { z-index: 1060 !important; }

/* ---------- responsive ---------- */
@media only screen and (max-width: 991px) {
	.v4l-features-grid { grid-template-columns: repeat(2, 1fr); }
	.v4l-feature-wide { grid-column: span 2; }
	.v4l-reviews-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
	.v4l-value-grid { grid-template-columns: 1fr; gap: 32px; }
	.v4l-contact-grid { grid-template-columns: 1fr; gap: 36px; }
	.v4l-footer-grid { grid-template-columns: 1fr 1fr; }
	.v4l-nav-links { display: none; }
	.v4l-nav-toggler { display: inline-flex; }
	.v4l-nav-mobile {
		display: none;
		background: var(--v4l-surface);
		border-top: 1px solid var(--v4l-border);
		padding: 8px 24px 16px;
	}
	.v4l-nav-mobile ul { list-style: none; margin: 0; padding: 0; }
	.v4l-nav-mobile a {
		display: block; padding: 11px 4px;
		font-size: 16px; font-weight: 500;
		color: var(--v4l-text-2) !important;
		border-bottom: 1px solid var(--v4l-border);
	}
	.v4l-nav-mobile a:last-child { border-bottom: 0; }
	.v4l-nav-actions .v4l-btn-ghost { display: none; }
}
@media only screen and (max-width: 640px) {
	.v4l-section { padding: 64px 0; }
	.v4l-hero { padding: 128px 0 56px; }
	.v4l-hero h1 { font-size: 32px; }
	.v4l-hero p.v4l-lead { font-size: 16px; }
	.v4l-section-head h2, .v4l-value h2 { font-size: 27px; }
	.v4l-features-grid { grid-template-columns: 1fr; }
	.v4l-feature-wide { grid-column: span 1; flex-direction: column; align-items: flex-start; gap: 16px; }
	.v4l-field-row { grid-template-columns: 1fr; }
	.v4l-mock-body { flex-direction: column; }
	.v4l-mock-side { flex: 0 0 auto; flex-direction: row; padding: 12px; }
	.v4l-mock-side span { flex: 1; height: 8px; padding: 0; }
	.v4l-mock-side span i, .v4l-mock-side span b { display: none; }
	.v4l-mock-row { grid-template-columns: 1fr; }
	.v4l-mock-donut { display: none; }
	.v4l-mock-chip { display: none; }
	.v4l-form-foot { flex-direction: column; }
	.v4l-form-foot .v4l-contact-submit { width: 100%; min-height: 0; }
	.v4l-mock-kpis { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.v4l-mock-kpi b { font-size: 16px; }
	.v4l-footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.v4l-trust-logos { gap: 24px; }
	.v4l-trust-logos img { height: 40px; }
	.v4l-fabs { right: 14px; bottom: 14px; }
	.v4l-fab { width: 46px; height: 46px; font-size: 21px; }
	.v4l-nav-inner { gap: 10px; padding: 0 14px; }
	.v4l-nav-actions { gap: 8px; }
	.v4l-nav-actions .v4l-btn { padding: 10px 16px; font-size: 14px; }
	.v4l-nav-brand img { height: 32px; }
}

/* ------------------------------------------------------------------ */
/* v6 — logged-in header state, bento balance, register two-panel     */
/* ------------------------------------------------------------------ */
/* Logged-in user chip in the nav (avatar + name/role + Dashboard +   */
/* Logout). Logged out, the nav keeps Login/Register exactly as now.  */
.v4l-user {
	display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto;
	text-decoration: none; padding: 4px 10px 4px 4px; border-radius: 999px;
	border: 1px solid var(--v4l-border); background: var(--v4l-surface);
}
.v4l-user:hover { border-color: var(--v4l-accent); text-decoration: none; }
.v4l-user img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--v4l-surface-2); }
.v4l-user-meta { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.v4l-user-name { font-size: 13.5px; font-weight: 700; color: var(--v4l-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.v4l-user-role { font-size: 11.5px; font-weight: 500; color: var(--v4l-text-3); }
/* Bento balance: 18 features with the wide M-Pesa card occupy 19      */
/* cells in a 3-col grid, leaving the last card orphaned alone in     */
/* its row. The last card (Reports) spans the full row instead.       */
.v4l-features-grid .v4l-feature-fill { grid-column: span 3; }
/* Plan summary: label and value ran together ("Plan NameFree Trial") */
/* because the server HTML has no separator — space them apart.       */
.v4l-modal .sp-summary li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.v4l-modal .sp-summary li span { font-weight: 650; color: var(--v4l-text); text-align: right; }
/* Register modal: same two-panel treatment as the auth pages — navy  */
/* brand panel (logo, tagline, five roles) + form panel. The brand    */
/* sits flush to the modal edge; the form keeps its own padding.      */
.v4l-reg-dialog { max-width: 1080px; }
.v4l-modal .v4l-reg-body { padding: 0; }
.v4l-reg { display: grid; grid-template-columns: 300px 1fr; }
.v4l-reg-brand {
	background: linear-gradient(160deg, #1a1a40, #0e0e2e 55%);
	color: #fff; padding: 32px 28px;
	display: flex; flex-direction: column; justify-content: center;
}
.v4l-reg-logo { background: #fff; border-radius: 10px; padding: 8px; max-width: 150px; margin-bottom: 18px; display: block; }
.v4l-reg-brand h3 { color: #fff; font-size: 21px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em; }
.v4l-reg-tagline { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 19px; line-height: 1.3; color: #a5b4fc; margin: 0 0 20px; }
.v4l-reg-roles { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.v4l-reg-roles li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: #fff; }
.v4l-reg-ico {
	flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
	background: rgba(255, 255, 255, 0.14); color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 11px; font-weight: 700;
}
.v4l-reg-note { font-size: 12.5px; line-height: 1.5; color: #b9b9d6; margin: 0; }
.v4l-reg-form { padding: 28px; min-width: 0; }
@media only screen and (max-width: 991px) {
	.v4l-features-grid .v4l-feature-fill { grid-column: span 2; }
	/* Bar keeps avatar + theme + hamburger only; Dashboard/Logout live in the mobile menu. */
	.v4l-nav-actions .v4l-btn-dashboard, .v4l-nav-actions .v4l-btn-logout { display: none; }
	.v4l-reg { grid-template-columns: 1fr; }
	.v4l-reg-brand { padding: 24px; }
	.v4l-reg-roles { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 14px; }
	.v4l-reg-note { display: none; }
	.v4l-reg-form { padding: 24px 20px; }
}
@media only screen and (max-width: 640px) {
	.v4l-features-grid .v4l-feature-fill { grid-column: span 1; }
	.v4l-user-name, .v4l-user-role { display: none; }
	.v4l-user { padding: 4px; }
	.v4l-reg-roles { display: none; }
	.v4l-reg-tagline { margin-bottom: 0; }
}

/* ------------------------------------------------------------------ */
/* v6 (R2) — dark-mode modals: the register/terms modals stayed white */
/* in dark mode (Bootstrap .modal-content has no dark background, and  */
/* the terms body forced black text inline). The navy brand panel is  */
/* unchanged in both themes; only the form side goes dark.            */
/* ------------------------------------------------------------------ */
html.dark .v4l-modal .modal-content { background: var(--v4l-surface); color: var(--v4l-text); }
html.dark .v4l-modal .modal-header { border-bottom-color: var(--v4l-border); }
html.dark .v4l-modal .modal-footer { border-top-color: var(--v4l-border); }
html.dark .v4l-modal .modal-title { color: var(--v4l-text); }
html.dark .v4l-modal .btn-close { filter: invert(1); }
html.dark .v4l-modal .form-control,
html.dark .v4l-modal .form-select { background: var(--v4l-surface-2); color: var(--v4l-text); border-color: var(--v4l-border-strong); }
/* v11: the contact-form fields (same .v4l-field class) had no dark bg —
   they kept surface #141432 in dark mode; spec §6.2 wants surface-2. */
html.dark .v4l-field .form-control, html.dark .v4l-field textarea.form-control { background: var(--v4l-surface-2); }
html.dark .v4l-modal .form-control::placeholder { color: var(--v4l-text-3); }
html.dark .v4l-modal .card { background: var(--v4l-surface-2); }
html.dark .v4l-modal .sp-summary li { color: var(--v4l-text-2); }
html.dark .v4l-modal .select2-container--default .select2-selection--single { background: var(--v4l-surface-2); border-color: var(--v4l-border-strong); }
html.dark .v4l-modal .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--v4l-text); }
/* v10 integration: dark-mode Select2 DROPDOWN. The selection box above was
   dark, but the dropdown panel itself kept Select2's white background while
   its options inherited the light dark-mode body colour (rgb 232,232,242 on
   white, ~1.2:1 — unreadable; proved in staging 2026-11-28). The matching
   rules in design-system.css never apply here: that sheet is NOT loaded on
   the landing page (same trap as the v6 terms-modal note below), so the
   dropdown rules have to live in this file. */
html.dark .select2-dropdown { background: var(--v4l-surface) !important; border-color: var(--v4l-border-strong) !important; }
html.dark .select2-container--default .select2-results__option { color: var(--v4l-text); }
html.dark .select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--v4l-accent) !important; color: #fff; }
html.dark .select2-container--default .select2-results__option[aria-selected="true"] { background: var(--v4l-surface-2); }
html.dark .select2-container--default .select2-search--dropdown .select2-search__field { background: var(--v4l-surface-2); border-color: var(--v4l-border-strong); color: var(--v4l-text); }
/* v6 integration (c): terms-modal body override. R2 removed the inline
   style="color: #000" from the modal body in index.php, but the body is
   filled via AJAX and the inline colour could return with any view edit;
   mirror R1's design-system.css §20(e) line here, because that sheet is
   NOT loaded on the landing page — this rule is the one in effect. */
html.dark body.v4-landing #termsModal .modal-body { color: var(--v4l-text) !important; }

/* ------------------------------------------------------------------ */
/* v7 (R2) — modals must never render in-flow. The ONLY rule hiding   */
/* a .modal was Bootstrap's `.modal { display: none; }`; live, the    */
/* Bootstrap CSS 404'd, so #regModal and #termsModal rendered raw    */
/* below the footer. This sheet now owns the hiding, so the modals    */
/* stay hidden even if Bootstrap CSS fails to load. Deliberately NO   */
/* !important here: Bootstrap's JS opens a modal by setting an inline */
/* `display: block`, and an !important hide rule would beat it and    */
/* break opening. The .show rule covers the case where the class is   */
/* added without the inline style. The v7 M-Pesa title block above    */
/* (lines ~301-310) is untouched.                                     */
/* ------------------------------------------------------------------ */
.v4l-modal { display: none; }
.v4l-modal.show { display: block; }

/* ------------------------------------------------------------------ */
/* v8 (R1) — resilience: the landing must work with the whole        */
/* assets/saas/ tree absent (Bootstrap CSS + JS both 404 live in    */
/* v7). Bootstrap is progressive enhancement only from here on:     */
/* every rule below replicates what Bootstrap used to provide for    */
/* the modal, the FAQ collapse and the mobile nav, in this sheet —   */
/* which lives in assets/css/ and IS served live.                   */
/* ------------------------------------------------------------------ */

/* --- dependency-free modal: complete positioning/backdrop --------- */
/* (v7 only owned display:none/block; without Bootstrap CSS the     */
/* modal rendered as an in-flow block at the bottom of the page.)    */
.v4l-modal {
	position: fixed; top: 0; left: 0; z-index: 1055;
	width: 100%; height: 100%;
	overflow-x: hidden; overflow-y: auto;
	outline: 0;
}
.v4l-modal .modal-dialog {
	position: relative; width: auto;
	margin: 1.75rem auto; max-width: 500px;
	pointer-events: none;
}
.v4l-modal .modal-dialog.modal-xl:not(.v4l-reg-dialog) { max-width: 1140px; }
/* v8 (integration): the generic .v4l-modal .modal-dialog rule above caps
   every dialog at 500px, which would also cap the registration dialog —
   its own .v4l-reg-dialog rule (max-width: 1080px, v6) loses on
   specificity (0,1,0 vs 0,2,0), so the two-panel form crammed into a
   500px dialog (measured: 500px with Bootstrap present, vs 1080px in
   v7). This rule restores the 1080px reg width in both states. */
.v4l-modal .modal-dialog.v4l-reg-dialog { max-width: 1080px; }
.v4l-modal .modal-dialog.modal-fullscreen { max-width: none; width: 100%; height: 100%; margin: 0; }
.v4l-modal .modal-dialog-scrollable .modal-content { max-height: 100%; overflow: hidden; }
.v4l-modal .modal-dialog-scrollable .modal-body { overflow-y: auto; }
.v4l-modal .modal-content {
	position: relative; display: flex; flex-direction: column;
	width: 100%; pointer-events: auto;
	background: var(--v4l-surface); color: var(--v4l-text);
	background-clip: padding-box;
	box-shadow: var(--v4l-shadow-lg);
}
.v4l-modal .modal-header {
	display: flex; flex-shrink: 0; align-items: center;
	justify-content: space-between;
}
.v4l-modal .modal-body { position: relative; flex: 1 1 auto; }
.v4l-modal .modal-footer {
	display: flex; flex-wrap: wrap; flex-shrink: 0;
	align-items: center; justify-content: flex-end;
	gap: 8px; padding: 12px 24px;
	border-top: 1px solid var(--v4l-border);
}
/* Bootstrap's .btn-close is a background-image X; without its CSS
   the button is an invisible empty box. Give it a visible glyph. */
.v4l-modal .btn-close {
	flex: 0 0 auto; width: 32px; height: 32px;
	padding: 0; border: 0; border-radius: 8px;
	background: transparent; color: var(--v4l-text-2);
	cursor: pointer; font-size: 26px; line-height: 1;
}
.v4l-modal .btn-close::after { content: '\00d7'; }
.v4l-modal .btn-close:hover { background: var(--v4l-surface-2); color: var(--v4l-text); }
/* Backdrop element created by v4-landing.js (vanilla show/hide). */
.v4l-modal-backdrop {
	position: fixed; top: 0; left: 0; z-index: 1050;
	width: 100vw; height: 100vh;
	background: rgba(0, 0, 0, 0.5);
}
/* v11: spec §6.2 — backdrop rgba(0,0,0,0.6) in dark mode. */
html.dark .v4l-modal-backdrop { background: rgba(0, 0, 0, 0.6); }
/* v11: placeholders — light #64748b 4.76:1 on white; dark #9a9ac0 6.60:1
   on surface #141432. The modal rule below (line ~880) already uses
   --v4l-text-3, which is now #9a9ac0 in dark. */
body.v4-landing input::placeholder, body.v4-landing textarea::placeholder { color: #64748b; opacity: 1; }
html.dark body.v4-landing input::placeholder, html.dark body.v4-landing textarea::placeholder { color: #9a9ac0; opacity: 1; }
body.v4l-modal-open { overflow: hidden; }

/* --- vanilla FAQ accordion --------------------------------------- */
/* Bootstrap's `.collapse:not(.show) { display: none; }` is gone
   with its CSS, so every answer rendered expanded at once live.
   This sheet now owns the hiding; .show (toggled by Bootstrap when
   present, by v4-landing.js when absent) opens a panel. */
.v4l-faq .accordion-collapse:not(.show):not(.collapsing) { display: none; }
.v4l-faq .accordion-collapse.show { display: block; }
.v4l-faq .accordion-button {
	border: 0; width: 100%; text-align: left; cursor: pointer;
}
.v4l-faq .accordion-button::after {
	content: '\203a'; flex-shrink: 0;
	margin-left: auto; padding-left: 12px;
	font-size: 22px; line-height: 1; font-weight: 400;
	transition: transform 0.2s ease;
}
.v4l-faq .accordion-button:not(.collapsed)::after { transform: rotate(90deg); }
html.dark .v4l-faq .accordion-button::after { filter: none; }

/* --- vanilla mobile nav ------------------------------------------ */
/* At <=991px the old rule forced display:block, which only looked
   right because Bootstrap's .collapse hid the panel. Now the panel
   is hidden until .show is toggled (by Bootstrap when present, by
   v4-landing.js when absent). */
.v4l-nav-mobile.show { display: block; }

/* --- image fallbacks --------------------------------------------- */
/* A failed icon must never paint alt text: clip the icon box and
   keep the M-Pesa mark's font-icon fallback (rendered behind the
   <img> in the view) as the visible fallback. */
.v4l-feature-icon { overflow: hidden; }
.v4l-feature-wide .v4l-feature-icon { position: relative; }
.v4l-feature-wide .v4l-feature-icon > i {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	font-size: 30px; color: #fff;
}
.v4l-feature-wide .v4l-feature-icon img {
	position: relative; z-index: 1;
	background: var(--v4l-ink);
}
/* Review avatars: the initials circle (data-initials) sits behind
   the photo; when the photo 404s it hides and the initials show. */
.v4l-avatar {
	position: relative; flex: 0 0 auto;
	width: 48px; height: 48px; border-radius: 50%;
	background: var(--v4l-accent-soft);
	display: inline-flex; align-items: center; justify-content: center;
}
.v4l-avatar::before {
	content: attr(data-initials);
	font-weight: 700; font-size: 15px; color: var(--v4l-accent-ink);
}
.v4l-avatar img {
	position: absolute; inset: 0;
	width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
}

/* ------------------------------------------------------------------ */
/* v9 (track A) — registration modal redesign. Reference: OneSchool   */
/* §09 "One door for every role" — two-panel sign-in, brand left,    */
/* clean form right, clear panel separation in both themes.           */
/* STYLING ONLY: the v8 dependency-free mechanism (plain vanilla JS,  */
/* no Bootstrap) is untouched; every field, label, validation hook,  */
/* reCAPTCHA block and the submit flow are unchanged.                 */
/* ------------------------------------------------------------------ */

/* --- own form grid: the two columns were Bootstrap's .col-lg-6,    */
/* which is dead when the bundle 404s (live), so every field stacked */
/* full-width at desktop. The form now owns its grid; at <=640px it  */
/* collapses to one column. Also neutralises Bootstrap's .row        */
/* negative margins, column padding and .col-lg-6 width so the       */
/* layout is identical with Bootstrap present or absent.              */
.v4l-reg-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 0; }
.v4l-reg-form .row > div { min-width: 0; width: auto; max-width: none; flex: none; padding: 0; margin: 0; }

/* --- Plan Summary: own the Bootstrap utilities the card leans on    */
/* (.card-body padding, .card mt-2/mb-4 margins, .chart-title type —  */
/* none of them exist when Bootstrap CSS is absent) so the card is   */
/* identical in both states. Soft indigo tint in light mode; the     */
/* Total Cost row is emphasised with a divider and accent value.     */
.v4l-reg-form .card { margin: 8px 0 20px; background: var(--v4l-accent-soft); border-color: #dbe2ff; }
.v4l-modal .card-body { padding: 20px 22px; }
.v4l-modal .chart-title { font-size: 15px; font-weight: 700; color: var(--v4l-text); margin: 0 0 10px; }
.v4l-modal .sp-summary li.total-costs { border-top: 1px solid var(--v4l-border); margin-top: 8px; padding-top: 10px; }
.v4l-modal .sp-summary li.total-costs span { color: var(--v4l-accent-ink); font-weight: 700; }

/* --- inputs: roomier, consistent heights; the native file input   */
/* gets a styled "Choose File" button so it stops painting a white   */
/* slab in dark mode.                                                 */
.v4l-modal .form-control, .v4l-modal .form-select { padding: 11px 13px; }
.v4l-reg-form input[type="file"].form-control { padding: 0; }
.v4l-reg-form input[type="file"].form-control::file-selector-button,
.v4l-reg-form input[type="file"].form-control::-webkit-file-upload-button {
	padding: 10px 16px; margin: 0 12px 0 0; border: 0;
	border-right: 1px solid var(--v4l-border-strong); border-radius: 0;
	background: var(--v4l-surface-2); color: var(--v4l-text);
	font: inherit; font-weight: 600; font-size: 14px; cursor: pointer;
}

/* --- submit: full-width primary button, the reference sign-in      */
/* pattern (was a small left-aligned pill).                           */
.v4l-reg-form .pp-plans-cta .btn { width: 100%; margin-bottom: 0; padding: 13px 24px; font-size: 15.5px; box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35); }
.v4l-reg-form .pp-plans-cta .btn:hover { box-shadow: 0 8px 22px rgba(79, 70, 229, 0.42); }

/* --- close control: the v8 glyph is TEXT (× via ::after), so the   */
/* dark-mode filter:invert(1) — written for Bootstrap's background-  */
/* image X — flips it dark-on-dark and nearly invisible. Explicit    */
/* light colour in dark mode, larger hoverable target.                */
.v4l-modal .btn-close { width: 36px; height: 36px; font-size: 24px; border-radius: 10px; }
html.dark .v4l-modal .btn-close { filter: none; color: #e8e8f2; }
html.dark .v4l-modal .btn-close:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

/* --- brand panel: subtle depth on the logo tile.                   */
.v4l-reg-logo { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); }

/* --- dark-mode panel separation (§1c): the form panel gets its own */
/* lighter surface (#21214e) instead of inheriting the modal's       */
/* #141432, with a 1px divider against the brand panel — the two     */
/* panels are no longer one navy slab. The brand stays the darkest   */
/* surface; inputs/cards sit one step darker than the form as        */
/* recessed wells. Native widgets (select arrow, file button) use    */
/* dark rendering inside the modal.                                   */
html.dark .v4l-modal { color-scheme: dark; }
html.dark .v4l-reg-form { background: #21214e; }
html.dark .v4l-reg-brand { border-right: 1px solid rgba(255, 255, 255, 0.09); }
html.dark .v4l-reg-form .card { background: var(--v4l-surface-2); border-color: var(--v4l-border-strong); }
html.dark .v4l-modal .sp-summary li.total-costs span { color: #a5b4fc; }
html.dark .v4l-modal .error { color: #f87171; }
html.dark .v4l-reg-form input[type="file"].form-control::file-selector-button,
html.dark .v4l-reg-form input[type="file"].form-control::-webkit-file-upload-button {
	background: #2a2a55; color: #e8e8f2; border-right-color: var(--v4l-border-strong);
}

/* --- stacked brand strip (<=991px): compact, with a divider under */
/* it so the strip separates from the form in both themes; the       */
/* dialog stops touching the screen edges.                            */
@media only screen and (max-width: 991px) {
	.v4l-reg-brand { padding: 22px 24px 20px; border-right: 0; border-bottom: 1px solid var(--v4l-border); }
	html.dark .v4l-reg-brand { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
	.v4l-reg-logo { max-width: 132px; margin-bottom: 14px; }
	.v4l-reg-brand h3 { font-size: 19px; }
	.v4l-reg-tagline { font-size: 16.5px; }
	.v4l-modal .modal-dialog.v4l-reg-dialog { margin: 1rem; max-width: none; }
}
@media only screen and (max-width: 640px) {
	.v4l-reg-form .row { grid-template-columns: 1fr; }
	.v4l-reg-brand { padding: 20px 20px 16px; }
	.v4l-reg-logo { max-width: 116px; margin-bottom: 12px; }
	.v4l-reg-brand h3 { font-size: 18px; margin-bottom: 6px; }
	.v4l-modal .modal-dialog.v4l-reg-dialog { margin: 0.75rem 0.5rem; }
	.v4l-reg-form { padding: 22px 20px; }
	.v4l-modal .modal-header { padding: 16px 20px; }
}

/* ------------------------------------------------------------------ */
/* v9 (landing track D) — deformed-sections sweep. The live v8 fault  */
/* was the whole assets/saas/ tree 404ing: the trusted-by strip was   */
/* a lone heading, review photos were initials-only, and the footer   */
/* app column was an empty heading. The view now serves those images  */
/* primarily from assets/images/ (duplicated copies, the tree that    */
/* serves live) chained back to the saas originals; the rules below   */
/* make every fallback look deliberate when the images still fail.    */
/* ------------------------------------------------------------------ */

/* --- hero: gradient wash + mock glow (reference: gradient/glass) -- */
/* The flat single-radial hero read as a plain page. A second teal    */
/* wash and a violet edge give the reference's soft gradient without  */
/* touching the mock itself (rebuilding it into a real screenshot is  */
/* the known v6 design-scope gap — out of this track).                */
.v4l-hero {
	background:
		radial-gradient(720px 360px at 50% -80px, rgba(99, 102, 241, 0.20), transparent 70%),
		radial-gradient(560px 300px at 88% -40px, rgba(45, 212, 191, 0.14), transparent 70%),
		radial-gradient(480px 260px at 8% 0%, rgba(124, 58, 237, 0.10), transparent 70%),
		var(--v4l-bg);
}
html.dark .v4l-hero {
	background:
		radial-gradient(720px 360px at 50% -80px, rgba(99, 102, 241, 0.22), transparent 70%),
		radial-gradient(560px 300px at 88% -40px, rgba(45, 212, 191, 0.10), transparent 70%),
		var(--v4l-bg);
}
.v4l-mock { box-shadow: 0 24px 60px -12px rgba(79, 70, 229, 0.28), var(--v4l-shadow-lg); }

/* --- trusted-by: styled wordmark fallback, never a lone heading --- */
/* The wordmark is hidden while its logo loads; v4lImgChain() adds    */
/* .v4l-img-gone to the <li> when the last fallback fails, and only   */
/* then does the wordmark show. The <li> keeps a minimum slot so the  */
/* strip never collapses to nothing while images are still loading.   */
.v4l-trust-logos li {
	display: flex; align-items: center; justify-content: center;
	min-width: 150px; min-height: 54px;
}
.v4l-trust-name {
	display: none;
	font-family: var(--v4l-display);
	font-size: 16px; font-weight: 800; letter-spacing: -0.01em;
	line-height: 1.25; text-align: center;
	color: var(--v4l-text-2);
	max-width: 210px;
}
.v4l-trust-logos li.v4l-img-gone .v4l-trust-name { display: block; }
/* Dark mode: the partner wordmarks are dark-on-transparent PNGs, so
   grayscale + 0.62 opacity on the navy background washes them out to
   near-invisible (v8 dark shot). Seat each logo on a white pill. The
   text wordmark fallback keeps the light body colour and needs none. */
html.dark .v4l-trust-logos img {
	background: rgba(255, 255, 255, 0.94);
	border-radius: 8px;
	padding: 6px 12px;
	filter: none;
	opacity: 1;
}

/* --- reviews: initials as a designed avatar, not a pale accident -- */
/* Live, the photos 404 and the initials are all the reader sees —   */
/* the v8 pale-indigo circle read as a missing image. Solid gradient  */
/* discs with white bold initials (one hue per reviewer) read as an   */
/* intentional avatar system; the photo still covers them when it     */
/* loads.                                                             */
.v4l-avatar {
	background: linear-gradient(135deg, #4f46e5, #7c3aed);
	box-shadow: 0 0 0 3px var(--v4l-accent-soft);
}
.v4l-avatar::before { color: #fff; font-size: 16px; letter-spacing: 0.02em; }
.v4l-reviews-grid .v4l-review:nth-child(2) .v4l-avatar { background: linear-gradient(135deg, #0d9488, #0ea5e9); }
.v4l-reviews-grid .v4l-review:nth-child(3) .v4l-avatar { background: linear-gradient(135deg, #d97706, #db2777); }
html.dark .v4l-avatar { box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.20); }

/* --- footer app badges: styled store pills when the badge fails --- */
/* Same pattern as trusted-by: the pill is hidden while its badge     */
/* loads, and shows only when that badge's wrapper gets              */
/* .v4l-img-gone. The badge <img> keeps the existing 150px rule.      */
.v4l-app-badge { display: block; }
.v4l-app-fallback {
	display: none;
	width: 150px;
	align-items: center; gap: 10px;
	background: #fff; color: #052e36;
	border-radius: 8px; padding: 8px 12px; margin-bottom: 10px;
	font-size: 14px; font-weight: 700; line-height: 1.15;
}
.v4l-app-fallback i { font-size: 22px; flex: 0 0 auto; }
.v4l-app-fallback small {
	display: block;
	font-size: 10px; font-weight: 600;
	text-transform: uppercase; letter-spacing: 0.04em;
	color: #475569;
}
.v4l-app-badge.v4l-img-gone .v4l-app-fallback { display: flex; }

/* --- Reports: full-width band, not a lone orphan card ------------- */
/* The grid leaves Reports alone on the last row. Give it a band     */
/* treatment instead: icon + copy on the left, the report areas as   */
/* chips on the right, so the full-width span reads as a deliberate   */
/* summary strip.                                                     */
.v4l-feature-fill { display: flex; align-items: center; gap: 24px; }
.v4l-feature-fill .v4l-feature-icon { margin-bottom: 0; flex: 0 0 auto; }
.v4l-fill-text { flex: 1; min-width: 0; }
.v4l-fill-text h3 { margin-bottom: 6px; }
.v4l-report-chips {
	display: flex; flex-wrap: wrap; gap: 8px;
	list-style: none; margin: 0; padding: 0;
	flex: 0 0 auto; max-width: 340px; justify-content: flex-end;
}
.v4l-report-chips li {
	font-size: 12.5px; font-weight: 700;
	padding: 6px 12px; border-radius: 999px;
	background: var(--v4l-accent-soft); color: var(--v4l-accent-ink);
	white-space: nowrap;
}
html.dark .v4l-report-chips li { background: rgba(99, 102, 241, 0.16); color: #a5b4fc; }
@media only screen and (max-width: 991px) {
	.v4l-feature-fill { flex-wrap: wrap; }
	.v4l-report-chips { max-width: none; justify-content: flex-start; }
}
@media only screen and (max-width: 640px) {
	.v4l-feature-fill { flex-direction: column; align-items: flex-start; gap: 16px; }
	.v4l-trust-logos li { min-width: 0; }
}

/* ------------------------------------------------------------------ */
/* v10 (track 2) — registration modal redesign. MG's verdict on live  */
/* v9 (2026-11-28): the modal "still looks ugly". This is a VISUAL   */
/* redesign only: every field, name, validation hook, the Plan       */
/* Summary data and the v8 dependency-free mechanism are unchanged.   */
/* The v9 z-index/overflow contract is untouched: .v4l-modal stays   */
/* z-index 1055 and .modal-content keeps overflow:hidden (Track 1's  */
/* body-level Select2 dropdown at z-index 1060 sits above it).       */
/* Reference: OneSchool §09 "One door for every role" — white card,  */
/* indigo accent, serif-italic accent word, numbered sections,       */
/* generous but tight spacing.                                        */
/* ------------------------------------------------------------------ */

/* --- (9) own the sizing Bootstrap's reboot used to provide, so the  */
/* modal measures identically with Bootstrap present or absent (live  */
/* = absent). Without this, Bootstrap's global border-box + 1.5      */
/* line-height made every input 6px taller and the .mb-4 utility    */
/* (!important) added 24px under the button — the modal was 63px    */
/* taller with Bootstrap present than without.                       */
.v4l-modal *, .v4l-modal *::before, .v4l-modal *::after { box-sizing: border-box; }

/* --- (2) no full-width header: the brand panel now reaches the    */
/* top edge. The title moves into the form column (.v4l-reg-head)    */
/* and the close control floats over the modal corner, so it reads   */
/* on the navy panel and on the white form alike.                     */
.v4l-modal .btn-close.v4l-reg-close {
	position: absolute; top: 12px; right: 12px; z-index: 5;
	width: 34px; height: 34px; border-radius: 50%;
	background: var(--v4l-surface); color: var(--v4l-text-2);
	border: 1px solid var(--v4l-border);
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
	font-size: 22px;
}
.v4l-modal .btn-close.v4l-reg-close:hover { background: var(--v4l-surface-2); color: var(--v4l-text); }
html.dark .v4l-modal .btn-close.v4l-reg-close {
	filter: none; color: #cbd5e1; background: #2a2a55;
	border-color: rgba(255, 255, 255, 0.14);
}
html.dark .v4l-modal .btn-close.v4l-reg-close:hover { background: #34345f; color: #fff; }

/* --- (9) tighter dialog: 1rem margins buy 24px of viewport. --- */
.v4l-modal .modal-dialog.v4l-reg-dialog { margin: 1rem auto; }

/* --- (1) brand panel: content now runs to the bottom edge. The    */
/* "What you get" block is pinned to the foot with margin-top:auto,  */
/* so the free space sits above a divider as deliberate whitespace   */
/* instead of a 250-300px empty navy slab below the last line.      */
.v4l-reg-brand { justify-content: flex-start; padding: 34px 30px 26px; }
.v4l-reg-brand h3 { font-size: 23px; }
.v4l-reg-roles { gap: 12px; margin-bottom: 22px; }
.v4l-reg-roles li { gap: 12px; }
.v4l-reg-ico {
	width: 34px; height: 34px; border-radius: 10px;
	background: rgba(165, 180, 252, 0.16); color: #c7d2fe;
	font-size: 15px; font-weight: 400;
}
.v4l-reg-role b { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.v4l-reg-role small { display: block; font-size: 11.5px; font-weight: 500; color: #b9b9d6; line-height: 1.35; }
.v4l-reg-included { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.v4l-reg-included h4 {
	font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em;
	text-transform: uppercase; color: #a5b4fc; margin: 0 0 12px;
}
.v4l-reg-included ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.v4l-reg-included li { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: #e8e8f2; }
.v4l-reg-included li i { color: #a5b4fc; font-size: 12px; }
.v4l-reg-assure { margin: 16px 0 0; font-size: 11.5px; line-height: 1.5; color: #8f8fb0; }

/* --- (2)(8) form header: eyebrow + plan-aware title with the      */
/* serif-italic accent word from the reference auth screens.        */
.v4l-reg-head { margin: 0 0 12px; padding-right: 44px; }
.v4l-reg-eyebrow {
	font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
	text-transform: uppercase; color: var(--v4l-accent-ink); margin: 0 0 6px;
}
.v4l-reg-head h2 {
	font-size: 21px; font-weight: 800; letter-spacing: -0.02em;
	line-height: 1.2; color: var(--v4l-text); margin: 0;
}
.v4l-reg-head h2 em {
	font-family: "Instrument Serif", Georgia, serif; font-style: italic;
	font-weight: 400; color: var(--v4l-accent-ink);
}
html.dark .v4l-reg-eyebrow, html.dark .v4l-reg-head h2 em { color: #a5b4fc; }

/* --- (9) tighter form: smaller inputs, tighter groups. The       */
/* explicit line-height keeps input heights identical in both      */
/* Bootstrap states (see the box-sizing note above).                */
.v4l-reg-form { padding: 18px 28px 16px; }
.v4l-reg-form .form-group { margin-bottom: 9px; }
.v4l-reg-form .form-group > label { font-size: 13px; margin-bottom: 3px; }
.v4l-reg-form .form-control, .v4l-reg-form .form-select { padding: 8px 12px; font-size: 14.5px; line-height: 1.3; }
.v4l-reg-form .pp-plans-cta .btn { margin-bottom: 0 !important; line-height: 1.3; padding: 11px 24px; }
.v4l-modal .select2-container--default .select2-selection--single { height: 38px; }
.v4l-modal .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 36px; }
.v4l-modal .select2-container--default .select2-selection--single .select2-selection__arrow { height: 36px; }

/* --- (4)(9) Plan Summary as a compact 4-cell strip, not a tall    */
/* card: label above value, dividers between cells, accent total.   */
/* The <li> text node is the label (styled via the li) and the      */
/* <span> is the value; the server HTML is unchanged.                */
.v4l-reg-summary {
	margin: 0 0 12px; padding: 10px 16px;
	border: 1px solid var(--v4l-border); border-radius: 12px;
	background: var(--v4l-accent-soft);
}
.v4l-reg-summary .sp-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 16px; }
.v4l-reg-summary .sp-summary li {
	display: flex; flex-direction: column; gap: 2px; padding: 0;
	font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
	text-transform: uppercase; color: var(--v4l-text-3);
}
.v4l-reg-summary .sp-summary li span {
	font-size: 14.5px; font-weight: 700; letter-spacing: 0;
	text-transform: none; color: var(--v4l-text); text-align: left;
}
.v4l-reg-summary .sp-summary li + li { border-left: 1px solid var(--v4l-border); padding-left: 16px; }
.v4l-reg-summary .sp-summary li.total-costs { border-top: 0; margin-top: 0; padding-top: 0; }
.v4l-reg-summary .sp-summary li.total-costs span { color: var(--v4l-accent-ink); }
html.dark .v4l-reg-summary { background: var(--v4l-surface-2); border-color: var(--v4l-border-strong); }
html.dark .v4l-reg-summary .sp-summary li + li { border-left-color: var(--v4l-border-strong); }
html.dark .v4l-reg-summary .sp-summary li.total-costs span { color: #a5b4fc; }

/* --- (5)(8) numbered section labels, reference style. ---------- */
.v4l-reg-sec {
	display: flex; align-items: center; gap: 8px;
	margin: 2px 0 8px; font-size: 12px; font-weight: 700;
	letter-spacing: 0.09em; text-transform: uppercase; color: var(--v4l-text-2);
}
.v4l-reg-sec-n {
	background: var(--v4l-accent); color: #fff;
	font-size: 10.5px; font-weight: 800; letter-spacing: 0;
	border-radius: 6px; padding: 3px 7px;
}

/* --- (6) file input as a dashed upload zone with an indigo-tinted */
/* Browse button, in both themes — no longer the native control.    */
.v4l-reg-form input[type="file"].form-control {
	height: 38px; font-size: 13.5px; color: var(--v4l-text-3);
	border: 1.5px dashed var(--v4l-border-strong);
	background: var(--v4l-surface-2); cursor: pointer;
}
.v4l-reg-form input[type="file"].form-control::file-selector-button,
.v4l-reg-form input[type="file"].form-control::-webkit-file-upload-button {
	padding: 9px 16px; margin: 0 12px 0 0; border: 0;
	border-right: 1px solid var(--v4l-border-strong); border-radius: 0;
	background: var(--v4l-accent-soft); color: var(--v4l-accent-ink);
	font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer;
}
html.dark .v4l-reg-form input[type="file"].form-control::file-selector-button,
html.dark .v4l-reg-form input[type="file"].form-control::-webkit-file-upload-button {
	background: rgba(99, 102, 241, 0.18); color: #a5b4fc;
	border-right-color: var(--v4l-border-strong);
}

/* --- (7) finish card: Terms + captcha + button read as one group; */
/* the full-width indigo button is the anchor, the grey captcha is  */
/* contained inside the card instead of dominating the form end.    */
.v4l-reg-finish {
	margin-top: 4px; padding: 12px 16px 14px;
	border: 1px solid var(--v4l-border); border-radius: 12px;
	background: var(--v4l-surface-2);
}
.v4l-reg-finish .form-group { margin-bottom: 6px; }
.v4l-reg-finish .pp-plans-bottom { margin-top: 2px; }
html.dark .v4l-reg-finish { background: var(--v4l-surface-2); border-color: var(--v4l-border-strong); }

/* --- stacked brand strip (<=991px): the desktop panel extras    */
/* (What you get, assurance line, role descriptors) stay off the   */
/* strip so it stays compact; the summary strip keeps 4 cells.    */
@media only screen and (max-width: 991px) {
	.v4l-reg-brand { padding: 22px 24px 18px; }
	.v4l-reg-included, .v4l-reg-assure { display: none; }
	.v4l-reg-role small { display: none; }
	.v4l-reg-roles { gap: 8px 18px; }
}
@media only screen and (max-width: 640px) {
	.v4l-reg-summary .sp-summary { grid-template-columns: 1fr 1fr; }
	.v4l-reg-summary .sp-summary li:nth-child(3) { border-left: 0; padding-left: 0; }
	.v4l-reg-form { padding: 20px 20px 18px; }
	.v4l-reg-head h2 { font-size: 20px; }
}

/* ================================================================== */
/* v11 Track 4 — landing/auth (Nexora visual system)                  */
/* ------------------------------------------------------------------ */
/* Delimited v11 section. Rebuilds the landing to the Nexora look    */
/* from scratch in Ramom's own CSS: tighter radii (16/10 -> 12/8),   */
/* Inter everywhere (Plus Jakarta Sans + Instrument Serif dropped,   */
/* OQ-10), pill buttons -> 8px Nexora buttons, hero mock rebuilt in  */
/* the new stat-card anatomy (label + value + delta chip), Ramom     */
/* stack strip under the CTAs. --v4l-* tokens stay the working set;  */
/* --v11-* are aliases of the same values (spec §6.1 naming). The    */
/* registration modal is tokens/radii only — its behaviour, fields,  */
/* Select2 z-index 1060 and dark dropdown rules are untouched.       */
/* OQ-1 (accent): indigo #4f46e5 kept (spec recommendation).          */
/* OQ-3 (hero): centred hero kept — Nexora's section heads are       */
/* centred (§2.9) and the v10 hero is already centred; the demo's    */
/* hero alignment could not be determined from fetched text.         */
/* ================================================================== */

/* --- tokens: radii tighten, display/serif families become Inter;   */
/* --v11-* aliases mirror --v4l-* in both themes.                    */
:root {
	--v4l-radius: 12px;
	--v4l-radius-sm: 8px;
	--v4l-display: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--v4l-serif: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--v11-bg: #f8f9fc;
	--v11-surface: #ffffff;
	--v11-surface-2: #f1f5f9;
	--v11-border: #e3e8ee;
	--v11-border-strong: #cbd5e1;
	--v11-text: #16232b;
	--v11-text-2: #475569;
	--v11-text-3: #64748b;
	--v11-accent: #4f46e5;
	--v11-accent-ink: #4338ca;
	--v11-accent-soft: #eef2ff;
	--v11-radius: 12px;
	--v11-radius-sm: 8px;
}
html.dark {
	--v11-bg: #0d0d24;
	--v11-surface: #141432;
	--v11-surface-2: #1c1c40;
	--v11-border: #262650;
	--v11-border-strong: #34345e;
	--v11-text: #e8e8f2;
	--v11-text-2: #b9b9d6;
	--v11-text-3: #8a8aa8;
	--v11-accent-soft: rgba(99, 102, 241, 0.16);
	--v11-accent-ink: #a5b4fc;
}

/* --- Nexora buttons: 8px radius, not pills (badges/chips stay round). */
.v4l-btn { border-radius: 8px; }
.v4l-modal .btn { border-radius: 8px; }

/* --- serif accent words go (spec §2.3): hero highlight, modal       */
/* tagline and modal title accent word are Inter now, same colour.    */
.v4l-hero h1 .v4l-hl { font-family: var(--v4l-font); font-style: normal; font-weight: 800; }
.v4l-reg-tagline { font-family: var(--v4l-font); font-style: normal; font-weight: 600; font-size: 16px; }
.v4l-reg-head h2 em { font-family: var(--v4l-font); font-style: normal; font-weight: 800; }

/* --- shell tightening: 64px nav (spec §2.5, 56–64px), hero follows. */
.v4l-nav-inner { height: 64px; }
.v4l-hero { padding-top: 148px; }
html { scroll-padding-top: 80px; }

/* --- hero stack strip (spec §4.4): Ramom modules, not Nexora's     */
/* TanStack badges — M-Pesa, SMS, QR Attendance, CBC-ready, Exams.    */
.v4l-stack-strip { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 0 auto 56px; }
.v4l-stack-strip span {
	font-size: 13px; font-weight: 600; color: var(--v4l-text-2);
	background: var(--v4l-surface); border: 1px solid var(--v4l-border);
	border-radius: 999px; padding: 6px 14px;
}
.v4l-hero-ctas { margin-bottom: 22px; }

/* --- hero mock in the new stat-card anatomy (spec §2.6 / C19):     */
/* label + big value + delta chip ("vs last month" muted). The mock   */
/* numbers are illustrative preview values, as in v10.               */
.v4l-mock-kpi .v4l-mock-delta { display: inline-block; font-size: 12px; font-weight: 700; color: #15803d; margin-top: 2px; }
.v4l-mock-kpi .v4l-mock-delta-note { font-size: 11px; font-weight: 500; color: var(--v4l-text-3); }
html.dark .v4l-mock-kpi .v4l-mock-delta { color: #4ade80; }

/* --- M-Pesa logo readable in both modes (v10 dark-on-dark nit):    */
/* the green mark sits on a white chip inside the dark wide card.    */
.v4l-feature-wide .v4l-feature-icon img { background: #fff; border-radius: 8px; padding: 5px; width: 46px; }

/* --- reduced motion (spec §5.2): no transitions when requested.    */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	body.v4-landing *, body.v4-landing *::before, body.v4-landing *::after { transition: none !important; }
}

/* --- v11 verified landing tokens (spec addendum, live-browser study).
   Page bg #FFFFFF / #0A0A0A; hero heading #171717 / #FAFAFA, subtext
   #737373 / #E5E5E5; primary buttons #171717 / #E5E5E5 (they invert
   between modes, like Nexora's); accent stays indigo #4f46e5 for
   links, eyebrows, focus rings, icon tiles and check marks (OQ-1). */
:root { --v4l-bg: #ffffff; }
html.dark { --v4l-bg: #0a0a0a; }
/* Hero: plain bg (Nexora §2.1 — no gradients, no decorative wash),
   verified heading/subtext colours. Overrides the v6 gradient washes. */
.v4l-hero { background: var(--v4l-bg); }
html.dark .v4l-hero { background: var(--v4l-bg); }
.v4l-hero h1 { color: #171717; }
html.dark .v4l-hero h1 { color: #fafafa; }
.v4l-hero p.v4l-lead { color: #737373; }
html.dark .v4l-hero p.v4l-lead { color: #e5e5e5; }
.v4l-section-head h2 { font-size: 36px; }

/* --- floating nav pill (addendum): white pill / #0A0A0A dark; active
   link #0A0A0A bg + white text (light), inverted in dark; inactive
   links #737373 / #A1A1A1. The bar no longer spans the viewport. */
.v4l-nav { top: 12px; padding: 0 16px; background: transparent; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
html.dark .v4l-nav { background: transparent; }
.v4l-nav.scrolled { box-shadow: none; }
.v4l-nav-inner { background: #ffffff; border: 1px solid #e5e5e5; border-radius: 999px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); padding: 0 10px 0 20px; }
html.dark .v4l-nav-inner { background: #0a0a0a; border-color: #222222; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55); }
.v4l-nav-links a { color: #737373 !important; }
.v4l-nav-links a:hover, .v4l-nav-links a.active { color: #ffffff !important; background: #0a0a0a; }
html.dark .v4l-nav-links a { color: #a1a1a1 !important; }
html.dark .v4l-nav-links a:hover, html.dark .v4l-nav-links a.active { color: #0a0a0a !important; background: #fafafa; }
@media only screen and (max-width: 991px) {
	.v4l-nav-mobile { border: 1px solid var(--v4l-border); border-radius: 12px; margin-top: 8px; box-shadow: var(--v4l-shadow-lg); }
}

/* --- primary buttons: monochrome (addendum), inverted in dark. --- */
.v4l-btn-primary { background: #171717; box-shadow: none; }
.v4l-btn-primary:hover { background: #000000; }
html.dark .v4l-btn-primary { background: #e5e5e5; color: #0a0a0a !important; box-shadow: none; }
html.dark .v4l-btn-primary:hover { background: #ffffff; color: #0a0a0a !important; }

/* --- features: PRODUCT/FEATURES two-beat label row. --- */
.v4l-features-label { text-align: center; margin: 0 auto 32px; }
/* --- M-Pesa wide card: dark band in dark mode too (was navy-on-navy
   page in dark); the white chip behind the logo (above) is kept. --- */
html.dark .v4l-feature-wide { background: #171717; border-color: #171717; }

/* --- value band: black in light, deepens in dark (spec §6.2). The
   checklist copy is kept verbatim — the CMS copy does not support
   Nexora's 3-point row (24/7 Support / User Friendly / Modern
   Features), so no recomposition (spec §4.4). --- */
.v4l-value { background: #0a0a0a; }
html.dark .v4l-value { background: #171717; }

/* --- pricing: the featured (Recommended) card INVERTS between modes
   (addendum): black in light, white in dark; its button follows the
   verified pricing-button token (#F5F5F5/#0A0A0A light, #262626/#FAFAFA
   dark). Non-featured cards and the comparison table are untouched in
   behaviour; the table's featured column keeps the indigo accent. --- */
.v4l-plan-featured { background: #0a0a0a; border-color: #0a0a0a; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28); }
html.dark .v4l-plan-featured { background: #fafafa; border-color: #fafafa; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5); }
html.dark .v4l-plan-featured .v4l-plan-name, html.dark .v4l-plan-featured .v4l-plan-price { color: #0a0a0a; }
html.dark .v4l-plan-featured .v4l-plan-price .v4l-plan-period { color: #737373; }
html.dark .v4l-plan-featured .v4l-plan-price .v4l-strike { color: #a1a1a1; }
html.dark .v4l-plan-featured .v4l-plan-limits { background: rgba(0, 0, 0, 0.04); border-color: rgba(0, 0, 0, 0.08); }
html.dark .v4l-plan-featured .v4l-plan-limits li i { color: #4f46e5; }
html.dark .v4l-plan-featured .v4l-plan-limits li span { color: #737373; }
html.dark .v4l-plan-featured .v4l-plan-limits li b { color: #0a0a0a; }
html.dark .v4l-plan-featured .v4l-plan-list { border-top-color: rgba(0, 0, 0, 0.10); }
html.dark .v4l-plan-featured .v4l-plan-list li { color: rgba(10, 10, 10, 0.85); }
html.dark .v4l-plan-featured .v4l-plan-list li i.fa-check { color: #4f46e5; }
html.dark .v4l-plan-featured .v4l-plan-list li.v4l-has-not { color: rgba(10, 10, 10, 0.45); }
html.dark .v4l-plan-featured .v4l-plan-list li i.fa-times { color: rgba(10, 10, 10, 0.4); }
.v4l-plan-featured .v4l-btn-primary { background: #f5f5f5; color: #0a0a0a !important; border-color: #f5f5f5; box-shadow: none; }
.v4l-plan-featured .v4l-btn-primary:hover { background: #ffffff; color: #0a0a0a !important; }
html.dark .v4l-plan-featured .v4l-btn-primary { background: #262626; color: #fafafa !important; border-color: #262626; }
html.dark .v4l-plan-featured .v4l-btn-primary:hover { background: #3f3f3f; color: #fafafa !important; }

/* --- FAQ: one large rounded card, border-separated numbered rows
   (addendum: #FFFFFF/#E5E5E5 light, #171717/#2E2E2E dark). The v8
   strip-inline-colour rule + dark override above are untouched. --- */
.v4l-faq { background: #ffffff; border: 1px solid #e5e5e5; border-radius: 20px; padding: 8px 24px; }
.v4l-faq .accordion-item { background: transparent; border: 0 !important; border-bottom: 1px solid #e5e5e5 !important; border-radius: 0 !important; margin-bottom: 0; }
.v4l-faq .accordion-item:last-child { border-bottom: 0 !important; }
.v4l-faq .accordion-button { background: transparent; padding: 20px 4px; }
.v4l-faq .accordion-button:not(.collapsed) { background: transparent; color: var(--v4l-text); }
html.dark .v4l-faq { background: #171717; border-color: #2e2e2e; }
html.dark .v4l-faq .accordion-item { border-bottom-color: #2e2e2e !important; }
html.dark .v4l-faq .accordion-button { background: transparent; color: #fafafa; }
html.dark .v4l-faq .accordion-button:not(.collapsed) { background: transparent; color: #fafafa; }

/* --- CTA band inverts between modes (addendum, newsletter band):
   black in light, white in dark; its button follows the same token. --- */
.v4l-cta { background: #0a0a0a; }
.v4l-cta .v4l-btn-light { background: #f5f5f5; color: #0a0a0a !important; }
.v4l-cta .v4l-btn-light:hover { background: #ffffff; color: #0a0a0a !important; }
html.dark .v4l-cta { background: #fafafa; }
html.dark .v4l-cta h2 { color: #0a0a0a; }
html.dark .v4l-cta p { color: #737373; }
html.dark .v4l-cta .v4l-btn-light { background: #262626; color: #fafafa !important; }
html.dark .v4l-cta .v4l-btn-light:hover { background: #3f3f3f; color: #fafafa !important; }

/* --- footer: white in light, #0A0A0A in dark (addendum); watermark
   #F0F0F0 light / ~#1E1E1E dark. /docs + /affiliate links unchanged. --- */
.v4l-footer { background: #ffffff; color: #737373; overflow: hidden; }
.v4l-footer h3 { color: #0a0a0a; }
.v4l-footer-brand p { color: #737373; }
.v4l-footer-links a { color: #737373 !important; }
.v4l-footer-links a:hover { color: #0a0a0a !important; }
.v4l-socials a { background: #f5f5f5; color: #0a0a0a !important; }
.v4l-copyright { border-top-color: #e5e5e5; }
.v4l-copyright p { color: #737373; }
.v4l-copyright a { color: #4f46e5 !important; }
.v4l-app-fallback { border: 1px solid #e5e5e5; }
/* v13 Track 1: the giant footer watermark is REMOVED (MG 2026-12-03) —
   markup (.v4l-watermark div) and both colour rules deleted. */
html.dark .v4l-footer { background: #0a0a0a; color: #a1a1a1; }
html.dark .v4l-footer h3 { color: #fafafa; }
html.dark .v4l-footer-brand p { color: #a1a1a1; }
html.dark .v4l-footer-links a { color: #a1a1a1 !important; }
html.dark .v4l-footer-links a:hover { color: #fafafa !important; }
html.dark .v4l-socials a { background: #1e1e1e; color: #fafafa !important; }
html.dark .v4l-copyright { border-top-color: #2e2e2e; }
html.dark .v4l-copyright p { color: #a1a1a1; }
html.dark .v4l-copyright a { color: #a5b4fc !important; }

/* ================================================================== */
/* v12 Track 3 — landing (Nexora, monochrome)                         */
/* ------------------------------------------------------------------ */
/* Ground truth: parent-measured live Nexora demo, 2026-12-03,       */
/* viewport 1919px (hex = rendered-pixel samples). Monochrome:       */
/* primary buttons/links/CTAs #171717 light / #fafafa dark.          */
/* v12-tokens.md (Track 1) did not exist when this track started, so */
/* the values below are the task's contract (#171717 / #fafafa);     */
/* integration to reconcile against the token file when it lands.    */
/* Indigo survives ONLY where it is semantic, not decorative: green  */
/* success deltas, amber stars, WhatsApp green, the M-Pesa logo.     */
/* Everything else that was indigo becomes monochrome. The v10/v11   */
/* keepers are untouched: Select2 z-index 1060 + dark dropdown      */
/* rules, slim comparison table + toggle, reCAPTCHA + Send foot row, */
/* dependency-free modal/FAQ/mobile-nav, image fallback chains.      */
/* ================================================================== */

/* --- tokens: monochrome. Light page #ffffff with a light-grey dot  */
/* grid (verified #E1E1E1/#E5E5E5); dark page #0a0a0a, dots #171717.  */
:root {
	--v4l-ink: #171717;
	--v4l-accent: #171717;
	--v4l-accent-ink: #000000;
	--v4l-accent-bright: #171717;
	--v4l-accent-soft: #f5f5f5;
	--v4l-surface-2: #f5f5f5;
	--v4l-text: #0a0a0a;
	--v4l-text-2: #52525b;
	--v4l-text-3: #737373;
	--v4l-border: #e5e5e5;
	--v4l-border-strong: #d4d4d4;
	--v11-bg: #ffffff;
	--v11-surface: #ffffff;
	--v11-surface-2: #f5f5f5;
	--v11-border: #e5e5e5;
	--v11-border-strong: #d4d4d4;
	--v11-text: #0a0a0a;
	--v11-text-2: #52525b;
	--v11-text-3: #737373;
	--v11-accent: #171717;
	--v11-accent-ink: #000000;
	--v11-accent-soft: #f5f5f5;
}
html.dark {
	--v4l-surface: #141414;
	--v4l-surface-2: #1e1e1e;
	--v4l-text: #fafafa;
	--v4l-text-2: #a1a1a1;
	--v4l-text-3: #a1a1a1;
	--v4l-border: #262626;
	--v4l-border-strong: #3f3f3f;
	--v4l-accent: #fafafa;
	--v4l-accent-ink: #fafafa;
	--v4l-accent-bright: #fafafa;
	--v4l-accent-soft: rgba(255, 255, 255, 0.08);
	--v11-bg: #0a0a0a;
	--v11-surface: #141414;
	--v11-surface-2: #1e1e1e;
	--v11-border: #262626;
	--v11-border-strong: #3f3f3f;
	--v11-text: #fafafa;
	--v11-text-2: #a1a1a1;
	--v11-text-3: #a1a1a1;
	--v11-accent-soft: rgba(255, 255, 255, 0.08);
	--v11-accent-ink: #fafafa;
}
body.v4-landing {
	background-image: radial-gradient(#e5e5e5 1px, transparent 1px);
	background-size: 24px 24px;
}
html.dark body.v4-landing {
	background-image: radial-gradient(#171717 1px, transparent 1px);
}
.v4l-hero { background: transparent; }
html.dark .v4l-hero { background: transparent; }

/* --- primary buttons: exact task contract #171717 / #fafafa. --- */
.v4l-btn-primary { background: #171717; }
.v4l-btn-primary:hover { background: #000000; }
html.dark .v4l-btn-primary { background: #fafafa; color: #0a0a0a !important; }
html.dark .v4l-btn-primary:hover { background: #ffffff; color: #0a0a0a !important; }

/* --- floating nav pill, ~48px (verified ~44px): compact items so  */
/* the 8-link Nexora nav + Live Preview + SignIn fit at 1280px.    */
.v4l-nav-inner { height: 48px; padding: 0 8px 0 16px; }
.v4l-nav-brand img { height: 30px; }
/* Dark pill: the magenta Eduflexio mark needs the white chip the
   footer brand already uses, or it washes out on #0a0a0a. */
html.dark .v4l-nav-brand img { background: #ffffff; border-radius: 8px; padding: 4px 8px; }
.v4l-nav-links a { padding: 7px 11px; font-size: 14px; }
.v4l-theme-btn { width: 34px; height: 34px; }
.v4l-nav-toggler { width: 34px; height: 34px; }
.v4l-nav-actions .v4l-btn { padding: 10px 18px; font-size: 14px; }
@media only screen and (max-width: 1180px) {
	.v4l-nav-links a { padding: 7px 8px; font-size: 13.5px; }
	/* The pill cannot hold 8 links + 3 actions below ~1180px: the
	   secondary actions move to the hero / mobile menu, which carry
	   the same links. */
	.v4l-nav-actions .v4l-btn-live,
	.v4l-nav-actions .v4l-btn-dashboard,
	.v4l-nav-actions .v4l-btn-logout { display: none; }
}

/* --- hero badge pill: white pill + black "New" pill (verified). --- */
.v4l-badge {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 600; color: #52525b;
	background: #ffffff; border: 1px solid #e5e5e5;
	border-radius: 999px; padding: 5px 14px 5px 5px; margin-bottom: 20px;
}
.v4l-badge-new {
	background: #0a0a0a; color: #ffffff;
	font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
	border-radius: 999px; padding: 3px 9px;
}
html.dark .v4l-badge { background: #0a0a0a; border-color: #222222; color: #a1a1a1; }
html.dark .v4l-badge-new { background: #fafafa; color: #0a0a0a; }
.v4l-hero h1 { color: #171717; }
html.dark .v4l-hero h1 { color: #fafafa; }
.v4l-hero { padding-top: 132px; }

/* --- "BUILT WITH MODERN WEB TECHNOLOGIES" label over the stack. --- */
.v4l-builtwith {
	font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
	text-transform: uppercase; color: #737373;
	margin: 0 auto 16px; text-align: center;
}
html.dark .v4l-builtwith { color: #a1a1a1; }
.v4l-stack-strip { margin-bottom: 48px; }

/* --- preview-tab pill over the browser mockup (verified): the     */
/* container is a bordered pill; the active tab is black #171717.   */
.v4l-preview-tabs {
	display: inline-flex; gap: 4px;
	background: #ffffff; border: 1px solid #e5e5e5;
	border-radius: 999px; padding: 4px; margin: 0 auto 24px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.v4l-preview-tab {
	border: 0; background: transparent; cursor: pointer;
	font-family: var(--v4l-font); font-size: 13.5px; font-weight: 600;
	color: #737373; border-radius: 999px; padding: 8px 18px;
	transition: background 0.15s ease, color 0.15s ease;
}
.v4l-preview-tab:hover { color: #0a0a0a; }
.v4l-preview-tab.active { background: #171717; color: #ffffff; }
html.dark .v4l-preview-tabs { background: #141414; border-color: #2e2e2e; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); }
html.dark .v4l-preview-tab { color: #a1a1a1; }
html.dark .v4l-preview-tab:hover { color: #fafafa; }
html.dark .v4l-preview-tab.active { background: #fafafa; color: #0a0a0a; }

/* --- PRODUCT beat: the head sits directly above the dark band. --- */
.v4l-product { padding-bottom: 0; }
.v4l-product .v4l-section-head { margin-bottom: 0; }

/* --- ONE WORKSPACE band: centred head + 3-point row (Nexora §2.9).
   The band is black in light / #171717 in dark; the eyebrow, head and
   points use light-on-dark colours explicitly (the section-head rules
   assume a light page). */
.v4l-value .v4l-eyebrow { background: rgba(255, 255, 255, 0.10); color: #fafafa; }
.v4l-value-head { margin-bottom: 0; }
.v4l-value-head h2 { color: #ffffff; }
.v4l-value-head p { color: #a1a1a1; }
.v4l-value-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.v4l-value-point {
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 12px; padding: 26px 24px; text-align: left;
}
.v4l-value-point i { display: block; font-size: 20px; color: #fafafa; margin-bottom: 12px; }
.v4l-value-point h3 { color: #ffffff; font-size: 17px; font-weight: 700; margin: 0; }

/* --- testimonials stats row (Nexora §2.9): grounded values only. --- */
.v4l-review-stats {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
	margin-top: 48px; padding-top: 32px;
	border-top: 1px solid var(--v4l-border); text-align: center;
}
.v4l-review-stat b { display: block; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; color: var(--v4l-text); }
.v4l-review-stat span { font-size: 14px; color: var(--v4l-text-2); }

/* --- newsletter band (verified tokens): inverts between modes. --- */
.v4l-news { background: #0a0a0a; color: #ffffff; text-align: center; }
.v4l-news-head h2 { color: #ffffff; }
.v4l-news-head p { color: #a1a1a1; }
.v4l-news-form { display: flex; gap: 12px; max-width: 520px; margin: 0 auto; }
.v4l-news-form input[type="email"] {
	flex: 1; min-width: 0; height: 52px;
	background: #212222; border: 1px solid #2e2e2e; border-radius: 8px;
	color: #ffffff; font-family: var(--v4l-font); font-size: 15px; padding: 0 16px;
}
.v4l-news-form input[type="email"]::placeholder { color: #737373; }
.v4l-news-form input[type="email"]:focus { outline: none; border-color: #52525b; }
.v4l-news-form input[type="email"][aria-invalid="true"] { border-color: #dc2626; }
.v4l-news-submit { background: #f5f5f5; color: #0a0a0a !important; height: 52px; padding: 0 28px; border-radius: 8px; box-shadow: none; }
.v4l-news-submit:hover { background: #ffffff; color: #0a0a0a !important; }
.v4l-news-note { margin: 16px 0 0; font-size: 13.5px; color: #737373; }
html.dark .v4l-news { background: #fafafa; color: #0a0a0a; }
html.dark .v4l-news-head h2 { color: #0a0a0a; }
html.dark .v4l-news-head p { color: #52525b; }
html.dark .v4l-news-form input[type="email"] { background: #e1e1e1; border-color: #d4d4d4; color: #0a0a0a; }
html.dark .v4l-news-form input[type="email"]::placeholder { color: #737373; }
html.dark .v4l-news-form input[type="email"]:focus { border-color: #a1a1a1; }
html.dark .v4l-news-submit { background: #262626; color: #fafafa !important; }
html.dark .v4l-news-submit:hover { background: #3f3f3f; color: #fafafa !important; }
html.dark .v4l-news-note { color: #737373; }

/* --- footer: Nexora column headings (small uppercase labels), app  */
/* badges under the brand column, Back to top in the copyright row.  */
.v4l-footer h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.v4l-footer-brand .v4l-footer-apps { margin-top: 22px; }
.v4l-copyright a { color: #171717 !important; }
html.dark .v4l-copyright a { color: #fafafa !important; }
.v4l-to-top { font-size: 14px; font-weight: 600; color: #737373; white-space: nowrap; }
.v4l-to-top:hover { color: #0a0a0a; }
html.dark .v4l-to-top { color: #a1a1a1; }
html.dark .v4l-to-top:hover { color: #fafafa; }

/* --- monochrome overrides for hardcoded indigo values the token  */
/* flip cannot reach (focus rings, featured-column tints, the M-Pesa */
/* tag, the value-band icons, the call FAB, avatar discs).          */
.v4l-field .form-control:focus { box-shadow: 0 0 0 3px rgba(23, 23, 23, 0.14); }
html.dark .v4l-field .form-control:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16); }
.v4l-modal .form-control:focus, .v4l-modal .form-select:focus { box-shadow: 0 0 0 3px rgba(23, 23, 23, 0.14); }
html.dark .v4l-modal .form-control:focus, html.dark .v4l-modal .form-select:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16); }
.v4l-compare-table td.v4l-compare-featured { background: rgba(23, 23, 23, 0.05); }
html.dark .v4l-compare-table td.v4l-compare-featured { background: rgba(255, 255, 255, 0.07); }
.v4l-compare-table td.v4l-compare-featured i.fa-times { color: #737373; }
html.dark .v4l-compare-table td.v4l-compare-featured i.fa-times { color: #a1a1a1; }
.v4l-compare-table thead th.v4l-compare-featured { background: #171717; color: #ffffff; }
.v4l-compare-table thead th.v4l-compare-featured span { color: rgba(255, 255, 255, 0.75); }
html.dark .v4l-compare-table thead th.v4l-compare-featured { background: #fafafa; color: #0a0a0a; }
html.dark .v4l-compare-table thead th.v4l-compare-featured span { color: #737373; }
.v4l-plan-badge { background: #171717; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); }
html.dark .v4l-plan-badge { background: #fafafa; color: #0a0a0a; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); }
.v4l-plan-featured .v4l-plan-limits li i { color: #fafafa; }
html.dark .v4l-plan-featured .v4l-plan-limits li i { color: #171717; }
.v4l-plan-featured .v4l-plan-list li i.fa-check { color: #fafafa; }
html.dark .v4l-plan-featured .v4l-plan-list li i.fa-check { color: #171717; }
.v4l-feature-wide p { color: #a1a1a1; }
.v4l-feature-wide .v4l-mpesa-tag { color: #e5e5e5; border-color: rgba(255, 255, 255, 0.3); }
html.dark .v4l-feature-icon { background: rgba(255, 255, 255, 0.08); }
html.dark .v4l-eyebrow { color: #fafafa; background: rgba(255, 255, 255, 0.08); }
html.dark .v4l-report-chips li { background: rgba(255, 255, 255, 0.08); color: #fafafa; }
html.dark .v4l-fab-call { background: #fafafa; color: #0a0a0a !important; }
/* Review avatars: monochrome discs (the photo still covers them when
   it loads). One neutral shade per reviewer, light and dark. */
.v4l-avatar { background: linear-gradient(135deg, #404040, #171717); box-shadow: 0 0 0 3px #f5f5f5; }
.v4l-reviews-grid .v4l-review:nth-child(2) .v4l-avatar { background: linear-gradient(135deg, #525252, #262626); }
.v4l-reviews-grid .v4l-review:nth-child(3) .v4l-avatar { background: linear-gradient(135deg, #737373, #404040); }
html.dark .v4l-avatar { background: linear-gradient(135deg, #3f3f3f, #262626); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12); }
html.dark .v4l-reviews-grid .v4l-review:nth-child(2) .v4l-avatar { background: linear-gradient(135deg, #525252, #2e2e2e); }
html.dark .v4l-reviews-grid .v4l-review:nth-child(3) .v4l-avatar { background: linear-gradient(135deg, #737373, #404040); }

/* --- registration modal, monochrome: the brand panel goes flat    */
/* near-black (light #171717 / dark #0a0a0a) and the dark form panel */
/* retokens from navy #21214e to neutral #171717. Behaviour, fields, */
/* Select2 z-index 1060 and dark dropdown rules are untouched — but */
/* the dark highlighted option MUST invert (white bg + white text    */
/* was invisible once the accent became #fafafa).                    */
.v4l-reg-brand { background: #171717; }
html.dark .v4l-reg-brand { background: #0a0a0a; }
.v4l-reg-tagline { color: #d4d4d4; }
.v4l-reg-ico { background: rgba(255, 255, 255, 0.14); color: #ffffff; }
.v4l-reg-role small { color: #a1a1a1; }
.v4l-reg-note { color: #a1a1a1; }
.v4l-reg-included h4 { color: #a1a1a1; }
.v4l-reg-included li i { color: #fafafa; }
.v4l-reg-assure { color: #737373; }
.v4l-reg-eyebrow { color: #171717; }
html.dark .v4l-reg-eyebrow, html.dark .v4l-reg-head h2 em { color: #fafafa; }
.v4l-reg-sec-n { background: #171717; }
html.dark .v4l-reg-sec-n { background: #fafafa; color: #0a0a0a; }
html.dark .v4l-reg-form { background: #171717; }
html.dark .v4l-modal .sp-summary li.total-costs span { color: #fafafa; }
html.dark .v4l-reg-form input[type="file"].form-control::file-selector-button,
html.dark .v4l-reg-form input[type="file"].form-control::-webkit-file-upload-button {
	background: rgba(255, 255, 255, 0.10); color: #fafafa;
}
.v4l-modal .btn:not(.btn-secondary) { background: #171717; }
.v4l-modal .btn:not(.btn-secondary):hover { background: #000000; }
html.dark .v4l-modal .btn:not(.btn-secondary) { background: #fafafa; color: #0a0a0a; }
html.dark .v4l-modal .btn:not(.btn-secondary):hover { background: #ffffff; color: #0a0a0a; }
.v4l-reg-form .pp-plans-cta .btn { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25); }
.v4l-reg-form .pp-plans-cta .btn:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32); }
html.dark .select2-container--default .select2-results__option--highlighted[aria-selected] { background: #fafafa !important; color: #0a0a0a; }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: #171717 !important; color: #ffffff; }

/* --- responsive: points + stats stack, newsletter form stacks. --- */
@media only screen and (max-width: 991px) {
	.v4l-value-points { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
	.v4l-review-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
	.v4l-review-stat b { font-size: 26px; }
}
@media only screen and (max-width: 640px) {
	.v4l-hero { padding-top: 120px; }
	.v4l-preview-tabs { max-width: 100%; overflow-x: auto; }
	.v4l-preview-tab { padding: 8px 14px; white-space: nowrap; }
	.v4l-news-form { flex-direction: column; }
	.v4l-news-submit { width: 100%; }
	.v4l-review-stats { grid-template-columns: 1fr; gap: 16px; }
	.v4l-builtwith { font-size: 11px; }
}

/* ================================================================== */
/* v13 Track 1 — genuine landing redesign + contact-overflow fix      */
/* ------------------------------------------------------------------ */
/* (A) CONTACT ROOT CAUSE (MG 2026-12-03, live screenshot): the      */
/* landing never owned the sizing Bootstrap's reboot provides. The    */
/* modal got its own border-box rule in v10, but the page body did    */
/* not: live, assets/saas/ 404s, so .form-control { width:100%;       */
/* padding:11px 13px (+38px left for the icon) } measured content-    */
/* box — every field overflowed its grid cell by 53px (input 335px   */
/* in a 269px cell), the row grew 26px and the card with it (proved   */
/* in staging with Bootstrap blocked, fresh browser, no cache). One   */
/* scoped border-box reset for the whole landing scope fixes the      */
/* class everywhere, with Bootstrap present or absent — the same      */
/* pattern v10 used for the modal. min-width:0 on every grid/flex     */
/* child stops tracks being forced wider by content.                  */
/* (B) REDESIGN: new hero copy structure, Product as a 4-step         */
/* workflow, Features condensed 16 module cards -> 9 outcome cards    */
/* with black icon tiles, value points numbered with descriptions,    */
/* testimonials restructured (stars + quote mark first), footer       */
/* rebuilt (watermark gone, contact column, trial CTA). Copy is new   */
/* in structure; every fact stays grounded in the page's own copy     */
/* (100+ features, 47 counties, 24/7 support, M-Pesa, the three      */
/* value points, the three verbatim testimonial quotes).              */
/* ================================================================== */

/* --- (A) own the sizing, landing-wide. --- */
body.v4-landing *, body.v4-landing *::before, body.v4-landing *::after { box-sizing: border-box; }
.v4l-wrap, .v4l-nav-inner, .v4l-hero, .v4l-section, .v4l-contact-grid, .v4l-contact-form,
.v4l-field-row, .v4l-field, .v4l-input, .v4l-features-grid, .v4l-pricing-grid,
.v4l-reviews-grid, .v4l-footer-grid, .v4l-news-form, .v4l-mock, .v4l-mock-main,
.v4l-mock-kpis, .v4l-mock-kpi, .v4l-value-points, .v4l-review-stats,
.v4l-compare-scroll, .v4l-trust-logos, .v4l-stack-strip { min-width: 0; }
.v4l-field .form-control, .v4l-field textarea.form-control,
.v4l-news-form input[type="email"] { max-width: 100%; }
/* The mock's browser-bar label is the longest unbroken string on the
   page at 360px — let it ellipsis instead of stretching the mock. */
.v4l-mock-bar span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v4l-mock-kpi b { overflow-wrap: anywhere; }

/* --- (B) hero: proof chips under the CTAs; tighter CTA spacing. --- */
.v4l-hero-ctas { margin-bottom: 28px; }
.v13-hero-proof {
	display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
	list-style: none; margin: 0 auto 44px; padding: 0;
}
.v13-hero-proof li {
	display: inline-flex; align-items: center; gap: 7px;
	font-size: 13.5px; font-weight: 600; color: var(--v4l-text-2);
	background: var(--v4l-surface); border: 1px solid var(--v4l-border);
	border-radius: 999px; padding: 7px 14px;
}
.v13-hero-proof li i { color: var(--v4l-text); font-size: 12px; }

/* --- (B) Product: four workflow steps, not a lone heading. --- */
.v4l-product { padding-bottom: 72px; }
.v13-steps {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
	margin-top: 48px; text-align: left;
}
.v13-step {
	background: var(--v4l-surface); border: 1px solid var(--v4l-border);
	border-radius: var(--v4l-radius); padding: 24px 22px; box-shadow: var(--v4l-shadow);
}
.v13-step-num {
	display: block; font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em;
	color: var(--v4l-text-3); margin-bottom: 12px;
}
.v13-step h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.v13-step p { font-size: 14.5px; color: var(--v4l-text-2); margin: 0; }

/* --- (B) Features: 9 outcome cards, black icon tiles. --- */
.v4l-features-grid .v4l-feature { padding: 26px 24px; }
.v4l-features-grid .v4l-feature-icon {
	width: 46px; height: 46px; border-radius: 12px;
	background: #171717; color: #ffffff; font-size: 19px;
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 16px;
}
html.dark .v4l-features-grid .v4l-feature-icon { background: #fafafa; color: #0a0a0a; }
.v4l-feature-tag {
	display: block; margin-top: 12px; font-size: 12.5px; font-weight: 600;
	color: var(--v4l-text-3); letter-spacing: 0.01em;
}
/* M-Pesa keeps a dark card (not a wide span): white chip, logo, tag. */
.v4l-feature-mpesa { background: #171717; border-color: #171717; }
.v4l-feature-mpesa h3 { color: #ffffff; }
.v4l-feature-mpesa p { color: #a1a1a1; }
.v4l-feature-mpesa .v4l-feature-tag { color: #737373; }
.v4l-feature-mpesa .v4l-feature-icon { background: #ffffff; }
.v4l-feature-mpesa .v4l-feature-icon img { width: 36px; height: auto; display: block; }
/* The money icon is the fallback: hidden while the M-Pesa logo loads,
   shown only if every logo copy fails (v4lImgChain adds .v4l-img-gone
   to the tile on final failure). */
.v4l-feature-mpesa .v4l-feature-icon i { display: none; color: #171717; }
.v4l-feature-mpesa .v4l-feature-icon.v4l-img-gone i { display: block; }
.v4l-feature-mpesa .v4l-mpesa-tag { color: #e5e5e5; border-color: rgba(255, 255, 255, 0.3); }
html.dark .v4l-feature-mpesa { background: #171717; border-color: #171717; }
/* Reports: full-width band under the grid (keeps the v12 chips). */
.v13-reports {
	display: flex; align-items: center; gap: 24px; margin-top: 20px;
	background: var(--v4l-surface); border: 1px solid var(--v4l-border);
	border-radius: var(--v4l-radius); padding: 24px 26px; box-shadow: var(--v4l-shadow);
}
.v13-reports .v4l-feature-icon { margin-bottom: 0; flex: 0 0 auto; }
.v13-reports-text { flex: 1; min-width: 0; }
.v13-reports-text h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.v13-reports-text p { margin: 0; color: var(--v4l-text-2); font-size: 14.5px; }

/* --- (B) Value band: numbered points with a line each. --- */
.v4l-value-point .v13-num {
	display: block; font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em;
	color: rgba(255, 255, 255, 0.55); margin-bottom: 10px;
}
.v4l-value-point p { color: #a1a1a1; font-size: 14.5px; margin: 8px 0 0; }

/* --- (B) Testimonials: stars + quote mark first. --- */
.v4l-review > .v4l-stars { margin: 0 0 14px; font-size: 14px; }
.v4l-review blockquote::before {
	content: "\201C"; display: block; font-size: 44px; line-height: 0.6;
	font-weight: 800; color: var(--v4l-text-3); margin-bottom: 12px;
}

/* --- (A) Contact: foot wraps; captcha scales to fit phone cards;    */
/* info CTAs drop to their own row instead of squeezing the value.   */
.v4l-form-foot { flex-wrap: wrap; }
@media only screen and (max-width: 640px) {
	.v4l-contact-form { padding: 22px 18px; }
	.v4l-contact-item { flex-wrap: wrap; }
	.v4l-ci-cta { flex: 1 1 100%; justify-content: center; margin-top: 6px; }
	.v4l-contact-info h2 { font-size: 24px; }
	/* Mock KPIs at phone widths: hide the "vs last month" note (it
	   wraps to two lines in a ~80px card) and keep the value on one. */
	.v4l-mock-main { padding: 14px 12px; }
	.v4l-mock-kpi { padding: 10px 8px; }
	.v4l-mock-kpi b { font-size: 15px; white-space: nowrap; }
	.v4l-mock-kpi small { font-size: 10px; }
	.v4l-mock-delta-note { display: none; }
	/* Hero proof chips + reports stack cleanly (steps go 1-col in the
	   final 640px block at the end of this file — it must come after
	   the 991px 2-col rule to win at phone widths). */
	.v13-hero-proof { margin-bottom: 36px; }
	.v13-reports { flex-direction: column; align-items: flex-start; gap: 16px; }
}
/* reCAPTCHA is a fixed 304px box. At 360px the card's inner width is
   ~274px (with the reduced phone padding); scale the widget so its
   visual box fits — the layout box stays 304px but the scaled visual
   is what paints, and the card never scrolls. */
@media only screen and (max-width: 480px) {
	.v4l-form-foot .g-recaptcha { transform: scale(0.9); transform-origin: top left; margin-bottom: -8px; }
}
@media only screen and (max-width: 380px) {
	.v4l-form-foot .g-recaptcha { transform: scale(0.8); transform-origin: top left; margin-bottom: -16px; }
}

/* --- (B) Footer: five columns (brand + Product + Resources + Legal  */
/* + Contact), trial CTA in the brand column. --- */
.v4l-footer-grid { grid-template-columns: 1.6fr 0.75fr 0.75fr 0.75fr 1fr; }
.v4l-footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.v4l-footer-contact li i { color: var(--v4l-text-3); font-size: 13px; margin-top: 4px; flex: 0 0 auto; }
.v4l-footer-contact li span { overflow-wrap: anywhere; }
html.dark .v4l-footer-contact li i { color: #a1a1a1; }
.v4l-footer-cta { margin-top: 22px; }
.v4l-footer-cta .v4l-btn { padding: 11px 20px; font-size: 14px; }
@media only screen and (max-width: 991px) {
	.v13-steps { grid-template-columns: repeat(2, 1fr); }
	.v4l-footer-grid { grid-template-columns: 1fr 1fr; }
	.v13-reports { flex-wrap: wrap; }
}
@media only screen and (max-width: 640px) {
	/* NOTE: this block MUST stay after the 991px block above — at 390px
	   both apply, and the later rule wins. (First version had the 1fr
	   steps rule earlier in the file, so the 2-col rule won at 390px
	   and the step cards read cramped.) */
	.v13-steps { grid-template-columns: 1fr; }
	.v4l-footer-grid { grid-template-columns: 1fr; }
}
