/* =========================================================================
   PrimeFloAI v2 — the Grid: light drawn on black, liquid glass, cyan → electric → violet
   ========================================================================= */

@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --sweep { syntax: '<number>'; inherits: false; initial-value: 0; }

:root {
  --bg: #010309;
  --bg-2: #030a12;
  --ink: #effcff;
  --ink-2: rgba(212, 236, 248, 0.74);
  --ink-3: rgba(165, 200, 220, 0.52);
  --light: #e8fdff; /* the white-hot core of every light line */
  --cyan: #5fe9ff;
  --electric: #2f9bff;
  --blue: #2f6bff;
  --violet: #6f6bff; /* from the logo — the far end of the light, never the lead */
  --rival: #ff8a2b; /* the opposing program: only ever marks "the old way" */
  --line: rgba(95, 233, 255, 0.5);
  --line-dim: rgba(95, 233, 255, 0.14);
  --grad: linear-gradient(100deg, #f2feff 0%, #8ff3ff 28%, #3fb8ff 62%, #6f7dff 100%);
  --grad-head: linear-gradient(100deg, #5fe9ff 0%, #3f9bff 34%, #7a55f7 68%, #a030f0 100%); /* headline accents: from the logo's blue into its purple */
  --grad-soft: linear-gradient(135deg, rgba(95, 233, 255, 0.95), rgba(47, 130, 255, 0.95));
  --radius: 20px;
  --container: 1120px;
  --ease: cubic-bezier(0.2, 0.75, 0.1, 1);
  --font: 'General Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-grid: 'Michroma', var(--font); /* wide machine caps for labels, never for reading */
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
body::before { /* ambient field + fine grain */
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(40, 190, 255, 0.1), transparent 60%),
    radial-gradient(900px 600px at 100% 20%, rgba(70, 110, 255, 0.08), transparent 60%),
    radial-gradient(900px 700px at 50% 120%, rgba(30, 160, 255, 0.07), transparent 60%),
    var(--bg);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, canvas, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
em { font-style: italic; }
.sprite { position: absolute; }
svg use { pointer-events: none; }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 999px; background: #fff; color: #000;
  transform: translateY(-200%); transition: transform 0.3s var(--ease);
}
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 10px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
main { overflow-x: clip; }
.caps { text-transform: uppercase; letter-spacing: 0.01em; }

/* ---------- gradient type ---------- */
.hero-title em, .statement em, .finale-title em, .case h3 em, .results-band span {
  font-style: italic;
  background: var(--grad-head);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
  filter: drop-shadow(0 0 16px rgba(160, 48, 240, 0.45)); /* type lit from inside, like a light line */
}

/* =========================================================================
   Liquid glass
   Rules carried over from the material: glass sits on the functional layer,
   needs colour behind it to refract, and is never stacked on more glass.
   ========================================================================= */
.glass {
  --r: var(--radius);
  position: relative;
  isolation: isolate;
  border-radius: var(--r);
  background:
    radial-gradient(110% 90% at 0% 0%, rgba(30, 170, 255, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(14, 30, 44, 0.5) 0%, rgba(4, 12, 22, 0.58) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(200, 250, 255, 0.16),
    inset 0 0 40px rgba(60, 200, 255, 0.05),
    0 0 44px -22px rgba(60, 200, 255, 0.55),
    0 30px 80px -36px rgba(0, 0, 0, 0.95);
  transition: box-shadow 0.6s var(--ease);
}
/* edge light: lit at the corners the light hits, plus a light cycle that runs the rim on hover */
.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background:
    conic-gradient(from var(--ang),
      transparent 0deg 292deg,
      rgba(95, 233, 255, calc(var(--sweep) * 0.9)) 340deg,
      rgba(255, 255, 255, var(--sweep)) 356deg,
      transparent 360deg),
    linear-gradient(135deg,
      rgba(210, 252, 255, 0.72) 0%,
      rgba(95, 233, 255, 0.24) 16%,
      rgba(95, 233, 255, 0.08) 42%,
      rgba(95, 233, 255, 0.08) 62%,
      rgba(95, 200, 255, 0.28) 86%,
      rgba(150, 235, 255, 0.55) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: spin 4.5s linear infinite paused;
  transition: --sweep 0.6s var(--ease);
}
.glass:hover::before { --sweep: 1; animation-play-state: running; }
.glass::after { /* specular highlight that follows the pointer */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(130, 235, 255, 0.11), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.glass:hover::after { opacity: 1; }

/* electric-blue wash on cards: corner glow, a soft pool opposite, and a few bokeh specks */
.glow-tl { background:
  radial-gradient(circle 6px at 57% 14%, rgba(150, 240, 255, 0.5), transparent),
  radial-gradient(circle 4px at 86% 78%, rgba(120, 220, 255, 0.38), transparent),
  radial-gradient(circle 8px at 34% 88%, rgba(80, 190, 255, 0.2), transparent),
  radial-gradient(95% 120% at 0% 0%, rgba(20, 150, 255, 0.34), rgba(20, 120, 255, 0.1) 45%, transparent 72%),
  radial-gradient(60% 80% at 100% 100%, rgba(40, 170, 255, 0.14), transparent 70%),
  linear-gradient(180deg, rgba(14, 30, 44, 0.5), rgba(4, 12, 22, 0.58)); }
.glow-tr { background:
  radial-gradient(circle 6px at 42% 16%, rgba(150, 240, 255, 0.5), transparent),
  radial-gradient(circle 4px at 14% 76%, rgba(120, 220, 255, 0.38), transparent),
  radial-gradient(circle 8px at 70% 90%, rgba(80, 190, 255, 0.2), transparent),
  radial-gradient(95% 120% at 100% 0%, rgba(20, 150, 255, 0.34), rgba(20, 120, 255, 0.1) 45%, transparent 72%),
  radial-gradient(60% 80% at 0% 100%, rgba(40, 170, 255, 0.14), transparent 70%),
  linear-gradient(180deg, rgba(14, 30, 44, 0.5), rgba(4, 12, 22, 0.58)); }
.glow-top { background:
  radial-gradient(circle 5px at 22% 30%, rgba(150, 240, 255, 0.42), transparent),
  radial-gradient(circle 4px at 80% 64%, rgba(120, 220, 255, 0.32), transparent),
  radial-gradient(130% 60% at 50% 0%, rgba(20, 150, 255, 0.36), rgba(20, 120, 255, 0.09) 50%, transparent 75%),
  radial-gradient(70% 50% at 50% 100%, rgba(40, 170, 255, 0.12), transparent 70%),
  linear-gradient(180deg, rgba(14, 30, 44, 0.5), rgba(4, 12, 22, 0.58)); }
.glass:hover {
  box-shadow:
    inset 0 1px 0 rgba(220, 252, 255, 0.2),
    inset 0 0 50px rgba(60, 200, 255, 0.1),
    0 0 60px -18px rgba(60, 200, 255, 0.6),
    0 30px 80px -36px rgba(0, 0, 0, 0.95);
}

/* ---------- buttons: the same set as the demo pages (primeflowai-demos/demo-kit/kit.css) ---------- */
.btn { /* every button: semibold General Sans, uppercase, tracked out */
  --h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 28px;
  border-radius: 14px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 12px; letter-spacing: 0.1em; border-radius: 10px; }
.btn-solid { /* the main button on every page: purple, blue glow behind */
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.3), 0 1px 2px rgba(40, 0, 90, 0.5);
  background: linear-gradient(105deg, #8a5cff 0%, #a219f0 55%, #b544ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -3px 10px rgba(50, 0, 110, 0.35),
    0 0 0 1px rgba(214, 175, 255, 0.75),
    0 0 18px rgba(47, 155, 255, 0.6), 0 0 48px -4px rgba(47, 155, 255, 0.65);
}
.btn-sm.btn-solid { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -2px 8px rgba(50, 0, 110, 0.35), 0 0 0 1px rgba(214, 175, 255, 0.75), 0 0 14px rgba(47, 155, 255, 0.55), 0 0 30px -4px rgba(47, 155, 255, 0.5); }
.btn-solid::after { /* sheen: sweeps across on hover */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}
.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -3px 10px rgba(50, 0, 110, 0.35),
    0 0 0 1px rgba(230, 205, 255, 0.95),
    0 0 26px rgba(47, 155, 255, 0.8), 0 0 70px -2px rgba(47, 155, 255, 0.8);
}
.btn-solid:hover::after { transform: translateX(120%); }
.btn-solid:disabled { opacity: 0.55; cursor: default; transform: none; }
/* the big buttons also shine on their own every 4 seconds; the small nav one only on hover */
.btn-solid:not(.btn-sm)::after { animation: btn-shine 4s ease-in-out 1.2s infinite; }
@keyframes btn-shine { 0% { transform: translateX(-120%); } 60%, 100% { transform: translateX(120%); } } /* a slow 2.4s glide, then a pause */
.btn-glass { /* dark glass, violet outline */
  color: var(--ink);
  background: linear-gradient(180deg, rgba(10, 28, 40, 0.62), rgba(3, 10, 18, 0.72));
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(176, 140, 255, 0.45), 0 0 18px -6px rgba(47, 155, 255, 0.45);
}
.btn-glass:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(205, 175, 255, 0.85), 0 0 28px -4px rgba(47, 155, 255, 0.65); }
/* phones: a touch tighter so "Book your free demo call →" fits on one line */
@media (max-width: 560px) {
  .btn:not(.btn-sm) { padding-inline: 20px; font-size: 14px; letter-spacing: 0.1em; }
}

/* ---------- kicker: a label riding a light line ---------- */
.kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}
.kicker i {
  position: relative;
  width: clamp(36px, 8vw, 110px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95, 233, 255, 0.7));
  box-shadow: 0 0 6px rgba(95, 233, 255, 0.5);
}
.kicker i:last-child { transform: scaleX(-1); }
.kicker i::after {
  content: '';
  position: absolute;
  right: -2px;
  top: -2px;
  width: 5px;
  height: 5px;
  background: var(--light);
  box-shadow: 0 0 8px 1px rgba(95, 233, 255, 1), 0 0 18px rgba(47, 155, 255, 0.8);
}
.kicker span {
  padding: 7px 14px 6px;
  border-radius: 8px;
  font-family: var(--font-grid);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #bff7ff;
  background: rgba(4, 18, 28, 0.55);
  box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.32), inset 0 0 14px rgba(95, 233, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(10px);
  transition:
    opacity 1s var(--ease) calc(var(--d, 0) * 90ms),
    transform 1.1s var(--ease) calc(var(--d, 0) * 90ms),
    filter 1s var(--ease) calc(var(--d, 0) * 90ms);
}
[data-reveal='fade'] { transform: scale(0.97); }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.no-js [data-reveal] { opacity: 1; transform: none; filter: none; }

/* =========================================================================
   Nav
   ========================================================================= */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 50;
  width: min(100% - 24px, 1180px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), backdrop-filter 0.5s, -webkit-backdrop-filter 0.5s, padding 0.5s var(--ease);
}
/* frosted glass bar: shown while the page is still, gone while the viewer scrolls (js/main.js toggles .is-scrolling) */
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 18, 28, 0.62), rgba(2, 8, 14, 0.55));
  box-shadow: inset 0 1px 0 rgba(200, 250, 255, 0.14), inset 0 0 0 1px rgba(95, 233, 255, 0.16), 0 0 30px -14px rgba(95, 233, 255, 0.5), 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  transition: opacity 0.55s var(--ease);
}
/* the blur has to sit on the bar itself: Chrome won't blur the page from behind a pseudo-element */
.nav { -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); }
.nav.is-scrolling:not(.is-open) { -webkit-backdrop-filter: blur(0px) saturate(100%); backdrop-filter: blur(0px) saturate(100%); transition-duration: 0.22s; }
.nav.is-scrolling:not(.is-open)::before { opacity: 0; transition-duration: 0.22s; }
.nav-logo, .footer-logo { position: relative; display: inline-block; line-height: 0; }
.nav-logo img { width: clamp(150px, 20vw, 290px); height: auto; filter: drop-shadow(0 0 14px rgba(47, 170, 255, 0.4)); }
.nav-logo .logo-fx, .footer-logo .logo-fx { position: absolute; left: -8px; top: -8px; z-index: 1; pointer-events: none; }
/* a light band sweeps across the logo, masked to the logo's own shape (js/logo-fx.js sets --logo) */
.nav-logo.masked::after, .footer-logo.masked::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.75) 50%, transparent 58%) 100% 0 / 300% 100% no-repeat;
  -webkit-mask: var(--logo) center / 100% 100% no-repeat;
  mask: var(--logo) center / 100% 100% no-repeat;
  mix-blend-mode: screen;
}
@media (prefers-reduced-motion: no-preference) {
  .nav-logo.masked::after, .footer-logo.masked::after { animation: logo-sweep 4s ease-in-out infinite; }
  .nav-logo img, .footer-logo img { animation: logo-glow 4s ease-in-out infinite; }
}
@keyframes logo-sweep { 0% { background-position: 100% 0; } 48%, 100% { background-position: 0% 0; } }
@keyframes logo-glow {
  0%, 70%, 100% { filter: drop-shadow(0 0 14px rgba(47, 170, 255, 0.4)) brightness(1) saturate(1); }
  28% { filter: drop-shadow(0 0 14px rgba(47, 170, 255, 0.4)) brightness(1.35) saturate(1.25); }
}
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  position: relative;
  padding: 9px 14px;
  font-family: var(--font-grid);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.3s, text-shadow 0.3s;
}
.nav-links a::after { /* a light line draws under the active route */
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transform: scaleX(0);
  transition: transform 0.45s var(--ease);
}
.nav-links a:hover { color: var(--light); text-shadow: 0 0 12px rgba(95, 233, 255, 0.8); }
.nav-links a:hover::after, .nav-links a[aria-current='page']::after { transform: none; }
.nav-actions { display: flex; gap: 8px; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(120px, 15vh, 170px) 0 0;
  text-align: center;
  overflow-x: clip; /* the film's glow may spill into the next section; lights and floor clip themselves */
}
@keyframes beam { from { translate: -3vw 0; opacity: 0.55; } to { translate: 3vw 0; opacity: 1; } }

