/* =========================================================================
   OPERINES — design system
   Enterprise white canvas, bold Poppins display, Operines purple as signal.
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
/* Warm, optimistic, illustration-led enterprise canvas: cream ground,
   near-black ink, vivid Operines purple as the single strong accent. */
:root {
	/* Surfaces */
	--paper: #faf7f1;
	--paper-2: #f2edf3;
	--paper-3: #e9e1ea;
	--card: #ffffff;

	/* Ink */
	--ink: #1b1523;
	--ink-2: #4a4353;
	--muted: #6f6779;
	--faint: #7e7687;

	/* Brand */
	--purple: #5c1c75;          /* vivid brand accent, AA on cream */
	--purple-soft: #7b2f9b;
	--purple-brand: #4f1964;
	--purple-deep: #2c0e3a;
	--purple-night: #1e0729;
	--lavender: #efe4f4;
	--lavender-2: #e0cdea;
	--violet-bright: #c99cf0;
	--grad: linear-gradient(98deg, #7b2f9b, #4f1964 55%, #a3419b);

	/* Signals */
	--ok: #1f7a55;
	--ok-bright: #35b380;
	--pending: #a06a10;
	--warn: #b04a2e;

	/* Lines */
	--line: #e7dfe6;
	--line-strong: #d6cbd6;
	--line-dark: rgba(255, 255, 255, 0.14);

	/* Type */
	--font-display: "Poppins", "IBM Plex Sans Arabic", system-ui, -apple-system, sans-serif;
	--font-body: "Inter", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;

	/* Rhythm */
	--container: 1200px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--section-y: clamp(4.5rem, 9vw, 7.5rem);
	--radius-s: 8px;
	--radius-m: 16px;
	--radius-pill: 999px;

	--shadow-soft: 0 1px 2px rgba(27, 21, 35, 0.05), 0 12px 36px rgba(27, 21, 35, 0.08);

	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-feature-settings: "cv05" 1, "cv11" 1;
}

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

/* The hidden attribute must always win over component display rules. */
[hidden] { display: none !important; }

a { color: inherit; }

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

.skip-link {
	position: absolute;
	inset-inline-start: 1rem;
	top: -4rem;
	z-index: 200;
	background: var(--purple);
	color: #fff;
	padding: 0.6rem 1rem;
	border-radius: var(--radius-s);
	transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

::selection { background: var(--lavender-2); color: var(--ink); }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.025em;
	margin: 0 0 0.6em;
	color: var(--ink);
	text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 700; }
.grad-text {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.22; }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lede {
	font-size: clamp(1.125rem, 1.8vw, 1.3rem);
	line-height: 1.6;
	color: var(--ink-2);
	max-width: 44em;
}

.eyebrow {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--purple);
	margin: 0 0 1.1rem;
}

.on-dark .eyebrow, .eyebrow--light { color: var(--violet-bright); }

/* ---------- 4. Layout ---------- */
.container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--line { border-top: 1px solid var(--line); }
.section--tone { background: var(--paper-2); }

.on-dark {
	background: linear-gradient(180deg, #241031, #321545 55%, #241031);
	color: rgba(255, 255, 255, 0.88);
}
.on-dark h2, .on-dark h3 { color: #fff; }

.section-head { max-width: 46em; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lede { margin-top: 0.8rem; }

.grid-2 { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.grid-3 { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) {
	.grid-2 { grid-template-columns: minmax(0, 1fr); }
	.grid-3 { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}

.br-wide { display: none; }
@media (min-width: 900px) { .br-wide { display: inline; } }

/* ---------- 5. Buttons, links, chips ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-family: var(--font-body);
	font-size: 0.98rem;
	font-weight: 560;
	line-height: 1;
	padding: 0.95rem 1.6rem;
	border-radius: 10px;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background-color 0.18s var(--ease-out), border-color 0.18s var(--ease-out), color 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}
.btn .icon { transition: transform 0.18s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary { background: var(--purple); color: #fff; font-weight: 620; border: 0; }
.btn--primary:hover { background: var(--purple-soft); }

.btn--ghost { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--purple); color: var(--purple); background: var(--lavender); }

.btn--light { background: #fff; color: var(--purple-deep); }
.btn--light:hover { background: var(--lavender); }

.btn--ghost-light { border-color: var(--line-dark); color: #fff; background: transparent; }
.btn--ghost-light:hover { border-color: rgba(255, 255, 255, 0.5); }

.btn--sm { padding: 0.7rem 1.1rem; font-size: 0.92rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }

.textlink {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 560;
	font-size: 0.98rem;
	color: var(--purple);
	text-decoration: none;
}
.textlink .icon { transition: transform 0.18s var(--ease-out); }
.textlink:hover .icon { transform: translateX(3px); }
.textlink span { border-bottom: 1px solid transparent; transition: border-color 0.18s; }
.textlink:hover span { border-color: currentColor; }

.chip {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.85rem;
	font-weight: 520;
	color: var(--ink-2);
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.38rem 0.85rem;
	white-space: nowrap;
}

/* ---------- 6. Header ---------- */
.announce {
	background: #ffffff;
	color: var(--ink);
	font-size: 0.88rem;
	border-bottom: 1px solid var(--line);
}
.announce-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem 1.5rem;
	padding-block: 0.5rem;
}
.announce p { margin: 0; }
.announce a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--purple);
	font-weight: 650;
	text-decoration: none;
}
.announce a:hover { text-decoration: underline; }
@media (max-width: 680px) { .announce p { display: none; } }

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: color-mix(in srgb, var(--paper) 92%, transparent);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.25s, background-color 0.25s;
}
.site-header.is-stuck { border-bottom-color: var(--line); }

.header-inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	height: 4.5rem;
	transition: height 0.25s var(--ease-out);
}
.is-stuck .header-inner { height: 3.9rem; }

.brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: var(--ink);
}
.brand-logo { height: 27px; width: auto; display: block; }
.brand--footer .brand-logo { height: 29px; }

.primary-nav { margin-inline-start: auto; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }

.nav-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.95rem;
	font-weight: 520;
	color: var(--ink-2);
	text-decoration: none;
	padding: 0.55rem 0.8rem;
	border-radius: var(--radius-s);
	background: none;
	border: 0;
	font-family: inherit;
	cursor: pointer;
	transition: color 0.15s, background-color 0.15s;
}
.nav-link:hover, .nav-item.is-open .nav-trigger { color: var(--ink); background: var(--paper-2); }
.nav-link[aria-current="page"] { color: var(--purple); }

.nav-item { position: relative; }
.nav-trigger .chev { transition: transform 0.2s var(--ease-out); }
.nav-item.is-open .nav-trigger .chev { transform: rotate(180deg); }

.nav-panel {
	position: absolute;
	top: calc(100% + 0.75rem);
	inset-inline-start: 50%;
	transform: translateX(-50%) translateY(6px);
	width: min(680px, calc(100vw - 2rem));
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	box-shadow: var(--shadow-soft);
	padding: 1rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out), visibility 0.2s;
}
[dir="rtl"] .nav-panel { transform: translateX(50%) translateY(6px); }
.nav-item.is-open .nav-panel {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}
[dir="rtl"] .nav-item.is-open .nav-panel { transform: translateX(50%) translateY(0); }

