/* ==========================================================================
   NOVA AI — main.css
   One file, six layers, in this order:
   1. Tokens      2. Reset/base   3. Layout
   4. Components  5. WordPress    6. Utilities & motion
   Read the token block first: change a value there and the whole site follows.
   ========================================================================== */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */

:root {
	/* --- Colour: ink and surfaces ------------------------------------- */
	--navy-900: #0b1220;      /* Deep navy — statement sections */
	--navy-800: #111c33;      /* Cards on dark */
	--navy-700: #1b2a4a;      /* Dark borders */
	--white:    #ffffff;
	--cloud:    #f5f7fb;      /* Alternating light section */
	--mist:     #f2f6fe;      /* Cool blue tint */
	--haze:     #f4f1fe;      /* Violet tint */
	--frost:    #eef9fc;      /* Cyan tint */
	--ivory:    #fafbfd;      /* Almost-white */
	--line:     #e5eaf3;      /* Hairlines and card borders */
	--line-dark: rgba(255, 255, 255, 0.12);

	/* --- Colour: brand ------------------------------------------------ */
	--blue:      #3b5bdb;     /* Primary action */
	--blue-dark: #2f49b0;     /* Pressed state */
	--blue-soft: #eef2fe;     /* Tinted backgrounds */
	--cyan:      #22d3ee;     /* Accent — means "AI", used once per view */
	--cyan-soft: #e6fbff;
	--ai-violet: #7c5cff;     /* Wordmark gradient only — never used as UI colour */
	--ai-gradient: linear-gradient(115deg,
		var(--ai-violet) 0%, var(--blue) 30%, var(--cyan) 58%, var(--ai-violet) 100%);

	/* --- Colour: text ------------------------------------------------- */
	--heading:  #0f172a;
	--body:     #475569;
	--muted:    #64748b;
	--on-dark:        #eef2f8;
	--on-dark-muted:  #9fb0cb;

	/* --- Colour: status ----------------------------------------------- */
	--success: #16a34a;
	--warning: #d97706;
	--danger:  #dc2626;

	/* --- Type --------------------------------------------------------- */
	--font-display: 'Poppins', 'Segoe UI', system-ui, sans-serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	--fs-xs:   0.8125rem;                              /* 13px — labels */
	--fs-sm:   0.875rem;                               /* 14px */
	--fs-base: 1rem;                                   /* 16px */
	--fs-lg:   1.125rem;                               /* 18px — lead */
	--fs-xl:   clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
	--fs-h4:   clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
	--fs-h3:   clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
	--fs-h2:   clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
	--fs-h1:   clamp(2.125rem, 1.6rem + 2.6vw, 3.75rem);

	--lh-tight: 1.15;
	--lh-snug:  1.35;
	--lh-body:  1.7;

	--track-tight: -0.02em;   /* Display headings */
	--track-wide:   0.12em;   /* Eyebrows */

	/* --- Spacing (4px base) ------------------------------------------- */
	--s-1: 0.25rem;  --s-2: 0.5rem;   --s-3: 0.75rem;  --s-4: 1rem;
	--s-5: 1.25rem;  --s-6: 1.5rem;   --s-8: 2rem;     --s-10: 2.5rem;
	--s-12: 3rem;    --s-16: 4rem;    --s-20: 5rem;    --s-24: 6rem;

	--pad-sm: clamp(2.5rem, 5vw, 4rem);
	--pad-md: clamp(3.5rem, 7vw, 6rem);
	--pad-lg: clamp(4.5rem, 9vw, 8rem);

	/* --- Layout ------------------------------------------------------- */
	--container:        1200px;
	--container-wide:   1360px;
	--container-narrow: 780px;
	--gutter: clamp(1rem, 4vw, 2rem);

	/* --- Radius ------------------------------------------------------- */
	--r-sm:   8px;
	--r-md:   12px;
	--r-lg:   16px;    /* Cards */
	--r-xl:   24px;    /* Panels, media */
	--r-pill: 999px;

	/* --- Shadows ------------------------------------------------------ */
	--sh-1: 0 1px 2px rgba(15, 23, 42, 0.06);
	--sh-2: 0 4px 16px rgba(15, 23, 42, 0.07);
	--sh-3: 0 18px 40px -12px rgba(15, 23, 42, 0.18);
	--sh-cta: 0 8px 24px -8px rgba(59, 91, 219, 0.55);

	/* --- Motion ------------------------------------------------------- */
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--t-fast: 0.15s var(--ease);
	--t-base: 0.22s var(--ease);
	--t-slow: 0.45s var(--ease);

	--z-scrim:   90;
	--z-header: 100;
	--z-menu:   110;
	--z-top:    120;
}

/* ==========================================================================
   2. RESET AND BASE
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
	/* `clip` contains the off-canvas mobile drawer without turning the root
	   into a scroll container, so the sticky header keeps working. */
	overflow-x: clip;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--body);
	font-family: var(--font-body);
	font-size: var(--fs-base);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 var(--s-4);
	color: var(--heading);
	font-family: var(--font-display);
	font-weight: 600;
	line-height: var(--lh-tight);
	letter-spacing: var(--track-tight);
	text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-snug); }

p { margin: 0 0 var(--s-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a {
	color: var(--blue);
	text-decoration: none;
	transition: color var(--t-fast);
}
a:hover { color: var(--blue-dark); }

img, svg, video, iframe {
	max-width: 100%;
	height: auto;
	display: block;
}

ul, ol { margin: 0 0 var(--s-4); padding-left: var(--s-5); }
li { margin-bottom: var(--s-2); }

blockquote {
	margin: var(--s-8) 0;
	padding: var(--s-2) 0 var(--s-2) var(--s-6);
	border-left: 3px solid var(--cyan);
	color: var(--heading);
	font-size: var(--fs-lg);
	font-style: normal;
}

code, pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.9em;
}
code { padding: 0.15em 0.4em; background: var(--cloud); border-radius: var(--r-sm); }
pre {
	overflow-x: auto;
	padding: var(--s-5);
	background: var(--navy-900);
	color: var(--on-dark);
	border-radius: var(--r-lg);
}
pre code { background: none; padding: 0; }

hr { height: 1px; margin: var(--s-10) 0; border: 0; background: var(--line); }

table { width: 100%; border-collapse: collapse; margin-bottom: var(--s-6); }
th, td { padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--heading); font-family: var(--font-display); font-weight: 600; }

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

::selection { background: var(--cyan); color: var(--navy-900); }

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

.skip-link {
	position: absolute;
	top: -100px;
	left: var(--s-4);
	z-index: var(--z-top);
	padding: var(--s-3) var(--s-5);
	background: var(--navy-900);
	color: var(--white);
	border-radius: 0 0 var(--r-md) var(--r-md);
	transition: top var(--t-base);
}
.skip-link:focus { top: 0; color: var(--white); }

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--wide   { max-width: var(--container-wide); }
.container--narrow { max-width: var(--container-narrow); }

.section { position: relative; }
.section--pad-sm { padding-block: var(--pad-sm); }
.section--pad-md { padding-block: var(--pad-md); }
.section--pad-lg { padding-block: var(--pad-lg); }

.section--light { background: var(--white); }
.section--cloud { background: var(--cloud); }
.section--dark  { background: var(--navy-900); color: var(--on-dark-muted); }

.section--dark h1, .section--dark h2, .section--dark h3,
.section--dark h4, .section--dark .section-heading__title { color: var(--white); }
.section--dark .section-heading__text { color: var(--on-dark-muted); }

/* Grid system */
.grid { display: grid; gap: var(--s-6); }
.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); }
}

/* Content + sidebar */
.layout { display: grid; gap: var(--s-12); }
.layout--with-sidebar { grid-template-columns: minmax(0, 1fr) 300px; }
@media (max-width: 1024px) {
	.layout--with-sidebar { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   4. COMPONENTS
   ========================================================================== */

/* --- 4.1 Brand mark -------------------------------------------------------
   The signature, and the only place the theme spends real motion.

   The name is NOVA — a star that suddenly flares — so the animation is an
   ignition, not a fade. NOVA settles in first, a flare sweeps across the
   wordmark, and the flare is what lights the letters of AI: they drop in one
   after the other out of a blur, overshoot, and lock. The dot is what's left
   burning afterwards.

   Only opacity, transform and filter animate — never width, spacing or
   position — so the header cannot shift and CLS stays at zero.
   -------------------------------------------------------------------------- */

.brand {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	color: var(--heading);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.375rem;
	letter-spacing: -0.03em;
	line-height: 1;
	text-transform: uppercase;
}
.brand:hover { color: var(--heading); }

.brand__mark {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.35ch;
	isolation: isolate;
	white-space: nowrap;
}

/* NOVA — arrives first, from the left */
.brand__word {
	display: inline-block;
	animation: brand-word-in 0.5s var(--ease) both;
}

/* AI — one letter per beat, each out of its own blur */
.brand__accent { display: inline-flex; }

.brand__accent i {
	display: inline-block;
	font-style: normal;
	background: var(--ai-gradient);
	background-size: 320% 100%;
	background-position: calc(var(--i) * -22%) 50%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	transform-origin: 50% 80%;
	animation:
		brand-letter-in 0.72s calc(420ms + var(--i) * 130ms) cubic-bezier(0.2, 1.5, 0.4, 1) both,
		brand-aurora 6s calc(1.4s + var(--i) * 130ms) linear infinite;
}

/* The flare that lights them */
.brand__flare {
	position: absolute;
	inset: -35% -12%;
	z-index: -1;
	border-radius: var(--r-pill);
	background: linear-gradient(100deg,
		transparent 38%,
		rgba(124, 92, 255, 0.32) 47%,
		rgba(34, 211, 238, 0.45) 53%,
		transparent 62%);
	opacity: 0;
	filter: blur(7px);
	animation: brand-flare 1.15s 0.3s var(--ease) both;
	pointer-events: none;
}

/* The remnant */
.brand__dot {
	width: 7px;
	height: 7px;
	margin-left: 0.15ch;
	border-radius: 50%;
	background: var(--cyan);
	box-shadow: 0 0 12px 0 rgba(34, 211, 238, 0.9);
	animation:
		brand-dot-in 0.5s 0.95s cubic-bezier(0.2, 1.6, 0.4, 1) both,
		brand-pulse 3.4s 1.6s var(--ease) infinite;
}

/* Hover replays the ignition — different animation names so they restart */
.brand:hover .brand__flare { animation: brand-flare 0.9s var(--ease) both; }
.brand:hover .brand__accent i {
	animation:
		brand-letter-bounce 0.55s calc(var(--i) * 90ms) cubic-bezier(0.2, 1.6, 0.4, 1) both,
		brand-aurora 2.2s linear infinite;
}
.brand:hover .brand__dot { box-shadow: 0 0 20px 3px rgba(34, 211, 238, 1); }

@keyframes brand-word-in {
	from { opacity: 0; transform: translateX(-10px); }
	to   { opacity: 1; transform: none; }
}

@keyframes brand-letter-in {
	0%   { opacity: 0; transform: translateY(-18px) scale(0.35) rotate(-8deg); filter: blur(9px); }
	55%  { opacity: 1; filter: blur(0); }
	70%  { transform: translateY(0) scale(1.22) rotate(2deg); }
	100% { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes brand-letter-bounce {
	0%   { transform: none; }
	45%  { transform: translateY(-5px) scale(1.16); }
	100% { transform: none; }
}

@keyframes brand-flare {
	0%   { opacity: 0; transform: translateX(-115%) skewX(-12deg); }
	35%  { opacity: 1; }
	100% { opacity: 0; transform: translateX(115%) skewX(-12deg); }
}

@keyframes brand-dot-in {
	0%   { opacity: 0; transform: scale(0); }
	60%  { opacity: 1; transform: scale(2.1); }
	100% { opacity: 1; transform: scale(1); }
}

@keyframes brand-aurora {
	from { background-position: calc(var(--i) * -22%) 50%; }
	to   { background-position: calc(var(--i) * -22% + 320%) 50%; }
}

@keyframes brand-pulse {
	0%, 100% { box-shadow: 0 0 12px 0 rgba(34, 211, 238, 0.9); }
	50%      { box-shadow: 0 0 12px 0 rgba(34, 211, 238, 0.9), 0 0 0 7px rgba(34, 211, 238, 0); }
}

.brand--footer { color: var(--white); font-size: 1.25rem; }
.brand--footer:hover { color: var(--white); }

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--s-2);
	border: 1.5px solid transparent;
	border-radius: var(--r-md);
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1;
	text-align: center;
	cursor: pointer;
	white-space: nowrap;
	transition: background var(--t-base), color var(--t-base),
	            border-color var(--t-base), transform var(--t-base),
	            box-shadow var(--t-base);
}

.btn--sm { padding: 0.6875rem 1.125rem; font-size: var(--fs-sm); }
.btn--md { padding: 0.875rem 1.75rem; font-size: var(--fs-base); }
.btn--lg { padding: 1.0625rem 2.25rem; font-size: var(--fs-base); }

.btn__arrow { transition: transform var(--t-base); flex-shrink: 0; }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
	background: var(--blue);
	border-color: var(--blue);
	color: var(--white);
}
.btn--primary:hover {
	background: var(--blue-dark);
	border-color: var(--blue-dark);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: var(--sh-cta);
}

.btn--secondary {
	background: transparent;
	border-color: var(--blue);
	color: var(--blue);
}
.btn--secondary:hover {
	background: var(--blue-soft);
	color: var(--blue-dark);
	transform: translateY(-2px);
}

.btn--ghost {
	padding-inline: 0;
	background: none;
	border: 0;
	color: var(--heading);
}
.btn--ghost:hover { color: var(--blue); transform: none; }

.btn--light {
	background: var(--white);
	border-color: var(--white);
	color: var(--navy-900);
}
.btn--light:hover {
	background: var(--cyan);
	border-color: var(--cyan);
	color: var(--navy-900);
	transform: translateY(-2px);
}

.section--dark .btn--secondary { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.section--dark .btn--secondary:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); }