.hero-copy { position: relative; z-index: 2; }
.hero-title {
  max-width: 1000px;
  margin: 0 auto;
  font-size: clamp(2.35rem, 5.4vw, 4.75rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.hero-title em { font-weight: 500; }
.hero-sub {
  max-width: 520px;
  margin: 24px auto 0;
  font-size: clamp(15px, 1.25vw, 17px);
  color: var(--ink-2);
}
.hero-cta { margin-top: 32px; display: flex; justify-content: center; gap: 12px; }

.hero-visual {
  position: relative;
  z-index: 1;
  height: clamp(360px, 46vw, 620px);
  margin-top: clamp(-30px, -2vw, 0px);
}
.hero-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-halo, .brain-halo {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(760px, 90vw);
  aspect-ratio: 1.5;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(40, 170, 255, 0.26), rgba(40, 110, 230, 0.1) 55%, transparent),
    radial-gradient(closest-side at 70% 50%, rgba(100, 110, 255, 0.16), transparent);
  filter: blur(20px);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.8; } }

.callout {
  --r: 14px;
  position: absolute;
  z-index: 3;
  max-width: 220px;
  padding: 11px 14px 11px 22px;
  font-size: 12.5px;
  font-style: italic;
  line-height: 1.4;
  text-align: left;
  color: var(--ink-2);
}
.callout b {
  position: absolute;
  left: 11px;
  top: 17px;
  width: 5px;
  height: 5px;
  background: var(--light);
  box-shadow: 0 0 6px var(--cyan), 0 0 14px var(--electric);
}
.callout-l { left: 7.5%; top: 60%; width: 16%; max-width: 230px; }
.callout-r { left: 69%; top: 22%; max-width: 280px; --r: 12px; white-space: nowrap; }
.callout-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.callout-lines polyline {
  fill: none;
  stroke: rgba(95, 233, 255, 0.6);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 3px rgba(95, 233, 255, 0.9));
}

/* =========================================================================
   Sections
   ========================================================================= */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section-head { max-width: 780px; margin: 0 auto clamp(40px, 5vw, 60px); text-align: center; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.section-head p { max-width: 600px; margin: 18px auto 0; font-size: 17px; line-height: 1.6; color: rgba(232, 246, 252, 0.9); }

/* ---------- zero prompt ---------- */
.film {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  aspect-ratio: 16 / 7;
  padding: 1.5px;
  border-radius: 22px;
  /* a dim frame of light with one light cycle racing round it */
  background: conic-gradient(from var(--ang),
    rgba(95, 233, 255, 0.28) 0deg 200deg,
    rgba(95, 233, 255, 0.95) 300deg,
    #ffffff 340deg,
    rgba(110, 125, 255, 0.6) 352deg,
    rgba(95, 233, 255, 0.28) 360deg);
  animation: spin 7s linear infinite;
  box-shadow: 0 0 60px -14px rgba(60, 200, 255, 0.6), 0 0 140px -30px rgba(47, 130, 255, 0.5);
}
@keyframes spin { to { --ang: 360deg; } }
.film-inner { position: relative; height: 100%; overflow: hidden; border-radius: 21px; background: #020509; }
.film-inner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.03); transition: transform 1.6s var(--ease); }
.film:hover .film-inner img { transform: scale(1.08); }
.film-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 4, 10, 0.1), rgba(3, 4, 10, 0.05) 50%, rgba(3, 4, 10, 0.5));
  pointer-events: none;
}
.film-scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(95, 233, 255, 0.12) 50%, transparent 52%);
  background-size: 100% 260%;
  animation: scan 6s linear infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}
@keyframes scan { from { background-position: 0 120%; } to { background-position: 0 -120%; } }
.play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(10, 40, 56, 0.55), rgba(2, 12, 20, 0.4));
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  box-shadow: inset 0 0 0 1.5px rgba(160, 246, 255, 0.85), inset 0 0 20px rgba(95, 233, 255, 0.25), 0 0 22px rgba(95, 233, 255, 0.6), 0 0 60px -10px rgba(47, 155, 255, 0.8);
  color: var(--light);
  transition: transform 0.5s var(--ease);
}
.play svg { width: 24px; height: 24px; margin-left: 3px; filter: drop-shadow(0 0 6px rgba(95, 233, 255, 0.9)); }
.play::before { /* identity-disc ring, pinging out */
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(95, 233, 255, 0.6);
  animation: ping 2.6s var(--ease) infinite;
}
@keyframes ping { from { transform: scale(0.85); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.play:hover { transform: translate(-50%, -50%) scale(1.08); }
.film-tag { --r: 8px; position: absolute; left: 18px; bottom: 16px; z-index: 3; padding: 8px 12px 7px; font-family: var(--font-grid); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.film-tag::first-letter { color: var(--cyan); }
.zero-cta { display: flex; justify-content: center; margin-top: 36px; position: relative; z-index: 2; }

.rings { position: relative; height: 130px; margin-top: -28px; pointer-events: none; }
.rings span {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1.5px solid rgba(200, 250, 255, 0.9);
  box-shadow: 0 0 14px rgba(95, 233, 255, 0.9), 0 0 50px rgba(47, 155, 255, 0.45), inset 0 0 18px rgba(47, 155, 255, 0.6);
  animation: ringGlow 5s ease-in-out infinite;
}
.rings span:nth-child(1) { width: min(980px, 100%); height: 78px; }
.rings span:nth-child(2) { width: min(620px, 66%); height: 46px; animation-delay: -1.6s; }
.rings span:nth-child(3) { width: min(1100px, 112%); height: 120px; border-color: rgba(95, 233, 255, 0.16); box-shadow: none; }
.rings::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(900px, 90%);
  height: 70px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(40, 170, 255, 0.42), transparent);
  filter: blur(18px);
}
@keyframes ringGlow { 50% { opacity: 0.55; } }

/* ---------- cards ---------- */
.card { padding: clamp(22px, 2.4vw, 30px); overflow: hidden; }
.card h3 { font-size: clamp(16px, 1.35vw, 18px); font-weight: 500; line-height: 1.38; letter-spacing: -0.005em; }
.card .lead-in { margin: 22px 0 12px; font-size: 13px; font-style: italic; color: var(--ink-3); }
.card .muted { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); }
.card .label { margin: 18px 0 10px; font-size: 14px; font-weight: 500; }
.card .card-strong { margin-top: 18px; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.card .card-foot { margin-top: 10px; font-size: 12.5px; font-style: italic; color: var(--ink-3); }
.muted { color: var(--ink-3); }
.small { font-size: 12.5px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px 6px 7px;
  border-radius: 9px;
  font-size: 12.5px;
  color: var(--ink-2);
  background: rgba(4, 16, 26, 0.5);
  box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.14);
  transition: background 0.3s, box-shadow 0.3s;
}
.chip:hover { background: rgba(20, 120, 170, 0.14); box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.4), 0 0 16px -6px rgba(95, 233, 255, 0.6); }
.tick {
  flex: none;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: rgba(95, 233, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.7), 0 0 10px rgba(95, 233, 255, 0.45);
  color: var(--light);
}
.tick svg { width: 11px; height: 11px; }

.dots { display: grid; gap: 6px; margin-top: 10px; }
.dots li { position: relative; padding-left: 15px; font-size: 13px; color: var(--ink-2); }
.dots li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--light);
  box-shadow: 0 0 6px var(--cyan), 0 0 12px rgba(47, 155, 255, 0.8);
}
.dots.two-col { grid-template-columns: 1fr 1fr; }

/* ---------- carousel ---------- */
.carousel { position: relative; padding-right: 70px; }
.carousel-viewport { overflow: hidden; margin: -40px; padding: 40px; }
.carousel-track { display: flex; gap: 80px; transition: transform 0.9s var(--ease); }
.slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: 14px;
  transition: opacity 0.6s var(--ease), filter 0.6s var(--ease);
}
.slide:not(.is-active) { opacity: 0; filter: blur(6px); }
.card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 24px; }
.carousel-next {
  position: absolute;
  right: 0;
  top: calc(50% - 22px);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--light);
  background: rgba(4, 20, 30, 0.7);
  box-shadow: inset 0 0 0 1.5px rgba(160, 246, 255, 0.85), inset 0 0 14px rgba(95, 233, 255, 0.25), 0 0 0 6px rgba(95, 233, 255, 0.07), 0 0 24px rgba(95, 233, 255, 0.55);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.carousel-next svg { width: 18px; height: 18px; filter: drop-shadow(0 0 5px rgba(95, 233, 255, 0.9)); }
.carousel-next:hover { transform: scale(1.08); box-shadow: inset 0 0 0 1.5px #fff, inset 0 0 18px rgba(95, 233, 255, 0.4), 0 0 0 7px rgba(95, 233, 255, 0.1), 0 0 34px rgba(95, 233, 255, 0.8); }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.carousel-dots button {
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: rgba(95, 233, 255, 0.18);
  transition: width 0.5s var(--ease), background 0.4s;
}
.carousel-dots button[aria-selected='true'] { width: 34px; background: var(--light); box-shadow: 0 0 6px var(--cyan), 0 0 14px rgba(47, 155, 255, 0.8); }

/* glass orb with a live brain inside */
.orb {
  position: relative;
  justify-self: center;
  width: min(210px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.28), transparent 22%),
    radial-gradient(circle at 50% 60%, rgba(30, 150, 255, 0.24), rgba(6, 30, 60, 0.45) 60%, rgba(2, 10, 20, 0.2) 75%);
  box-shadow:
    inset 0 0 0 1px rgba(160, 246, 255, 0.4),
    inset 0 -18px 40px rgba(47, 130, 255, 0.35),
    inset 0 12px 30px rgba(255, 255, 255, 0.06),
    0 0 0 6px rgba(95, 233, 255, 0.04),
    0 0 60px -6px rgba(60, 200, 255, 0.5),
    0 30px 60px -20px rgba(47, 130, 255, 0.55);
  animation: float 7s ease-in-out infinite;
}
.orb canvas { position: absolute; inset: 6%; width: 88%; height: 88%; border-radius: 50%; }
.orb::after { /* ground reflection */
  content: '';
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: -26px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(60, 200, 255, 0.5), transparent);
  filter: blur(6px);
}
.orb-eye img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 66% 45%; mix-blend-mode: screen; opacity: 0.95; transform: scale(1.02); }
@keyframes float { 50% { transform: translateY(-10px); } }

.atom { position: absolute; right: 22px; bottom: 18px; width: 120px; height: 120px; opacity: 0.95; }
.card:has(> .atom) .chips { max-width: calc(100% - 130px); }
.atom i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: rgba(200, 250, 255, 0.95);
  border-right-color: rgba(60, 170, 255, 0.7);
  transform: rotateX(70deg) rotateZ(0deg);
  animation: orbit 6s linear infinite;
  filter: drop-shadow(0 0 6px rgba(95, 233, 255, 0.9));
}
.atom i:nth-child(2) { transform: rotateY(60deg) rotateX(70deg); animation-duration: 8s; animation-direction: reverse; }
.atom i:nth-child(3) { transform: rotateY(-60deg) rotateX(70deg); animation-duration: 10s; }
.atom b {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #8ff3ff 40%, #2f9bff);
  box-shadow: 0 0 22px 4px rgba(60, 200, 255, 0.75);
}
@keyframes orbit { to { rotate: 360deg; } }

/* ---------- statement ---------- */
.statement { position: relative; padding: clamp(70px, 12vw, 160px) 16px; text-align: center; }
.statement::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(820px, 100%);
  height: 260px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30, 150, 255, 0.16), rgba(60, 100, 255, 0.06) 60%, transparent);
  filter: blur(10px);
  pointer-events: none;
}
.statement::after { /* a horizon line under every statement */
  content: '';
  position: absolute;
  left: 50%;
  bottom: clamp(36px, 6vw, 80px);
  width: min(720px, 80%);
  height: 1px;
  translate: -50% 0;
  background: linear-gradient(90deg, transparent, rgba(95, 233, 255, 0.5) 30%, #fff 50%, rgba(95, 233, 255, 0.5) 70%, transparent);
  box-shadow: 0 0 10px rgba(95, 233, 255, 0.7), 0 0 30px rgba(47, 155, 255, 0.5);
  opacity: 0.7;
}
.statement p {
  position: relative;
  font-size: clamp(1.6rem, 3.4vw, 2.7rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.statement em { display: block; font-weight: 500; }

/* ---------- category ---------- */
.category-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start; }
.accordion { display: grid; gap: 12px; }
.acc-item { --r: 14px; }
.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  text-align: left;
}
.acc-title { display: block; font-family: var(--font-grid); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; }
.acc-item.is-open .acc-title { color: var(--light); text-shadow: 0 0 14px rgba(95, 233, 255, 0.6); }
.acc-sum { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-3); }
.acc-icon { flex: none; width: 22px; height: 22px; color: var(--ink-2); transition: transform 0.5s var(--ease), color 0.3s; }
.acc-item.is-open .acc-icon { color: var(--cyan); transform: rotate(180deg); filter: drop-shadow(0 0 5px var(--cyan)); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 20px 20px; font-size: 14px; color: var(--ink-2); max-width: 520px; }

