/**
 * LMS Platform — design system.
 *
 * Mirrors the tenant panel's language: Inter, an indigo→violet gradient accent,
 * soft glass surfaces, generous radii, and a real dark mode.
 *
 * Colours are CSS custom properties so the Customizer can override the brand
 * with two inline variables (--brand / --brand-2) and every gradient, button,
 * ring and tint follows automatically. Never hard-code #4f46e5 below this block.
 */

/* ══ Tokens ══ */
:root {
	--brand: #4f46e5;
	--brand-2: #7c3aed;
	--brand-grad: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);

	--bg: #ffffff;
	--bg-soft: #f8fafc;
	--bg-mute: #f1f5f9;
	--surface: #ffffff;
	--surface-2: rgba(255, 255, 255, 0.72);
	--border: #e2e8f0;
	--border-soft: #eef2f6;

	--text: #0f172a;
	--text-2: #475569;
	--text-3: #94a3b8;
	--on-brand: #ffffff;

	--shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
	--shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 10px 20px -8px rgba(15, 23, 42, 0.10);
	--shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.18);
	--shadow-brand: 0 10px 30px -10px color-mix(in srgb, var(--brand) 55%, transparent);

	--r-sm: 8px;
	--r: 12px;
	--r-md: 16px;
	--r-lg: 20px;
	--r-xl: 28px;
	--r-full: 999px;

	--container: 1180px;
	--gutter: 24px;

	/**
	 * Vertical rhythm.
	 *
	 * Every section's breathing room resolves to these four values, so the
	 * whole site tightens or loosens from one place instead of forty hand
	 * tuned clamps that drift apart. Override them inside a media query or on
	 * a single section, never by editing the rules that consume them.
	 *
	 * The clamps are deliberately shorter than the usual marketing-template
	 * defaults: this site has thirteen homepage sections, and generous padding
	 * that reads as elegant on a three-section page turns into a page the
	 * visitor has to scroll through rather than read.
	 */
	--section-y: clamp(40px, 4.6vw, 68px);
	--section-y-sm: clamp(28px, 3.2vw, 46px);
	--gap-head: clamp(22px, 2.4vw, 36px);
	--gap-block: clamp(24px, 3vw, 44px);

	--font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

	--header-h: 72px;
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode. Explicit [data-theme] always wins over the OS preference so the
   header toggle works in both directions — a media query alone can't be undone. */
:root[data-theme='dark'] {
	--bg: #0b1120;
	--bg-soft: #0f172a;
	--bg-mute: #131c30;
	--surface: #111a2e;
	--surface-2: rgba(17, 26, 46, 0.72);
	--border: #1f2b45;
	--border-soft: #1a2540;

	--text: #f1f5f9;
	--text-2: #b6c2d6;
	--text-3: #7b8aa3;

	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
	--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.35), 0 10px 24px -8px rgba(0, 0, 0, 0.5);
	--shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, 0.7);
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme='light']) {
		--bg: #0b1120;
		--bg-soft: #0f172a;
		--bg-mute: #131c30;
		--surface: #111a2e;
		--surface-2: rgba(17, 26, 46, 0.72);
		--border: #1f2b45;
		--border-soft: #1a2540;
		--text: #f1f5f9;
		--text-2: #b6c2d6;
		--text-3: #7b8aa3;
		--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
		--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.35), 0 10px 24px -8px rgba(0, 0, 0, 0.5);
		--shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, 0.7);
	}
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 20px);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color 0.18s var(--ease); }
a:hover { color: var(--brand-2); }
button { font: inherit; }

h1, h2, h3, h4, h5 {
	margin: 0 0 0.5em;
	line-height: 1.18;
	letter-spacing: -0.022em;
	font-weight: 700;
	color: var(--text);
}
h1 { font-size: clamp(2.25rem, 1.2rem + 3.6vw, 3.75rem); letter-spacing: -0.033em; }
h2 { font-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.6rem); letter-spacing: -0.028em; }
h3 { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); }
p { margin: 0 0 1.1em; color: var(--text-2); }

:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 3px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip-path: inset(50%);
	white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 999;
	background: var(--brand);
	color: #fff;
	padding: 10px 18px;
	border-radius: var(--r);
}
.skip-link:focus { left: 8px; color: #fff; }

/* ══ Layout ══ */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: 760px; }

.section { padding: var(--section-y) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: var(--section-y-sm) 0; }

.section__head {
	max-width: 680px;
	margin: 0 auto var(--gap-head);
	text-align: center;
}
.section__head p { font-size: 1.06rem; margin-bottom: 0; }
.section__head--left { margin-inline: 0; text-align: left; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.75rem;
	font-weight: 650;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--brand);
	margin-bottom: 14px;
}
.eyebrow::before {
	content: '';
	width: 20px; height: 2px;
	border-radius: 2px;
	background: var(--brand-grad);
}
.section__head .eyebrow::before { display: none; }