.btn:active { transform: translateY(0); }

/* --- 4.3 Eyebrow and badges ---------------------------------------------- */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--s-2);
	margin-bottom: var(--s-4);
	color: var(--blue);
	font-family: var(--font-display);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: var(--track-wide);
	text-transform: uppercase;
}
.eyebrow__tick {
	width: 18px;
	height: 2px;
	background: var(--cyan);
	border-radius: var(--r-pill);
}
.section--dark .eyebrow { color: var(--cyan); }

.badge {
	display: inline-flex;
	align-items: center;
	padding: 0.3125rem 0.75rem;
	border-radius: var(--r-pill);
	background: var(--cloud);
	color: var(--muted);
	font-family: var(--font-display);
	font-size: var(--fs-xs);
	font-weight: 500;
	line-height: 1.4;
}
.badge--accent  { background: var(--blue-soft); color: var(--blue); }
.badge--success { background: #e8f7ee; color: var(--success); }
.badge--dark    { background: var(--navy-900); color: var(--white); }

/* --- 4.4 Section heading -------------------------------------------------- */

.section-heading { max-width: 44rem; margin-bottom: var(--s-10); }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading--center .eyebrow { justify-content: center; }
.section-heading__title { margin-bottom: var(--s-4); }
.section-heading__text { margin: 0; font-size: var(--fs-lg); color: var(--body); }

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

.card {
	display: flex;
	flex-direction: column;
	gap: var(--s-3);
	height: 100%;
	padding: var(--s-6);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-1);
	transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.card:hover {
	transform: translateY(-4px);
	border-color: #d5deef;
	box-shadow: var(--sh-3);
}

.card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: var(--s-1);
	background: var(--blue-soft);
	color: var(--blue);
	border-radius: var(--r-md);
	transition: background var(--t-base), color var(--t-base);
}
.card:hover .card__icon { background: var(--cyan-soft); color: var(--blue-dark); }

.card__title { margin: 0; font-size: var(--fs-xl); }
.card__link { color: inherit; }
.card__link::after { content: ''; position: absolute; inset: 0; } /* whole-card click target */
.card { position: relative; }
.card__link:hover { color: var(--blue); }

.card__text { margin: 0; color: var(--body); font-size: var(--fs-sm); }

.card__cta {
	display: inline-flex;
	align-items: center;
	gap: var(--s-2);
	margin-top: auto;
	padding-top: var(--s-2);
	color: var(--blue);
	font-family: var(--font-display);
	font-size: var(--fs-sm);
	font-weight: 500;
}
.card:hover .card__cta svg { transform: translateX(3px); }
.card__cta svg { transition: transform var(--t-base); }

.card--outline { background: transparent; box-shadow: none; }
.card--dark {
	background: var(--navy-800);
	border-color: var(--line-dark);
	color: var(--on-dark-muted);
}
.card--dark .card__title { color: var(--white); }
.card--dark .card__icon { background: rgba(34, 211, 238, 0.12); color: var(--cyan); }

/* Post card */
.card--post { padding: 0; overflow: hidden; }
.card--post .card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--cloud); }
.card--post .card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.card--post:hover .card__media img { transform: scale(1.04); }
.card--post .card__body { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-6); }

/* --- 4.6 Stats ------------------------------------------------------------ */

.stats-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: var(--s-6);
	padding: var(--s-8) 0;
	border-block: 1px solid var(--line);
}
.section--dark .stats-row { border-color: var(--line-dark); }

.stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15ch; }
.stat__value,
.stat__suffix {
	color: var(--heading);
	font-family: var(--font-display);
	font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem);
	font-weight: 600;
	letter-spacing: var(--track-tight);
	line-height: 1;
}
.stat__suffix { color: var(--cyan); }
.stat__label {
	flex-basis: 100%;
	margin-top: var(--s-2);
	color: var(--muted);
	font-size: var(--fs-sm);
}
.section--dark .stat__value { color: var(--white); }
.section--dark .stat__label { color: var(--on-dark-muted); }

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

.pricing {
	display: flex;
	flex-direction: column;
	gap: var(--s-4);
	height: 100%;
	padding: var(--s-8);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
	transition: transform var(--t-base), box-shadow var(--t-base);
}
.pricing:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }

.pricing--featured {
	background: var(--navy-900);
	border-color: var(--navy-900);
	color: var(--on-dark-muted);
	box-shadow: var(--sh-3);
}
.pricing--featured .pricing__name,
.pricing--featured .pricing__amount { color: var(--white); }
.pricing--featured .pricing__period,
.pricing--featured .pricing__text { color: var(--on-dark-muted); }
.pricing--featured .pricing__features li { color: var(--on-dark); }
.pricing--featured .pricing__features .icon { color: var(--cyan); }

.pricing__name { margin: 0; font-size: var(--fs-xl); }
.pricing__price { display: flex; align-items: baseline; gap: 0.35ch; margin: 0; }
.pricing__amount {
	color: var(--heading);
	font-family: var(--font-display);
	font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem);
	font-weight: 600;
	letter-spacing: var(--track-tight);
	line-height: 1;
}
.pricing__period { color: var(--muted); font-size: var(--fs-sm); }
.pricing__text { margin: 0; font-size: var(--fs-sm); color: var(--body); }

.pricing__features { margin: var(--s-2) 0 0; padding: 0; list-style: none; }
.pricing__features li {
	display: flex;
	align-items: flex-start;
	gap: var(--s-3);
	margin-bottom: var(--s-3);
	font-size: var(--fs-sm);
}
.pricing__features .icon { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; color: var(--blue); }
.pricing__cta { margin-top: auto; width: 100%; }

/* --- 4.8 Testimonials ------------------------------------------------------ */

.testimonial {
	display: flex;
	flex-direction: column;
	gap: var(--s-4);
	height: 100%;
	margin: 0;
	padding: var(--s-8);
	background: var(--cloud);
	border-radius: var(--r-xl);
}
.testimonial__quote-mark { color: var(--cyan); }
.testimonial__quote-mark .icon { width: 28px; height: 28px; stroke-width: 1.2; }
.testimonial__rating { margin: 0; color: var(--warning); font-size: var(--fs-sm); letter-spacing: 0.1em; }
.testimonial__quote {
	margin: 0;
	color: var(--heading);
	font-family: var(--font-display);
	font-size: var(--fs-lg);
	font-weight: 500;
	line-height: var(--lh-snug);
	letter-spacing: -0.01em;
}
.testimonial__author {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 0 var(--s-3);
	margin-top: auto;
	padding-top: var(--s-2);
}
.testimonial__avatar { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial__name { color: var(--heading); font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); }
.testimonial__role { color: var(--muted); font-size: var(--fs-xs); }

/* --- 4.9 Accordion -------------------------------------------------------- */

.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }

.accordion__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-4);
	padding: var(--s-5) 0;
	color: var(--heading);
	font-family: var(--font-display);
	font-size: var(--fs-lg);
	font-weight: 500;
	cursor: pointer;
	list-style: none;
	transition: color var(--t-fast);
}
.accordion__question::-webkit-details-marker { display: none; }
.accordion__question:hover { color: var(--blue); }

.accordion__icon {
	position: relative;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}
.accordion__icon::before,
.accordion__icon::after {
	content: '';
	position: absolute;
	top: 50%; left: 50%;
	width: 12px; height: 2px;
	background: var(--blue);
	border-radius: var(--r-pill);
	transform: translate(-50%, -50%);
	transition: transform var(--t-base), opacity var(--t-base);
}
.accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion__item[open] .accordion__icon::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }

.accordion__answer { padding-bottom: var(--s-6); color: var(--body); }

/* --- 4.10 CTA band -------------------------------------------------------- */

.cta-band { padding-block: var(--pad-md); background: var(--navy-900); }
.cta-band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-8);
}
.cta-band__copy { flex: 1 1 28rem; }
.cta-band__title { margin-bottom: var(--s-3); color: var(--white); }
.cta-band__text { margin: 0; color: var(--on-dark-muted); font-size: var(--fs-lg); }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); }
.cta-band__note { margin: 0; color: var(--on-dark-muted); font-size: var(--fs-xs); }

/* --- 4.11 Forms ----------------------------------------------------------- */