.category-card { position: sticky; top: 100px; }
.category-visual { position: relative; height: 230px; margin: -10px -10px 16px; }
.category-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bars { position: absolute; left: 14%; right: 14%; bottom: 0; height: 52%; display: flex; align-items: flex-end; gap: 6%; opacity: 0.85; }
.bars i {
  flex: 1;
  height: var(--h);
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, rgba(120, 240, 255, 0.5), rgba(30, 120, 255, 0.04));
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.9), 0 -2px 12px -2px rgba(95, 233, 255, 0.7), 0 0 18px rgba(47, 155, 255, 0.3);
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 1.4s var(--ease);
}
.is-in .bars i { transform: scaleY(1); }
.bars i:nth-child(2) { transition-delay: 0.08s; } .bars i:nth-child(3) { transition-delay: 0.16s; }
.bars i:nth-child(4) { transition-delay: 0.24s; } .bars i:nth-child(5) { transition-delay: 0.32s; }
.bars i:nth-child(6) { transition-delay: 0.4s; } .bars i:nth-child(7) { transition-delay: 0.48s; }
.category-card > p { font-size: 14.5px; color: var(--ink-2); }
.checks { display: grid; gap: 10px; margin-top: 18px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }

/* ---------- how it works ---------- */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 12px; }
.stage { display: flex; flex-direction: column; min-height: 400px; overflow: visible; }
.badge {
  position: absolute;
  left: 50%;
  top: -12px;
  padding: 6px 13px 5px;
  border-radius: 7px;
  font-family: var(--font-grid);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
  color: var(--light);
  background: #031019;
  box-shadow: inset 0 0 0 1px rgba(160, 246, 255, 0.8), inset 0 0 12px rgba(95, 233, 255, 0.2), 0 0 18px rgba(95, 233, 255, 0.5);
}
.stage h3 { margin-top: 8px; font-size: 18px; }
.stage-sub { margin-top: 8px; font-size: 13px; color: var(--ink-3); max-width: 290px; }
.stage-visual { position: relative; flex: 1; min-height: 200px; margin: 8px -12px 10px; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease), filter 0.6s; }
.stage-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.details {
  position: absolute;
  left: clamp(22px, 2.4vw, 30px);
  right: clamp(22px, 2.4vw, 30px);
  bottom: 74px;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.details p { font-size: 14px; color: var(--ink-2); }
.is-detail .details { opacity: 1; transform: none; pointer-events: auto; transition-delay: 0.12s; }
.is-detail .stage-visual { opacity: 0.08; transform: scale(0.9); filter: blur(6px); }
.details-btn {
  align-self: center;
  margin-top: auto;
  padding: 8px 15px 7px;
  border-radius: 8px;
  font-family: var(--font-grid);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: rgba(4, 16, 26, 0.5);
  box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.26);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  position: relative;
  z-index: 2;
}
.details-btn:hover { background: rgba(20, 120, 170, 0.16); color: var(--light); box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.6), 0 0 16px -4px rgba(95, 233, 255, 0.6); }