.gradient-text {
	background: var(--brand-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 960px) {
	.grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

/* ══ Buttons ══ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 12px 22px;
	border-radius: var(--r-full);
	border: 1px solid transparent;
	font-size: 0.94rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	white-space: nowrap;
	transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
		background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary {
	background: var(--brand-grad);
	color: var(--on-brand);
	box-shadow: var(--shadow-brand);
}
.btn--primary:hover {
	color: var(--on-brand);
	transform: translateY(-2px);
	box-shadow: 0 16px 34px -12px color-mix(in srgb, var(--brand) 70%, transparent);
}

.btn--ghost {
	background: var(--surface);
	color: var(--text);
	border-color: var(--border);
	box-shadow: var(--shadow-sm);
}
.btn--ghost:hover {
	color: var(--text);
	border-color: color-mix(in srgb, var(--brand) 40%, var(--border));
	transform: translateY(-2px);
}

.btn--quiet { background: transparent; color: var(--text-2); padding-inline: 12px; }
.btn--quiet:hover { color: var(--brand); }

.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--sm { padding: 9px 16px; font-size: 0.86rem; }
.btn--block { width: 100%; }

.btn--on-dark {
	background: #fff;
	color: #1e1b4b;
	box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
}
.btn--on-dark:hover { color: #1e1b4b; }

.btn--outline-light {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.32);
	backdrop-filter: blur(8px);
}
.btn--outline-light:hover { color: #fff; background: rgba(255, 255, 255, 0.16); }

/* ══ Pills & badges ══ */
.pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px 6px 8px;
	border-radius: var(--r-full);
	background: color-mix(in srgb, var(--brand) 9%, var(--surface));
	border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
	color: var(--text-2);
	font-size: 0.83rem;
	font-weight: 520;
}
.pill strong {
	background: var(--brand-grad);
	color: #fff;
	padding: 3px 9px;
	border-radius: var(--r-full);
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.02em;
}

.badge {
	display: inline-block;
	padding: 4px 11px;
	border-radius: var(--r-full);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	background: var(--brand-grad);
	color: #fff;
}

/* ══ Header ══ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: color-mix(in srgb, var(--bg) 82%, transparent);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header.is-stuck {
	border-bottom-color: var(--border);
	box-shadow: 0 1px 20px -8px rgba(15, 23, 42, 0.18);
}

.nav {
	display: flex;
	align-items: center;
	gap: 18px;
	height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand:hover { color: inherit; }
.brand__mark {
	width: 36px; height: 36px;
	border-radius: 11px;
	background: var(--brand-grad);
	color: #fff;
	display: grid;
	place-items: center;
	font-weight: 800;
	font-size: 17px;
	letter-spacing: -0.02em;
	box-shadow: var(--shadow-brand);
	flex: none;
}
.brand__logo { max-height: 38px; width: auto; }
.brand__name {
	font-weight: 700;
	font-size: 1.06rem;
	letter-spacing: -0.02em;
	color: var(--text);
}
.brand__tag {
	display: block;
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--text-3);
	text-transform: uppercase;
	margin-top: -2px;
}

.nav__menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0 auto 0 12px;
	padding: 0;
}
.nav__menu a {
	display: block;
	padding: 8px 14px;
	border-radius: var(--r-full);
	font-size: 0.93rem;
	font-weight: 520;
	color: var(--text-2);
	transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.nav__menu a:hover,
.nav__menu .current-menu-item > a {
	color: var(--text);
	background: var(--bg-mute);
}

.nav__actions { display: flex; align-items: center; gap: 8px; flex: none; }

.theme-toggle {
	width: 38px; height: 38px;
	display: grid; place-items: center;
	border-radius: var(--r-full);
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--text-2);
	cursor: pointer;
	transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.theme-toggle:hover { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme='dark'] .theme-toggle .icon-sun { display: block; }
:root[data-theme='dark'] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme='light']) .theme-toggle .icon-sun { display: block; }
	:root:not([data-theme='light']) .theme-toggle .icon-moon { display: none; }
}

.nav__burger {
	display: none;
	width: 40px; height: 40px;
	place-items: center;
	border-radius: var(--r);
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--text);
	cursor: pointer;
}
.nav__burger svg { width: 20px; height: 20px; }

@media (max-width: 980px) {
	.nav__menu, .nav__actions .btn { display: none; }
	.nav__burger { display: grid; }
	.nav__menu { margin-left: 0; }
}

/* Mobile drawer */
.mobile-nav {
	position: fixed;
	inset: var(--header-h) 0 0;
	z-index: 99;
	background: var(--bg);
	padding: 24px var(--gutter) 40px;
	overflow-y: auto;
	transform: translateY(-8px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav ul { list-style: none; margin: 0 0 22px; padding: 0; }
.mobile-nav a {
	display: block;
	padding: 13px 4px;
	font-size: 1.06rem;
	font-weight: 560;
	color: var(--text);
	border-bottom: 1px solid var(--border-soft);
}
.mobile-nav .btn { margin-bottom: 10px; }
body.nav-open { overflow: hidden; }

/* ══ Aurora backdrop ══ */
.aurora {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}
.aurora::before,
.aurora::after {
	content: '';
	position: absolute;
	width: 640px; height: 640px;
	border-radius: 50%;
	filter: blur(110px);
	opacity: 0.5;
}
.aurora::before {
	background: color-mix(in srgb, var(--brand) 55%, transparent);
	top: -280px; left: -160px;
}
.aurora::after {
	background: color-mix(in srgb, var(--brand-2) 50%, transparent);
	top: -200px; right: -200px;
}
:root[data-theme='dark'] .aurora::before,
:root[data-theme='dark'] .aurora::after { opacity: 0.32; }

/* ══ Hero ══ */
.hero {
	position: relative;
	padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
	overflow: hidden;
}
.hero > .container { position: relative; z-index: 1; }
.hero__inner { max-width: 800px; margin: 0 auto; text-align: center; }
.hero__title { margin-bottom: 20px; }
.hero__sub {
	font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.2rem);
	color: var(--text-2);
	max-width: 620px;
	margin: 0 auto 30px;
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-bottom: 18px;
}
.hero__note { font-size: 0.86rem; color: var(--text-3); margin: 0; }

.hero__visual {
	position: relative;
	z-index: 1;
	margin-top: var(--gap-block);
	border-radius: var(--r-xl);
	border: 1px solid var(--border);
	background: var(--surface);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}
.hero__visual img { width: 100%; }

/* Browser-chrome mock used when no screenshot is uploaded */
.mock__bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 13px 18px;
	background: var(--bg-soft);
	border-bottom: 1px solid var(--border);
}
.mock__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border); }
.mock__url {
	margin-left: 10px;
	font-size: 0.76rem;
	color: var(--text-3);
	font-family: var(--font-mono);
}
/* The product frame. Every box in here carries real text — see the note in
   template-parts/hero.php about why empty tiles were a bug, not a style. */