.input,
input[type='text'], input[type='email'], input[type='url'], input[type='tel'],
input[type='number'], input[type='search'], input[type='password'], textarea, select {
	width: 100%;
	padding: 0.8125rem var(--s-4);
	background: var(--white);
	border: 1.5px solid var(--line);
	border-radius: var(--r-md);
	color: var(--heading);
	font-family: var(--font-body);
	font-size: var(--fs-base);
	line-height: 1.4;
	transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
textarea { min-height: 8rem; resize: vertical; }

input::placeholder, textarea::placeholder { color: #94a3b8; }

.input:focus,
input:focus, textarea:focus, select:focus {
	outline: none;
	border-color: var(--blue);
	box-shadow: 0 0 0 4px rgba(59, 91, 219, 0.12);
}

label {
	display: block;
	margin-bottom: var(--s-2);
	color: var(--heading);
	font-family: var(--font-display);
	font-size: var(--fs-sm);
	font-weight: 500;
}

.form-row { margin-bottom: var(--s-5); }
.form-help { margin-top: var(--s-2); color: var(--muted); font-size: var(--fs-xs); }
.form-error { color: var(--danger); font-size: var(--fs-sm); }

input[type='checkbox'], input[type='radio'] { width: auto; accent-color: var(--blue); }

.search-form { display: flex; gap: var(--s-2); }
.search-form__input { flex: 1; }

/* --- 4.13 Page hero and breadcrumbs ---------------------------------------- */

.page-hero {
	position: relative;
	background: var(--cloud);
	overflow: hidden;
}
.page-hero::after {
	content: '';
	position: absolute;
	right: -10%; top: -60%;
	width: 520px; height: 520px;
	background: radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 65%);
	pointer-events: none;
}
.page-hero > .container { position: relative; }
.page-hero__title { margin-bottom: var(--s-4); }
.page-hero__text { max-width: 44rem; font-size: var(--fs-lg); }
.page-hero__search { max-width: 32rem; margin-top: var(--s-6); }

.breadcrumbs { margin-bottom: var(--s-5); font-size: var(--fs-xs); }
.breadcrumbs__list { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.breadcrumbs__item { display: flex; align-items: center; gap: var(--s-2); margin: 0; color: var(--muted); }
.breadcrumbs__item:not(:last-child)::after { content: '/'; color: #cbd5e1; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--blue); }

.page-media { margin: 0; }
.page-media img { width: 100%; border-radius: var(--r-xl); }

/* ==========================================================================
   5. WORDPRESS CONTENT
   ========================================================================== */

.entry-content > * { margin-bottom: var(--s-5); }
.entry-content > h2 { margin-top: var(--s-12); }
.entry-content > h3 { margin-top: var(--s-8); }
.entry-content > :first-child { margin-top: 0; }
.entry-content img, .entry-content figure img { border-radius: var(--r-lg); }
.entry-content figure { margin: var(--s-8) 0; }
.entry-content--full > .alignfull { width: 100%; }

.alignwide  { max-width: var(--container-wide); margin-inline: auto; }
.alignfull  { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }
.alignleft  { float: left; margin: 0 var(--s-6) var(--s-4) 0; }
.alignright { float: right; margin: 0 0 var(--s-4) var(--s-6); }
.aligncenter { margin-inline: auto; }

.wp-caption-text, .wp-element-caption {
	margin-top: var(--s-3);
	color: var(--muted);
	font-size: var(--fs-xs);
	text-align: center;
}
.sticky .card__title::before { content: '★ '; color: var(--cyan); }

.post-meta { display: flex; align-items: center; gap: var(--s-2); margin: 0; color: var(--muted); font-size: var(--fs-xs); }
.entry-tags { margin-top: var(--s-8); color: var(--muted); font-size: var(--fs-sm); }

.post-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--s-4);
	margin-top: var(--s-10);
	padding-top: var(--s-6);
	border-top: 1px solid var(--line);
	font-family: var(--font-display);
	font-size: var(--fs-sm);
}

.pagination, .page-links {
	display: flex;
	justify-content: center;
	margin-top: var(--s-12);
	font-family: var(--font-display);
	font-size: var(--fs-sm);
}
.pagination .nav-links, .page-links { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pagination .page-numbers, .page-links a, .page-links > span {
	display: grid;
	place-items: center;
	min-width: 42px; height: 42px;
	padding-inline: var(--s-3);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	color: var(--heading);
	transition: all var(--t-fast);
}
.pagination .page-numbers:hover, .page-links a:hover { border-color: var(--blue); color: var(--blue); }
.pagination .page-numbers.current, .page-links > span {
	background: var(--navy-900);
	border-color: var(--navy-900);
	color: var(--white);
}

.widget { margin-bottom: var(--s-8); padding-bottom: var(--s-8); border-bottom: 1px solid var(--line); }
.widget:last-child { border-bottom: 0; }
.widget__title { margin-bottom: var(--s-4); font-size: var(--fs-lg); }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { margin-bottom: var(--s-3); font-size: var(--fs-sm); }

.comments { margin-top: var(--s-16); padding-top: var(--s-10); border-top: 1px solid var(--line); }
.comments__title { font-size: var(--fs-h3); }
.comments__list, .comments__list .children { margin: 0 0 var(--s-8); padding: 0; list-style: none; }
.comments__list .children { margin-left: var(--s-8); padding-left: var(--s-6); border-left: 1px solid var(--line); }
.comment-body { padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: var(--s-3); font-family: var(--font-display); font-weight: 600; }
.comment-author img { border-radius: 50%; }
.comment-metadata { color: var(--muted); font-size: var(--fs-xs); }
.comment-form .submit { margin-top: var(--s-4); }

.empty-state { padding: var(--s-16) 0; text-align: center; }
.empty-state__title { font-size: var(--fs-h3); }
.empty-state__text { max-width: 34rem; margin-inline: auto; }
.empty-state .search-form { max-width: 26rem; margin: var(--s-6) auto 0; }

.error-404 { text-align: center; }
.error-404__search { max-width: 26rem; margin: 0 auto var(--s-6); }
.error-404__actions { display: flex; justify-content: center; }

/* ==========================================================================
   6. UTILITIES AND MOTION
   ========================================================================== */

.text-center { text-align: center; }
.text-muted  { color: var(--muted); }
.lead        { font-size: var(--fs-lg); }
.mt-0 { margin-top: 0; }    .mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--s-4); }   .mb-4 { margin-bottom: var(--s-4); }
.mt-8 { margin-top: var(--s-8); }   .mb-8 { margin-bottom: var(--s-8); }
.flex-center { display: flex; align-items: center; justify-content: center; gap: var(--s-4); }
.stack > * + * { margin-top: var(--s-4); }
.hide-mobile { display: initial; }
@media (max-width: 768px) { .hide-mobile { display: none; } }

/* Scroll reveal — one gesture, used everywhere, so the page feels composed
   rather than decorated. Elements are visible by default; JS adds the
   pre-animation state, so nothing is ever hidden if JS fails. */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.js [data-reveal].is-revealed { opacity: 1; transform: none; }

/* Skeleton loading state for anything fetched after paint */
.skeleton {
	position: relative;
	overflow: hidden;
	background: var(--cloud);
	border-radius: var(--r-md);
	color: transparent !important;
}
.skeleton::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
	transform: translateX(-100%);
	animation: skeleton-sweep 1.4s infinite;
}
@keyframes skeleton-sweep { to { transform: translateX(100%); } }

/* Spinner for form submissions */
.spinner {
	width: 18px; height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: currentColor;
	border-radius: 50%;
	animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.is-loading { pointer-events: none; opacity: 0.7; }

@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;
	}
	.js [data-reveal] { opacity: 1; transform: none; }
	.brand__word, .brand__accent i, .brand__dot {
		opacity: 1;
		transform: none;
		filter: none;
	}
	.brand__flare { display: none; }
}

@media print {
	.site-header, .site-footer, .to-top, .nav, .cta-band { display: none !important; }
	body { color: #000; }
}

/* ==========================================================================
   7. HOME PAGE
   ========================================================================== */

/* --- 7.1 Shared ----------------------------------------------------------- */

.section-note { max-width: 46rem; margin: var(--s-10) auto 0; color: var(--muted); font-size: var(--fs-sm); text-align: center; }
.section-cta { display: flex; justify-content: center; margin-top: var(--s-12); }

/* --- 7.4 Services: sticky rail + panels ----------------------------------- */

.services { background: var(--cloud); }

.svc { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: var(--s-8); align-items: start; }
@media (max-width: 1100px) { .svc { grid-template-columns: minmax(0, 1fr); } }

.svc__rail { position: sticky; top: 96px; display: flex; flex-direction: column; gap: var(--s-2); }
@media (max-width: 1100px) {
	.svc__rail { position: static; flex-direction: row; flex-wrap: wrap; }
	.svc__tab { flex: 1 1 220px; }
}

.svc__tab {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: var(--s-3);
	width: 100%;
	padding: var(--s-4) var(--s-4);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	text-align: left;
	cursor: pointer;
	transition: all var(--t-base);
}
.svc__tab:hover { border-color: #c6d2e8; transform: translateX(2px); }
.svc__tab.is-active {
	background: var(--navy-900);
	border-color: var(--navy-900);
	box-shadow: var(--sh-3);
}
.svc__tab-num { color: var(--muted); font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; }
.svc__tab.is-active .svc__tab-num { color: var(--cyan); }
.svc__tab-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.svc__tab-title { color: var(--heading); font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 600; line-height: 1.25; }
.svc__tab.is-active .svc__tab-title { color: var(--white); }
.svc__tab-count { color: var(--muted); font-size: 0.7rem; }
.svc__tab.is-active .svc__tab-count { color: var(--on-dark-muted); }
.svc__tab-icon { display: grid; place-items: center; width: 34px; height: 34px; background: var(--blue-soft); border-radius: var(--r-sm); color: var(--blue); transition: all var(--t-base); }
.svc__tab-icon .icon { width: 18px; height: 18px; }
.svc__tab.is-active .svc__tab-icon { background: rgba(34, 211, 238, 0.16); color: var(--cyan); }

.svc__panel { display: none; }
.svc__panel.is-active { display: block; animation: svc-in 0.4s var(--ease) both; }
@keyframes svc-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.svc__head {
	position: relative;
	padding: var(--s-8) var(--s-8) var(--s-6);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-xl) var(--r-xl) 0 0;
	border-bottom: 0;
	overflow: hidden;
}
.svc__head::before {
	content: '';
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: var(--ai-gradient);
	background-size: 200% 100%;
}
.svc__head-num { display: block; margin-bottom: var(--s-3); color: var(--blue); font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-wide); }
.svc__head-title { margin-bottom: var(--s-2); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); }
.svc__head-lead { margin-bottom: var(--s-4); color: #0891b2; font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 500; }
.svc__head-intro { max-width: 62ch; margin: 0; color: var(--body); }

.svc__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-block: 1px solid var(--line);
}
@media (max-width: 720px) { .svc__grid { grid-template-columns: minmax(0, 1fr); } }

.svc__item { padding: var(--s-6); background: var(--white); transition: background var(--t-base); }
.svc__item:hover { background: #fbfcff; }
.svc__item-title { margin-bottom: var(--s-3); font-size: var(--fs-base); }
.svc__item-text { margin-bottom: var(--s-4); color: var(--body); font-size: var(--fs-sm); }
.svc__item-points { margin: 0; padding: 0; list-style: none; }
.svc__item-points li {
	display: flex; align-items: baseline; gap: var(--s-3);
	margin-bottom: var(--s-2);
	color: var(--muted); font-size: 0.8125rem; line-height: 1.5;
}
.svc__bullet { flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }

.svc__foot {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4);
	padding: var(--s-6) var(--s-8);
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 0;
	border-radius: 0 0 var(--r-xl) var(--r-xl);
}
.svc__foot p { margin: 0; color: var(--heading); font-family: var(--font-display); font-weight: 500; }

/* --- 7.5 Why NOVA AI ------------------------------------------------------ */

.why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
@media (max-width: 1000px) { .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .why__grid { grid-template-columns: minmax(0, 1fr); } }