.wides { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.wide { min-height: 270px; display: flex; flex-direction: column; align-items: flex-start; }
.wide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  -webkit-mask: linear-gradient(180deg, transparent 15%, #000 70%);
  mask: linear-gradient(180deg, transparent 15%, #000 70%);
  transition: opacity 0.6s;
}
.wide .details { bottom: 70px; }
.wide.is-detail .wide-bg { opacity: 0.2; }
.wide .details-btn { align-self: flex-start; }
.icon-tile {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 10px;
  color: var(--light);
  background: radial-gradient(circle at 50% 30%, rgba(95, 233, 255, 0.2), rgba(3, 14, 22, 0.9) 75%);
  box-shadow: inset 0 0 0 1px rgba(160, 246, 255, 0.75), inset 0 0 12px rgba(95, 233, 255, 0.2), 0 0 22px rgba(95, 233, 255, 0.4);
}
.icon-tile svg { width: 20px; height: 20px; filter: drop-shadow(0 0 4px rgba(95, 233, 255, 0.9)); }

/* ---------- one brain ---------- */
.brain-visual { position: relative; height: clamp(320px, 42vw, 540px); margin-top: -20px; }
.brain-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pillars { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: -70px; }
.pillar h3 { font-size: 19px; }
.pillar .card-strong { font-size: 13.5px; }

.architecture { margin-top: 16px; text-align: center; padding-bottom: clamp(40px, 5vw, 60px);
  background: radial-gradient(60% 120% at 50% 0%, rgba(20, 150, 255, 0.22), transparent 60%), linear-gradient(180deg, rgba(14, 30, 44, 0.5), rgba(4, 12, 22, 0.58)); }
.architecture h3 { font-family: var(--font-grid); font-size: clamp(13px, 1.2vw, 16px); font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; }
.compare { display: flex; justify-content: center; align-items: flex-start; margin-top: 30px; }
.compare-card { /* solid, not glass — it sits inside a glass card */
  width: min(280px, 46%);
  padding: 18px 20px;
  border-radius: 14px;
  text-align: left;
  background: linear-gradient(180deg, rgba(8, 20, 30, 0.96), rgba(3, 9, 16, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 30px 50px -20px rgba(0, 0, 0, 0.8);
}
.compare-card p { margin: 10px 0 8px; font-size: 14px; font-weight: 500; }
.compare-card li { position: relative; padding-left: 13px; font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
.compare-card li::before { content: ''; position: absolute; left: 0; top: 0.75em; width: 5px; height: 5px; }
/* the old way runs in the rival program's orange; PrimeFloAI runs in our light */
.without { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 0 1px rgba(255, 138, 43, 0.22), 0 0 30px -14px rgba(255, 138, 43, 0.45), 0 30px 50px -20px rgba(0, 0, 0, 0.8); }
.without li::before { background: var(--rival); box-shadow: 0 0 6px var(--rival); }
.with li::before { background: var(--light); box-shadow: 0 0 6px var(--cyan); }
.with { margin: 26px 0 0 -28px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(95, 233, 255, 0.4), 0 0 40px -10px rgba(95, 233, 255, 0.55), 0 30px 50px -20px rgba(0, 0, 0, 0.8); }
.state { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; }
.state svg { width: 12px; height: 12px; }
.state.bad { color: #ffd2ad; background: rgba(255, 138, 43, 0.14); box-shadow: inset 0 0 0 1px var(--rival), 0 0 12px rgba(255, 138, 43, 0.55); }
.state.good { color: var(--light); background: rgba(95, 233, 255, 0.14); box-shadow: inset 0 0 0 1px var(--cyan), 0 0 14px rgba(95, 233, 255, 0.65); }

/* ---------- results ---------- */
.results::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 40%;
  width: min(1100px, 120%);
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(30, 150, 255, 0.14), transparent), radial-gradient(closest-side at 70% 50%, rgba(90, 110, 255, 0.1), transparent);
  pointer-events: none;
}
.cases { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.case { display: flex; flex-direction: column; gap: 22px; padding: clamp(26px, 3vw, 38px); }
.case-top { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
.case-tag {
  padding: 7px 12px 6px;
  border-radius: 7px;
  font-family: var(--font-grid);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light);
  background: rgba(3, 16, 25, 0.8);
  box-shadow: inset 0 0 0 1px rgba(160, 246, 255, 0.7), 0 0 16px rgba(95, 233, 255, 0.4);
}
.case-type { font-family: var(--font-grid); font-size: 9px; color: var(--ink-3); align-self: center; letter-spacing: 0.16em; text-transform: uppercase; }
.case h3 { font-size: clamp(22px, 2.3vw, 30px); font-weight: 400; line-height: 1.12; letter-spacing: -0.02em; }
.case h3 em { display: block; font-weight: 500; }
.case-body { display: grid; grid-template-columns: 132px 1fr; gap: clamp(18px, 2.4vw, 32px); align-items: center; }
.gauge { position: relative; width: 132px; aspect-ratio: 1; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 7; }
.gauge .track { stroke: rgba(95, 233, 255, 0.08); }
.gauge .value {
  stroke-linecap: round;
  stroke-dasharray: 314.16;
  stroke-dashoffset: 314.16;
  filter: drop-shadow(0 0 4px rgba(95, 233, 255, 0.9)) drop-shadow(0 0 10px rgba(47, 155, 255, 0.6));
  transition: stroke-dashoffset 2s var(--ease) 0.3s;
}
.gauge > span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge b { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.gauge small { display: block; max-width: 80px; font-size: 10.5px; line-height: 1.25; color: var(--ink-3); }
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.case-stats div { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px 12px; border-radius: 12px; background: rgba(3, 12, 20, 0.5); box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.12), inset 0 1px 0 rgba(95, 233, 255, 0.3); }
.case-stats dd {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 30%, #8ff3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(95, 233, 255, 0.35));
}
.case-stats dt { margin-top: 8px; font-size: 11.5px; line-height: 1.3; color: var(--ink-3); }
.case > .muted { font-size: 14px; color: var(--ink-2); }

.results-band {
  --r: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 22px 22px 22px 30px;
}
.results-band p { font-size: clamp(17px, 1.7vw, 21px); font-weight: 500; letter-spacing: -0.01em; }
.results-band span { font-weight: 500; }
.source-note { margin-top: 18px; font-size: 12px; color: var(--ink-3); text-align: center; }

/* ---------- finale ---------- */
.finale { position: relative; padding: clamp(110px, 14vw, 180px) 0 0; overflow: hidden; text-align: center; }
.spot {
  position: absolute;
  top: -10%;
  width: 40vw;
  height: 120%;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  animation: beam 16s ease-in-out infinite alternate;
}
.spot-l { left: -22vw; transform: rotate(18deg); background: linear-gradient(90deg, transparent, rgba(40, 190, 255, 0.34) 50%, transparent); }
.spot-r { right: -22vw; transform: rotate(-18deg); background: linear-gradient(90deg, transparent, rgba(70, 110, 255, 0.32) 50%, transparent); animation-delay: -8s; }
.finale-copy { position: relative; z-index: 2; }
.finale-title {
  font-size: clamp(2.9rem, 8vw, 7.2rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.finale-title span {
  display: block;
  background: linear-gradient(180deg, #ffffff 35%, #86a9b8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.finale-title em { display: block; padding-bottom: 0.08em; }
.finale-sub { max-width: 600px; margin: 26px auto 0; font-size: 17px; line-height: 1.6; color: rgba(232, 246, 252, 0.9); }
.finale-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

.hands { position: relative; width: min(1180px, 112vw); margin: clamp(10px, 3vw, 40px) 0 0; left: 50%; translate: -50% 0; }
.hands img {
  width: 100%;
  height: auto;
  -webkit-mask: radial-gradient(ellipse 52% 78% at 50% 56%, #000 55%, transparent 100%);
  mask: radial-gradient(ellipse 52% 78% at 50% 56%, #000 55%, transparent 100%);
  filter: saturate(0.92) contrast(1.05);
}
.spark { /* the moment of contact */
  position: absolute;
  left: 47.6%;
  top: 33%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px 4px rgba(150, 245, 255, 1), 0 0 40px 14px rgba(47, 170, 255, 0.7), 0 0 90px 30px rgba(70, 110, 255, 0.4);
  animation: spark 2.8s ease-in-out infinite;
}
@keyframes spark { 50% { transform: scale(1.6); opacity: 0.7; } }

/* ---------- footer ---------- */
.footer { position: relative; padding: 40px 0 34px; }
.footer::before { /* the last horizon */
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95, 233, 255, 0.35) 25%, rgba(220, 252, 255, 0.9) 50%, rgba(95, 233, 255, 0.35) 75%, transparent);
  box-shadow: 0 0 12px rgba(95, 233, 255, 0.5);
}
.footer-inner { display: grid; grid-template-columns: 210px 1fr 210px; align-items: center; gap: 0 28px; }
.footer-logo img { width: 210px; height: auto; }
/* footer links read like the top menu: same face, size, tracking and colour; Privacy and Terms sit on their own row beneath */
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 2px; }
.footer-links a {
  padding: 6px 10px;
  font-family: var(--font-grid);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.3s, text-shadow 0.3s;
}
.footer-links a:hover { color: var(--light); text-shadow: 0 0 12px rgba(95, 233, 255, 0.8); }
.footer-sub { flex-basis: 100%; display: flex; justify-content: center; gap: 2px; }
.footer-legal { grid-column: 2; margin-top: 48px; text-align: center; font-size: 12.5px; color: var(--ink-3); } /* centred under Privacy and Terms, about half an inch down */

/* ---------- film dialog ---------- */
.film-dialog {
  width: min(1100px, 94vw);
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #000;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(95, 233, 255, 0.5), 0 0 40px -6px rgba(95, 233, 255, 0.6), 0 40px 120px rgba(20, 100, 200, 0.45);
}
.film-dialog::backdrop { background: rgba(1, 3, 8, 0.78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.film-dialog video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.dialog-close svg { width: 16px; height: 16px; }


/* =========================================================================
   Living background — the Grid (fixed canvas), light beams, and floors
   ========================================================================= */
.ambient {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* a perspective floor of the Grid running towards the viewer, with its horizon lit */
.floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: var(--floor-h, clamp(240px, 30vw, 400px));
  overflow: hidden;
  perspective: 240px;
  perspective-origin: 50% 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 62%, transparent 100%), linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 62%, transparent 100%), linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.floor i {
  position: absolute;
  left: -100%;
  right: -100%;
  bottom: 0;
  height: 1400px;
  transform-origin: 50% 100%;
  transform: rotateX(84deg);
  background-image:
    linear-gradient(90deg, rgba(95, 233, 255, 0.45) 1px, transparent 1px),
    linear-gradient(0deg, rgba(95, 233, 255, 0.45) 1px, transparent 1px);
  background-size: 70px 70px;
  background-position: 50% 0;
}
/* js/grid-floor.js replaces this still image with animated lines drawn on a canvas */
.floor.has-canvas i { display: none; }
.floor-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.floor::before { /* horizon glow */
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  top: 18%;
  height: 1px;
  z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(95, 233, 255, 0.6) 30%, #fff 50%, rgba(95, 233, 255, 0.6) 70%, transparent);
  box-shadow: 0 0 14px rgba(95, 233, 255, 0.8), 0 0 60px 10px rgba(47, 155, 255, 0.35);
}

.lights {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
  mask: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
}
.hero .lights {
  -webkit-mask: linear-gradient(180deg, #000 65%, transparent);
  mask: linear-gradient(180deg, #000 65%, transparent);
}
.lights.flip { transform: scaleX(-1); }
.lights span { position: absolute; border-radius: 50%; will-change: transform, opacity; }
.sh-a { /* broad glossy sheen falling from the top-left corner */
  top: -22%;
  left: -16%;
  width: min(40vw, 640px);
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(30, 150, 255, 0.14) 28%,
    rgba(150, 235, 255, 0.28) 46%,
    rgba(225, 252, 255, 0.42) 50%,
    rgba(60, 130, 255, 0.18) 64%,
    transparent 100%);
  filter: blur(40px);
  transform: rotate(36deg);
  animation: shaftA 15s ease-in-out infinite alternate;
}
.sh-b { /* cold light pooling on the far edge, violet at its rim */
  top: 8%;
  right: -18%;
  width: min(34vw, 560px);
  height: 84%;
  background: radial-gradient(closest-side, rgba(40, 140, 255, 0.28), rgba(90, 100, 255, 0.1) 55%, transparent);
  filter: blur(26px);
  animation: shaftB 19s ease-in-out infinite alternate;
}
.sh-c { /* a single hard beam of light */
  top: -14%;
  right: 6%;
  width: min(5vw, 80px);
  height: 82%;
  background: linear-gradient(90deg, transparent, rgba(95, 233, 255, 0.3) 46%, rgba(230, 253, 255, 0.5) 50%, rgba(95, 233, 255, 0.3) 54%, transparent);
  filter: blur(10px);
  transform: rotate(-28deg);
  animation: shaftC 12s ease-in-out infinite alternate;
}
.lights.soft span { opacity: 0.55; }
.lights.soft .sh-a { width: min(30vw, 480px); }
@keyframes shaftA { from { translate: -2vw -1vh; opacity: 0.55; } to { translate: 3vw 2vh; opacity: 1; } }
@keyframes shaftB { from { opacity: 0.45; scale: 0.9; } to { opacity: 1; scale: 1.08; } }
@keyframes shaftC { 0% { opacity: 0.2; } 45% { opacity: 0.85; } 100% { opacity: 0.4; translate: -2vw 0; } }

.section > .container, .statement > p, .hero-copy, .hero-film, .hero-visual, .zero-cta { position: relative; z-index: 1; }

/* ---------- hero film + zero brain after the swap ---------- */
.hero { min-height: 0; padding-bottom: clamp(30px, 4vw, 60px); }
.hero-film { margin-top: clamp(44px, 5vw, 64px); }

/* ---------- the opening flight ----------
   The stage pins for the length of .flight while flight.js feeds it progress:
   --city / --ground scale the two copies of the scene, --copy fades the headline,
   --dark lifts the night a little, --bloom is the gate opening, --exit hands over to the page. */
.flight { position: relative; height: 260svh; }
.flight-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  padding-top: clamp(120px, 15vh, 170px);
  text-align: center;
}
.flight-scene { position: absolute; inset: 0; z-index: 0; background: var(--bg); pointer-events: none; }
.flight-scene > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.flight-scene img {
  object-fit: cover;
  object-position: 50% 62%;
  transform-origin: 50% 61%;
  will-change: transform;
}
.flight-city { transform: scale(var(--city, 1)); }
.flight-ground { /* the floor only — it is nearer, so it rushes in faster than the city */
  transform: scale(var(--ground, 1));
  -webkit-mask: linear-gradient(180deg, transparent 60.5%, #000 62.5%);
  mask: linear-gradient(180deg, transparent 60.5%, #000 62.5%);
}
.flight-shade { /* night over the city, deepest under the nav and behind the headline */
  background:
    radial-gradient(56% 50% at 50% 36%, rgba(1, 3, 9, calc(0.6 * var(--copy, 1))), rgba(1, 3, 9, calc(0.28 * var(--copy, 1))) 55%, transparent 80%),
    linear-gradient(180deg, rgba(1, 3, 9, 0.72) 0%, rgba(1, 3, 9, 0.25) 24%, transparent 45%),
    radial-gradient(120% 95% at 50% 61%, transparent 50%, rgba(1, 3, 9, 0.65) 100%),
    linear-gradient(rgba(1, 3, 9, var(--dark, 0.34)), rgba(1, 3, 9, var(--dark, 0.34)));
}
.flight-bloom { /* the gate opening as we reach it */
  background: radial-gradient(circle at 50% 61%, rgba(235, 253, 255, 0.95), rgba(95, 233, 255, 0.55) 9%, rgba(47, 155, 255, 0.2) 24%, transparent 48%);
  opacity: var(--bloom, 0);
  transform: scale(calc(0.5 + var(--bloom, 0) * 2.2));
  transform-origin: 50% 61%;
  mix-blend-mode: screen;
}
.flight-exit { background: var(--bg); opacity: var(--exit, 0); }
.flight .hero-copy {
  opacity: var(--copy, 1);
  transform: translateY(calc((1 - var(--copy, 1)) * -70px)) scale(calc(1 + (1 - var(--copy, 1)) * 0.05));
  filter: blur(calc((1 - var(--copy, 1)) * 8px));
}
.flight.is-flying .hero-copy { visibility: hidden; }
.flight .hero-sub { color: rgba(225, 242, 250, 0.88); text-shadow: 0 1px 14px rgba(1, 3, 9, 0.95), 0 0 3px rgba(1, 3, 9, 0.9); }
.flight-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(22px, 4vh, 40px);
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
  translate: -50% 0;
  opacity: var(--copy, 1);
}
.flight-cue span { font-family: var(--font-grid); font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-2); }
.flight-cue i { /* a light pulse running down a line: this way */
  width: 1px;
  height: 42px;
  background:
    linear-gradient(180deg, transparent, #fff 50%, transparent) 0 -24px / 100% 24px no-repeat,
    linear-gradient(180deg, rgba(95, 233, 255, 0.5), transparent);
  box-shadow: 0 0 6px rgba(95, 233, 255, 0.6);
  animation: cue 2s ease-in infinite;
}
@keyframes cue { to { background-position: 0 66px, 0 0; } }

.film-stage { position: relative; padding: clamp(50px, 7vw, 100px) 0 clamp(30px, 4vw, 60px); overflow-x: clip; }
.film-stage .hero-film { margin-top: 0; }
.hero-film .rings { margin-top: -26px; }
.zero .section-head { margin-bottom: 0; }
.zero .hero-visual { margin-top: clamp(-10px, 1vw, 20px); }
.zero-cta { margin-top: 8px; }

/* ---------- menu ---------- */
.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  place-content: center;
  gap: 5px;
  background: rgba(4, 18, 28, 0.6);
  box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.45), 0 0 14px -4px rgba(95, 233, 255, 0.5);
}
.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.4s var(--ease);
}
.nav.is-open .menu-btn span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav.is-open .menu-btn span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(280px, calc(100vw - 24px));
  display: grid;
  padding: 10px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(6, 20, 30, 0.88), rgba(2, 8, 14, 0.9));
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(200, 250, 255, 0.14), inset 0 0 0 1px rgba(95, 233, 255, 0.22), 0 0 30px -12px rgba(95, 233, 255, 0.5), 0 30px 60px -20px rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.nav.is-open .menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu a {
  padding: 15px 16px 14px;
  border-radius: 10px;
  font-family: var(--font-grid);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: background 0.3s, color 0.3s;
}
.menu a:hover, .menu a:focus-visible { color: var(--light); background: rgba(95, 233, 255, 0.07); }
.nav-links a[aria-current='page'], .menu a[aria-current='page'] { color: var(--light); }
.menu a[aria-current='page'] { background: rgba(95, 233, 255, 0.08); box-shadow: inset 2px 0 0 var(--cyan); }


/* =========================================================================
   Services page
   ========================================================================= */
.services-hero { padding-bottom: 0; }
.services-hero .hero-title { text-wrap: balance; }
.services-hero .hero-title em { white-space: nowrap; } /* "Around The Clock" stays on one line */
.orbit {
  position: relative;
  height: clamp(440px, 46vw, 560px);
  margin-top: clamp(20px, 3vw, 40px);
}
.orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84%;
  height: 76%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(95, 233, 255, 0.3);
  box-shadow: 0 0 40px -10px rgba(60, 200, 255, 0.4), inset 0 0 60px -20px rgba(47, 130, 255, 0.35);
}
.orbit-ring::after { /* a spark travelling the orbit */
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from var(--ang), transparent 0deg, #fff 4deg, rgba(95, 233, 255, 0.9) 12deg, transparent 40deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  mask: radial-gradient(closest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  animation: spin 7s linear infinite;
}
.orbit-ring.r2 { width: 54%; height: 46%; border-style: dashed; border-color: rgba(110, 140, 255, 0.24); box-shadow: none; }
.orbit-ring.r2::after { animation-duration: 11s; animation-direction: reverse; }
.orbit-core { position: absolute; left: 50%; top: 50%; width: clamp(170px, 18vw, 230px); margin: 0; translate: -50% -50%; }
.orbit-label {
  position: absolute;
  left: 50%;
  top: calc(50% + clamp(100px, 10.5vw, 135px));
  translate: -50% 0;
  font-family: var(--font-grid);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #bff7ff;
  text-shadow: 0 0 12px rgba(95, 233, 255, 0.7);
}
.orbit-chip {
  position: absolute;
  left: calc(50% + cos(var(--a)) * 42%);
  top: calc(50% + sin(var(--a)) * 38%);
  translate: -50% -50%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 9px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(10, 30, 42, 0.62), rgba(3, 12, 20, 0.62));
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.26), inset 0 1px 0 rgba(200, 250, 255, 0.14), 0 14px 34px -14px rgba(0, 0, 0, 0.8);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.3s;
}
.orbit-chip svg {
  flex: none;
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 8px;
  color: var(--light);
  background: rgba(95, 233, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(160, 246, 255, 0.7), 0 0 14px rgba(95, 233, 255, 0.45);
  filter: drop-shadow(0 0 3px rgba(95, 233, 255, 0.6));
}
.orbit-chip:hover {
  transform: translateY(-3px) scale(1.04);
  background: linear-gradient(180deg, rgba(20, 110, 150, 0.4), rgba(4, 20, 32, 0.6));
  box-shadow: inset 0 0 0 1px rgba(170, 248, 255, 0.75), 0 0 34px -6px rgba(95, 233, 255, 0.7);
}

.agents { padding-top: clamp(40px, 6vw, 80px); }
.agent-list { display: grid; gap: 20px; }
.agent {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  padding: clamp(28px, 3.6vw, 52px);
  scroll-margin-top: 110px;
}
.agent.alt .flow { order: -1; }
.agent-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.agent-head .icon-tile { margin: 0; width: 44px; height: 44px; border-radius: 11px; }
.agent-head .icon-tile svg { width: 22px; height: 22px; }
.agent-head:has(.agent-figure) { align-items: flex-end; }
.agent-figure {
  display: block;
  position: relative;
  z-index: 1;
  width: auto;
  height: clamp(150px, 15vw, 210px);
  filter: drop-shadow(0 0 1px rgba(150, 240, 255, 0.7)) drop-shadow(0 0 14px rgba(95, 233, 255, 0.3));
  pointer-events: none;
}
/* wrapper added by agent-energy.js; it floats, so the energy rides along */
.agent-fig, .agent-head > .agent-figure {
  margin: -8px 0 -6px;
  animation: agent-float 5.5s ease-in-out infinite;
}
.agent-fig { position: relative; display: block; }
.agent-fig > .agent-figure { margin: 0; animation: none; }
/* each agent drifts on its own beat so they don't bob in sync */
#speed-to-lead .agent-fig { animation-duration: 4.8s; animation-delay: -1.2s; }
#out-of-hours .agent-fig { animation-duration: 6.2s; animation-delay: -3s; }
#reviews .agent-fig { animation-duration: 5.1s; animation-delay: -2.1s; }
#abandoned-cart .agent-fig { animation-duration: 5.8s; animation-delay: -4.2s; }
@keyframes agent-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}
.agent-energy {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.agent-energy.is-back { z-index: 0; opacity: 0.55; }
.agent-energy.is-front { z-index: 2; }
.ae-ring { stroke: rgba(120, 236, 255, 0.38); stroke-width: 1; filter: drop-shadow(0 0 3px rgba(95, 233, 255, 0.8)); }
.ae-ring-2 { stroke: rgba(170, 140, 255, 0.26); stroke-width: 0.8; stroke-dasharray: 2 5; }
.ae-arc { stroke: #dffbff; stroke-width: 1.3; filter: drop-shadow(0 0 2px #5fe9ff) drop-shadow(0 0 6px rgba(95, 233, 255, 0.9)); }
.ae-arc-thin { stroke-width: 0.9; }
@media (prefers-reduced-motion: reduce) { .agent-fig, .agent-head > .agent-figure { animation: none; } }
.agent-num {
  font-family: var(--font-grid);
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 0.8;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, rgba(180, 245, 255, 0.55), rgba(47, 155, 255, 0.04));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.agent h2 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 400; line-height: 1.08; letter-spacing: -0.025em; }
.agent-line { margin-top: 8px; font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); }
.agent-line em { font-weight: 500; background: var(--grad-head); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; filter: drop-shadow(0 0 12px rgba(160, 48, 240, 0.45)); }
.agent-points { display: grid; gap: 18px; margin: 28px 0 0; }
.agent-points dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-grid);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ff5ff;
}
.agent-points dt::before { content: ''; width: 5px; height: 5px; background: var(--light); box-shadow: 0 0 6px var(--cyan), 0 0 12px rgba(47, 155, 255, 0.8); }
.agent-points dd { margin: 6px 0 0; font-size: 14.5px; color: var(--ink-2); max-width: 520px; }
.agent-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid rgba(95, 233, 255, 0.35);
  padding-bottom: 3px;
  transition: border-color 0.3s, gap 0.4s var(--ease), box-shadow 0.3s;
}
.agent-cta svg { width: 15px; height: 15px; }
.agent-cta:hover { gap: 12px; border-color: var(--cyan); box-shadow: 0 6px 10px -8px var(--cyan); }

