/* =====================================================================
   OttBot — Design System
   Brand: Max Smart Digital / OttBot
   Fonts: Archivo Black (H1) · Manrope (H2/headings) · IBM Plex Mono (body/UI)
   Palette per Brand colours.docx
   ===================================================================== */

/* ---------- Self-hosted Atkinson Hyperlegible (accessibility / dyslexia + assistant chat) ----------
   Self-hosted so it's a stable, preloadable OttBot accessibility asset (dyslexia is
   becoming an ecosystem-wide feature). Only downloads when actually rendered
   (dyslexia mode body, or the pricing-assistant chat) thanks to unicode-range. */
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/atkinson-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/atkinson-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/atkinson-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/atkinson-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Self-hosted brand fonts (Archivo Black, Manrope, IBM Plex Mono, Lexend) ---------- */
@font-face { font-family: 'Archivo Black'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/archivo-black-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo Black'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/archivo-black-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/manrope-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/manrope-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/manrope-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/manrope-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/manrope-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/manrope-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap;
  src: url(../fonts/manrope-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap;
  src: url(../fonts/manrope-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/ibm-plex-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/ibm-plex-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/ibm-plex-mono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/ibm-plex-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/lexend-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/lexend-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/lexend-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/lexend-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/lexend-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/lexend-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/lexend-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/lexend-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/manrope-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/manrope-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* ---------- Design tokens ---------- */
:root {
  /* Current brand colours */
  --navy: #1D3557;
  --purple: #7C1AED;
  --lime: #A3E635;
  --cyan: #0FF0FC;
  --soft-white: #F9FAFB;
  --pale-blue: #F0F5FF;

  /* Complementary */
  --coral: #FF6B6B;
  --sand: #E9C46A;
  --slate: #64748B;
  --pink: #EC4899;
  --rich-black: #111111;

  /* Semantic surfaces */
  --ink: #0E1B33;            /* deep navy ink for text on light */
  --ink-soft: #44506b;       /* secondary text on light */
  --bg: #ffffff;
  --bg-tint: var(--pale-blue);
  --bg-ink: var(--navy);     /* dark sections */
  --bg-ink-2: #16294a;
  --line: #e3e8f3;
  --line-dark: rgba(255,255,255,0.12);
  --text-on-dark: #eef2fb;
  --text-on-dark-soft: #b6c2dd;

  /* Brand gradients */
  --grad-brand: linear-gradient(120deg, var(--purple) 0%, var(--pink) 55%, var(--cyan) 100%);
  --grad-cool:  linear-gradient(120deg, var(--purple) 0%, var(--cyan) 100%);
  --grad-warm:  linear-gradient(120deg, var(--pink) 0%, var(--coral) 100%);
  --grad-ink:   linear-gradient(160deg, #1d3557 0%, #16294a 60%, #102038 100%);

  /* Typography */
  --font-display: 'Archivo Black', system-ui, sans-serif;
  --font-head: 'Manrope', system-ui, sans-serif;
  --font-body: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Scale & rhythm */
  --maxw: 1200px;
  --maxw-narrow: 820px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(16,32,72,.06);
  --shadow: 0 16px 44px rgba(16,32,72,.10);
  --shadow-lg: 0 30px 80px rgba(16,32,72,.16);
  --section-y: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* overflow-x: clip (not hidden) prevents horizontal scroll WITHOUT creating a
   scroll container — so the sticky .site-header keeps working on every page. */
html, body { max-width: 100%; overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; color: var(--ink); letter-spacing: -0.02em; }
.display { font-family: var(--font-display); letter-spacing: 0.005em; line-height: 1.18; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { color: var(--ink-soft); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); }
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--purple); display: inline-flex; align-items: center; gap: .5em;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: #7C3AED; border-radius: 2px; }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: #fff; }
.grad-text {
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--maxw-narrow); margin-left: auto; margin-right: auto; }
.section { padding: var(--section-y) 0; }
.section--tint { background: var(--bg-tint); }
.section--ink { background: var(--grad-ink); color: var(--text-on-dark); }
.section--ink.cap-strip { background: var(--navy); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: var(--text-on-dark-soft); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; }
.how-connects-copy { font-weight: 600; color: #F9FAFB; }
.copy-block { max-width: 720px; margin: 0 auto; text-align: left; }
.copy-block .eyebrow { justify-content: center; }
.copy-block p { line-height: 1.7; }
/* Security page: normalise reading paragraphs to the recommended 18px / 1.7 body size (headers and card text unchanged) */
.security-page .copy-block p,
.security-page .page-hero p,
.security-page .container.narrow p { font-size: 18px; line-height: 1.7; }
/* Privacy Policy (and related) links in the security page body: brand purple with a hover */
.security-page .copy-block a,
.security-page .container.narrow p a { color: var(--purple); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; transition: color .2s var(--ease); }
.security-page .copy-block a:hover,
.security-page .container.narrow p a:hover { color: #5A12AD; text-decoration-thickness: 2px; }
/* SaaS solution hero: move the heading + intro + buttons further left (desktop) */
@media (min-width: 761px) {
  .saas-solution .page-hero--photo .container { max-width: none; padding-left: clamp(24px, 5vw, 96px); }
}
/* ---------- Legal / policy tables ---------- */
.legal-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.2em 0 1.6em; border: 1px solid var(--line); border-radius: 10px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .9rem; line-height: 1.5; }
.legal-table th, .legal-table td { padding: .7em .9em; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.legal-table th:last-child, .legal-table td:last-child { border-right: 0; }
.legal-table thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; border-right-color: rgba(255,255,255,0.18); }
.legal-table tbody tr:nth-child(even) { background: rgba(29,53,87,0.04); }
.legal-table tbody tr:last-child td { border-bottom: 0; }
.legal-table td { color: var(--ink-soft); }
.grid { display: grid; gap: 24px; }
@media (min-width: 720px){ .grid-2 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 880px){ .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }
.stack > * + * { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  font-family: var(--font-body); font-weight: 500; font-size: .95rem;
  padding: .85em 1.5em; border-radius: 999px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--lime); color: var(--ink); box-shadow: 0 10px 26px rgba(163,230,53,.35); font-weight: 700; }
.btn-primary .arrow { font-weight: 700; }
.btn-primary:hover { background: var(--sand); box-shadow: 0 16px 34px rgba(233,196,106,.50); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: rgba(124,26,237,.08); color: var(--purple); border: 1.5px solid var(--purple); }
.btn-outline { border: 3px solid var(--slate); color: var(--ink); }
.btn-outline:hover { border-color: var(--purple); color: var(--purple); }
.see-connect-cta { background: #A3E635; border-color: #A3E635; color: var(--ink); }
.btn-on-dark { background: #fff; color: var(--navy); }
.btn-outline-on-dark { border: 3px solid #F9FAFB; color: #fff; font-weight: 600; }
.btn-outline-on-dark:hover { background: rgba(255,255,255,.08); }
.btn-lg { padding: 1.05em 2em; font-size: 1.02rem; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: .55em; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -.02em; flex: 0 0 auto; white-space: nowrap; }
.brand-text { display: flex; flex-direction: column; gap: 1px; white-space: nowrap; }
.brand-name { line-height: 1.1; white-space: nowrap; }
.brand-sub { font-size: .6rem; font-weight: 500; letter-spacing: .01em; color: var(--ink-soft); white-space: nowrap; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 10px;
  display: block; flex-shrink: 0;
}
.nav-links { display: none; align-items: center; gap: 18px; flex-shrink: 0; }
.nav-links a { font-size: .92rem; color: var(--ink-soft); transition: color .15s; position: relative; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-actions { display: none; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-actions .btn-primary { padding: .85em 1.8em; }
.nav-actions .signin { font-size: .92rem; color: var(--ink-soft); white-space: nowrap; }
.nav-actions .signin:hover { color: var(--ink); }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* Dropdown (products mega) */
.has-menu { position: relative; }
.menu-btn { display: inline-flex; align-items: center; gap: 5px; font-size: .92rem; color: var(--ink-soft); }
.menu-btn:hover { color: var(--ink); }
.menu-btn .chev { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(680px, 88vw); background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 22px; opacity: 0; visibility: hidden; transition: .2s var(--ease);
}
.has-menu:hover .mega, .has-menu:focus-within .mega, .has-menu.open .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mega-label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin: 6px 8px 8px; }
.mega-item { display: flex; gap: 12px; padding: 10px; border-radius: 12px; transition: background .15s; }
.mega-item:hover { background: var(--pale-blue); }
.mega-item .ico { width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--font-head); }
.mega-item b { font-family: var(--font-head); font-size: .92rem; color: var(--ink); display: block; }
.mega-item span { font-size: .76rem; color: var(--ink-soft); }

/* Mobile menu panel */
.mobile-menu { display: none; padding: 16px 24px 28px; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1rem; }
/* Top-level direct links (Agencies, Pricing) match the dropdown headers' bold head font */
.mobile-menu > a { padding: 14px 4px; font-family: var(--font-head); font-weight: 700; }
.mobile-menu .m-actions { margin-top: 18px; display: grid; gap: 10px; }

@media (min-width: 1000px){
  .nav-links, .nav-actions { display: flex; }
  .nav-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad-ink); color: var(--text-on-dark); padding: clamp(72px,11vw,140px) 0 clamp(64px,9vw,120px); }
.hero h1 { color: #fff; max-width: 14ch; }
.hero p { color: var(--text-on-dark-soft); }
.hero .eyebrow { color: var(--cyan); }
.hero .eyebrow::before { background: var(--cyan); }
#how .eyebrow::before { background: #F9FAFB; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 940px){ .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero-trust { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 22px; font-size: .82rem; color: var(--text-on-dark-soft); }
.hero-trust span { display: inline-flex; align-items: center; gap: .5em; }
.hero-trust .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
/* decorative geometric blobs */
.hero .blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .9; z-index: 0; }
.hero .b1 { width: 230px; height: 230px; background: radial-gradient(circle at 30% 30%, var(--purple), transparent 70%); top: -40px; right: 8%; }
.hero .b2 { width: 180px; height: 180px; background: radial-gradient(circle at 30% 30%, var(--cyan), transparent 70%); bottom: -30px; left: -40px; }
.hero .b3 { width: 120px; height: 120px; background: radial-gradient(circle at 30% 30%, var(--pink), transparent 70%); top: 40%; right: 38%; }
.hero .container { position: relative; z-index: 1; }

/* Ecosystem orbit visual (hero side) */
.orbit { position: relative; aspect-ratio: 1; max-width: 440px; margin: 0 auto; }
.orbit .ring { position: absolute; inset: 8%; border: 1px dashed rgba(255,255,255,.18); border-radius: 50%; }
.orbit .ring.r2 { inset: 22%; }
.orbit-core {
  position: absolute; inset: 36%; border-radius: 24px; background: var(--grad-brand);
  display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-size: 1rem; text-align: center;
  box-shadow: 0 20px 60px rgba(124,26,237,.5);
}
.orbit-node {
  position: absolute; width: 64px; height: 64px; border-radius: 16px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: .72rem; color: #fff;
  transform: translate(-50%,-50%);
}
.orbit-node small { display:block; font-weight:600; opacity:.7; font-size:.6rem; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid rgba(213, 220, 235, .92);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow:
    0 18px 46px rgba(16, 32, 72, .11),
    0 6px 16px rgba(16, 32, 72, .07),
    0 1px 0 rgba(255, 255, 255, .86) inset;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 26px 64px rgba(16, 32, 72, .16),
    0 10px 24px rgba(16, 32, 72, .09),
    0 1px 0 rgba(255, 255, 255, .9) inset;
  border-color: rgba(124, 26, 237, .18);
}
.card .ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 800; margin-bottom: 18px; font-size: 1rem; box-shadow: 0 14px 28px rgba(16, 32, 72, .16); }
.card h3 { margin-bottom: 8px; min-height: 2.6em; }
.card p { font-size: .94rem; }
.section--ink .card h3 { color: var(--ink); }
.section--ink .card p { color: var(--ink-soft); }
.why-grid .card h3 { min-height: 0; }
.why-grid .card p { max-width: 46ch; }
@media (min-width: 720px){ .why-grid .card h3 { white-space: nowrap; } }
.card .card-link { margin-top: 16px; display: inline-flex; align-items: center; gap: .4em; font-size: .88rem; color: var(--purple); font-weight: 500; }
.card .card-link .arrow { transition: transform .2s var(--ease); }
.card:hover .card-link .arrow { transform: translateX(3px); }

/* Product card with status */
.prod-card { display: flex; flex-direction: column; }
.badge { display: inline-flex; align-items: center; gap: .4em; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .35em .7em; border-radius: 999px; }
.badge--now { background: rgba(163,230,53,.18); color: #4d7c0f; }
.badge--soon { background: rgba(124,26,237,.12); color: var(--purple); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.prod-card .prod-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; min-height: 50px; }
.prod-card .card-link { margin-top: auto; padding-top: 18px; }

/* Capability cards (Under the hood) — equal height, CTA pinned to the bottom */
.cap-card { display: flex; flex-direction: column; }
.cap-card .card-link { margin-top: auto; padding-top: 18px; }

/* Feature / value list */
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.section--ink .ticks li { color: var(--text-on-dark); }
.ticks li::before { content: ""; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: rgba(163,230,53,.2); background-image: url("data:image/svg+xml,%3Csvg%20width%3D%22430%22%20height%3D%22470%22%20viewBox%3D%220%200%20430%20470%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%3E%3Cg%20stroke%3D%22%237C1AED%22%20stroke-opacity%3D%22.28%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M0%2047L27%200h54l27%2047-27%2047H27z%22%2F%3E%3Cpath%20d%3D%22M81%2047L108%200h54l27%2047-27%2047H108z%22%2F%3E%3Cpath%20d%3D%22M162%2047L189%200h54l27%2047-27%2047H189z%22%2F%3E%3Cpath%20d%3D%22M243%2047L270%200h54l27%2047-27%2047H270z%22%2F%3E%3Cpath%20d%3D%22M324%2047L351%200h54l27%2047-27%2047H351z%22%2F%3E%3Cpath%20d%3D%22M405%2047L432%200h54l27%2047-27%2047H432z%22%2F%3E%3Cpath%20d%3D%22M-40.5%2094L-13.5%2047h54l27%2047-27%2047H-13.5z%22%2F%3E%3Cpath%20d%3D%22M40.5%2094L67.5%2047h54l27%2047-27%2047H67.5z%22%2F%3E%3Cpath%20d%3D%22M121.5%2094L148.5%2047h54l27%2047-27%2047H148.5z%22%2F%3E%3Cpath%20d%3D%22M202.5%2094L229.5%2047h54l27%2047-27%2047H229.5z%22%2F%3E%3Cpath%20d%3D%22M283.5%2094L310.5%2047h54l27%2047-27%2047H310.5z%22%2F%3E%3Cpath%20d%3D%22M364.5%2094L391.5%2047h54l27%2047-27%2047H391.5z%22%2F%3E%3Cpath%20d%3D%22M0%20141L27%2094h54l27%2047-27%2047H27z%22%2F%3E%3Cpath%20d%3D%22M81%20141L108%2094h54l27%2047-27%2047H108z%22%2F%3E%3Cpath%20d%3D%22M162%20141L189%2094h54l27%2047-27%2047H189z%22%2F%3E%3Cpath%20d%3D%22M243%20141L270%2094h54l27%2047-27%2047H270z%22%2F%3E%3Cpath%20d%3D%22M324%20141L351%2094h54l27%2047-27%2047H351z%22%2F%3E%3Cpath%20d%3D%22M405%20141L432%2094h54l27%2047-27%2047H432z%22%2F%3E%3Cpath%20d%3D%22M-40.5%20188L-13.5%20141h54l27%2047-27%2047H-13.5z%22%2F%3E%3Cpath%20d%3D%22M40.5%20188L67.5%20141h54l27%2047-27%2047H67.5z%22%2F%3E%3Cpath%20d%3D%22M121.5%20188L148.5%20141h54l27%2047-27%2047H148.5z%22%2F%3E%3Cpath%20d%3D%22M202.5%20188L229.5%20141h54l27%2047-27%2047H229.5z%22%2F%3E%3Cpath%20d%3D%22M283.5%20188L310.5%20141h54l27%2047-27%2047H310.5z%22%2F%3E%3Cpath%20d%3D%22M364.5%20188L391.5%20141h54l27%2047-27%2047H391.5z%22%2F%3E%3Cpath%20d%3D%22M0%20235L27%20188h54l27%2047-27%2047H27z%22%2F%3E%3Cpath%20d%3D%22M81%20235L108%20188h54l27%2047-27%2047H108z%22%2F%3E%3Cpath%20d%3D%22M162%20235L189%20188h54l27%2047-27%2047H189z%22%2F%3E%3Cpath%20d%3D%22M243%20235L270%20188h54l27%2047-27%2047H270z%22%2F%3E%3Cpath%20d%3D%22M324%20235L351%20188h54l27%2047-27%2047H351z%22%2F%3E%3Cpath%20d%3D%22M405%20235L432%20188h54l27%2047-27%2047H432z%22%2F%3E%3Cpath%20d%3D%22M-40.5%20282L-13.5%20235h54l27%2047-27%2047H-13.5z%22%2F%3E%3Cpath%20d%3D%22M40.5%20282L67.5%20235h54l27%2047-27%2047H67.5z%22%2F%3E%3Cpath%20d%3D%22M121.5%20282L148.5%20235h54l27%2047-27%2047H148.5z%22%2F%3E%3Cpath%20d%3D%22M202.5%20282L229.5%20235h54l27%2047-27%2047H229.5z%22%2F%3E%3Cpath%20d%3D%22M283.5%20282L310.5%20235h54l27%2047-27%2047H310.5z%22%2F%3E%3Cpath%20d%3D%22M364.5%20282L391.5%20235h54l27%2047-27%2047H391.5z%22%2F%3E%3Cpath%20d%3D%22M0%20329L27%20282h54l27%2047-27%2047H27z%22%2F%3E%3Cpath%20d%3D%22M81%20329L108%20282h54l27%2047-27%2047H108z%22%2F%3E%3Cpath%20d%3D%22M162%20329L189%20282h54l27%2047-27%2047H189z%22%2F%3E%3Cpath%20d%3D%22M243%20329L270%20282h54l27%2047-27%2047H270z%22%2F%3E%3Cpath%20d%3D%22M324%20329L351%20282h54l27%2047-27%2047H351z%22%2F%3E%3Cpath%20d%3D%22M405%20329L432%20282h54l27%2047-27%2047H432z%22%2F%3E%3Cpath%20d%3D%22M-40.5%20376L-13.5%20329h54l27%2047-27%2047H-13.5z%22%2F%3E%3Cpath%20d%3D%22M40.5%20376L67.5%20329h54l27%2047-27%2047H67.5z%22%2F%3E%3Cpath%20d%3D%22M121.5%20376L148.5%20329h54l27%2047-27%2047H148.5z%22%2F%3E%3Cpath%20d%3D%22M202.5%20376L229.5%20329h54l27%2047-27%2047H229.5z%22%2F%3E%3Cpath%20d%3D%22M283.5%20376L310.5%20329h54l27%2047-27%2047H310.5z%22%2F%3E%3Cpath%20d%3D%22M364.5%20376L391.5%20329h54l27%2047-27%2047H391.5z%22%2F%3E%3Cpath%20d%3D%22M0%20423L27%20376h54l27%2047-27%2047H27z%22%2F%3E%3Cpath%20d%3D%22M81%20423L108%20376h54l27%2047-27%2047H108z%22%2F%3E%3Cpath%20d%3D%22M162%20423L189%20376h54l27%2047-27%2047H189z%22%2F%3E%3Cpath%20d%3D%22M243%20423L270%20376h54l27%2047-27%2047H270z%22%2F%3E%3Cpath%20d%3D%22M324%20423L351%20376h54l27%2047-27%2047H351z%22%2F%3E%3Cpath%20d%3D%22M405%20423L432%20376h54l27%2047-27%2047H432z%22%2F%3E%3C%2Fg%3E%3Cg%20stroke%3D%22%230FF0FC%22%20stroke-opacity%3D%22.16%22%20stroke-width%3D%221.6%22%3E%3Cpath%20d%3D%22M0%2047L27%200h54l27%2047-27%2047H27z%22%2F%3E%3Cpath%20d%3D%22M243%2047L270%200h54l27%2047-27%2047H270z%22%2F%3E%3Cpath%20d%3D%22M-40.5%2094L-13.5%2047h54l27%2047-27%2047H-13.5z%22%2F%3E%3Cpath%20d%3D%22M202.5%2094L229.5%2047h54l27%2047-27%2047H229.5z%22%2F%3E%3Cpath%20d%3D%22M0%20141L27%2094h54l27%2047-27%2047H27z%22%2F%3E%3Cpath%20d%3D%22M243%20141L270%2094h54l27%2047-27%2047H270z%22%2F%3E%3Cpath%20d%3D%22M-40.5%20188L-13.5%20141h54l27%2047-27%2047H-13.5z%22%2F%3E%3Cpath%20d%3D%22M202.5%20188L229.5%20141h54l27%2047-27%2047H229.5z%22%2F%3E%3Cpath%20d%3D%22M0%20235L27%20188h54l27%2047-27%2047H27z%22%2F%3E%3Cpath%20d%3D%22M243%20235L270%20188h54l27%2047-27%2047H270z%22%2F%3E%3Cpath%20d%3D%22M-40.5%20282L-13.5%20235h54l27%2047-27%2047H-13.5z%22%2F%3E%3Cpath%20d%3D%22M202.5%20282L229.5%20235h54l27%2047-27%2047H229.5z%22%2F%3E%3Cpath%20d%3D%22M0%20329L27%20282h54l27%2047-27%2047H27z%22%2F%3E%3Cpath%20d%3D%22M243%20329L270%20282h54l27%2047-27%2047H270z%22%2F%3E%3Cpath%20d%3D%22M-40.5%20376L-13.5%20329h54l27%2047-27%2047H-13.5z%22%2F%3E%3Cpath%20d%3D%22M202.5%20376L229.5%20329h54l27%2047-27%2047H229.5z%22%2F%3E%3Cpath%20d%3D%22M0%20423L27%20376h54l27%2047-27%2047H27z%22%2F%3E%3Cpath%20d%3D%22M243%20423L270%20376h54l27%2047-27%2047H270z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E"); background-repeat: no-repeat; background-position: center; margin-top: 1px; }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 24px; text-align: center; }
@media (min-width:680px){ .stats { grid-template-columns: repeat(3,1fr); } }
.stat .num { font-family: var(--font-display); font-size: clamp(2rem,4vw,3rem); background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .lbl { font-size: .85rem; color: var(--ink-soft); }
.section--ink .stat .lbl { color: var(--text-on-dark-soft); }

/* ---------- Hyperframe placeholder (pending Impeccable-generated graphic) ---------- */
.hf-placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  aspect-ratio: 16 / 9; width: 100%; border-radius: var(--radius);
  border: 2px dashed rgba(124, 26, 237, .4); background: var(--bg-tint);
  font-family: var(--font-body); font-size: .82rem; color: var(--ink-soft); padding: 16px;
}
.section--ink .hf-placeholder { background: rgba(255,255,255,.06); border-color: rgba(15,240,252,.4); color: var(--text-on-dark-soft); }

/* ---------- Languages band (solutions pages) ---------- */
.lang-band { background: var(--grad-cool); border-radius: var(--radius-lg); padding: clamp(32px,5vw,56px); color: #fff; position: relative; overflow: hidden; }
.lang-band h2 { color: #fff; }
.lang-band p { color: rgba(255,255,255,.92); max-width: 60ch; }
.lang-band .eyebrow { color: #fff; }
.lang-band .eyebrow::before { background: #fff; }
.lang-chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.lang-chip { display: inline-flex; align-items: center; gap: .55em; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); color: #fff; font-weight: 600; font-size: .95rem; padding: 10px 16px; border-radius: 999px; }
.lang-flag { font-size: 1.15rem; line-height: 1; }
.lang-note { font-size: .9rem; color: rgba(255,255,255,.85); margin: 0; }

/* ---------- Steps / how it connects ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width:880px){ .steps { grid-template-columns: repeat(4,1fr); } }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); }
.step .n { counter-increment: step; font-family: var(--font-display); font-size: 1.1rem; width: 40px; height: 40px; border-radius: 12px; background: var(--grad-cool); display: grid; place-items: center; color: #fff; margin-bottom: 14px; }
.step .n::before { content: counter(step); }
.step h3 { color: #fff; font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: .88rem; color: var(--text-on-dark-soft); }
/* How-it-connects cards: pale-blue boxes with dark-blue text (brand palette) */
.steps .step { background: var(--pale-blue); border-color: rgba(29,53,87,.14); }
.steps .step h3 { color: var(--navy); }
.steps .step p { color: rgba(29,53,87,.82); }

/* ---------- Audience tabs ---------- */
.aud-grid { display: grid; gap: 20px; }
@media (min-width:760px){ .aud-grid { grid-template-columns: repeat(2,1fr);} }
@media (min-width:1040px){ .aud-grid { grid-template-columns: repeat(4,1fr);} }
.aud { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.aud:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.aud .tag { display: block; min-height: 2.3em; font-size: 1rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--purple); line-height: 1.3; }
.aud h3 { font-size: 1.15rem; margin: 8px 0 10px; }
.aud p { font-size: .9rem; }
.aud .pain { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .85rem; color: var(--slate); font-style: italic; }
/* Homepage audience grid: 3 across, with the italic quotes aligned to the card bottom */
@media (min-width:1040px){ .aud-grid--3 { grid-template-columns: repeat(3,1fr); } }
.aud-grid--3 .aud { display: flex; flex-direction: column; }
.aud-grid--3 .aud .pain { margin-top: auto; }

/* ---------- Testimonials / proof ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.quote p { font-size: 1.02rem; color: var(--ink); font-style: italic; }
.quote .who { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.quote .av { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-cool); }
.quote .who b { font-family: var(--font-head); font-size: .9rem; display: block; }
.quote .who span { font-size: .8rem; color: var(--slate); }
.proof-note { font-size: .78rem; color: var(--slate); text-align: center; margin-top: 22px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .inner { background: var(--grad-brand); border-radius: var(--radius-lg); padding: clamp(40px,6vw,72px) 28px; color: #fff; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; max-width: 18ch; margin: 0 auto; }
.cta-band p { color: rgba(255,255,255,.9); margin: 14px auto 28px; max-width: 50ch; }
.cta-band--no-sub .cta-actions { margin-top: 32px; }
.cta-band .btn-on-dark { background: #fff; color: var(--purple); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 64px 0 32px; }
.site-footer a { color: #fff; font-size: .9rem; font-weight: 500; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width:760px){ .foot-grid { grid-template-columns: 1.6fr repeat(3,1fr); } }
.foot-brand .brand { color: #fff; }
.foot-brand p { color: #fff; font-size: .88rem; margin-top: 14px; max-width: 34ch; }
.foot-col h4 { font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.foot-col li { margin-bottom: 9px; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: .8rem; color: #fff; }
.foot-social { display: flex; gap: 14px; }
.foot-social a { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.06); display: grid; place-items: center; }
.foot-social a:hover { background: var(--purple); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field-label { font-size: .82rem; font-weight: 500; color: var(--ink); }
.required-mark { color: #dc2626; font-style: normal; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .95rem; padding: .8em 1em; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(124,26,237,.12); }
.field textarea { resize: vertical; min-height: 120px; }
.product-choice-list { display: grid; gap: 8px; padding: .85em 1em; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.product-choice { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; line-height: 1.35; cursor: pointer; }
.product-choice input { width: auto; flex: 0 0 auto; margin-top: 2px; }
.product-choice span { color: var(--ink); }
.form-row { display: grid; gap: 16px; }
@media (min-width:560px){ .form-row { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: .78rem; color: var(--slate); }
.form-status { font-size: .9rem; padding: .8em 1em; border-radius: var(--radius-sm); display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(163,230,53,.15); color: #4d7c0f; }
.form-status.err { background: rgba(255,107,107,.15); color: #c0392b; }

/* ---------- Pricing ---------- */
.toggle { display: inline-flex; background: var(--pale-blue); border-radius: 999px; padding: 5px; gap: 4px; }
.toggle button { padding: .5em 1.1em; border-radius: 999px; font-size: .85rem; color: var(--ink-soft); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.toggle button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.toggle .save { font-size: .68rem; font-weight: 700; color: #2f7a32; background: rgba(74,160,80,.16); padding: 2px 7px; border-radius: 999px; }
.pricing-page-controls {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-top: 24px; padding: 8px 10px 8px 16px; border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: 0 18px 50px rgba(0,0,0,.16);
}
.pricing-page-controls > span {
  color: rgba(255,255,255,.76); font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.pricing-page-controls .toggle { background: rgba(255,255,255,.12); }
.pricing-page-controls .toggle button { color: rgba(255,255,255,.82); }
.pricing-page-controls .toggle button.active { background: #fff; color: var(--ink); }
@media (max-width: 520px) {
  .pricing-page-controls { border-radius: var(--radius); padding: 12px; }
  .pricing-page-controls .toggle { width: 100%; }
  .pricing-page-controls .toggle button { flex: 1; justify-content: center; }
}

.pricing-pick-groups { display: grid; gap: 28px; }
.pricing-pick-group { display: grid; gap: 14px; }
.pricing-pick-group-head {
  display: grid; gap: 6px; justify-items: center; text-align: center;
  padding: 0 4px;
}
.pricing-pick-group-head h3 { font-size: 1.18rem; letter-spacing: 0; }
.pricing-pick-group-head p { font-size: .84rem; max-width: 52ch; text-align: center; }
.pricing-picker-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 12px; align-items: start;
}
@media (min-width: 640px){ .pricing-picker-grid { grid-template-columns: repeat(3,1fr); } }
.pricing-pick {
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.pricing-pick[open] {
  grid-column: 1 / -1; border-radius: var(--radius-lg); border-color: rgba(124,26,237,.28);
  box-shadow: var(--shadow);
}
.pricing-pick summary {
  list-style: none; cursor: pointer; min-height: 58px;
  display: grid; grid-template-columns: 42px 1fr 18px; align-items: center; gap: 10px;
  padding: 8px 14px;
}
.pricing-pick summary::-webkit-details-marker { display: none; }
.pricing-pick[open] summary { border-bottom: 1px solid var(--line); }
.pricing-pick-icon {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1rem;
}
.pricing-pick-text b { display: block; font-family: var(--font-head); font-size: .96rem; line-height: 1.15; }
.pricing-pick-text small {
  display: block; margin-top: 2px; font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--purple); font-weight: 700;
}
.pricing-pick-mark {
  width: 16px; height: 16px; position: relative; color: var(--purple);
}
.pricing-pick-mark::before,
.pricing-pick-mark::after {
  content: ""; position: absolute; background: currentColor; border-radius: 2px;
}
.pricing-pick-mark::before { width: 16px; height: 2px; top: 7px; left: 0; }
.pricing-pick-mark::after { width: 2px; height: 16px; top: 0; left: 7px; }
.pricing-pick[open] .pricing-pick-mark::after { transform: scaleY(0); }
.pricing-pick-panel {
  display: grid; gap: 24px; padding: clamp(20px,3vw,30px);
}
@media (min-width: 840px){ .pricing-pick-panel { grid-template-columns: 1.2fr .8fr; align-items: start; } }
.pricing-pick-kicker {
  display: inline-flex; margin-bottom: 10px; color: var(--purple); font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; font-weight: 800;
}
.pricing-pick-copy h3 { font-size: clamp(1.35rem,2.4vw,1.9rem); letter-spacing: 0; margin-bottom: 10px; }
.pricing-pick-copy p { max-width: 62ch; }
.pricing-pick-copy .mini-list { margin-top: 18px; }
.pricing-pick-package {
  display: grid; gap: 14px; background: var(--soft-white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
}
.pricing-package-label {
  font-size: .72rem !important; letter-spacing: .1em; text-transform: uppercase;
  color: var(--slate); font-weight: 700; margin: 0;
}
.pricing-pick-package .btn { width: 100%; }
.pricing-pick-package .bundle-products { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.bundle-chip {
  display: inline-flex; align-items: center; gap: 7px; min-height: 34px;
  padding: .35em .75em; border: 1px solid var(--line); border-radius: 999px;
  background: var(--soft-white); color: var(--ink); font-size: .8rem;
}
.bundle-chip i {
  width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center;
  color: #fff; font-family: var(--font-head); font-style: normal; font-size: .55rem; font-weight: 800;
}
.bundle-chip small {
  margin-left: 2px; padding: 1px 6px; border-radius: 999px;
  background: rgba(163,230,53,.2); color: #4d7c0f; font-size: .62rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
}
.pricing-pick-package .bundle-price { display: flex; align-items: baseline; gap: 6px; padding-top: 2px; margin: 0; }
.pricing-pick-package .bundle-price span { color: var(--slate); font-size: .78rem; }
.pricing-pick-package .bundle-price strong { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--ink); }
.bundle-note {
  padding-top: 12px; border-top: 1px dashed var(--line);
  color: var(--slate); font-size: .8rem !important; line-height: 1.5;
}

.pricing-core-grid { display: grid; gap: 22px; max-width: 980px; margin: 0 auto; }
@media (min-width: 860px){ .pricing-core-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.pricing-core-card {
  display: grid; grid-template-rows: auto auto auto auto 1fr auto; gap: 14px;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px,3vw,34px); box-shadow: var(--shadow-sm); min-height: 100%;
}
.pricing-core-card h3 { font-size: clamp(1.2rem,1.5vw,1.45rem); letter-spacing: 0; }
.pricing-core-card p { font-size: .95rem; }
@media (min-width: 1080px) {
  .pricing-core-card { grid-template-rows: auto auto 76px auto 1fr auto; }
}
.pricing-core-card .btn { width: 100%; padding-left: 1em; padding-right: 1em; white-space: normal; }
.pricing-start-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.pricing-start-label {
  font-size: .7rem; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase;
  color: var(--purple); font-weight: 700; text-align: right;
}
.pricing-start-price { display: flex; align-items: baseline; gap: 6px; }
.pricing-start-price span { font-size: .78rem; color: var(--slate); }
.pricing-start-price strong {
  font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--ink);
}
.mini-list { display: grid; gap: 8px; margin: 2px 0 4px; }
.mini-list li { display: flex; gap: 9px; align-items: flex-start; font-size: .82rem; color: var(--ink-soft); line-height: 1.45; }
.mini-list li::before {
  content: ""; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%;
  margin-top: .55em; background: var(--lime); box-shadow: 0 0 0 4px rgba(163,230,53,.16);
}

/* Plan builder */
.pricing-builder-section { background: var(--soft-white); }
.builder-billing { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.pricing-assistant-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--soft-white) 100%);
  padding: clamp(34px,5vw,70px) 0;
}
.pricing-assistant {
  display: grid; gap: 22px; align-items: stretch;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px,3vw,34px); margin: 0 auto 26px; max-width: 980px;
  box-shadow: var(--shadow-sm);
}
.pricing-assistant--hero {
  gap: clamp(26px,4vw,54px); max-width: 1180px; min-height: clamp(710px,81vw,945px);
  padding: clamp(28px,4vw,54px); box-shadow: var(--shadow-lg);
}
@media (min-width: 900px){ .pricing-assistant { grid-template-columns: .9fr 1.1fr; } }
.pricing-assistant-copy { display: flex; gap: 18px; align-items: flex-start; }
.pricing-assistant-copy .step {
  width: 56px; height: 56px; flex: 0 0 auto; border-radius: 14px;
  background: linear-gradient(145deg,#3B4FE4,var(--purple));
  color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 1.15rem;
  line-height: 1; letter-spacing: 0; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 28px rgba(124,26,237,.32);
}
.pricing-assistant-copy .eyebrow { font-size: .68rem; margin-bottom: 8px; }
.pricing-assistant-copy .eyebrow::before { width: 16px; }
.pricing-assistant-copy h2,
.pricing-assistant-copy h3 { font-size: clamp(1.75rem,3.4vw,3.15rem); letter-spacing: 0; margin-bottom: 18px; max-width: 12ch; }
.pricing-assistant-copy p:last-child { font-size: clamp(.98rem,1.25vw,1.15rem); max-width: 48ch; }
.pricing-assistant-chat {
  display: flex; flex-direction: column; gap: 12px; min-width: 0; height: 100%;
  font-family: "Atkinson Hyperlegible", "Lexend", "Manrope", var(--font-body), sans-serif;
  letter-spacing: 0;
}
.pricing-assistant-toolbar { display: flex; justify-content: flex-end; align-items: center; min-height: 36px; }
.pricing-assistant-toolbar .btn-sm { min-height: 36px; padding: 8px 14px; font-size: .78rem; }
.pricing-assistant-messages {
  display: grid; gap: 12px; align-content: start; flex: 0 0 auto; height: clamp(468px,61.5vh,684px);
  overflow-y: auto; overflow-x: hidden; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--soft-white);
  scrollbar-gutter: stable;
}
.pa-message {
  width: 100%; max-width: 100%; padding: 12px 14px; border-radius: 14px; font-size: .96rem;
  line-height: 1.56; color: var(--ink); background: #fff; border: 1px solid var(--line);
  white-space: pre-line;
}
.pa-message.assistant { justify-self: start; }
.pa-message.user { justify-self: end; width: auto; max-width: 88%; background: rgba(124,26,237,.08); border-color: rgba(124,26,237,.22); }
.pricing-assistant-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
@media (max-width: 620px){ .pricing-assistant-form { grid-template-columns: 1fr; } }
.pricing-assistant-form textarea {
  width: 100%; resize: vertical; min-height: 82px; border: 1.5px solid var(--line);
  border-radius: 14px; padding: 12px 14px; color: var(--ink); background: #fff;
  font: inherit; line-height: 1.5; letter-spacing: 0;
}
.pricing-assistant-form textarea:focus { outline: none; border-color: rgba(124,26,237,.55); box-shadow: 0 0 0 4px rgba(124,26,237,.08); }
.pricing-assistant-form.loading { opacity: .72; pointer-events: none; }
.pa-powered-by {
  display: flex; align-items: center; gap: 6px; justify-content: flex-start;
  grid-column: 1 / -1; align-self: end; justify-self: start;
  margin-top: -8px; color: var(--ink-soft, #6b7280); font-size: 10pt; line-height: 1;
}
.pa-powered-by-logo { width: 20px; height: 20px; border-radius: 5px; flex: 0 0 auto; }
@media (max-width: 700px){
  .pricing-assistant-copy { flex-direction: column; }
  .pricing-assistant-copy h2,
  .pricing-assistant-copy h3 { max-width: none; }
  .pricing-assistant--hero { min-height: 0; }
  .pricing-assistant-messages { height: 468px; }
}
.builder { display: grid; gap: 26px; align-items: start; }
.builder.builder-shell--active .plan-panel {
  border-color: rgba(124,26,237,.45);
  box-shadow: 0 0 0 5px rgba(124,26,237,.08), var(--shadow);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
@media (min-width: 920px){ .builder { grid-template-columns: 1fr 1fr; } }
.panel { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px,3vw,32px); }
.panel-head { display: flex; align-items: center; gap: 12px; }
.panel-head h2 { font-size: clamp(1.3rem,2.4vw,1.7rem); }
.panel .step {
  width: 42px; height: 42px; flex: 0 0 auto; position: relative;
  border-radius: 11px;
  background: linear-gradient(145deg,#3B4FE4,var(--purple));
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0;
  display: flex; align-items: center; justify-content: center; line-height: 1; text-align: center;
  box-shadow: 0 8px 20px rgba(124,26,237,.32), inset 0 0 0 1px rgba(255,255,255,.28);
}
.panel .step::before {
  content: ''; position: absolute; inset: -5px;
  border: 1px solid rgba(124,26,237,.22);
  border-radius: 14px;
  pointer-events: none;
}
.panel .step::after {
  content: ''; position: absolute; top: -5px; left: -5px;
  width: 7px; height: 7px;
  border-top: 1.5px solid var(--purple);
  border-left: 1.5px solid var(--purple);
  border-radius: 3px 0 0 0;
}
.panel-sub { color: var(--ink-soft); font-size: .9rem; margin-top: 10px; margin-bottom: 22px; }

.pricing-tool-picker-layout { display: grid; gap: 18px; align-items: start; }
@media (min-width: 720px){ .pricing-tool-picker-layout { grid-template-columns: 142px minmax(0,1fr); } }
.pricing-quick-picks {
  display: grid; gap: 28px; padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px){
  .pricing-quick-picks { position: sticky; top: 102px; padding: 2px 16px 0 0; border-bottom: 0; border-right: 1px solid var(--line); }
}
.pricing-quick-group { display: grid; justify-items: start; gap: 14px; }
.pricing-quick-group h3 {
  font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 2px;
}
.pricing-quick-group button {
  color: var(--ink); font-family: var(--font-head); font-size: .94rem; font-weight: 700;
  line-height: 1.25; text-align: left; border-radius: 8px; padding: 4px 0;
  transition: color .15s var(--ease), transform .15s var(--ease);
}
.pricing-quick-group button:hover { color: var(--purple); transform: translateX(2px); }
.pricing-quick-group button:focus-visible {
  outline: 2px solid rgba(124,26,237,.35); outline-offset: 3px;
}

/* Tool palette */
.tool-list { display: grid; gap: 14px; }
.tool { display: grid; grid-template-columns: 48px minmax(0,1fr) auto auto; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; cursor: grab; transition: border-color .15s, box-shadow .15s, transform .1s, opacity .15s; }
.tool:hover { border-color: rgba(124,26,237,.4); box-shadow: var(--shadow-sm); }
.tool:active { cursor: grabbing; }
.tool.dragging { opacity: .45; }
.tool.added { border-color: var(--purple); background: rgba(124,26,237,.04); }
.tool-unavailable { cursor: default; background: var(--pale-blue); }
.tool-unavailable:hover { border-color: var(--line); box-shadow: none; transform: none; }
.tool-unavailable .tool-open { border-color: rgba(124,26,237,.24); color: var(--purple); }
.tool-ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .82rem; flex: 0 0 auto; }
.tool-meta { flex: 1; min-width: 0; }
.tool-meta b { font-family: var(--font-head); display: flex; align-items: center; gap: 8px; font-size: 1rem; white-space: nowrap; }
.tool-meta b + span { font-size: .84rem; color: var(--slate); display: block; }
.tool-soon { font-size: .6rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--purple); background: rgba(124,26,237,.1); padding: 2px 7px; border-radius: 999px; }
.tool-open { flex: 0 0 auto; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft); font-size: .78rem; font-weight: 600; font-family: var(--font-head); transition: all .15s; }
.tool:hover .tool-open { border-color: var(--purple); color: var(--purple); }
.tool-add { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft); font-size: 1.4rem; line-height: 1; display: grid; place-items: center; transition: all .15s; }
.tool:hover .tool-add { border-color: var(--purple); color: var(--purple); }
.tool.added .tool-add { background: var(--purple); border-color: var(--purple); color: #fff; }

/* Drop zone */
.plan-panel { position: sticky; top: 92px; }
.dropzone { border: 2px dashed var(--line); border-radius: var(--radius); min-height: 220px; padding: 16px; margin: 18px 0 22px; transition: border-color .15s, background .15s; display: flex; flex-direction: column; }
.dropzone.over { border-color: var(--purple); background: rgba(124,26,237,.04); }
.drop-empty { margin: auto; text-align: center; color: var(--slate); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px 12px; }
.drop-empty b { font-family: var(--font-head); color: var(--ink); font-size: 1.1rem; }
.drop-empty span { font-size: .86rem; max-width: 240px; }
.drop-grip { display: grid; grid-template-columns: repeat(2,6px); gap: 6px; margin-bottom: 10px; }
.drop-grip i { width: 6px; height: 6px; border-radius: 50%; background: var(--purple); opacity: .55; }
.plan-items { display: grid; gap: 10px; }
.plan-item { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 13px; background: var(--soft-white); border: 1px solid var(--line); animation: planIn .18s var(--ease); }
@keyframes planIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.plan-item .pi-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .68rem; flex: 0 0 auto; }
.plan-item .pi-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.plan-item .pi-name { font-family: var(--font-head); font-weight: 700; font-size: .92rem; }
.plan-item .pi-sub { font-size: .74rem; color: var(--slate); font-weight: 500; margin-top: 1px; }
.plan-item .pi-price { font-weight: 700; font-size: .88rem; color: var(--ink); }
.plan-item .pi-remove { width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%; border: none; background: transparent; color: var(--slate); font-size: 1.2rem; line-height: 1; display: grid; place-items: center; transition: color .15s, background .15s; }
.plan-item .pi-remove:hover { background: rgba(255,107,107,.14); color: var(--coral); }

/* Core read-only tier modal */
.core-modal-overlay { position: fixed; inset: 0; background: rgba(15,18,32,.58); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 210; }
.core-modal-overlay[hidden] { display: none; }
.core-modal { background: #fff; border-radius: var(--radius); width: min(1920px, calc(100vw - 32px)); max-height: 90vh; overflow-y: auto; overflow-x: hidden; padding: 28px; position: relative; box-shadow: 0 30px 80px rgba(16,32,72,.32); }
.core-tier-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)) repeat(2,minmax(0,.92fr)); gap: 14px; align-items: stretch; padding: 2px 4px 12px; overflow: visible; }
.core-tier-card { display: grid; grid-template-rows: auto auto auto auto 1fr auto; gap: 12px; padding: 18px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--soft-white); min-width: 0; overflow: hidden; }
.core-tier-plan-card { grid-row: 1 / span 2; }
.core-tier-card h4 { font-size: 1.05rem; letter-spacing: 0; }
.core-tier-kicker { color: var(--purple); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.core-tier-price { display: flex; align-items: baseline; gap: 5px; color: var(--ink); }
.core-tier-price strong { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.core-tier-price span { color: var(--slate); font-size: .8rem; }
.core-tier-list { display: grid; align-content: start; gap: 8px; margin: 0; padding: 0; list-style: none; }
.core-tier-list li { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-soft); font-size: .8rem; line-height: 1.42; }
.core-tier-list li::before { content: ""; width: 6px; height: 6px; flex: 0 0 auto; margin-top: .55em; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(163,230,53,.14); }
.core-tier-addons { display: grid; gap: 7px; align-self: end; padding-top: 4px; border-top: 1px dashed var(--line); }
.core-tier-addons p { margin: 0; color: var(--slate); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.core-tier-addons span { color: var(--ink-soft); font-size: .76rem; line-height: 1.35; }
.core-tier-actions { display: grid; grid-template-rows: repeat(2, 54px); gap: 9px; align-self: end; }
.core-tier-card .btn { width: 100%; height: 54px; justify-content: center; align-items: center; margin-top: 0; white-space: normal; line-height: 1.12; padding: 0 .9rem; overflow: hidden; }
.core-tier-card .core-sales-cta { background: linear-gradient(135deg,#3B4FE4,var(--purple)); border-color: transparent; color: #fff; box-shadow: 0 14px 28px rgba(124,26,237,.24); }
.core-tier-card .core-sales-cta:hover { filter: brightness(1.03); transform: translateY(-1px); }
.core-overview-heading { grid-column: 5 / 7; grid-row: 1; align-self: start; text-align: center; color: #5f370e; font-family: var(--font-head); font-size: .9rem; font-weight: 800; letter-spacing: 0; padding: 10px 14px; border: 1px solid rgba(245,158,11,.34); border-radius: 999px; background: linear-gradient(135deg,#FEF3C7,#FDE68A); box-shadow: 0 12px 28px rgba(245,158,11,.16); }
.core-overview-card { grid-row: 2; color: #fff; border-color: transparent; }
.core-overview-card h4, .core-overview-card .core-tier-kicker, .core-overview-card .core-tier-list li, .core-overview-card .core-tier-addons p, .core-overview-card .core-tier-addons span { color: inherit; }
.core-overview-card .core-tier-list li::before { background: rgba(255,255,255,.92); box-shadow: 0 0 0 4px rgba(255,255,255,.16); }
.core-overview-card .core-tier-addons { border-top-color: rgba(255,255,255,.28); }
.core-overview-card--build { grid-column: 5; background: linear-gradient(145deg,#7C1AED,#EC4899); }
.core-overview-card--data { grid-column: 6; background: linear-gradient(145deg,#1D3557,#0FF0FC); }
.core-overview-actions { grid-template-rows: 54px; }
.core-tier-card .core-feature-cta { background: #fff; border-color: transparent; color: var(--ink); box-shadow: 0 14px 28px rgba(16,32,72,.18); }
.core-tier-card .core-feature-cta:hover { filter: brightness(1.02); transform: translateY(-1px); }
.core-feature-modal-overlay { position: fixed; inset: 0; background: rgba(15,18,32,.62); display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 230; }
.core-feature-modal-overlay[hidden] { display: none; }
.core-feature-modal { background: #fff; border-radius: var(--radius); width: min(520px, 100%); max-height: 88vh; overflow-y: auto; padding: 28px; position: relative; box-shadow: 0 30px 80px rgba(16,32,72,.34); }
.core-feature-tier-card { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 12px; padding: 20px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--soft-white); }
.core-feature-tier-card h4 { font-size: 1.2rem; letter-spacing: 0; }
@media (max-width: 1180px){
  .core-modal { overflow-x: auto; }
  .core-tier-grid { grid-template-columns: repeat(6,minmax(220px,1fr)); min-width: 1400px; }
}
@media (max-width: 620px){ .core-modal { padding: 24px 18px; }.core-tier-grid { grid-template-columns: repeat(6,minmax(248px,1fr)); min-width: 1580px; } }

/* Tool tier/usage modal */
.tool-modal-overlay { position: fixed; inset: 0; background: rgba(15,18,32,.55); display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 200; }
.tool-modal-overlay[hidden] { display: none; }
.tool-modal { background: #fff; border-radius: var(--radius); max-width: 480px; width: 100%; max-height: 88vh; overflow-y: auto; padding: 28px; position: relative; box-shadow: 0 30px 80px rgba(16,32,72,.3); }
.tool-modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.2rem; line-height: 1; display: grid; place-items: center; color: var(--ink-soft); transition: all .15s; }
.tool-modal-close:hover { border-color: var(--purple); color: var(--purple); }
.tool-modal-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; padding-right: 30px; }
.tool-modal-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .8rem; flex: 0 0 auto; }
.tool-modal-head h3 { font-size: 1.15rem; margin-bottom: 2px; }
.tool-modal-section { margin-bottom: 20px; }
.tool-modal-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); margin-bottom: 10px; }
.tool-modal-tiers { display: grid; gap: 8px; }
.tool-modal-tier { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; background: #fff; width: 100%; text-align: left; }
.tool-modal-tier:hover { border-color: rgba(124,26,237,.4); }
.tool-modal-tier.active { border-color: var(--purple); background: rgba(124,26,237,.05); }
.tool-modal-tier .tmt-name { font-family: var(--font-head); font-weight: 700; font-size: .92rem; }
.tool-modal-tier .tmt-price { font-size: .86rem; color: var(--ink-soft); font-weight: 600; flex: 0 0 auto; }
.tool-modal-preview { padding: 12px 0 4px; }
.tool-modal-preview .mini-list { margin-top: 10px; }
.tool-modal-features { display: grid; gap: 10px; }
.tool-modal-feature { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.tool-modal-feature .tmf-name { font-size: .88rem; color: var(--ink); }
.tool-modal-feature .tmf-name strong { display: block; font-size: .88rem; }
.tool-modal-feature .tmf-name small { display: block; color: var(--slate); font-size: .76rem; font-weight: 500; }
.tool-modal-feature .tmf-name .tmf-total { color: var(--purple); font-weight: 700; margin-top: 2px; }
.tool-modal-stepper { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.tool-modal-stepper button { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 1.1rem; line-height: 1; display: grid; place-items: center; color: var(--ink-soft); transition: all .15s; }
.tool-modal-stepper button:hover:not(:disabled) { border-color: var(--purple); color: var(--purple); }
.tool-modal-stepper button:disabled { opacity: .4; cursor: not-allowed; }
.tool-modal-stepper .tms-qty { min-width: 64px; text-align: center; font-weight: 700; font-size: .88rem; }

/* Checkout details modal */
.checkout-modal-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(15, 23, 42, .58); backdrop-filter: blur(8px); }
.checkout-modal-overlay[hidden] { display: none; }
.checkout-modal { position: relative; width: min(100%, 520px); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 80px rgba(15, 23, 42, .28); padding: 30px; }
.checkout-modal-head h3 { margin: 7px 0 5px; font-family: var(--font-head); font-size: 1.55rem; color: var(--ink); }
.checkout-modal-head p { margin: 0; color: var(--slate); font-size: .9rem; }
.checkout-form { display: grid; gap: 14px; margin-top: 22px; }
.checkout-form label { display: grid; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--ink); }
.checkout-form label span { color: var(--slate); font-weight: 500; }
.checkout-form label .checkout-label { color: var(--ink); font-weight: 700; }
.checkout-form input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font: inherit; color: var(--ink); background: #fff; }
.checkout-form input:focus { outline: 2px solid var(--purple); outline-offset: 1px; border-color: var(--purple); }
.checkout-fields.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-total { display: flex; align-items: baseline; gap: 7px; padding: 14px 16px; border-radius: 12px; background: var(--tint); border: 1px solid var(--line); }
.checkout-total span { color: var(--slate); font-size: .85rem; margin-right: auto; }.checkout-total strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--ink); }.checkout-total small { color: var(--slate); }
.checkout-error { display: none; margin: 0; color: #b42318; font-size: .82rem; }.checkout-error.show { display: block; }
.checkout-consent { display: grid; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--tint); font-size: .82rem; color: var(--slate); }
.checkout-consent > p { margin: 0; }
.checkout-consent a { color: var(--purple); text-decoration: underline; }
.checkout-checkbox { display: flex; align-items: flex-start; gap: 12px; font-size: .82rem; font-weight: 500; color: var(--ink); cursor: pointer; line-height: 1.55; }
.checkout-checkbox input { width: auto; flex: 0 0 auto; margin-top: 4px; }
.checkout-checkbox span { color: var(--ink); }
.checkout-form .btn { width: 100%; justify-content: center; }
@media (max-width: 520px) { .checkout-modal { padding: 24px 20px; border-radius: 16px; }.checkout-fields.two { grid-template-columns: 1fr; } }
.tool-modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.tool-modal-price .big { font-family: var(--font-display); font-size: 1.5rem; }
.tool-modal-price .per { font-size: .8rem; color: var(--slate); }

.plan-subtotal { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; color: var(--ink-soft); padding-top: 18px; border-top: 1px solid var(--line); }
.plan-discount { display: flex; justify-content: space-between; align-items: center; font-size: .86rem; color: #2f7a32; font-weight: 600; margin-top: 8px; }
.plan-total { display: flex; align-items: baseline; gap: 4px; margin-top: 16px; }
.plan-total .big { font-family: var(--font-display); font-size: clamp(2.4rem,6vw,3.1rem); color: var(--ink); line-height: 1; }
.plan-total .per, .plan-subtotal .per { font-size: 1rem; color: var(--slate); font-weight: 500; }
.plan-save { font-size: .84rem; color: #2f7a32; font-weight: 600; margin-top: 8px; }
.plan-cta { width: 100%; margin-top: 22px; background: linear-gradient(145deg,#3B4FE4,var(--purple)); color: #fff; }
.plan-cta:hover { opacity: .92; }
.plan-cta.is-empty { background: #c9d2e6; pointer-events: none; }
.plan-note { text-align: center; font-size: .8rem; color: var(--slate); margin-top: 14px; }

/* Pricing tier table */
.tier-grid { display: grid; gap: 24px; }
@media (min-width:640px){ .tier-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width:1080px){ .tier-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
.tier { display: grid; grid-template-rows: auto auto auto 1fr auto; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; background: #fff; position: relative; }
.tier.featured { border-color: var(--purple); box-shadow: var(--shadow); }
.tier.featured::before { content: "Most popular"; position: absolute; top: -12px; left: 28px; background: var(--grad-brand); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .35em .8em; border-radius: 999px; }
.tier h3 { font-size: 1.3rem; }
.tier .price { font-family: var(--font-display); font-size: 2.6rem; margin: 12px 0 2px; }
.tier .price small { font-size: .9rem; font-family: var(--font-body); color: var(--slate); font-weight: 400; }
.tier .desc { font-size: .88rem; color: var(--ink-soft); margin-bottom: 20px; }
.tier .ticks { align-content: start; margin: 20px 0; }
.tier .btn { width: 100%; align-self: end; min-height: 54px; display: inline-flex; align-items: center; justify-content: center; }

/* Suggested bundles (pricing page) */
.bundle-grid { display: grid; gap: 24px; }
@media (min-width:680px){ .bundle-grid { grid-template-columns: repeat(2,1fr); } }
.bundle-card { border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.bundle-card:hover { border-color: rgba(124,26,237,.4); box-shadow: var(--shadow); transform: translateY(-2px); }
.bundle-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .85rem; margin-bottom: 16px; }
.bundle-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.bundle-card p { font-size: .9rem; color: var(--ink-soft); margin-bottom: 18px; }
.bundle-products { display: flex; gap: 8px; margin-bottom: 20px; }
.bp-chip { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .62rem; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.bundle-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 18px; }
.bundle-price .big { font-family: var(--font-display); font-size: 1.9rem; color: var(--ink); }
.bundle-price .per { font-size: .9rem; color: var(--slate); }
.bundle-cta { width: 100%; }

/* ---------- Product page specifics ---------- */
.prod-hero { background: #0e1b33 url("../img/ottbot-build-hero-watermark.png") center / cover no-repeat; color: var(--text-on-dark); padding: clamp(64px,9vw,120px) 0 clamp(56px,7vw,90px); position: relative; overflow: hidden; isolation: isolate; }
.prod-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: inherit;
  filter: saturate(1.05) contrast(1.02);
}
.prod-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,27,51,.96) 0%, rgba(14,27,51,.9) 24%, rgba(14,27,51,.68) 48%, rgba(14,27,51,.34) 100%),
    radial-gradient(ellipse at 22% 52%, rgba(14,27,51,.78) 0%, rgba(14,27,51,.64) 26%, rgba(14,27,51,0) 56%),
    linear-gradient(180deg, rgba(14,27,51,.2), rgba(14,27,51,.5)),
    radial-gradient(circle at 72% 30%, rgba(124,26,237,.16), transparent 34%),
    radial-gradient(circle at 86% 50%, rgba(15,240,252,.1), transparent 30%);
}
.prod-hero h1 { color: #fff; }
.prod-hero p { color: var(--text-on-dark-soft); }
.prod-hero h1,
.prod-hero .role,
.prod-hero .lead,
.prod-hero .crumb,
.prod-hero .badge {
  text-shadow: 0 2px 18px rgba(0,0,0,.42);
}
.prod-hero .container { position: relative; z-index: 1; }
.prod-hero .role { font-family: var(--font-head); font-weight: 700; font-size: .95rem; margin-top: 6px; }
.prod-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width:920px){ .prod-hero-grid { grid-template-columns: 1.1fr .9fr; } }
@media (min-width: 1180px) {
  .prod-hero .container {
    max-width: min(1540px, calc(100vw - 72px));
  }
  .prod-hero-grid {
    grid-template-columns: minmax(430px, .72fr) minmax(780px, 1.28fr);
    gap: clamp(42px, 5vw, 78px);
  }
}
.prod-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 22px; box-shadow: var(--shadow); }
.build-page-watermarked,
.page-watermarked {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.vision-placeholder-page .build-page-watermarked {
  overflow: visible;
}
.build-page-watermarked::before,
.page-watermarked::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 1;
  width: 58vw;
  pointer-events: none;
  opacity: .3;
  background-image: url("../img/build-honeycomb-watermark.svg");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: left top -28px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.88) 18%, rgba(0,0,0,.95) 100%);
}
.build-page-watermarked > .section,
.page-watermarked > .section {
  position: relative;
}
.build-page-watermarked > .section > .container,
.page-watermarked > .section > .container {
  position: relative;
  z-index: 2;
}
@media (max-width: 760px) {
  .build-page-watermarked::before,
  .page-watermarked::before {
    width: 72%;
    opacity: .14;
    background-size: auto 100%;
    background-position: right -80px top 18px;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.34) 32%, rgba(0,0,0,.8) 100%);
  }
}
.feature-row { display: grid; gap: 48px; align-items: center; }
@media (min-width:860px){ .feature-row { grid-template-columns: 1fr 1fr; } .feature-row.rev > .fr-media { order: -1; } }

/* ---- Security/tech promo (split media + dark copy card) ---- */
.sec-promo { display: grid; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
@media (min-width: 760px){ .sec-promo { grid-template-columns: 1fr 1fr; } }
.sec-promo-media { min-height: 220px; background: linear-gradient(135deg, var(--purple), var(--navy) 60%, #0b1830); }
.sec-promo-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.sec-promo-copy { background: var(--grad-ink); padding: clamp(32px,5vw,56px); display: flex; flex-direction: column; gap: 18px; }
.sec-badge { display: inline-flex; align-self: flex-start; padding: .5em 1.3em; border-radius: 999px; background: #fff; color: var(--purple); font-weight: 700; font-size: .88rem; }
.sec-promo-copy h2 { color: #fff; font-size: clamp(1.6rem,3vw,2.2rem); }
.sec-promo-copy h2 .accent { color: var(--lime); }
.sec-promo-copy p { color: var(--text-on-dark-soft); }
.fr-media { border-radius: var(--radius-lg); padding: 32px; background: var(--pale-blue); border: 1px solid var(--line); min-height: 220px; display: grid; place-items: center; }
.build-copilot-section {
  background: linear-gradient(180deg, rgba(249,250,251,.72) 0%, #fff 100%);
}
.build-copilot-container {
  max-width: min(1320px, calc(100vw - 48px));
}
.feature-row--copilot {
  gap: clamp(30px,4vw,58px);
}
@media (min-width: 980px) {
  .feature-row--copilot {
    grid-template-columns: minmax(300px,.62fr) minmax(680px,1.38fr);
  }
}
.fr-media--copilot {
  overflow: hidden;
  padding: clamp(6px,1vw,12px);
  min-height: 0;
  background:
    linear-gradient(145deg, rgba(240,245,255,.9), rgba(255,255,255,.88)),
    var(--pale-blue);
  box-shadow: var(--shadow-sm);
  justify-self: stretch;
}
.fr-media--copilot img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 10px);
}
.copilot-outcomes {
  display: grid;
  gap: 10px;
  max-width: 520px;
}
.copilot-outcomes span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.78);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .92rem;
  box-shadow: 0 10px 28px rgba(29,53,87,.06);
}
.copilot-outcomes span::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--lime),var(--cyan));
  box-shadow: 0 0 0 7px rgba(163,230,53,.18);
}
@media (max-width: 620px) {
  .feature-row--copilot {
    gap: 24px;
  }
  .fr-media--copilot {
    padding: 8px;
    width: 100%;
  }
  .copilot-outcomes span {
    align-items: flex-start;
    font-size: .86rem;
    line-height: 1.35;
  }
}
.connect-map { display: grid; gap: 14px; }
.connect-map .cm { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.connect-map .cm .ico { width: 38px; height: 38px; border-radius: 10px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .8rem; }
.connect-map .cm b { color: var(--ink); font-family: var(--font-head); font-size: .92rem; }
.connect-map .cm p { color: var(--ink-soft); font-size: .82rem; margin: 0; }

/* Mock UI panel for product visuals */
.mock { width: 100%; background: #fff; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.mock .bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.mock .body { padding: 18px; display: grid; gap: 10px; }
.mock .row { height: 12px; border-radius: 6px; background: var(--pale-blue); }
.mock .row.w70 { width: 70%; } .mock .row.w50 { width: 50%; } .mock .row.w85 { width: 85%; }
.mock .pill { display: inline-block; padding: .4em .8em; border-radius: 999px; font-size: .75rem; background: rgba(124,26,237,.1); color: var(--purple); width: fit-content; }
.mock .grad-block { display: block; width: 100%; height: 70px; border-radius: 10px; background: var(--grad-cool); object-fit: cover; }

/* OttBot Build product page refinement */
.build-hero-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: clamp(14px, 2vw, 22px);
  background:
    radial-gradient(circle at 15% 10%, rgba(15,240,252,.28), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(236,72,153,.26), transparent 36%),
    rgba(255,255,255,.06);
  box-shadow: 0 30px 90px rgba(0,0,0,.26);
}
@media (min-width: 1180px) {
  .build-hero-media {
    max-width: 875px;
    justify-self: end;
  }
}
.build-video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  align-content: center;
  gap: 12px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid rgba(255,255,255,.16);
  background:
    linear-gradient(135deg, rgba(124,26,237,.9), rgba(236,72,153,.76) 52%, rgba(15,240,252,.58)),
    var(--grad-ink);
  color: #fff;
}
.build-video-placeholder::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  pointer-events: none;
}
.build-video-placeholder::after {
  content: "";
  position: absolute;
  inset: auto -10% -36% 18%;
  height: 44%;
  background: rgba(255,255,255,.22);
  filter: blur(34px);
  pointer-events: none;
}
.build-video-placeholder .pill {
  position: relative;
  z-index: 1;
  width: fit-content;
  padding: .45em .9em;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.12);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.build-video-placeholder strong {
  position: relative;
  z-index: 1;
  max-width: 14ch;
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  line-height: 1.04;
  color: #fff;
}
.build-video-placeholder p {
  position: relative;
  z-index: 1;
  max-width: 46ch;
  color: rgba(255,255,255,.86);
  font-size: .9rem;
}
.build-product-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: calc(var(--radius-lg) - 8px);
  background: #0e1b33;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.build-hero-media--cinematic {
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.hero-cinema--product {
  width: 100%;
  min-height: clamp(460px, 48vw, 700px);
}
.connect-flow-video {
  display: block;
  width: 100%;
  aspect-ratio: 960 / 560;
  object-fit: cover;
  background: #060915;
}
.connect-channels-video {
  display: block;
  width: 100%;
  aspect-ratio: 960 / 560;
  object-fit: cover;
  background: transparent;
}
/* OttBot Vision — ecosystem flow animation (training video → bot → every channel) */
.vision-eco-intro { align-items: start; margin-bottom: clamp(30px, 3.6vw, 56px); }
.vision-eco-media { width: 100%; }
@media (min-width: 1392px) {
  /* break the animation out wider than the 1200px text column for a large, legible showcase */
  .vision-eco-media { width: min(1344px, calc(100vw - 48px)); margin-left: 50%; transform: translateX(-50%); }
}
.vision-ecosystem-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: transparent;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.build-graphic-placeholder {
  min-height: clamp(320px, 42vw, 520px);
  display: grid;
  align-content: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(213,220,235,.9);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 22% 22%, rgba(15,240,252,.24), transparent 30%),
    radial-gradient(circle at 78% 72%, rgba(124,26,237,.18), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(240,245,255,.86));
  box-shadow: 0 24px 70px rgba(16,32,72,.12);
}
.build-graphic-placeholder::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px dashed rgba(124,26,237,.22);
  border-radius: 22px;
  pointer-events: none;
}
.build-graphic-placeholder::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -24%;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(15,240,252,.2);
  filter: blur(30px);
  pointer-events: none;
}
.placeholder-kicker {
  position: relative;
  z-index: 1;
  width: fit-content;
  color: var(--purple);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.build-graphic-placeholder strong {
  position: relative;
  z-index: 1;
  max-width: 15ch;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  line-height: 1.08;
}
.build-graphic-placeholder p {
  position: relative;
  z-index: 1;
  max-width: 48ch;
  color: var(--ink-soft);
}
.placeholder-bars,
.placeholder-node-cloud {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(360px, 100%);
  margin-top: 12px;
}
.placeholder-bars span {
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(124,26,237,.18), rgba(15,240,252,.34));
}
.placeholder-bars span:nth-child(2) { width: 78%; }
.placeholder-bars span:nth-child(3) { width: 54%; }
.placeholder-node-cloud {
  grid-template-columns: repeat(5, minmax(34px, 1fr));
  align-items: center;
}
.placeholder-node-cloud span {
  aspect-ratio: 1;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(124,26,237,.78), rgba(15,240,252,.7));
  box-shadow: 0 12px 28px rgba(16,32,72,.12);
}
.placeholder-node-cloud span:nth-child(even) {
  transform: translateY(18px);
  background: linear-gradient(135deg, rgba(236,72,153,.72), rgba(163,230,53,.62));
}
.connect-placeholder-page .prod-hero::before,
.vision-placeholder-page .prod-hero::before {
  filter: saturate(1.35) contrast(1.14) brightness(1.55);
}
.connect-placeholder-page .prod-hero::after,
.vision-placeholder-page .prod-hero::after {
  background:
    linear-gradient(90deg, rgba(14,27,51,.9) 0%, rgba(14,27,51,.78) 24%, rgba(14,27,51,.48) 48%, rgba(14,27,51,.2) 100%),
    radial-gradient(ellipse at 22% 52%, rgba(14,27,51,.62) 0%, rgba(14,27,51,.46) 26%, rgba(14,27,51,0) 56%),
    linear-gradient(180deg, rgba(14,27,51,.1), rgba(14,27,51,.34)),
    radial-gradient(circle at 72% 30%, rgba(124,26,237,.2), transparent 34%),
    radial-gradient(circle at 86% 50%, rgba(15,240,252,.16), transparent 30%);
}
.connect-placeholder-page .prod-hero,
.connect-placeholder-page .build-page-watermarked,
.connect-placeholder-page main {
  overflow-x: visible;
}
.connect-placeholder-page .build-page-watermarked {
  overflow: visible;
}
.connect-placeholder-page .prod-hero-grid,
.connect-placeholder-page .feature-row,
.connect-placeholder-page .grid,
.connect-placeholder-page .card,
.connect-placeholder-page .build-hero-media,
.connect-placeholder-page .build-graphic-placeholder {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.connect-placeholder-page .btn {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
}
.connect-placeholder-page .btn .arrow {
  display: inline;
}
@media (max-width: 680px) {
  .connect-placeholder-page .prod-hero h1 {
    font-size: clamp(2.05rem, 12vw, 3rem);
    max-width: 11ch;
  }
  .connect-placeholder-page .prod-hero .lead,
  .connect-placeholder-page .role {
    max-width: 31ch;
  }
  .connect-placeholder-page .hero-cta .btn {
    width: 100%;
  }
  .connect-placeholder-page .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
  }
  .connect-placeholder-page .prod-hero .container,
  .connect-placeholder-page .prod-hero-grid,
  .connect-placeholder-page .build-hero-media,
  .connect-placeholder-page .build-video-placeholder {
    width: min(100%, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
  }
  .connect-placeholder-page .build-hero-media {
    padding: 12px;
  }
  .connect-placeholder-page .build-hero-media--cinematic {
    padding: 0;
  }
  .connect-placeholder-page .hero-cinema--product {
    min-height: min(520px, 116vw);
  }
  .connect-placeholder-page .build-video-placeholder {
    min-height: 340px;
  }
}
.data-product-page .prod-hero-grid,
.data-product-page .feature-row,
.data-product-page .grid,
.data-product-page .card,
.data-product-page .mock {
  min-width: 0;
}
.data-product-page .btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
.data-product-page .btn .arrow {
  display: inline;
}
.data-product-page .mini-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-sm);
}
.data-product-page .mini-card b,
.data-product-page .mini-card span {
  display: block;
}
.data-product-page .mini-card b {
  font-family: var(--font-head);
  font-size: .98rem;
  line-height: 1.25;
  color: var(--ink);
}
.data-product-page .mini-card span {
  font-size: .92rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.data-product-page .feature-row .grid-2 {
  gap: 20px;
}
@media (max-width: 680px) {
  .data-product-page .prod-hero h1 {
    font-size: clamp(2.05rem, 12vw, 3rem);
    max-width: 11ch;
  }
  .data-product-page .prod-hero .lead,
  .data-product-page .role {
    max-width: 31ch;
  }
  .data-product-page .hero-cta .btn {
    width: 100%;
  }
}
.build-play {
  position: absolute;
  right: clamp(22px, 4vw, 44px);
  bottom: clamp(22px, 4vw, 44px);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 40px rgba(16,32,72,.22);
}
.build-play::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 20px;
  border-left: 18px solid var(--purple);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}
.fr-media--screenshot {
  display: block;
  padding: 0;
  overflow: hidden;
  background: #eef2f8;
}
@media (min-width: 860px) {
  .feature-row--workflow-editor {
    grid-template-columns: minmax(280px, .72fr) minmax(560px, 1.28fr);
  }
}
@media (min-width: 1100px) {
  .feature-row--workflow-editor {
    grid-template-columns: minmax(300px, .72fr) minmax(640px, 1.28fr);
  }
}
.connect-placeholder-page .feature-row--workflow-editor {
  gap: clamp(36px, 4vw, 72px);
}
.connect-placeholder-page .feature-row--workflow-editor .fr-media--screenshot {
  box-shadow: 0 24px 70px rgba(16,32,72,.12);
}
@media (min-width: 980px) {
  .connect-placeholder-page .feature-row--workflow-editor {
    width: min(1320px, calc(100vw - 64px));
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
    grid-template-columns: minmax(280px, .64fr) minmax(0, 1.36fr);
  }
}
@media (min-width: 1360px) {
  .connect-placeholder-page .feature-row--workflow-editor {
    width: min(1420px, calc(100vw - 96px));
    grid-template-columns: minmax(320px, .62fr) minmax(0, 1.38fr);
  }
}
.vision-placeholder-page .feature-row--workflow-editor {
  gap: clamp(38px, 4.4vw, 78px);
}
@media (min-width: 980px) {
  .vision-placeholder-page .feature-row--workflow-editor {
    width: min(1480px, calc(100vw - 56px));
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
    grid-template-columns: minmax(340px, .54fr) minmax(760px, 1.46fr);
  }
}
@media (min-width: 1440px) {
  .vision-placeholder-page .feature-row--workflow-editor {
    width: min(1600px, calc(100vw - 80px));
    grid-template-columns: minmax(360px, .52fr) minmax(860px, 1.48fr);
  }
}
.build-editor-animation {
  position: relative;
  width: 100%;
  isolation: isolate;
}
.build-editor-shot {
  display: block;
  width: 100%;
  height: auto;
}
.build-flow-sweep,
.build-shot-highlight,
.build-widget-zoom {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.build-flow-sweep {
  left: 21%;
  top: 72.8%;
  width: 63%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(124,26,237,0), rgba(124,26,237,.95), rgba(15,240,252,.95), rgba(15,240,252,0));
  filter: drop-shadow(0 0 10px rgba(124,26,237,.55));
  transform-origin: left center;
  animation: buildFlowSweep 9.6s ease-in-out infinite;
}
.build-shot-highlight {
  border: 3px solid rgba(124,26,237,.92);
  border-radius: 12px;
  background: rgba(124,26,237,.08);
  box-shadow:
    0 0 0 7px rgba(124,26,237,.12),
    0 0 28px rgba(124,26,237,.32);
  opacity: 0;
  transform: scale(.98);
  animation: buildStepHighlight 9.6s ease-in-out infinite;
}
.build-shot-highlight--trigger {
  left: 2.1%;
  top: 58.6%;
  width: 19.1%;
  height: 30.5%;
  animation-delay: 0s;
}
.build-shot-highlight--email {
  left: 29.2%;
  top: 58.6%;
  width: 19.1%;
  height: 30.5%;
  animation-delay: 2.4s;
}
.build-shot-highlight--crm {
  left: 56.5%;
  top: 58.6%;
  width: 19.1%;
  height: 30.5%;
  animation-delay: 4.8s;
}
.build-shot-highlight--end {
  left: 83.6%;
  top: 58.6%;
  width: 14.4%;
  height: 17.5%;
  border-color: rgba(34,197,94,.95);
  background: rgba(163,230,53,.12);
  box-shadow:
    0 0 0 7px rgba(163,230,53,.15),
    0 0 28px rgba(34,197,94,.3);
  animation-delay: 7.2s;
}
.build-widget-zoom {
  z-index: 2;
  width: min(230px, 28%);
  display: grid;
  gap: 5px;
  padding: 15px 16px;
  border: 2px solid rgba(124,26,237,.38);
  border-radius: 16px;
  background: rgba(255,255,255,.98);
  box-shadow:
    0 18px 42px rgba(29,53,87,.16),
    0 0 0 7px rgba(124,26,237,.08);
  opacity: 0;
  transform: translateY(8px) scale(.92);
  animation: buildWidgetZoom 9.6s ease-in-out infinite;
}
.build-widget-zoom em {
  color: var(--purple);
  font-family: var(--font-body);
  font-size: .7rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.build-widget-zoom strong {
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(.96rem, 1.25vw, 1.16rem);
  line-height: 1.12;
}
.build-widget-zoom small {
  color: var(--ink-soft);
  font-size: clamp(.72rem, .85vw, .82rem);
  line-height: 1.35;
}
.build-widget-zoom--trigger {
  left: 3.5%;
  top: 10%;
  animation-delay: 0s;
}
.build-widget-zoom--email {
  left: 30.4%;
  top: 10%;
  animation-delay: 2.4s;
}
.build-widget-zoom--crm {
  left: 57.2%;
  top: 10%;
  animation-delay: 4.8s;
}
.build-widget-zoom--end {
  right: 2.5%;
  top: 17%;
  border-color: rgba(34,197,94,.45);
  box-shadow:
    0 18px 42px rgba(29,53,87,.16),
    0 0 0 7px rgba(163,230,53,.12);
  animation-delay: 7.2s;
}
.build-widget-zoom--end em { color: #15803d; }
@keyframes buildStepHighlight {
  0%, 7% { opacity: 0; transform: scale(.985); }
  11%, 26% { opacity: 1; transform: scale(1); }
  31%, 100% { opacity: 0; transform: scale(1.015); }
}
@keyframes buildWidgetZoom {
  0%, 7% { opacity: 0; transform: translateY(8px) scale(.92); }
  12%, 25% { opacity: 1; transform: translateY(0) scale(1); }
  32%, 100% { opacity: 0; transform: translateY(-4px) scale(.98); }
}
@keyframes buildFlowSweep {
  0%, 8% { opacity: 0; transform: scaleX(.05); }
  16%, 82% { opacity: .9; transform: scaleX(1); }
  92%, 100% { opacity: 0; transform: scaleX(1); }
}
.build-widget-captions {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 184px;
  position: relative;
  padding: 38px 14px 14px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.build-caption-kicker {
  position: absolute;
  top: 13px;
  left: 16px;
  color: var(--purple);
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.build-widget-caption {
  grid-area: 1 / 1;
  min-height: 126px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(29,53,87,.07);
  opacity: 0;
  transform: scale(.985);
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
  animation: buildCaptionFocus 9.6s ease-in-out infinite;
}
.build-widget-caption strong {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(.82rem, 1vw, .98rem);
  line-height: 1.2;
}
.build-widget-caption strong span {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--purple);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 800;
}
.build-widget-caption p {
  color: var(--ink-soft);
  font-size: clamp(.78rem, .9vw, .88rem);
  line-height: 1.45;
}
.build-widget-caption--email strong span,
.build-widget-caption--crm strong span {
  background: linear-gradient(135deg,#7C1AED,#0FF0FC);
}
.build-widget-caption--end strong span {
  background: #22c55e;
}
.build-widget-caption--trigger { animation-delay: 0s; }
.build-widget-caption--email { animation-delay: 2.4s; }
.build-widget-caption--crm { animation-delay: 4.8s; }
.build-widget-caption--end { animation-delay: 7.2s; }
@keyframes buildCaptionFocus {
  0%, 7% {
    opacity: 0;
    transform: scale(.985);
    border-color: var(--line);
    box-shadow: 0 10px 24px rgba(29,53,87,.07);
  }
  12%, 25% {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(124,26,237,.28);
    box-shadow: 0 16px 34px rgba(124,26,237,.14);
  }
  32%, 100% {
    opacity: 0;
    transform: scale(.985);
    border-color: var(--line);
    box-shadow: 0 10px 24px rgba(29,53,87,.07);
  }
}

/* ---- OttBot Vision: cinematic video-to-answers animation ---- */
.vision-track-animation {
  --vision-cycle: 22s;
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  min-height: clamp(540px, 42vw, 620px);
  padding: clamp(18px, 2.6vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(213,220,235,.92);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(15,240,252,.14), transparent 36%),
    linear-gradient(315deg, rgba(124,26,237,.11), transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,.97), rgba(241,246,255,.9));
  box-shadow: 0 28px 74px rgba(16,32,72,.13), inset 0 1px 0 rgba(255,255,255,.9);
}
.vision-track-animation::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(124,26,237,.2);
  border-radius: calc(var(--radius-lg) - 14px);
  pointer-events: none;
}
.vision-cinema-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(500px, 38vw, 560px);
  overflow: hidden;
  border-radius: 24px;
}
.vision-cinema-camera {
  position: absolute;
  inset: 0;
  transform-origin: 50% 40%;
  animation: visionCamera var(--vision-cycle) ease-in-out infinite;
}
.vision-cinema-video {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(88%, 720px);
  transform: translate(-50%,-50%);
  padding: 14px;
  border: 1px solid rgba(16,24,40,.08);
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 22px 54px rgba(16,32,72,.11), inset 0 1px 0 rgba(255,255,255,.95);
  animation: visionVideoFrame var(--vision-cycle) ease-in-out infinite;
}
.vision-cinema-screen,
.vision-mini-screen {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  background:
    linear-gradient(130deg, rgba(15,240,252,.18), transparent 38%),
    linear-gradient(315deg, rgba(124,26,237,.28), transparent 46%),
    linear-gradient(135deg, #101828 0%, #253D80 100%);
}
.vision-cinema-screen {
  height: clamp(230px, 21vw, 300px);
}
.vision-cinema-screen::before,
.vision-mini-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image:
    linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 38px 38px;
}
.vision-cinema-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 36px rgba(0,0,0,.25);
}
.vision-cinema-play::before {
  content: "";
  margin-left: 4px;
  border-left: 17px solid #7C1AED;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}
.vision-cinema-line {
  position: absolute;
  left: 26px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.26);
}
.vision-cinema-line--one { top: 28px; width: 44%; }
.vision-cinema-line--two { top: 48px; width: 30%; }
.vision-cinema-label {
  position: absolute;
  right: 24px;
  top: 24px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.14);
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.vision-cinema-timeline {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
}
.vision-cinema-timeline i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,#A3E635,#0FF0FC,#7C1AED);
  transform-origin: left center;
  animation: visionTimeline var(--vision-cycle) linear infinite;
}
.vision-cinema-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 2px 0;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.vision-cinema-meta strong {
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0;
}
.vision-cinema-ocr-sweep {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 34%;
  height: 4px;
  opacity: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.96), transparent);
  box-shadow: 0 0 22px rgba(15,240,252,.55);
  animation: visionOcrSweep var(--vision-cycle) ease-in-out infinite;
}
.vision-cinema-detect {
  position: absolute;
  display: grid;
  align-content: end;
  padding: 8px;
  opacity: 0;
  border: 2px solid rgba(163,230,53,.78);
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(16,24,40,.14), 0 0 22px rgba(163,230,53,.28);
  animation: visionDetectBox var(--vision-cycle) ease-in-out infinite;
}
.vision-cinema-detect--one {
  left: 20%;
  top: 30%;
  width: 26%;
  height: 34%;
}
.vision-cinema-detect--two {
  right: 18%;
  top: 24%;
  width: 22%;
  height: 30%;
  animation-delay: .25s;
}
.vision-process-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(64%, 460px);
  min-height: 258px;
  padding: clamp(20px, 2vw, 24px);
  opacity: 0;
  transform: translate(-50%,-46%) scale(.82);
  border: 1px solid rgba(213,220,235,.9);
  border-radius: 24px;
  background:
    linear-gradient(130deg, rgba(255,255,255,.94), rgba(241,246,255,.86)),
    linear-gradient(90deg, rgba(15,240,252,.1), rgba(124,26,237,.08));
  box-shadow: 0 26px 72px rgba(16,32,72,.16), inset 0 1px 0 rgba(255,255,255,.95);
}
.vision-process-layer .placeholder-kicker,
.vision-final-narrative .placeholder-kicker {
  margin-bottom: 10px;
}
.vision-process-layer strong {
  display: block;
  max-width: 15ch;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(1.18rem, 2vw, 1.72rem);
  line-height: 1.03;
}
.vision-process-layer--speech {
  animation: visionSpeechLayer var(--vision-cycle) ease-in-out infinite;
}
.vision-process-layer--ocr {
  animation: visionOcrLayer var(--vision-cycle) ease-in-out infinite;
}
.vision-process-layer--visual {
  animation: visionVisualLayer var(--vision-cycle) ease-in-out infinite;
}
.vision-speech-wave {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 56px;
  margin: 14px 0;
}
.vision-speech-wave i {
  width: 9px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(180deg,#7C1AED,#0FF0FC);
  transform-origin: center bottom;
  animation: visionWaveBars .9s ease-in-out infinite;
}
.vision-speech-wave i:nth-child(2) { animation-delay: .08s; }
.vision-speech-wave i:nth-child(3) { animation-delay: .16s; }
.vision-speech-wave i:nth-child(4) { animation-delay: .24s; }
.vision-speech-wave i:nth-child(5) { animation-delay: .32s; }
.vision-speech-wave i:nth-child(6) { animation-delay: .4s; }
.vision-type-line {
  width: max-content;
  max-width: 100%;
  margin: 8px 0 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: clamp(.78rem, 1vw, .9rem);
}
.vision-type-line--one { animation: visionTypeLineOne var(--vision-cycle) steps(34,end) infinite; }
.vision-type-line--two { animation: visionTypeLineTwo var(--vision-cycle) steps(36,end) infinite; }
.vision-type-line--three { animation: visionTypeLineThree var(--vision-cycle) steps(38,end) infinite; }
.vision-ocr-card {
  position: relative;
  display: grid;
  gap: 11px;
  margin-top: 18px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(124,26,237,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.8);
}
.vision-ocr-card span {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(.8rem, 1vw, .92rem);
  font-weight: 800;
}
.vision-ocr-card i {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 20px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(15,240,252,.86), transparent);
  box-shadow: 0 0 18px rgba(15,240,252,.5);
  animation: visionOcrCardScan 1.8s ease-in-out infinite;
}
.vision-object-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.vision-object-grid span {
  padding: 11px 10px;
  border: 1px solid rgba(15,240,252,.26);
  border-radius: 14px;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(163,230,53,.26), rgba(15,240,252,.22));
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 800;
  text-align: center;
  animation: visionObjectTile 1.6s ease-in-out infinite;
}
.vision-object-grid span:nth-child(2) { animation-delay: .12s; }
.vision-object-grid span:nth-child(3) { animation-delay: .24s; }
.vision-object-grid span:nth-child(4) { animation-delay: .36s; }
.vision-final-layout {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.22fr) minmax(0, .98fr);
  gap: 12px;
  align-items: center;
  padding: clamp(10px, 1.5vw, 18px);
  opacity: 0;
  transform: translateY(calc(-50% + 22px)) scale(.9);
  animation: visionFinalLayout var(--vision-cycle) ease-in-out infinite;
}
.vision-final-video,
.vision-final-narrative,
.vision-final-chat {
  min-width: 0;
  border: 1px solid rgba(213,220,235,.86);
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 42px rgba(16,32,72,.09), inset 0 1px 0 rgba(255,255,255,.95);
}
.vision-final-video {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
}
.vision-mini-screen {
  height: 118px;
}
.vision-mini-screen .vision-cinema-play {
  width: 44px;
  height: 44px;
}
.vision-mini-screen .vision-cinema-play::before {
  border-left-width: 12px;
  border-top-width: 8px;
  border-bottom-width: 8px;
}
.vision-final-video strong,
.vision-final-video small {
  color: var(--ink);
  font-family: var(--font-body);
}
.vision-final-video strong {
  font-size: .88rem;
  font-weight: 800;
}
.vision-final-video small {
  color: var(--ink-soft);
}
.vision-final-narrative {
  display: grid;
  align-content: center;
  padding: 16px;
  background:
    linear-gradient(125deg, rgba(15,240,252,.16), transparent 42%),
    linear-gradient(315deg, rgba(163,230,53,.16), transparent 46%),
    rgba(255,255,255,.9);
}
.vision-final-narrative strong {
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(.98rem, 1.45vw, 1.22rem);
  line-height: 1.08;
}
.vision-final-narrative p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: clamp(.72rem, .9vw, .82rem);
  line-height: 1.38;
}
.vision-final-chat {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 12px;
}
.vision-chat-bubble,
.vision-chat-answer {
  display: block;
  max-width: 95%;
  padding: 9px 11px;
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(213,220,235,.88);
  font-family: var(--font-body);
  font-size: clamp(.68rem, .82vw, .76rem);
  line-height: 1.3;
}
.vision-chat-bubble:nth-child(2) {
  justify-self: end;
}
.vision-chat-answer {
  color: #10213f;
  background: linear-gradient(135deg, rgba(15,240,252,.22), rgba(163,230,53,.18));
  border-color: rgba(15,240,252,.28);
  font-weight: 800;
}
@keyframes visionCamera {
  0%, 12% { transform: scale(1) translate3d(0,0,0); }
  18%, 29% { transform: scale(1.18) translate3d(0,8px,0); }
  35%, 46% { transform: scale(1.17) translate3d(-4px,8px,0); }
  52%, 63% { transform: scale(1.16) translate3d(5px,8px,0); }
  72%, 100% { transform: scale(1) translate3d(0,0,0); }
}
@keyframes visionVideoFrame {
  0%, 14% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
  18%, 63% { opacity: .32; transform: translate(-50%,-49%) scale(1.03); }
  70%, 100% { opacity: 0; transform: translate(-50%,-48%) scale(.82); }
}
@keyframes visionTimeline {
  0% { transform: scaleX(.05); }
  15% { transform: scaleX(.22); }
  33% { transform: scaleX(.42); }
  51% { transform: scaleX(.62); }
  70% { transform: scaleX(.82); }
  100% { transform: scaleX(1); }
}
@keyframes visionSpeechLayer {
  0%, 14%, 33%, 100% { opacity: 0; transform: translate(-50%,-46%) scale(.82); }
  18%, 29% { opacity: 1; transform: translate(-50%,-50%) scale(.94); }
}
@keyframes visionOcrLayer {
  0%, 32%, 50%, 100% { opacity: 0; transform: translate(-50%,-46%) scale(.82); }
  36%, 46% { opacity: 1; transform: translate(-50%,-50%) scale(.94); }
}
@keyframes visionVisualLayer {
  0%, 50%, 68%, 100% { opacity: 0; transform: translate(-50%,-46%) scale(.82); }
  54%, 64% { opacity: 1; transform: translate(-50%,-50%) scale(.94); }
}
@keyframes visionFinalLayout {
  0%, 68% { opacity: 0; transform: translateY(calc(-50% + 22px)) scale(.9); }
  75%, 95% { opacity: 1; transform: translateY(-50%) scale(1); }
  100% { opacity: 0; transform: translateY(calc(-50% - 8px)) scale(.98); }
}
@keyframes visionOcrSweep {
  0%, 32%, 51%, 100% { opacity: 0; transform: translateY(0); }
  36%, 46% { opacity: 1; }
  49% { opacity: 0; transform: translateY(78px); }
}
@keyframes visionDetectBox {
  0%, 50%, 68%, 100% { opacity: 0; transform: scale(.92); }
  54%, 64% { opacity: 1; transform: scale(1); }
}
@keyframes visionWaveBars {
  0%, 100% { transform: scaleY(.34); opacity: .58; }
  50% { transform: scaleY(1); opacity: 1; }
}
@keyframes visionTypeLineOne {
  0%, 18% { width: 0; }
  24%, 100% { width: 32ch; }
}
@keyframes visionTypeLineTwo {
  0%, 23% { width: 0; }
  29%, 100% { width: 34ch; }
}
@keyframes visionTypeLineThree {
  0%, 27% { width: 0; }
  33%, 100% { width: 36ch; }
}
@keyframes visionOcrCardScan {
  0%, 100% { opacity: 0; transform: translateY(0); }
  20%, 80% { opacity: 1; }
  50% { opacity: 1; transform: translateY(88px); }
}
@keyframes visionObjectTile {
  0%, 100% { transform: translateY(0); opacity: .78; }
  50% { transform: translateY(-4px); opacity: 1; }
}
@media (max-width: 720px) {
  .vision-track-animation {
    min-height: 0;
    padding: 18px;
  }
  .vision-track-animation::before {
    inset: 12px;
    border-radius: 20px;
  }
  .vision-cinema-stage {
    height: 690px;
  }
  .vision-cinema-video {
    width: 92%;
    top: 30%;
  }
  .vision-cinema-screen {
    height: 188px;
  }
  .vision-process-layer {
    width: 82%;
    min-height: 300px;
    padding: 22px;
  }
  .vision-process-layer strong {
    max-width: 12ch;
    font-size: clamp(1.12rem, 7vw, 1.62rem);
  }
  .vision-object-grid {
    grid-template-columns: 1fr;
  }
  .vision-final-layout {
    grid-template-columns: 1fr;
    align-content: start;
    overflow-y: auto;
  }
  .vision-mini-screen {
    height: 112px;
  }
}
@media (max-width: 640px) {
  .vision-placeholder-page .feature-row--workflow-editor .fr-media--screenshot {
    margin-inline: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .vision-track-animation *,
  .vision-track-animation *::before {
    animation: none !important;
  }
  .vision-cinema-stage {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .vision-cinema-camera {
    position: relative;
    transform: none;
  }
  .vision-cinema-video,
  .vision-process-layer {
    display: none;
  }
  .vision-final-layout {
    position: relative;
    opacity: 1;
    transform: none;
  }
}

/* Simplified OttBot Vision flow */
.vision-flow-animation {
  --vision-flow-cycle: 7.2s;
  min-height: clamp(320px, 31vw, 410px);
  display: grid;
  place-items: center;
  padding: clamp(22px, 3.2vw, 38px);
}
.vision-flow-animation::before {
  inset: clamp(14px, 2vw, 22px);
}
.vision-flow {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, .92fr) auto minmax(230px, 1.36fr) auto minmax(0, .92fr);
  gap: clamp(8px, 1.15vw, 14px);
  align-items: center;
}
.vision-flow-box {
  position: relative;
  overflow: hidden;
  min-height: clamp(200px, 18.5vw, 248px);
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(18px, 2.15vw, 24px);
  border: 1px solid rgba(213,220,235,.92);
  border-radius: 22px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 42px rgba(16,32,72,.1), inset 0 1px 0 rgba(255,255,255,.95);
  transform: translateY(0) scale(1);
}
.vision-flow-box::after {
  content: "";
  position: absolute;
  inset: -1px;
  opacity: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 16%, rgba(255,255,255,.72) 50%, transparent 84%);
  transform: translateX(-110%);
  pointer-events: none;
}
.vision-flow-box--process {
  border-color: rgba(15,240,252,.34);
  background:
    linear-gradient(135deg, rgba(15,240,252,.16), transparent 48%),
    linear-gradient(315deg, rgba(163,230,53,.16), transparent 46%),
    rgba(255,255,255,.94);
  box-shadow: 0 24px 54px rgba(16,32,72,.13), 0 0 0 1px rgba(15,240,252,.14);
}
.vision-flow-box--input {
  animation: visionFlowInput var(--vision-flow-cycle) ease-in-out infinite;
}
.vision-flow-box--process {
  animation: visionFlowProcess var(--vision-flow-cycle) ease-in-out infinite;
}
.vision-flow-box--output {
  animation: visionFlowOutput var(--vision-flow-cycle) ease-in-out infinite;
}
.vision-flow-box--input::after {
  animation: visionFlowSheenInput var(--vision-flow-cycle) ease-in-out infinite;
}
.vision-flow-box--process::after {
  animation: visionFlowSheenProcess var(--vision-flow-cycle) ease-in-out infinite;
}
.vision-flow-box--output::after {
  animation: visionFlowSheenOutput var(--vision-flow-cycle) ease-in-out infinite;
}
.vision-flow-step {
  color: var(--purple);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.vision-flow h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.6vw, 1.42rem);
  line-height: 1.08;
}
.vision-flow p {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: clamp(.82rem, 1vw, .94rem);
  line-height: 1.45;
}
.vision-flow ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vision-flow li {
  white-space: nowrap;
  padding: 7px 10px;
  border: 1px solid rgba(15,240,252,.3);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,.72);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 800;
  transform: translateY(0);
}
.vision-flow-box--process li {
  animation: visionFlowChip var(--vision-flow-cycle) ease-in-out infinite;
}
.vision-flow-box--process li:nth-child(2) {
  animation-delay: .18s;
}
.vision-flow-box--process li:nth-child(3) {
  animation-delay: .36s;
}
@media (min-width: 721px) {
  .vision-flow-box--process ul {
    flex-wrap: nowrap;
  }
}
@media (min-width: 980px) {
  .vision-flow-animation {
    min-height: clamp(420px, 31vw, 520px);
    padding: clamp(32px, 3.6vw, 52px);
  }
  .vision-flow {
    grid-template-columns: minmax(190px, .9fr) auto minmax(300px, 1.38fr) auto minmax(190px, .9fr);
    gap: clamp(14px, 1.8vw, 26px);
  }
  .vision-flow-box {
    min-height: clamp(248px, 18vw, 300px);
    padding: clamp(24px, 2.5vw, 34px);
  }
  .vision-flow h3 {
    font-size: clamp(1.34rem, 1.9vw, 1.82rem);
  }
  .vision-flow p {
    font-size: clamp(.94rem, 1.08vw, 1.04rem);
  }
  .vision-flow li {
    padding: 9px 13px;
    font-size: .88rem;
  }
  .vision-flow-arrow {
    width: 42px;
    height: 42px;
  }
}
.vision-flow-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--purple);
  background: rgba(124,26,237,.08);
  font-family: var(--font-head);
  font-weight: 800;
  transform: translateX(0) scale(1);
  animation: visionFlowArrow var(--vision-flow-cycle) ease-in-out infinite;
}
.vision-flow-arrow--two {
  animation-name: visionFlowArrowTwo;
}
@media (min-width: 980px) {
  .vision-flow-arrow {
    width: 42px;
    height: 42px;
  }
}
@keyframes visionFlowInput {
  0%, 4%, 23%, 100% {
    transform: translateY(0) scale(1);
    border-color: rgba(213,220,235,.92);
    box-shadow: 0 18px 42px rgba(16,32,72,.1), inset 0 1px 0 rgba(255,255,255,.95);
  }
  8%, 18% {
    transform: translateY(-8px) scale(1.035);
    border-color: rgba(15,240,252,.42);
    box-shadow: 0 30px 68px rgba(16,32,72,.16), 0 0 0 1px rgba(15,240,252,.16), inset 0 1px 0 rgba(255,255,255,.95);
  }
}
@keyframes visionFlowProcess {
  0%, 28%, 55%, 100% {
    transform: translateY(0) scale(1);
    border-color: rgba(15,240,252,.34);
    box-shadow: 0 24px 54px rgba(16,32,72,.13), 0 0 0 1px rgba(15,240,252,.14);
  }
  34%, 49% {
    transform: translateY(-8px) scale(1.035);
    border-color: rgba(124,26,237,.36);
    box-shadow: 0 34px 74px rgba(16,32,72,.18), 0 0 0 1px rgba(124,26,237,.16), inset 0 1px 0 rgba(255,255,255,.95);
  }
}
@keyframes visionFlowOutput {
  0%, 60%, 88%, 100% {
    transform: translateY(0) scale(1);
    border-color: rgba(213,220,235,.92);
    box-shadow: 0 18px 42px rgba(16,32,72,.1), inset 0 1px 0 rgba(255,255,255,.95);
  }
  68%, 82% {
    transform: translateY(-8px) scale(1.035);
    border-color: rgba(163,230,53,.42);
    box-shadow: 0 30px 68px rgba(16,32,72,.16), 0 0 0 1px rgba(163,230,53,.16), inset 0 1px 0 rgba(255,255,255,.95);
  }
}
@keyframes visionFlowSheenInput {
  0%, 4%, 24%, 100% {
    opacity: 0;
    transform: translateX(-110%);
  }
  8%, 18% {
    opacity: .75;
  }
  22% {
    opacity: 0;
    transform: translateX(110%);
  }
}
@keyframes visionFlowSheenProcess {
  0%, 31%, 55%, 100% {
    opacity: 0;
    transform: translateX(-110%);
  }
  35%, 49% {
    opacity: .75;
  }
  53% {
    opacity: 0;
    transform: translateX(110%);
  }
}
@keyframes visionFlowSheenOutput {
  0%, 65%, 88%, 100% {
    opacity: 0;
    transform: translateX(-110%);
  }
  69%, 82% {
    opacity: .75;
  }
  86% {
    opacity: 0;
    transform: translateX(110%);
  }
}
@keyframes visionFlowArrow {
  0%, 18%, 34%, 100% {
    transform: translateX(0) scale(1);
    background: rgba(124,26,237,.08);
    box-shadow: none;
  }
  22%, 29% {
    transform: translateX(10px) scale(1.16);
    background: rgba(124,26,237,.16);
    box-shadow: 0 12px 28px rgba(124,26,237,.16);
  }
}
@keyframes visionFlowArrowTwo {
  0%, 50%, 66%, 100% {
    transform: translateX(0) scale(1);
    background: rgba(124,26,237,.08);
    box-shadow: none;
  }
  54%, 61% {
    transform: translateX(10px) scale(1.16);
    background: rgba(124,26,237,.16);
    box-shadow: 0 12px 28px rgba(124,26,237,.16);
  }
}
@keyframes visionFlowChip {
  0%, 32%, 54%, 100% {
    transform: translateY(0);
    border-color: rgba(15,240,252,.3);
    background: rgba(255,255,255,.72);
  }
  37%, 48% {
    transform: translateY(-4px);
    border-color: rgba(124,26,237,.35);
    background: rgba(255,255,255,.96);
  }
}
@media (max-width: 720px) {
  .vision-flow-animation {
    min-height: 0;
  }
  .vision-flow {
    grid-template-columns: 1fr;
  }
  .vision-flow-box {
    min-height: 0;
  }
  .vision-flow-arrow {
    animation: none;
    justify-self: center;
    transform: rotate(90deg);
  }
}
@media (max-width: 980px) {
  .build-widget-captions {
    min-height: 188px;
  }
}
.build-runtime-grid { max-width: 980px; margin: 0 auto; }
.build-runtime-card {
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.06);
}
.build-runtime-card .ico {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
}
.build-runtime-card h3 { color: #fff; margin-bottom: 10px; }
.build-runtime-card p { color: var(--text-on-dark-soft); }
.build-metric-list {
  display: grid;
  gap: 12px;
}
.build-metric-list li {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.build-metric-list strong {
  font-family: var(--font-head);
  color: var(--ink);
}
.build-metric-list span {
  color: var(--ink-soft);
  font-size: .9rem;
}
.fr-media--manager {
  padding: clamp(18px, 2vw, 26px);
  overflow: hidden;
}
/* Looping HyperFrames animations embedded in the Connect product page */
.connect-flow-video,
.connect-channels-video {
  display: block;
  width: 100%;
  aspect-ratio: 960 / 560;
  object-fit: cover;
  background: transparent;
}

/* Reusable before/after scroll transition */
.before-after-section {
  --ba-header-offset: 72px;
  --ba-card-width: 600px;
  --ba-card-gap: 32px;
  --ba-complete-at: 0.55; /* transition completes at 55% of pinned travel, then HOLDS finished for the remaining 45% before releasing */
  --ba-side-start-x: calc((var(--ba-card-width) + var(--ba-card-gap)) / 2);
  position: relative;
  z-index: 2;
  min-height: clamp(1500px, 230vh, 2200px);
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(239,246,255,.68) 48%, rgba(255,255,255,.98));
}
.before-after-section--data-compact {
  --ba-complete-at: 0.82;
  min-height: clamp(810px, 124vh, 1188px);
  background:
    linear-gradient(180deg, rgba(239,246,255,.96), rgba(232,240,255,.9) 54%, rgba(239,246,255,.96));
  border-top: 1px solid rgba(213,220,235,.5);
  border-bottom: 1px solid rgba(213,220,235,.5);
}
.before-after-section--vision {
  min-height: clamp(1700px, 260vh, 2500px);
}
.before-after-section--vision .before-after-pin {
  height: calc(100vh - var(--ba-header-offset));
  min-height: 0;
  align-items: center;
}
.before-after-section--vision .before-after-head {
  margin-bottom: clamp(22px, 3.4vh, 34px);
}
.before-after-section--data-compact::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: 58vw;
  pointer-events: none;
  opacity: .3;
  background-image: url("../img/build-honeycomb-watermark.svg");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: left top -28px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.88) 18%, rgba(0,0,0,.95) 100%);
}
.before-after-pin {
  position: sticky;
  z-index: 2;
  top: var(--ba-header-offset);
  min-height: calc(100vh - var(--ba-header-offset));
  display: grid;
  align-items: center;
  padding: clamp(42px, 6vh, 74px) 0;
}
.before-after-head {
  max-width: 780px;
  margin: 0 auto clamp(26px, 4vh, 40px);
}
.before-after-head .lead {
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}
.before-after-section .container {
  width: min(1320px, calc(100vw - 48px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}
.before-after-section--tight { --ba-card-gap: -120px; }
.before-after-section--ecommerce-static {
  min-height: 0;
  padding: var(--section-y) 0;
}
.before-after-section--ecommerce-static .before-after-pin {
  position: relative;
  top: auto;
  min-height: 0;
  padding: 0;
}
.before-after-section--ecommerce-static .before-after-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
  width: min(1232px, 100%);
}
.before-after-section--ecommerce-static .ba-card,
.before-after-section--ecommerce-static .ba-card--before,
.before-after-section--ecommerce-static .ba-card--after {
  position: relative;
  top: auto;
  left: auto;
  grid-area: auto;
  width: 100%;
  height: 100%;
  transform: none;
  will-change: auto;
}
@media (max-width: 760px) {
  .before-after-section--ecommerce-static .before-after-stack {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
.before-after-stack {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  margin: 0 auto;
}
.ba-card {
  display: grid;
  gap: 14px;
  width: min(var(--ba-card-width), 100%);
  min-height: clamp(510px, 51vh, 570px);
  padding: clamp(26px, 2.8vw, 34px);
  border: 1px solid rgba(213,220,235,.92);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow:
    0 28px 80px rgba(16,32,72,.14),
    0 12px 28px rgba(16,32,72,.08),
    inset 0 1px 0 rgba(255,255,255,.9);
  backface-visibility: hidden;
  transform-style: preserve-3d;
}
.ba-card--before {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(249,250,251,.98), rgba(241,245,249,.96)),
    #fff;
  transform: translate3d(calc(0px - var(--ba-side-start-x)), 0, 0);
  will-change: transform;
}
.ba-card--after {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  color: var(--ink);
  border-color: rgba(15,240,252,.28);
  background:
    radial-gradient(circle at 12% 16%, rgba(15,240,252,.15), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(163,230,53,.16), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:
    0 34px 92px rgba(16,32,72,.18),
    0 14px 34px rgba(15,240,252,.12),
    inset 0 1px 0 rgba(255,255,255,.92);
  transform: translate3d(calc(-50% + var(--ba-side-start-x)), 0, 0) scale(.985);
  will-change: transform;
}
.ba-card-top,
.ba-metrics,
.ba-message {
  display: flex;
  align-items: center;
}
.ba-card-top {
  justify-content: space-between;
  gap: 14px;
}
.ba-kicker {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--purple);
}
.ba-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .48em .76em;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ba-status--muted {
  background: rgba(100,116,139,.1);
  color: var(--slate);
}
.ba-status--live {
  background: rgba(163,230,53,.2);
  color: #3f6212;
}
.ba-status--live span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(163,230,53,.18);
}
.ba-card h3 {
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  letter-spacing: -.02em;
}
.ba-card p {
  color: var(--ink-soft);
}
.ba-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ba-metrics span {
  min-width: 0;
  padding: 10px 12px;
  border-top: 1px solid rgba(213,220,235,.9);
  border-bottom: 1px solid rgba(213,220,235,.9);
  color: var(--slate);
  font-size: .82rem;
}
.ba-metrics b {
  display: block;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1.05rem;
  line-height: 1.1;
}
.ba-message-list {
  display: grid;
  gap: 8px;
}
.ba-message {
  gap: 12px;
  min-width: 0;
  padding: 9px 0;
  border-bottom: 1px solid rgba(213,220,235,.72);
}
.ba-message:last-child {
  border-bottom: 0;
}
.ba-state {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 900;
}
.ba-state--before {
  background: rgba(236,72,153,.12);
  color: #be185d;
}
.ba-state--after {
  background: rgba(163,230,53,.2);
  color: #3f6212;
}
.ba-message b,
.ba-message small {
  display: block;
}
.ba-message b {
  color: var(--ink);
  font-family: var(--font-head);
  font-size: .98rem;
  line-height: 1.25;
}
.ba-message small {
  margin-top: 3px;
  color: var(--slate);
  font-size: .78rem;
  line-height: 1.35;
}
.ba-card-note {
  align-self: end;
  padding-top: 4px;
  font-size: .86rem;
  color: var(--slate);
  display: none;
}
@media (max-height: 1000px) and (min-width: 761px) {
  .before-after-head {
    margin-bottom: 22px;
  }
  .before-after-head .lead {
    font-size: 1rem;
  }
  .ba-card {
    gap: 12px;
    padding: 26px 30px;
  }
  .ba-card p {
    line-height: 1.55;
  }
  .ba-message-list {
    gap: 6px;
  }
  .ba-message {
    padding: 7px 0;
  }
  .ba-card-note {
    display: none;
  }
}
@media (max-height: 820px) and (min-width: 761px) {
  .before-after-head .lead,
  .ba-card > p {
    display: none;
  }
}
@media (max-width: 1180px) and (min-width: 761px) {
  .before-after-section {
    --ba-card-width: calc((100vw - 112px) / 2);
  }
  .ba-card {
    padding: 24px;
  }
  .ba-card h3 {
    font-size: clamp(1.35rem, 3vw, 1.9rem);
  }
  .ba-card > p {
    font-size: .94rem;
  }
  .ba-metrics span {
    padding: 8px 8px;
    font-size: .72rem;
  }
}
html.dyslexia .ba-card {
  border-color: #e7e2d6;
  background: #fffdf8;
}
@media (max-width: 760px) {
  .before-after-section {
    --ba-card-width: 100%;
    --ba-side-start-x: 26px;
    min-height: 166vh;
  }
  .before-after-section .container {
    width: 100%;
    max-width: var(--maxw);
    margin-left: auto;
    margin-right: auto;
    transform: none;
  }
  .before-after-pin {
    padding: 36px 0 46px;
  }
  .before-after-head.center {
    text-align: left;
  }
  .before-after-head .eyebrow {
    justify-content: flex-start !important;
  }
  .before-after-head .lead {
    display: none;
  }
  .before-after-stack {
    width: min(100%, 520px);
  }
  .ba-card {
    gap: 13px;
    min-height: 430px;
    padding: 20px;
    border-radius: 22px;
  }
  .ba-card--before {
    transform: none;
  }
  .ba-card-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .ba-card h3 {
    font-size: clamp(1.35rem, 7vw, 1.8rem);
  }
  .ba-card > p {
    display: none;
  }
  .ba-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .ba-metrics span {
    display: block;
    padding: 7px 4px;
    font-size: .66rem;
    line-height: 1.2;
  }
  .ba-metrics b {
    font-size: .82rem;
  }
  .ba-message {
    padding: 8px 0;
  }
  .ba-state {
    width: 24px;
    height: 24px;
    font-size: .82rem;
  }
  .ba-message b {
    font-size: .9rem;
  }
  .ba-message small {
    display: none;
  }
  .ba-card-note {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .before-after-section {
    min-height: 0;
    padding: var(--section-y) 0;
  }
  .before-after-pin {
    position: relative;
    top: auto;
    min-height: 0;
    padding: 0;
  }
  .before-after-stack {
    display: grid;
    gap: 24px;
  }
  .ba-card,
  .ba-card--before,
  .ba-card--after {
    position: relative;
    top: auto;
    left: auto;
    transform: none !important;
    will-change: auto;
  }
  .ba-card--before,
  .ba-card--after {
    grid-area: auto;
  }
}
@media (prefers-reduced-motion: reduce) and (min-width: 860px) {
  .before-after-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    width: min(1180px, 100%);
  }
  .ba-card {
    width: 100%;
  }
}
/* Bare media container — no card box behind an animation that supplies its own surface */
.fr-media--bare {
  padding: 0;
  background: none;
  border: 0;
  min-height: 0;
  overflow: visible;
}
@media (min-width: 1360px) {
  .feature-row--manager {
    width: min(1344px, calc(100vw - 48px));
    margin-left: 50%;
    transform: translateX(-50%);
    grid-template-columns: minmax(780px, 1.38fr) minmax(300px, .62fr);
  }
}
.build-manager-map {
  position: relative;
  width: 100%;
  max-width: 920px;
  min-height: 640px;
  border-radius: 28px;
  border: 1px solid rgba(29,53,87,.1);
  background:
    radial-gradient(circle at 16% 18%, rgba(34,197,94,.15), transparent 28%),
    radial-gradient(circle at 84% 30%, rgba(124,26,237,.13), transparent 30%),
    linear-gradient(135deg,#f8fbff,#eef4ff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}
.build-manager-node {
  position: absolute;
  z-index: 4;
  width: 200px;
  min-height: 120px;
  display: grid;
  gap: 6px;
  align-content: center;
  padding: 16px;
  border: 1px solid rgba(124,26,237,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 18px 36px rgba(29,53,87,.1);
  animation: managerNodeGlow 12s ease-in-out infinite;
}
.build-manager-node > * {
  position: relative;
  z-index: 1;
}
.build-manager-node strong {
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1rem;
  line-height: 1.1;
}
.build-manager-node small {
  color: var(--ink-soft);
  font-size: .78rem;
  line-height: 1.35;
}
.node-kicker {
  width: fit-content;
  color: var(--purple);
  font-family: var(--font-body);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.build-manager-phone {
  position: absolute;
  left: 48px;
  top: 32px;
  z-index: 4;
  width: 198px;
  min-height: 318px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 34px 28px 30px 38px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.16), transparent 18%),
    linear-gradient(160deg,#071831 0%,#102348 42%,#1D3557 100%);
  box-shadow:
    26px 30px 58px rgba(29,53,87,.3),
    -8px -10px 26px rgba(255,255,255,.55),
    inset 4px 0 0 rgba(255,255,255,.12),
    inset -10px 0 18px rgba(0,0,0,.22),
    inset 0 -8px 20px rgba(0,0,0,.18);
  transform: perspective(760px) rotateX(7deg) rotateY(14deg) rotateZ(-4deg) skewY(-1.5deg);
  transform-origin: center;
  animation: managerPhoneFloat 12s ease-in-out infinite;
}
.build-manager-phone::before,
.build-manager-phone::after,
.phone-screen::before {
  content: "";
  position: absolute;
}
.build-manager-phone::before,
.build-manager-phone::after {
  border-radius: 999px;
  background: linear-gradient(180deg,#102348,#071831);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.build-manager-phone::before {
  left: -4px;
  top: 88px;
  width: 4px;
  height: 42px;
}
.build-manager-phone::after {
  right: -3px;
  top: 122px;
  width: 4px;
  height: 58px;
  transform: rotate(-2deg);
}
.phone-speaker {
  width: 42px;
  height: 4px;
  margin: 2px auto 8px;
  border-radius: 999px;
  background: linear-gradient(90deg,rgba(255,255,255,.25),rgba(255,255,255,.55),rgba(255,255,255,.22));
}
.phone-screen {
  position: relative;
  min-height: 288px;
  display: grid;
  align-content: start;
  gap: 9px;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 27px 23px 24px 31px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(255,255,255,.28), transparent 22%),
    radial-gradient(circle at 30% 84%, rgba(124,26,237,.24), transparent 28%),
    linear-gradient(155deg,#22c55e 0%,#12d7c8 55%,#0FF0FC 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.34),
    inset 0 -18px 34px rgba(0,0,0,.08),
    inset -8px -2px 16px rgba(8,27,54,.1);
}
.phone-screen::before {
  left: 8px;
  right: 1px;
  bottom: -5px;
  height: 18px;
  border-radius: 0 0 18px 30px;
  background: linear-gradient(90deg,rgba(0,0,0,.18),rgba(29,53,87,.34));
  transform: skewX(-24deg) rotate(-2deg);
  transform-origin: right center;
  pointer-events: none;
}
.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 18%;
  width: 34%;
  background: linear-gradient(90deg,rgba(255,255,255,.18),rgba(255,255,255,0));
  transform: skewX(-14deg);
  pointer-events: none;
}
.phone-status,
.phone-app-row,
.phone-event-card,
.phone-message,
.phone-actions {
  position: relative;
  z-index: 1;
}
.phone-screen .node-kicker,
.phone-screen strong,
.phone-screen small {
  color: #fff;
}
.phone-screen strong {
  font-family: var(--font-head);
  font-size: 1.02rem;
  line-height: 1.1;
}
.phone-screen small {
  font-size: .7rem;
  line-height: 1.35;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.86);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .03em;
}
.phone-app-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px;
  border-radius: 16px;
  background: rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.phone-app-row > span:last-child {
  display: grid;
  gap: 1px;
}
.phone-app-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  color: #fff;
  font-size: .62rem;
  font-weight: 900;
  background: linear-gradient(135deg,#7C1AED,#EC4899 58%,#FBBF24);
  box-shadow: 0 8px 18px rgba(124,26,237,.22);
}
.phone-app-row strong {
  font-size: .82rem;
}
.phone-bubble-stream {
  position: absolute;
  inset: 19px 9px 47px;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  transform: rotate(1.1deg) skewY(.35deg);
  transform-origin: center;
}
.phone-chat-bubble {
  position: absolute;
  bottom: -21px;
  max-width: 76%;
  padding: 7px 10px;
  border-radius: 13px;
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0;
  opacity: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  backface-visibility: hidden;
  box-shadow:
    0 10px 22px rgba(8,27,54,.16),
    inset 0 1px 0 rgba(255,255,255,.28);
  animation: phoneBubbleRise 11s linear infinite;
  animation-delay: calc(var(--i) * 2.15s);
}
.phone-chat-bubble--user {
  right: 3px;
  color: #0b3150;
  background: linear-gradient(135deg, rgba(240,253,255,.96), rgba(103,232,249,.92));
  border-bottom-right-radius: 4px;
}
.phone-chat-bubble--agent {
  left: 3px;
  color: #fff;
  background: linear-gradient(135deg, rgba(124,26,237,.94), rgba(236,72,153,.9));
  border-bottom-left-radius: 4px;
}
.phone-event-card {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(8,27,54,.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 10px 20px rgba(8,27,54,.08);
}
.phone-message {
  width: 92%;
  justify-self: end;
  padding: 10px 11px;
  border-radius: 14px 14px 14px 4px;
  background: rgba(255,255,255,.23);
  color: #fff;
  font-size: .68rem;
  line-height: 1.35;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 10px 20px rgba(8,27,54,.08);
}
.phone-actions {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 7px;
}
.phone-actions span {
  display: grid;
  place-items: center;
  min-height: 28px;
  border-radius: 999px;
  color: #102348;
  background: rgba(255,255,255,.9);
  font-size: .58rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(8,27,54,.12);
}
.phone-actions span:last-child {
  color: #fff;
  background: rgba(29,53,87,.78);
}
.build-manager-node--lead {
  left: 350px;
  top: 68px;
  border-color: rgba(124,26,237,.26);
  background: linear-gradient(135deg, rgba(124,26,237,.12), rgba(255,255,255,.96) 52%);
  animation-delay: 1.8s;
}
.build-manager-node--crm {
  right: 58px;
  top: 98px;
  border-color: rgba(15,240,252,.34);
  background: linear-gradient(135deg, rgba(15,240,252,.16), rgba(255,255,255,.96) 54%);
  animation-delay: 3.6s;
}
.build-manager-node--follow {
  left: 320px;
  top: 440px;
  border-color: rgba(236,72,153,.28);
  background: linear-gradient(135deg, rgba(236,72,153,.14), rgba(255,255,255,.96) 56%);
  animation-delay: 5.4s;
}
.build-manager-node--analytics {
  left: 48px;
  bottom: 80px;
  border-color: rgba(163,230,53,.36);
  background: linear-gradient(135deg, rgba(163,230,53,.18), rgba(255,255,255,.96) 55%);
  animation-delay: 7.2s;
}
.build-manager-node--governance {
  right: 48px;
  bottom: 80px;
  border-color: rgba(29,53,87,.18);
  background: linear-gradient(135deg, #f6f8ff 0%, #f2ecff 48%, #fff 100%);
  animation-delay: 9s;
}
.build-manager-node--governance::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 61px;
  z-index: 0;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg,rgba(15,240,252,.1),rgba(124,26,237,.04) 34%,rgba(124,26,237,0) 76%);
  opacity: .14;
  transform: rotate(48deg);
  transform-origin: left center;
  pointer-events: none;
}
.manager-flow-svg {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.manager-flow-path {
  fill: none;
  stroke: url(#managerFlowGradient);
  stroke-width: 5;
  stroke-linecap: round;
  opacity: .5;
}
.manager-flow-path--source {
  stroke-width: 6;
  opacity: .66;
}
.manager-flow-path--control,
.manager-flow-path--manager {
  stroke-width: 4;
  opacity: .44;
}
.manager-flow-path--manager {
  stroke-width: 4.5;
  opacity: .62;
}
.manager-flow-path--lower {
  stroke-width: 5.5;
  opacity: .86;
}
.manager-flow-path--lower.manager-flow-path--control {
  stroke-width: 5.5;
  opacity: .84;
}
.manager-flow-path--mcp {
  stroke-width: 4.5;
  opacity: .48;
}
.manager-flow-gap {
  fill: none;
  stroke: url(#managerFlowGradient);
  stroke-width: 6;
  stroke-linecap: round;
  opacity: .18;
  filter: drop-shadow(0 0 6px rgba(124,26,237,.12));
}
.manager-gap-rail {
  position: absolute;
  top: 497px;
  z-index: 5;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg,#7C1AED,#EC4899 58%,#0FF0FC);
  box-shadow: 0 0 8px rgba(124,26,237,.12);
  pointer-events: none;
}
.manager-gap-rail::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  border: 5px solid #22c55e;
  border-radius: 50%;
  background: #fff;
  filter: drop-shadow(0 0 10px rgba(34,197,94,.42));
  transform: translate(-50%, -50%);
  opacity: 0;
}
.manager-gap-rail--analytics-follow {
  left: 248px;
  width: 72px;
}
.manager-gap-rail--analytics-follow::after {
  animation: managerRailDotReverse 12s linear infinite 7.2s;
}
.manager-gap-rail--follow-controls {
  left: 520px;
  width: 92px;
  background: linear-gradient(90deg,#7C1AED 0%,#EC4899 42%,rgba(15,240,252,.44) 68%,rgba(15,240,252,0) 100%);
}
.manager-gap-rail--follow-controls::after {
  border-color: #1D3557;
  filter: drop-shadow(0 0 10px rgba(29,53,87,.34));
  animation: managerRailDotForward 12s linear infinite 9.6s;
}
.manager-flow-dot {
  fill: #fff;
  stroke: #7C1AED;
  stroke-width: 5;
  filter: drop-shadow(0 0 10px rgba(124,26,237,.45));
}
.manager-flow-dot--two {
  stroke: #EC4899;
  filter: drop-shadow(0 0 10px rgba(236,72,153,.45));
}
.manager-flow-dot--three {
  stroke: #0FF0FC;
  filter: drop-shadow(0 0 10px rgba(15,240,252,.5));
}
.manager-flow-dot--four {
  stroke: #22c55e;
  filter: drop-shadow(0 0 10px rgba(34,197,94,.42));
}
.manager-flow-dot--five {
  stroke: #1D3557;
  filter: drop-shadow(0 0 10px rgba(29,53,87,.34));
}
.manager-flow-dot--six {
  stroke: #A3E635;
  filter: drop-shadow(0 0 10px rgba(163,230,53,.44));
}
.manager-flow-dot--seven {
  stroke: #1D3557;
  filter: drop-shadow(0 0 10px rgba(29,53,87,.34));
}
.build-manager-caption {
  position: absolute;
  left: 275px;
  right: 275px;
  top: 282px;
  bottom: auto;
  z-index: 4;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(29,53,87,.1);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px rgba(29,53,87,.08);
}
.build-manager-caption span {
  color: var(--purple);
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.build-manager-caption strong {
  color: var(--ink);
  font-family: var(--font-head);
  font-size: .96rem;
  line-height: 1.25;
}
@media (max-width: 1359px) and (min-width: 641px) {
  .build-manager-map {
    width: 100%;
    min-height: 940px;
  }
  .build-manager-phone,
  .build-manager-node {
    width: calc(50% - 54px);
  }
  .build-manager-phone {
    left: 28px;
    top: 36px;
  }
  .build-manager-node--lead {
    left: auto;
    right: 28px;
    top: 70px;
  }
  .build-manager-node--crm {
    left: 28px;
    right: auto;
    top: 360px;
  }
  .build-manager-node--follow {
    left: auto;
    right: 28px;
    top: 360px;
  }
  .build-manager-node--analytics {
    left: 28px;
    bottom: 170px;
  }
  .build-manager-node--governance {
    right: 28px;
    bottom: 170px;
  }
  .manager-flow-svg {
    display: none;
  }
  .manager-gap-rail {
    display: none;
  }
  .build-manager-caption {
    left: 28px;
    right: 28px;
    bottom: 28px;
  }
}
@keyframes managerNodeGlow {
  0%, 18%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 18px 36px rgba(29,53,87,.1);
  }
  7%, 12% {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 26px 48px rgba(124,26,237,.16);
  }
}
@keyframes managerPhoneFloat {
  0%, 18%, 100% {
    transform: perspective(760px) rotateX(7deg) rotateY(14deg) rotateZ(-4deg) skewY(-1.5deg) translateY(0) scale(1);
  }
  7%, 12% {
    transform: perspective(760px) rotateX(8deg) rotateY(16deg) rotateZ(-4.8deg) skewY(-1.7deg) translateY(-6px) scale(1.02);
  }
}
@keyframes phoneBubbleRise {
  0% {
    opacity: 0;
    bottom: -21px;
    margin-inline-start: 0;
  }
  9%, 22% {
    opacity: .96;
  }
  52% {
    opacity: .82;
    bottom: 144px;
    margin-inline-start: 4px;
  }
  72% {
    opacity: 0;
    bottom: 214px;
    margin-inline-start: 7px;
  }
  100% {
    opacity: 0;
    bottom: 214px;
    margin-inline-start: 7px;
  }
}
@keyframes managerRailDotReverse {
  0%, 100% { opacity: 0; transform: translate(72px, -50%); }
  4%, 18% { opacity: 1; }
  22% { opacity: 0; transform: translate(0, -50%); }
  23%, 99% { opacity: 0; transform: translate(0, -50%); }
}
@keyframes managerRailDotForward {
  0%, 100% { opacity: 0; transform: translate(0, -50%); }
  4%, 13% { opacity: 1; }
  17% { opacity: 0; transform: translate(78px, -50%); }
  18%, 99% { opacity: 0; transform: translate(78px, -50%); }
}
@media (max-width: 640px) {
  .fr-media--screenshot {
    margin-inline: calc(var(--container-pad) * -1);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }
  .build-widget-captions {
    grid-template-columns: 1fr;
    padding: 12px var(--container-pad);
  }
  .build-widget-caption {
    min-height: 0;
  }
  .fr-media--manager {
    padding: 14px;
  }
  .build-manager-map {
    min-height: 760px;
  }
  .build-manager-phone,
  .build-manager-node {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: auto;
    margin: 14px;
  }
  .build-manager-phone {
    width: min(230px, calc(100% - 28px));
    min-height: 320px;
    margin: 14px auto;
  }
  .phone-screen {
    min-height: 266px;
  }
  .manager-flow-svg {
    display: none;
  }
  .manager-gap-rail {
    display: none;
  }
  .build-manager-caption {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 14px;
  }
}

/* breadcrumb */
.crumb { font-size: .8rem; color: var(--text-on-dark-soft); margin-bottom: 18px; }
.crumb a:hover { color: #fff; }

/* page hero (generic) */
.page-hero { background: var(--grad-ink); color: var(--text-on-dark); padding: clamp(56px,8vw,100px) 0; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p { color: var(--text-on-dark-soft); max-width: 60ch; margin-top: 14px; }
.page-hero--photo { position: relative; background-size: cover; background-position: center right; background-repeat: no-repeat; }
/* Size the photo hero to fill from under the sticky 73px header down to the fold, content vertically centred */
.page-hero--photo { min-height: calc(100svh - 73px); display: grid; align-content: center; }
/* Compact photo hero: normal page-hero height with the H1 at the top (above the fold), aligned with the non-photo hero pages */
.page-hero--photo.page-hero--compact { min-height: 0; display: block; }
/* Taller variant, biased to the top of the image, so a full-height subject (e.g. the security shield) is shown whole and never cropped at the top */
.page-hero--photo.page-hero--compact.page-hero--tall { min-height: clamp(480px, 42vw, 700px); background-position: right 30%; }
/* Keep the heading, copy and buttons in a left column, clear of the person on the right of the photo */
@media (min-width: 761px) {
  .page-hero--photo .container > * { max-width: min(42%, 540px); }
}
.page-hero--photo .page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,27,51,.95) 0%, rgba(14,27,51,.82) 42%, rgba(14,27,51,.32) 100%); }
.page-hero--photo.page-hero--travel .page-hero-overlay {
  background: linear-gradient(90deg, rgba(14,27,51,.72) 0%, rgba(14,27,51,.52) 42%, rgba(14,27,51,.10) 100%);
}
.page-hero--photo.page-hero--services .page-hero-overlay {
  background: linear-gradient(90deg, rgba(14,27,51,.70) 0%, rgba(14,27,51,.48) 42%, rgba(14,27,51,.08) 100%);
}

/* Customer Service product cards sit on a dark section, but the cards
   themselves are light: keep both heading levels strongly legible. */
.support-products-section .cap-card h3,
.support-products-section .cap-card h4 {
  color: #0b1220;
  font-weight: 900;
}

/* Travel solution explainers */
.travel-visual-section { padding-bottom: 0; }
.travel-journey-map {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}
.travel-journey-node {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 24px 16px 20px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.travel-node-number {
  position: absolute;
  top: 10px;
  left: 12px;
  color: var(--muted);
  font: 700 .72rem/1 var(--mono);
}
.travel-node-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 14px;
  color: #fff;
  font-size: 1.25rem;
}
.travel-journey-node h3 { margin: 0; font-size: 1rem; }
.travel-journey-node p { margin: 7px 0 0; font-size: .84rem; }
.travel-flow-arrow,
.travel-eco-arrow {
  align-self: center;
  flex: 0 0 auto;
  color: var(--purple);
  font-size: 1.5rem;
  font-weight: 800;
}
.travel-ecosystem-flow {
  display: grid;
  grid-template-columns: minmax(190px,.8fr) auto minmax(350px,1.5fr) auto minmax(190px,.8fr);
  gap: 18px;
  align-items: center;
  margin: 38px 0 42px;
  padding: clamp(22px,3vw,38px);
  background: linear-gradient(135deg, var(--pale-blue), #fff);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
}
.travel-eco-source,
.travel-eco-results,
.travel-eco-product {
  display: flex;
  gap: 12px;
  align-items: center;
}
.travel-eco-source {
  flex-direction: column;
  text-align: center;
}
.travel-eco-source small,
.travel-eco-product small,
.travel-eco-results small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .77rem;
}
.travel-eco-avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1.4rem;
}
.travel-eco-products { display: grid; gap: 10px; }
.travel-eco-product {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.travel-eco-product > span {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #fff;
}
.travel-eco-product b { min-width: 92px; }
.travel-eco-results { flex-direction: column; align-items: stretch; }
.travel-eco-results > span {
  padding: 11px 12px;
  background: #fff;
  border-left: 4px solid var(--lime);
  border-radius: 8px;
}
.marketing-journey-map { flex-wrap: wrap; }
.marketing-journey-map .travel-journey-node { flex: 1 1 150px; }
.marketing-journey-map .travel-flow-arrow { display: none; }
.marketing-content-flow {
  grid-template-columns: 1fr;
  width: 100%;
  margin: 0;
}
.marketing-content-flow .travel-eco-arrow {
  justify-self: center;
  transform: rotate(90deg);
}
.travel-phone-wrap { max-width: 420px; margin: 0 auto; }
.travel-phone {
  width: min(100%, 350px);
  margin: 0 auto;
  padding: 9px;
  color: var(--ink);
  background: linear-gradient(145deg, #3e4652, #090b0f 42%, #343b46);
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 48px;
  box-shadow: 0 30px 70px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.12);
}
.travel-phone-screen {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  background: #edf2ef;
  border-radius: 40px;
}
.travel-phone-island {
  position: absolute;
  z-index: 4;
  top: 10px;
  left: 50%;
  width: 94px;
  height: 27px;
  background: #050608;
  border-radius: 999px;
  transform: translateX(-50%);
}
.travel-phone-status {
  display: flex;
  justify-content: space-between;
  padding: 15px 22px 8px;
  color: #111827;
  font: 700 .68rem/1 var(--sans);
}
.travel-chat-head {
  display: flex;
  gap: 11px;
  align-items: center;
  min-height: 58px;
  padding: 8px 14px 10px;
  color: var(--ink);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(29,53,87,.1);
}
.travel-chat-head small { display: block; margin-top: 2px; color: #64748b; }
.travel-chat-head i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--lime);
}
.travel-chat-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-brand);
  font-weight: 900;
}
.travel-chat-back { color: #1877f2; font-size: 2rem; line-height: .8; }
.travel-chat-info { margin-left: auto; color: #1877f2; font-size: 1.1rem; }
.travel-chat-body {
  display: grid;
  align-content: end;
  gap: 0;
  height: 520px;
  overflow: hidden;
  padding: 14px 12px 12px;
  background:
    radial-gradient(circle at 20% 10%, rgba(15,240,252,.07), transparent 34%),
    linear-gradient(#edf2ef, #e8efeb);
}
.travel-message {
  max-width: 82%;
  max-height: 0;
  margin: 0;
  padding: 0 11px;
  overflow: hidden;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(29,53,87,.08);
  font-size: .78rem;
  line-height: 1.35;
  opacity: 0;
  visibility: hidden;
  transform: translateY(28px) scale(.985);
  transition:
    max-height .72s cubic-bezier(.22,.75,.25,1),
    margin .72s cubic-bezier(.22,.75,.25,1),
    padding .72s cubic-bezier(.22,.75,.25,1),
    opacity .48s ease .08s,
    transform .68s cubic-bezier(.22,.75,.25,1),
    visibility 0s linear .72s;
}
.travel-message.is-visible {
  max-height: 180px;
  margin: 0 0 8px;
  padding: 9px 11px 7px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}
.travel-message time {
  display: block;
  margin-top: 5px;
  color: #6b7280;
  font-size: .66rem;
  text-align: right;
}
.travel-message--customer {
  justify-self: end;
  background: #1877f2;
  color: #fff;
  border-bottom-right-radius: 5px;
}
.travel-message--customer time { color: rgba(255,255,255,.72); }
.travel-message--bot { border-bottom-left-radius: 5px; }
.travel-message--success { border-left: 3px solid var(--lime); }
.travel-phone-compose {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 12px 13px;
  color: #1877f2;
  background: #fff;
  font-weight: 800;
}
.travel-compose-field {
  padding: 7px 12px;
  color: #8b95a3;
  background: #f3f5f7;
  border: 1px solid #dfe4e8;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 400;
}
.travel-phone-home {
  width: 112px;
  height: 4px;
  margin: -7px auto 7px;
  background: #111827;
  border-radius: 99px;
}
.travel-phone-caption {
  max-width: 380px;
  margin: 18px auto 0;
  color: rgba(255,255,255,.76);
  font-size: .82rem;
  text-align: center;
}
.travel-phone-caption span { color: var(--lime); font-weight: 900; }
.travel-chat-options { display: flex; flex-wrap: wrap; gap: 8px; }
.travel-chat-options span {
  padding: 8px 11px;
  color: var(--navy);
  background: #fff;
  border: 1px solid rgba(29,53,87,.18);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
}
.travel-chat-status {
  padding-top: 8px;
  color: #52606d;
  border-top: 1px solid rgba(29,53,87,.12);
  font-size: .73rem;
  text-align: center;
}
.travel-chat-status span { color: #39914a; font-weight: 900; }
@media (max-width: 980px) {
  .travel-journey-map { flex-wrap: wrap; }
  .travel-journey-node { flex: 1 1 28%; }
  .travel-flow-arrow { display: none; }
  .travel-ecosystem-flow { grid-template-columns: 1fr; }
  .travel-eco-arrow { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 620px) {
  .travel-journey-node { flex-basis: 100%; }
  .travel-eco-product { align-items: flex-start; }
  .travel-eco-product b { min-width: 76px; }
  .travel-phone { width: min(100%, 330px); }
  .travel-phone-screen { min-height: 640px; }
  .travel-chat-body { height: 480px; padding: 12px 10px 10px; }
  .travel-message { max-width: 92%; }
}
@media (prefers-reduced-motion: reduce) {
  .travel-message,
  .travel-message.is-visible {
    max-height: none;
    margin-bottom: 8px;
    padding: 9px 11px 7px;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
}
.page-hero--photo .container { position: relative; z-index: 1; }
/* Photo hero with no dark overlay — dark text for contrast on a light image */
.page-hero--on-light h1, .page-hero--on-light p { color: var(--ink); }
/* Bolder copy + a soft light halo so text stays legible over the busy photo */
.page-hero--on-light h1 { font-weight: 800; text-shadow: 0 1px 14px rgba(255,255,255,.65); }
.page-hero--on-light p { font-weight: 600; text-shadow: 0 1px 10px rgba(255,255,255,.6); }
.page-hero--on-light .btn-outline-on-dark { border-color: var(--ink); color: var(--ink); }
.page-hero--on-light .btn-outline-on-dark:hover { background: rgba(14,27,51,.06); }
/* Photo hero variant with white text — for photos where a dark halo reads better than a light one */
.page-hero--on-light.page-hero--text-white h1, .page-hero--on-light.page-hero--text-white p { color: #fff; }
.page-hero--on-light.page-hero--text-white h1 { text-shadow: 0 1px 4px rgba(0,0,0,.5), 0 4px 24px rgba(0,0,0,.45); }
.page-hero--on-light.page-hero--text-white p { text-shadow: 0 1px 3px rgba(0,0,0,.5), 0 2px 16px rgba(0,0,0,.4); }
@media (max-width: 760px) {
  .page-hero--photo { background-position: center; }
  .page-hero--photo .page-hero-overlay { background: linear-gradient(180deg, rgba(14,27,51,.9) 0%, rgba(14,27,51,.86) 100%); }
  .page-hero--photo.page-hero--travel .page-hero-overlay {
    background: linear-gradient(180deg, rgba(14,27,51,.68) 0%, rgba(14,27,51,.52) 100%);
  }
  .page-hero--photo.page-hero--services .page-hero-overlay {
    background: linear-gradient(180deg, rgba(14,27,51,.66) 0%, rgba(14,27,51,.48) 100%);
  }
}

/* Resources + blog */
.resource-card { display: flex; flex-direction: column; }
.resource-card--active { color: inherit; }
.resource-card--active .card-link { margin-top: auto; padding-top: 18px; }
.blog-hero { overflow: hidden; }
.blog-hero-grid { display: grid; gap: 36px; align-items: center; }
.blog-hero h1 { max-width: 13ch; }
.blog-hero .crumb { font-size: .82rem; margin: 0 0 18px; color: var(--text-on-dark-soft); }
.blog-hero .crumb a { color: #fff; }
.blog-topic-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.blog-topic-row span {
  display: inline-flex; align-items: center; min-height: 36px; padding: .55em .9em;
  border: 1px solid var(--line-dark); border-radius: 999px; color: #fff;
  background: rgba(255,255,255,.08); font-size: .78rem;
}
.blog-hero-panel {
  position: relative; min-height: 360px; border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg); padding: 18px; background: rgba(255,255,255,.07);
  box-shadow: 0 28px 90px rgba(0,0,0,.24); overflow: hidden;
}
.blog-hero-panel::before {
  content: ""; position: absolute; inset: auto -20% -35% 10%; height: 220px;
  background: var(--grad-brand); filter: blur(36px); opacity: .42;
}
.blog-image-placeholder {
  min-height: 100%; border: 1.5px dashed rgba(124,26,237,.34);
  border-radius: var(--radius); background:
    linear-gradient(135deg, rgba(15,240,252,.16), rgba(124,26,237,.12)),
    repeating-linear-gradient(135deg, rgba(29,53,87,.06) 0 10px, rgba(29,53,87,.02) 10px 20px);
  display: grid; place-items: center; color: var(--ink-soft); font-size: .78rem;
  text-transform: uppercase; letter-spacing: .12em; text-align: center; padding: 22px;
}
.blog-image-placeholder--hero { position: relative; z-index: 1; height: 100%; min-height: 320px; border-color: rgba(255,255,255,.38); color: #fff; }
.blog-image {
  min-height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--pale-blue);
  box-shadow: var(--shadow-sm);
}
.blog-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-image--hero { position: relative; z-index: 1; height: 100%; min-height: 320px; }
.blog-image--feature { min-height: auto; aspect-ratio: 1024 / 683; align-self: center; }
.blog-image--wide { width: 100%; min-height: 0; height: auto; border-radius: 0; box-shadow: none; }
.blog-image--wide img { height: auto; display: block; object-fit: contain; }
.blog-image--card { border-radius: 0; min-height: 220px; }
/* Inline body images inside an article: size to natural ratio in normal flow
   (the base .blog-image is built for fixed-height grid/flex cells, which would
   otherwise blow the figure up to the full article height). */
.blog-article .blog-image { min-height: 0; }
.blog-article .blog-image img { height: auto; display: block; object-fit: contain; }
.blog-article .blog-image--double-space { margin-top: 32px; margin-bottom: 32px; }
.blog-mini-stack { position: absolute; right: 28px; bottom: 28px; z-index: 2; display: grid; gap: 8px; width: min(180px, 44%); }
.blog-mini-stack span { height: 12px; border-radius: 999px; background: rgba(255,255,255,.82); }
.blog-mini-stack span:nth-child(2) { width: 78%; background: var(--cyan); }
.blog-mini-stack span:nth-child(3) { width: 58%; background: var(--lime); }
.blog-feature {
  display: grid; gap: 28px; align-items: center; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(18px,3vw,32px); background: #fff;
  box-shadow: var(--shadow); overflow: hidden;
}
.blog-feature-link { color: inherit; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.blog-feature-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-feature > .blog-image-placeholder { min-height: 340px; }
.blog-feature-copy { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.blog-feature-copy h2 { max-width: 12ch; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.blog-meta span {
  display: inline-flex; align-items: center; min-height: 30px; padding: .38em .72em;
  border-radius: 999px; background: rgba(124,26,237,.08); color: var(--purple);
  font-size: .72rem; font-weight: 600;
}
.blog-article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.blog-aside {
  display: grid; gap: 10px; padding: 22px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm);
  min-width: 0;
}
.blog-aside .eyebrow { margin-bottom: 6px; }
.blog-aside a { color: var(--ink-soft); font-size: .88rem; transition: color .15s; }
.blog-aside a:hover { color: var(--purple); }
.blog-article { --blog-copy-width: 980px; padding: clamp(24px,4vw,52px); min-width: 0; }
.blog-article > * { width: min(100%, var(--blog-copy-width)); max-width: none; margin-left: auto; margin-right: auto; }
.blog-article h2 { margin-top: 34px; font-size: clamp(1.55rem,2.4vw,2.2rem); text-align: left; }
.blog-article h2:first-of-type { margin-top: 18px; }
.blog-article p { margin-top: 16px; text-align: left; }
.blog-article blockquote {
  margin-top: 28px; padding: 24px; border-left: 5px solid var(--lime);
  border-radius: var(--radius-sm); background: var(--pale-blue); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; line-height: 1.45;
}
.blog-article ul { margin-top: 16px; display: grid; gap: 10px; padding-left: 1.2rem; list-style: disc; color: var(--ink-soft); }
.blog-article li { padding-left: .25rem; }
.blog-article .btn { max-width: 100%; white-space: normal; text-align: center; }
.blog-article .blog-final-note { margin-top: 30px; padding: 24px; border-radius: var(--radius); background: var(--grad-ink); color: #fff; }
.blog-article .blog-final-note p { color: var(--text-on-dark-soft); }
.blog-inline-placeholder { min-height: 260px; margin-top: 28px; border-radius: var(--radius); background: var(--grad-cool); display: grid; place-items: center; color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.blog-card-grid { display: grid; gap: 24px; }
.blog-card {
  display: grid; grid-template-rows: 220px 1fr; overflow: hidden; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm);
  color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-image-placeholder--card { border: 0; border-radius: 0; min-height: 220px; }
.blog-card-copy { display: grid; gap: 12px; padding: 24px; align-content: start; }
.blog-card-copy h3 { min-height: 0; font-size: 1.15rem; }
.blog-card-copy p { font-size: .9rem; }
.blog-article-masthead { padding: clamp(36px,4.5vw,68px) 0 clamp(22px,3vw,42px); background: #fff; }
.blog-crumb { margin-bottom: 22px; color: var(--slate); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.blog-crumb a { color: var(--ink-soft); }
.blog-article-masthead h1 {
  max-width: 22ch; margin: 0 auto; color: var(--ink);
  font-size: clamp(2.35rem,5vw,4.6rem); line-height: .98; letter-spacing: -0.035em;
}
.blog-article-summary { margin: 22px auto 0; max-width: 78ch; font-size: clamp(1.02rem,1.35vw,1.16rem); }
.blog-article-meta-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; margin-top: 22px;
  color: var(--slate); font-size: .86rem; text-transform: uppercase; letter-spacing: .08em;
}
.blog-article-meta-row a { color: var(--ink); border-bottom: 1px solid currentColor; }
.blog-share-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; }
.blog-share-row span { color: var(--ink); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.blog-share-row a, .blog-share-toggle, .blog-floating-lozenge a:last-child, .blog-floating-lozenge a:nth-last-child(2), .blog-floating-lozenge a:nth-last-child(3) {
  width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 800; font-size: .84rem;
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.blog-share-row a:hover, .blog-share-toggle:hover, .blog-floating-lozenge a:hover { transform: translateY(-2px); border-color: var(--purple); color: var(--purple); }

/* Expandable share button */
.blog-share-toggle { flex: 0 0 auto; cursor: pointer; }
.blog-share-toggle svg { width: 17px; height: 17px; }
.blog-share-links a svg { width: 16px; height: 16px; }
.blog-share-links {
  display: inline-flex; align-items: center; gap: 10px;
  max-width: 0; opacity: 0; overflow: hidden; pointer-events: none;
  transition: max-width .38s var(--ease), opacity .25s var(--ease);
}
.blog-share-row.is-open .blog-share-links { max-width: 260px; opacity: 1; pointer-events: auto; }
.blog-share-row.is-open .blog-share-toggle { background: var(--purple); border-color: var(--purple); color: #fff; }
.blog-article-image-band { width: 100%; overflow: hidden; background: var(--pale-blue); }
.blog-floating-lozenge {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 900;
  display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px);
  padding: 12px 16px; border: 1px solid rgba(29,53,87,.12); border-radius: 999px;
  background: rgba(249,250,251,.9); backdrop-filter: blur(18px); box-shadow: var(--shadow-lg);
}
.blog-floating-lozenge a { white-space: nowrap; color: var(--ink); font-size: .82rem; font-weight: 700; }
.blog-floating-lozenge a:first-child { color: var(--purple); }
.blog-floating-lozenge span { width: 1px; height: 28px; background: var(--line); }
@media (min-width: 860px) {
  .blog-hero-grid { grid-template-columns: 1fr .82fr; }
  .blog-feature { grid-template-columns: .92fr 1fr; }
  .blog-article-layout { grid-template-columns: 260px minmax(0,1fr); }
  .blog-aside { position: sticky; top: 96px; }
  .blog-card-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .blog-hero-panel { min-height: 260px; }
  .blog-image-placeholder--hero { min-height: 230px; }
  .blog-image--hero { min-height: 230px; }
  .blog-image--wide { height: auto; }
  .blog-feature > .blog-image-placeholder { min-height: 240px; }
  .blog-floating-lozenge { gap: 8px; padding: 10px; bottom: 14px; }
  .blog-floating-lozenge a { font-size: .72rem; }
  .blog-floating-lozenge a:nth-child(2), .blog-floating-lozenge span { display: none; }
}

/* Logos strip */
.logos { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.logo-chip { padding: .6em 1.1em; border-radius: 999px; border: 1px solid var(--line-dark); font-size: .82rem; color: var(--text-on-dark-soft); }

/* misc */
.center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 44px; }
.muted { color: var(--slate); }
.hide { display: none !important; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(34px) scale(.985);
  transition:
    opacity .92s var(--ease) var(--d, 0s),
    transform .92s var(--ease) var(--d, 0s);
}
.reveal.reveal-up { transform: translateY(54px) scale(.975); }
.reveal.reveal-left { transform: translateX(-72px) scale(.975); }
.reveal.reveal-right { transform: translateX(72px) scale(.975); }
.reveal.reveal-scale { transform: translateY(30px) scale(.94); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } }

/* =====================================================================
   ENHANCEMENT LAYER — nav depth, Card Stack motif, Flex Mode,
   FAQ/AEO, WCAG 2.2 AA affordances
   ===================================================================== */

/* ---- Skip link ---- */
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 2000;
  background: var(--ink); color: #fff; padding: .7em 1.1em; border-radius: 10px;
  font-size: .9rem; transform: translateY(-150%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---- Deeper mega-menu ---- */
.mega-wide { width: min(720px, 92vw); }
.mega-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mega-col { display: grid; gap: 2px; align-content: start; }
.mega-link { display: flex; flex-direction: column; padding: 9px 10px; border-radius: 11px; transition: background .15s; }
.mega-link:hover { background: var(--pale-blue); }
.mega-link b { font-family: var(--font-head); font-size: .9rem; color: var(--ink); }
.mega-link span { font-size: .76rem; color: var(--slate); }
.mega-link.sm { flex-direction: row; align-items: center; gap: 8px; font-size: .86rem; color: var(--ink); padding: 8px 10px; }
.mega-link.sm:hover { color: var(--purple); }
.mi-emoji { font-size: 1rem; }
.mega-ind { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-foot { display: inline-flex; align-items: center; gap: .4em; margin-top: 12px; padding: 10px; font-size: .82rem; font-weight: 500; color: var(--purple); border-top: 1px solid var(--line); }
.mega-foot .arrow { transition: transform .2s var(--ease); }
.mega-foot:hover .arrow { transform: translateX(3px); }
.soon-tag { font-style: normal; font-size: .62rem; color: var(--purple); background: rgba(124,26,237,.1); padding: .1em .4em; border-radius: 5px; vertical-align: middle; }

/* ---- Dyslexia toggle button ---- */
.dys-toggle {
  display: inline-flex; align-items: center; gap: .5em; min-height: 40px; padding: .5em .8em;
  border-radius: 999px; font-family: var(--font-body); font-size: .82rem; color: var(--ink-soft);
  border: 1.5px solid var(--line); background: #fff; transition: border-color .15s, color .15s, background .15s;
  white-space: nowrap; flex-shrink: 0;
}
.dys-toggle:hover { border-color: var(--purple); color: var(--purple); }
.dys-toggle .dys-ico { font-weight: 700; }
.dys-toggle[aria-pressed="true"] { background: var(--purple); color: #fff; border-color: var(--purple); }

/* ---- Mobile menu accordion groups ---- */
.m-group { border-bottom: 1px solid var(--line); }
.m-group > summary { list-style: none; cursor: pointer; padding: 14px 4px; font-size: 1rem; color: var(--ink); font-family: var(--font-head); font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.m-group > summary::-webkit-details-marker { display: none; }
.m-group > summary::after { content: "+"; color: var(--purple); font-size: 1.2rem; }
.m-group[open] > summary::after { content: "–"; }
.m-group a { padding: 9px 4px 9px 14px; border-bottom: none; font-size: .92rem; color: var(--ink-soft); }
.m-sub { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); padding: 10px 4px 4px; }

/* =====================================================================
   SIGNATURE CARD STACK (flow)
   ===================================================================== */
.cardstack { display: grid; gap: 0; max-width: 380px; margin: 0 auto; }
.cs-card {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); position: relative; z-index: 2;
}
.cs-ico {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto; display: grid; place-items: center;
  font-size: 1.2rem; font-family: var(--font-head); font-weight: 800; color: #fff; background: var(--slate);
}
.cs-txt { display: grid; }
.cs-txt b { font-family: var(--font-head); font-size: .92rem; color: var(--ink); line-height: 1.2; }
.cs-txt span { font-size: .78rem; color: var(--slate); }
.cs-conn { width: 2px; height: 22px; margin: 0 auto; background: linear-gradient(var(--purple), var(--cyan)); position: relative; z-index: 1; }
.cs-conn::after { content: ""; position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 7px; height: 7px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); }
.cs-msg .cs-ico { background: linear-gradient(135deg,var(--slate),#94a3b8); }
.cs-brand .cs-ico { background: var(--grad-brand); }
.cs-brand { border-color: rgba(124,26,237,.3); box-shadow: 0 16px 40px rgba(124,26,237,.18); }
.cs-know .cs-ico { background: linear-gradient(135deg,var(--cyan),var(--purple)); }
.cs-act .cs-ico { background: linear-gradient(135deg,var(--lime),var(--cyan)); }
.cs-done .cs-ico { background: linear-gradient(135deg,#16a34a,var(--lime)); }
/* on dark hero, cards stay light for contrast — that's intentional and premium */

/* ---- DECK (overlapping stacked cards / integrations) ---- */
.deck { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.deck--int { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.deck--more-int { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.deck--wrap { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
/* Ecosystem product buttons (partners page) */
.eco-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; max-width: 880px; margin: 34px auto 0; }
.eco-btn { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.eco-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(124,26,237,.28); }
.eco-btn-mark { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .9rem; box-shadow: 0 10px 22px rgba(16,32,72,.16); }
.eco-btn-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.eco-btn-name { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink); }
.eco-btn-desc { font-size: .82rem; color: var(--ink-soft); line-height: 1.4; }
.eco-btn-arrow { flex: 0 0 auto; margin-left: auto; color: var(--purple); font-size: 1.05rem; transition: transform .25s var(--ease); }
.eco-btn:hover .eco-btn-arrow { transform: translateX(4px); }
/* Package card brand-colour accent (partners page) */
.pkg-accent { display: block; width: 48px; height: 5px; border-radius: 999px; margin-bottom: 20px; }
/* Ecommerce phone mockup with rolling chat bubbles */
.ecom-phone { position: relative; width: min(340px, 100%); margin: 0 auto; padding: 16px 14px 20px; border-radius: 42px; border: 1px solid rgba(255,255,255,.10); background: linear-gradient(180deg, #0E1B33, #16294a); box-shadow: 0 44px 100px -34px rgba(16,32,72,.55), inset 0 1px 0 rgba(255,255,255,.08); }
.ecom-phone-notch { width: 116px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.22); margin: 2px auto 14px; }
.ecom-phone-head { display: flex; align-items: center; gap: 11px; padding: 0 6px 12px; color: #fff; }
.ecom-phone-avatar { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: .78rem; color: #fff; background: linear-gradient(135deg, #0FF0FC, #7C1AED); }
.ecom-phone-id b { display: block; font-family: var(--font-head); font-size: .92rem; line-height: 1.1; }
.ecom-phone-id small { color: var(--text-on-dark-soft); font-size: .7rem; }
.ecom-phone-screen { position: relative; height: 600px; overflow: hidden; border-radius: 24px; padding: 16px 14px; background: linear-gradient(180deg, #F5F8FF, #EEF3FF); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 93%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 93%, transparent 100%); }
.ecom-phone-feed { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; min-height: 100%; }
.ecom-bub { max-width: 84%; padding: 10px 13px; border-radius: 16px; font-size: .82rem; line-height: 1.42; }
.ecom-bub--in { align-self: flex-start; background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.ecom-bub--out { align-self: flex-end; color: #fff; background: linear-gradient(135deg, #7C1AED, #0FF0FC); border-bottom-right-radius: 5px; }
.ecom-bub--media { align-self: flex-end; max-width: 78%; padding: 6px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ecom-bub--media .ecom-shoe { display: block; width: 100%; height: auto; border-radius: 12px; }
/* Staged reveal (progressive enhancement): main.js adds .is-playing, then reveals
   each bubble in turn. With JS off / reduced motion, every bubble stays visible. */
.ecom-phone.is-playing .ecom-bub { display: none; }
.ecom-phone.is-playing .ecom-bub.is-in { display: block; animation: ecomBubIn .42s var(--ease) both; }
@keyframes ecomBubIn { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
/* Typing indicator (inserted by main.js before each OttBot reply) */
.ecom-typing { align-self: flex-end; display: inline-flex; gap: 5px; padding: 13px 15px; border-radius: 16px; border-bottom-right-radius: 5px; background: linear-gradient(135deg, rgba(124,26,237,.16), rgba(15,240,252,.16)); animation: ecomBubIn .3s var(--ease) both; }
.ecom-typing span { width: 6px; height: 6px; border-radius: 50%; background: #7C1AED; animation: ecomTyping 1s infinite ease-in-out; }
.ecom-typing span:nth-child(2) { animation-delay: .15s; }
.ecom-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes ecomTyping { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ecom-phone.is-playing .ecom-bub { display: block; } }
.deck-card { animation: none; min-width: 0; }
.int-chip {
  display: flex; align-items: center; gap: 14px; min-width: 0;
  background: #fff; border: 1px solid #cfd8e8; border-radius: 16px; padding: 20px 22px;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s;
}
.deck-card:hover .int-chip { transform: translateY(-3px); box-shadow: var(--shadow); }
.int-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto; }
.int-text { display: flex; flex-direction: column; min-width: 0; }
.int-chip b { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--ink); overflow-wrap: break-word; }
.deck--int .int-chip b { white-space: nowrap; overflow-wrap: normal; }
.int-text span { font-size: .75rem; color: var(--slate); overflow-wrap: break-word; }
/* Even integration grid: all boxes equal size, one card per cell, labels on a
   single line (no mid-word wrapping like "WhatsA pp"). */
.int-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 28px; }
.int-grid .int-chip { height: 100%; }
.int-grid .int-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.int-grid .int-text b, .int-grid .int-text span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 520px) { .int-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) {
  .deck--int { grid-template-columns: 1fr; }
}
.feature-cta { margin-top: 36px; }

/* ---- Ecosystem cards ---- */
.eco-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.eco-card .ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .8rem; flex: 0 0 auto; }
.eco-card b { font-family: var(--font-head); font-size: .9rem; display: block; }
.eco-card > span:last-child > span { font-size: .76rem; color: var(--slate); }

/* =====================================================================
   FAQ (AEO) — native details for accessibility
   ===================================================================== */
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 22px; font-family: var(--font-head); font-weight: 700;
  font-size: 1.02rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-mark { position: relative; width: 16px; height: 16px; flex: 0 0 auto; }
.faq-mark::before, .faq-mark::after { content: ""; position: absolute; background: var(--purple); border-radius: 2px; transition: transform .2s var(--ease); }
.faq-mark::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-mark::after { top: 0; left: 7px; width: 2px; height: 16px; }
.faq-item[open] .faq-mark::after { transform: scaleY(0); }
.faq-a { padding: 0 22px 22px; }
.faq-a p { color: var(--ink-soft); font-size: .96rem; }
.faq-a a { color: var(--purple); text-decoration: underline; font-weight: 500; }
.section--tint .faq-item { box-shadow: var(--shadow-sm); }

/* =====================================================================
   FLEX MODE
   ===================================================================== */
html.dyslexia body { font-family: 'Atkinson Hyperlegible', 'Lexend', sans-serif; letter-spacing: .02em; word-spacing: .12em; line-height: 1.9; }
html.dyslexia h1, html.dyslexia h2, html.dyslexia h3, html.dyslexia .display { font-family: 'Lexend', sans-serif; letter-spacing: 0; }
html.dyslexia p, html.dyslexia li, html.dyslexia .lead { max-width: 66ch; }
html.dyslexia .lead { line-height: 1.9; }
html.dyslexia .btn, html.dyslexia .nav-links a, html.dyslexia .mega-link, html.dyslexia .faq-item summary { font-family: 'Lexend', sans-serif; }
/* a subtle, calmer reading surface */
html.dyslexia body { background: #fbfaf7; }
html.dyslexia .section { background-color: #fbfaf7; }
html.dyslexia .section--tint { background: #f4f1ea; }
html.dyslexia .card, html.dyslexia .faq-item, html.dyslexia .cs-card { border-color: #e7e2d6; }
/* keep dark sections readable but warmer */
html.dyslexia .reveal { opacity: 1 !important; transform: none !important; }

/* =====================================================================
   FOCUS & TARGET SIZES (WCAG 2.2)
   ===================================================================== */
.menu-btn, .nav-toggle, .switch, .toggle button, .dys-toggle, .faq-item summary, .m-group summary { min-height: 40px; }
.nav-links a, .nav-actions a { padding: 6px 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--purple); outline-offset: 2px; border-radius: 6px;
}
.section--ink a:focus-visible, .hero a:focus-visible, .prod-hero a:focus-visible, .page-hero a:focus-visible { outline-color: var(--cyan); }

/* ---- responsive deck/cardstack ---- */
@media (max-width: 620px){
  .deck { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .int-chip { padding: 14px 12px; gap: 10px; }
  .int-ico { width: 36px; height: 36px; }
  .cardstack { max-width: 100%; }
}

/* ---- Orbital Ecosystem ---- */
.ecosystem-collapse {
  min-height: clamp(430px, 48vw, 610px);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 52%, rgba(124,26,237,.13), transparent 22%),
    radial-gradient(circle at 48% 50%, rgba(15,240,252,.13), transparent 35%),
    radial-gradient(ellipse at 50% 50%, rgba(255,255,255,.5) 0%, rgba(239,245,255,.24) 44%, rgba(239,245,255,0) 70%);
  border: 1px solid rgba(213,220,235,.06);
  box-shadow:
    0 24px 90px rgba(16,32,72,.025),
    inset 0 1px 0 rgba(255,255,255,.18);
}
.ecosystem-collapse::before,
.ecosystem-collapse::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid rgba(124,26,237,.12);
  transform: rotate(-8deg);
}
.ecosystem-collapse::after {
  inset: 22%;
  border-color: rgba(15,240,252,.16);
  transform: rotate(12deg);
}
.ecosystem-stage,
.ecosystem-core,
.ecosystem-agent,
.ecosystem-mcp,
.ecosystem-trail,
.ai-star {
  position: absolute;
}
.ecosystem-stage {
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.ecosystem-halo {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(124,26,237,.18);
  box-shadow: 0 0 48px rgba(15,240,252,.1);
  animation: ecosystemHaloPulse 6.8s ease-in-out infinite;
}
.ecosystem-halo--outer {
  width: min(62%, 610px);
  aspect-ratio: 1.9 / 1;
}
.ecosystem-halo--inner {
  width: min(36%, 360px);
  aspect-ratio: 1.55 / 1;
  animation-delay: -2s;
}
.ecosystem-core {
  left: 50%;
  top: 50%;
  z-index: 4;
  width: clamp(138px, 18cqw, 190px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 34% 24%, rgba(255,255,255,.34), transparent 20%),
    linear-gradient(145deg,#3B4FE4 0%,#7C1AED 58%,#EC4899 100%);
  box-shadow:
    0 28px 80px rgba(124,26,237,.3),
    0 0 80px rgba(15,240,252,.2),
    inset 0 1px 0 rgba(255,255,255,.24);
  animation: ecosystemCoreGlow 5.8s ease-in-out infinite;
}
.ecosystem-core strong {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5cqw, 1.6rem);
  line-height: 1;
}
.ecosystem-core > span:last-child {
  font-family: var(--font-head);
  font-size: clamp(.52rem, 1.05cqw, .66rem);
  letter-spacing: .18em;
  opacity: .78;
}
.ai-core-stars {
  position: relative;
  display: block;
  width: 62px;
  height: 38px;
}
.ai-core-stars i,
.ai-star {
  width: 18px;
  height: 18px;
  background: #fff;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  filter: drop-shadow(0 0 10px rgba(255,255,255,.85));
}
.ai-core-stars i {
  position: absolute;
  animation: ecosystemSparkle 2.4s ease-in-out infinite;
}
.ai-core-stars i:nth-child(1) { left: 6px; top: 12px; transform: scale(.8); }
.ai-core-stars i:nth-child(2) { left: 25px; top: 1px; animation-delay: -.6s; }
.ai-core-stars i:nth-child(3) { right: 2px; bottom: 2px; transform: scale(1.12); animation-delay: -1.2s; }
.ai-star {
  left: calc(50% + var(--sx));
  top: calc(50% + var(--sy));
  z-index: 2;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.55);
  animation: ecosystemSparkleFly 4.8s ease-in-out infinite;
  animation-delay: calc(var(--sd) * .22s);
}
.ai-star--1 { width: 12px; height: 12px; background: #0FF0FC; }
.ai-star--2 { width: 9px; height: 9px; background: #EC4899; }
.ai-star--3 { width: 14px; height: 14px; background: #A3E635; }
.ecosystem-trail {
  left: 50%;
  top: 50%;
  z-index: 1;
  width: var(--len);
  height: 2px;
  border-radius: 999px;
  transform-origin: left center;
  transform: rotate(var(--a)) scaleX(.72);
  background: linear-gradient(90deg, rgba(124,26,237,0), rgba(124,26,237,.36), rgba(15,240,252,.74));
  opacity: .42;
  filter: drop-shadow(0 0 12px rgba(15,240,252,.28));
  animation: ecosystemTrailDraw 6.4s ease-in-out infinite;
  animation-delay: 0s;
}
.ecosystem-trail--mcp {
  height: 1px;
  background: linear-gradient(90deg, rgba(99,91,255,0), rgba(99,91,255,.26), rgba(15,240,252,.54));
  opacity: .3;
  filter: drop-shadow(0 0 8px rgba(99,91,255,.18));
  animation-duration: 7.2s;
}
.ecosystem-agent {
  left: 50%;
  top: 50%;
  z-index: 5;
  --agent-x-scale: 1;
  --agent-y-scale: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px 8px 8px;
  border-radius: 24px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(213,220,235,.86);
  box-shadow: 0 18px 42px rgba(16,32,72,.13), 0 0 26px color-mix(in srgb, var(--agent-color), transparent 76%);
  backdrop-filter: blur(10px);
  text-decoration: none;
  transform: translate(calc(-50% + (var(--x) * var(--agent-x-scale))), calc(-50% + (var(--y) * var(--agent-y-scale))));
  opacity: 1;
  transition: transform .36s cubic-bezier(.62,0,.2,1), opacity .24s ease;
  will-change: transform, opacity;
}
.ecosystem-agent-icon {
  width: clamp(42px, 5.5cqw, 54px);
  height: clamp(42px, 5.5cqw, 54px);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 2px solid rgba(255,255,255,.96);
  box-shadow:
    0 12px 28px rgba(16,32,72,.18),
    0 0 22px color-mix(in srgb, var(--agent-color), transparent 64%);
}
.ecosystem-agent-label {
  max-width: 120px;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(.66rem, 1.16cqw, .76rem);
  font-weight: 800;
  white-space: nowrap;
  line-height: 1.12;
}
.ecosystem-mcp {
  left: 50%;
  top: 50%;
  z-index: 3;
  --mcp-x-scale: 1;
  --mcp-y-scale: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px 6px 6px;
  border-radius: 19px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(213,220,235,.72);
  box-shadow: 0 12px 30px rgba(16,32,72,.09), 0 0 18px rgba(15,240,252,.12);
  backdrop-filter: blur(8px);
  transform: translate(calc(-50% + (var(--x) * var(--mcp-x-scale))), calc(-50% + (var(--y) * var(--mcp-y-scale))));
  opacity: .92;
  transition: transform .36s cubic-bezier(.62,0,.2,1), opacity .24s ease;
  will-change: transform, opacity;
}
.ecosystem-mcp-mark {
  width: clamp(30px, 3.8cqw, 38px);
  height: clamp(30px, 3.8cqw, 38px);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background:
    radial-gradient(circle at 32% 24%, rgba(255,255,255,.38), transparent 24%),
    var(--mcp-color);
  border: 2px solid rgba(255,255,255,.9);
  box-shadow: 0 12px 28px rgba(16,32,72,.14), 0 0 20px rgba(15,240,252,.12);
  font-family: var(--font-head);
  font-size: clamp(.66rem, 1.25cqw, .82rem);
  font-weight: 900;
  letter-spacing: -.02em;
}
.ecosystem-mcp-mark svg {
  display: block;
  width: clamp(17px, 2.3cqw, 22px);
  height: clamp(17px, 2.3cqw, 22px);
}
.ecosystem-mcp-name {
  max-width: 86px;
  color: rgba(15,26,46,.82);
  font-family: var(--font-head);
  font-size: clamp(.56rem, .95cqw, .66rem);
  font-weight: 800;
  white-space: nowrap;
  line-height: 1.08;
}
.ecosystem-agent.is-in {
  transform: translate(-50%, -50%) scale(.38);
  opacity: 0;
}
.ecosystem-mcp.is-in {
  transform: translate(-50%, -50%) scale(.18) rotate(16deg);
  opacity: 0;
}
@keyframes ecosystemTrailDraw {
  0%, 24%, 100% { opacity: .28; transform: rotate(var(--a)) scaleX(.78); }
  44%, 58% { opacity: .9; transform: rotate(var(--a)) scaleX(.16); }
}
@keyframes ecosystemCoreGlow {
  0%, 100% { box-shadow: 0 28px 80px rgba(124,26,237,.3), 0 0 80px rgba(15,240,252,.2), inset 0 1px 0 rgba(255,255,255,.24); }
  48%, 58% { box-shadow: 0 34px 110px rgba(124,26,237,.42), 0 0 120px rgba(15,240,252,.36), inset 0 1px 0 rgba(255,255,255,.3); }
}
@keyframes ecosystemHaloPulse {
  0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(.96); }
  50% { opacity: .92; transform: translate(-50%, -50%) scale(1.04); }
}
@keyframes ecosystemSparkle {
  0%, 100% { opacity: .55; transform: scale(.75) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.16) rotate(18deg); }
}
@keyframes ecosystemSparkleFly {
  0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.42) rotate(0deg); }
  22%, 58% { opacity: .9; }
  50% { transform: translate(-50%, -50%) scale(1.12) rotate(32deg); }
}

.orb-wrap {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 40px auto 8px;
  aspect-ratio: 900 / 520;
  overflow: visible;
  container-type: inline-size;
}
.orb-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
/* Centre badge */
.orb-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.orb-center:has(.orb-badge-wrap:hover),
.orb-center:has(.orb-badge-wrap:focus-within) {
  z-index: 100;
}
.orb-badge-wrap {
  position: relative;
  cursor: pointer;
  outline: none;
}
.orb-badge:focus-visible {
  box-shadow: 0 0 0 3px rgba(124,26,237,.5), 0 12px 40px rgba(60,65,228,.42);
}
.orb-center-popup {
  position: absolute;
  bottom: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 272px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 20px 60px rgba(16,32,72,.16), 0 4px 16px rgba(0,0,0,.08);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
  z-index: 20;
  text-align: left;
}
.orb-badge-wrap:hover,
.orb-badge-wrap:focus-within {
  z-index: 100;
}
.orb-badge-wrap:hover .orb-center-popup,
.orb-badge-wrap:focus-within .orb-center-popup {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s 0s;
}
.orb-badge {
  background: linear-gradient(145deg, #3B4FE4 0%, var(--purple) 100%);
  color: #fff;
  border: 0;
  font: inherit;
  cursor: pointer;
  border-radius: 50%;
  width: 16.44cqw;
  height: 16.44cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 12px 40px rgba(60,65,228,.42), 0 2px 8px rgba(0,0,0,.18);
}
.orb-badge-name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(.95rem, 2.4cqw, 1.35rem);
  letter-spacing: -.01em;
}
.orb-badge-sub {
  display: block;
  font-size: clamp(.5rem, 1.03cqw, .58rem);
  letter-spacing: .18em;
  opacity: .7;
  color: #F9FAFB;
  margin-top: 3px;
  font-family: var(--font-head);
}

/* Orbit node — circle + label chip */
.orb-node {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 3;
  /* Visible & positioned without JS (inline left/top fallback).
     JS only adds the orbiting motion. */
}
.orb-dot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}
.orb-dot {
  width: 6.44cqw;
  height: 6.44cqw;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.16);
  border: 3px solid #fff;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.orb-dot svg { display: block; width: clamp(16px, 2.4cqw, 22px); height: clamp(16px, 2.4cqw, 22px); }
.orb-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(.62rem, 1.35cqw, .76rem);
  color: var(--ink);
  background: #fff;
  padding: clamp(2px, .33cqw, 3px) clamp(7px, 1.22cqw, 11px);
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
  white-space: nowrap;
  transition: border-color .2s;
}
.orb-node:hover,
.orb-node:focus-within {
  z-index: 100;
}
.orb-node:hover .orb-dot,
.orb-node:focus-within .orb-dot {
  transform: scale(1.14);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.orb-node:hover .orb-name,
.orb-node:focus-within .orb-name {
  border-color: var(--purple);
}

/* Popup card */
.orb-popup {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 268px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 20px 60px rgba(16,32,72,.16), 0 4px 16px rgba(0,0,0,.08);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
  z-index: 20;
  text-align: left;
}
.orb-node:hover .orb-popup,
.orb-node:focus-within .orb-popup {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s 0s;
}
/* Node is in top half of orbit → popup appears below */
.orb-node.popup-below .orb-popup {
  bottom: auto;
  top: calc(100% + 14px);
  transform: translateX(-50%) translateY(-8px);
}
.orb-node.popup-below:hover .orb-popup,
.orb-node.popup-below:focus-within .orb-popup {
  transform: translateX(-50%) translateY(0);
}
/* Near left edge → align popup left */
.orb-node.popup-left .orb-popup  { left: 0; transform: translateX(0) translateY(8px); }
.orb-node.popup-left:hover .orb-popup,
.orb-node.popup-left:focus-within .orb-popup { transform: translateX(0) translateY(0); }
.orb-node.popup-left.popup-below .orb-popup { transform: translateX(0) translateY(-8px); }
.orb-node.popup-left.popup-below:hover .orb-popup,
.orb-node.popup-left.popup-below:focus-within .orb-popup { transform: translateX(0) translateY(0); }
/* Near right edge → align popup right */
.orb-node.popup-right .orb-popup  { left: auto; right: 0; transform: translateX(0) translateY(8px); }
.orb-node.popup-right:hover .orb-popup,
.orb-node.popup-right:focus-within .orb-popup { transform: translateX(0) translateY(0); }
.orb-node.popup-right.popup-below .orb-popup { transform: translateX(0) translateY(-8px); }
.orb-node.popup-right.popup-below:hover .orb-popup,
.orb-node.popup-right.popup-below:focus-within .orb-popup { transform: translateX(0) translateY(0); }

.orb-popup-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.orb-popup-ico {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.orb-popup-ico svg { display: block; }
.orb-popup-head strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
  line-height: 1.3;
}
.orb-popup p {
  font-size: .82rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.orb-popup-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 10px 16px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .88rem;
  background: var(--grad-brand);
  color: #fff !important;
  text-decoration: none;
  transition: opacity .15s;
}
.orb-popup-btn:hover { opacity: .85; }

/* Mobile: static product grid */
.orb-fallback { display: none; }
@media (max-width: 680px) {
  .orb-wrap { display: none; }
  .orb-wrap.ecosystem-collapse {
    display: block;
    min-height: 460px;
    aspect-ratio: 4 / 5;
    margin: 28px auto 6px;
    overflow: hidden;
  }
  .ecosystem-collapse::before { inset: 13%; }
  .ecosystem-collapse::after { inset: 24%; }
  .ecosystem-agent {
    --agent-x-scale: .31;
    --agent-y-scale: .56;
    gap: 6px;
    padding: 5px 8px 5px 5px;
    border-radius: 18px;
  }
  .ecosystem-mcp {
    --mcp-x-scale: .25;
    --mcp-y-scale: .52;
    gap: 5px;
    padding: 4px 7px 4px 4px;
    border-radius: 16px;
  }
  .ecosystem-trail {
    width: calc(var(--len) * .4);
  }
  .ecosystem-agent-icon {
    width: clamp(30px, 9cqw, 38px);
    height: clamp(30px, 9cqw, 38px);
    border-radius: 12px;
  }
  .ecosystem-agent-label {
    max-width: 84px;
    padding: 0;
    font-size: clamp(.5rem, 2.15cqw, .58rem);
  }
  .ecosystem-core {
    width: clamp(118px, 36cqw, 148px);
  }
  .ecosystem-mcp-mark {
    width: clamp(24px, 7cqw, 30px);
    height: clamp(24px, 7cqw, 30px);
    border-radius: 10px;
  }
  .ecosystem-mcp-name {
    max-width: 60px;
    padding: 0;
    font-size: clamp(.46rem, 1.9cqw, .52rem);
  }
  .orb-fallback { display: grid !important; grid-template-columns: 1fr 1fr; gap: 16px; }
  .ecosystem-collapse + .orb-fallback { display: none !important; }
}

/* ---- Hero photo background ---- */
.hero--photo {
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  position: relative;
}
.hero--photo .blob { display: none; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10,12,30,.68) 0%,
    rgba(10,12,30,.45) 50%,
    rgba(7,30,40,.15) 100%
  );
  z-index: 0;
}
.hero-copy {
  max-width: 640px;
}
.hero-copy .lead { margin-top: 26px; }
.hero-copy .hero-cta { margin-top: 42px; }
.hero--photo .hero-copy .lead {
  color: #dce6f8;
  text-shadow: 0 1px 14px rgba(0,0,0,.22);
}
@media (max-width: 860px) {
  .hero-overlay {
    background: linear-gradient(180deg, rgba(10,12,30,.62) 0%, rgba(10,12,30,.45) 100%);
  }
  .hero-copy { max-width: 100%; }
}

/* ============================================================
   Homepage product showcase — screenshot-inspired Connect, Build
   and Vision carousel. The app deck replaces the abstract network
   with a visible tour of the actual OttBot product family.
   ============================================================ */
.hero--apps {
  position: relative;
  isolation: isolate;
  min-height: calc(100dvh - 200px);
  padding: clamp(40px, 6vh, 84px) 0 clamp(18px, 2.5vh, 40px);
  background:
    radial-gradient(circle at 78% 12%, rgba(15,240,252,.20), transparent 42%),
    radial-gradient(circle at 12% 92%, rgba(124,26,237,.20), transparent 46%),
    radial-gradient(circle at 50% 104%, rgba(163,230,53,.12), transparent 55%),
    linear-gradient(180deg, #1D3557 0%, #17293f 100%);
}
.hero--apps::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .6;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.22) 74%, transparent);
}
.hero--apps::after {
  content: "";
  position: absolute;
  inset: auto -8% -18% -8%;
  z-index: -1;
  height: 42%;
  background: radial-gradient(ellipse at center, rgba(163,230,53,.12), transparent 68%);
  filter: blur(18px);
  pointer-events: none;
}
.hero-hyperglow {
  position: absolute;
  inset: 8% 4% auto auto;
  width: min(700px, 54vw);
  height: min(700px, 54vw);
  border-radius: 999px;
  background:
    conic-gradient(from 70deg, rgba(15,240,252,.40), rgba(124,26,237,.14), rgba(236,72,153,.26), rgba(163,230,53,.24), rgba(15,240,252,.40));
  filter: blur(76px);
  opacity: .26;
  animation: heroGlowDrift 12s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero--apps .container {
  max-width: none;
  padding-left: max(24px, calc((100% - 1240px) / 2 + 24px));
  padding-right: max(24px, calc((100% - 1240px) / 2 + 24px));
}
.hero--apps .hero-ai-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}
.hero--apps .hero-copy { max-width: 710px; }
.hero--apps { color: #F9FAFB; }
.hero--apps .display {
  max-width: 16.4ch;
  text-wrap: balance;
  color: #F9FAFB;
}
.hero--apps .lead {
  max-width: 62ch;
  color: #F9FAFB;
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
}
.hero--apps .btn-outline-on-dark {
  border-color: rgba(255,255,255,.55);
  color: #F9FAFB;
}
.hero--apps .btn-outline-on-dark:hover { background: rgba(255,255,255,.08); }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(29,53,87,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(29,53,87,.08);
  backdrop-filter: blur(16px);
}
.hero-kicker-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(163,230,53,.12), 0 0 22px rgba(163,230,53,.78);
}
.hero--apps .hero-cta { margin-top: 38px; }
.hero-signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.hero-signal-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(29,53,87,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.6);
  color: var(--ink-soft);
  font-size: .82rem;
  backdrop-filter: blur(12px);
}
.hero-signal-strip b {
  color: var(--ink);
  font-family: var(--font-head);
  font-size: .95rem;
}
.app-showcase {
  position: relative;
  min-height: clamp(480px, 52vw, 690px);
}
.app-showcase-tabs {
  position: absolute;
  z-index: 5;
  top: 4%;
  left: 5%;
  display: flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(8,13,30,.5);
  box-shadow: 0 12px 36px rgba(0,0,0,.3);
  backdrop-filter: blur(18px);
}
.app-showcase-tabs span {
  min-width: 78px;
  padding: 7px 16px;
  border-radius: 999px;
  color: rgba(238,242,251,.58);
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .01em;
  text-align: center;
  animation: appTabConnect 24s cubic-bezier(.4,0,.2,1) infinite;
}
.app-showcase-tabs span:nth-child(2) { animation-name: appTabVision; }
.app-showcase-shell {
  position: absolute;
  inset: 0;
  perspective: 1400px;
}
.app-showcase-shell::before,
.app-showcase-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}
.app-showcase-shell::before {
  inset: 18% 6% 10%;
  border: 1px solid rgba(15,240,252,.14);
  transform: rotateX(62deg) rotateZ(-8deg);
}
.app-showcase-shell::after {
  left: 12%;
  right: 6%;
  bottom: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15,240,252,.5), rgba(163,230,53,.36), transparent);
  box-shadow: 0 0 26px rgba(15,240,252,.26);
  animation: appDeckScan 7s ease-in-out infinite;
}
.app-shot {
  position: absolute;
  inset: 15% 0 0;
  overflow: hidden;
  border: 1px solid rgba(150,178,220,.22);
  border-radius: 26px;
  background: #0d1628;
  box-shadow:
    0 40px 120px -24px rgba(0,0,0,.6),
    0 8px 24px -12px rgba(0,0,0,.4),
    inset 0 1px 0 rgba(255,255,255,.1);
  color: #edf4ff;
  opacity: 0;
  transform: translateY(30px) scale(.965);
  transform-origin: 50% 60%;
  will-change: opacity, transform;
  animation: appShotCycle 24s cubic-bezier(.33, .12, .18, 1) infinite;
}
.app-shot--connect { animation-delay: 6s; }
.app-shot--painvision { animation-delay: 12s; --pain-base: 12s; }
.app-shot--vision { animation-delay: 18s; }
.app-shot-top {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 66px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(150,178,220,.18);
  background: linear-gradient(110deg, rgba(31,53,88,.96), rgba(16,29,55,.9));
}
.app-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #33a2ff, #7357ff);
  color: white;
  font-family: var(--font-head);
  font-size: .86rem;
  font-weight: 900;
  box-shadow: 0 12px 34px rgba(51,162,255,.3);
}
.app-shot-top b,
.app-sidebar b,
.app-table b,
.app-usage b,
.app-projects b,
.app-assistant b,
.app-chart span {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
}
.app-shot-top small {
  display: block;
  color: rgba(204,218,238,.72);
  line-height: 1.2;
}
.app-shot-top em {
  margin-left: auto;
  padding: 6px 10px;
  border: 1px solid rgba(163,230,53,.28);
  border-radius: 999px;
  background: rgba(163,230,53,.12);
  color: #d6ff89;
  font-size: .72rem;
  font-style: normal;
  font-weight: 900;
}
.app-shot-layout {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  height: calc(100% - 66px);
}
.app-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 12px;
  border-right: 1px solid rgba(150,178,220,.18);
  background: linear-gradient(180deg, #142139, #0c1427);
}
.app-sidebar b {
  margin-bottom: 10px;
  font-size: .82rem;
}
.app-sidebar span {
  padding: 8px 9px;
  border-radius: 9px;
  color: rgba(224,234,249,.7);
  font-size: .64rem;
  font-weight: 800;
}
.app-sidebar .is-active {
  background: rgba(101,91,255,.3);
  color: #fff;
  box-shadow: inset 3px 0 0 #7162ff;
}
.app-sidebar i {
  margin-top: auto;
  color: rgba(224,234,249,.42);
  font-size: .58rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.app-sidebar .app-pill {
  position: relative;
  padding-left: 18px;
}
.app-sidebar .app-pill::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #37e879;
  transform: translateY(-50%);
}
.app-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  background: #111d33;
}
.app-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.app-stats span,
.app-insight,
.app-chart,
.app-assistant,
.app-table,
.app-usage,
.app-projects {
  border: 1px solid rgba(150,178,220,.18);
  border-radius: 12px;
  background: rgba(31,45,69,.86);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.app-stats span {
  min-height: 74px;
  padding: 12px;
}
.app-stats b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.45rem;
  line-height: 1;
}
.app-stats small {
  display: block;
  margin-top: 8px;
  color: rgba(205,217,236,.62);
  font-size: .62rem;
}
.app-insight {
  padding: 12px 14px;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
}
.app-insight small {
  display: block;
  margin-top: 5px;
  color: rgba(205,217,236,.68);
  font-size: .64rem;
  font-weight: 700;
}
.app-connect-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(190px, .8fr);
  gap: 12px;
  min-height: 0;
  flex: 1;
}
.app-chart {
  position: relative;
  min-height: 210px;
  padding: 12px;
}
.app-chart span {
  font-size: .78rem;
}
.app-chart svg {
  width: 100%;
  height: calc(100% - 24px);
  margin-top: 8px;
}
.app-chart svg path {
  fill: none;
  stroke: rgba(176,194,225,.18);
  stroke-width: 1;
}
.app-chart svg polyline {
  fill: none;
  stroke: #ff3f83;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255,63,131,.35));
  stroke-dasharray: 680;
  animation: appLineDraw 24s ease-in-out infinite;
  animation-delay: 6s;
}
.app-chart svg .blue {
  stroke: #3278ff;
  animation-delay: 6.35s;
}
.app-assistant {
  display: flex;
  flex-direction: column;
  padding: 12px;
}
.app-assistant span {
  margin-top: 36px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: rgba(238,242,251,.76);
  font-size: .64rem;
}
.app-assistant em {
  margin-top: auto;
  padding: 9px;
  border: 1px solid rgba(150,178,220,.18);
  border-radius: 8px;
  color: rgba(205,217,236,.6);
  font-size: .62rem;
  font-style: normal;
}
.app-table {
  padding: 14px;
}
.app-table span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid rgba(150,178,220,.14);
  font-size: .72rem;
}
.app-table strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-table em,
.app-projects em {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(55,232,121,.16);
  color: #54f09a;
  font-style: normal;
  font-weight: 900;
}
.app-table span:nth-child(3) em,
.app-table span:nth-child(4) em {
  background: rgba(212,76,221,.18);
  color: #f177ff;
}
.app-usage {
  padding: 14px;
}
.app-usage i {
  display: block;
  height: 10px;
  margin: 14px 0 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(150,178,220,.18);
}
.app-usage span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3278ff, #16d7c6, #ffab1a, #915cff);
  animation: appUsagePulse 24s ease-in-out infinite;
}
.app-usage small {
  color: rgba(205,217,236,.66);
}
.app-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  flex: 1;
}
.app-projects {
  padding: 16px;
}
.app-projects span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 11px;
  border: 1px solid rgba(101,145,225,.28);
  border-radius: 10px;
  color: rgba(238,242,251,.82);
  font-size: .72rem;
  font-weight: 900;
}
.app-data-title {
  padding: 2px 0 6px;
}
.app-data-title b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 900;
}
.app-data-title small {
  display: block;
  margin-top: 2px;
  color: rgba(205,217,236,.64);
  font-size: .62rem;
}
.app-connectors {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid rgba(150,178,220,.18);
  border-radius: 10px;
  background: rgba(31,45,69,.86);
}
.app-connectors b {
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 900;
}
.app-connectors em {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(150,178,220,.16);
  color: rgba(238,242,251,.82);
  font-size: .58rem;
  font-style: normal;
  font-weight: 900;
}
.app-connectors small {
  color: rgba(205,217,236,.56);
  font-size: .6rem;
}
.app-data-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(170px, .75fr);
  gap: 12px;
  min-height: 0;
  flex: 1;
}
.app-activity,
.app-actions {
  border: 1px solid rgba(150,178,220,.18);
  border-radius: 12px;
  background: rgba(31,45,69,.86);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.app-activity {
  padding: 14px;
}
.app-activity b,
.app-actions b {
  display: block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 900;
}
.app-activity span {
  position: relative;
  display: block;
  padding: 10px 0 10px 24px;
  border-top: 1px solid rgba(150,178,220,.14);
  color: rgba(238,242,251,.82);
  font-size: .66rem;
  font-weight: 900;
}
.app-activity span:first-of-type {
  margin-top: 10px;
}
.app-activity span::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(36,164,255,.18);
  box-shadow: inset 0 0 0 3px rgba(36,164,255,.35);
}
.app-activity em {
  display: block;
  margin-top: 2px;
  color: rgba(205,217,236,.56);
  font-size: .58rem;
  font-style: normal;
}
.app-actions {
  align-self: start;
  padding: 14px;
}
.app-actions span {
  display: block;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(150,178,220,.22);
  border-radius: 8px;
  color: rgba(238,242,251,.82);
  font-size: .66rem;
  font-weight: 900;
}
.app-shot--connect .app-logo,
.app-shot--painconnect .app-logo { background: linear-gradient(135deg, #24a4ff, #6157ff); }
.app-shot--vision .app-logo,
.app-shot--painvision .app-logo { background: linear-gradient(135deg, #26a9ff, #49f2d4); }

/* Pain → benefit vignettes (animated product mockups) */
.vig {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 24px 22px;
}
.vig-label { display: flex; flex-direction: column; gap: 7px; }
.vig-eyebrow {
  font-family: var(--font-head);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #9fb2cf;
}
.vig--connect .vig-eyebrow { color: #46e6f2; }
.vig--vision .vig-eyebrow { color: #b6f24a; }
.vig-pain {
  font-family: var(--font-head);
  font-size: clamp(.95rem, 1.4vw, 1.16rem);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.2;
  color: #f3f8ff;
  max-width: 24ch;
}
.vig-stage {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  font-family: var(--font-head);
  background: linear-gradient(180deg, #fbfcfe, #eef1f7);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.6),
    inset 0 1px 0 rgba(255,255,255,.9),
    0 24px 50px -18px rgba(8,15,35,.55);
  overflow: hidden;
}
.vig-stage > [style*="--d"] {
  opacity: 0;
  animation: vigBeat 24s cubic-bezier(.22,.61,.36,1) infinite;
  animation-delay: calc(var(--pain-base, 0s) + .9s + var(--d) * .72s);
}
/* chat bubbles */
.vig-msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 90%;
  font-size: .76rem;
  line-height: 1.32;
}
.vig-msg span {
  padding: 9px 13px;
  border-radius: 16px;
  box-shadow: 0 4px 14px -6px rgba(20,32,60,.25);
}
.vig-msg--user { align-self: flex-end; margin-left: auto; }
.vig-msg--user span { background: #1d3557; color: #fff; border-bottom-right-radius: 5px; }
.vig-msg--bot { align-self: flex-start; }
.vig-msg--bot span { background: #fff; color: #25304a; border-bottom-left-radius: 5px; }
.vig-avatar {
  width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%;
  background: linear-gradient(135deg, #ec4899, #7c1aed);
  box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(20,32,60,.25);
}
.vig-bot {
  display: grid; place-items: center;
  width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%;
  background: linear-gradient(135deg, #0ff0fc, #7c1aed);
  color: #fff; font-size: .7rem; font-style: normal;
  box-shadow: 0 2px 8px rgba(124,26,237,.4);
}
/* calendar booking */
.vig-cal {
  position: relative;
  padding: 12px 13px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 26px -10px rgba(20,32,60,.3);
}
.vig-cal-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 9px; font-size: .68rem; font-weight: 700; color: #25304a;
}
.vig-cal-top::after { content: "‹  ›"; color: #aeb7cb; font-size: .6rem; letter-spacing: .2em; }
.vig-cal-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.vig-cal-grid span {
  display: grid; place-items: center;
  height: 26px; border-radius: 8px;
  font-size: .66rem; color: #5a6480; background: #f1f3f8;
}
.vig-cal-grid .is-pick {
  color: #fff; font-weight: 700;
  background: linear-gradient(135deg, #7c1aed, #0ff0fc);
  box-shadow: 0 4px 12px -2px rgba(124,26,237,.5);
  animation: vigPick 24s ease-out infinite;
  animation-delay: calc(var(--pain-base, 0s) + 2.8s);
}
.vig-cursor {
  position: absolute; right: 20px; bottom: 11px;
  width: 16px; height: 17px;
  background: #25304a;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.3));
  clip-path: polygon(0 0, 0 80%, 22% 62%, 38% 96%, 52% 90%, 36% 56%, 64% 56%);
  opacity: 0;
  animation: vigTap 24s ease-out infinite;
  animation-delay: calc(var(--pain-base, 0s) + 2.5s);
}
.vig-toast {
  display: flex; align-items: center; gap: 9px;
  align-self: flex-start;
  padding: 9px 14px 9px 10px;
  border-radius: 12px;
  font-size: .72rem; font-weight: 700;
  color: #1c4733;
  background: #fff;
  box-shadow: 0 10px 26px -10px rgba(20,60,40,.35);
}
.vig-toast::before {
  content: "✓";
  display: grid; place-items: center;
  width: 19px; height: 19px; flex: 0 0 19px;
  border-radius: 50%;
  background: linear-gradient(135deg, #57c878, #2fa85d);
  color: #fff; font-size: .58rem; font-weight: 900;
}
/* vision sources + answer */
.vig-sources {
  display: flex; flex-direction: column; gap: 8px;
  padding: 12px 13px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 26px -12px rgba(20,32,60,.28);
}
.vig-sources b {
  font-size: .58rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: #8a94ac;
}
.vig-src {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 10px;
  border: 1px solid rgba(20,32,60,.08);
  border-radius: 10px;
  font-size: .69rem; color: #46506a;
}
.vig-ic {
  display: grid; place-items: center;
  width: 24px; height: 24px; flex: 0 0 24px; border-radius: 7px;
  font-size: .5rem; font-weight: 800; font-style: normal; color: #fff;
}
.vig-ic--vid { background: linear-gradient(135deg, #a3e635, #0ff0fc); color: #0d1628; }
.vig-ic--pdf { background: linear-gradient(135deg, #f0584d, #d23a30); }
.vig-answer {
  position: relative;
  display: flex; flex-direction: column; gap: 7px;
  padding: 12px 13px 12px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f6fdfe);
  box-shadow: 0 10px 26px -12px rgba(20,32,60,.28);
}
.vig-answer::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px;
  width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, #0ff0fc, #7c1aed);
}
.vig-stamp {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  padding: 4px 10px; border-radius: 999px;
  font-size: .58rem; font-weight: 800; letter-spacing: .04em;
  color: #0a6f78; background: rgba(15,240,252,.16);
}
.vig-stamp::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #0ff0fc; box-shadow: 0 0 6px rgba(15,240,252,.85);
}
.vig-ans-text { font-size: .73rem; color: #25304a; line-height: 1.35; }

/* ============================================================
   Hero cinematic — Connect journey (chaos → cost → AI → dashboard)
   GSAP-driven. CSS provides the look + a static fallback: the
   dashboard scene stays visible until JS confirms GSAP and adds
   `.is-cinema`, which hands control to the timeline.
   ============================================================ */
.hero-cinema {
  position: relative;
  min-height: clamp(420px, 48vh, 600px);
  perspective: 1500px;
}
.cx {
  --cx-text: #101828;
  --cx-muted: #344054;
  --cx-soft: #475467;
  --cx-subtle: #667085;
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(16,24,40,.08);
  background:
    radial-gradient(120% 90% at 82% -5%, rgba(15,240,252,.12), transparent 55%),
    radial-gradient(120% 90% at 4% 105%, rgba(226,232,240,.32), transparent 55%),
    linear-gradient(180deg, #FCFCFD 0%, #F5F7FB 100%);
  box-shadow: 0 44px 90px -42px rgba(16,24,40,.28), 0 14px 34px -20px rgba(16,24,40,.12), inset 0 1px 0 rgba(255,255,255,.8);
}
.cx-amb {
  position: absolute; inset: -22%;
  pointer-events: none;
  opacity: .5;
  filter: blur(30px);
  background:
    radial-gradient(38% 40% at 30% 30%, rgba(15,240,252,.16), transparent 60%),
    radial-gradient(44% 46% at 74% 72%, rgba(148,163,184,.12), transparent 60%);
}
.cx-amb2 {
  opacity: 0;
  background:
    radial-gradient(40% 42% at 28% 30%, rgba(163,230,53,.14), transparent 60%),
    radial-gradient(46% 48% at 76% 72%, rgba(15,240,252,.16), transparent 60%);
}
.cx-sweep {
  position: absolute; top: -30%; bottom: -30%; left: -30%; width: 42%;
  pointer-events: none;
  opacity: 0;
  filter: blur(12px);
  transform: translateX(-60%) skewX(-12deg);
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.7), rgba(15,240,252,.28), transparent);
}
.cx-scene {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 26px;
  opacity: 0;
}
/* Static fallback (no JS / reduced motion): show the Connect reveal. */
.cx-scene--anchor { opacity: 1; }
.cx.is-cinema .cx-scene--anchor { opacity: 0; }

/* ---- opening ecosystem reveal ---- */
.cx-scene--intro { padding: 18px; }
.cx-eco-intro {
  position: relative;
  width: min(560px, 98%);
  height: min(440px, 72vh);
}
.cx-intro-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.cx-intro-ring {
  fill: none;
  stroke: rgba(124,26,237,.18);
  stroke-width: 1.4;
  stroke-dasharray: 5 11;
}
.cx-intro-ring--wide { stroke: rgba(15,240,252,.22); stroke-dasharray: 7 13; }
.cx-intro-line {
  fill: none;
  stroke: url(#cxg-intro);
  stroke-width: 2.15;
  stroke-linecap: round;
  opacity: .82;
}
.cx-intro-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%,-50%);
  width: 176px;
  min-height: 156px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 18px 16px 16px;
  text-align: center;
}
.cx-intro-core-glow {
  position: absolute;
  inset: -34%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,255,255,.92) 0%, rgba(255,255,255,.42) 42%, transparent 70%);
  filter: blur(10px);
}
.cx-intro-mark {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 18px 38px -18px rgba(16,24,40,.34);
}
.cx-intro-brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .9rem;
  line-height: 1.05;
  color: #101828;
}
.cx-intro-system {
  font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace);
  font-weight: 500;
  font-size: .58rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #1D2939;
}
.cx-intro-products {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.cx-intro-product {
  --x: 0;
  --y: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) translate(calc(var(--x) * 1px), calc(var(--y) * 1px));
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 132px;
  min-height: 48px;
  padding: 7px 12px 7px 8px;
  border-radius: 999px;
  border: 1px solid rgba(16,24,40,.08);
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 38px -22px rgba(16,24,40,.30), 0 0 0 4px rgba(255,255,255,.42), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter: blur(14px);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .78rem;
  color: #101828;
  white-space: nowrap;
}
.cx.is-cinema .cx-intro-product { transform: translate(-50%,-50%); }
.cx-intro-product-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: var(--product-color);
  box-shadow: 0 10px 22px -12px rgba(16,24,40,.42);
}
.cx-intro-product-icon svg { width: 18px; height: 18px; }
.cx-intro-product--create { --x: 0; --y: -182; }
.cx-intro-product--connect { --x: 178; --y: -118; }
.cx-intro-product--connect { z-index: 4; transform-origin: 50% 50%; }
.cx-intro-product--data { --x: 202; --y: 56; }
.cx-intro-product--voice { --x: 116; --y: 150; }
.cx-intro-product--vision { --x: -86; --y: 152; }
.cx-intro-product--build { --x: -202; --y: 60; }
.cx-intro-product--insights { --x: -176; --y: -118; }
.cx-intro-cap {
  position: absolute;
  left: 50%;
  bottom: -24px;
  z-index: 6;
  transform: translateX(-50%);
  width: min(calc(100% - 48px), 440px);
}

/* ---- centred group: visual + its caption ---- */
.cx-group {
  display: flex; flex-direction: column; align-items: center;
  gap: 20px; width: min(460px, 92%); max-width: 100%;
}
.cx-group--dmstory { width: min(520px, 94%); gap: 18px; }
.cx-group--flow { width: min(300px, 88%); gap: 16px; }

/* ---- captions: name the problem in words ---- */
.cx .cx-cap {
  margin: 0; text-align: center;
  font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace);
  font-size: clamp(.86rem, 1.08vw, .98rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #1D2939;
  text-shadow: 0 1px 0 rgba(255,255,255,.72);
}
.cx .cx-cap--bad  { color: var(--cx-text); }
.cx .cx-cap--good { color: var(--cx-text); }

/* ---- glass card (light) ---- */
.cx-card {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(16,24,40,.08);
  background: rgba(255,255,255,.78);
  box-shadow: 0 30px 60px -30px rgba(16,24,40,.22), 0 6px 16px -8px rgba(16,24,40,.10), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.cx-card--bad { border-color: rgba(240,68,56,.22); }
.cx-card-top { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--cx-text); }
.cx-card-top time { margin-left: auto; }
.cx-badge {
  display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px;
  border-radius: 9px; color: #fff;
}
.cx-badge svg { width: 17px; height: 17px; }
.cx-badge--ig { background: linear-gradient(135deg,#f9ce34,#ee2a7b,#6228d7); }
.cx-badge--v  { background: linear-gradient(135deg,#A3E635,#0FF0FC); color: #0b3a3f; }
.cx-tag {
  margin-left: auto; padding: 3px 9px; border-radius: 999px;
  font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace); font-size: .62rem; font-weight: 700; font-style: normal; letter-spacing: .04em;
}
.cx-tag--red { background: rgba(240,68,56,.10); color: #D92D20; border: 1px solid rgba(240,68,56,.3); }
.cx-quote { margin: 0; font-size: .92rem; color: var(--cx-muted); }
.cx-card-status { display: flex; align-items: center; gap: 9px; font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace); font-size: .72rem; color: var(--cx-soft); }
.cx-status--red { color: #D92D20; }
.cx-live { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; }
.cx-live--red { background: #F04438; box-shadow: 0 0 0 4px rgba(240,68,56,.14); }
.cx-mono2 { font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace); font-size: .72rem; color: var(--cx-soft); }

/* ---- chat bubbles ---- */
.cx-bubble {
  align-self: flex-start; max-width: 92%;
  padding: 10px 13px; border-radius: 14px 14px 14px 4px;
  font-size: .86rem; color: var(--cx-text);
  background: rgba(16,24,40,.04); border: 1px solid rgba(16,24,40,.07);
  position: relative;
}
.cx-seen { position: absolute; right: 10px; bottom: -15px; font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace); font-size: .56rem; color: var(--cx-subtle); font-style: normal; }
.cx-bubble--typing { display: inline-flex; align-items: center; gap: 5px; padding: 13px 15px; }
.cx-bubble--typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--cx-subtle); }
.cx-wait-row { display: flex; align-items: center; gap: 9px; margin-top: 6px; font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace); font-size: .74rem; color: #D92D20; }
.cx-wait-row small { color: var(--cx-soft); }
.cx-wic { display: inline-flex; color: #D92D20; }
.cx-wic svg { width: 16px; height: 16px; }
.cx-timer { font-weight: 700; font-variant-numeric: tabular-nums; }
.cx-repeat { width: 100%; display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }

/* ---- vertical flow chain (pain: understated, neutral) ---- */
.cx-flow { position: relative; width: 100%; display: flex; flex-direction: column; gap: 10px; }
.cx-fline { position: absolute; left: 21px; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; overflow: hidden; background: rgba(16,24,40,.10); }
.cx-fline span { position: absolute; inset: 0; transform-origin: top; transform: scaleY(0); background: linear-gradient(180deg,#F97066,var(--cx-subtle)); }
.cx-flow--v .cx-fline span { background: linear-gradient(180deg,var(--cx-subtle),#7A5AF8); }
.cx-fnode {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 12px;
  padding: 9px 13px; border-radius: 12px;
  border: 1px solid rgba(16,24,40,.08); background: rgba(255,255,255,.82);
  box-shadow: 0 10px 24px -16px rgba(16,24,40,.24);
  font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: var(--cx-text);
}
.cx-fic { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px; border-radius: 8px; background: rgba(16,24,40,.05); color: var(--cx-soft); }
.cx-fic svg { width: 15px; height: 15px; }

/* ---- video stack (library) ---- */
.cx-vstack { width: 100%; display: flex; flex-direction: column; gap: 9px; }
.cx-vcard {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 13px; border-radius: 13px;
  border: 1px solid rgba(16,24,40,.08); background: rgba(255,255,255,.82);
  box-shadow: 0 12px 28px -18px rgba(16,24,40,.22);
  font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--cx-text);
}
.cx-vcard time { margin-left: auto; font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace); font-weight: 600; font-size: .68rem; color: var(--cx-soft); }
.cx-vthumb2 { display: grid; place-items: center; width: 40px; height: 26px; flex: 0 0 40px; border-radius: 7px; background: linear-gradient(135deg,#EAF6FF,#F3EEFF); border: 1px solid rgba(124,26,237,.16); color: #7C1AED; }
.cx-vthumb2 svg { width: 15px; height: 15px; }

/* ---- search timeline ---- */
.cx-tl { padding: 8px 2px 4px; }
.cx-tl-track { position: relative; height: 8px; border-radius: 8px; background: rgba(16,24,40,.07); }
.cx-tl-track::before { content: ""; position: absolute; inset: 0; border-radius: 8px; background-image: repeating-linear-gradient(90deg, transparent 0 22px, rgba(16,24,40,.10) 22px 23px); }
.cx-ph { position: absolute; top: 50%; left: 15%; width: 14px; height: 14px; border-radius: 50%; transform: translate(-50%,-50%); background: #fff; box-shadow: 0 0 0 4px rgba(124,26,237,.22), 0 2px 6px rgba(16,24,40,.28); z-index: 1; }

/* ---- big timer (time lost) ---- */
.cx-bigtimer { text-align: center; display: flex; flex-direction: column; gap: 10px; }
.cx-bigtimer-num { font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace); font-weight: 500; font-variant-numeric: tabular-nums; font-size: clamp(2.6rem, 8vw, 4.4rem); color: #D92D20; letter-spacing: -.02em; line-height: 1; }
.cx-bigtimer-lbl { font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace); font-size: .8rem; letter-spacing: .13em; text-transform: uppercase; color: var(--cx-muted); font-weight: 600; }

/* ---- Vision: pain -> ask -> reuse (solution states) ---- */
.cx-status--green { color: #17B26A; }
.cx-live--green { background: #17B26A; box-shadow: 0 0 0 4px rgba(23,178,106,.16); }

/* library: each video gets an "indexed" tick */
.cx-vtick { display: grid; place-items: center; width: 20px; height: 20px; flex: 0 0 20px; margin-left: 10px; border-radius: 50%; background: #17B26A; color: #fff; box-shadow: 0 2px 8px -2px rgba(23,178,106,.5); }
.cx-vtick svg { width: 12px; height: 12px; }

/* ask: question row, timeline answer marker, answer chip */
.cx-tl-mark { position: absolute; top: 50%; left: 63%; width: 4px; height: 18px; border-radius: 3px; transform: translate(-50%,-50%); background: #17B26A; box-shadow: 0 0 0 4px rgba(23,178,106,.18); z-index: 1; }
.cx-ph.is-found { box-shadow: 0 0 0 4px rgba(23,178,106,.30), 0 2px 6px rgba(16,24,40,.28); }
.cx-vask { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(124,26,237,.06); border: 1px solid rgba(124,26,237,.18); font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--cx-text); }
.cx-vask-ic { display: inline-flex; color: #7C1AED; }
.cx-vask-ic svg { width: 16px; height: 16px; }
.cx-vanswer { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 9px 12px 9px 9px; border-radius: 13px; background: rgba(23,178,106,.08); border: 1px solid rgba(23,178,106,.28); }
.cx-vanswer-time { font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace); font-weight: 700; font-size: .68rem; color: #fff; background: #17B26A; padding: 3px 8px; border-radius: 7px; letter-spacing: .02em; }
.cx-vanswer-text { font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--cx-text); }
.cx-vanswer-jump { display: inline-flex; color: #17B26A; }
.cx-vanswer-jump svg { width: 15px; height: 15px; }

/* reuse: AI node + auto-generated output ticks */
.cx-flow--reuse .cx-fline span { background: linear-gradient(180deg,#7A5AF8,#17B26A); }
.cx-fnode--ai { border-color: rgba(124,26,237,.30); background: linear-gradient(135deg, rgba(163,230,53,.10), rgba(15,240,252,.10)); }
.cx-fic--ai { background: linear-gradient(135deg,#A3E635,#0FF0FC); color: #0b3a3f; }
.cx-fnode--out.is-done { border-color: rgba(23,178,106,.30); }
.cx-ftick { margin-left: auto; display: grid; place-items: center; width: 20px; height: 20px; flex: 0 0 20px; border-radius: 50%; background: #17B26A; color: #fff; box-shadow: 0 2px 8px -2px rgba(23,178,106,.5); }
.cx-ftick svg { width: 12px; height: 12px; }

/* ---- Vision v2: one recording -> ask -> understand ---- */
.cx-vrec { gap: 11px; }
.cx .cx-vmicro { margin: -3px 0 0; font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace); font-size: .72rem; color: var(--cx-soft); font-weight: 600; }
.cx-vqa-stack { display: grid; }
.cx-vqa-stack > .cx-vqa { grid-area: 1 / 1; }
.cx-vqa { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.cx-vask-q { white-space: nowrap; }
.cx-vsum { align-self: stretch; width: 100%; border-radius: 13px; border: 1px solid rgba(23,178,106,.22); background: rgba(23,178,106,.06); padding: 11px 13px; }
.cx-vsum-head { display: flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700; font-size: .78rem; color: var(--cx-text); margin-bottom: 8px; }
.cx-vsum-ic { display: inline-flex; color: #17B26A; }
.cx-vsum-ic svg { width: 15px; height: 15px; }
.cx-vsum-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cx-vsum-list li { position: relative; padding-left: 17px; font-family: var(--font-head); font-weight: 600; font-size: .78rem; color: var(--cx-muted); }
.cx-vsum-list li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 6px; height: 6px; border-radius: 50%; transform: translateY(-50%); background: #17B26A; }

/* ---- Vision v2: knowledge blooms into every reusable format ---- */
.cx-bloom { position: relative; width: 100%; max-width: 440px; margin: 0 auto; aspect-ratio: 4 / 3; overflow: visible; }
.cx-bloom-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.cx-knode { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 3px; width: 112px; padding: 13px 10px; border-radius: 16px; text-align: center; border: 1px solid rgba(124,26,237,.28); background: linear-gradient(135deg, rgba(163,230,53,.16), rgba(15,240,252,.16)); box-shadow: 0 20px 44px -22px rgba(16,24,40,.44); }
.cx-knode-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg,#A3E635,#0FF0FC); color: #0b3a3f; }
.cx-knode-ic svg { width: 18px; height: 18px; }
.cx-knode b { font-family: var(--font-head); font-weight: 700; font-size: .84rem; color: var(--cx-text); }
.cx-knode small { font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace); font-size: .57rem; color: var(--cx-soft); font-weight: 600; letter-spacing: .01em; }
.cx-bout { position: absolute; z-index: 3; transform: translate(-50%,-50%); display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 11px; white-space: nowrap; border: 1px solid rgba(16,24,40,.08); background: rgba(255,255,255,.94); box-shadow: 0 14px 30px -18px rgba(16,24,40,.34); font-family: var(--font-head); font-weight: 700; font-size: .74rem; color: var(--cx-text); }
.cx-bout .cx-fic { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 7px; }
.cx-bout .cx-fic svg { width: 13px; height: 13px; }
.cx-bout.is-done { border-color: rgba(23,178,106,.32); }
.cx-btick { display: grid; place-items: center; width: 17px; height: 17px; flex: 0 0 17px; border-radius: 50%; background: #17B26A; color: #fff; box-shadow: 0 2px 8px -2px rgba(23,178,106,.5); }
.cx-btick svg { width: 10px; height: 10px; }

/* ===== Vision chapter · new scenes (film -> pipelines -> ask -> feature web) ===== */
/* Scene 1 · old-film reel flying into the Vision core */
.cx-group--film { width: min(500px, 94%); gap: 18px; }
.cx-film { position: relative; width: 100%; height: 296px; }
.cx-filmstrip {
  position: absolute; left: 50%; top: 22px; transform: translateX(-50%);
  display: flex; gap: 9px; padding: 13px 14px; border-radius: 8px;
  background: #1b2230; box-shadow: 0 22px 44px -22px rgba(16,24,40,.55);
}
.cx-filmstrip::before, .cx-filmstrip::after {
  content: ""; position: absolute; left: 7px; right: 7px; height: 7px;
  background-image: radial-gradient(circle, #0d1220 52%, transparent 54%);
  background-size: 13px 7px; background-repeat: repeat-x;
}
.cx-filmstrip::before { top: 3px; }
.cx-filmstrip::after { bottom: 3px; }
.cx-filmframe { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.cx-filmthumb { width: 58px; height: 40px; border-radius: 4px; display: grid; place-items: center; }
.cx-filmthumb svg { width: 15px; height: 15px; opacity: .92; }
.cx-ft1 { background: linear-gradient(135deg,#7C1AED,#0FF0FC); }
.cx-ft2 { background: linear-gradient(135deg,#EC4899,#7C1AED); }
.cx-ft3 { background: linear-gradient(135deg,#0FF0FC,#A3E635); }
.cx-ft4 { background: linear-gradient(135deg,#FF6B6B,#EC4899); }
.cx-ft5 { background: linear-gradient(135deg,#A3E635,#0FF0FC); }
.cx-filmframe em {
  font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace);
  font-style: normal; font-size: .5rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.74);
}
.cx-vcore {
  position: absolute; left: 50%; top: 60%; transform: translate(-50%,-50%); z-index: 3;
  padding: 20px 26px; border-radius: 22px; display: grid; place-items: center;
  background: linear-gradient(135deg,#A3E635,#0FF0FC); box-shadow: 0 24px 50px -20px rgba(15,240,252,.6);
}
.cx-vcore-name { font-family: var(--font-head); font-weight: 800; font-size: .92rem; line-height: 1; color: #0b3a3f; white-space: nowrap; }
.cx-vcore-glow { position: absolute; inset: -44%; border-radius: 50%; background: radial-gradient(circle, rgba(15,240,252,.5), transparent 66%); filter: blur(13px); z-index: -1; }
.cx-vcore-ring { position: absolute; inset: -13px; border-radius: 32px; border: 2px dashed rgba(15,240,252,.55); }

/* Scene 2 · three processing chains */
.cx-group--pipes { width: min(560px, 96%); gap: 16px; }
.cx-pipes { position: relative; width: 100%; height: 258px; }
.cx-pipe-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.cx-pipe-core {
  position: absolute; left: 16%; top: 50%; transform: translate(-50%,-50%); z-index: 3;
  padding: 14px 16px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg,#A3E635,#0FF0FC); box-shadow: 0 18px 40px -18px rgba(15,240,252,.6);
}
.cx-pipe-core .cx-vcore-name { font-size: .7rem; }
.cx-lanes { position: absolute; left: 34%; right: 0; top: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; padding: 4px 0; }
.cx-lane {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px;
  border: 1px solid rgba(16,24,40,.08); background: rgba(255,255,255,.92);
  box-shadow: 0 14px 30px -20px rgba(16,24,40,.3); backdrop-filter: blur(8px);
}
.cx-lane-ic { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px; background: linear-gradient(135deg,#A3E635,#0FF0FC); color: #0b3a3f; }
.cx-lane-ic svg { width: 17px; height: 17px; }
.cx-lane-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cx-lane-body b { font-family: var(--font-head); font-weight: 700; font-size: .74rem; color: var(--cx-text); line-height: 1; }
.cx-wave { display: flex; align-items: center; gap: 2px; height: 18px; }
.cx-wave i { flex: 1 1 auto; width: 3px; height: 100%; border-radius: 2px; background: linear-gradient(180deg,#0FF0FC,#7C1AED); }
.cx-lane-out { font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace); font-size: .6rem; font-weight: 600; color: var(--cx-soft); letter-spacing: .01em; }
.cx-vframe { display: flex; gap: 6px; flex-wrap: wrap; }
.cx-vlabel { font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace); font-size: .55rem; font-weight: 600; padding: 3px 7px; border-radius: 6px; background: rgba(124,26,237,.1); color: #6941C6; letter-spacing: .03em; }
.cx-ocr { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 3px 0 1px; }
.cx-ocr-l { height: 3px; border-radius: 2px; background: rgba(16,24,40,.16); }
.cx-ocr-l:nth-child(1) { width: 82%; }
.cx-ocr-l:nth-child(2) { width: 60%; }
.cx-ocr-l:nth-child(3) { width: 72%; }
.cx-scan { position: absolute; left: -2px; right: -2px; top: 4px; height: 2px; background: linear-gradient(90deg, transparent, #0FF0FC, transparent); box-shadow: 0 0 10px 2px rgba(15,240,252,.6); }

/* Scene 3 · ask the video library */
.cx-vchat {
  width: 100%; border-radius: 18px; border: 1px solid rgba(16,24,40,.08);
  background: rgba(255,255,255,.9); box-shadow: 0 30px 60px -30px rgba(16,24,40,.22), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(14px); padding: 14px 16px; display: flex; flex-direction: column; gap: 12px;
}
.cx-vchat-head { display: flex; align-items: center; gap: 9px; padding-bottom: 11px; border-bottom: 1px solid rgba(16,24,40,.08); font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--cx-text); }
.cx-vchat-badge { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 8px; background: linear-gradient(135deg,#A3E635,#0FF0FC); }
.cx-vchat-badge svg { width: 16px; height: 16px; }
.cx-vchat-lib { margin-left: auto; font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace); font-size: .56rem; font-weight: 600; letter-spacing: .04em; color: var(--cx-subtle); text-transform: uppercase; }
.cx-vchat-body { display: flex; flex-direction: column; gap: 13px; }
.cx-vx { position: relative; display: flex; flex-direction: column; gap: 8px; }
.cx-vx-q { align-self: flex-start; max-width: 82%; padding: 8px 12px; border-radius: 13px; border-bottom-left-radius: 4px; background: rgba(16,24,40,.055); color: var(--cx-text); font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace); font-size: .7rem; font-weight: 500; line-height: 1.32; }
.cx-vx-a { align-self: flex-end; display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 7px; max-width: 90%; }
.cx-vx-aic { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: linear-gradient(135deg,#A3E635,#0FF0FC); margin-top: 1px; }
.cx-vx-aic svg { width: 13px; height: 13px; }
.cx-vx-abub { padding: 8px 12px; border-radius: 13px; border-bottom-right-radius: 4px; background: linear-gradient(135deg,#7C1AED,#6d17c9); color: #fff; font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace); font-size: .7rem; line-height: 1.34; }
.cx-vx-abub em { font-style: normal; color: #0FF0FC; font-weight: 600; }
.cx-vx-typing { position: absolute; right: 29px; bottom: 0; display: inline-flex; gap: 4px; padding: 8px 11px; border-radius: 12px; border-bottom-right-radius: 4px; background: rgba(16,24,40,.055); }
.cx-vx-typing span { width: 6px; height: 6px; border-radius: 50%; background: #98A2B3; }

/* Scene 4 · feature web with radiating arrows */
.cx-group--web { width: min(500px, 96%); gap: 14px; }
.cx-vweb { position: relative; width: 100%; max-width: 468px; margin: 0 auto; aspect-ratio: 4 / 3; }
.cx-vweb-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.cx-vweb-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 5px; width: 100px; padding: 12px 10px;
  border-radius: 18px; text-align: center; border: 1px solid rgba(124,26,237,.28);
  background: linear-gradient(135deg, rgba(163,230,53,.18), rgba(15,240,252,.18)); box-shadow: 0 20px 44px -22px rgba(16,24,40,.44);
}
.cx-vweb-eye { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg,#A3E635,#0FF0FC); }
.cx-vweb-eye svg { width: 20px; height: 20px; }
.cx-vweb-core b { font-family: var(--font-head); font-weight: 700; font-size: .72rem; color: var(--cx-text); }
.cx-vweb-glow { position: absolute; inset: -34%; border-radius: 50%; background: radial-gradient(circle, rgba(15,240,252,.4), transparent 66%); filter: blur(14px); z-index: -1; }
.cx-vweb .cx-bout .cx-fic { background: linear-gradient(135deg,#A3E635,#0FF0FC); color: #0b3a3f; }
.cx-bout--hero { border-color: rgba(124,26,237,.34); background: linear-gradient(135deg, rgba(163,230,53,.16), rgba(15,240,252,.16)); }
/* v-web endpoints are logo tiles: the branch lands on the icon, the name sits underneath */
.cx-vweb .cx-bout { padding: 0; border: 0; background: none; box-shadow: none; }
.cx-vweb .cx-bout .cx-fic { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px; box-shadow: 0 16px 32px -16px rgba(16,24,40,.5); }
.cx-vweb .cx-bout .cx-fic svg { width: 22px; height: 22px; }
.cx-vweb .cx-bout .cx-btick { position: absolute; top: -6px; right: -6px; }
.cx-vweb .cx-bout-name { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); font-style: normal; font-family: var(--font-head); font-weight: 700; font-size: .62rem; color: var(--cx-text); white-space: nowrap; }
.cx-vweb .cx-bout--hero .cx-fic { box-shadow: 0 0 0 2px rgba(124,26,237,.4), 0 16px 32px -16px rgba(16,24,40,.5); }

/* ---- social DM conversation (Connect) ---- */
.cx-dm, .cx-dmflow, .cx-inbox2 {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(16,24,40,.08);
  background: rgba(255,255,255,.84);
  box-shadow: 0 30px 60px -30px rgba(16,24,40,.22), 0 6px 16px -8px rgba(16,24,40,.10), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.cx-dm-head, .cx-dmflow-head { display: flex; align-items: center; gap: 11px; padding: 12px 15px; border-bottom: 1px solid rgba(16,24,40,.06); }
.cx-dm-who { display: flex; flex-direction: column; line-height: 1.25; }
.cx-dm-who b { font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--cx-text); }
.cx-dm-who small { font-family: var(--font-head); font-size: .64rem; color: var(--cx-soft); font-weight: 600; }
.cx-dm-dots { margin-left: auto; color: var(--cx-soft); font-size: 1.15rem; letter-spacing: 1px; }
.cx-dmflow-live {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(55,151,240,.24);
  background: rgba(55,151,240,.10);
  color: #2563EB;
  font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.cx-plat { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; }
.cx-plat svg { width: 19px; height: 19px; }
.cx-plat--ig  { background: linear-gradient(135deg,#F58529,#DD2A7B,#8134AF); }
.cx-plat--wa  { background: #25D366; }
.cx-plat--msg { background: linear-gradient(45deg,#00C6FF,#0078FF,#A033FF,#FF5280); }
.cx-plat--fb  { background: #1877F2; }
.cx-plat--web { background: linear-gradient(135deg,#0EA5E9,#7C1AED); }
.cx-plat--mail { background: linear-gradient(135deg,#1D3557,#0FF0FC); }

.cx-dmstory {
  position: relative;
  width: 100%;
  min-height: min(390px, 58vh);
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  isolation: isolate;
}
.cx-dmstory-media {
  position: absolute;
  inset: -12% -10%;
  border-radius: 0;
  border: 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(16,24,40,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,24,40,.035) 1px, transparent 1px),
    radial-gradient(34% 42% at 52% 48%, rgba(15,240,252,.08), transparent 70%);
  background-size: 42px 42px, 42px 42px, auto;
  box-shadow: none;
  opacity: .58;
  -webkit-mask-image: radial-gradient(ellipse 78% 66% at 50% 52%, #000 0 54%, rgba(0,0,0,.68) 70%, transparent 90%);
  mask-image: radial-gradient(ellipse 78% 66% at 50% 52%, #000 0 54%, rgba(0,0,0,.68) 70%, transparent 90%);
}
.cx-dmstory-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 62% at 50% 50%, transparent 42%, rgba(255,255,255,.44) 100%);
  z-index: 3;
}
.cx-dmstory-ring {
  position: absolute;
  display: none;
  border-radius: 50%;
  border: 1px dashed rgba(124,26,237,.18);
  opacity: .52;
}
.cx-dmstory-ring--one { left: 12%; top: 18%; width: 250px; height: 250px; }
.cx-dmstory-ring--two { right: 10%; bottom: 10%; width: 210px; height: 210px; border-color: rgba(15,166,236,.18); }
.cx-dmstory-line {
  position: absolute;
  display: none;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(15,240,252,0), rgba(15,240,252,.36), rgba(124,26,237,.24), rgba(124,26,237,0));
  opacity: .44;
}
.cx-dmstory-line--one { left: 19%; top: 39%; width: 62%; transform: rotate(-8deg); }
.cx-dmstory-line--two { left: 25%; top: 66%; width: 54%; transform: rotate(10deg); }
.cx-dmstory-node {
  position: absolute;
  display: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #A3E635;
  box-shadow: 0 0 0 6px rgba(163,230,53,.14), 0 0 18px rgba(163,230,53,.42);
  z-index: 2;
}
.cx-dmstory-node--one { left: 22%; top: 36%; }
.cx-dmstory-node--two { right: 24%; top: 31%; background: #0FF0FC; box-shadow: 0 0 0 6px rgba(15,240,252,.13), 0 0 18px rgba(15,240,252,.34); }
.cx-dmstory-node--three { right: 18%; bottom: 24%; background: #7C1AED; box-shadow: 0 0 0 6px rgba(124,26,237,.13), 0 0 18px rgba(124,26,237,.34); }
.cx-dmstory-glow {
  position: absolute;
  display: none;
  left: 31%;
  top: 25%;
  width: 42%;
  height: 42%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.88), rgba(15,240,252,.24) 42%, rgba(124,26,237,.12) 64%, transparent 75%);
  filter: blur(10px);
  z-index: 2;
}
.cx-dmstory-top {
  position: absolute;
  left: 26px;
  right: 26px;
  top: 25px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace);
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cx-dmstory-top,
.cx-dmstory-live { display: none; }
.cx-dmstory-product { color: #253D80; font-weight: 700; }
.cx-dmstory-state {
  color: #12B76A;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(18,183,106,.08);
  border: 1px solid rgba(18,183,106,.14);
}
.cx-dmstory-live {
  position: absolute;
  left: 28px;
  top: 66px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px 9px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(16,24,40,.08);
  box-shadow: 0 16px 34px -24px rgba(16,24,40,.30), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
}
.cx-dmstory-live .cx-plat { width: 32px; height: 32px; flex-basis: 32px; }
.cx-dmstory-live .cx-plat svg { width: 18px; height: 18px; }
.cx-dmstory-live span:not(.cx-plat) { display: flex; flex-direction: column; line-height: 1.16; }
.cx-dmstory-live b { font-family: var(--font-head); font-size: .74rem; color: var(--cx-text); }
.cx-dmstory-live small { font-family: var(--font-head); font-size: .6rem; color: var(--cx-soft); font-weight: 600; }
.cx-dmstory-chat {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: min(500px, 90%);
  height: min(285px, 48vh);
  transform: translate(-50%, -50%);
}
.cx-dmstory-exchange {
  position: absolute;
  inset: 0;
  transform-origin: 50% 58%;
}
.cx-dmstory-incoming {
  position: absolute;
  left: 6%;
  top: 30%;
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 92%;
  transform-origin: left center;
}
.cx-dmstory-channel {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border: 3px solid rgba(255,255,255,.96);
  box-shadow: 0 14px 28px -18px rgba(221,42,123,.66);
}
.cx-dmstory-channel svg { width: 20px; height: 20px; }
.cx-dmstory-face {
  position: relative;
  z-index: 3;
  margin-left: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.95);
  background: linear-gradient(135deg, #7C1AED, #EC4899);
  color: #fff;
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 800;
  box-shadow: 0 12px 22px -14px rgba(124,26,237,.62);
}
.cx-dmstory-bubble {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0;
}
.cx-dmstory-bubble--incoming {
  margin-left: -4px;
  padding: 11px 16px 11px 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(24,24,28,.88);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 34px -24px rgba(16,24,40,.52);
}
.cx-dmstory-typing {
  position: absolute;
  right: 18%;
  top: 52%;
  display: inline-flex;
  gap: 5px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(24,24,28,.74);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 28px -20px rgba(16,24,40,.42);
}
.cx-dmstory-typing span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.72); }
.cx-dmstory-bot {
  position: absolute;
  right: 0;
  top: 58%;
  width: min(342px, 100%);
  padding: 17px 18px 16px;
  border-radius: 22px 22px 8px 22px;
  color: var(--cx-text);
  background: #3797F0;
  box-shadow: 0 26px 48px -24px rgba(55,151,240,.58), 0 8px 22px -18px rgba(14,165,233,.54), inset 0 1px 0 rgba(255,255,255,.20);
  transform-origin: 86% 0%;
}
.cx-dmstory-bot p {
  margin: 0;
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0;
  color: var(--cx-text);
}
.cx-dmstory-action {
  display: grid;
  place-items: center;
  min-height: 43px;
  margin-top: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.78);
  color: var(--cx-text);
  font-family: var(--font-head);
  font-size: .83rem;
  font-weight: 800;
}
.cx-dmstory-bot time {
  display: block;
  margin-top: 9px;
  text-align: right;
  color: var(--cx-muted);
  font-weight: 700;
  font-size: .58rem;
}
.cx-dm-thread { display: flex; flex-direction: column; gap: 12px; padding: 16px 15px 18px; }
.cx-dm-reply { position: relative; display: flex; flex-direction: column; min-height: 48px; }
.cx-dm-reply > [data-wait] { position: absolute; left: 0; top: 12px; margin: 0; }
.cx-dm-reply > [data-typing] { position: absolute; right: 0; top: 0; }
.cx-dm-reply > [data-bot] { align-self: flex-end; }
.cx-dm-row { display: flex; align-items: flex-end; gap: 8px; max-width: 84%; }
.cx-dm-row--in  { align-self: flex-start; }
.cx-dm-row--out { align-self: flex-end; flex-direction: row-reverse; }
.cx-avatar { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 27px; border-radius: 50%; font-family: var(--font-head); font-weight: 800; font-size: .64rem; color: #fff; background: linear-gradient(135deg,#7C1AED,#EC4899); }
.cx-plat-av {
  color: #fff;
  box-shadow: 0 10px 22px -14px rgba(16,24,40,.42), inset 0 1px 0 rgba(255,255,255,.18);
}
.cx-avatar.cx-plat--ig {
  background:
    radial-gradient(circle at 30% 108%, #FEDA75 0 14%, #FA7E1E 28%, #D62976 52%, #962FBF 72%, #4F5BD5 100%);
}
.cx-avatar.cx-plat--msg {
  background: linear-gradient(135deg, #00B2FF 0%, #006AFF 44%, #A033FF 72%, #FF5280 100%);
}
.cx-avatar.cx-plat--fb {
  background: #1877F2;
}
.cx-avatar.cx-plat--wa {
  background: #25D366;
}
.cx-avatar.cx-plat--web {
  background: linear-gradient(135deg, #0EA5E9 0%, #2563EB 54%, #7C1AED 100%);
}
.cx-avatar.cx-plat--mail {
  background: linear-gradient(135deg, #EA4335 0%, #FBBC05 38%, #34A853 68%, #4285F4 100%);
}
.cx-plat-av svg { width: 16px; height: 16px; }
.cx-plat-av.cx-plat--fb svg { width: 17px; height: 17px; }
.cx-plat-av.cx-plat--wa svg { width: 18px; height: 18px; }
.cx-plat-av.cx-plat--mail svg { width: 15px; height: 15px; }
.cx-dm-bubble { position: relative; padding: 9px 13px 8px; font-family: var(--font-head); font-weight: 500; font-size: .88rem; line-height: 1.34; letter-spacing: -.005em; }
.cx-dm-bubble time { display: block; margin-top: 3px; font-family: var(--font-head); font-weight: 600; font-size: .58rem; color: var(--cx-soft); }
.cx-dm-bubble--in  { background: #EEF0F4; color: var(--cx-text); border-radius: 16px 16px 16px 5px; }
.cx-dm-bubble--out { background: #3797F0; color: var(--cx-text); border-radius: 16px 16px 5px 16px; box-shadow: 0 8px 20px -8px rgba(55,151,240,.5); font-weight: 700; }
.cx-dm-bubble--out time { color: var(--cx-muted); text-align: right; font-weight: 700; }
.cx-dm-bubble--typing { background: #EEF0F4; border-radius: 16px; display: inline-flex; gap: 5px; padding: 12px 14px; }
.cx-dm-bubble--typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--cx-subtle); }
.cx-dmflow-window {
  position: relative;
  height: min(330px, 54vh);
  overflow: hidden;
  padding: 13px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.58), rgba(248,250,252,.72)),
    radial-gradient(80% 70% at 80% 0%, rgba(15,240,252,.09), transparent 62%);
}
.cx-dmflow-window::before,
.cx-dmflow-window::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  height: 44px;
  pointer-events: none;
}
.cx-dmflow-window::before { top: 0; background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,0)); }
.cx-dmflow-window::after { bottom: 0; background: linear-gradient(0deg, rgba(255,255,255,.95), rgba(255,255,255,0)); }
.cx-dmflow-track { display: flex; flex-direction: column; gap: 10px; will-change: transform; }
.cx-dm-mini {
  position: relative;
  min-height: 124px;
  padding: 11px 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(16,24,40,.07);
  background: rgba(255,255,255,.84);
  box-shadow: 0 15px 32px -24px rgba(16,24,40,.30), inset 0 1px 0 rgba(255,255,255,.92);
}
.cx-dm-mini-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  line-height: 1;
}
.cx-dm-mini-top .cx-avatar { width: 24px; height: 24px; flex-basis: 24px; font-size: .58rem; }
.cx-dm-mini-top b { min-width: 0; font-size: .74rem; color: var(--cx-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-dm-mini-top small { margin-left: auto; font-size: .58rem; color: var(--cx-soft); font-weight: 600; }
.cx-dm-mini-q,
.cx-dm-mini-a {
  width: fit-content;
  max-width: 76%;
  padding: 8px 11px;
  font-family: var(--font-head);
  font-size: .73rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
}
.cx-dm-mini-q {
  margin: 9px 0 0 34px;
  border-radius: 14px 14px 14px 5px;
  color: var(--cx-text);
  background: #EEF0F4;
}
.cx-dm-mini-typing {
  display: inline-flex;
  gap: 4px;
  margin: 9px 0 0 auto;
  padding: 10px 12px;
  border-radius: 999px;
  background: #EEF0F4;
}
.cx-dm-mini-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--cx-subtle); }
.cx-dm-mini-a {
  margin: 9px 0 0 auto;
  border-radius: 14px 14px 5px 14px;
  color: var(--cx-text);
  background: #3797F0;
  font-weight: 700;
  box-shadow: 0 12px 24px -14px rgba(55,151,240,.7);
}
.cx-dm-mini-a time {
  display: block;
  margin-top: 3px;
  text-align: right;
  font-size: .54rem;
  color: var(--cx-muted);
  font-weight: 700;
}

/* ---- multi-channel coverage ---- */
.cx-inbox2-head { display: flex; align-items: center; gap: 8px; padding: 12px 15px; border-bottom: 1px solid rgba(16,24,40,.06); font-family: var(--font-head); font-weight: 800; font-size: .82rem; color: var(--cx-text); }
.cx-inbox2-count { margin-left: auto; font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace); font-style: normal; font-size: .66rem; font-weight: 700; color: var(--cx-soft); }
.cx-dm-dot { width: 8px; height: 8px; border-radius: 50%; background: #F04438; }
.cx-inbox2-list { display: flex; flex-direction: column; }
.cx-inbox2-row { display: flex; align-items: center; gap: 11px; padding: 9px 15px; border-bottom: 1px solid rgba(16,24,40,.05); }
.cx-inbox2-row:last-child { border-bottom: 0; }
.cx-inbox2-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.cx-inbox2-txt b { font-family: var(--font-head); font-weight: 700; font-size: .78rem; color: var(--cx-text); }
.cx-inbox2-txt span { font-family: var(--font-head); font-weight: 600; font-size: .74rem; color: var(--cx-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-inbox2-status { margin-left: auto; display: grid; place-items: center end; min-width: 66px; }
.cx-inbox2-status > * { grid-area: 1 / 1; }
.cx-inbox2-status .cx-live { position: relative; z-index: 0; }
.cx-replied { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace); font-size: .6rem; font-weight: 700; color: #17A34A; opacity: 0; }
.cx-inbox2-status .cx-replied {
  position: relative;
  z-index: 1;
  isolation: isolate;
  min-width: 58px;
  justify-content: flex-end;
  padding: 2px 0 2px 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: -8px 0 0 8px #fff, 0 0 0 4px #fff;
}
.cx-inbox2-status .cx-replied::before {
  content: "";
  position: absolute;
  inset: -6px -10px -6px -18px;
  z-index: -1;
  border-radius: 999px;
  background: #fff;
}
.cx-replied svg { width: 13px; height: 13px; }

/* =====================================================================
   GENESIS · AI activation -> benefits radiating -> product reveal
   ===================================================================== */
.cx-scene--genesis { padding: 20px; }
.cx-genesis { position: relative; width: min(560px, 100%); height: min(460px, 74vh); }

/* neural connection paths (curved, glowing, accent gradient) */
.cx-neural { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: .9; }
.cx-npath { stroke-dasharray: 1; stroke-dashoffset: 1; }

/* the AI core = a soft, colourless light bloom that lifts the logo off the web
   (no coloured halo — keeps the Max Smart Digital mark clean at the centre) */
.cx-orb {
  position: absolute; left: 50%; top: 50%; width: 168px; height: 168px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  filter: blur(10px);
  background: radial-gradient(circle, rgba(255,255,255,.95) 0%, rgba(255,255,255,.7) 34%, rgba(255,255,255,0) 66%);
}
.cx-genesis--v .cx-orb {
  background: radial-gradient(circle, rgba(255,255,255,.95) 0%, rgba(255,255,255,.7) 34%, rgba(255,255,255,0) 66%);
}
.cx-logo {
  position: absolute; left: 50%; top: 50%; width: 82px; height: 82px;
  transform: translate(-50%,-50%);
  display: grid; place-items: center;
}
.cx-logo-mark {
  width: 100%; height: 100%; border-radius: 21px;
  box-shadow: 0 18px 40px -14px rgba(16,24,40,.32), 0 0 0 1px rgba(16,24,40,.06);
}
/* convergence particles */
.cx-particles { position: absolute; inset: 0; pointer-events: none; }
.cx-particles i {
  position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, #fff, #0FF0FC 60%, rgba(124,26,237,.7));
  box-shadow: 0 0 10px rgba(15,240,252,.8);
}
.cx-genesis--v .cx-particles i { background: radial-gradient(circle, #fff, #A3E635 60%, rgba(15,240,252,.7)); box-shadow: 0 0 10px rgba(163,230,53,.8); }

/* benefit chips carried outward on the flow */
.cx-benefits { position: absolute; inset: 0; }
.cx-benefit {
  position: absolute; transform: translate(-50%,-50%);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 13px; border-radius: 999px; white-space: nowrap;
  font-family: var(--font-head); font-weight: 800; font-size: .76rem; color: var(--cx-text);
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(124,26,237,.18);
  box-shadow: 0 14px 30px -14px rgba(16,24,40,.28), 0 0 0 4px rgba(255,255,255,.5), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  opacity: 0;
}
.cx-genesis--v .cx-benefit { border-color: rgba(15,240,252,.24); }
.cx-benefit-ok {
  display: grid; place-items: center; width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%;
  background: linear-gradient(135deg,#7C1AED,#0FF0FC); color: #fff; font-style: normal;
}
.cx-genesis--v .cx-benefit-ok { background: linear-gradient(135deg,#A3E635,#0FF0FC); color: #0b3a3f; }
.cx-benefit-ok svg { width: 11px; height: 11px; }

/* channel / feature badge inside a benefit chip (real platform logos) */
.cx-bi { display: grid; place-items: center; width: 20px; height: 20px; flex: 0 0 20px; border-radius: 50%; }
.cx-bi svg { width: 12px; height: 12px; }
.cx-bi--ig   { background: linear-gradient(135deg,#F58529,#DD2A7B,#8134AF); }
.cx-bi--wa   { background: #25D366; }
.cx-bi--msg  { background: linear-gradient(45deg,#00C6FF,#0078FF,#A033FF,#FF5280); }
.cx-bi--fb   { background: #1877F2; }
.cx-bi--feat { background: linear-gradient(135deg,#7C1AED,#0FF0FC); }

/* the earned product reveal */
.cx-reveal { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }

/* ---- shared: wordmark / subtitle / payoff line ---- */
.cx-word {
  margin: 0; line-height: .96;
  font-family: var(--font-head); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(2.4rem, 6vw, 4rem); color: var(--cx-text);
}
.cx-word span { display: block; }
.cx-grad-c { background: linear-gradient(100deg,#0FF0FC,#7C1AED); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cx-grad-v { background: linear-gradient(100deg,#7C1AED,#0FF0FC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cx .cx-sub { margin: 16px 0 0; font-family: var(--font-mono, 'IBM Plex Mono', ui-monospace, Menlo, monospace); font-size: .9rem; font-weight: 700; color: var(--cx-muted); }
.cx .cx-line {
  margin: 18px 0 0; text-align: center;
  font-family: var(--font-head); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem); color: var(--cx-text);
}

@media (max-width: 620px) {
  .cx-word { font-size: clamp(2rem, 10vw, 2.8rem); }
  .cx-line { font-size: clamp(1.05rem, 5vw, 1.4rem); }
  .cx-bigtimer-num { font-size: clamp(2.2rem, 12vw, 3.2rem); }
  .cx-fnode, .cx-vcard { font-size: .74rem; }
  .cx-quote { font-size: .84rem; }
  .cx-benefit { font-size: .66rem; padding: 6px 10px; }
  .cx-orb { width: 74px; height: 74px; }
  .cx-genesis { height: min(400px, 72vh); }
  .cx-eco-intro { height: min(380px, 70vh); }
  .cx-intro-lines { opacity: .48; }
  .cx-intro-core { width: 132px; min-height: 126px; border-radius: 22px; padding: 14px 12px 12px; }
  .cx-intro-mark { width: 54px; height: 54px; }
  .cx-intro-brand { font-size: .74rem; }
  .cx-intro-system { font-size: .5rem; letter-spacing: .1em; }
  .cx-intro-product { min-width: 0; min-height: 0; padding: 6px; }
  .cx-intro-product-name { display: none; }
  .cx-intro-product-icon { width: 36px; height: 36px; }
  .cx-intro-product--create { --x: 0; --y: -138; }
  .cx-intro-product--connect { --x: 122; --y: -88; }
  .cx-intro-product--data { --x: 132; --y: 36; }
  .cx-intro-product--voice { --x: 76; --y: 126; }
  .cx-intro-product--vision { --x: -66; --y: 128; }
  .cx-intro-product--build { --x: -132; --y: 38; }
  .cx-intro-product--insights { --x: -122; --y: -88; }
  .cx .cx-cap { font-size: .76rem; letter-spacing: .1em; }
  .cx-intro-cap { bottom: -16px; width: min(calc(100% - 28px), 320px); }
}
@media (prefers-reduced-motion: reduce) {
  .cx-amb, .cx-sweep { animation: none; }
}

@media (min-width: 960px) {
  .hero--apps .hero-ai-grid {
    grid-template-columns: minmax(420px, .84fr) minmax(640px, 1.16fr);
    gap: clamp(36px, 3.4vw, 56px);
  }
  .app-showcase {
    transform: translateX(clamp(20px, 3.4vw, 56px));
  }
}
@media (max-width: 959px) {
  .hero--apps { min-height: 0; }
  .hero--apps .display { max-width: 15ch; }
  .app-showcase { min-height: 470px; }
}
@media (max-width: 720px) {
  .app-showcase-tabs {
    left: 0;
    right: 0;
    justify-content: center;
    transform: scale(.86);
  }
  .app-shot {
    inset: 21% -38% 0 -10%;
    transform-origin: 50% 56%;
  }
}
@media (max-width: 620px) {
  .hero--apps {
    padding-top: 56px;
    padding-bottom: 70px;
  }
  .hero--apps .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .hero-signal-strip { display: none; }
  .app-showcase { min-height: 390px; }
  .app-showcase-tabs span {
    min-width: 74px;
    padding: 7px 10px;
  }
  .app-shot {
    border-radius: 22px;
    transform: translateY(24px) scale(.96);
  }
  .app-shot-layout { grid-template-columns: 108px minmax(0, 1fr); }
  .app-sidebar { padding: 12px 8px; }
  .app-sidebar span { padding: 7px; font-size: .52rem; }
  .app-main { gap: 8px; padding: 10px; }
  .app-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .app-stats span { min-height: 58px; padding: 9px; }
  .app-connect-grid,
  .app-vision-grid,
  .app-data-grid { grid-template-columns: 1fr; }
  .app-assistant,
  .app-insight,
  .app-actions { display: none; }
  .app-chart { min-height: 150px; }
  .vig { padding: 14px; gap: 8px; }
  .vig-stage { padding: 12px; gap: 7px; }
  .vig-msg, .vig-src, .vig-ans-text { font-size: .62rem; }
  .vig-cal-grid span { height: 21px; font-size: .58rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-hyperglow,
  .app-showcase-shell::after,
  .app-showcase-tabs span,
  .app-shot,
  .vig-stage > [style*="--d"],
  .vig-cursor,
  .vig-cal-grid .is-pick,
  .app-chart svg polyline,
  .app-usage span {
    animation: none !important;
  }
  .app-shot--painconnect {
    opacity: 1;
    transform: none;
  }
  .vig-stage > [style*="--d"] { opacity: 1; transform: none; }
  .vig-cursor { opacity: 1; }
}
@keyframes heroGlowDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(4%, 3%, 0) scale(1.08); }
}
@keyframes appShotCycle {
  0% { opacity: 0; transform: translateY(30px) scale(.965); z-index: 1; }
  5%, 21% { opacity: 1; transform: translateY(0) scale(1); z-index: 4; }
  24.5%, 100% { opacity: 0; transform: translateY(-22px) scale(.975); z-index: 1; }
}
@keyframes appTabConnect {
  0%, 44% { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 2px 10px rgba(0,0,0,.22); }
  50%, 100% { background: transparent; color: rgba(238,242,251,.55); box-shadow: none; }
}
@keyframes appTabVision {
  0%, 44% { background: transparent; color: rgba(238,242,251,.55); box-shadow: none; }
  50%, 94% { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 2px 10px rgba(0,0,0,.22); }
  100% { background: transparent; color: rgba(238,242,251,.55); box-shadow: none; }
}
@keyframes vigBeat {
  0% { opacity: 0; transform: translateY(12px) scale(.96); }
  2.6% { opacity: 1; transform: translateY(0) scale(1); }
  20% { opacity: 1; transform: translateY(0) scale(1); }
  23%, 100% { opacity: 0; transform: translateY(-8px) scale(.98); }
}
@keyframes vigPick {
  0% { box-shadow: 0 0 0 0 rgba(124,26,237,0); }
  1.5% { box-shadow: 0 0 0 6px rgba(124,26,237,.24); }
  5%, 100% { box-shadow: 0 0 0 0 rgba(124,26,237,0); }
}
@keyframes vigTap {
  0% { opacity: 0; transform: translate(8px, 8px) scale(1); }
  1.4% { opacity: 1; transform: translate(0, 0) scale(1); }
  2.6% { transform: translate(0, 0) scale(.78); }
  4%, 17% { opacity: 1; transform: translate(0, 0) scale(1); }
  21%, 100% { opacity: 0; transform: translate(0, 0) scale(1); }
}
@keyframes appDeckScan {
  0%, 100% { transform: translateY(-70px); opacity: .1; }
  50% { transform: translateY(70px); opacity: .5; }
}
@keyframes appLineDraw {
  0%, 6% { stroke-dashoffset: 680; }
  18%, 100% { stroke-dashoffset: 0; }
}
@keyframes appUsagePulse {
  0%, 100% { transform: scaleX(.55); opacity: .66; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* ============================================================
   Blog post reading typography — enforced spec
   Applies to every blog post (body.blog-post). Covers:
   • H1/intro/body/H2/H3/CTA/button sizes (desktop + mobile)
   • 18px body, 1.7 line-height, deep-navy ink, off-white surface
   • 650–750px reading measure
   • Branding fonts: H1 Archivo Black, H2/H3 Manrope, body/links/
     buttons IBM Plex Mono (--font-display / --font-head / --font-body)
   ============================================================ */
body.blog-post { background: var(--pale-blue); }            /* very pale blue page */

/* Reading surface + base body type */
.blog-post .blog-article {
  --blog-copy-width: 720px;                  /* 650–750px reading measure */
  background: var(--soft-white);             /* off-white reading surface */
  color: var(--ink);                         /* deep navy, not pure black */
  font-size: 1.125rem;                       /* 18px */
  line-height: 1.7;
}

/* Body text (direct article paragraphs + list items; not the dark final note) */
.blog-post .blog-article > p,
.blog-post .blog-article li {
  font-size: 1.125rem;                       /* 18px desktop */
  line-height: 1.7;
  color: var(--ink);                         /* deep navy */
  font-family: var(--font-body);             /* IBM Plex Mono */
}
.blog-post .blog-article .blog-final-note h2 {
  color: #fff;                               /* white heading on the dark note */
  font-weight: 800;                          /* bold */
}
.blog-post .blog-article .blog-final-note p {
  font-size: 1.125rem; line-height: 1.7;
  color: #fff;                               /* white body on the dark note */
}

/* H1 — blog title: 42–56px desktop, Archivo Black per branding */
.blog-post .blog-article-masthead h1 {
  font-family: var(--font-display);          /* Archivo Black */
  font-size: clamp(2.625rem, 4.5vw, 3.5rem); /* 42 → 56px */
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* Intro paragraph: 20–22px desktop */
.blog-post .blog-article-summary {
  font-size: clamp(1.25rem, 1.6vw, 1.375rem);/* 20 → 22px */
  line-height: 1.6;
  max-width: 70ch;
}

/* H2 headings: 30–36px desktop, Manrope */
.blog-post .blog-article h2 {
  font-family: var(--font-head);
  font-size: clamp(1.875rem, 2.6vw, 2.25rem);/* 30 → 36px */
  line-height: 1.2;
}

/* H3 headings: 22–26px desktop, Manrope */
.blog-post .blog-article h3 {
  font-family: var(--font-head);
  font-size: clamp(1.375rem, 1.8vw, 1.625rem);/* 22 → 26px */
  line-height: 1.25;
  margin-top: 32px;
}
.blog-post .blog-article h3 + p { margin-top: 8px; }

/* Keep ordered-list numbers aligned with the article copy edge. */
.blog-post .blog-article ol {
  counter-reset: article-step;
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-left: 0;
  list-style: none;
}
.blog-post .blog-article ol li {
  counter-increment: article-step;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  padding-left: 0;
}
.blog-post .blog-article ol li::before { content: counter(article-step) "."; }

/* Anchor jumps from the "In this article" nav land below the sticky 72px header */
.blog-post .blog-article h2,
.blog-post .blog-article h3,
.blog-post .blog-article .blog-final-note { scroll-margin-top: 96px; }

/* "In this article" sidebar — match the post body font at 18px, numbered */
.blog-post .blog-aside { counter-reset: toc; }
.blog-post .blog-aside a {
  font-family: var(--font-body);             /* same font as the post body */
  font-size: 1.125rem;                       /* 18px */
  line-height: 1.4;
  counter-increment: toc;
  display: grid;                             /* hanging indent for wrapped labels */
  grid-template-columns: auto 1fr;
  gap: .5em;
}
.blog-post .blog-aside a::before {
  content: counter(toc) ".";
  color: var(--purple);
  font-weight: 700;
}

/* CTA text: 18–20px */
.blog-post main .cta-band p {
  font-size: clamp(1.125rem, 1.4vw, 1.25rem);/* 18 → 20px */
  line-height: 1.6;
}

/* Button text: 16–18px */
.blog-post main .btn { font-size: 1rem; }        /* 16px */
.blog-post main .btn-lg { font-size: 1.125rem; } /* 18px */

/* Mobile (≤640px) */
@media (max-width: 640px) {
  .blog-post .blog-article { font-size: 1rem; line-height: 1.7; }     /* 16px body */
  .blog-post .blog-article > p,
  .blog-post .blog-article li,
  .blog-post .blog-article .blog-final-note p { font-size: 1rem; line-height: 1.7; }
  .blog-post .blog-article-masthead h1 {
    font-size: clamp(2rem, 8vw, 2.375rem);   /* 32 → 38px */
    line-height: 1.12;
  }
  .blog-post .blog-article-summary { font-size: 1.125rem; }          /* 18px intro */
  .blog-post .blog-article h2 { font-size: clamp(1.625rem, 6vw, 1.875rem); }  /* 26 → 30px */
  .blog-post .blog-article h3 { font-size: clamp(1.25rem, 5vw, 1.375rem); }   /* 20 → 22px */
}

/* ============================================================
   Newsletter scroll popup (blog posts) — styled like the
   checkout modal: white rounded card, eyebrow, bold heading,
   labelled fields, GDPR consent, full-width primary button.
   ============================================================ */
.news-pop-overlay {
  position: fixed; inset: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: radial-gradient(120% 120% at 50% 0%, rgba(124,26,237,.45), rgba(15,18,32,.6));
  backdrop-filter: blur(4px);
  animation: newsPopFade .25s var(--ease);
}
.news-pop-overlay[hidden] { display: none; }
.news-pop {
  position: relative; width: 100%; max-width: 480px; background: var(--grad-ink); color: #fff;
  border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 40px 90px rgba(16,32,72,.5); max-height: 90vh; overflow-y: auto;
  animation: newsPopRise .3s var(--ease);
}
.news-pop-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); font-size: 1.3rem; line-height: 1;
  display: grid; place-items: center; color: #fff; cursor: pointer; transition: all .15s;
}
.news-pop-close:hover { border-color: var(--lime); color: var(--lime); }
.news-pop h2 { color: #fff; font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.05rem); line-height: 1.15; margin: 0 0 14px; }
.news-pop-sub { color: var(--text-on-dark-soft); font-size: 1rem; line-height: 1.55; margin: 0 0 12px; }
.news-pop-sub:last-of-type { margin-bottom: 24px; }
.news-pop-field { display: grid; gap: 6px; margin-bottom: 16px; }
.news-pop-field label { font-size: .82rem; font-weight: 600; color: #fff; }
.news-pop .req { color: var(--coral); }
.news-pop-field input {
  font-family: var(--font-body); font-size: .95rem; padding: .8em 1em;
  border: 1.5px solid transparent; border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.news-pop-field input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(163,230,53,.3); }
.news-pop-consent-block { margin: 8px 0 20px; }
.news-pop-consent-intro { font-size: .82rem; color: var(--text-on-dark-soft); line-height: 1.5; margin: 0 0 12px; }
.news-pop-consent {
  display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start;
  margin: 0 0 12px; font-size: .82rem; color: var(--text-on-dark); line-height: 1.5;
}
.news-pop-consent input { margin-top: .15em; width: 18px; height: 18px; accent-color: var(--lime); cursor: pointer; }
.news-pop a { color: var(--cyan); text-decoration: underline; }
.news-pop-submit { width: fit-content; min-width: 200px; margin: 14px auto 0; }
.news-pop-error { color: var(--coral); font-size: .82rem; margin-bottom: 10px; display: none; }
.news-pop-error.show { display: block; }
.news-pop-fine { color: var(--text-on-dark-soft); font-size: .72rem; line-height: 1.45; margin: 0 0 12px; }
.news-pop-success { text-align: center; padding: 6px 0 2px; }
.news-pop-success .eyebrow { justify-content: center; }
@keyframes newsPopFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes newsPopRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .news-pop { max-width: 100%; } }

/* ============================================================
   Newsletter signup — embedded in the gradient CTA panel.
   White fields + brand button on the brand gradient; the form is
   centred and constrained so it fits the panel.
   ============================================================ */
.news-cta .news-cta-lede { color: rgba(255,255,255,.92); max-width: 56ch; margin: 14px auto 26px; }
.news-embed-form { max-width: 540px; margin: 0 auto; text-align: left; }
.news-embed-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.news-embed-field { display: grid; gap: 6px; margin-bottom: 16px; }
.news-embed-field label { font-size: .82rem; font-weight: 700; color: #fff; }
.news-cta .req { color: #ffd166; }
.news-embed-field input {
  width: 100%; font-family: var(--font-body); font-size: .95rem; padding: .8em 1em;
  border: 2px solid transparent; border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.news-embed-field input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(255,255,255,.4); }
.news-embed-consent {
  display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start;
  margin: 4px 0 14px; font-size: .82rem; color: #fff; line-height: 1.5; text-align: left;
}
.news-embed-consent input { margin-top: .15em; width: 18px; height: 18px; accent-color: var(--lime); cursor: pointer; flex: 0 0 auto; }
.news-cta .news-embed-fine { font-size: .74rem; color: rgba(255,255,255,.82); line-height: 1.45; margin: 0 0 14px; max-width: none; text-align: left; }
.news-cta .news-embed-fine a, .news-embed-consent a { color: #fff; text-decoration: underline; }
.news-embed-error { display: none; margin: 0 0 12px; padding: 8px 12px; border-radius: 8px; background: rgba(0,0,0,.22); color: #fff; font-size: .82rem; font-weight: 600; }
.news-embed-error.show { display: block; }
.news-embed-submit { display: flex; width: fit-content; min-width: 220px; margin: 4px auto 0; }
.news-cta .news-embed-success { padding: 8px 0 2px; }
.news-cta .news-embed-success p { color: rgba(255,255,255,.92); max-width: 48ch; margin: 12px auto 0; }
@media (max-width: 520px) { .news-embed-row { grid-template-columns: 1fr; gap: 0; } }