.mock { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 320px; }

.mock__side {
	border-right: 1px solid var(--border);
	background: var(--bg-soft);
	padding: 18px 14px;
}
.mock__brand { display: flex; align-items: center; gap: 9px; font-weight: 650; font-size: 0.9rem; margin-bottom: 22px; }
.mock__brand-mark {
	width: 26px; height: 26px;
	border-radius: 8px;
	background: var(--brand-grad);
	color: #fff;
	display: grid; place-items: center;
	font-size: 13px; font-weight: 800;
	flex: none;
}
.mock__side-label {
	display: block;
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-3);
	margin-bottom: 10px;
	padding-left: 8px;
}
.mock__nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mock__nav li {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 8px 10px;
	border-radius: 9px;
	font-size: 0.82rem;
	color: var(--text-2);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.mock__nav li.is-active {
	background: color-mix(in srgb, var(--brand) 12%, transparent);
	color: var(--text);
	font-weight: 600;
}
.mock__nav-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); flex: none; }
.mock__nav li.is-active .mock__nav-dot { background: var(--brand); }

.mock__main { padding: 18px 20px 24px; }
.mock__topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 14px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--border-soft);
}
.mock__crumb { font-weight: 650; font-size: 0.95rem; color: var(--text); }
.mock__chip {
	font-size: 0.7rem;
	color: var(--text-3);
	border: 1px solid var(--border);
	border-radius: var(--r-full);
	padding: 4px 11px;
	white-space: nowrap;
}
.mock__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mock__card {
	border: 1px solid var(--border-soft);
	border-radius: var(--r);
	background: var(--surface);
	padding: 13px 14px;
	min-height: 74px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.mock__card-label {
	font-size: 0.76rem;
	color: var(--text-2);
	line-height: 1.35;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.mock__card-bar { display: block; height: 5px; border-radius: 3px; background: var(--bg-mute); overflow: hidden; }
.mock__card-bar span { display: block; height: 100%; border-radius: 3px; background: var(--brand-grad); }

@media (max-width: 720px) {
	.mock { grid-template-columns: minmax(0, 1fr); }
	.mock__side { border-right: 0; border-bottom: 1px solid var(--border); }
	.mock__nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
	.mock__side-label { display: none; }
	.mock__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ══ Stats ══ */
.stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 2px;
	border-radius: var(--r-lg);
	overflow: hidden;
	background: var(--border-soft);
	border: 1px solid var(--border);
}
.stat { background: var(--surface); padding: 26px 22px; text-align: center; }
.stat__num {
	font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
	background: var(--brand-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.stat__label { font-size: 0.86rem; color: var(--text-3); margin: 6px 0 0; }

/* ══ Logos strip ══ */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 44px; }
.logos__label {
	width: 100%;
	text-align: center;
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-3);
	margin-bottom: 4px;
}
.logos img { max-height: 30px; width: auto; opacity: 0.55; filter: grayscale(1); transition: opacity 0.2s var(--ease), filter 0.2s var(--ease); }
.logos img:hover { opacity: 1; filter: none; }
.logos span { font-size: 1.16rem; font-weight: 700; color: var(--text-3); letter-spacing: -0.02em; }

/* ══ Cards ══ */
.card {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: 26px;
	box-shadow: var(--shadow-sm);
	transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: color-mix(in srgb, var(--brand) 30%, var(--border));
}
.card h3 { margin-bottom: 8px; font-size: 1.08rem; }
.card p { margin: 0; font-size: 0.94rem; }

.card__icon {
	width: 46px; height: 46px;
	border-radius: 13px;
	display: grid; place-items: center;
	margin-bottom: 16px;
	background: color-mix(in srgb, var(--brand) 12%, transparent);
	color: var(--brand);
	font-size: 21px;
	line-height: 1;
}
.card__icon svg { width: 22px; height: 22px; }
.card--accent .card__icon { background: var(--brand-grad); color: #fff; }

.card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 16px;
	font-size: 0.88rem;
	font-weight: 600;
}
.card__link::after { content: '→'; transition: transform 0.18s var(--ease); }
.card:hover .card__link::after { transform: translateX(3px); }

/* Feature card as a whole-card link */
.card--linked { display: block; color: inherit; }
.card--linked:hover { color: inherit; }

/* ══ App cards ══
 *
 * Built to the same craft as the AI band (the one section that already reads
 * as designed): a soft radial tint instead of a flat fill, a hairline border,
 * a lift on hover, and an icon tile tinted with its own colour rather than a
 * saturated block. The difference is key, not quality: this section stays
 * LIGHT, so the tints are a few percent rather than a dark wash.
 *
 * Each card carries `--tile`, the app's own colour from the platform, so the
 * tile, its tint and the hover ring all follow one declaration.
 */
.app-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	align-items: stretch;
}

.app-card {
	--tile: var(--brand);
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 26px 24px;
	border-radius: var(--r-lg);
	border: 1px solid var(--border);
	background:
		radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--tile) 9%, transparent) 0%, transparent 58%),
		var(--surface);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