.why__item {
	position: relative;
	padding: var(--s-8);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
	overflow: hidden;
	transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.why__item::before {
	content: '';
	position: absolute; inset: auto 0 0 0; height: 2px;
	background: var(--ai-gradient); background-size: 200% 100%;
	transform: scaleX(0); transform-origin: left;
	transition: transform 0.45s var(--ease);
}
.why__item:hover { transform: translateY(-4px); border-color: #d5deef; box-shadow: var(--sh-3); }
.why__item:hover::before { transform: scaleX(1); }
.why__num { position: absolute; top: var(--s-6); right: var(--s-6); color: #dbe3f1; font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; line-height: 1; }
.why__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: var(--s-5); background: var(--blue-soft); border-radius: var(--r-md); color: var(--blue); }
.why__title { margin-bottom: var(--s-3); font-size: var(--fs-xl); }
.why__text { margin: 0; color: var(--body); font-size: var(--fs-sm); }

/* --- 7.6 Stats and chain -------------------------------------------------- */

.stat-card { display: flex; flex-direction: column; gap: var(--s-3); height: 100%; margin: 0; padding: var(--s-6); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.stat-card__number { display: flex; align-items: baseline; }
.stat-card__value, .stat-card__suffix { color: var(--heading); font-family: var(--font-display); font-size: clamp(2.25rem, 1.8rem + 1.8vw, 3.25rem); font-weight: 600; letter-spacing: var(--track-tight); line-height: 1; }
.stat-card__suffix { color: var(--cyan); }
.stat-card__label { margin: 0; color: var(--body); font-size: var(--fs-sm); }
.stat-card__source { margin-top: auto; padding-top: var(--s-3); border-top: 1px solid var(--line); color: var(--muted); font-size: 0.75rem; font-style: normal; }

.chain__item { position: relative; padding-top: var(--s-8); }
.chain__index { position: absolute; top: 0; left: 0; color: var(--cyan); font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 600; letter-spacing: var(--track-wide); }
.chain__title { margin-bottom: var(--s-3); font-size: var(--fs-xl); }
.chain__text { margin: 0; font-size: var(--fs-sm); }

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

.compare { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.compare__head, .compare__row { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr; gap: var(--s-5); padding: var(--s-5) var(--s-6); align-items: start; }
.compare__head { background: var(--cloud); border-bottom: 1px solid var(--line); }
.compare__col-label { color: var(--muted); font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--track-wide); text-transform: uppercase; }
.compare__col-label--us { color: var(--blue); }
.compare__row + .compare__row { border-top: 1px solid var(--line); }
.compare__key { color: var(--heading); font-family: var(--font-display); font-weight: 500; font-size: var(--fs-sm); }
.compare__them { color: var(--muted); font-size: var(--fs-sm); }
.compare__us { display: flex; gap: var(--s-2); color: var(--heading); font-size: var(--fs-sm); }
.compare__us .icon { width: 17px; height: 17px; margin-top: 3px; flex-shrink: 0; color: var(--blue); }
.compare__row--concede { background: var(--cloud); }
.compare__row--concede .compare__us { color: var(--muted); }
@media (max-width: 860px) {
	.compare__head { display: none; }
	.compare__row { grid-template-columns: 1fr; gap: var(--s-2); }
	.compare__key { font-size: var(--fs-base); margin-bottom: var(--s-1); }
	.compare__them::before { content: 'Traditional agency — '; color: #94a3b8; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; }
}

/* --- 7.8 Method and stack ------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); margin: 0 0 var(--s-16); padding: 0; list-style: none; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps__item { margin: 0; padding-top: var(--s-5); border-top: 2px solid var(--blue); }
.steps__num { display: block; margin-bottom: var(--s-3); color: var(--blue); font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 600; letter-spacing: var(--track-wide); }
.steps__title { margin-bottom: var(--s-2); font-size: var(--fs-xl); }
.steps__text { margin: 0; font-size: var(--fs-sm); }

.stack {
	position: relative;
	padding: var(--s-10);
	background: var(--navy-900);
	border-radius: var(--r-xl);
	color: var(--on-dark-muted);
	overflow: hidden;
}
.stack::before {
	content: '';
	position: absolute; top: -50%; right: -10%;
	width: 620px; aspect-ratio: 1;
	background: radial-gradient(closest-side, rgba(124, 92, 255, 0.24), transparent 70%);
	pointer-events: none;
}
.stack > * { position: relative; }
.stack__title { margin-bottom: var(--s-2); color: var(--white); font-size: var(--fs-h3); }
.stack__intro { max-width: 60ch; margin-bottom: var(--s-8); color: var(--on-dark-muted); font-size: var(--fs-sm); }

.stack__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-6); margin-bottom: var(--s-8); }
@media (max-width: 1000px) { .stack__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .stack__grid { grid-template-columns: minmax(0, 1fr); } }

.stack__group { padding-top: var(--s-5); border-top: 1px solid var(--line-dark); }
.stack__icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: var(--s-4); background: rgba(34, 211, 238, 0.12); border-radius: var(--r-sm); color: var(--cyan); }
.stack__name { margin-bottom: var(--s-4); color: var(--white); font-size: var(--fs-sm); letter-spacing: var(--track-wide); text-transform: uppercase; }
.stack__chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.stack__chips li {
	margin: 0; padding: 0.3rem 0.6rem;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--line-dark);
	border-radius: var(--r-sm);
	font-size: 0.75rem;
	transition: all var(--t-base);
}
.stack__chips li:hover { background: rgba(34, 211, 238, 0.12); border-color: rgba(34, 211, 238, 0.4); color: var(--white); }
.stack__note { margin: 0; padding: var(--s-6); background: rgba(255, 255, 255, 0.04); border-left: 2px solid var(--cyan); border-radius: 0 var(--r-lg) var(--r-lg) 0; font-size: var(--fs-sm); }

/* --- 7.10 Slider ---------------------------------------------------------- */

.slider__top { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-8); }
.slider__heading { margin-bottom: var(--s-10); }
.slider__nav { display: flex; gap: var(--s-2); margin-bottom: var(--s-10); flex-shrink: 0; }
@media (max-width: 700px) { .slider__nav { display: none; } }

.slider__btn {
	display: grid; place-items: center;
	width: 44px; height: 44px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--heading);
	cursor: pointer;
	transition: all var(--t-base);
}
.slider__btn:hover { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.slider__btn[disabled] { opacity: 0.35; cursor: default; }
.slider__btn[disabled]:hover { background: var(--white); border-color: var(--line); color: var(--heading); }

.slider { overflow: hidden; }
.slider__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 2 * var(--s-6)) / 3);
	gap: var(--s-6);
	transition: transform 0.5s var(--ease);
}
@media (max-width: 1000px) { .slider__track { grid-auto-columns: calc((100% - var(--s-6)) / 2); } }
@media (max-width: 700px)  {
	.slider { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.slider::-webkit-scrollbar { display: none; }
	.slider__track { grid-auto-columns: 85%; transform: none !important; }
	.slider__slide { scroll-snap-align: start; }
}

.slider__dots { display: flex; justify-content: center; gap: var(--s-2); margin-top: var(--s-8); }
.slider__dot { width: 7px; height: 7px; padding: 0; background: #cbd5e1; border: 0; border-radius: 50%; cursor: pointer; transition: all var(--t-base); }
.slider__dot.is-active { width: 26px; border-radius: var(--r-pill); background: var(--blue); }

/* --- 7.11 Case cards ------------------------------------------------------ */

.case {
	display: flex; flex-direction: column; gap: var(--s-3);
	height: 100%; padding: var(--s-7, 1.75rem);
	padding: var(--s-6);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
	transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.case:hover { transform: translateY(-4px); border-color: #d5deef; box-shadow: var(--sh-3); }
.case .badge { align-self: flex-start; }
.case__industry { margin: 0; font-size: var(--fs-xl); }
.case__client { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.case__meta { display: flex; gap: var(--s-6); margin: var(--s-2) 0; }
.case__meta dt { color: var(--muted); font-size: 0.7rem; letter-spacing: var(--track-wide); text-transform: uppercase; }
.case__meta dd { margin: 2px 0 0; color: var(--heading); font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 500; }
.case__ask { margin: 0; padding: var(--s-4) 0; border-block: 1px solid var(--line); color: var(--body); font-size: var(--fs-sm); }
.case__outcomes { margin: 0; padding: 0; list-style: none; }
.case__outcomes li { display: flex; flex-direction: column; gap: 1px; margin-bottom: var(--s-4); }
.case__outcomes li:last-child { margin-bottom: 0; }
.case__figure { color: var(--heading); font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 600; letter-spacing: var(--track-tight); line-height: 1.1; }
.case__caption { color: var(--muted); font-size: var(--fs-xs); }

/* --- 7.12 Reviews --------------------------------------------------------- */

.review {
	position: relative;
	display: flex; flex-direction: column; gap: var(--s-4);
	height: 100%; margin: 0; padding: var(--s-8);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
}
.review__mark { position: absolute; top: var(--s-6); right: var(--s-6); color: #e2e8f5; }
.review__mark .icon { width: 30px; height: 30px; stroke-width: 1.2; }
.review__rating { margin: 0; color: #f59e0b; font-size: var(--fs-sm); letter-spacing: 0.14em; }
.review__quote { margin: 0; color: var(--heading); font-family: var(--font-display); font-size: var(--fs-base); font-weight: 500; line-height: 1.55; }
.review__by { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: var(--s-5); border-top: 1px solid var(--line); }
.review__name { color: var(--heading); font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); }
.review__role { color: var(--muted); font-size: var(--fs-xs); }
.review__source { margin-top: var(--s-2); color: var(--muted); font-size: 0.72rem; }
.review__source a { color: var(--blue); }

/* --- 7.13 Compliance ------------------------------------------------------ */

.compliance__item { padding: var(--s-6); background: var(--cloud); border-radius: var(--r-lg); transition: background var(--t-base); }
.compliance__item:hover { background: var(--blue-soft); }
.compliance__icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--s-4); background: var(--white); border-radius: var(--r-md); color: var(--blue); }
.compliance__title { margin-bottom: var(--s-2); font-size: var(--fs-base); }
.compliance__text { margin: 0; color: var(--body); font-size: var(--fs-sm); }
.certs { margin-top: var(--s-10); padding: var(--s-8); border: 1px solid var(--line); border-radius: var(--r-xl); }
.certs__title { margin-bottom: var(--s-5); font-size: var(--fs-xl); }
.certs__list { display: flex; flex-wrap: wrap; gap: var(--s-4); margin: 0; padding: 0; list-style: none; }
.certs__item { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: var(--s-4) var(--s-5); background: var(--cloud); border-radius: var(--r-md); font-size: var(--fs-sm); }
.certs__item strong { color: var(--heading); font-family: var(--font-display); }
.certs__ref { color: var(--muted); font-size: var(--fs-xs); }
.certs__note { margin-top: var(--s-5); color: var(--muted); font-size: var(--fs-xs); }

/* --- 7.14 Tiles ----------------------------------------------------------- */

.tiles { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
.tiles__item { margin: 0; padding: 0.75rem 1.25rem; background: var(--cloud); border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--heading); font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 500; transition: all var(--t-base); }
.tiles__item:hover { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); }

/* --- 7.15 Engagement models ----------------------------------------------- */

.models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); }
@media (max-width: 1100px) { .models { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .models { grid-template-columns: minmax(0, 1fr); } }

.model {
	position: relative;
	display: flex; flex-direction: column;
	padding: var(--s-8) var(--s-6);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
	transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.model:hover { transform: translateY(-4px); border-color: #d5deef; box-shadow: var(--sh-3); }
.model--featured { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-dark-muted); }
.model--featured .model__name { color: var(--white); }
.model--featured .model__for { color: var(--cyan); }
.model--featured .model__text, .model--featured .model__items li { color: var(--on-dark-muted); }
.model--featured .model__icon { background: rgba(34, 211, 238, 0.14); color: var(--cyan); }
.model--featured .model__items .icon { color: var(--cyan); }
.model--featured .model__items { border-color: var(--line-dark); }

.model__flag {
	position: absolute; top: var(--s-5); right: var(--s-5);
	padding: 0.2rem 0.6rem;
	background: var(--cyan); border-radius: var(--r-pill);
	color: var(--navy-900); font-family: var(--font-display); font-size: 0.68rem; font-weight: 600;
}
.model__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--s-5); background: var(--blue-soft); border-radius: var(--r-md); color: var(--blue); }
.model__name { margin-bottom: var(--s-1); font-size: var(--fs-xl); }
.model__for { margin-bottom: var(--s-4); color: var(--blue); font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.02em; }
.model__text { margin-bottom: var(--s-5); color: var(--body); font-size: var(--fs-sm); }
.model__items { margin: auto 0 0; padding: var(--s-5) 0 0; border-top: 1px solid var(--line); list-style: none; }
.model__items li { display: flex; gap: var(--s-3); margin-bottom: var(--s-2); color: var(--body); font-size: var(--fs-sm); }
.model__items .icon { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; color: var(--blue); }

/* --- 7.16 FAQ tabs -------------------------------------------------------- */

.faq { max-width: 62rem; margin-inline: auto; }
.faq__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); margin-bottom: var(--s-10); }
.faq__tab {
	display: inline-flex; align-items: center; gap: var(--s-2);
	padding: 0.55rem 1.1rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	color: var(--body);
	font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 500;
	cursor: pointer;
	transition: all var(--t-base);
}
.faq__tab:hover { border-color: var(--blue); color: var(--blue); }
.faq__tab.is-active { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.faq__tab-count {
	display: grid; place-items: center;
	min-width: 20px; height: 20px; padding-inline: 5px;
	background: var(--cloud); border-radius: var(--r-pill);
	color: var(--muted); font-size: 0.68rem;
}
.faq__tab.is-active .faq__tab-count { background: rgba(255, 255, 255, 0.16); color: var(--white); }

.faq__panel { display: none; }
.faq__panel.is-active { display: block; animation: svc-in 0.35s var(--ease) both; }
.faq .accordion { border-top: 0; }
.faq .accordion__item { border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: var(--s-3); background: var(--white); }
.faq .accordion__question { padding: var(--s-5) var(--s-6); font-size: var(--fs-base); }
.faq .accordion__answer { padding: 0 var(--s-6) var(--s-5); }
.faq .accordion__answer p { margin: 0; color: var(--body); font-size: var(--fs-sm); }

/* --- 7.17 Small screens --------------------------------------------------- */

@media (max-width: 560px) {
	.btn { white-space: normal; text-wrap: balance; }
	.hero__actions .btn, .section-cta .btn, .cta-band__actions .btn, .svc__foot .btn { width: 100%; }
	.hero__actions { flex-direction: column; align-items: stretch; }
	.slider__top { flex-direction: column; align-items: stretch; }
	.svc__head, .svc__foot { padding-inline: var(--s-5); }
}

@media (prefers-reduced-motion: reduce) {
	.hero__copy > *, .hero__panel, .svc__panel.is-active, .faq__panel.is-active { opacity: 1; transform: none; animation: none; }
	.hero::before { animation: none; }
	.slider__track { transition: none; }
}

/* ==========================================================================
   8. HEADER, MEGA MENU AND FOOTER
   ========================================================================== */

/* --- 8.1 Announcement + header shell -------------------------------------- */

.topbar { background: var(--navy-900); color: var(--on-dark-muted); font-size: var(--fs-xs); text-align: center; }
.topbar__text { margin: 0; padding: var(--s-2) 0; }

.site-header {
	position: sticky;
	top: 0;
	z-index: var(--z-header);
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color var(--t-base), box-shadow var(--t-base), background var(--t-base);
}
.site-header.is-stuck { background: rgba(255, 255, 255, 0.96); border-bottom-color: var(--line); box-shadow: 0 6px 24px -14px rgba(15, 23, 42, 0.4); }
.site-header__inner { display: flex; align-items: center; gap: var(--s-5); min-height: 76px; }
.site-header__actions { display: flex; align-items: center; gap: var(--s-3); margin-left: auto; }
.site-header__progress { position: absolute; left: 0; bottom: -1px; width: 0; height: 2px; background: var(--ai-gradient); transition: width 0.1s linear; }

/* --- 8.2 Top-level nav ---------------------------------------------------- */

.nav { margin-left: var(--s-3); }
.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; margin: 0; }