/* illustrative flow — solid, because it sits inside a glass card */
.flow {
  position: relative;
  padding: 22px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(6, 18, 28, 0.92), rgba(2, 8, 14, 0.92));
  box-shadow: inset 0 1px 0 rgba(200, 250, 255, 0.08), inset 0 0 0 1px rgba(95, 233, 255, 0.1), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.flow-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-family: var(--font-grid); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.live { width: 6px; height: 6px; background: var(--light); box-shadow: 0 0 6px var(--cyan), 0 0 12px var(--cyan); animation: livePulse 1.8s ease-in-out infinite; }
@keyframes livePulse { 50% { opacity: 0.35; } }
.flow ol { position: relative; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.flow ol::before { /* the wire between steps, with current running down it */
  content: '';
  position: absolute;
  left: 30px;
  top: 26px;
  bottom: 26px;
  width: 2px;
  border-radius: 2px;
  background:
    linear-gradient(180deg, transparent 0%, #ffffff 50%, transparent 100%) 0 -60px / 100% 60px no-repeat,
    linear-gradient(180deg, rgba(95, 233, 255, 0.55), rgba(47, 130, 255, 0.5));
  box-shadow: 0 0 8px rgba(95, 233, 255, 0.5);
  animation: current 2.4s linear infinite;
}
@keyframes current { to { background-position: 0 calc(100% + 60px), 0 0; } }
.flow li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.1);
}
.flow li:last-child { color: var(--ink); background: rgba(30, 150, 210, 0.1); box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.45), 0 0 30px -12px rgba(95, 233, 255, 0.7); }
.step {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-family: var(--font-grid);
  font-size: 10px;
  color: var(--light);
  background: #031019;
  box-shadow: inset 0 0 0 1px rgba(160, 246, 255, 0.75), 0 0 14px rgba(95, 233, 255, 0.45);
}

.finale-compact { padding-bottom: clamp(100px, 12vw, 160px); }
.finale-compact .finale-title { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }

@media (max-width: 980px) {
  .agent { grid-template-columns: 1fr; }
  .agent.alt .flow { order: 0; }
}
@media (max-width: 760px) {
  .orbit { height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-top: 250px; }
  .orbit-ring { top: 120px; width: 300px; height: 210px; }
  .orbit-ring.r2 { width: 200px; height: 140px; }
  .orbit-core { top: 120px; width: 170px; }
  .orbit-label { top: 216px; }
  .orbit-chip { position: relative; left: auto; top: auto; translate: none; font-size: 13px; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1180px) {
  .carousel { padding-right: 0; }
  .carousel-next { position: relative; top: auto; right: auto; margin: 22px auto 0; }
  .carousel-dots { margin-top: 16px; }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { position: relative; top: 0; }
  .stages { grid-template-columns: 1fr; gap: 26px; }
  .stage { min-height: 380px; }
  .pillars, .cases { grid-template-columns: 1fr; }
  .pillars { margin-top: -40px; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 28px; }
  .footer-legal { grid-column: auto; margin-top: 20px; }
}

@media (max-width: 760px) {
  .flight { height: 220svh; }
  .nav { padding: 8px 8px 8px 16px; top: 10px; }
  .hero-title br { display: none; }
  .kicker i { flex: none; width: 24px; }
  .kicker span { min-width: 0; white-space: normal; text-wrap: balance; text-align: center; line-height: 1.7; }
  .hero-visual { height: 380px; }
  .callout { font-size: 11.5px; padding: 9px 12px 9px 20px; }
  .callout-l { left: 12px; top: auto; bottom: 8%; width: auto; max-width: 190px; }
  .callout-r { left: auto; right: 12px; top: 6%; max-width: 190px; white-space: normal; }
  .callout-lines { display: none; }
  .film { aspect-ratio: 4 / 5; border-radius: 24px; }
  .film-inner { border-radius: 23px; }
  .film-inner img { object-position: 42% 50%; }
  .rings { height: 90px; margin-top: -20px; }
  .rings span:nth-child(1) { height: 50px; }
  .rings span:nth-child(2) { height: 30px; }
  .rings span:nth-child(3) { height: 80px; }
  .carousel-viewport { margin: -20px; padding: 20px; }
  .slide { grid-template-columns: 1fr; }
  .card-wide { grid-template-columns: 1fr; }
  .card-wide .orb { width: 150px; order: -1; }
  .atom { width: 80px; height: 80px; right: 16px; bottom: 14px; opacity: 0.6; }
  .wides { grid-template-columns: 1fr; }
  .case-body { grid-template-columns: 1fr; justify-items: center; }
  .case-stats { width: 100%; }
  .results-band { flex-direction: column; align-items: flex-start; padding: 24px; }
  .compare { flex-direction: column; align-items: center; }
  .compare-card { width: 100%; max-width: 340px; }
  .with { margin: -10px 0 0 24px; }
  .hands { width: 150vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .flight { height: auto; }
  .flight-stage { position: relative; }
}


/* =========================================================================
   Revenue systems — stats, live chat demos, systems grid, calculator, client
   stories, comparison, and the About / Case Studies / Contact / Book pages
   ========================================================================= */
.chips.center { justify-content: center; }
.hero-cta { flex-wrap: wrap; }
.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-family: var(--font-grid);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-shadow: 0 1px 12px rgba(1, 3, 9, 0.95);
}
.hero-proof .live { flex: none; }
.page-hero { padding-bottom: clamp(70px, 9vw, 120px); }
.page-hero .floor { --floor-h: clamp(200px, 24vw, 320px); }
.page-hero .chips { margin-top: 28px; }
.page-hero .hero-cta { margin-top: 30px; }
/* Every inner page uses About's rhythm: content close under the hero, then one even gap between
   every section and before the footer. :where() keeps these at class weight, so page-specific rules
   further down (legal, results, stats band) still win. */
:where(body:not(.x-home)) { --gap: clamp(48px, 6vw, 84px); }
:where(body:not(.x-home)) .page-hero { padding-bottom: clamp(20px, 2.5vw, 36px); }
:where(body:not(.x-home)) .page-hero .floor { --floor-h: clamp(150px, 16vw, 220px); }
:where(body:not(.x-home)) .section, :where(body:not(.x-home)) .statement { padding-block: var(--gap); }
:where(body:not(.x-home)) .finale { padding-top: var(--gap); padding-bottom: calc(var(--gap) * 2 - 40px); } /* the footer adds its own 40px */
:where(body:not(.x-home)) main > :last-child:not(.finale) { padding-bottom: calc(var(--gap) * 2 - 40px); }
.page-about #founder { padding-top: clamp(40px, 3.5vw, 52px); }
@media (max-width: 760px) { .page-about .finale-compact .finale-title { font-size: clamp(1.75rem, 8.4vw, 2.6rem); } } /* keeps "In Your Forgotten List." on one line */

/* ---------- stat tiles ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stats-3 { grid-template-columns: repeat(3, 1fr); }
.stat { --r: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 24px 22px; }
.stat .icon-tile { margin: 0; width: 34px; height: 34px; border-radius: 9px; }
.stat .icon-tile svg { width: 17px; height: 17px; }
.stat b, .big-num {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 30%, #8ff3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(95, 233, 255, 0.35));
}
.stat b.word { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.4; }
.stat span { font-size: 12.5px; line-height: 1.35; color: var(--ink-3); }
.stats-3 .stat { align-items: center; text-align: center; padding: 30px 22px 26px; }
.stats-3 .stat b { font-size: clamp(40px, 5vw, 64px); }
.stats-band { padding: var(--gap, clamp(40px, 6vw, 80px)) 0; }
.stats-band .kicker { margin-bottom: 26px; }

/* ---------- live chat demo — solid, because it often sits inside glass ---------- */
.chat {
  position: relative;
  width: 100%;
  max-width: 440px;
  justify-self: center;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(6, 18, 28, 0.94), rgba(2, 8, 14, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(200, 250, 255, 0.1),
    inset 0 0 0 1px rgba(95, 233, 255, 0.16),
    0 0 50px -20px rgba(60, 200, 255, 0.6),
    0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 2px 2px 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(95, 233, 255, 0.12); }
.chat-head .icon-tile { margin: 0; width: 36px; height: 36px; border-radius: 10px; }
.chat-head .icon-tile svg { width: 18px; height: 18px; }
.chat-title { display: block; font-size: 14px; font-weight: 500; }
.chat-sub { display: flex; align-items: center; gap: 7px; margin-top: 2px; font-size: 11.5px; color: var(--ink-3); }
.chat-log { display: grid; gap: 8px; }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; }
.msg.ai {
  justify-self: start;
  border-bottom-left-radius: 4px;
  color: var(--ink);
  background: rgba(20, 120, 170, 0.16);
  box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.36), 0 0 22px -10px rgba(95, 233, 255, 0.7);
}
.msg.lead {
  justify-self: end;
  border-bottom-right-radius: 4px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.msg small { display: block; margin-bottom: 5px; font-family: var(--font-grid); font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #9ff5ff; }
.chat-event {
  display: grid;
  gap: 3px;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 12.5px;
  color: var(--ink-3);
  background: rgba(3, 12, 20, 0.7);
  box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.14);
}
.chat-event b { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.chat-event .stars { margin: 2px 0; }
.chat-event p { color: var(--ink-2); }
.chat-flag { display: flex; align-items: center; gap: 8px; font-family: var(--font-grid); font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #9ff5ff; }
.chat-done {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--light);
  background: rgba(30, 150, 210, 0.12);
  box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.5), 0 0 28px -10px rgba(95, 233, 255, 0.85);
}
.chat-done b { margin-left: auto; font-size: 15px; font-weight: 600; }
.chat-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chat-metrics div { padding: 10px 6px; border-radius: 11px; text-align: center; background: rgba(3, 12, 20, 0.7); box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.12), inset 0 1px 0 rgba(95, 233, 255, 0.28); }
.chat-metrics b { display: block; font-size: 22px; font-weight: 600; line-height: 1.1; color: var(--light); text-shadow: 0 0 12px rgba(95, 233, 255, 0.5); }
.chat-metrics span { font-size: 10.5px; color: var(--ink-3); }
.stars { display: inline-flex; gap: 2px; color: var(--light); }
.stars svg { width: 12px; height: 12px; filter: drop-shadow(0 0 4px rgba(95, 233, 255, 0.9)); }
.stars .off { opacity: 0.18; filter: none; }
/* messages arrive one after another once the demo scrolls into view.
   The transition belongs to the live state only: on the armed state, hiding the messages would itself
   run as a delayed fade, and they would still be fully visible when the demo went live. */
.chat.is-armed .chat-log > * { opacity: 0; transform: translateY(10px); }
.chat.is-armed.is-live .chat-log > * { opacity: 1; transform: none; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--i, 0) * 520ms); }

/* the home demo: a phone of light floating over the brain */
.zero .hero-visual { display: grid; place-items: center; height: auto; min-height: clamp(540px, 46vw, 660px); padding: 30px 16px; }
.zero .chat { position: relative; z-index: 3; }