.nav-panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; }
.nav-panel-item {
	display: block;
	padding: 0.75rem 0.9rem;
	border-radius: var(--radius-s);
	text-decoration: none;
	transition: background-color 0.15s;
}
.nav-panel-item:hover { background: var(--paper-2); }
.nav-panel-title { display: block; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.nav-panel-desc { display: block; font-size: 0.84rem; color: var(--muted); margin-top: 0.15rem; line-height: 1.45; }
.nav-panel-foot {
	display: flex;
	gap: 1.5rem;
	border-top: 1px solid var(--line);
	margin-top: 0.9rem;
	padding: 0.9rem 0.9rem 0.15rem;
}
.nav-panel-foot .textlink { font-size: 0.9rem; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	color: var(--ink);
	padding: 0.45rem;
	border-radius: var(--radius-s);
	cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
	display: none;
	border-top: 1px solid var(--line);
	background: var(--paper);
	padding: 1.25rem var(--gutter) 2rem;
	max-height: calc(100vh - 4rem);
	overflow: auto;
}
.mobile-nav-group {
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 0.4rem;
	font-weight: 600;
}
.mobile-nav-list { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.mobile-nav-list a {
	display: block;
	padding: 0.55rem 0;
	text-decoration: none;
	font-size: 1.05rem;
	font-weight: 540;
	color: var(--ink);
	border-bottom: 1px solid var(--line);
}
.mobile-nav-list--main a { font-size: 1.15rem; }
.mobile-nav-cta { width: 100%; justify-content: center; }

@media (max-width: 1020px) {
	.primary-nav, .header-cta { display: none; }
	.nav-toggle { display: inline-flex; }
	.mobile-nav[data-open] { display: block; }
}

/* ---------- 7. Footer ---------- */
.site-footer {
	background: var(--purple-night);
	color: rgba(255, 255, 255, 0.72);
	padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
	font-size: 0.95rem;
}
.footer-top {
	display: grid;
	grid-template-columns: 1.2fr 2fr;
	gap: clamp(2rem, 6vw, 5rem);
	padding-bottom: 3rem;
	border-bottom: 1px solid var(--line-dark);
}
.site-footer .brand { color: #fff; }
.footer-tagline {
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.25;
	color: #fff;
	margin: 1.2rem 0 1rem;
}
.footer-region { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.88rem; color: rgba(255, 255, 255, 0.55); }

.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col-title {
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.45);
	margin: 0 0 0.9rem;
}
.footer-col-title--gap { margin-top: 1.8rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { text-decoration: none; color: rgba(255, 255, 255, 0.75); transition: color 0.15s; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	align-items: center;
	padding-top: 1.6rem;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.45);
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover { color: #fff; }

@media (max-width: 860px) {
	.footer-top { grid-template-columns: 1fr; }
	.footer-cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- 8. Hero: the Operating Canvas ---------- */
.hero {
	position: relative;
	padding-block: clamp(3rem, 6.5vw, 5.5rem) clamp(3.5rem, 7vw, 6rem);
	overflow: hidden;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(105deg, #faf6ee 30%, #eee9f5 70%, #e3e4f2 100%);
	pointer-events: none;
}
/* Split illustration hero: big left headline, isometric scene right. */
.hero--split { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.hero-split-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
}
.hero--split .hero-copy h1 {
	font-size: clamp(2.5rem, 4.4vw, 4.1rem);
	line-height: 1.04;
	letter-spacing: -0.03em;
	margin-bottom: 0.45em;
}
.hero-copy .lede { max-width: 32em; }
.hero-visual { position: relative; min-width: 0; padding: 2.5rem 1.5rem; }
.hero-visual::before {
	content: "";
	position: absolute;
	inset: 6% 0;
	background: radial-gradient(55% 60% at 50% 50%, rgba(92, 28, 117, 0.12), transparent 70%);
	filter: blur(22px);
	pointer-events: none;
}
.live-card--hero {
	position: relative;
	max-width: 470px;
	margin-inline: auto;
	min-height: 14.5rem;
}
.float-chip {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--ink-2);
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.45rem 0.85rem;
	box-shadow: var(--shadow-soft);
	white-space: nowrap;
}
.float-chip .icon { color: var(--purple); }
.float-chip--1 { top: 4%; inset-inline-start: 2%; }
.float-chip--2 { bottom: 10%; inset-inline-end: 0; }
.float-chip--3 { bottom: -2%; inset-inline-start: 12%; }
@media (prefers-reduced-motion: no-preference) {
	.float-chip { animation: illo-bob 6s ease-in-out infinite; }
	.float-chip--2 { animation-duration: 7.5s; animation-delay: 0.8s; }
	.float-chip--3 { animation-duration: 8.5s; animation-delay: 1.6s; }
}
@keyframes illo-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

@media (max-width: 980px) {
	.hero-split-grid { grid-template-columns: minmax(0, 1fr); }
	.hero-visual { max-width: 540px; margin-inline: auto; }
}

.hero-frame {
	position: relative;
	margin-top: clamp(2.5rem, 5vw, 4rem);
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	box-shadow: var(--shadow-soft);
	overflow: hidden;
}
.hero-frame-bar {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.2rem;
	border-bottom: 1px solid var(--line);
	background: var(--paper-2);
}
.hero-frame-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.hero-frame-bar .dot:first-child { background: var(--purple); }
.hero-frame-title { font-size: 0.82rem; font-weight: 600; color: var(--muted); margin-inline-start: 0.4rem; }
.hero-frame-body {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(1.5rem, 3.5vw, 3rem);
	align-items: center;
	padding: clamp(1.25rem, 3.5vw, 2.5rem);
	background:
		radial-gradient(36rem 22rem at 85% 0%, rgba(139, 70, 228, 0.14), transparent 65%),
		var(--card);
}

/* Dark product-panel scope: local token overrides keep the console dark. */
.scheme-dark {
	--paper: #0d0713;
	--paper-2: #140b1d;
	--paper-3: #221532;
	--card: #171021;
	--ink: #f5f0fa;
	--ink-2: #cfc5dd;
	--muted: #a99cbb;
	--faint: #9d90af;
	--purple: #b673e6;
	--purple-soft: #cf8ffa;
	--lavender: rgba(182, 115, 230, 0.14);
	--lavender-2: rgba(182, 115, 230, 0.30);
	--line: rgba(255, 255, 255, 0.09);
	--line-strong: rgba(255, 255, 255, 0.18);
	--grad: linear-gradient(98deg, #b673e6, #8b46e4 52%, #e069d8);
	color: var(--ink-2);
}

/* Operations console (product visual) */
.hero-console {
	display: grid;
	grid-template-columns: 3.4rem minmax(0, 1fr);
	background:
		radial-gradient(36rem 22rem at 85% 0%, rgba(139, 70, 228, 0.14), transparent 65%),
		var(--card);
}
.console-side {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
	padding: 1rem 0;
	border-inline-end: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.02);
}
.console-side-logo {
	display: grid;
	place-items: center;
	width: 34px; height: 34px;
	border-radius: 9px;
	background: var(--grad);
	color: #fff;
	margin-bottom: 0.6rem;
}
.console-side-item {
	display: grid;
	place-items: center;
	width: 34px; height: 34px;
	border-radius: 9px;
	color: var(--faint);
}
.console-side-item.is-active { background: var(--lavender); color: var(--purple); }

.console-main { padding: 1.1rem 1.4rem 0.9rem; min-width: 0; }
.console-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.9rem;
}
.console-title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.console-live {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.75rem;
	font-weight: 650;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ok);
}
.console-live .pulse {
	width: 7px; height: 7px; border-radius: 50%;
	background: var(--ok-bright);
	animation: pulse 2s infinite;
}

.console-kpis {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.7rem;
	margin-bottom: 0.9rem;
}
.console-kpi {
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 0.65rem 0.85rem;
	background: rgba(255, 255, 255, 0.02);
	display: grid;
	gap: 0.15rem;
}
.kpi-label {
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--faint);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.kpi-value {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.45rem;
	line-height: 1;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-variant-numeric: tabular-nums;
}
.kpi-value small { font-size: 0.8rem; }
.kpi-value--pending { background: none; color: var(--pending); -webkit-background-clip: initial; }

.console-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 0.7rem;
}
.console-panel {
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 0.85rem 1rem;
	background: rgba(255, 255, 255, 0.02);
	min-width: 0;
}
.console-panel-label {
	font-size: 0.68rem;
	font-weight: 650;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--faint);
	margin: 0 0 0.6rem;
}
.console-panel .hero-map { max-width: 100%; aspect-ratio: 620 / 430; }
.console-panel .hero-ticker {
	background: none;
	border: 0;
	box-shadow: none;
	padding: 0;
	min-height: 7rem;
}
.console-bars {
	display: flex;
	align-items: flex-end;
	gap: 4px;
	height: 44px;
	margin-top: 0.8rem;
	padding-top: 0.6rem;
	border-top: 1px dashed var(--line);
}
.console-bars i {
	flex: 1;
	height: var(--h);
	border-radius: 3px 3px 0 0;
	background: linear-gradient(180deg, rgba(182, 115, 230, 0.85), rgba(139, 70, 228, 0.25));
	transform-origin: bottom;
}
@media (prefers-reduced-motion: no-preference) {
	.console-bars i {
		animation: bar-live 3.2s ease-in-out infinite alternate;
		animation-delay: calc(var(--h) * -0.02s);
	}
}
@keyframes bar-live {
	from { transform: scaleY(0.75); }
	to { transform: scaleY(1.05); }
}
.console-note {
	margin: 0.8rem 0 0.2rem;
	font-size: 0.72rem;
	color: var(--faint);
}
@media (max-width: 900px) {
	.console-grid { grid-template-columns: minmax(0, 1fr); }
	.console-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
	.hero-console { grid-template-columns: minmax(0, 1fr); }
	.console-side { display: none; }
}

/* Simple live-operation card (homepage "see it run"). */
.live-card {
	max-width: 620px;
	margin-inline: auto;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	box-shadow: var(--shadow-soft);
	padding: 1.5rem 1.8rem 1.2rem;
	min-height: 15rem;
}
.live-card .hero-ticker-rows { display: grid; gap: 0.5rem; margin-top: 0.9rem; }
.live-card .hero-ticker-row { font-size: 1rem; }
.live-card .ledger-note { margin-top: 1.1rem; }

.systems-strip {
	margin-top: clamp(2rem, 4vw, 3rem);
	text-align: center;
}
.systems-strip-label {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--faint);
	margin: 0 0 0.9rem;
}
.systems-strip-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 2.2rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.02rem;
	color: var(--muted);
}