.nav__link {
	display: flex; align-items: center; gap: 5px;
	padding: 0.55rem 0.7rem;
	border-radius: var(--r-sm);
	color: var(--heading);
	font-family: var(--font-display);
	font-size: 0.9rem;
	font-weight: 500;
	white-space: nowrap;
	transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover { color: var(--blue); background: var(--blue-soft); }
.nav__chev { opacity: 0.5; transition: transform var(--t-base); }
.nav__item:hover .nav__chev { transform: rotate(180deg); opacity: 1; }
.nav__toggle { display: none; }

/* --- 8.4 Simple dropdown -------------------------------------------------- */

.drop {
	position: absolute;
	top: 100%; left: 0;
	z-index: var(--z-menu);
	padding-top: var(--s-3);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
}
.has-panel:hover > .drop,
.has-panel.is-hover > .drop,
.has-panel:focus-within > .drop { opacity: 1; visibility: visible; transform: translateY(0); }

.drop__list {
	min-width: 230px;
	margin: 0; padding: var(--s-3);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: 0 24px 60px -24px rgba(11, 18, 32, 0.4);
	list-style: none;
}
.drop__list--2 { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 0 var(--s-2); min-width: 380px; }
.drop__list li { margin: 0; }
.drop__link { display: block; padding: 0.45rem 0.6rem; border-radius: var(--r-sm); transition: background var(--t-fast); }
.drop__link:hover { background: var(--cloud); }
.drop__label { display: block; color: var(--heading); font-family: var(--font-display); font-size: 0.8125rem; font-weight: 500; }
.drop__link:hover .drop__label { color: var(--blue); }
.drop__desc { display: block; color: var(--muted); font-size: 0.7rem; }

.nav__foot { display: none; }

/* --- 8.5 Mobile drawer ---------------------------------------------------- */

.nav-toggle { display: none; position: relative; width: 42px; height: 42px; background: none; border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; }
.nav-toggle__box { position: absolute; inset: 0; display: grid; place-items: center; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
	position: absolute; width: 18px; height: 2px;
	background: var(--heading); border-radius: var(--r-pill);
	transition: transform var(--t-base), opacity var(--t-fast);
}
.nav-toggle__bar::before { content: ''; transform: translateY(-6px); }
.nav-toggle__bar::after  { content: ''; transform: translateY(6px); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar::after  { transform: rotate(-45deg); }

@media (max-width: 1180px) {
	.nav-toggle { display: block; }
	.site-header__cta { display: none; }

	.nav {
		position: fixed;
		inset: 0 0 0 auto;
		z-index: var(--z-menu);
		width: min(420px, 90vw);
		margin: 0;
		padding: 92px var(--gutter) var(--s-10);
		background: var(--white);
		border-left: 1px solid var(--line);
		overflow-y: auto;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform var(--t-slow), visibility var(--t-slow);
	}
	body.nav-open { overflow: hidden; }
	body.nav-open .nav { transform: translateX(0); visibility: visible; }
	/* The drawer lives inside .site-header, which is its own stacking context at
	   --z-header. So the scrim must sit *below* the header, not below --z-menu,
	   or it swallows every tap meant for the menu. */
	body.nav-open::after { content: ''; position: fixed; inset: 0; z-index: var(--z-scrim); background: rgba(11, 18, 32, 0.55); }

	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__item { border-bottom: 1px solid var(--line); }
	.nav__link { padding: var(--s-4) 0; font-size: var(--fs-base); }
	.nav__chev { display: none; }

	.nav__toggle {
		display: grid; place-items: center;
		position: absolute; top: 8px; right: 0;
		width: 36px; height: 36px;
		background: none; border: 0; border-radius: var(--r-sm);
		color: var(--muted); cursor: pointer;
		transition: transform var(--t-base);
	}
	.nav__toggle[aria-expanded='true'] { transform: rotate(180deg); }

	.mega, .drop {
		position: static;
		display: none;
		padding: 0 0 var(--s-4);
		opacity: 1; visibility: visible; transform: none;
	}
	.nav__item.is-open > .mega, .nav__item.is-open > .drop { display: block; }

	.mega__inner, .drop__list {
		display: block;
		min-width: 0; padding: 0;
		background: none; border: 0; box-shadow: none;
	}
	.mega__grid { display: block; }
	.mega__group { margin-bottom: var(--s-5); }
	.mega__promo { margin-top: var(--s-4); }
	.drop__list--2 { display: block; }

	.nav__foot { display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--line); }
	.nav__foot a:not(.btn) { color: var(--body); font-size: var(--fs-sm); }
}

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

.site-footer {
	position: relative;
	background: var(--navy-900);
	color: var(--on-dark-muted);
	font-size: var(--fs-sm);
	overflow: hidden;
}
.site-footer::before {
	content: '';
	position: absolute; inset: 0 0 auto; height: 1px;
	background: var(--ai-gradient); background-size: 200% 100%;
}
.site-footer__glow {
	position: absolute; top: -30%; left: 50%;
	width: min(1100px, 100%); aspect-ratio: 2;
	transform: translateX(-50%);
	background: radial-gradient(closest-side, rgba(59, 91, 219, 0.22), transparent 70%);
	pointer-events: none;
}
.site-footer__inner { position: relative; padding-top: var(--pad-md); }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: var(--cyan); }

.site-footer__top { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: var(--s-12); padding-bottom: var(--s-12); }
@media (max-width: 1000px) { .site-footer__top { grid-template-columns: minmax(0, 1fr); gap: var(--s-10); } }

.site-footer__about { margin: var(--s-5) 0 var(--s-6); max-width: 42ch; }
.site-footer__contact { margin: 0 0 var(--s-6); padding: 0; list-style: none; }
.site-footer__contact li { display: flex; align-items: flex-start; gap: var(--s-3); margin-bottom: var(--s-3); }
.site-footer__contact .icon { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; color: var(--cyan); }
.site-footer__contact address { font-style: normal; }

.social { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.social li { margin: 0; }
.social a {
	display: inline-block;
	padding: 0.35rem 0.75rem;
	border: 1px solid var(--line-dark);
	border-radius: var(--r-pill);
	font-size: var(--fs-xs);
	transition: all var(--t-base);
}
.social a:hover { background: rgba(34, 211, 238, 0.12); border-color: rgba(34, 211, 238, 0.45); }

.site-footer__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-8) var(--s-6); }
@media (max-width: 1000px) { .site-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.site-footer__heading { margin-bottom: var(--s-4); color: var(--white); font-size: 0.75rem; font-weight: 600; letter-spacing: var(--track-wide); text-transform: uppercase; }
.site-footer__list { margin: 0; padding: 0; list-style: none; }
.site-footer__list li { margin-bottom: var(--s-3); }
.site-footer__list a { font-size: 0.82rem; }

.site-footer__cta {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-6);
	padding: var(--s-8);
	background: linear-gradient(120deg, rgba(124, 92, 255, 0.16), rgba(34, 211, 238, 0.12));
	border: 1px solid var(--line-dark);
	border-radius: var(--r-xl);
}
.site-footer__cta-title { margin-bottom: var(--s-1); color: var(--white); font-size: var(--fs-h3); }
.site-footer__cta-text { margin: 0; }

.site-footer__badges { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); margin: var(--s-8) 0 0; padding: 0; list-style: none; }
.site-footer__badges li { display: flex; align-items: center; gap: var(--s-2); margin: 0; color: var(--on-dark-muted); font-size: var(--fs-xs); }
.site-footer__badges .icon { width: 15px; height: 15px; color: var(--cyan); }

.site-footer__bottom {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4);
	margin-top: var(--s-8);
	padding: var(--s-6) 0;
	border-top: 1px solid var(--line-dark);
	font-size: var(--fs-xs);
}
.site-footer__copy { margin: 0; }
.site-footer__legal-list { display: flex; flex-wrap: wrap; gap: var(--s-5); margin: 0; padding: 0; list-style: none; }
.site-footer__legal-list li { margin: 0; }

.site-footer__watermark {
	position: relative;
	margin-top: calc(var(--s-4) * -1);
	color: rgba(255, 255, 255, 0.035);
	font-family: var(--font-display);
	font-size: clamp(4rem, 15vw, 13rem);
	font-weight: 700;
	letter-spacing: -0.05em;
	line-height: 0.8;
	text-align: center;
	text-transform: uppercase;
	user-select: none;
	pointer-events: none;
	white-space: nowrap;
	overflow: hidden;
}

.to-top {
	position: fixed; right: var(--s-6); bottom: var(--s-6); z-index: var(--z-top);
	display: grid; place-items: center;
	width: 44px; height: 44px;
	background: var(--navy-900); border: 0; border-radius: 50%;
	color: var(--white); cursor: pointer;
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base), background var(--t-base);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--blue); }

.is-landing .nav, .is-landing .nav-toggle, .is-landing .site-footer__top,
.is-landing .site-footer__cols, .is-landing .topbar { display: none; }

/* ==========================================================================
   9. REFINEMENTS
   ========================================================================== */

/* --- 9.1 Tighter header so seven items never crowd the CTA ---------------- */

.site-header__inner { gap: var(--s-4); }
.nav { margin-left: var(--s-2); }
.nav__link { padding: 0.5rem 0.6rem; font-size: 0.875rem; }
.site-header__cta { font-size: 0.8125rem; padding: 0.625rem 1rem; }

@media (max-width: 1400px) { .nav__link { padding-inline: 0.5rem; font-size: 0.85rem; } }

/* --- 9.3 Comparison: make our column obviously ours ----------------------- */

.compare { position: relative; }
.compare__head, .compare__row { position: relative; }