/* ---------- systems grid ---------- */
.systems { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.system { grid-column: span 2; display: flex; flex-direction: column; min-height: 290px; }
.system:nth-child(n + 4) { grid-column: span 3; min-height: 250px; }
.system-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.system-head .icon-tile { margin: 0; }
.system-head .agent-num { font-size: clamp(28px, 2.8vw, 38px); }
.system h3 { font-size: clamp(18px, 1.6vw, 21px); }
.system p { margin: 10px 0 24px; font-size: 14px; color: var(--ink-2); }
.system .agent-cta { margin-top: auto; align-self: flex-start; }
.how .stage { min-height: 360px; }

/* ---------- revenue calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1.05fr; gap: 16px; align-items: stretch; }
.calc-form, .calc-out { padding: clamp(24px, 3vw, 36px); }
.calc h3 { font-family: var(--font-grid); font-size: 12.5px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; }
.calc-form > p { margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.field { display: grid; gap: 7px; margin-top: 20px; }
.field label { font-size: 13.5px; font-weight: 500; }
.field small { font-size: 11.5px; color: var(--ink-3); }
.input {
  display: flex;
  align-items: center;
  height: 50px;
  border-radius: 12px;
  background: rgba(2, 10, 18, 0.72);
  box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.22), inset 0 0 18px rgba(95, 233, 255, 0.05);
  transition: box-shadow 0.35s var(--ease);
}
.input:focus-within { box-shadow: inset 0 0 0 1px rgba(170, 248, 255, 0.85), inset 0 0 18px rgba(95, 233, 255, 0.1), 0 0 24px -6px rgba(95, 233, 255, 0.8); }
.input > span { flex: none; padding: 0 0 0 16px; font-family: var(--font-grid); font-size: 12px; color: var(--cyan); text-shadow: 0 0 8px rgba(95, 233, 255, 0.7); }
.input > span:last-child { padding: 0 16px 0 0; }
.input input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: none;
  color: var(--ink);
  font: 500 16px var(--font);
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}
.input span + input { padding-left: 8px; }
/* calculator sliders: the value sits beside the label, the track fills cyan up to a glowing thumb */
.slide-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.slide-head output { flex: none; font-family: var(--font-grid); font-size: 13px; font-variant-numeric: tabular-nums; color: var(--light); text-shadow: 0 0 10px rgba(95, 233, 255, 0.8); }
.calc-slide input[type='range'] {
  --p: 50%;
  width: 100%;
  height: 26px;
  margin: 2px 0 0;
  background: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.calc-slide input[type='range']:focus-visible { outline: 0; }
.calc-slide input[type='range']::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f9bff, var(--cyan)) 0 0 / var(--p) 100% no-repeat, rgba(2, 10, 18, 0.8);
  box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.22), 0 0 12px -4px rgba(95, 233, 255, 0.6);
}
.calc-slide input[type='range']::-moz-range-track { height: 6px; border-radius: 999px; background: rgba(2, 10, 18, 0.8); box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.22); }
.calc-slide input[type='range']::-moz-range-progress { height: 6px; border-radius: 999px; background: linear-gradient(90deg, #2f9bff, var(--cyan)); }
.calc-slide input[type='range']::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  margin-top: -7px;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 30%, #c9faff 31% 55%, var(--cyan) 56%);
  box-shadow: 0 0 0 3px rgba(95, 233, 255, 0.18), 0 0 16px rgba(95, 233, 255, 0.9);
  transition: box-shadow 0.25s, transform 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.calc-slide input[type='range']::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: radial-gradient(circle, #fff 0 30%, #c9faff 31% 55%, var(--cyan) 56%); box-shadow: 0 0 16px rgba(95, 233, 255, 0.9); }
.calc-slide input[type='range']:hover::-webkit-slider-thumb, .calc-slide input[type='range']:focus-visible::-webkit-slider-thumb { transform: scale(1.12); box-shadow: 0 0 0 5px rgba(95, 233, 255, 0.22), 0 0 22px rgba(95, 233, 255, 1); }
.input input::-webkit-outer-spin-button, .input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.input input:focus-visible { outline: 0; }
.calc-reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 9px 14px 8px;
  border-radius: 9px;
  font-family: var(--font-grid);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: rgba(4, 16, 26, 0.5);
  box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.26);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.calc-reset svg { width: 14px; height: 14px; }
.calc-reset:hover { color: var(--light); background: rgba(20, 120, 170, 0.16); box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.6), 0 0 16px -4px rgba(95, 233, 255, 0.6); }
.calc-out { display: flex; flex-direction: column; }
.calc-out header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.leak { /* money draining out runs in the rival program's orange */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px 6px;
  border-radius: 7px;
  font-family: var(--font-grid);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffd2ad;
  background: rgba(255, 138, 43, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 138, 43, 0.5), 0 0 16px -4px rgba(255, 138, 43, 0.6);
}
.leak i { width: 6px; height: 6px; background: var(--rival); box-shadow: 0 0 8px var(--rival); animation: livePulse 1.4s ease-in-out infinite; }
.calc-out .case-stats { margin-top: 22px; }
.calc-out .case-stats dd { font-size: clamp(22px, 2.4vw, 30px); }
.calc-total {
  margin-top: 14px;
  padding: 24px 20px 22px;
  border-radius: 16px;
  text-align: center;
  background: radial-gradient(80% 120% at 50% 0%, rgba(20, 150, 255, 0.24), transparent 70%), rgba(3, 12, 20, 0.6);
  box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.45), inset 0 1px 0 rgba(200, 250, 255, 0.3), 0 0 40px -14px rgba(95, 233, 255, 0.8);
}
.calc-total small { font-family: var(--font-grid); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.calc-total output {
  display: block;
  margin-top: 10px;
  font-size: clamp(40px, 5.6vw, 70px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(60, 200, 255, 0.45));
}
.calc-math { display: grid; margin-top: 16px; font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.calc-math li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 2px; border-bottom: 1px dashed rgba(95, 233, 255, 0.12); }
.calc-math b { font-weight: 500; color: var(--ink-2); text-align: right; }
.calc-out .btn { margin-top: 24px; height: auto; min-height: 50px; padding: 14px 20px; white-space: normal; text-align: center; line-height: 1.5; }

/* ---------- client stories ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 34px); }
.quote .stars svg { width: 15px; height: 15px; }
.quote blockquote { margin: 0; font-size: clamp(16px, 1.45vw, 18.5px); line-height: 1.5; color: var(--ink); }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote figcaption b { display: block; font-size: 14px; font-weight: 500; }
.quote figcaption span { font-size: 12.5px; color: var(--ink-3); }
.avatar {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-grid);
  font-size: 10.5px;
  color: var(--light);
  background: radial-gradient(circle at 50% 30%, rgba(95, 233, 255, 0.22), rgba(3, 14, 22, 0.9) 75%);
  box-shadow: inset 0 0 0 1px rgba(160, 246, 255, 0.7), 0 0 18px rgba(95, 233, 255, 0.4);
}
.section-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* ---------- reassurances ---------- */
.assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 28px; font-size: 13.5px; color: var(--ink-2); }
.assure li { display: flex; align-items: center; gap: 9px; }

/* ---------- services: steps, stats and a live demo per system ---------- */
.agent-pitch { margin-top: 18px; font-size: 15px; color: var(--ink-2); max-width: 540px; }
.agent-steps { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.agent-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.agent-steps b { display: block; font-size: 14.5px; font-weight: 500; }
.agent-steps p { margin-top: 2px; font-size: 13.5px; color: var(--ink-3); }
.agent .case-stats { margin-top: 26px; max-width: 520px; }
.agent .case-stats dd { font-size: clamp(22px, 2.3vw, 30px); }
.toolkit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool { display: flex; flex-direction: column; }
.tool h3 { font-size: 19px; }
.tool .agent-line { font-size: 15px; }
.tool .muted { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.tool .agent-cta { margin-top: auto; padding-top: 22px; align-self: flex-start; border: 0; }

/* ---------- AI vs the alternatives ---------- */
.versus { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; align-items: stretch; }
.vs { --r: 18px; position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 32px); border-radius: 18px; }
.vs h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--font-grid); font-size: 12px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; }
.vs li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(95, 233, 255, 0.08); font-size: 13.5px; color: var(--ink-2); }
.vs .state { flex: none; }
.vs-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; }
.vs-total small { font-size: 12px; color: var(--ink-3); }
.vs-total b { font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -0.02em; }
.vs-ai { margin-top: 10px; }
.vs-ai .vs-total b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 12px rgba(60, 200, 255, 0.4)); }
.vs-old { /* the old way: no glass, lit only by the rival program */
  background: linear-gradient(180deg, rgba(8, 16, 24, 0.85), rgba(3, 8, 14, 0.85));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 0 0 1px rgba(255, 138, 43, 0.18), 0 0 30px -16px rgba(255, 138, 43, 0.4);
}
.vs-old h3 { color: var(--ink-2); }
.vs-old li { color: var(--ink-3); border-color: rgba(255, 138, 43, 0.08); }
.vs-old .vs-total b { color: #ffd2ad; }

/* ---------- about ---------- */
.story { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 16px; align-items: stretch; }
.story-copy p { font-size: 15px; color: var(--ink-2); }
.story-copy p + p { margin-top: 16px; }
.story-copy p:first-child { font-size: 17px; color: var(--ink); }
.story-quote { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 3.4vw, 46px); }
.quote-mark { font-size: 84px; line-height: 0.6; height: 38px; font-weight: 600; color: var(--cyan); text-shadow: 0 0 20px rgba(95, 233, 255, 0.8); }
.story-quote blockquote { margin: 0; font-size: clamp(21px, 2.3vw, 29px); line-height: 1.28; letter-spacing: -0.02em; }
.story-quote cite { display: block; margin-top: 22px; font-family: var(--font-grid); font-size: 9.5px; font-style: normal; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.story-close { margin-top: 16px; text-align: center; font-size: 15px; color: var(--ink-2); max-width: 680px; margin-inline: auto; }

#founder .section-head h2 { text-wrap: balance; }
.founder { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 16px; align-items: start; }
.founder-copy { padding: clamp(26px, 3.4vw, 46px); }
.founder-copy .founder-name { font-family: var(--font-grid); font-size: clamp(17px, 1.75vw, 23px); font-weight: 400; line-height: 1.45; letter-spacing: 0.08em; text-transform: uppercase; text-wrap: balance; }
.founder-role { margin-top: 12px; font-family: var(--font-grid); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: #9ff5ff; }
.founder-lead { margin-top: 26px; font-size: clamp(21px, 2.1vw, 26px); font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }
.founder-body { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(95, 233, 255, 0.14); }
.founder-body p { font-size: 16.5px; line-height: 1.65; color: rgba(232, 246, 252, 0.9); }
.founder-body p + p { margin-top: 18px; }
.founder-body strong { font-weight: 600; color: var(--ink); }
.founder-body .founder-pull { margin-block: 24px; padding-left: 18px; box-shadow: inset 2px 0 0 rgba(95, 233, 255, 0.7); font-size: 18px; line-height: 1.55; }
.founder-body .founder-tagline { font-size: 18.5px; color: var(--cyan); text-shadow: 0 0 18px rgba(95, 233, 255, 0.45); }
.founder-body .founder-close { margin-top: 10px; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.4; letter-spacing: -0.015em; }
.founder-photo { position: sticky; top: 100px; margin: 0; }
.founder-photo .film { aspect-ratio: 1; max-width: none; }
.founder-photo figcaption { margin-top: 16px; text-align: center; font-family: var(--font-grid); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }

.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 40px 0 0; list-style: none; }
.timeline::before { /* a light line with current running along it */
  content: '';
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 11px;
  height: 2px;
  border-radius: 2px;
  background:
    linear-gradient(90deg, transparent, #fff 50%, transparent) -120px 0 / 120px 100% no-repeat,
    linear-gradient(90deg, rgba(95, 233, 255, 0.55), rgba(47, 130, 255, 0.5));
  box-shadow: 0 0 8px rgba(95, 233, 255, 0.5);
  animation: currentX 3.2s linear infinite;
}
@keyframes currentX { to { background-position: calc(100% + 120px) 0, 0 0; } }
.tl { padding: clamp(22px, 2.4vw, 28px); text-align: center; }
.tl-node {
  position: absolute;
  left: 50%;
  top: -35px;
  width: 12px;
  height: 12px;
  translate: -50% 0;
  background: var(--light);
  box-shadow: 0 0 10px 2px rgba(95, 233, 255, 1), 0 0 26px rgba(47, 155, 255, 0.9);
}
.tl .icon-tile { margin: 0 auto 16px; }
.tl-label { font-family: var(--font-grid); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: #9ff5ff; }
.tl h3 { margin-top: 10px; font-size: 16px; }
.tl p { margin-top: 8px; font-size: 13px; color: var(--ink-3); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.values-2 { grid-template-columns: repeat(2, 1fr); }
.value h3 { font-size: 17px; }
.value p { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); }
.why-copy { max-width: 720px; margin: 0 auto clamp(36px, 4vw, 50px); text-align: center; }
.why-copy p { font-size: 15px; color: var(--ink-2); }
.why-copy p + p { margin-top: 14px; }

/* ---------- case studies ---------- */
.film-soon .film-inner img { filter: saturate(1.05) brightness(0.75); }
.film-soon .warm { filter: hue-rotate(180deg) saturate(1.15) brightness(0.72); } /* bring warm stills onto the Grid's cyan */
.soon {
  --r: 10px;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 9px;
  translate: -50% -50%;
  font-family: var(--font-grid);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
}
.soon svg { width: 16px; height: 16px; color: var(--cyan); filter: drop-shadow(0 0 5px var(--cyan)); }
.feature { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 3.4vw, 48px); align-items: center; padding: clamp(22px, 3vw, 40px); }
.feature .film { aspect-ratio: 16 / 10; animation-duration: 9s; }
.feature h3 { margin-top: 18px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 400; line-height: 1.12; letter-spacing: -0.02em; }
.feature .muted { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }
.feature .case-stats { margin-top: 24px; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.case-card { display: flex; flex-direction: column; gap: 16px; }
.case-card .film { aspect-ratio: 16 / 9; border-radius: 16px; animation-duration: 11s; box-shadow: 0 0 40px -14px rgba(60, 200, 255, 0.5); }
.case-card .film-inner { border-radius: 15px; }
.case-card .soon { font-size: 8.5px; padding: 8px 12px 7px; }
/* a results screenshot: shown whole and at full brightness, so its headline and banners stay legible */
.film-shot .film-inner::after { display: none; }
/* own layer: the frame's glow repaints every frame, and Chromium redraws images caught in that with low-quality scaling */
.film-shot .film-inner img, .film-shot:hover .film-inner img { object-position: 50% 50%; transform: translateZ(0); }
.film-wide .film-inner img, .film-wide:hover .film-inner img { object-fit: contain; object-position: 50% 0; } /* wider than the 16:9 frame: show it all, not cropped */
.case-card h3 { font-size: clamp(17px, 1.5vw, 19px); }
.case-card .muted { margin-top: -6px; }
.case-card .case-stats { grid-template-columns: 1fr 1fr; margin-top: auto; }
.case-card .case-stats dd { font-size: clamp(24px, 2.4vw, 30px); }
.cases-more { margin-top: clamp(60px, 8vw, 110px); }

/* ---------- contact: the free demo ---------- */
.demo-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 16px; align-items: start; }
.gets { display: grid; gap: 12px; }
.gets > header { margin-bottom: 6px; }
.gets > header h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 400; line-height: 1.12; letter-spacing: -0.02em; }
.gets > header p { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.get { --r: 16px; display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding: 20px 22px; }
.get .icon-tile { margin: 0; }
.get h3 { font-size: 15.5px; }
.get p { margin-top: 4px; font-size: 13.5px; color: var(--ink-3); }
/* contact: the three steps after the form, in one glass card */
.submit-steps { --r: 18px; padding: clamp(22px, 2.6vw, 32px); }
.submit-steps > h3 { font-family: var(--font-grid); font-size: 12.5px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: #9ff5ff; }
.submit-steps ol { display: grid; gap: 22px; margin: 22px 0 0; padding: 0; list-style: none; }
.submit-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start; }
.submit-steps h4 { margin: 3px 0 0; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ink); }
/* contact: the steps card and the form sit side by side, same top, same height, and scroll together (no sticky form) */
.demo-grid { align-items: stretch; }
.demo-grid > .gets { display: contents; }
.demo-grid > .gets > header { grid-column: 1 / -1; grid-row: 1; max-width: 640px; margin-bottom: 8px; }
.demo-grid > .gets > .submit-steps { grid-column: 1; grid-row: 2; }
.demo-grid > .embed { grid-column: 2; grid-row: 2; position: relative; top: auto; }
.submit-steps p { margin-top: 5px; font-size: 14px; line-height: 1.6; color: rgba(225, 242, 250, 0.78); }
.embed { position: sticky; top: 96px; padding: clamp(20px, 2.4vw, 28px); }
.embed h2 { font-family: var(--font-grid); font-size: 13px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; }
.embed > p { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); }
.embed-frame {
  position: relative;
  margin-top: 18px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(2, 8, 14, 0.9);
  box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.2), 0 0 30px -14px rgba(95, 233, 255, 0.6);
}
.embed-frame iframe { display: block; width: 100%; height: 660px; border: 0; } /* a starting height: form_embed.js resizes the frame to fit the form once it loads */
/* form_embed.js parks the frame off-screen until it hears back; never leave the form invisible */
.embed-frame iframe[style] { position: static !important; left: auto !important; opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; }
.embed-cal iframe { min-height: 760px; }
.safe { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: 12.5px; color: var(--ink-3); }
.safe svg { flex: none; width: 16px; height: 16px; color: var(--cyan); filter: drop-shadow(0 0 4px rgba(95, 233, 255, 0.8)); }
.safe a { color: var(--ink-2); text-decoration: underline; text-decoration-color: rgba(95, 233, 255, 0.4); text-underline-offset: 2px; }
.safe a:hover { color: var(--ink); text-decoration-color: var(--cyan); }