/* A hairline of the app's colour along the top edge, revealed on hover. The
   same signature the header uses along its bottom edge. */
.app-card::before {
	content: '';
	position: absolute;
	inset: 0 0 auto;
	height: 2px;
	background: linear-gradient(90deg, var(--tile), transparent 75%);
	opacity: 0;
	transition: opacity 0.22s var(--ease);
}

.app-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 44px -26px color-mix(in srgb, var(--tile) 65%, transparent), var(--shadow);
	border-color: color-mix(in srgb, var(--tile) 32%, var(--border));
}
.app-card:hover::before { opacity: 1; }

.app-card__head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }

.app-card__mark {
	width: 46px; height: 46px;
	border-radius: 14px;
	display: grid; place-items: center;
	font-size: 20px;
	flex: none;
	color: var(--tile);
	background: color-mix(in srgb, var(--tile) 14%, transparent);
	border: 1px solid color-mix(in srgb, var(--tile) 22%, transparent);
	transition: transform 0.22s var(--ease);
}
.app-card:hover .app-card__mark { transform: scale(1.06) rotate(-3deg); }

.app-card__id { min-width: 0; }
.app-card h3 { margin: 0 0 2px; font-size: 1.08rem; }

/* The price is a fact buyers are looking for, so it is legible rather than a
   line of tiny grey uppercase under the name. */
.app-card__price {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 650;
	color: var(--tile);
	background: color-mix(in srgb, var(--tile) 10%, transparent);
	padding: 2px 9px;
	border-radius: var(--r-full);
}

.app-card__desc { font-size: 0.92rem; margin: 0; color: var(--text-2); }

.app-card__modules {
	list-style: none;
	margin: 15px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.app-card__modules li {
	font-size: 0.75rem;
	padding: 4px 10px;
	border-radius: var(--r-full);
	background: var(--bg-mute);
	color: var(--text-2);
	border: 1px solid var(--border-soft);
}
.app-card__modules li.is-more {
	background: transparent;
	border-style: dashed;
	color: var(--text-3);
	font-weight: 600;
}

/* Pinned to the bottom so every card's button sits on one line regardless of
   how many modules the app has. Without this a six-module card and a
   twelve-module card put their buttons at different heights. */
.app-card__foot { margin-top: auto; padding-top: 18px; }
.app-card__foot .btn svg { transition: transform 0.18s var(--ease); }
.app-card__foot .btn:hover svg { transform: translateX(3px); }

/* ══ Roadmap strip ══
 * Only rendered when the roadmap is switched back on in the Customizer. Kept
 * deliberately compact: these entries have no modules and one line of text, so
 * a full card would be mostly empty space. */
.app-roadmap { margin-top: 26px; }
.app-roadmap__label {
	margin: 0 0 10px;
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--text-3);
}
.app-roadmap__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.app-soon {
	--tile: var(--text-3);
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 11px 14px;
	border-radius: var(--r);
	border: 1px dashed var(--border);
	background: color-mix(in srgb, var(--bg-mute) 55%, transparent);
}
.app-soon__mark {
	flex: none;
	width: 30px; height: 30px;
	display: grid; place-items: center;
	border-radius: 9px;
	color: var(--tile);
	background: color-mix(in srgb, var(--tile) 12%, transparent);
}
.app-soon__body { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; }
.app-soon__name { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.app-soon__desc { font-size: 0.78rem; color: var(--text-3); }
.app-soon__chip {
	flex: none;
	font-size: 0.7rem;
	font-weight: 650;
	color: var(--text-3);
	white-space: nowrap;
}

/* ══ Split feature rows ══ */
.split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--gap-block);
	align-items: center;
}
.split + .split { margin-top: clamp(56px, 7vw, 96px); }
.split--flip .split__media { order: -1; }
.split__media {
	border-radius: var(--r-xl);
	border: 1px solid var(--border);
	background: var(--bg-soft);
	box-shadow: var(--shadow);
	overflow: hidden;
	min-height: 280px;
}
.split__list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.split__list li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.96rem; color: var(--text-2); }
.split__list svg { width: 20px; height: 20px; flex: none; color: var(--brand); margin-top: 2px; }
@media (max-width: 860px) {
	.split { grid-template-columns: minmax(0, 1fr); }
	.split--flip .split__media { order: 0; }
}

/* ══ Pricing ══ */
.pricing { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }

/* ══ Pricing: the single-plan layout ══
 *
 * One plan is this platform's NORMAL state (free base plan, then per-app and
 * per-pack pricing), not a half-loaded page. Left alone, auto-fit stretches
 * that one card across the whole 1180px container and the price floats in a
 * band of whitespace.
 *
 * So a lone plan becomes a two-part spotlight: the plan itself, and the live
 * per-app prices beside it. Sized 1fr / 0.85fr rather than evenly, because the
 * plan is the offer and the app list is the supporting detail.
 */
.pricing--solo {
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
	gap: 20px;
	align-items: stretch;
}

/* The card reflows internally too: identity and action on the left, the
   included list on the right, so nothing has to stretch to fill a wide box. */
.pricing--solo .plan {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	column-gap: 34px;
	align-content: start;
	padding: 34px 32px;
}
.pricing--solo .plan > * { grid-column: 1; }

/* The list takes the right half and spans however many rows the left needs. */
.pricing--solo .plan__features {
	grid-column: 2;
	grid-row: 1 / -1;
	align-self: center;
	margin: 0;
	padding-left: 30px;
	border-left: 1px solid var(--border);
}

.pricing--solo .plan__name { font-size: 1.35rem; }
.pricing--solo .plan__price { margin-top: 6px; }
.pricing--solo .plan__cta { margin-top: 22px; }
.pricing--solo .plan__cta .btn { max-width: 260px; }

/* ══ The companion app-price panel ══ */
.plan-apps {
	display: flex;
	flex-direction: column;
	border-radius: var(--r-lg);
	border: 1px solid var(--border);
	padding: 30px 26px;
	/* Tinted rather than plain surface, so it reads as context around the
	   plan instead of a second thing competing to be chosen. */
	background:
		radial-gradient(120% 100% at 100% 0%, color-mix(in srgb, var(--brand) 9%, transparent) 0%, transparent 60%),
		var(--bg-soft);
}

.plan-apps__eyebrow {
	margin: 0 0 6px;
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--brand);
}
.plan-apps__title { margin: 0 0 6px; font-size: 1.18rem; }
.plan-apps__sub { margin: 0 0 18px; font-size: 0.9rem; color: var(--text-2); }

.plan-apps__list {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.plan-app {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 9px 12px;
	border-radius: var(--r);
	background: var(--surface);
	border: 1px solid var(--border-soft);
}

.plan-app__tile {
	--tile: var(--brand);
	flex: none;
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	border-radius: 9px;
	font-size: 0.9rem;
	color: var(--tile);
	background: color-mix(in srgb, var(--tile) 13%, transparent);
}
.plan-app__tile svg { width: 17px; height: 17px; }

.plan-app__name {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text);
	flex: 1 1 auto;
	min-width: 0;
}
.plan-app__price {
	flex: none;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--text-2);
	text-align: right;
}

.plan-apps__link {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.88rem;
	font-weight: 600;
}
.plan-apps__link svg { transition: transform 0.18s var(--ease); }
.plan-apps__link:hover svg { transform: translateX(3px); }

/* Below ~1000px the two halves stop being readable side by side: the feature
   list gets a column too narrow for its longest line, so both split. */
@media (max-width: 1000px) {
	.pricing--solo { grid-template-columns: minmax(0, 1fr); }
	.pricing--solo .plan { grid-template-columns: minmax(0, 1fr); }
	.pricing--solo .plan > *,
	.pricing--solo .plan__features { grid-column: 1; }
	.pricing--solo .plan__features {
		grid-row: auto;
		padding-left: 0;
		border-left: 0;
		margin-top: 20px;
	}
	.pricing--solo .plan__cta .btn { max-width: none; }
}
.plan {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: 30px 26px;
	box-shadow: var(--shadow-sm);
	transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--featured {
	border-color: transparent;
	box-shadow: var(--shadow-lg);
	background:
		linear-gradient(var(--surface), var(--surface)) padding-box,
		var(--brand-grad) border-box;
	border: 2px solid transparent;
}
.plan__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); }
.plan__name { font-size: 1.06rem; font-weight: 700; margin: 0 0 4px; }
.plan__blurb { font-size: 0.88rem; color: var(--text-3); margin: 0 0 18px; min-height: 2.6em; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan__amount { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.plan__period { font-size: 0.9rem; color: var(--text-3); }
.plan__note { font-size: 0.8rem; color: var(--text-3); margin: 0 0 22px; }
.plan__features { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.plan__features li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--text-2); }
.plan__features svg { width: 18px; height: 18px; flex: none; color: var(--brand); margin-top: 3px; }
.plan__cta { margin-top: auto; }

.billing-switch {
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	border-radius: var(--r-full);
	background: var(--bg-mute);
	border: 1px solid var(--border);
	margin: 0 auto 40px;
}
.billing-switch button {
	border: 0;
	background: transparent;
	padding: 9px 20px;
	border-radius: var(--r-full);
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--text-2);
	cursor: pointer;
	transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.billing-switch button.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.billing-switch .save { font-size: 0.72rem; color: var(--brand); font-weight: 700; margin-left: 5px; }
.billing-switch-wrap { text-align: center; }

/* ══ Capacity packs ══ */
/* ══ Capacity packs ══
 *
 * There are 38 of these across four groups, which is the whole design problem:
 * on a plain grid it reads as a spreadsheet someone pasted in. Three things fix
 * it without hiding anything.
 *
 *   1. Each GROUP announces its size, so you can size up four groups before
 *      reading a single card.
 *   2. Each CARD leads with its number. The amount is what a buyer scans for;
 *      the name is confirmation.
 *   3. SCOPE is a labelled pill, not a grey line. It is the one fact a
 *      hand-written pricing page always gets wrong, and pooled-vs-per-workspace
 *      changes what the pack is worth.
 */
.pack-group + .pack-group { margin-top: var(--gap-block); }

.pack-group__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--text-2);
	font-weight: 700;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--border);
}