.value-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}
.value-item {
	background: var(--paper-2);
	border-radius: var(--radius-m);
	padding: 2rem 1.9rem 1.8rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.4rem;
}
.value-icon {
	display: grid;
	place-items: center;
	width: 46px; height: 46px;
	border-radius: 12px;
	background: var(--lavender);
	color: var(--purple);
	margin-bottom: 0.7rem;
}
.value-item h3 { margin-bottom: 0.2rem; }
.value-item p { color: var(--ink-2); font-size: 0.97rem; flex: 1; }
.value-item .textlink { margin-top: 0.7rem; }
@media (max-width: 900px) {
	.value-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
}
.hero-props {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.4rem;
	margin-top: 2rem;
	padding: 0;
	list-style: none;
	font-size: 0.88rem;
	color: var(--muted);
}
.hero-props li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-props .icon { color: var(--purple); }

/* Canvas: node map + live ticker */
.hero-canvas { position: relative; }
.hero-map {
	position: relative;
	/* All children are absolutely positioned, so the box needs explicit size. */
	width: 100%;
	aspect-ratio: 620 / 520;
	max-width: 620px;
	margin-inline: auto;
}
.hero-map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-map-svg .link-line {
	stroke: var(--line-strong);
	stroke-width: 1.2;
	stroke-dasharray: 4 5;
	transition: stroke 0.4s;
}
.hero-map-svg .link-line.is-active {
	stroke: var(--purple);
	stroke-dasharray: 4 5;
	animation: line-flow 0.9s linear infinite;
}
@keyframes line-flow { to { stroke-dashoffset: -9; } }

.hero-node {
	position: absolute;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	gap: 0.42rem;
	font-size: 0.82rem;
	font-weight: 560;
	color: var(--ink-2);
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.42rem 0.8rem;
	white-space: nowrap;
	box-shadow: 0 1px 2px rgba(25, 19, 32, 0.04);
	transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.hero-node .icon { color: var(--faint); transition: color 0.3s; }
.hero-node.is-active {
	border-color: var(--purple);
	color: var(--purple);
	box-shadow: 0 2px 14px rgba(79, 25, 100, 0.18);
}
.hero-node.is-active .icon { color: var(--purple); }

.hero-core {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: grid;
	justify-items: center;
	gap: 0.3rem;
	text-align: center;
	background: linear-gradient(135deg, #5d1e77, #35104a);
	color: #fff;
	border: 1px solid rgba(201, 156, 240, 0.4);
	border-radius: 14px;
	padding: 1.05rem 1.5rem;
	box-shadow: 0 10px 40px rgba(139, 70, 228, 0.45);
}
.hero-core-logo { height: 24px; width: auto; }
.hero-core-sub { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }

.hero-ticker {
	position: relative;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 0.9rem 1.1rem 0.7rem;
	box-shadow: var(--shadow-soft);
	min-height: 8.4rem;
}
.hero-ticker-head {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 0.55rem;
}
.hero-ticker-head .pulse {
	width: 7px; height: 7px; border-radius: 50%;
	background: var(--ok-bright);
	box-shadow: 0 0 0 0 rgba(76, 197, 147, 0.5);
	animation: pulse 2s infinite;
}
@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(76, 197, 147, 0.45); }
	70% { box-shadow: 0 0 0 7px rgba(76, 197, 147, 0); }
	100% { box-shadow: 0 0 0 0 rgba(76, 197, 147, 0); }
}
.hero-ticker-rows { display: grid; gap: 0.32rem; }
.hero-ticker-row {
	display: flex;
	align-items: baseline;
	gap: 0.7rem;
	font-size: 0.88rem;
	color: var(--ink-2);
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.hero-ticker-row.is-in { opacity: 1; transform: none; }
.hero-ticker-row.is-old { opacity: 0.45; }
.hero-ticker-time {
	font-variant-numeric: tabular-nums;
	font-size: 0.78rem;
	color: var(--purple);
	font-weight: 600;
	flex: none;
}
.hero-ticker-note { font-size: 0.72rem; color: var(--faint); margin: 0.55rem 0 0; }

@media (max-width: 900px) {
	.hero-frame-body { grid-template-columns: minmax(0, 1fr); }
	.hero-map { max-width: 480px; }
}
@media (max-width: 680px) {
	.hero-map { display: none; }
	.hero-ticker { margin-top: 0; max-width: 100%; }
}

/* ---------- 9. Flow component ---------- */
.flow-label, .panel-label {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 0.9rem;
}
.flow-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }

.flow--rail .flow-step {
	position: relative;
	padding: 0 0 1.15rem 1.75rem;
	font-size: 0.97rem;
	color: var(--ink-2);
}
[dir="rtl"] .flow--rail .flow-step { padding: 0 1.75rem 1.15rem 0; }
.flow--rail .flow-step:last-child { padding-bottom: 0; }
.flow--rail .flow-dot {
	position: absolute;
	inset-inline-start: 0;
	top: 0.42rem;
	width: 9px; height: 9px;
	border-radius: 50%;
	border: 2px solid var(--purple);
	background: var(--paper);
}
.flow--rail .flow-step::before {
	content: "";
	position: absolute;
	inset-inline-start: 4px;
	top: 1.1rem;
	bottom: 0.15rem;
	width: 1px;
	background: var(--line-strong);
}
.flow--rail .flow-step:last-child::before { display: none; }
.flow--rail .flow-step:last-child .flow-dot { background: var(--purple); }

.flow--chain .flow-steps { display: flex; flex-wrap: wrap; gap: 0.5rem 0; align-items: center; }
.flow--chain .flow-step { display: inline-flex; align-items: center; }
.flow--chain .flow-dot { display: none; }
.flow--chain .flow-text {
	font-size: 0.88rem;
	font-weight: 540;
	color: var(--ink-2);
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.4rem 0.85rem;
}
.flow--chain .flow-step:not(:last-child)::after {
	content: "";
	width: 1.4rem;
	height: 1px;
	margin-inline: 0.15rem;
	background: repeating-linear-gradient(90deg, var(--line-strong) 0 4px, transparent 4px 8px);
}
.flow--chain .flow-step:last-child .flow-text { border-color: var(--purple); color: var(--purple); }

/* Reveal animation for flows */
[data-reveal="flow"] .flow-step { opacity: 0; transform: translateY(6px); }
[data-reveal="flow"].is-revealed .flow-step {
	opacity: 1;
	transform: none;
	transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
	transition-delay: calc(var(--i) * 90ms);
}

/* ---------- 10. Ledger (signature "what automated means") ---------- */
.ledger {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	padding: 1.4rem 1.6rem 1rem;
	font-variant-numeric: tabular-nums;
}
.ledger-row {
	display: flex;
	gap: 1.1rem;
	align-items: baseline;
	padding: 0.42rem 0;
	border-bottom: 1px dashed var(--line);
	font-size: 0.95rem;
}
.ledger-row:last-of-type { border-bottom: 0; }
.ledger-time { color: var(--purple); font-weight: 600; font-size: 0.85rem; flex: none; }
.ledger-event { color: var(--ink-2); }
.ledger-note { font-size: 0.75rem; color: var(--faint); margin: 0.6rem 0 0; }

.ledger--dark { background: rgba(255, 255, 255, 0.05); border-color: var(--line-dark); }
.ledger--dark .ledger-row { border-bottom-color: rgba(255, 255, 255, 0.1); }
.ledger--dark .ledger-time { color: var(--violet-bright); }
.ledger--dark .ledger-event { color: rgba(255, 255, 255, 0.85); }
.ledger--dark .ledger-note { color: rgba(255, 255, 255, 0.4); }

[data-reveal="ledger"] .ledger-row { opacity: 0; transform: translateY(5px); }
[data-reveal="ledger"].is-revealed .ledger-row {
	opacity: 1;
	transform: none;
	transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
	transition-delay: calc(var(--i) * 260ms);
}

.ledger-outro {
	font-family: var(--font-display);
	font-size: clamp(1.3rem, 2.4vw, 1.8rem);
	line-height: 1.35;
	color: var(--ink);
	margin-top: 2rem;
}

/* ---------- 11. The Operines Effect ---------- */
.effect-rows { border-top: 1px solid var(--line-strong); }
.effect-row {
	display: grid;
	grid-template-columns: 0.65fr 1fr 2.5rem 1fr;
	gap: 1.5rem;
	align-items: start;
	padding: 1.7rem 0;
	border-bottom: 1px solid var(--line);
}
.effect-task {
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.25;
}
.effect-cell p { margin: 0.35rem 0 0; font-size: 0.95rem; color: var(--ink-2); }
.effect-tag {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.22rem 0.6rem;
	border-radius: 4px;
}
.effect-tag--before { background: var(--paper-3); color: var(--ink-2); }
.effect-tag--after { background: var(--lavender); color: var(--purple); }
.effect-cost { font-size: 0.85rem; font-weight: 620; margin-top: 0.55rem !important; }
.effect-cell--before .effect-cost { color: var(--warn); }
.effect-cell--after .effect-cost { color: var(--ok); }
.effect-arrow {
	display: grid;
	place-items: center;
	color: var(--purple);
	padding-top: 0.4rem;
}
@media (max-width: 860px) {
	.effect-row { grid-template-columns: 1fr; gap: 0.9rem; padding: 1.4rem 0; }
	.effect-arrow { display: none; }
}

/* ---------- 12. Department explorer ---------- */
.explorer-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 2rem;
}
.explorer-tab {
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 540;
	color: var(--ink-2);
	background: transparent;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	padding: 0.5rem 1.05rem;
	cursor: pointer;
	transition: all 0.18s var(--ease-out);
}
.explorer-tab:hover { border-color: var(--purple); color: var(--purple); }
.explorer-tab[aria-selected="true"] { background: var(--grad); border-color: transparent; color: #fff; }

.explorer-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: clamp(2rem, 5vw, 4rem);
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	background: var(--card);
	padding: clamp(1.5rem, 4vw, 2.8rem);
}
.explorer-lede {
	font-family: var(--font-display);
	font-size: clamp(1.35rem, 2.4vw, 1.8rem);
	line-height: 1.3;
	margin: 0 0 1.3rem;
}
.explorer-items { list-style: none; margin: 0; padding: 0; }
.explorer-items li {
	display: flex;
	gap: 0.6rem;
	align-items: baseline;
	padding: 0.5rem 0;
	border-bottom: 1px dashed var(--line);
	font-size: 0.97rem;
	color: var(--ink-2);
}
.explorer-items li:last-child { border-bottom: 0; }
.explorer-items .icon { color: var(--purple); flex: none; transform: translateY(2px); }
@media (max-width: 820px) {
	.explorer-panel { grid-template-columns: 1fr; }
}

/* ---------- 13. Architecture map ---------- */
.arch { position: relative; max-width: 880px; margin-inline: auto; }
.arch::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 1.5rem;
	bottom: 1.5rem;
	width: 1px;
	background: repeating-linear-gradient(180deg, var(--line-dark) 0 5px, transparent 5px 10px);
}
.arch-band {
	position: relative;
	display: grid;
	grid-template-columns: 10rem 1fr;
	gap: 1.5rem;
	align-items: center;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--line-dark);
	border-radius: var(--radius-m);
	padding: 1.15rem 1.5rem;
	margin-bottom: 1.6rem;
}
.arch-band:last-child { margin-bottom: 0; }
.arch-band--core {
	background: rgba(255, 255, 255, 0.09);
	border-color: rgba(185, 138, 210, 0.45);
	box-shadow: 0 0 0 4px rgba(185, 138, 210, 0.08);
}
.arch-label {
	font-size: 0.75rem;
	font-weight: 650;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--violet-bright);
}
.arch-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.arch-chip {
	font-size: 0.85rem;
	font-weight: 520;
	color: rgba(255, 255, 255, 0.85);
	border: 1px solid var(--line-dark);
	border-radius: 999px;
	padding: 0.32rem 0.8rem;
	background: rgba(255, 255, 255, 0.03);
}
.arch-band--core .arch-chip { border-color: rgba(185, 138, 210, 0.5); }
.arch-joint {
	position: relative;
	z-index: 1;
	width: 26px; height: 26px;
	margin: -0.55rem auto 1.05rem;
	display: grid;
	place-items: center;
	color: var(--violet-bright);
	background: var(--purple-deep);
	border: 1px solid var(--line-dark);
	border-radius: 50%;
}
@media (max-width: 680px) {
	.arch-band { grid-template-columns: 1fr; gap: 0.7rem; padding: 1rem 1.1rem; }
}