.compare__us {
	position: relative;
	margin: calc(var(--s-3) * -1) calc(var(--s-4) * -1);
	padding: var(--s-3) var(--s-4);
	background: linear-gradient(100deg, rgba(59, 91, 219, 0.06), rgba(34, 211, 238, 0.06));
	border-left: 2px solid var(--blue);
	border-radius: 0 var(--r-sm) var(--r-sm) 0;
	color: var(--heading);
	font-weight: 500;
}
.compare__head .compare__col-label--us {
	display: inline-flex;
	align-items: center;
	gap: var(--s-2);
	padding: 0.3rem 0.7rem;
	background: var(--navy-900);
	border-radius: var(--r-pill);
	color: var(--white);
}
.compare__head .compare__col-label--us::before {
	content: '';
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--cyan);
	box-shadow: 0 0 8px rgba(34, 211, 238, 0.9);
}
.compare__row--concede .compare__us {
	background: transparent;
	border-left-color: #cbd5e1;
	color: var(--muted);
	font-weight: 400;
}
@media (max-width: 860px) {
	.compare__us { margin: var(--s-2) 0 0; padding: var(--s-3) var(--s-4); }
	.compare__us::before { content: 'NOVA AI — '; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); }
}

/* --- 9.4 WhatsApp float --------------------------------------------------- */

.wa-float {
	position: fixed;
	left: var(--s-6);
	bottom: var(--s-6);
	z-index: var(--z-top);
	display: grid;
	place-items: center;
	width: 52px; height: 52px;
	background: #25d366;
	border-radius: 50%;
	color: #fff;
	box-shadow: 0 10px 26px -8px rgba(37, 211, 102, 0.7);
	transition: transform var(--t-base), box-shadow var(--t-base);
}
.wa-float::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid rgba(37, 211, 102, 0.55);
	animation: wa-ring 2.6s var(--ease) infinite;
}
.wa-float:hover { transform: scale(1.08); color: #fff; box-shadow: 0 14px 32px -8px rgba(37, 211, 102, 0.85); }
@keyframes wa-ring {
	0%   { transform: scale(1); opacity: 0.8; }
	70%  { transform: scale(1.5); opacity: 0; }
	100% { transform: scale(1.5); opacity: 0; }
}
@media (max-width: 560px) { .wa-float { width: 46px; height: 46px; left: var(--s-4); bottom: var(--s-4); } }

/* --- 9.5 Admin setup notice ----------------------------------------------- */

.setup-notice { padding: var(--s-4) 0; background: #fffbeb; border-bottom: 1px solid #fde68a; }
.setup-notice p { margin: 0; color: #92400e; font-size: var(--fs-sm); }

/* --- 9.7 The mobile drawer bug -------------------------------------------
   `backdrop-filter` on .site-header made the header a containing block for
   every position:fixed descendant. The mobile drawer is fixed, so instead of
   filling the viewport it collapsed to the header's own height — about 130px,
   with the rest of the menu unreachable.

   Moving the blur onto a pseudo-element keeps the glass look while leaving
   .site-header a normal ancestor, so fixed children resolve against the
   viewport again.
   -------------------------------------------------------------------------- */

.site-header {
	background: transparent;
	backdrop-filter: none;
	isolation: isolate;
}
.site-header::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: saturate(180%) blur(14px);
	transition: background var(--t-base);
}
.site-header.is-stuck { background: transparent; }
.site-header.is-stuck::before { background: rgba(255, 255, 255, 0.96); }

/* The drawer is fixed to the viewport, so give it the full height explicitly */
@media (max-width: 1180px) {
	.nav {
		top: 0;
		bottom: 0;
		height: 100dvh;
		max-height: 100dvh;
	}
}

/* ==========================================================================
   10. SURFACES — the background system
   Dark is now rationed: one statement section and the footer. Everything else
   is white or a tint, each with a different low-contrast AI-ish texture, so
   scrolling reads as movement rather than one long page.
   ========================================================================== */

.section--white  { background: var(--white); }
.section--ivory  { background: var(--ivory); }
.section--cloud  { background: var(--cloud); }
.section--mist   { background: var(--mist); }
.section--haze   { background: var(--haze); }
.section--frost  { background: var(--frost); }

.section--white, .section--ivory, .section--cloud,
.section--mist,  .section--haze,  .section--frost { position: relative; isolation: isolate; }

/* --- Textures. All are pointer-events:none and sit at z-index -1 ---------- */

.tx { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }

/* Fine grid, fading out at the edges */
.tx--grid::before {
	content: '';
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(59, 91, 219, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(59, 91, 219, 0.055) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 75%);
}

/* Dot matrix */
.tx--dots::before {
	content: '';
	position: absolute; inset: 0;
	background-image: radial-gradient(rgba(59, 91, 219, 0.14) 1px, transparent 1px);
	background-size: 26px 26px;
	mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000, transparent 72%);
}

/* Soft gradient orbs — the "AI" glow, kept faint on light backgrounds */
.tx--orbs::before,
.tx--orbs::after {
	content: '';
	position: absolute;
	width: 46vw; aspect-ratio: 1;
	border-radius: 50%;
	filter: blur(70px);
}
.tx--orbs::before { top: -18%; left: -10%; background: rgba(124, 92, 255, 0.14); }
.tx--orbs::after  { bottom: -22%; right: -8%; background: rgba(34, 211, 238, 0.16); }

/* Diagonal hairlines */
.tx--rays::before {
	content: '';
	position: absolute; inset: -20%;
	background: repeating-linear-gradient(115deg, transparent 0 42px, rgba(59, 91, 219, 0.05) 42px 43px);
	mask-image: linear-gradient(180deg, #000, transparent 85%);
}

/* Concentric arcs, like a signal spreading */
.tx--waves::before {
	content: '';
	position: absolute;
	top: 50%; left: 50%;
	width: 1400px; aspect-ratio: 1;
	transform: translate(-50%, -50%);
	background:
		radial-gradient(circle, transparent 0 24%, rgba(59, 91, 219, 0.06) 24% 24.15%, transparent 24.15%),
		radial-gradient(circle, transparent 0 34%, rgba(34, 211, 238, 0.07) 34% 34.12%, transparent 34.12%),
		radial-gradient(circle, transparent 0 45%, rgba(124, 92, 255, 0.055) 45% 45.1%, transparent 45.1%);
	mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}

/* Hairline divider between two light sections */
.section--hairline { border-top: 1px solid rgba(15, 23, 42, 0.06); }

/* ==========================================================================
   11. HERO
   Light. Depth from a gradient mesh and a floating report card, not a slab
   of navy. The H1 stays the LCP element — there is still no image here.
   ========================================================================== */

.hero {
	position: relative;
	padding-block: clamp(3.5rem, 8vw, 7rem);
	background: linear-gradient(180deg, #fdfdff 0%, var(--mist) 55%, #fbfcff 100%);
	overflow: hidden;
	isolation: isolate;
}

.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.hero__orb--a { top: -22%; left: -8%;  width: 44vw; aspect-ratio: 1; background: rgba(124, 92, 255, 0.22); animation: orb-a 26s ease-in-out infinite alternate; }
.hero__orb--b { top: 6%;  right: -6%;  width: 40vw; aspect-ratio: 1; background: rgba(34, 211, 238, 0.26); animation: orb-b 22s ease-in-out infinite alternate; }
.hero__orb--c { bottom: -30%; left: 34%; width: 38vw; aspect-ratio: 1; background: rgba(59, 91, 219, 0.16); animation: orb-a 30s ease-in-out infinite alternate-reverse; }
@keyframes orb-a { to { transform: translate3d(6%, -5%, 0) scale(1.12); } }
@keyframes orb-b { to { transform: translate3d(-7%, 6%, 0) scale(1.08); } }

.hero__grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(59, 91, 219, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(59, 91, 219, 0.07) 1px, transparent 1px);
	background-size: 58px 58px;
	mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 10%, transparent 70%);
}

.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(2.5rem, 5vw, 4.5rem);
	align-items: center;
}
@media (max-width: 1024px) { .hero__inner { grid-template-columns: minmax(0, 1fr); } }

.hero__copy > *, .hero__visual { animation: hero-in 0.7s var(--ease) both; }
.hero__copy > .hero__badge   { animation-delay: 0.04s; }
.hero__copy > .hero__title   { animation-delay: 0.12s; }
.hero__copy > .hero__text    { animation-delay: 0.22s; }
.hero__copy > .hero__actions { animation-delay: 0.3s; }
.hero__copy > .hero__note    { animation-delay: 0.38s; }
.hero__visual                { animation-delay: 0.26s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero__badge {
	display: inline-flex; align-items: center; gap: var(--s-2);
	margin-bottom: var(--s-6);
	padding: 0.4rem 0.9rem 0.4rem 0.6rem;
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid rgba(59, 91, 219, 0.18);
	border-radius: var(--r-pill);
	box-shadow: 0 2px 10px -4px rgba(59, 91, 219, 0.25);
	color: var(--blue);
	font-family: var(--font-display);
	font-size: var(--fs-xs);
	font-weight: 500;
	backdrop-filter: blur(6px);
}
.hero__badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); animation: brand-pulse 3s var(--ease) infinite; }

.hero__title {
	max-width: 13ch;
	margin-bottom: var(--s-5);
	font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.75rem);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.038em;
}
.hero__title-grad {
	display: block;
	background: var(--ai-gradient);
	background-size: 260% 100%;
	-webkit-background-clip: text; background-clip: text; color: transparent;
	animation: brand-aurora 9s linear infinite;
}

.hero__text { max-width: 34rem; margin-bottom: var(--s-8); font-size: var(--fs-lg); color: var(--body); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-5); }
.hero__note { display: flex; align-items: center; gap: var(--s-2); margin: 0; color: var(--muted); font-size: var(--fs-xs); }
.hero__note .icon { width: 15px; height: 15px; color: var(--success); }

/* ==========================================================================
   12. TRUST BAR
   ========================================================================== */