/* A short gradient rule before the name, the same accent the eyebrow uses. */
.pack-group__title::before {
	content: '';
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: var(--brand-grad);
	flex: none;
}

.pack-group__count {
	margin-left: auto;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--brand);
	background: color-mix(in srgb, var(--brand) 11%, transparent);
	border-radius: var(--r-full);
	padding: 2px 9px;
}

.pack-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
}

.pack {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	color: inherit;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-md);
	padding: 18px;
	box-shadow: var(--shadow-sm);
	transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.pack::before {
	content: '';
	position: absolute;
	inset: 0 0 auto;
	height: 2px;
	background: var(--brand-grad);
	opacity: 0;
	transition: opacity 0.2s var(--ease);
}

.pack:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--brand) 34%, var(--border));
	box-shadow: 0 18px 34px -24px color-mix(in srgb, var(--brand) 60%, transparent), var(--shadow);
	color: inherit;
}
.pack:hover::before { opacity: 1; }

.pack__head { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.pack__icon {
	width: 30px; height: 30px;
	border-radius: 9px;
	display: grid; place-items: center;
	background: color-mix(in srgb, var(--brand) 12%, transparent);
	color: var(--brand);
	border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
	flex: none;
	transition: transform 0.2s var(--ease);
}
.pack:hover .pack__icon { transform: scale(1.08); }

.pack__name { font-size: 0.86rem; font-weight: 620; color: var(--text-2); }

.pack__amount {
	font-size: 1.55rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: var(--text);
}
.pack__unit { display: block; font-size: 0.78rem; font-weight: 500; color: var(--text-3); letter-spacing: 0; margin-top: 2px; }

/* Pinned, so cards with a one-line and a two-line unit still align. */
.pack__price {
	margin-top: auto;
	padding-top: 12px;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--brand);
}

.pack__scope {
	margin-top: 8px;
	align-self: flex-start;
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--text-3);
	background: var(--bg-mute);
	border: 1px solid var(--border-soft);
	border-radius: var(--r-full);
	padding: 3px 9px;
}

/* Pooled capacity is worth more than per-workspace capacity, so it is the one
   that gets colour. */
.pack__scope.is-pooled {
	color: var(--brand);
	background: color-mix(in srgb, var(--brand) 10%, transparent);
	border-color: color-mix(in srgb, var(--brand) 22%, transparent);
}

/* ══ Testimonials ══ */
.quote {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: 28px;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
}
.quote__stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 12px; font-size: 0.9rem; }
.quote__text { font-size: 1rem; color: var(--text); line-height: 1.7; margin: 0 0 22px; }
.quote__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__avatar {
	width: 42px; height: 42px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--brand-grad);
	display: grid; place-items: center;
	color: #fff; font-weight: 700; font-size: 15px;
	flex: none;
}
.quote__name { font-weight: 650; font-size: 0.93rem; color: var(--text); }
.quote__role { font-size: 0.82rem; color: var(--text-3); }

/* ══ FAQ ══ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-md);
	overflow: hidden;
	transition: border-color 0.2s var(--ease);
}
.faq__item[open] { border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); }
.faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	list-style: none;
	color: var(--text);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
	content: '+';
	font-size: 1.4rem;
	font-weight: 400;
	color: var(--brand);
	line-height: 1;
	transition: transform 0.2s var(--ease);
	flex: none;
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 22px 20px; }
.faq__a p:last-child { margin-bottom: 0; }

/* ══ CTA band ══ */
.cta-band {
	position: relative;
	overflow: hidden;
	border-radius: var(--r-xl);
	background: var(--brand-grad);
	color: #fff;
	padding: clamp(30px, 3.6vw, 48px) clamp(22px, 4vw, 44px);
	text-align: center;
	box-shadow: var(--shadow-lg);
}
.cta-band::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(600px circle at 20% 0%, rgba(255, 255, 255, 0.22), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, 0.88); max-width: 560px; margin: 0 auto 26px; font-size: 1.04rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-band__note { margin-top: 18px; font-size: 0.84rem; color: rgba(255, 255, 255, 0.72); }