/* ---------- 14. Agents ---------- */
.agents-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.agent {
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	background: var(--card);
	padding: 1.6rem 1.6rem 1.4rem;
	display: flex;
	flex-direction: column;
}
.agent-role {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1.1rem;
}
.agent-role .icon { color: var(--purple); }
.agent-role h3 { margin: 0; font-size: 1.18rem; }
.agent-spec { margin: 0; flex: 1; }
.agent-spec > div {
	display: grid;
	grid-template-columns: 6.2rem 1fr;
	gap: 0.8rem;
	padding: 0.5rem 0;
	border-bottom: 1px dashed var(--line);
	font-size: 0.9rem;
}
.agent-spec > div:last-child { border-bottom: 0; }
.agent-spec dt {
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--muted);
	padding-top: 0.15rem;
}
.agent-spec dd { margin: 0; color: var(--ink-2); }
.agent-gate {
	margin-top: 1.1rem;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.8rem;
	font-weight: 560;
	color: var(--ok);
}
@media (max-width: 980px) { .agents-grid { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- 15. Solutions index (editorial rows) ---------- */
.sol-rows { border-top: 1px solid var(--line-strong); }
.sol-row {
	display: grid;
	grid-template-columns: 4rem 1.2fr 1.6fr auto;
	gap: clamp(1rem, 3vw, 2.5rem);
	align-items: center;
	padding: 1.9rem 0;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
	transition: background-color 0.2s;
}
.sol-row:hover { background: linear-gradient(90deg, transparent, var(--paper-2) 12%, var(--paper-2) 88%, transparent); }
.sol-no {
	font-family: var(--font-display);
	font-size: 1rem;
	color: var(--faint);
	font-variant-numeric: tabular-nums;
}
.sol-title { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 600; color: var(--ink); line-height: 1.2; }
.sol-outcome { font-size: 0.98rem; color: var(--ink-2); line-height: 1.55; }
.sol-arrow { color: var(--purple); opacity: 0; transform: translateX(-6px); transition: all 0.2s var(--ease-out); }
.sol-row:hover .sol-arrow { opacity: 1; transform: none; }
@media (max-width: 820px) {
	.sol-row { grid-template-columns: 2.6rem 1fr; }
	.sol-outcome { grid-column: 2; }
	.sol-arrow { display: none; }
}

/* Solutions tile grid (homepage) */
.sol-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}
.sol-tile {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	padding: 1.9rem 1.8rem 1.6rem;
	text-decoration: none;
	transition: border-color 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.sol-tile:hover { border-color: var(--purple); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.sol-tile .sol-no { font-size: 0.85rem; color: var(--faint); }
.sol-tile .sol-title { font-size: 1.3rem; line-height: 1.25; }
.sol-tile .sol-outcome { flex: 1; font-size: 0.94rem; }
.sol-tile-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 0.9rem;
	font-weight: 600;
	font-size: 0.93rem;
	color: var(--purple);
}
.sol-tile-link .icon { transition: transform 0.18s var(--ease-out); }
.sol-tile:hover .sol-tile-link .icon { transform: translateX(3px); }
@media (max-width: 980px) { .sol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sol-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 16. CTA band ---------- */
.cta-band {
	background:
		radial-gradient(50rem 30rem at 90% -10%, rgba(224, 105, 216, 0.16), transparent 60%),
		radial-gradient(40rem 26rem at 5% 110%, rgba(139, 70, 228, 0.20), transparent 60%),
		#2b1139;
	color: rgba(255, 255, 255, 0.85);
	padding-block: var(--section-y);
}
.cta-band h2 { color: #fff; margin-bottom: 0.5em; }
.cta-band-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: clamp(2.5rem, 6vw, 5rem);
	align-items: center;
}
.cta-band-copy p { max-width: 36em; }
@media (max-width: 900px) {
	.cta-band-inner { grid-template-columns: 1fr; }
	.cta-band-visual { max-width: 470px; }
}

/* ---------- 17. FAQ ---------- */
.faq { max-width: 780px; }
.faq-heading { margin-bottom: 1.5rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	list-style: none;
	cursor: pointer;
	padding: 1.15rem 0;
	font-weight: 560;
	font-size: 1.05rem;
	color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-marker {
	position: relative;
	flex: none;
	width: 14px; height: 14px;
}
.faq-marker::before, .faq-marker::after {
	content: "";
	position: absolute;
	background: var(--purple);
	transition: transform 0.25s var(--ease-out);
}
.faq-marker::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq-marker::after { left: 6px; top: 0; width: 2px; height: 14px; }
.faq-item[open] .faq-marker::after { transform: scaleY(0); }
.faq-answer { padding: 0 0 1.3rem; color: var(--ink-2); max-width: 62ch; }

/* ---------- 18. Page hero (inner pages) ---------- */
.page-hero {
	padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.2rem, 4vw, 3.4rem);
	border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 16em; }
.page-hero .lede { margin-top: 1rem; }

/* ---------- 19. Process timeline (How we work) ---------- */
.process { counter-reset: stage; }
.process-track {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--line-strong);
}
.process-stage {
	position: relative;
	padding: 1.6rem 1.1rem 0.5rem 0;
	border-inline-end: 1px dashed var(--line);
}
.process-stage:last-child { border-inline-end: 0; }
.process-stage::before {
	content: "";
	position: absolute;
	top: -5px;
	inset-inline-start: 0;
	width: 9px; height: 9px;
	border-radius: 50%;
	background: var(--purple);
}
.process-no {
	font-size: 0.78rem;
	font-weight: 650;
	color: var(--purple);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.08em;
}
.process-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin: 0.3rem 0 0.45rem; }
.process-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.5; margin: 0; padding-inline-end: 0.4rem; }
@media (max-width: 1060px) {
	.process-track { grid-template-columns: 1fr; border-top: 0; border-inline-start: 1px solid var(--line-strong); }
	.process-stage { border-inline-end: 0; border-bottom: 0; padding: 0 0 1.5rem 1.5rem; }
	[dir="rtl"] .process-stage { padding: 0 1.5rem 1.5rem 0; }
	.process-stage::before { top: 0.4rem; inset-inline-start: -5px; }
}

/* ---------- 20. Integrations ---------- */
.integrations-note { max-width: 40em; }
.int-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem 2.5rem; }
.int-group-title {
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 0.8rem;
	padding-bottom: 0.55rem;
	border-bottom: 1px solid var(--line);
}
.int-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.int-disclaimer { font-size: 0.8rem; color: var(--faint); margin-top: 2rem; max-width: 60ch; }
@media (max-width: 860px) { .int-groups { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .int-groups { grid-template-columns: 1fr; } }

/* ---------- 21. Trust / Human+AI ---------- */
.trust-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.trust-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.trust-list li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.9rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--line);
}
.trust-list .icon { color: var(--purple); margin-top: 0.2rem; }
.trust-list strong { display: block; font-weight: 600; margin-bottom: 0.15rem; }
.trust-list p { margin: 0; font-size: 0.93rem; color: var(--muted); }