/* contact: the "Activate my free demo" form, its progress steps and the ready card */
.demo-form .field { margin-top: 18px; }
.demo-form .input input { font-weight: 400; font-variant-numeric: normal; }
.demo-form .input input::placeholder { color: var(--ink-3); }
.demo-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.demo-submit { width: 100%; margin-top: 24px; }
.demo-error { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: #ffc2b5; }
.demo-progress, .demo-ready {
  margin-top: 20px;
  padding: clamp(20px, 2.4vw, 26px);
  border-radius: 14px;
  background: rgba(2, 8, 14, 0.9);
  box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.2), 0 0 30px -14px rgba(95, 233, 255, 0.6);
}
.demo-progress ol { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.demo-progress li { display: flex; align-items: center; gap: 14px; font-size: 15.5px; color: var(--ink-3); transition: color 0.4s; }
.demo-progress li::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.45); transition: background 0.4s, box-shadow 0.4s; }
.demo-progress li.is-on { color: var(--ink); }
.demo-progress li.is-on::before { background: var(--cyan); box-shadow: 0 0 12px rgba(95, 233, 255, 0.9); animation: demo-pulse 1.2s ease-in-out infinite; }
.demo-progress li.is-done { color: var(--ink-2); }
.demo-progress li.is-done::before { background: var(--cyan); box-shadow: 0 0 8px rgba(95, 233, 255, 0.6); }
@keyframes demo-pulse { 50% { opacity: 0.35; } }
.demo-wait { margin-top: 20px; font-size: 13px; color: var(--ink-3); }
.demo-ready h3 { font-size: 20px; font-weight: 600; }
.demo-ready p { margin: 8px 0 20px; font-size: 14px; color: var(--ink-2); }
.demo-ready .btn { width: 100%; }
@media (prefers-reduced-motion: reduce) { .demo-progress li.is-on::before { animation: none; } }
.after { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 14px 0 0; list-style: none; }
.after::before { /* the wire joining the three steps */
  content: '';
  position: absolute;
  left: 16%;
  right: 16%;
  top: 14px;
  height: 2px;
  background:
    linear-gradient(90deg, transparent, #fff 50%, transparent) -120px 0 / 120px 100% no-repeat,
    linear-gradient(90deg, rgba(95, 233, 255, 0.55), rgba(47, 130, 255, 0.5));
  box-shadow: 0 0 8px rgba(95, 233, 255, 0.5);
  animation: currentX 3.2s linear infinite;
}
.after .card { overflow: visible; text-align: center; padding-top: 38px; }
.after .step { position: absolute; left: 50%; top: -14px; translate: -50% 0; width: 30px; height: 30px; }
.after h3 { font-size: 17px; }
.after p { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- book a call ---------- */
.expect { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.expect h3 { font-size: 16px; }
.expect p { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); }
.book-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 16px; align-items: start; }
.agenda { padding: clamp(20px, 2.4vw, 28px); }
.agenda .flow-head { margin-bottom: 18px; }
.agenda ol::before { left: 53px; }
.agenda li { align-items: flex-start; }
.agenda li b { display: block; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.agenda li p { margin-top: 2px; font-size: 13px; color: var(--ink-3); }
.time {
  position: relative;
  flex: none;
  width: 74px;
  padding: 6px 0 5px;
  white-space: nowrap;
  border-radius: 7px;
  text-align: center;
  font-family: var(--font-grid);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  color: var(--light);
  background: #031019;
  box-shadow: inset 0 0 0 1px rgba(160, 246, 255, 0.75), 0 0 14px rgba(95, 233, 255, 0.45);
}

@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .systems { grid-template-columns: 1fr 1fr; }
  .system, .system:nth-child(n + 4) { grid-column: auto; min-height: 0; }
  .system:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .calc, .quotes, .story, .founder, .feature, .demo-grid, .book-grid { grid-template-columns: 1fr; }
  .founder-photo { position: static; order: -1; width: 100%; max-width: 520px; margin-inline: auto; }
  .versus { grid-template-columns: 1fr; }
  .vs-ai { margin-top: 12px; }
  .toolkit, .values, .case-grid { grid-template-columns: 1fr 1fr; }
  .expect { grid-template-columns: 1fr 1fr; }
  .embed { position: relative; top: 0; }
  .demo-grid > .gets > .submit-steps { grid-column: 1; grid-row: 3; }
  .demo-grid > .embed { grid-column: 1; grid-row: 2; } /* the form comes before the steps on a phone */
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 52px; }
  .timeline::before { display: none; }
}
@media (max-width: 760px) {
  .stats-3 { grid-template-columns: 1fr; }
  .stat { padding: 18px 16px; }
  .systems, .toolkit, .values, .values-2, .case-grid, .expect, .after { grid-template-columns: 1fr; }
  .system:last-child:nth-child(odd) { grid-column: auto; }
  .after { gap: 34px; }
  .after::before { display: none; }
  .timeline { grid-template-columns: 1fr; row-gap: 16px; padding: 0 0 0 30px; }
  .timeline::before { display: block; left: 9px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto;
    background: linear-gradient(180deg, rgba(95, 233, 255, 0.55), rgba(47, 130, 255, 0.5)); animation: none; }
  .tl { text-align: left; }
  .tl .icon-tile { margin: 0 0 14px; }
  .tl-node { left: -21px; top: 30px; translate: -50% 0; }
  .chat { padding: 14px; }
  .msg { font-size: 13px; }
  .zero .hero-visual { height: auto; padding: 40px 0; }
  .agent .case-stats, .calc-out .case-stats { grid-template-columns: repeat(3, 1fr); }
  .calc-out .case-stats dd, .agent .case-stats dd { font-size: 20px; }
  .case-stats div { padding: 14px 8px; }
  .vs li { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .chat.is-armed .chat-log > * { opacity: 1; transform: none; }
}
.cal-fallback { display: grid; justify-items: center; gap: 12px; padding: clamp(36px, 5vw, 64px) clamp(20px, 3vw, 40px); text-align: center; }
.cal-fallback .icon-tile { margin: 0 0 6px; width: 48px; height: 48px; }
.cal-fallback h3 { font-size: clamp(18px, 1.8vw, 22px); }
.cal-fallback p { max-width: 420px; font-size: 14px; color: var(--ink-2); }
.cal-fallback .finale-cta { margin-top: 14px; }

/* ===================== SILVER iPHONE (Services · Database Reactivation) =====================
   Everything inside is sized in em, so the whole device scales with its column. */
.iphone-stage {
  container-type: inline-size;
  width: 100%;
  max-width: 400px;
  min-width: 0;
  justify-self: center;
}
.iphone-fit {
  position: relative;
  width: 24em;
  margin-inline: auto;
  padding-block: 1.4em;
  font-size: min(16px, calc(100cqw / 24));
}
@container (max-width: 340px) {
  .iphone-fit { width: 20.4em; font-size: calc(100cqw / 20.4); }
}
.iphone {
  position: relative;
  width: 19.75em;
  height: 41em;
  margin-inline: auto;
  padding: 0.44em;
  border-radius: 3.45em;
  background: linear-gradient(100deg, #85888d 0%, #f7f8f9 2.2%, #c3c5ca 5%, #e4e5e8 22%, #f1f2f4 50%, #dcdde1 78%, #c1c3c8 95%, #f8f9fa 97.8%, #7f8287 100%);
  box-shadow:
    inset 0 0 0 0.04em rgba(255, 255, 255, 0.85),
    inset 0 0 0.12em 0.05em rgba(70, 74, 80, 0.55),
    0 0 0 0.04em rgba(40, 44, 50, 0.65),
    0 2.6em 4em -1.4em rgba(0, 0, 0, 0.9),
    0 0 4.4em -1.2em rgba(120, 225, 255, 0.5);
}
/* antenna bands in the metal */
.iphone-band { position: absolute; z-index: 2; background: rgba(90, 94, 100, 0.5); }
.iphone-band.t { top: 0; left: 18%; width: 0.16em; height: 0.44em; }
.iphone-band.b { bottom: 0; right: 18%; width: 0.16em; height: 0.44em; }
.iphone-band.l { left: 0; bottom: 15%; width: 0.44em; height: 0.16em; }
.iphone-band.r { right: 0; top: 15%; width: 0.44em; height: 0.16em; }
/* side buttons */
.iphone-btn {
  position: absolute;
  z-index: -1;
  width: 0.26em;
  border-radius: 0.1em;
  background: linear-gradient(180deg, #8d9095 0%, #eceef0 7%, #c4c6cb 50%, #eceef0 93%, #8d9095 100%);
  box-shadow: 0 0 0.05em rgba(0, 0, 0, 0.7);
}
.iphone-btn.action { left: -0.17em; top: 6.1em; height: 1.75em; }
.iphone-btn.up { left: -0.17em; top: 9.1em; height: 3.2em; }
.iphone-btn.down { left: -0.17em; top: 13.1em; height: 3.2em; }
.iphone-btn.power { right: -0.17em; top: 10.3em; height: 5.1em; }
.iphone-bezel {
  height: 100%;
  padding: 0.42em;
  border-radius: 3.02em;
  background: #050506;
  box-shadow: inset 0 0 0 0.05em #2b2c2f;
}
.iphone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 2.6em;
  background: #f2f2f6;
  color: #0b0b0d;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
/* a faint reflection across the glass */
.iphone-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 24%, transparent 40%);
}
.iphone-island {
  position: absolute;
  z-index: 5;
  top: 0.62em;
  left: 50%;
  width: 6em;
  height: 1.76em;
  border-radius: 1em;
  background: #000;
  transform: translateX(-50%);
}
.iphone-island::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0.5em;
  width: 0.72em;
  height: 0.72em;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #4a5f95 0%, #171c33 42%, #05060b 72%);
  transform: translateY(-50%);
}
.iphone-status {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  height: 3em;
  padding: 0.5em 1.5em 0 1.75em;
  background: #fff;
  font-size: 1em;
}
.iphone-status b { font-size: 0.86em; font-weight: 600; letter-spacing: -0.01em; }
.iphone-status span { display: flex; align-items: center; gap: 0.3em; }
.iphone-status svg { display: block; width: auto; height: 0.7em; fill: currentColor; }
.iphone-nav {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.5em;
  padding: 0.35em 0.85em 0.6em;
  background: #fff;
  box-shadow: 0 0.04em 0 rgba(60, 60, 67, 0.2);
  color: #007aff;
}
.iphone-nav svg { flex: none; width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.iphone-avatar { flex: none; width: 2.1em; height: 2.1em; border-radius: 50%; background: linear-gradient(135deg, #5a55e6 0%, #a93ec9 55%, #ec3f93 100%); }
.iphone-nav b { flex: 1; font-size: 0.86em; font-weight: 600; color: #0b0b0d; }
.iphone-thread {
  flex: 1;
  align-content: start;
  gap: 0.5em;
  min-height: 0;
  overflow: hidden;
  padding: 0.8em 0.7em;
}
.iphone-msg {
  max-width: 78%;
  padding: 0.56em 0.8em;
  border-radius: 1.1em;
  font-size: 0.82em;
  line-height: 1.32;
  letter-spacing: -0.005em;
}
.iphone-msg.them { justify-self: start; background: #fff; color: #0b0b0d; box-shadow: 0 0.06em 0.2em rgba(0, 0, 0, 0.08); }
.iphone-msg.me { justify-self: end; background: linear-gradient(180deg, #1a8bff, #007aff); color: #fff; }
.iphone-compose {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.5em;
  padding: 0.5em 0.7em 1.55em;
  background: #fff;
  box-shadow: 0 -0.04em 0 rgba(60, 60, 67, 0.16);
}
.iphone-compose i { flex: 1; height: 2em; border-radius: 1em; background: #f1f1f4; box-shadow: inset 0 0 0 0.04em rgba(60, 60, 67, 0.14); }
.iphone-compose b { display: grid; flex: none; place-items: center; width: 2em; height: 2em; border-radius: 50%; background: #007aff; color: #fff; }
.iphone-compose svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.iphone-home { position: absolute; z-index: 5; bottom: 0.45em; left: 50%; width: 6.6em; height: 0.28em; border-radius: 0.2em; background: #0b0b0d; transform: translateX(-50%); }
/* floating result badges */
.iphone-badge {
  position: absolute;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.6em 0.9em 0.6em 0.6em;
  border-radius: 0.95em;
  background: linear-gradient(180deg, rgba(10, 28, 42, 0.96), rgba(3, 12, 20, 0.97));
  box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.3), inset 0 1px 0 rgba(200, 250, 255, 0.25), 0 1em 2em -0.8em rgba(0, 0, 0, 0.95), 0 0 1.6em -0.5em rgba(95, 233, 255, 0.7);
}
.iphone-badge em { display: grid; flex: none; place-items: center; width: 2.2em; height: 2.2em; border-radius: 0.6em; background: rgba(95, 233, 255, 0.12); font-size: 1em; font-style: normal; }
.iphone-badge b { display: block; font-size: 1em; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; color: var(--light); white-space: nowrap; }
.iphone-badge small { display: block; font-size: 0.68em; color: var(--ink-2); white-space: nowrap; }
.iphone-badge.top { top: 0; right: 0; }
.iphone-badge.bottom { bottom: 0.6em; left: 0; }
/* one message after another, top to bottom, once the phone scrolls into view */
.iphone-stage.is-armed .chat-log > * { opacity: 0; transform: translateY(0.6em); }
.iphone-stage.is-armed.is-live .chat-log > * { opacity: 1; transform: none; transition: opacity 0.45s var(--ease), transform 0.55s var(--ease); transition-delay: calc(0.6s + var(--i, 0) * 900ms); }
@media (prefers-reduced-motion: reduce) {
  .iphone-stage.is-armed .chat-log > * { opacity: 1; transform: none; }
}
/* status bar pinned above the message box; it arrives last, then pulses every 3 seconds */
.iphone-thread { position: relative; }
.iphone-done {
  position: absolute;
  right: 0.7em;
  bottom: 0.5em;
  left: 0.7em;
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.5em 0.8em;
  border-radius: 0.8em;
  background: #171029;
  box-shadow: inset 0 0 0 0.06em rgba(168, 85, 247, 0.45);
  font-size: 0.72em;
  font-weight: 500;
  line-height: 1.25;
  color: #d8b4fe;
  animation: iphone-done-pulse 3s ease-out infinite;
}
.iphone-done i {
  flex: none;
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: #a855f7;
  animation: iphone-dot-pulse 3s ease-out infinite;
}
@keyframes iphone-done-pulse {
  0%, 45%, 100% { box-shadow: inset 0 0 0 0.06em rgba(168, 85, 247, 0.45), 0 0 0 0 rgba(168, 85, 247, 0); }
  15% { box-shadow: inset 0 0 0 0.09em rgba(192, 132, 252, 1), 0 0 1.5em 0.1em rgba(168, 85, 247, 0.75); }
}
@keyframes iphone-dot-pulse {
  0%, 45%, 100% { box-shadow: 0 0 0 0 rgba(192, 132, 252, 0); }
  15% { box-shadow: 0 0 0 0.45em rgba(192, 132, 252, 0.4), 0 0 0.8em 0.2em rgba(192, 132, 252, 0.9); }
}
@media (prefers-reduced-motion: reduce) {
  .iphone-done, .iphone-done i { animation: none; }
}
/* the logo stands in for the headline text in the recommended column, at the same scale */
.vs-logo { display: block; flex: none; width: auto; height: 1.5em; filter: drop-shadow(0 0 6px rgba(47, 170, 255, 0.35)); }
/* phones: keep "Book a free demo" compact so the logo holds its size beside it */
@media (max-width: 560px) {
  .nav { gap: 10px; }
  .nav-logo { flex: 1 1 auto; min-width: 0; }
  .nav-actions { flex: none; gap: 6px; }
  .nav-actions .btn-sm { --h: 36px; padding-inline: 12px; font-size: 11px; letter-spacing: 0.06em; white-space: nowrap; }
}
/* six menu items: keep every label on one line on small laptops */
.nav-links a { white-space: nowrap; }
@media (max-width: 1140px) {
  .nav-logo img { width: 160px; }
  .nav-links a { padding-inline: 9px; letter-spacing: 0.08em; }
  .nav-actions .btn-sm { padding-inline: 13px; }
}
/* results image: the whole picture enlarges on click, with an enlarge icon bottom-left, clear of the result banners */
.shot-open {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 10px;
  cursor: zoom-in;
}
.shot-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(3, 12, 20, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.45), 0 0 16px -4px rgba(95, 233, 255, 0.8);
  color: var(--light);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.shot-icon svg { width: 16px; height: 16px; }
.shot-open:hover .shot-icon, .shot-open:focus-visible .shot-icon { transform: scale(1.1); background: rgba(10, 40, 60, 0.9); }
.shot-open:focus-visible { outline: 2px solid var(--cyan); outline-offset: -4px; border-radius: 15px; }
.shot-dialog { width: min(1400px, 94vw); background: #020509; cursor: zoom-out; }
.shot-dialog img { display: block; width: 100%; height: auto; max-height: 90vh; object-fit: contain; }

/* results card stat boxes: a slow, subtle electric blue-violet glow that pulses every 3s */
.case-card .case-stats div, .feature .case-stats div { position: relative; }
.case-card .case-stats div::after, .feature .case-stats div::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 18px -2px rgba(120, 110, 255, 0.55), 0 0 6px rgba(80, 170, 255, 0.35), inset 0 0 0 1px rgba(150, 130, 255, 0.45), inset 0 0 16px rgba(110, 100, 255, 0.18);
  opacity: 0.15;
  animation: stat-pulse 3s ease-in-out infinite;
}
.case-card .case-stats div + div::after, .feature .case-stats div + div::after { animation-delay: 0.4s; }
.feature .case-stats div + div + div::after { animation-delay: 0.8s; }
@keyframes stat-pulse { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.85; } }
@media (prefers-reduced-motion: reduce) { .case-card .case-stats div::after, .feature .case-stats div::after { animation: none; opacity: 0.45; } }

/* results cards: industry tag centred on top, campaign type centred under the image */
.case-card .case-top { justify-content: center; }
.case-card > .case-type { align-self: center; text-align: center; margin: -4px 0 -2px; }

/* results cards: wider than the page column, three across down to phone size */
.case-grid {
  --cw: min(100vw - 48px, 1440px);
  width: var(--cw);
  margin-inline: calc((100% - var(--cw)) / 2);
  gap: clamp(16px, 1.8vw, 26px);
  margin-top: clamp(16px, 2vw, 26px);
}
.case-card .case-tag, .case-card > .case-type, .case-card .case-stats dt { white-space: nowrap; }
@media (max-width: 980px) and (min-width: 761px) {
  .case-grid { grid-template-columns: repeat(3, 1fr); --cw: calc(100vw - 32px); gap: 12px; }
  .case-card { padding: 16px; gap: 16px; }
  .case-card .case-tag { font-size: 9px; padding: 7px 10px 6px; letter-spacing: 0.1em; }
  .case-card > .case-type { font-size: 9px; letter-spacing: 0.1em; }
  .case-card h3 { font-size: 16px; }
  .case-card .case-stats { gap: 8px; }
  .case-card .case-stats div { padding: 16px 6px; }
  .case-card .case-stats dd { font-size: 22px; }
  .case-card .case-stats dt { font-size: 11px; }
}
@media (max-width: 760px) { .case-grid { --cw: 100%; } }

/* featured case study video: plays in its frame with the browser's own controls */
.film-video .film-inner video { display: block; width: 100%; height: 100%; object-fit: contain; background: #020509; }

/* results card screenshots: a band of black above each image so its headline isn't jammed against the frame */
.case-card .film-shot { aspect-ratio: auto; }
.case-card .film-shot .film-inner { height: auto; padding-top: 12px; }
.case-card .film-shot .film-inner img { display: block; height: auto; aspect-ratio: 16 / 9; }

/* results card stat boxes: snug around their number, and the pair centred in the card */
.case-card .case-stats { grid-template-columns: 1fr 1fr; width: max-content; max-width: 100%; margin-inline: auto; }
.case-card .case-stats div { min-width: 118px; padding: 16px 22px; }

/* results page: the featured case sits closer to the page headline */
#featured { padding-top: 0; padding-bottom: clamp(24px, 3vw, 48px); margin-top: clamp(-40px, -2vw, -16px); }
#featured + .finale { padding-top: clamp(60px, 6vw, 90px); }

/* =========================================================================
   Legal pages (privacy.html, terms.html): one plain, readable column of text under the title
   ========================================================================= */
.legal { padding-top: 0; }
.legal-grid { max-width: 860px; }
.legal-doc { padding: 0; }
.legal-doc section { scroll-margin-top: 110px; }
.legal-doc section + section { margin-top: 44px; }
.legal-doc h2 { display: flex; align-items: baseline; gap: 12px; font-size: clamp(20px, 2vw, 25px); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); }
.legal-doc h2 .n { flex: none; font-family: var(--font-grid); font-size: 11px; letter-spacing: 0.08em; color: var(--cyan); text-shadow: 0 0 10px rgba(95, 233, 255, 0.7); }
.legal-doc h3 { margin-top: 24px; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.legal-doc p, .legal-doc li { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.legal-doc p { margin-top: 14px; }
.legal-doc h3 + p, .legal-doc h3 + ul { margin-top: 8px; }
.legal-doc ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.legal-doc ul li { position: relative; padding-left: 22px; }
.legal-doc ul li::before { content: ''; position: absolute; left: 3px; top: 0.72em; width: 5px; height: 5px; background: var(--light); box-shadow: 0 0 6px var(--cyan), 0 0 12px rgba(47, 155, 255, 0.8); }
.legal-doc strong { font-weight: 600; color: var(--ink); }
.legal-doc a { color: #9ff5ff; text-decoration: underline; text-decoration-color: rgba(95, 233, 255, 0.4); text-underline-offset: 3px; transition: text-decoration-color 0.25s, color 0.25s; }
.legal-doc a:hover { color: var(--light); text-decoration-color: var(--cyan); }
.legal-label { font-family: var(--font-grid); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: #9ff5ff; }
.legal-doc .legal-label { margin: 0; max-width: none; font-size: 9.5px; line-height: 1.6; color: #9ff5ff; } /* beats .legal-doc p */
.legal-summary { margin-bottom: 44px; padding: 22px clamp(18px, 2.4vw, 28px); border-radius: 14px; background: linear-gradient(135deg, rgba(95, 233, 255, 0.07), rgba(162, 25, 240, 0.06)); box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.24), 0 0 30px -16px rgba(95, 233, 255, 0.6); }
.legal-summary ul { margin-top: 12px; }
.legal-summary li { color: var(--ink); }
.legal-contact { margin-top: 20px; padding: 18px 22px; border-radius: 12px; background: rgba(4, 14, 24, 0.55); box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.2); }
.legal-contact p:not(.legal-label) { margin-top: 8px; }
.legal-next { margin-top: 44px !important; padding-top: 26px; border-top: 1px solid var(--line-dim); text-align: center; max-width: none !important; }
.legal-table { margin-top: 16px; overflow-x: auto; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(95, 233, 255, 0.18); }
.legal-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
.legal-table th, .legal-table td { padding: 12px 16px; text-align: left; vertical-align: top; line-height: 1.55; }
.legal-table th { font-family: var(--font-grid); font-size: 9px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: #9ff5ff; background: rgba(95, 233, 255, 0.05); }
.legal-table td { color: var(--ink-2); border-top: 1px solid var(--line-dim); }
.legal-table td:first-child { width: 30%; color: var(--ink); font-weight: 500; }
.legal-table td:last-child { width: 24%; }
}
@media (max-width: 560px) {
  .legal-doc p, .legal-doc li { font-size: 14.5px; }
}

/* =========================================================================
   One look for every small sentence on a card, site-wide: same size, colour and clarity
   ========================================================================= */
:root { --card-text: rgba(225, 242, 250, 0.86); }
.after p, .value p, .tl p, .expect p, .agenda li p, .agent-steps p, .submit-steps p, .get p,
.category-card > p, .details p, .system p, .acc-panel p, .agent-points dd, .toolkit .muted, .feature .muted, .embed > p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--card-text);
}
@media (max-width: 560px) {
  .after p, .value p, .tl p, .expect p, .agenda li p, .agent-steps p, .submit-steps p, .get p,
  .category-card > p, .details p, .system p, .acc-panel p, .agent-points dd, .toolkit .muted, .feature .muted, .embed > p { font-size: 14px; }
}