/* ══ Page hero (interior pages) ══ */
.page-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(32px, 3.8vw, 54px) 0 clamp(24px, 2.8vw, 38px);
	background: var(--bg-soft);
	border-bottom: 1px solid var(--border);
	text-align: center;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero p { max-width: 620px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumbs { font-size: 0.83rem; color: var(--text-3); margin-bottom: 14px; }
.breadcrumbs a { color: var(--text-3); }
.breadcrumbs a:hover { color: var(--brand); }

/* ══ Content / block editor output ══ */
.entry-content { font-size: 1.03rem; }
.entry-content > * { margin-bottom: 1.15em; }
.entry-content h2 { margin-top: 1.8em; }
.entry-content h3 { margin-top: 1.5em; }
.entry-content img, .entry-content .wp-block-image img { border-radius: var(--r-md); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; color: var(--text-2); }
.entry-content li { margin-bottom: 0.5em; }
.entry-content blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--brand);
	font-size: 1.1rem;
	color: var(--text);
}
.entry-content code {
	font-family: var(--font-mono);
	font-size: 0.88em;
	background: var(--bg-mute);
	padding: 2px 6px;
	border-radius: 6px;
}
.entry-content pre {
	background: var(--bg-mute);
	border: 1px solid var(--border);
	border-radius: var(--r-md);
	padding: 18px;
	overflow-x: auto;
}
.entry-content pre code { background: none; padding: 0; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; }
.entry-content .alignwide { width: min(100vw - 2 * var(--gutter), 1180px); margin-inline: auto; }
.entry-content .alignfull { width: 100vw; margin-inline: calc(50% - 50vw); max-width: none; }

/* ══ Blog ══ */
.posts { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__thumb { aspect-ratio: 16 / 9; background: var(--bg-mute); overflow: hidden; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: 0.78rem; color: var(--text-3); margin-bottom: 9px; display: flex; gap: 8px; align-items: center; }
.post-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.post-card h3 a { color: var(--text); }
.post-card h3 a:hover { color: var(--brand); }
.post-card p { font-size: 0.92rem; margin-bottom: 14px; }
.post-card .card__link { margin-top: auto; }

.single-hero { text-align: center; max-width: 760px; margin: 0 auto; }
.single-meta { font-size: 0.88rem; color: var(--text-3); margin-bottom: 18px; }
.single-thumb { margin: clamp(28px, 4vw, 44px) 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.pagination .page-numbers {
	display: grid; place-items: center;
	min-width: 40px; height: 40px;
	padding-inline: 12px;
	border-radius: var(--r);
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--text-2);
	font-size: 0.9rem;
	font-weight: 550;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--brand-grad); color: #fff; border-color: transparent; }

/* ══ Contact ══ */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 4vw, 52px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.87rem; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.field input, .field textarea, .field select {
	width: 100%;
	padding: 12px 14px;
	border-radius: var(--r);
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--text);
	font-family: inherit;
	font-size: 0.95rem;
	transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 0.83rem; color: var(--text-3); }