.trustbar__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: var(--s-4);
	margin: 0 0 var(--s-10);
	padding: 0;
	list-style: none;
}
@media (max-width: 1000px) { .trustbar__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .trustbar__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.trustbar__item {
	display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-1);
	margin: 0; padding: var(--s-6);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.trustbar__item:hover { transform: translateY(-3px); border-color: #d5deef; box-shadow: var(--sh-2); }
.trustbar__icon { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: var(--s-3); background: var(--blue-soft); border-radius: var(--r-sm); color: var(--blue); }
.trustbar__icon .icon { width: 18px; height: 18px; }
.trustbar__num { display: flex; align-items: baseline; color: var(--heading); font-family: var(--font-display); font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 600; letter-spacing: var(--track-tight); line-height: 1; }
.trustbar__suffix { color: var(--cyan); }
.trustbar__label { color: var(--muted); font-size: var(--fs-xs); line-height: 1.45; }

.trustbar__platforms { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-8); padding-top: var(--s-8); border-top: 1px solid var(--line); }
.trustbar__platforms-label { color: var(--muted); font-size: var(--fs-xs); letter-spacing: var(--track-wide); text-transform: uppercase; }
.trustbar__platforms ul { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-7, 1.75rem); gap: var(--s-3) var(--s-6); margin: 0; padding: 0; list-style: none; }
.trustbar__platforms li { margin: 0; color: #94a4be; font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em; transition: color var(--t-base); }
.trustbar__platforms li:hover { color: var(--heading); }

/* ==========================================================================
   13. MEGA MENU — two panes, click to switch
   Six columns of links was taller than a laptop screen and forced the page
   to scroll behind it. Now the engines sit in a rail and only the chosen
   engine's services render, so the panel is a fixed, small height.
   ========================================================================== */

.mega {
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: var(--z-menu);
	width: max-content;
	padding-top: var(--s-3);
	transform: translateX(-50%) translateY(-8px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.is-mega.is-hover > .mega,
.is-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* An invisible bridge across the gap between the link and the panel, so the
   pointer never crosses dead space on its way down. */
.mega::before { content: ''; position: absolute; inset: 0 0 auto; height: var(--s-3); }

.mega__inner {
	display: grid;
	grid-template-columns: 264px 420px;
	width: min(700px, calc(100vw - 2 * var(--gutter)));
	max-width: none;
	padding: 0;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
	box-shadow: 0 30px 70px -26px rgba(11, 18, 32, 0.42);
	overflow: hidden;
}

.mega__rail { display: flex; flex-direction: column; gap: 2px; padding: var(--s-3); background: var(--cloud); border-right: 1px solid var(--line); }

.mega__rail-btn {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) auto auto;
	align-items: center;
	gap: var(--s-2);
	padding: 0.55rem 0.6rem;
	background: none;
	border: 0;
	border-radius: var(--r-sm);
	text-align: left;
	cursor: pointer;
	transition: background var(--t-fast), color var(--t-fast);
}
.mega__rail-btn:hover { background: rgba(255, 255, 255, 0.85); }
.mega__rail-btn.is-active { background: var(--navy-900); }
.mega__rail-icon { display: grid; place-items: center; width: 26px; height: 26px; background: var(--white); border-radius: 6px; color: var(--blue); }
.mega__rail-icon .icon { width: 14px; height: 14px; }
.mega__rail-btn.is-active .mega__rail-icon { background: rgba(34, 211, 238, 0.16); color: var(--cyan); }
.mega__rail-label { color: var(--heading); font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; line-height: 1.25; }
.mega__rail-btn.is-active .mega__rail-label { color: var(--white); }
.mega__rail-count { min-width: 18px; padding: 0 5px; background: var(--white); border-radius: var(--r-pill); color: var(--muted); font-size: 0.62rem; line-height: 16px; text-align: center; }
.mega__rail-btn.is-active .mega__rail-count { background: rgba(255, 255, 255, 0.18); color: var(--white); }
.mega__rail-chev { color: #cbd5e1; opacity: 0; transition: opacity var(--t-fast), transform var(--t-fast); }
.mega__rail-btn.is-active .mega__rail-chev { color: var(--cyan); opacity: 1; transform: translateX(2px); }

.mega__rail-cta {
	margin-top: auto;
	padding: var(--s-4);
	background: linear-gradient(135deg, var(--navy-900), #1b2a4a);
	border-radius: var(--r-md);
	color: var(--white);
}
.mega__rail-cta-tag { display: block; margin-bottom: 3px; color: var(--cyan); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; }
.mega__rail-cta-title { display: block; color: var(--white); font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; line-height: 1.3; }
.mega__rail-cta:hover { color: var(--white); }
.mega__rail-cta:hover .mega__rail-cta-title { color: var(--cyan); }

.mega__panes { padding: var(--s-4); }
.mega__pane { display: none; }
.mega__pane.is-active { display: block; animation: svc-in 0.25s var(--ease) both; }

.mega__list { display: flex; flex-direction: column; gap: 3px; margin: 0; padding: 0; list-style: none; }
.mega__list > li { margin: 0; }

.mega__link {
	display: block;
	padding: 0.5rem 0.65rem;
	border: 1px solid transparent;
	border-radius: var(--r-sm);
	transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.mega__link:hover { background: var(--cloud); border-color: #e2e8f5; transform: translateX(3px); }
.mega__link-label { display: block; color: var(--heading); font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; }
.mega__link:hover .mega__link-label { color: var(--blue); }
.mega__link-desc { display: block; margin-top: 1px; color: var(--muted); font-size: 0.69rem; line-height: 1.4; }

.mega__sublist { margin: 3px 0 3px var(--s-5); padding: 0; list-style: none; }
.mega__sublink {
	position: relative;
	display: block;
	padding: 0.3rem 0.6rem;
	border: 1px dashed var(--line);
	border-radius: 6px;
	color: var(--muted);
	font-size: 0.69rem;
}
.mega__sublink::before { content: ''; position: absolute; left: -12px; top: 50%; width: 8px; height: 1px; background: #cbd5e1; }
.mega__sublink:hover { border-style: solid; border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }

/* --- Header alignment: nav pushed right, away from the logo -------------- */

.site-header__inner { display: flex; align-items: center; gap: var(--s-6); min-height: 76px; }
.nav { margin-left: auto; }
.site-header__actions { margin-left: 0; }
.nav__link { padding: 0.5rem 0.75rem; font-size: 0.875rem; }

@media (max-width: 1180px) {
	.nav { margin-left: 0; }
	.site-header__actions { margin-left: auto; }
	.mega { position: static; width: auto; padding-top: 0; transform: none; opacity: 1; visibility: visible; display: none; }
	.nav__item.is-open > .mega { display: block; }
	.mega__inner { display: block; width: auto; border: 0; border-radius: 0; box-shadow: none; }
	.mega__rail { flex-direction: row; flex-wrap: wrap; padding: 0 0 var(--s-3); background: none; border-right: 0; }
	.mega__rail-btn { flex: 1 1 45%; background: var(--cloud); }
	.mega__rail-cta { flex: 1 1 100%; margin-top: var(--s-2); }
	.mega__panes { padding: 0 0 var(--s-4); }
}

/* ==========================================================================
   14. SERVICE CARDS AND SECTION POLISH
   ========================================================================== */

.svc__grid { gap: var(--s-4); background: none; border: 0; }

.svc__item {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: var(--s-6);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	overflow: hidden;
	transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.svc__item::before {
	content: '';
	position: absolute; inset: 0 auto 0 0; width: 3px;
	background: var(--ai-gradient); background-size: 100% 200%;
	transform: scaleY(0); transform-origin: top;
	transition: transform 0.4s var(--ease);
}
.svc__item:hover { transform: translateY(-4px); border-color: #d3ddf1; box-shadow: var(--sh-3); background: var(--white); }
.svc__item:hover::before { transform: scaleY(1); }

.svc__item-num {
	position: absolute; top: var(--s-5); right: var(--s-5);
	color: #e3e9f6;
	font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1;
}
.svc__item-title { margin-bottom: var(--s-3); padding-right: var(--s-8); font-size: var(--fs-base); }
.svc__item-text { margin-bottom: var(--s-4); color: var(--body); font-size: var(--fs-sm); }
.svc__item-points { margin: 0 0 var(--s-5); padding: 0; list-style: none; }
.svc__item-points li { display: flex; align-items: baseline; gap: var(--s-3); margin-bottom: var(--s-2); color: var(--muted); font-size: 0.8125rem; line-height: 1.5; }
.svc__bullet { flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }

.svc__item-cta {
	display: inline-flex; align-items: center; gap: var(--s-2);
	margin-top: auto;
	color: var(--blue);
	font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
}
.svc__item-cta svg { transition: transform var(--t-base); }
.svc__item:hover .svc__item-cta svg { transform: translateX(3px); }

.svc__head { background: var(--white); border-radius: var(--r-xl); border-bottom: 1px solid var(--line); margin-bottom: var(--s-4); }
.svc__foot { margin-top: var(--s-4); border-radius: var(--r-xl); border-top: 1px solid var(--line); }
.svc__tab { background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(6px); }

/* Dark statement section keeps its glow but softer */
.tx--orbs-dark::before { background: rgba(124, 92, 255, 0.28); }
.tx--orbs-dark::after  { background: rgba(34, 211, 238, 0.22); }

/* Cards sitting on tinted sections need a touch more presence */
.section--mist .card, .section--haze .card, .section--frost .card,
.section--mist .stat-card, .section--frost .stat-card,
.section--mist .model, .section--haze .model { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(4px); }

/* Stack panel: lighten it so navy is not doing all the work */
.stack { background: linear-gradient(140deg, var(--navy-900), #16233f 60%, #1b2a4a); }

/* Section headings get a little more room now that sections are taller */
.section-heading { margin-bottom: var(--s-12); }

/* ==========================================================================
   15. HERO RESULTS CARD
   A business snapshot, not just an AI metric: spend, growth, ROAS,
   conversion — the numbers a founder actually feels.
   ========================================================================== */

.hero__visual { position: relative; }

.viz {
	position: relative;
	padding: var(--s-6);
	background: rgba(255, 255, 255, 0.86);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: var(--r-xl);
	box-shadow: 0 30px 70px -30px rgba(15, 23, 42, 0.45), 0 2px 8px -2px rgba(15, 23, 42, 0.08);
	backdrop-filter: blur(18px);
}
.viz::before {
	content: '';
	position: absolute; inset: -1px;
	border-radius: inherit; padding: 1px;
	background: linear-gradient(140deg, rgba(124, 92, 255, 0.5), rgba(34, 211, 238, 0.4) 45%, transparent 75%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude;
	pointer-events: none;
}

.viz__head { display: flex; align-items: center; gap: var(--s-2); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.viz__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px rgba(34, 211, 238, 0.9); }
.viz__title { color: var(--heading); font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 600; }
.viz__tag { margin-left: auto; padding: 0.15rem 0.5rem; background: var(--cloud); border-radius: var(--r-pill); color: var(--muted); font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase; }

.viz__hero-stat { padding: var(--s-5) 0 var(--s-4); }
.viz__hero-num {
	display: block;
	background: var(--ai-gradient); background-size: 220% 100%;
	-webkit-background-clip: text; background-clip: text; color: transparent;
	font-family: var(--font-display);
	font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
	animation: brand-aurora 8s linear infinite;
}
.viz__plus { font-size: 0.6em; }
.viz__hero-label { display: block; margin-top: var(--s-2); color: var(--muted); font-size: var(--fs-xs); }

.viz__chart { margin: 0 0 var(--s-5); }
.viz__chart figcaption {
	display: flex; align-items: center; justify-content: space-between;
	margin-bottom: var(--s-2);
	color: var(--muted); font-size: 0.7rem;
}
.viz__chart-delta { color: var(--success); font-family: var(--font-display); font-weight: 600; }
.viz__chart svg { display: block; width: 100%; height: 88px; }
.viz__line { stroke-dasharray: 640; stroke-dashoffset: 640; animation: viz-draw 1.6s var(--ease) 0.5s forwards; }
.viz__area { opacity: 0; animation: viz-fade 1s var(--ease) 1.1s forwards; }
@keyframes viz-draw { to { stroke-dashoffset: 0; } }
@keyframes viz-fade { to { opacity: 1; } }

.viz__metrics {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 0; padding: 0;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	list-style: none;
	overflow: hidden;
}
.viz__metrics li { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: var(--s-4); background: var(--white); }
.viz__metric-val { color: var(--heading); font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.02em; }
.viz__unit { color: var(--cyan); }
.viz__metric-key { color: var(--muted); font-size: 0.68rem; }

.viz__float {
	position: absolute;
	display: inline-flex; align-items: center; gap: var(--s-2);
	padding: 0.5rem 0.85rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	box-shadow: 0 12px 28px -14px rgba(15, 23, 42, 0.45);
	color: var(--heading);
	font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
	animation: float-y 5s ease-in-out infinite;
}
.viz__float .icon { width: 15px; height: 15px; color: var(--blue); }
.viz__float--a { top: -18px; left: -26px; }
.viz__float--b { bottom: -16px; right: -18px; animation-delay: 1.6s; }
@keyframes float-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (max-width: 640px) { .viz__float { display: none; } }

/* ==========================================================================
   16. SERVICES — CTA card in the grid, and a usable mobile rail
   ========================================================================== */

.svc__cta {
	position: relative;
	display: flex; flex-direction: column; align-items: flex-start;
	padding: var(--s-6);
	background: linear-gradient(145deg, var(--navy-900), #17253f 55%, #1d2e50);
	border-radius: var(--r-lg);
	color: var(--on-dark-muted);
	overflow: hidden;
}
.svc__cta::before {
	content: '';
	position: absolute; top: -45%; right: -25%;
	width: 300px; aspect-ratio: 1;
	background: radial-gradient(closest-side, rgba(124, 92, 255, 0.5), transparent 70%);
	pointer-events: none;
}
.svc__cta > * { position: relative; }
.svc__cta--wide { grid-column: 1 / -1; }
.svc__cta-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--s-4); background: rgba(34, 211, 238, 0.14); border-radius: var(--r-sm); color: var(--cyan); }
.svc__cta-title { margin-bottom: var(--s-2); color: var(--white); font-size: var(--fs-base); }
.svc__cta-text { margin-bottom: var(--s-5); color: var(--on-dark-muted); font-size: var(--fs-sm); }
.svc__cta .btn { margin-top: auto; }

.svc__head { border-radius: var(--r-xl); border: 1px solid var(--line); margin-bottom: var(--s-4); }
.svc__grid { border: 0; }

@media (max-width: 1100px) {
	.svc { gap: var(--s-5); }
	.svc__rail {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: var(--s-2);
		overflow-x: auto;
		padding-bottom: var(--s-2);
		margin-inline: calc(var(--gutter) * -1);
		padding-inline: var(--gutter);
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.svc__rail::-webkit-scrollbar { display: none; }
	.svc__tab {
		flex: 0 0 auto;
		width: auto;
		min-width: 190px;
		scroll-snap-align: start;
	}
	.svc__head { padding: var(--s-6); }
	.svc__head-title { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.75rem); }
}
@media (max-width: 720px) {
	.svc__grid { grid-template-columns: minmax(0, 1fr); }
	.svc__cta--wide { grid-column: auto; }
	.svc__tab { min-width: 168px; padding: var(--s-3); }
	.svc__tab-icon { display: none; }
}

/* --- 16.1 Answer-flow illustration ---------------------------------------
   Drawn as inline SVG rather than an image: it scales perfectly, inherits
   the palette, costs zero requests, and cannot hurt LCP.
   -------------------------------------------------------------------------- */

.answerviz { margin: 0 0 var(--s-12); }
.answerviz svg { display: block; width: 100%; max-width: 900px; margin-inline: auto; height: auto; }

.av-flow { animation: av-dash 2.4s linear infinite; }
.av-flow--2 { animation-delay: -0.3s; }
.av-flow--3 { animation-delay: -0.6s; }
.av-flow--4 { animation-delay: -0.9s; }
@keyframes av-dash { to { stroke-dashoffset: -44; } }

.av-core { transform-origin: 400px 130px; animation: av-pulse 4s var(--ease) infinite; }
@keyframes av-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.035); } }

.av-out { animation: av-blink 3.2s var(--ease) infinite; }
@keyframes av-blink { 0%,100% { opacity: 1; } 55% { opacity: .55; } }

@media (max-width: 720px) { .answerviz { display: none; } }
@media (prefers-reduced-motion: reduce) { .av-flow, .av-core, .av-out { animation: none; } }

/* ==========================================================================
   17. AI TOOLS — hub and tool pages
   ========================================================================== */

.hero--compact { padding-block: clamp(2.5rem, 5vw, 4rem); }
.hero--compact .hero__text { max-width: 48rem; }
.hero__title--hub, .hero__title--tool { max-width: 22ch; margin-bottom: var(--s-4); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); }

.toolsearch { position: relative; max-width: 30rem; margin-top: var(--s-8); }
.toolsearch .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.toolsearch .input { padding-left: 44px; background: rgba(255, 255, 255, 0.9); }

.toolnav { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-6) 0 0; padding: 0; list-style: none; }
.toolnav li { margin: 0; }
.toolnav a {
	display: inline-flex; align-items: center; gap: var(--s-2);
	padding: 0.4rem 0.85rem;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	color: var(--heading);
	font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 500;
}
.toolnav a:hover { border-color: var(--blue); color: var(--blue); }
.toolnav span { color: var(--muted); font-size: 0.68rem; }

.toolbenefits { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); margin: var(--s-6) 0 0; padding: 0; list-style: none; }
.toolbenefits li { display: flex; align-items: center; gap: var(--s-2); margin: 0; color: var(--body); font-size: var(--fs-sm); }
.toolbenefits .icon { width: 16px; height: 16px; color: var(--success); }

.toolgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
@media (max-width: 1000px) { .toolgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .toolgrid { grid-template-columns: minmax(0, 1fr); } }
.toolgrid--related { gap: var(--s-4); }

.toolcard {
	display: flex; flex-direction: column;
	padding: var(--s-6);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.toolcard:hover { transform: translateY(-3px); border-color: #d3ddf1; box-shadow: var(--sh-3); }
.toolcard--soon { opacity: 0.62; }
.toolcard--soon:hover { transform: none; box-shadow: none; border-color: var(--line); }
.toolcard__icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--s-4); background: var(--blue-soft); border-radius: var(--r-sm); color: var(--blue); }
.toolcard__title { margin-bottom: var(--s-2); font-size: var(--fs-base); }
.toolcard__title a { color: inherit; }
.toolcard__title a:hover { color: var(--blue); }
.toolcard__text { margin: 0 0 var(--s-5); color: var(--body); font-size: var(--fs-sm); }
.toolcard__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: auto; }
.toolcard__open { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--blue); font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; }
.toolcard:hover .toolcard__open svg { transform: translate(2px, -2px); }
.toolcard__open svg { transition: transform var(--t-base); }
.toolcard__soon { color: var(--muted); font-size: 0.72rem; }
.toolcard__engine { padding: 0.15rem 0.5rem; border-radius: var(--r-pill); font-size: 0.62rem; letter-spacing: 0.03em; }
.toolcard__engine--client { background: #e8f7ee; color: #15803d; }
.toolcard__engine--server { background: var(--blue-soft); color: var(--blue); }
.toolcard__engine--ai     { background: #f4f1fe; color: #6d4aff; }

/* --- The tool itself ------------------------------------------------------ */

.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6); align-items: start; }
@media (max-width: 900px) { .tool { grid-template-columns: minmax(0, 1fr); } }

.tool__form, .tool__out { padding: var(--s-6); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); }
.tool__out { position: sticky; top: 96px; }
@media (max-width: 900px) { .tool__out { position: static; } }

.tool__label { margin-bottom: var(--s-5); font-size: var(--fs-sm); letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--muted); }
.tool__out-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); }
.tool__out-head .tool__label { margin-bottom: 0; }
.tool__acts { display: flex; gap: var(--s-2); }