.gate {
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	background: var(--card);
	padding: 1.8rem;
}
.gate-step {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 0.85rem 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
	font-size: 0.95rem;
	font-weight: 540;
	background: var(--paper);
}
.gate-step--human { border-color: var(--purple); background: var(--lavender); }
.gate-step .icon { color: var(--purple); flex: none; }
.gate-step small { display: block; font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.gate-connector {
	width: 1px;
	height: 1.4rem;
	margin-inline-start: 1.45rem;
	background: repeating-linear-gradient(180deg, var(--line-strong) 0 4px, transparent 4px 8px);
}
@media (max-width: 860px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- 22. Industries ---------- */
.industry {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: clamp(1.8rem, 5vw, 4rem);
	padding: clamp(1.8rem, 4vw, 2.6rem) 0;
	border-bottom: 1px solid var(--line);
}
.industry:first-of-type { border-top: 1px solid var(--line-strong); }
.industry h2, .industry h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 0.5rem; }
.industry-problem { color: var(--ink-2); font-size: 0.98rem; }
.industry-outcome {
	margin-top: 1.1rem;
	padding-inline-start: 1rem;
	border-inline-start: 3px solid var(--purple);
	font-size: 0.95rem;
	color: var(--ink);
	font-weight: 520;
}
@media (max-width: 820px) { .industry { grid-template-columns: 1fr; gap: 1.2rem; } }

/* ---------- 23. Use-case library ---------- */
.uc-filters { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 2rem; }
.uc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.uc-item {
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	background: var(--card);
	padding: 1.4rem 1.4rem 1.2rem;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	transition: border-color 0.2s, transform 0.2s var(--ease-out);
}
.uc-item:hover { border-color: var(--purple); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.uc-title { font-weight: 620; font-size: 1.05rem; color: var(--ink); }
.uc-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.55; flex: 1; }
.uc-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--faint); }
.uc-dept {
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 600;
	color: var(--purple);
}
.uc-item .icon { color: var(--purple); }
.uc-item.is-hidden { display: none; }
@media (max-width: 960px) { .uc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .uc-grid { grid-template-columns: 1fr; } }

/* ---------- 24. Forms ---------- */
.form-shell { max-width: 620px; }
.field { margin-bottom: 1.25rem; }
.field label {
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 0.4rem;
}
.field .hint { font-weight: 400; color: var(--faint); font-size: 0.82rem; }
.field input, .field select, .field textarea {
	width: 100%;
	font: inherit;
	font-size: 1rem;
	color: var(--ink);
	background: var(--card);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-s);
	padding: 0.8rem 0.95rem;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
	outline: none;
	border-color: var(--purple);
	box-shadow: 0 0 0 3px rgba(79, 25, 100, 0.12);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--warn); }
.field-error { display: none; font-size: 0.83rem; color: var(--warn); margin-top: 0.35rem; }
.field.has-error .field-error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.hp-field { position: absolute !important; inset-inline-start: -9999px !important; height: 1px; width: 1px; overflow: hidden; }

.form-status {
	margin: 0 0 1.5rem;
	padding: 0.9rem 1.1rem;
	border-radius: var(--radius-s);
	font-size: 0.95rem;
	font-weight: 540;
}
.form-status--ok { background: #e5f2ec; color: var(--ok); border: 1px solid #bfe0d2; }
.form-status--error { background: #f7e9e4; color: var(--warn); border: 1px solid #e8c9bd; }

/* Audit multi-step */
.audit-shell {
	max-width: 680px;
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	background: var(--card);
	padding: clamp(1.5rem, 4vw, 2.5rem);
}
.audit-progress {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1.8rem;
	font-size: 0.82rem;
	color: var(--muted);
	font-weight: 560;
}
.audit-bar {
	flex: 1;
	height: 3px;
	background: var(--paper-3);
	border-radius: 2px;
	overflow: hidden;
}
.audit-bar-fill {
	display: block;
	height: 100%;
	width: 0;
	background: var(--purple);
	border-radius: 2px;
	transition: width 0.4s var(--ease-out);
}
.audit-step[hidden] { display: none; }
/* Fieldsets default to min-inline-size:min-content, which forces the form
   wider than its column on small screens. */
fieldset.audit-step { min-inline-size: 0; max-width: 100%; }
.audit-step-title { display: block; width: 100%; font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 1.2rem; }
.audit-options { display: grid; gap: 0.55rem; grid-template-columns: 1fr 1fr; }
.audit-options--stack { grid-template-columns: 1fr; }
.audit-option { position: relative; }
.audit-option input {
	position: absolute;
	opacity: 0;
	inset: 0;
	cursor: pointer;
}
.audit-option label,
.audit-option .audit-option-label {
	display: block;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-s);
	padding: 0.75rem 1rem;
	font-size: 0.95rem;
	font-weight: 540;
	cursor: pointer;
	transition: all 0.15s;
	margin: 0;
}
.audit-option input:checked + label {
	border-color: var(--purple);
	background: var(--lavender);
	color: var(--purple);
}
.audit-option input:focus-visible + label { outline: 2px solid var(--purple); outline-offset: 2px; }
.audit-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; }
.audit-nav .btn[disabled] { opacity: 0.4; pointer-events: none; }
.audit-preparing { text-align: center; padding: 2.5rem 0; }
.audit-preparing .spinner {
	width: 42px; height: 42px;
	margin: 0 auto 1.2rem;
	border-radius: 50%;
	border: 3px solid var(--lavender-2);
	border-top-color: var(--purple);
	animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 560px) { .audit-options { grid-template-columns: 1fr; } }

/* ---------- 25. Insights ---------- */
.insights-list { border-top: 1px solid var(--line-strong); }
.insight-row {
	display: grid;
	grid-template-columns: 9rem 1fr auto;
	gap: clamp(1rem, 3vw, 2.5rem);
	align-items: baseline;
	padding: 1.7rem 0;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
}
.insight-date { font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.insight-title { display: block; font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 600; color: var(--ink); line-height: 1.25; margin-bottom: 0.4rem; transition: color 0.15s; }
.insight-excerpt { display: block; }
.insight-row:hover .insight-title { color: var(--purple); }
.insight-excerpt { font-size: 0.95rem; color: var(--muted); max-width: 56ch; }
.insight-cat {
	font-size: 0.72rem;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	font-weight: 650;
	color: var(--purple);
}
@media (max-width: 720px) {
	.insight-row { grid-template-columns: 1fr; gap: 0.4rem; padding: 1.3rem 0; }
}

/* Article */
.article { max-width: 720px; margin-inline: auto; }
.article-header { padding: clamp(2.5rem, 5vw, 4rem) 0 2rem; }
.article-header h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.article-meta { display: flex; gap: 1rem; font-size: 0.88rem; color: var(--muted); margin-top: 1rem; }
.article-body { font-size: 1.08rem; line-height: 1.75; }
.article-body h2 { font-size: 1.7rem; margin-top: 2.2em; }
.article-body h3 { margin-top: 1.8em; }
.article-body p, .article-body ul, .article-body ol { margin-bottom: 1.2em; color: var(--ink-2); }
.article-body li { margin-bottom: 0.4em; }
.article-body a { color: var(--purple); }
.article-body blockquote {
	margin: 1.8em 0;
	padding-inline-start: 1.2rem;
	border-inline-start: 3px solid var(--purple);
	font-family: var(--font-display);
	font-size: 1.25rem;
	color: var(--ink);
}

/* ---------- 26. Operines AI product mock ---------- */
.product-band { position: relative; overflow: hidden; }
.product-mock {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	box-shadow: var(--shadow-soft);
	overflow: hidden;
	max-width: 460px;
}
.on-dark .product-mock { border-color: var(--line-dark); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); }
.product-mock-bar {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.7rem 1rem;
	border-bottom: 1px solid var(--line);
	background: var(--paper);
}
.product-mock-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.product-mock-bar .dot:first-child { background: var(--purple); }
.product-mock-title { font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-inline-start: 0.3rem; }
.product-chat { padding: 1.1rem; display: grid; gap: 0.65rem; background: var(--card); }
.bubble {
	max-width: 85%;
	font-size: 0.88rem;
	line-height: 1.5;
	padding: 0.6rem 0.85rem;
	border-radius: 10px;
	color: var(--ink-2);
}
.bubble--in { background: var(--paper-2); border-start-start-radius: 3px; justify-self: start; }
.bubble--out { background: var(--lavender); color: var(--purple-deep); border-start-end-radius: 3px; justify-self: end; }
.bubble--sys {
	max-width: 100%;
	justify-self: center;
	background: none;
	border: 1px dashed var(--line-strong);
	color: var(--muted);
	font-size: 0.75rem;
	padding: 0.35rem 0.8rem;
	border-radius: 999px;
	display: inline-flex;
	gap: 0.4rem;
	align-items: center;
}
.bubble--sys .icon { color: var(--ok); }
.mock-note { font-size: 0.78rem; color: var(--faint); margin-top: 0.8rem; }
.on-dark .mock-note { color: rgba(255, 255, 255, 0.45); }