.notice { padding: 14px 18px; border-radius: var(--r); font-size: 0.92rem; margin-bottom: 20px; }
.notice--ok { background: color-mix(in srgb, #10b981 12%, transparent); color: #047857; border: 1px solid color-mix(in srgb, #10b981 32%, transparent); }
.notice--err { background: color-mix(in srgb, #ef4444 12%, transparent); color: #b91c1c; border: 1px solid color-mix(in srgb, #ef4444 32%, transparent); }
:root[data-theme='dark'] .notice--ok { color: #6ee7b7; }
:root[data-theme='dark'] .notice--err { color: #fca5a5; }

.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.info-card + .info-card { margin-top: 16px; }
.info-row { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 16px; }
.info-row:last-child { margin-bottom: 0; }
.info-row svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 3px; }
.info-row strong { display: block; font-size: 0.85rem; color: var(--text); }
.info-row span { font-size: 0.9rem; color: var(--text-2); }

/* ══ AI band ══
   The one dark section on the page. It is dark on purpose: AI is the claim
   buyers compare across platforms, so it has to interrupt the scroll rather
   than be the fifth white card grid in a row. */
.ai-band {
	position: relative;
	overflow: hidden;
	background: #0b1020;
	color: #e7ecf7;
	margin-block: clamp(8px, 2vw, 24px);
}
.ai-band::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(900px circle at 15% -10%, color-mix(in srgb, var(--brand) 42%, transparent), transparent 62%),
		radial-gradient(700px circle at 88% 8%, color-mix(in srgb, var(--brand-2) 38%, transparent), transparent 60%);
	opacity: 0.85;
}
.ai-band > .container { position: relative; z-index: 1; }
.ai-band h2 { color: #ffffff; }
.ai-band .section__head p { color: rgba(231, 236, 247, 0.72); }
.eyebrow--light { color: #c7b8ff; }
.eyebrow--light::before { background: linear-gradient(90deg, #c7b8ff, transparent); }

.ai-card {
	background: rgba(255, 255, 255, 0.055);
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: var(--r-lg);
	padding: 24px;
	backdrop-filter: blur(10px);
	transition: transform 0.22s var(--ease), background-color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.ai-card:hover {
	transform: translateY(-4px);
	background: rgba(255, 255, 255, 0.09);
	border-color: rgba(255, 255, 255, 0.22);
}
.ai-card__icon {
	width: 42px; height: 42px;
	border-radius: 12px;
	display: grid; place-items: center;
	margin-bottom: 15px;
	background: var(--brand-grad);
	color: #fff;
	box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.9);
}
.ai-card h3 { color: #ffffff; font-size: 1.05rem; margin-bottom: 4px; }
.ai-card__meta {
	display: block;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #a99cf0;
	margin-bottom: 10px;
}
.ai-card p { color: rgba(231, 236, 247, 0.7); font-size: 0.93rem; margin: 0; }

.ai-band__foot { text-align: center; margin-top: var(--gap-head); }
.ai-band__foot p { margin: 16px 0 0; font-size: 0.88rem; color: rgba(231, 236, 247, 0.55); }

/* ══ Footer ══ */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); }

.footer-cta { border-bottom: 1px solid var(--border); padding: clamp(22px, 2.6vw, 32px) 0; }
.footer-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 22px 40px;
}
.footer-cta h3 { font-size: 1.15rem; margin: 0 0 4px; }
.footer-cta p { margin: 0; font-size: 0.92rem; max-width: 460px; }

.footer-subscribe { display: flex; gap: 9px; flex-wrap: wrap; position: relative; }
.footer-subscribe input[type='email'] {
	min-width: 260px;
	flex: 1;
	padding: 12px 16px;
	border-radius: var(--r-full);
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--text);
	font-family: inherit;
	font-size: 0.93rem;
}
.footer-subscribe input[type='email']:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
@media (max-width: 560px) {
	.footer-subscribe { width: 100%; }
	.footer-subscribe input[type='email'] { min-width: 0; }
	.footer-subscribe .btn { width: 100%; }
}

/**
 * Flex, not a fixed grid.
 *
 * This was `grid-template-columns: 1.7fr repeat(5, 1fr)` — six tracks for what
 * is now five blocks, so the sixth stayed empty and the whole footer bunched
 * against the left edge with a dead gutter on the right. A hard-coded column
 * count breaks the moment a menu is added or removed, which on this site is a
 * thing editors are expected to do.
 *
 * Flex distributes whatever is actually rendered across the full width, so the
 * footer stays balanced with four columns or with six.
 */
.footer-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 40px 32px;
	padding: clamp(30px, 3.4vw, 44px) 0 32px;
}
.footer-grid .footer-about { flex: 1 1 300px; max-width: 380px; }
.footer-grid .footer-col { flex: 1 1 150px; min-width: 140px; }

@media (max-width: 860px) {
	.footer-grid .footer-about { flex: 1 1 100%; max-width: none; }
	.footer-grid .footer-col { flex: 1 1 40%; }
}
@media (max-width: 520px) {
	.footer-grid { gap: 30px; }
	.footer-grid .footer-col { flex: 1 1 100%; }
}

.footer-contact { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.footer-contact li { display: flex; align-items: center; gap: 9px; font-size: 0.88rem; }
.footer-contact svg { color: var(--text-3); flex: none; }
.footer-contact a { color: var(--text-2); }
.footer-contact a:hover { color: var(--brand); }

.footer-more { font-weight: 600; color: var(--brand) !important; }

.footer-trust {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	padding: 18px 20px;
	margin-bottom: 22px;
	border-radius: var(--r-md);
	background: var(--surface);
	border: 1px solid var(--border);
	font-size: 0.87rem;
	color: var(--text-2);
	line-height: 1.6;
}
.footer-trust svg { color: var(--brand); flex: none; margin-top: 2px; }

.footer-region { display: inline-flex; align-items: center; gap: 6px; }
.footer-region svg { flex: none; }

.footer-about p { font-size: 0.92rem; margin: 16px 0 18px; }
.footer-col h4 {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--text-3);
	margin-bottom: 14px;
	font-weight: 650;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 0.92rem; color: var(--text-2); }
.footer-col a:hover { color: var(--brand); }

.socials { display: flex; gap: 9px; }
.socials a {
	width: 36px; height: 36px;
	display: grid; place-items: center;
	border-radius: var(--r);
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--text-2);
}
.socials a:hover { color: #fff; background: var(--brand-grad); border-color: transparent; }
.socials svg { width: 17px; height: 17px; }

.footer-bottom {
	border-top: 1px solid var(--border);
	padding: 20px 0 26px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	align-items: center;
	justify-content: space-between;
	font-size: 0.86rem;
	color: var(--text-3);
}
.footer-bottom ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-bottom a { color: var(--text-3); }
.footer-bottom a:hover { color: var(--brand); }

/* ══ Cookie bar ══ */
.cookie-bar {
	position: fixed;
	left: 16px; right: 16px; bottom: 16px;
	z-index: 200;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-lg);
	padding: 18px 20px;
	max-width: 720px;
	margin-inline: auto;
	transform: translateY(14px);
	opacity: 0;
	transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.cookie-bar.is-open { opacity: 1; transform: none; }
.cookie-bar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
}
.cookie-bar p { margin: 0; font-size: 0.89rem; line-height: 1.6; flex: 1 1 320px; }
.cookie-bar__actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 520px) {
	.cookie-bar__actions { width: 100%; }
	.cookie-bar__actions .btn { flex: 1; }
}

/* ══ Legal pages ══ */
.legal-draft {
	background: color-mix(in srgb, #f59e0b 12%, transparent);
	border: 1px solid color-mix(in srgb, #f59e0b 34%, transparent);
	border-radius: var(--r);
	padding: 14px 18px;
	font-size: 0.92rem;
	color: var(--text);
}
.entry-content .wp-block-table table { font-size: 0.92rem; }
.entry-content .wp-block-table th { background: var(--bg-mute); }

/* ══ Reveal on scroll ══ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ══ Admin bar offset ══ */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .mobile-nav { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
	body.admin-bar .mobile-nav { top: calc(var(--header-h) + 46px); }
}