.tool__btn {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 0.4rem 0.7rem;
	background: var(--cloud); border: 1px solid var(--line); border-radius: var(--r-sm);
	color: var(--heading); font-family: var(--font-display); font-size: 0.72rem; font-weight: 500;
	cursor: pointer; transition: all var(--t-fast);
}
.tool__btn .icon { width: 14px; height: 14px; }
.tool__btn:hover { border-color: var(--blue); color: var(--blue); }
.tool__btn.is-done { background: #e8f7ee; border-color: #86efac; color: #15803d; }
.tool__btn--ghost { background: none; }

.tool__msg { min-height: 1.2rem; margin: var(--s-4) 0 var(--s-3); font-size: var(--fs-xs); color: var(--muted); }
.tool__msg.is-ok { color: var(--success); }
.tool__msg.is-warn { color: var(--warning); }

.tool__code {
	max-height: 30rem; margin: 0; padding: var(--s-5);
	background: var(--navy-900); border-radius: var(--r-lg);
	color: #cfe2f5; font-size: 0.78rem; line-height: 1.65;
	overflow: auto; white-space: pre-wrap; word-break: break-word;
}

.form-row { margin-bottom: var(--s-5); }
.form-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 560px) { .form-row--split { grid-template-columns: 1fr; } }
.form-opt { color: var(--muted); font-weight: 400; font-size: var(--fs-xs); }
.input--sm { padding: 0.5rem 0.75rem; font-size: var(--fs-sm); }
.input--tall { min-height: 16rem; font-family: ui-monospace, Menlo, monospace; font-size: 0.8rem; }

.checkline { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); color: var(--body); font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 400; }

.chipset { display: flex; gap: var(--s-2); }
.chipset--wrap { flex-wrap: wrap; }
.chipset--sm { margin-top: var(--s-3); }
.chip {
	padding: 0.42rem 0.8rem;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill);
	color: var(--body); font-family: var(--font-display); font-size: 0.75rem; font-weight: 500;
	cursor: pointer; transition: all var(--t-fast);
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-on { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.chip--add { background: var(--cloud); font-weight: 400; }

.tool__section { margin-bottom: var(--s-4); padding: var(--s-4); background: var(--cloud); border-radius: var(--r-md); }
.tool__section-head { display: flex; gap: var(--s-2); margin-bottom: var(--s-2); }
.tool__section-head .input { flex: 1; }
.tool__x { width: 36px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--muted); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.tool__x:hover { border-color: var(--danger); color: var(--danger); }

.botlist { margin-bottom: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.botrow { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 0.6rem var(--s-4); border-bottom: 1px solid var(--line); }
.botrow:last-child { border-bottom: 0; }
.botrow:nth-child(odd) { background: #fbfcfe; }
.botrow__name strong { display: block; color: var(--heading); font-family: var(--font-display); font-size: 0.8rem; }
.botrow__name span { color: var(--muted); font-size: 0.68rem; }
.botrow__toggle { display: flex; flex-shrink: 0; border: 1px solid var(--line); border-radius: var(--r-pill); overflow: hidden; }
.tgl { padding: 0.28rem 0.65rem; background: var(--white); border: 0; color: var(--muted); font-family: var(--font-display); font-size: 0.68rem; cursor: pointer; }
.tgl.is-allow { background: #dcfce7; color: #15803d; font-weight: 600; }
.tgl.is-block { background: #fee2e2; color: #b91c1c; font-weight: 600; }

.meter { display: block; height: 3px; margin-top: 5px; background: var(--line); border-radius: var(--r-pill); overflow: hidden; }
.meter__fill { display: block; height: 100%; width: 0; background: var(--blue); border-radius: inherit; transition: width var(--t-base); }
.meter__fill.is-good { background: var(--success); }
.meter__fill.is-over { background: var(--danger); }

.preview { margin-top: var(--s-6); padding: var(--s-5); background: var(--cloud); border-radius: var(--r-md); }
.preview__label { display: block; margin-bottom: var(--s-3); color: var(--muted); font-size: 0.68rem; letter-spacing: var(--track-wide); text-transform: uppercase; }
.serp { display: block; padding: var(--s-4); background: var(--white); border-radius: var(--r-sm); }
.serp__url { display: block; color: #202124; font-size: 0.75rem; }
.serp__title { display: block; margin: 2px 0; color: #1a0dab; font-size: 1.05rem; line-height: 1.3; }
.serp__desc { display: block; color: #4d5156; font-size: 0.8rem; line-height: 1.55; }

.statrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: var(--s-5); background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.statrow > div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: var(--s-4) var(--s-2); background: var(--white); text-align: center; }
.statrow span { color: var(--heading); font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.statrow em { color: var(--muted); font-size: 0.65rem; font-style: normal; }

.usecases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); margin: 0; padding: 0; list-style: none; }
@media (max-width: 760px) { .usecases { grid-template-columns: minmax(0, 1fr); } }
.usecases li { display: flex; gap: var(--s-4); margin: 0; padding: var(--s-5); background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--body); font-size: var(--fs-sm); }
.usecases__num { flex-shrink: 0; color: var(--cyan); font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; }

.toolguide h2 { margin-top: var(--s-12); font-size: var(--fs-h3); }
.toolguide h2:first-child { margin-top: 0; }
.toolguide code { font-size: 0.85em; }

.trustpoint { padding: var(--s-6); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.trustpoint__icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: var(--s-4); background: var(--blue-soft); border-radius: var(--r-sm); color: var(--blue); }
.trustpoint__title { margin-bottom: var(--s-2); font-size: var(--fs-base); }
.trustpoint__text { margin: 0; color: var(--body); font-size: var(--fs-sm); }

.toolcta__inner { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--s-10); align-items: center; }
@media (max-width: 900px) { .toolcta__inner { grid-template-columns: minmax(0, 1fr); gap: var(--s-8); } }
.toolcta__title { margin-bottom: var(--s-4); color: var(--white); font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); }
.toolcta__text { margin: 0; color: var(--on-dark-muted); font-size: var(--fs-lg); }
.toolcta__proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); margin: var(--s-8) 0 0; padding: var(--s-6) 0 0; border-top: 1px solid var(--line-dark); list-style: none; }
@media (max-width: 700px) { .toolcta__proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.toolcta__proof li { margin: 0; }
.toolcta__num { display: block; color: var(--white); font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1; }
.toolcta__plus { color: var(--cyan); }
.toolcta__label { display: block; margin-top: 5px; color: var(--on-dark-muted); font-size: var(--fs-xs); }
.toolcta__action { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); }
.toolcta__note { margin: 0; color: var(--on-dark-muted); font-size: var(--fs-xs); }