/* ---------- 27. Story / verification panel ---------- */
.verified-note {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	max-width: 640px;
	border: 1px solid var(--line);
	border-inline-start: 3px solid var(--purple);
	border-radius: var(--radius-s);
	background: var(--card);
	padding: 1.3rem 1.5rem;
}
.verified-note .icon { color: var(--purple); margin-top: 0.2rem; }
.verified-note p { margin: 0; font-size: 0.97rem; color: var(--ink-2); }
.verified-note strong { color: var(--ink); }

.story-anatomy { counter-reset: part; max-width: 780px; }
.story-part {
	display: grid;
	grid-template-columns: 3rem 1fr;
	gap: 1.2rem;
	padding: 1.3rem 0;
	border-bottom: 1px solid var(--line);
}
.story-part::before {
	counter-increment: part;
	content: counter(part, decimal-leading-zero);
	font-family: var(--font-display);
	color: var(--faint);
	font-size: 0.95rem;
	padding-top: 0.2rem;
}
.story-part h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.story-part p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* ---------- 28. Reveal system ---------- */
[data-reveal="up"], [data-reveal="fade"] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal="fade"] { transform: none; }
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* Big display statements */
.statement {
	font-family: var(--font-display);
	font-size: clamp(1.7rem, 3.6vw, 2.7rem);
	line-height: 1.22;
	letter-spacing: -0.01em;
	max-width: 24em;
	margin: 0;
}
.statement em { font-style: italic; color: var(--purple); }
.on-dark .statement em { color: var(--violet-bright); }

/* ---------- 28b. Client account ---------- */
.account-hero {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
}
.account-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 1.5rem;
	align-items: start;
}
.account-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	padding: 1.6rem 1.7rem;
	margin-bottom: 1.5rem;
}
.account-card-head {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 1rem;
}
.account-card-head h2 { font-size: 1.25rem; margin: 0; }
.request-list { list-style: none; margin: 0; padding: 0; }
.request-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.8rem 0;
	border-bottom: 1px solid var(--line);
}
.request-item:last-child { border-bottom: 0; }
.request-date { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 0.1rem; }
.quick-actions { list-style: none; margin: 0; padding: 0; }
.quick-actions li { padding: 0.45rem 0; }

.operines-status {
	display: inline-block;
	padding: 0.2rem 0.75rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 650;
	white-space: nowrap;
}
.operines-status--new { background: var(--lavender); color: var(--purple); }
.operines-status--review { background: #fdf0d5; color: #8a5b00; }
.operines-status--contacted { background: #dcf1e7; color: var(--ok); }
.operines-status--closed { background: var(--paper-3); color: var(--muted); }

@media (max-width: 900px) {
	.account-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 29. 404 ---------- */
.error-hero { padding: clamp(5rem, 12vw, 9rem) 0; text-align: center; }
.error-hero .ledger { max-width: 430px; margin: 2rem auto; text-align: start; }

/* ---------- 30. Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }

/* ---------- 30b. Interaction & motion layer ---------- */

/* Hero entrance: staggered rise on load (transform/opacity only). */
@media (prefers-reduced-motion: no-preference) {
	.hero--split .hero-copy > * {
		opacity: 0;
		transform: translateY(14px);
		animation: rise-in 0.65s var(--ease-out) forwards;
	}
	.hero--split .hero-copy > :nth-child(1) { animation-delay: 0.05s; }
	.hero--split .hero-copy > :nth-child(2) { animation-delay: 0.13s; }
	.hero--split .hero-copy > :nth-child(3) { animation-delay: 0.21s; }
	.hero--split .hero-copy > :nth-child(4) { animation-delay: 0.29s; }
	.hero--split .hero-copy > :nth-child(5) { animation-delay: 0.37s; }
	.hero-visual {
		opacity: 0;
		transform: translateY(22px);
		animation: rise-in 0.9s var(--ease-out) 0.35s forwards;
	}
	.systems-strip {
		opacity: 0;
		animation: rise-in 0.7s var(--ease-out) 0.8s forwards;
	}
}
@keyframes rise-in {
	to { opacity: 1; transform: none; }
}

/* Ambient glow behind the platform frame. */
.hero-frame-wrap { position: relative; }
.hero-frame-wrap::before {
	content: "";
	position: absolute;
	inset: 8% -4% -6% -4%;
	background: radial-gradient(45% 55% at 50% 55%, rgba(92, 28, 117, 0.18), transparent 70%);
	filter: blur(28px);
	pointer-events: none;
}
.hero-frame-wrap .hero-frame { position: relative; }

/* Active node pulse. */
@media (prefers-reduced-motion: no-preference) {
	.hero-node.is-active { animation: node-pop 0.45s var(--ease-out); }
}
@keyframes node-pop {
	0% { transform: translate(-50%, -50%) scale(1); }
	40% { transform: translate(-50%, -50%) scale(1.08); }
	100% { transform: translate(-50%, -50%) scale(1); }
}

/* Systems strip as a marquee. Falls back to a static wrapped row when
   motion is reduced or JS/animation is unavailable. */
.systems-marquee { overflow: hidden; }
.systems-marquee .systems-strip-list {
	flex-wrap: nowrap;
	justify-content: flex-start;
	width: max-content;
	gap: 0 2.6rem;
	animation: marquee 32s linear infinite;
}
.systems-marquee:hover .systems-strip-list { animation-play-state: paused; }
@keyframes marquee {
	to { transform: translateX(-50%); }
}
[dir="rtl"] .systems-marquee .systems-strip-list { animation-name: marquee-rtl; }
@keyframes marquee-rtl {
	to { transform: translateX(50%); }
}
@media (prefers-reduced-motion: reduce) {
	.systems-marquee .systems-strip-list {
		animation: none;
		width: auto;
		flex-wrap: wrap;
		justify-content: center;
	}
	.systems-marquee .systems-strip-list [aria-hidden="true"] { display: none; }
}

/* Staggered grid reveals: children of a .stagger container enter 60ms apart. */
.stagger > [data-reveal]:nth-child(2) { transition-delay: 60ms; }
.stagger > [data-reveal]:nth-child(3) { transition-delay: 120ms; }
.stagger > [data-reveal]:nth-child(4) { transition-delay: 180ms; }
.stagger > [data-reveal]:nth-child(5) { transition-delay: 240ms; }
.stagger > [data-reveal]:nth-child(6) { transition-delay: 300ms; }

/* Press feedback (scale within bounds; no layout shift). */
.btn:active { transform: scale(0.97); }
.sol-tile:active, .uc-item:active, .explorer-tab:active { transform: scale(0.985); }

/* Header depth once stuck. */
.site-header.is-stuck { box-shadow: 0 4px 20px rgba(27, 21, 35, 0.07); }

/* FAQ open: content eases in instead of snapping. */
@media (prefers-reduced-motion: no-preference) {
	.faq-item[open] .faq-answer { animation: faq-in 0.28s var(--ease-out); }
}
@keyframes faq-in {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: none; }
}

/* Insight rows: whole-row hover response. */
.insight-row { transition: background-color 0.2s; border-radius: var(--radius-s); }
.insight-row:hover { background: linear-gradient(90deg, transparent, var(--paper-2) 8%, var(--paper-2) 92%, transparent); }

/* Animated product conversation. */
[data-chat] .bubble { transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out); }
[data-chat].chat-armed .bubble { opacity: 0; transform: translateY(8px); }
[data-chat] .bubble.is-in { opacity: 1; transform: none; }
.bubble--typing {
	display: inline-flex;
	gap: 4px;
	align-items: center;
	padding: 0.7rem 0.9rem;
}
.bubble--typing i {
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--faint);
	animation: typing-dot 1s ease-in-out infinite;
}
.bubble--typing i:nth-child(2) { animation-delay: 0.15s; }
.bubble--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-dot {
	0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
	30% { transform: translateY(-3px); opacity: 1; }
}

/* Reading progress on articles. */
.scroll-progress {
	position: fixed;
	top: 0;
	inset-inline-start: 0;
	z-index: 300;
	height: 3px;
	width: 100%;
	transform: scaleX(0);
	transform-origin: 0 50%;
	background: linear-gradient(90deg, var(--purple), var(--purple-soft));
	pointer-events: none;
}
[dir="rtl"] .scroll-progress { transform-origin: 100% 50%; }

/* ---------- 30c. Continuous "living site" motion ---------- */
@media (prefers-reduced-motion: no-preference) {

	/* Drifting ambient color field behind the hero. */
	.hero--split::after {
		content: "";
		position: absolute;
		inset: -20% -10%;
		background:
			radial-gradient(32rem 24rem at 18% 20%, rgba(92, 28, 117, 0.05), transparent 60%),
			radial-gradient(38rem 28rem at 85% 30%, rgba(163, 65, 155, 0.06), transparent 60%);
		animation: drift 22s ease-in-out infinite alternate;
		pointer-events: none;
		z-index: -1;
	}
	.hero--split { position: relative; z-index: 0; }

	/* All connector lines carry a slow ambient flow; the active one glows. */
	.hero-map-svg .link-line {
		animation: line-flow 2.6s linear infinite;
		opacity: 0.55;
	}
	.hero-map-svg .link-line.is-active { opacity: 1; }

	/* The intelligence core breathes. */
	.hero-core {
		animation: core-breathe 4.5s ease-in-out infinite;
	}

	/* Dark sections get slow-moving glow. */
	.on-dark, .cta-band { position: relative; overflow: hidden; }
	.on-dark::before, .cta-band::before {
		content: "";
		position: absolute;
		width: 55rem; height: 40rem;
		top: -14rem; inset-inline-end: -18rem;
		background: radial-gradient(closest-side, rgba(185, 138, 210, 0.16), transparent 70%);
		animation: drift 26s ease-in-out infinite alternate;
		pointer-events: none;
	}
	.on-dark > .container, .cta-band > .container { position: relative; }

	/* Architecture: a pulse travels down the spine; bands light in sequence. */
	.arch-pulse {
		position: absolute;
		left: 50%;
		top: 0;
		width: 10px; height: 10px;
		margin-left: -5px;
		border-radius: 50%;
		background: var(--violet-bright);
		box-shadow: 0 0 12px 3px rgba(185, 138, 210, 0.55);
		animation: arch-travel 5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
	}
	.arch-band { animation: band-glow 5s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
	.arch-band:nth-of-type(1) { animation-delay: 0s; }
	.arch-band:nth-of-type(3) { animation-delay: 1s; }
	.arch-band:nth-of-type(5) { animation-delay: 2s; }
	.arch-band:nth-of-type(7) { animation-delay: 3s; }
	.arch-band:nth-of-type(9) { animation-delay: 4s; }

	/* Effect rows: the "with Operines" side sweeps alight when revealed. */
	.effect-cell--after { position: relative; overflow: hidden; }
	.is-revealed .effect-cell--after::after {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(100deg, transparent 20%, rgba(79, 25, 100, 0.08) 50%, transparent 80%);
		transform: translateX(-120%);
		animation: sweep 1.1s var(--ease-out) 0.35s forwards;
	}

	/* How-we-work: the track line draws itself in. */
	.process-track { position: relative; border-top-color: transparent; }
	.process-track::before {
		content: "";
		position: absolute;
		top: -1px;
		inset-inline-start: 0;
		height: 1px;
		width: 100%;
		background: var(--line-strong);
		transform: scaleX(0);
		transform-origin: 0 50%;
	}
	[dir="rtl"] .process-track::before { transform-origin: 100% 50%; }
	.process.is-revealed .process-track::before { transition: transform 1.4s var(--ease-out) 0.2s; transform: scaleX(1); }

	/* Primary buttons: light sheen sweeps across on hover. */
	.btn--primary, .btn--light { position: relative; overflow: hidden; }
	.btn--primary::after, .btn--light::after {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.25) 50%, transparent 65%);
		transform: translateX(-130%);
		pointer-events: none;
	}
	.btn--primary:hover::after, .btn--light:hover::after { animation: sweep 0.7s var(--ease-out) forwards; }
}

@keyframes drift {
	0% { transform: translate3d(0, 0, 0) scale(1); }
	50% { transform: translate3d(3%, -2%, 0) scale(1.06); }
	100% { transform: translate3d(-3%, 2%, 0) scale(1); }
}
@keyframes core-breathe {
	0%, 100% { box-shadow: 0 10px 34px rgba(79, 25, 100, 0.35); transform: translate(-50%, -50%) scale(1); }
	50% { box-shadow: 0 12px 46px rgba(79, 25, 100, 0.55), 0 0 0 8px rgba(79, 25, 100, 0.06); transform: translate(-50%, -50%) scale(1.025); }
}
@keyframes arch-travel {
	0% { top: 0; opacity: 0; }
	6% { opacity: 1; }
	94% { opacity: 1; }
	100% { top: calc(100% - 10px); opacity: 0; }
}
@keyframes band-glow {
	0%, 22%, 100% { border-color: var(--line-dark); }
	8% { border-color: rgba(185, 138, 210, 0.65); }
}
@keyframes sweep {
	to { transform: translateX(130%); }
}

/* Data packets travelling the hero map (positioned by JS). */
.hero-packet {
	position: absolute;
	width: 7px; height: 7px;
	margin: -3.5px 0 0 -3.5px;
	border-radius: 50%;
	background: var(--purple-soft);
	box-shadow: 0 0 8px 2px rgba(108, 47, 133, 0.35);
	pointer-events: none;
	opacity: 0;
}

/* Live ledger: rows keep flowing after the initial reveal. */
.ledger--live .ledger-row { transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out); }
.ledger-row.is-new { opacity: 0; transform: translateY(6px); }

/* ---------- 31. Reduced motion ---------- */
@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;
	}
	[data-reveal] { opacity: 1 !important; transform: none !important; }
	[data-reveal] .flow-step, [data-reveal] .ledger-row { opacity: 1 !important; transform: none !important; }
	.hero-ticker-row { opacity: 1; transform: none; }
}

/* ---------- 32. Print ---------- */
@media print {
	.site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
}
