/* =========================================================
   ReportsVault v2 design system
   Loaded only by redesigned pages (body.v2). Self-contained:
   does not depend on style.css or Bootstrap CSS.
   ========================================================= */

:root {
  /* Brand scale: every colour on v2 pages comes from this blue ramp
     plus the neutrals below. No other hues. */
  --blue-950: #071c3f;
  --blue-900: #0b2a5b;
  --blue-800: #123e82;
  --blue-700: #155bc0;
  --blue-600: #1f6fe0;
  --blue: #3385f4;
  --blue-400: #6aa6f7;
  --blue-300: #9cc4fa;
  --blue-200: #c4dcfc;
  --blue-100: #dceaff;
  --blue-50: #eef5ff;

  --ink: #0f1c33;
  --ink-2: #45536b;
  --ink-3: #5f6d86;
  --line: #e3e9f3;
  --surface: #ffffff;
  --surface-2: #f5f8fd;
  --navy: #0a1a38;

  /* Card tints: four steps of the same blue */
  --tint-1: #eef5ff;
  --tint-2: #e4eefe;
  --tint-3: #f3f7fe;
  --tint-4: #dae8fd;

  /* Status colours. Used ONLY to carry meaning (status, flags, progress,
     form feedback), never decoration; the brand stays blue. Every pair
     meets WCAG AA, and a text label always accompanies the colour. */
  --ok: #15803d;     --ok-fg: #0b6b45;   --ok-bg: #e3f5ec;
  --warn: #f4b740;   --warn-fg: #8a5300; --warn-bg: #fff3d6;
  --bad: #c4291c;    --bad-fg: #b42318;  --bad-bg: #fdebea;
  --idle-fg: #45536b; --idle-bg: #e9edf3;
  /* legacy aliases (blue depth) kept for non-status uses */
  --st-done: var(--blue-800);
  --st-active: var(--blue);
  --st-attn: var(--blue-600);
  --st-wait: var(--blue-300);
  --st-idle: #e3e9f3;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 48, .06), 0 1px 3px rgba(16, 24, 48, .04);
  --shadow-md: 0 8px 24px -6px rgba(16, 24, 48, .12), 0 2px 6px rgba(16, 24, 48, .05);
  --shadow-lg: 0 30px 60px -20px rgba(16, 24, 48, .25), 0 10px 24px -8px rgba(16, 24, 48, .10);

  --f-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --hdr-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body.v2 {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.v2 :where(img) { max-width: 100%; height: auto; display: block; }
.v2 :where(a) { color: inherit; text-decoration: none; }
:where(.v2) :where(h1, h2, h3, h4, h5) {
  font-family: var(--f-head);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
:where(.v2) :where(p) { margin: 0; text-wrap: pretty; }
:where(.v2) :where(ul) { margin: 0; padding: 0; list-style: none; }
.v2 button { font: inherit; cursor: pointer; }
.v2 :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

@media (max-width: 640px) { .br-md { display: none; } }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 1000;
  background: var(--ink); color: #fff !important; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Type scale ---------- */
.display {
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; }
.h4 { font-size: 20px; line-height: 1.3; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-head); font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600);
}
.grad-text {
  background: linear-gradient(92deg, var(--blue-800) 0%, var(--blue) 55%, var(--blue-400) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Layout helpers ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-sm { padding: clamp(48px, 6vw, 72px) 0; }
.bg-soft { background: var(--surface-2); }
.center { text-align: center; }
.sec-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.sec-head .eyebrow, .eyebrow.pilled {
  margin-bottom: 18px; padding: 6px 14px; border-radius: var(--pill);
  background: var(--blue-50); border: 1px solid var(--blue-100);
}
.dark .sec-head .eyebrow { background: rgba(51, 133, 244, .14); border-color: rgba(143, 186, 255, .25); }
.sec-head .lead { margin-top: 18px; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 991px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: var(--pill);
  font-family: var(--f-body); font-weight: 600; font-size: 16px; line-height: 1;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
/* blue-600 rather than the brand blue: white label text needs 4.5:1 contrast */
.btn-primary { background: var(--blue-600); color: #fff !important; box-shadow: 0 6px 16px -6px rgba(31, 111, 224, .6); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink) !important; border-color: #c9d0dc; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink) !important; }
.btn-white:hover { background: var(--blue-50); }
.btn:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 3px; }
.btn:active { transform: translateY(0); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--blue-600) !important;
}
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg, a:hover .link-arrow svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.v2 .header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.v2 .header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(16, 24, 48, .18); }
.nav-wrap { display: flex; align-items: center; gap: 32px; height: 72px; }
.nav-logo img { width: 168px; }
.v2 .header .menu { flex: 1; }
.v2 .header .menu > ul { display: flex; align-items: center; gap: 4px; }
.v2 .header .menu > ul > li { position: relative; }
.v2 .header .menu > ul > li > a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: var(--pill);
  font-weight: 500; font-size: 16px; color: var(--ink);
  transition: background-color .15s, color .15s;
}
.v2 .header .menu > ul > li > a:hover,
.v2 .header .menu > ul > li:focus-within > a { background: var(--surface-2); }
.v2 .header .menu > ul > li > a.is-active { color: var(--blue-600); }
.v2 .header .menu .chev { transition: transform .2s; }
.v2 .header .menu > ul > li:hover .chev { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.nav-actions .nav-link { font-weight: 500; padding: 10px 12px; }
.nav-actions .nav-link:hover { color: var(--blue-600); }

/* ---------- Mega menus ----------
   Full container width, anchored to .nav-wrap. Hover or keyboard focus
   opens them on desktop; on mobile they become accordions (see below). */
.nav-wrap { position: relative; }
.v2 .header .menu > ul > li.has-mega { position: static; }
.mega {
  position: absolute; inset-inline-start: var(--gutter); inset-inline-end: var(--gutter); top: calc(100% + 6px);
  display: grid; gap: 0; padding: 32px 36px 36px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: 0 40px 80px -24px rgba(11, 42, 91, .28), 0 12px 24px -12px rgba(11, 42, 91, .12);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
/* hover bridge so the pointer can travel from the menu item into the panel */
.mega::before { content: ""; position: absolute; inset-inline-start: 0; inset-inline-end: 0; top: -14px; height: 14px; }
.v2 .header .menu > ul > li:hover > .mega,
.v2 .header .menu > ul > li:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.v2 .header .menu > ul > li.has-mega:hover > a,
.v2 .header .menu > ul > li.has-mega:focus-within > a { background: var(--blue-50); color: var(--blue-700); }

.mm-platform { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1.5fr); }
.mm-3 { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); }
.mm-3.even { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mm-col { min-width: 0; }
.mm-col + .mm-col { border-inline-start: 1px solid var(--line); padding-inline-start: 36px; margin-inline-start: 36px; }
.mm-h { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 18px; }
.mm-sub { margin: -10px 0 18px; font-size: 15px; color: var(--ink-2); }
.mm-g { font-size: 13px; font-weight: 600; color: var(--ink-3); margin: 0 0 6px 12px; }

.mm-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; }
.mm-feat { display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 10px; border-radius: var(--r-md); transition: background-color .15s; }
.mm-feat:hover, .mm-feat:focus-visible { background: var(--surface-2); }
.mm-feat img { flex: 0 0 48px; width: 48px; height: 48px; padding: 5px; border-radius: 14px; background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue-100); transition: transform .2s; }
.mm-feat:hover img { transform: translateY(-2px) rotate(-3deg); }
.mm-feat strong, .mm-link strong { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.3; color: var(--ink); }
.mm-feat span span, .mm-link span span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: var(--ink-3); }
.mm-feat:hover strong, .mm-link:hover strong { color: var(--blue-700); }

.mm-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; }
.mm-link { display: flex; align-items: flex-start; gap: 12px; padding: 9px 12px; border-radius: 12px; transition: background-color .15s; }
.mm-link:hover, .mm-link:focus-visible { background: var(--surface-2); }
.mm-link .mi { flex: 0 0 20px; margin-top: 1px; color: var(--blue-600); }
.mm-link strong { font-weight: 500; font-size: 15px; }

.mm-more { display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 0 12px; font-weight: 600; font-size: 15px; color: var(--ink); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.mm-more:hover { color: var(--blue-700); }
.mm-more svg, .mm-promo-btn svg { transition: transform .2s; }
.mm-more:hover svg, .mm-promo:hover .mm-promo-btn svg { transform: translateX(3px); }

.mm-promo {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; margin-top: 24px; padding: 18px 20px 18px 18px;
  border-radius: var(--r-lg); color: #fff;
  background: radial-gradient(60% 140% at 100% 50%, rgba(51, 133, 244, .45), transparent 70%), linear-gradient(120deg, var(--blue-950), var(--blue-800));
}
.mm-promo img { flex: 0 0 56px; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .3)); }
.mm-promo > span:first-of-type { flex: 1; min-width: 0; }
.mm-promo strong { display: block; font-family: var(--f-head); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.mm-promo span span { display: block; font-size: 14px; color: var(--blue-200); margin-top: 2px; }
.mm-promo-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: var(--pill); background: #fff; color: var(--ink); font-weight: 600; font-size: 14.5px; }

@media (min-width: 1100px) and (max-width: 1240px) {
  .mega { padding: 28px; }
  .mm-col + .mm-col { padding-inline-start: 24px; margin-inline-start: 24px; }
  .mm-feats { grid-template-columns: 1fr; }
}

.v2 .header .menu .m-only { display: none; }
.nav-toggle {
  display: none; margin-inline-start: auto; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  position: relative; transition: transform .2s, background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; inset-inline-start: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1099px) {
  .nav-wrap { gap: 16px; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .nav-link { display: none; }
  .nav-actions { margin-inline-start: 0; }
  .v2 .header .menu {
    position: fixed; top: 72px; inset-inline-start: 0; inset-inline-end: 0; bottom: 0;
    background: #fff; overflow-y: auto; padding: 12px var(--gutter) 40px;
    display: none;
  }
  .nav-open .header .menu { display: block; }
  /* backdrop-filter makes the header the containing block for the fixed
     menu panel, which would clip it to the header's height */
  .v2.nav-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .v2 .header .menu > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .v2 .header .menu > ul > li { border-bottom: 1px solid var(--line); }
  .v2 .header .menu > ul > li > a { padding: 18px 4px; font-size: 18px; justify-content: space-between; border-radius: 0; width: 100%; }
  .v2 .header .menu > ul > li > a:hover { background: none; }
  .v2 .header .menu > ul > li:hover .chev { transform: none; }
  .v2 .header .menu > ul > li.open .chev { transform: rotate(180deg); }
  .mega {
    position: static; padding: 0 0 16px; border: 0; box-shadow: none; border-radius: 0; background: none;
    grid-template-columns: 1fr; gap: 20px; opacity: 1; visibility: visible; transform: none; display: none;
  }
  .mega::before { display: none; }
  .v2 .header .menu > ul > li:hover > .mega,
  .v2 .header .menu > ul > li:focus-within > .mega { display: none; }
  .v2 .header .menu > ul > li.open > .mega { display: grid; }
  .v2 .header .menu > ul > li.has-mega:hover > a, .v2 .header .menu > ul > li.has-mega:focus-within > a { background: none; color: var(--ink); }
  .mm-col + .mm-col { border-inline-start: 0; padding-inline-start: 0; margin-inline-start: 0; }
  .mm-h { margin-bottom: 8px; }
  .mm-sub { display: none; }
  .mm-feats, .mm-groups { grid-template-columns: 1fr; }
  .mm-g { margin: 8px 0 2px 12px; }
  .mm-feat { padding: 8px 10px 8px 4px; }
  .mm-feat img { flex-basis: 44px; width: 44px; height: 44px; }
  .mm-promo-btn { display: none; }
  body.nav-open { overflow: hidden; }
  .v2 .header .menu .m-only { display: block; }
}
@media (max-width: 480px) {
  .nav-logo img { width: 140px; }
  .nav-actions .btn { height: 40px; padding: 0 14px; font-size: 14px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--hdr-h) + clamp(48px, 7vw, 96px)) 0 0;
  text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 15% 10%, rgba(51, 133, 244, .16), transparent 70%),
    radial-gradient(45% 40% at 90% 20%, rgba(21, 91, 192, .12), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(27, 34, 51, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 34, 51, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(70% 55% at 50% 30%, #000 30%, transparent 75%);
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px; border-radius: var(--pill);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 28px;
}
.hero-pill b {
  background: var(--blue); color: #fff; font-weight: 600; font-size: 12px;
  padding: 4px 10px; border-radius: var(--pill); letter-spacing: .02em;
}
.hero-pill b { white-space: nowrap; }
@media (max-width: 440px) {
  .hero-pill { font-size: 13px; padding: 6px 14px; }
  .hero-pill b { display: none; }
}
.hero h1 { max-width: 980px; margin: 0 auto; }
.hero .lead { max-width: 680px; margin: 24px auto 0; }

.email-cta {
  display: flex; gap: 8px; max-width: 520px; margin: 36px auto 0;
  padding: 6px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--pill);
  box-shadow: var(--shadow-md); transition: border-color .2s;
}
.email-cta:focus-within { border-color: var(--blue); }
.email-cta input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  padding: 0 18px; font: inherit; font-size: 16px; color: var(--ink);
}
.email-cta input::placeholder { color: var(--ink-3); }
.email-cta .btn { height: 48px; }
.cta-note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.cta-note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.trust-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 10px 24px; margin-top: 22px; font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.trust-row li { display: inline-flex; align-items: center; gap: 6px; }
.trust-row li > svg { color: var(--blue-600); }
.watch {
  display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none;
  font-weight: 600; color: var(--blue-600);
}
.watch:hover { color: var(--blue-700); }
.watch-ico {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; padding-inline-start: 2px; box-shadow: 0 4px 10px -3px rgba(51, 133, 244, .7);
}
@media (max-width: 520px) {
  .email-cta { flex-direction: column; border-radius: var(--r-lg); padding: 8px; }
  .email-cta input { height: 48px; }
  .email-cta .btn { width: 100%; }
}

.hero-stage {
  position: relative; max-width: 1120px; margin: clamp(48px, 6vw, 72px) auto 0; padding: 0 var(--gutter);
}
.hero-stage::after {
  content: ""; position: absolute; inset-inline-start: 0; inset-inline-end: 0; bottom: 0; height: 120px; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 85%);
}
.frame {
  position: relative; background: #fff; border-radius: var(--r-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden;
}
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dfe3ea; }
.frame-bar i { background: #d3dcea; }

/* HTML product mock (hero) */
.app {
  position: relative; text-align: start; background: #fff; overflow: hidden;
  border: 1px solid var(--line); border-bottom: 0; border-radius: var(--r-lg) var(--r-lg) 0 0;
  box-shadow: 0 40px 80px -30px rgba(16, 24, 48, .35), 0 0 0 8px rgba(255, 255, 255, .6);
  font-size: 13.5px;
}
.app-url {
  margin: 0 auto; padding: 4px 40px; border-radius: 8px; background: #eef1f6;
  font-size: 12px; color: var(--ink-3); transform: translateX(-20px);
}
.app-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 440px; }
.app-side { background: #f8fafd; border-inline-end: 1px solid var(--line); padding: 18px 14px; }
.app-ws { display: flex; align-items: center; gap: 10px; font-weight: 600; padding: 0 8px 16px; }
.ws-mark {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: var(--blue); color: #fff; font-size: 11px; font-weight: 700;
}
.app-nav { display: grid; gap: 2px; }
.app-nav span { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ink-2); font-weight: 500; }
.app-nav span.on { background: var(--blue-50); color: var(--blue-600); }
.app-nav em { margin-inline-start: auto; font-style: normal; font-size: 11px; font-weight: 700; background: var(--blue); color: #fff; padding: 1px 7px; border-radius: var(--pill); }
.app-nav.small span { padding: 6px 10px; }
.app-nav i { width: 10px; height: 10px; border-radius: 3px; }
.app-sub { margin: 18px 10px 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.app-main { padding: 20px 24px 0; min-width: 0; }
.app-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.app-crumb { font-size: 12px; color: var(--ink-3); }
.app-title { font-family: var(--f-head); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.app-actions { display: flex; align-items: center; gap: 12px; }
.faces { display: flex; }
.faces .avatar { border: 2px solid #fff; margin-inline-start: -8px; }
.app-btn { background: var(--blue); color: #fff; font-weight: 600; font-size: 13px; padding: 8px 14px; border-radius: 8px; white-space: nowrap; }
.app-tabs { display: flex; gap: 22px; margin: 16px 0 6px; border-bottom: 1px solid var(--line); }
.app-tabs span { padding: 8px 0; color: var(--ink-3); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.app-tabs span.on { color: var(--ink); border-color: var(--blue); }
.tbl-group { margin: 14px 0 6px; font-weight: 700; font-size: 13.5px; color: var(--g); }
.tbl-row {
  display: grid; grid-template-columns: minmax(0, 2.3fr) 1fr 56px 1.1fr 1fr; align-items: center; gap: 0;
  border: 1px solid var(--line); border-top: 0; border-inline-start: 4px solid var(--g, var(--line));
}
.tbl-group + .tbl-row { border-top: 1px solid var(--line); border-radius: 8px 8px 0 0; }
.tbl-row > * { padding: 9px 12px; border-inline-end: 1px solid var(--line); min-width: 0; height: 100%; display: flex; align-items: center; }
.tbl-row > *:last-child { border-inline-end: 0; }
.tbl-row .avatar { margin: 0 auto; padding: 0; height: 26px; border: 0; justify-content: center; }
.tbl-head > * { font-size: 12px; font-weight: 600; color: var(--ink-3); padding: 7px 12px; }
.tbl-head { border-inline-start-color: var(--line); background: #fbfcfe; }
.t-item { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block !important; line-height: 26px; }
.dept { font-weight: 600; font-size: 12px; color: var(--d); background: color-mix(in srgb, var(--d) 12%, #fff); padding: 3px 9px; border-radius: var(--pill); }
.st {
  justify-content: center; background: var(--s); color: #fff; font-weight: 600; font-size: 12.5px;
  border-inline-end-color: rgba(255, 255, 255, .5) !important; white-space: nowrap;
}
/* light status cells carry dark text */
.st.light { color: var(--blue-900); }
.st.ok { --s: var(--ok); }
.st.warn { --s: var(--warn); color: #3d2a00; }
.st.idle { --s: var(--idle-bg); color: var(--idle-fg); }
.sla { padding-inline-end: 16px !important; }
.sla i { display: block; height: 6px; border-radius: 6px; background: var(--blue); }
.sla { background-image: linear-gradient(#eef1f6, #eef1f6); background-size: calc(100% - 28px) 6px; background-position: 12px center; background-repeat: no-repeat; }
.sla.warn i { background: var(--warn); }
.sla.ok i { background: var(--ok); }
@media (max-width: 900px) {
  .app-body { grid-template-columns: 1fr; min-height: 0; }
  .app-side { display: none; }
  .app-url { display: none; }
}
@media (max-width: 640px) {
  .app-main { padding: 16px 14px 0; }
  .app-actions .faces { display: none; }
  .tbl-row { grid-template-columns: minmax(0, 1fr) 104px; }
  .tbl-row > :nth-child(2), .tbl-row > :nth-child(3), .tbl-row > :nth-child(5) { display: none !important; }
  .app-tabs span:nth-child(n+3) { display: none; }
}
.float-card {
  position: absolute; z-index: 2; text-align: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 14px 16px; width: 290px;
  animation: floaty 6s ease-in-out infinite;
}
.float-card .fc-tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--ink-3); text-transform: uppercase; }
.float-card .fc-title { font-weight: 600; font-size: 15px; margin: 4px 0 10px; }
.float-card .fc-row span { white-space: nowrap; }
.float-card .fc-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ink-3); }
.float-card.fc-1 { inset-inline-start: -28px; top: 30%; }
.float-card.fc-2 { inset-inline-end: -28px; top: 68%; animation-delay: -3s; width: 270px; }
.fc-ai { display: flex; gap: 10px; align-items: flex-start; }
.fc-ai .ill { flex: 0 0 36px; width: 36px; height: 36px; margin-top: -2px; }
.fc-ai p { font-size: 13px; line-height: 1.45; color: var(--ink-2); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 1180px) { .float-card { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .float-card, .marquee-track { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Status pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 4px 10px; border-radius: var(--pill); font-size: 12.5px; font-weight: 600; line-height: 1.4;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { color: var(--ok-fg); background: var(--ok-bg); }
.pill.warn { color: var(--warn-fg); background: var(--warn-bg); }
.pill.bad { color: var(--bad-fg); background: var(--bad-bg); }
.pill.active { color: var(--blue-700); background: var(--blue-100); }
.pill.open { color: var(--blue-800); background: #fff; box-shadow: inset 0 0 0 1px var(--blue-200); }
.pill.wait { color: var(--idle-fg); background: var(--idle-bg); }
.pill.ok::before { background: var(--ok); }
.pill.warn::before { background: #d99114; }
.pill.bad::before { background: var(--bad); }

/* ---------- Logo marquee ---------- */
.logos { padding: 24px 0 24px; border-bottom: 1px solid var(--line); }
.logos p { text-align: center; font-size: 15px; color: var(--ink-3); margin-bottom: 28px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 72px; width: max-content; animation: marquee 38s linear infinite; padding: 8px 0 24px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 30px; width: auto; max-width: 128px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .2s, opacity .2s; }
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Department tabs ---------- */
.tabs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px;
  margin: 0 auto 40px; padding: 6px; width: fit-content; max-width: 100%;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--pill);
}
.tab {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 22px; border: 0; border-radius: var(--pill);
  background: transparent; color: var(--ink-2); font-weight: 600; font-size: 15.5px;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-md); }
.tab .dot { width: 10px; height: 10px; border-radius: 3px; }
@media (max-width: 640px) {
  .tabs { border-radius: var(--r-lg); width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .tab { justify-content: center; padding: 0 10px; }
  .tab .tab-x { display: none; }
}

.panel {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 4vw, 56px); border-radius: var(--r-xl);
}
.panel[hidden] { display: none; }
.panel.is-in { animation: panelIn .35s ease-out; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel.legal { background: var(--tint-1); --acc: var(--blue-600); }
.panel.hr { background: var(--tint-2); --acc: var(--blue-800); }
.panel.it { background: var(--tint-3); --acc: var(--blue-700); }
.panel.finance { background: var(--tint-4); --acc: var(--blue-900); }
.panel .eyebrow { color: var(--acc); }
@media (min-width: 901px) { .panel { min-height: 460px; } }
.panel h3 { margin: 12px 0 14px; }
.checks { margin: 24px 0 28px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks li svg { flex: 0 0 22px; margin-top: 2px; }
@media (max-width: 900px) { .panel { grid-template-columns: 1fr; } }

/* Board mockup (monday-style table) */
.board {
  background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(16, 24, 48, .06); overflow: hidden; font-size: 14px;
}
.board-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.board-head strong { font-family: var(--f-head); font-weight: 600; font-size: 15px; }
.board-head .views { display: flex; gap: 6px; }
.board-head .views span { font-size: 12.5px; padding: 4px 10px; border-radius: 8px; color: var(--ink-3); }
.board-head .views span.on { background: var(--blue-50); color: var(--blue-600); font-weight: 600; }
.board-group { padding: 12px 20px 4px; font-weight: 600; font-size: 13px; }
.board-row {
  display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) 132px;
  gap: 12px; align-items: center; padding: 12px 20px; border-top: 1px solid var(--line);
  border-inline-start: 4px solid var(--grp, var(--blue));
}
.board-row .pill { justify-self: end; }
.board-row .item { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-row .owner { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 13px; overflow: hidden; white-space: nowrap; }
.avatar {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff;
}
.board-foot {
  display: flex; align-items: center; gap: 10px; padding: 12px 20px;
  background: linear-gradient(90deg, var(--blue-50), var(--tint-2)); font-size: 13px; color: var(--ink-2);
}
.board-foot .ill { flex: 0 0 26px; width: 26px; height: 26px; }
@media (max-width: 520px) {
  .board-row { grid-template-columns: minmax(0, 1fr) auto; }
  .board-row .item { white-space: normal; line-height: 1.35; }
  .board-head, .board-group, .board-row, .board-foot { padding-inline-start: 16px; padding-inline-end: 16px; }
  .panel { padding: 24px 20px; }
  .board-row .owner { display: none; }
  .board-head .views { display: none; }
}

/* ---------- Building-block cards ---------- */
.block {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-lg); padding: 28px 28px 0; min-height: 100%;
  transition: transform .25s, box-shadow .25s;
}
.block:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.block.t-1 { background: var(--tint-1); }
.block.t-2 { background: var(--tint-2); }
.block.t-3 { background: var(--tint-3); box-shadow: inset 0 0 0 1px var(--line); }
.block.t-4 { background: var(--tint-4); }
.block .block-ill { position: absolute; top: 20px; inset-inline-end: 20px; width: 84px; height: 84px; transition: transform .35s; }
.block:hover .block-ill { transform: translateY(-4px) rotate(-4deg); }
.block h3, .block > p { padding-inline-end: 96px; }
.block h3 { font-size: 22px; margin: 8px 0 8px; }
.block p { color: var(--ink-2); font-size: 16px; }
.block .link-arrow { margin: 16px 0 28px; align-self: flex-start; }
.block .shot {
  margin-top: auto; margin-bottom: -28px; border-radius: 14px 14px 0 0; overflow: hidden;
  box-shadow: 0 -2px 20px -8px rgba(16, 24, 48, .2); background: #fff;
}
.block { padding-bottom: 0; }
.block .shot { transition: transform .3s; }
.block:hover .shot { transform: translateY(-6px); }
.block > p { margin-bottom: 0; }
.block .link-arrow + .shot { margin-top: auto; }
.block .shot > img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; object-position: top left; }
.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .bento { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { counter-reset: step; position: relative; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: border-color .2s, box-shadow .2s;
}
.step:hover { border-color: var(--blue-100); box-shadow: var(--shadow-md); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.step-ico { width: 68px; height: 68px; margin: -6px 0 -6px -6px; }
.step-ico img { width: 68px; height: 68px; }
.step-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 16px; }
/* ---------- AI ---------- */
.ai-split { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 991px) { .ai-split { grid-template-columns: 1fr; } }
.ai-list { display: grid; gap: 6px; }
.ai-list li {
  display: flex; gap: 16px; padding: 16px; border-radius: var(--r-md); transition: background-color .2s;
}
.ai-list li { align-items: center; }
.ai-list li:hover { background: #fff; box-shadow: var(--shadow-sm); }
.ai-ico { flex: 0 0 52px; width: 52px; height: 52px; }
.ai-ico img { width: 52px; height: 52px; }
.ai-list strong { display: block; font-weight: 600; font-size: 17px; }
.ai-list span { display: block; color: var(--ink-2); font-size: 15.5px; }

.video-poster { cursor: pointer; }
.video-poster .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-lg);
  display: grid; place-items: center; color: var(--blue); transition: transform .2s;
}
.video-poster:hover .play { transform: translate(-50%, -50%) scale(1.08); }

.control-grid { margin-top: clamp(48px, 6vw, 72px); }
.control {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px;
}
.control .c-ico { display: block; width: 64px; height: 64px; margin: -6px 0 12px -6px; }
.control .c-ico img { width: 64px; height: 64px; }
.control h3 { font-size: 18px; margin-bottom: 6px; }
.control p { font-size: 15.5px; color: var(--ink-2); }

/* ---------- Results ---------- */
.stat {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; min-height: 240px;
}

.stat > * { position: relative; z-index: 1; }
.stat.t-1 { background: var(--tint-1); }
.stat.t-2 { background: var(--tint-2); }
.stat.t-3 { background: var(--tint-4); }
.stat .stat-ill { position: absolute; inset-inline-end: 22px; top: 22px; width: 88px; height: 88px; z-index: 1; }
.stat .tag { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-700); }
/* label leads, the number lands */
.stat .stat-label { margin-top: 10px; padding-inline-end: 96px; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.3; color: var(--ink); text-wrap: balance; }
.stat .num {
  font-family: var(--f-head); font-weight: 600; letter-spacing: -0.04em;
  font-size: clamp(56px, 6vw, 80px); line-height: 1; margin-top: auto; padding-top: 28px;
  background: linear-gradient(120deg, var(--blue-900), var(--blue-600) 70%, var(--blue-400)); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split .lead { margin-top: 18px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.metrics { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.metrics span {
  padding: 8px 14px; border-radius: var(--pill); background: #fff; border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--ink-2);
}

/* ---------- Integrations ---------- */
.int-wrap {
  border-radius: var(--r-xl); padding: clamp(32px, 5vw, 64px);
  background: linear-gradient(180deg, var(--surface-2), #fff);
  border: 1px solid var(--line);
}
.int-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.int-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 24px 12px 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.int-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.int-logo { height: 44px; display: grid; place-items: center; }
.int-logo img { height: 36px; width: auto; max-width: 92px; object-fit: contain; }
/* square logo files with a centred wordmark: crop to the wordmark band */
/* icon file with heavy built-in padding */
.int-logo img.icon-pad { height: 76px; margin: -16px 0; }
.int-logo img.wordmark { width: 112px; height: 30px; object-fit: cover; }
.int-name { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.int-more { border-style: dashed; color: var(--blue-600); }
.int-more .int-name { color: var(--blue-600); }
@media (max-width: 991px) { .int-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .int-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Security (dark) ---------- */
.dark { background: var(--navy); color: #c9d2e3; position: relative; overflow: hidden; }
.dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 85% 0%, rgba(51, 133, 244, .28), transparent 70%),
              radial-gradient(40% 50% at 0% 100%, rgba(106, 166, 247, .16), transparent 70%);
}
.dark .container { position: relative; }
.dark h2, .dark h3 { color: #fff; }
.dark .lead, .dark p { color: #b5c0d6; }
.dark .eyebrow { color: #8fbaff; }
.certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 48px 0 24px; }
.cert {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  padding: 24px 16px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.cert-badge { display: grid; place-items: center; width: 100%; max-width: 200px; height: 72px; background: #fff; border-radius: var(--r-md); margin-bottom: 14px; }
.cert-badge img { height: auto; max-height: 44px; width: auto; max-width: 86%; }
.cert strong { color: #fff; font-weight: 600; font-size: 16px; }
.cert span { font-size: 14px; color: #9fb0cc; }
@media (max-width: 860px) { .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sec-points {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
}
.sec-point { padding: 28px; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; align-items: start; }
.sec-point + .sec-point { border-inline-start: 1px solid rgba(255, 255, 255, .1); }
.sec-point .c-ico { margin-bottom: 0; }
.sec-point h3 { font-size: 18px; margin: 2px 0 4px; }
.sec-point p { font-size: 15.5px; }
@media (max-width: 860px) {
  .sec-points { grid-template-columns: 1fr; }
  .sec-point + .sec-point { border-inline-start: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
}
.sec-card, .sec-point {
  padding: 28px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
}
.sec-card .c-ico, .sec-point .c-ico { display: block; width: 52px; height: 52px; margin-bottom: 18px; }
.sec-point .c-ico img { width: 52px; height: 52px; }
.sec-card h3 { font-size: 19px; margin-bottom: 6px; }
.sec-point { padding: 28px; border: 0; border-radius: 0; background: none; }

/* ---------- Insights ---------- */
.post {
  display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: #fff; transition: transform .25s, box-shadow .25s;
}
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post:hover .glyph { transform: rotate(-6deg) scale(1.05); }
.post-cover .glyph img { width: 54px; height: 54px; }
.post-cover {
  height: 176px; position: relative; display: flex; align-items: flex-end; padding: 20px; overflow: hidden;
}
.post-cover::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .75) 1.2px, transparent 1.2px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(120deg, transparent 20%, #000 90%); mask-image: linear-gradient(120deg, transparent 20%, #000 90%);
}
.post-cover::after {
  content: ""; position: absolute; inset-inline-start: -30px; bottom: -70px; width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255, 255, 255, .35);
}
.post-cover.c1 { background: linear-gradient(135deg, var(--blue-200), var(--blue-50)); }
.post-cover.c2 { background: linear-gradient(135deg, var(--blue-300), var(--blue-100)); }
.post-cover.c3 { background: linear-gradient(135deg, var(--blue-100), var(--surface-2)); }
.post-cover.c4 { background: linear-gradient(135deg, var(--blue-400), var(--blue-200)); }
.post-cover .glyph {
  position: absolute; z-index: 1; inset-inline-start: 24px; bottom: 22px; width: 76px; height: 76px; border-radius: 22px;
  background: #fff; display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow-md);
  transition: transform .3s;
}
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 20px; line-height: 1.35; margin: 8px 0 10px; }
.post-body p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 18px; }
.post-body .link-arrow { margin-top: auto; }

/* ---------- Closing CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  border-radius: var(--r-xl); padding: clamp(56px, 8vw, 104px) var(--gutter);
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue) 55%, var(--blue-400) 100%);
  color: #fff;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .08);
}
.cta-band::before { width: 420px; height: 420px; inset-inline-start: -140px; bottom: -220px; }
.cta-band::after { width: 320px; height: 320px; inset-inline-end: -90px; top: -140px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 760px; margin: 0 auto; }
.cta-band .lead { color: rgba(255, 255, 255, .86); max-width: 600px; margin: 18px auto 0; }
.cta-band .email-cta { border-color: transparent; box-shadow: 0 20px 40px -16px rgba(10, 20, 60, .5); }
.cta-band .cta-note { color: rgba(255, 255, 255, .75); }
.cta-band .cta-note a { color: #fff; }

/* ---------- Footer ---------- */
.footer-v2 { background: var(--surface-2); border-top: 1px solid var(--line); padding: 72px 0 28px; margin-top: 0; }
.foot-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.foot-brand img { width: 168px; margin-bottom: 18px; }
.foot-brand p { color: var(--ink-2); font-size: 15.5px; max-width: 300px; }
.foot-col h4 { font-family: var(--f-body); font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--ink); margin-bottom: 16px; }
.foot-col li { margin-bottom: 10px; }
.foot-col a { color: var(--ink-2); font-size: 15px; transition: color .15s; }
.foot-col a:hover { color: var(--blue-600); }
.foot-news {
  margin-top: 56px; padding: 28px 32px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.foot-news h4 { font-size: 19px; }
.foot-news p { color: var(--ink-2); font-size: 15px; }
.foot-news form { display: flex; gap: 10px; flex-wrap: wrap; }
.foot-news input {
  height: 48px; padding: 0 18px; border-radius: var(--pill); border: 1.5px solid var(--line);
  font: inherit; font-size: 15px; min-width: 200px; background: #fff; color: var(--ink);
}
.foot-news input:focus { outline: 0; border-color: var(--blue); }
.foot-news .btn { height: 48px; }
.foot-news .msg { width: 100%; font-size: 14px; }
.foot-news .msg.text-danger { color: var(--bad-fg); font-weight: 600; }
.foot-news .msg.text-success { color: var(--ok-fg); font-weight: 600; }
.foot-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3);
}
.foot-bottom a:hover { color: var(--ink); }
.foot-bottom .links { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 991px) {
  .foot-top { grid-template-columns: repeat(2, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .foot-news form, .foot-news input, .foot-news .btn { width: 100%; }
}

/* ---------- Section rhythm ----------
   Two white sections in a row would stack both paddings into one oversized
   gap; collapse the second one's top padding instead. */
:is(.section, .section-sm):not(.bg-soft):not(.dark) + :is(.section, .section-sm):not(.bg-soft):not(.dark) { padding-top: 0; }
/* the closing CTA band carries the gap above the footer, so the footer
   needs no margin and pages without a CTA band don't get a double gap */
.section-cta { padding-bottom: clamp(72px, 9vw, 128px); }
.logos + .section { padding-top: clamp(64px, 8vw, 104px); }

/* ---------- Utilities (spacing only; prefer components) ---------- */
.pt-0 { padding-top: 0 !important; } .pb-0 { padding-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; } .mb-24 { margin-bottom: 24px; } .mb-8 { margin-bottom: 8px; }
.mt-section { margin-top: clamp(64px, 8vw, 112px); }
.align-start { align-items: start !important; }
.sec-head.tight { margin-bottom: 32px; }
.lead.narrow { max-width: 620px; margin: 18px auto 0; }
.note { font-size: 14px; color: var(--ink-3); }
.note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   Inner-page components (product, solution, article, legal,
   company pages). Compose pages from these; avoid page-specific CSS.
   ========================================================= */

/* ---------- Page hero ---------- */
.h1 { font-size: clamp(38px, 4.8vw, 60px); line-height: 1.06; letter-spacing: -0.035em; }
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--hdr-h) + clamp(40px, 6vw, 80px)) 0 clamp(56px, 7vw, 96px);
  background: linear-gradient(180deg, var(--blue-50) 0%, #fff 100%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(50% 60% at 85% 20%, rgba(51, 133, 244, .16), transparent 70%),
    radial-gradient(40% 50% at 5% 0%, rgba(21, 91, 192, .08), transparent 70%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 28, 51, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 28, 51, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(60% 70% at 75% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(60% 70% at 75% 30%, #000 20%, transparent 75%);
}
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.page-hero .lead { margin-top: 20px; max-width: 560px; }
.page-hero .eyebrow.pilled { margin-bottom: 20px; }
.page-hero.center { text-align: center; }
.page-hero.center .lead { margin-inline-start: auto; margin-inline-end: auto; max-width: 680px; }
.page-hero.center .hero-actions, .page-hero.center .crumbs { justify-content: center; }
.page-hero.center h1 { max-width: 900px; margin: 0 auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-3); margin-bottom: 20px; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--blue-600); }
.crumbs span[aria-hidden] { color: var(--blue-300); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.hero-meta li { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta li::before {
  content: ""; width: 16px; height: 16px; flex: 0 0 16px;
  background: var(--blue-600);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hero-art { position: relative; }
.hero-art .frame { box-shadow: 0 40px 80px -30px rgba(11, 42, 91, .35); }
.hero-art .float-card { display: block; animation: floaty 6s ease-in-out infinite; }
.hero-art .float-card.fc-a { inset-inline-start: -32px; bottom: -28px; top: auto; width: 260px; }
.hero-art .float-card.fc-b { inset-inline-end: -20px; top: -24px; width: 240px; animation-delay: -3s; }
/* Illustration stage: one large 3D object on a soft halo */
.art-stage {
  position: relative; aspect-ratio: 1 / .82; border-radius: var(--r-xl);
  background: radial-gradient(60% 60% at 50% 45%, #fff 0%, var(--blue-100) 70%, var(--blue-200) 100%);
  border: 1px solid var(--blue-100); display: grid; place-items: center;
}
.art-stage > img { width: 56%; height: auto; filter: drop-shadow(0 30px 40px rgba(11, 42, 91, .25)); }
.art-stage .orbit { position: absolute; width: 22%; height: auto; filter: drop-shadow(0 16px 20px rgba(11, 42, 91, .2)); animation: floaty 7s ease-in-out infinite; }
.art-stage .orbit.o1 { inset-inline-start: 6%; top: 10%; }
.art-stage .orbit.o2 { inset-inline-end: 6%; bottom: 10%; animation-delay: -3.5s; }
@media (max-width: 1180px) { .hero-art .float-card { display: none; } }
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero .lead { max-width: none; }
}

/* ---------- Feature cards ---------- */
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
a.feat { display: block; }
a.feat:hover, .feat.hover:hover { border-color: var(--blue-100); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feat .ill { display: block; width: 64px; height: 64px; margin: -6px 0 14px -6px; }
.feat h3 { font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
.feat p { font-size: 15.5px; color: var(--ink-2); }
.feat .link-arrow { margin-top: 16px; font-size: 15px; }
.bg-soft .feat { border-color: transparent; box-shadow: var(--shadow-sm); }
@media (max-width: 640px) {
  .feat { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; padding: 20px; }
  .feat .ill { grid-row: span 3; width: 52px; height: 52px; margin: -4px 0 0; }
}

/* ---------- Split rows ---------- */
.split.rev > :first-child { order: 2; }
.split + .split { margin-top: clamp(64px, 8vw, 112px); }
.split h2 + .lead, .split .h2 + .lead { margin-top: 18px; }
@media (max-width: 900px) { .split.rev > :first-child { order: 0; } }
.ticks { display: grid; gap: 12px; margin-top: 24px; }
.ticks li { position: relative; padding-inline-start: 32px; font-weight: 500; }
.ticks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.ticks li span { display: block; font-weight: 400; color: var(--ink-2); font-size: 15.5px; margin-top: 2px; }

/* ---------- Simple stat row ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.stat-row > div { padding: 28px 32px; }
.stat-row > div + div { border-inline-start: 1px solid var(--line); }
.stat-row strong { display: block; font-family: var(--f-head); font-weight: 600; font-size: clamp(36px, 4vw, 48px); letter-spacing: -0.03em; line-height: 1.1; color: var(--blue-800); }
.stat-row span { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 760px) {
  .stat-row { grid-template-columns: 1fr; }
  .stat-row > div + div { border-inline-start: 0; border-top: 1px solid var(--line); }
}

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-family: var(--f-head); font-weight: 600; font-size: 17px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; inset-inline-end: 22px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%231f6fe0' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 22px; color: var(--ink-2); }
.faq details > div p + p { margin-top: 10px; }

/* ---------- Article & legal prose ---------- */
.article-hero { padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero.center .article-meta { justify-content: center; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: 14px; color: var(--ink-3); }
.article-meta b { color: var(--ink-2); font-weight: 600; }
.prose { max-width: 720px; margin: 0 auto; font-size: 18px; line-height: 1.75; color: #24324a; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.2; margin-top: 2em; }
.prose h3 { font-size: 21px; line-height: 1.3; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-inline-start: 0; display: grid; gap: .5em; }
.prose ul li { position: relative; padding-inline-start: 26px; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.prose ol { counter-reset: ol; }
.prose ol li { position: relative; padding-inline-start: 40px; counter-increment: ol; }
.prose ol li::before {
  content: counter(ol); position: absolute; inset-inline-start: 0; top: .15em; width: 26px; height: 26px; border-radius: 8px;
  background: var(--blue-50); color: var(--blue-700); font-size: 14px; font-weight: 700; line-height: 26px; text-align: center;
}
.prose a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose blockquote, .callout {
  margin-inline-start: 0; padding: 20px 24px; border-radius: var(--r-md);
  background: var(--blue-50); border-inline-start: 4px solid var(--blue); color: var(--ink);
}
.prose .lede { font-size: 21px; line-height: 1.6; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td { text-align: start; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface-2); font-weight: 600; color: var(--ink); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.doc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.doc-layout .prose { margin: 0; max-width: 760px; }
.toc { position: sticky; top: calc(var(--hdr-h) + 24px); padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); font-size: 14.5px; }
.toc strong { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.toc ol { display: grid; gap: 6px; padding: 0; list-style: none; max-height: 70vh; overflow: auto; }
.toc a { color: var(--ink-2); display: block; padding: 4px 8px; border-radius: 8px; }
.toc a:hover { background: #fff; color: var(--blue-600); }
.toc a.on { background: #fff; color: var(--blue-700); font-weight: 600; box-shadow: inset 3px 0 0 var(--blue); }
@media (max-width: 900px) {
  .doc-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}

/* ---------- Static logo grid ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.logo-grid > div { height: 96px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; padding: 18px; }
.logo-grid img { max-height: 40px; width: auto; max-width: 100%; filter: grayscale(1); opacity: .75; }
@media (max-width: 760px) { .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.form-card .btn { width: 100%; margin-top: 8px; }
.form-msg { margin-top: 12px; font-size: 15px; font-weight: 600; }
.form-msg.text-success { color: var(--ok-fg); background: var(--ok-bg); padding: 10px 14px; border-radius: 10px; }
.form-msg.text-danger { color: var(--bad-fg); background: var(--bad-bg); padding: 10px 14px; border-radius: 10px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; }
.plan.featured { border: 2px solid var(--blue); box-shadow: 0 30px 60px -30px rgba(11, 42, 91, .35); }
.plan .plan-tag { position: absolute; top: -13px; inset-inline-start: 32px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 4px 12px; border-radius: var(--pill); }
.plan h3 { font-size: 22px; }
.plan .price { font-family: var(--f-head); font-weight: 600; font-size: 40px; letter-spacing: -0.03em; margin: 14px 0 4px; color: var(--ink); }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.plan .ticks { margin: 24px 0 28px; }
.plan .btn { margin-top: auto; }

/* ---------- Video / demo cards ---------- */
.video-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.video-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.video-card[hidden] { display: none; }
.video-card .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-50); cursor: pointer; isolation: isolate; }
.video-card .thumb > img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.video-card .thumb::after { content: ""; position: absolute; inset: 0; background: var(--blue); mix-blend-mode: hue; pointer-events: none; }
.video-card .thumb .play { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .94); color: var(--blue); box-shadow: var(--shadow-lg); transition: transform .2s; }
.video-card:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.video-card .body { padding: 20px 22px 24px; }
.video-card h3 { font-size: 18px; margin: 6px 0 6px; }
.video-card p { font-size: 15px; color: var(--ink-2); }

/* ---------- Filter chips (demo library, insights) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.chips button { height: 40px; padding: 0 18px; border-radius: var(--pill); border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 600; font-size: 14.5px; }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Contact / info rows ---------- */
.info-list { display: grid; gap: 18px; margin-top: 32px; }
.info-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: center; }
.info-list img { width: 52px; height: 52px; }
.info-list strong { display: block; font-weight: 600; }
.info-list span, .info-list a { color: var(--ink-2); font-size: 15.5px; }
.info-list a:hover { color: var(--blue-600); }

/* =========================================================
   Product mocks (app-layout/mocks/*.html). Built in HTML so they stay
   sharp, on-brand and legible at any size. Purely illustrative:
   wrappers carry role="img" + aria-label; inner text is aria-hidden.
   ========================================================= */
.mock { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(11, 42, 91, .32); font-size: 13px; line-height: 1.45; color: var(--ink); text-align: start; }
.mock .frame-bar { padding: 10px 14px; }
.mock-body { padding: 18px 20px 20px; }
.mock-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mock-crumb { font-size: 11.5px; color: var(--ink-3); }
.mock-title { font-family: var(--f-head); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.mock-btns { display: flex; gap: 6px; flex-shrink: 0; }
.mock-btn { font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 8px; background: var(--blue-600); color: #fff; white-space: nowrap; }
.mock-btn.ghost { background: #fff; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.mock-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.mock-meta div { background: var(--surface-2); border-radius: 10px; padding: 8px 10px; min-width: 0; }
.mock-meta span { display: block; font-size: 11px; color: var(--ink-3); }
.mock-meta b { display: block; font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mock-tr { display: grid; grid-template-columns: var(--cols, minmax(0, 2.4fr) 1fr 1fr 1.1fr); align-items: center; gap: 10px; padding: 9px 12px; border-top: 1px solid var(--line); }
.mock-tr:first-child { border-top: 0; }
.mock-tr.head { background: var(--surface-2); font-size: 11px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.mock-tr .t { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-tr .n { font-variant-numeric: tabular-nums; text-align: end; }
.mock-tr.flag { background: var(--blue-50); box-shadow: inset 3px 0 0 var(--blue-600); }
.mock-tr.flag.bad, .mini-row.flag.bad { background: var(--bad-bg); box-shadow: inset 3px 0 0 var(--bad); }
.flag.bad .pill.bad { background: #fff; box-shadow: inset 0 0 0 1px #f5c6c2; }
.mock-tr.flag .n.bad { color: var(--bad-fg); font-weight: 700; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.mock .pill { font-size: 11px; padding: 3px 8px; justify-self: end; }
.mock-ai {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 12px; border-radius: 12px;
  background: linear-gradient(90deg, var(--blue-50), var(--tint-2)); border: 1px solid var(--blue-100); font-size: 12.5px; color: var(--ink-2);
}
.mock-ai img { flex: 0 0 26px; width: 26px; height: 26px; }
.mock-ai b { color: var(--ink); }
.mock-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; font-size: 12px; color: var(--ink-3); }
.mock-foot b { font-family: var(--f-head); font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; }

/* contract findings */
.mock-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; }
.mock-doc { background: var(--surface-2); border-radius: 12px; padding: 16px; font-size: 11.5px; line-height: 1.55; color: var(--ink-2); }
.mock-doc .dh { display: block; font-family: var(--f-head); font-size: 12.5px; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.mock-doc p + .dh { margin-top: 12px; }
.mock-doc mark { background: var(--blue-100); color: var(--ink); padding: 1px 2px; border-radius: 3px; box-shadow: inset 0 -2px 0 var(--blue); }
.mock-doc sup { font-size: 9px; font-weight: 700; color: #fff; background: var(--blue-600); border-radius: 4px; padding: 0 4px; margin-inline-start: 2px; }
.mock-findings { display: grid; gap: 8px; align-content: start; }
.mock-finding { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.mock-finding .fh { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 4px; }
.mock-finding .fh b { font-size: 12.5px; }
.mock-finding p { font-size: 11.5px; color: var(--ink-2); }
.mock-finding .cite { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 600; color: var(--blue-600); }
.mock-finding.on { border-color: var(--blue-200); background: var(--blue-50); }

/* vendor scorecard */
.score { display: flex; align-items: center; gap: 8px; }
.score i { flex: 1; height: 6px; border-radius: 6px; background: var(--st-idle); position: relative; overflow: hidden; }
.score i::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--v); background: var(--blue); border-radius: 6px; }
.score em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--ink-2); width: 26px; text-align: end; font-variant-numeric: tabular-nums; }
.firm { display: flex; align-items: center; gap: 8px; min-width: 0; }
.firm .avatar { flex: 0 0 24px; width: 24px; height: 24px; font-size: 10px; border-radius: 7px; }
.firm span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }

/* reporting dashboard */
.mock-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.mock-kpi { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.mock-kpi span { display: block; font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-kpi b { display: block; font-family: var(--f-head); font-size: 18px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mock-kpi small { font-size: 11px; font-weight: 600; color: var(--blue-600); }
.mock-charts { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 10px; }
.mock-card { border: 1px solid var(--line); border-radius: 10px; padding: 12px; min-width: 0; }
.mock-card .ch { display: block; margin: 0 0 10px; font-size: 12px; font-weight: 600; color: var(--ink); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 112px; border-bottom: 1px solid var(--line); padding: 0 2px; }
.bars i { flex: 1; height: var(--h); border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--blue), var(--blue-600)); }
.bars i:nth-child(odd) { background: linear-gradient(180deg, var(--blue-300), var(--blue)); }
.bars-x { display: flex; gap: 6px; padding: 4px 2px 0; font-size: 10px; color: var(--ink-3); }
.bars-x span { flex: 1; text-align: center; }
.donut { width: 92px; height: 92px; border-radius: 50%; margin: 2px auto 10px; background: conic-gradient(var(--blue-800) 0 38%, var(--blue) 38% 64%, var(--blue-300) 64% 84%, var(--blue-100) 84% 100%); -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%); mask: radial-gradient(circle, transparent 54%, #000 55%); }
.legend { display: grid; gap: 4px; font-size: 11px; color: var(--ink-2); }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 2px; }

/* request intake */
.mock-form { display: grid; gap: 8px; }
.mock-field span { display: block; font-size: 11px; font-weight: 600; color: var(--ink-2); margin-bottom: 3px; }
.mock-field div { border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-size: 12px; background: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-field div.ai-fill { border-color: var(--blue-200); background: var(--blue-50); }
.mock-field div.ai-fill::before { content: "AI · "; font-weight: 700; color: var(--blue-600); }
.mock-route { display: grid; gap: 6px; align-content: start; }
.mock-step { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 12px; }
.mock-step .dot { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; color: #fff; background: var(--blue-800); }
.mock-step.now { border-color: var(--blue-200); background: var(--blue-50); }
.mock-step.now .dot { background: var(--blue-600); box-shadow: 0 0 0 4px var(--blue-100); }
.mock-step.next .dot { background: var(--st-idle); color: var(--ink-3); }
.mock-step b { display: block; font-size: 12px; }
.mock-step small { color: var(--ink-3); font-size: 11px; }

@media (max-width: 640px) {
  .mock { font-size: 12px; }
  .mock-body { padding: 14px; }
  .mock-meta, .mock-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mock-split, .mock-charts { grid-template-columns: 1fr; }
  .mock-tr { --cols: minmax(0, 1fr) auto !important; }
  .mock-tr > .hide-sm { display: none; }
  .mock-btns .ghost { display: none; }
}

/* ---------- Screenshot zoom ---------- */
.frame.zoomable { cursor: zoom-in; }
.frame.zoomable::before {
  content: ""; position: absolute; inset-inline-end: 14px; bottom: 14px; z-index: 3; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, .94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6fe0' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: var(--shadow-md); opacity: 0; transform: scale(.9); transition: opacity .2s, transform .2s;
}
.frame.zoomable:hover::before, .frame.zoomable:focus-visible::before { opacity: 1; transform: none; }
.video-lightbox .vl-slot img { display: block; width: 100%; height: auto; max-height: 86vh; object-fit: contain; border-radius: var(--r-md); background: #fff; }

/* ---------- Sticky mobile CTA ---------- */
.m-cta { display: none; }
@media (max-width: 760px) {
  .m-cta {
    position: fixed; inset-inline-start: 12px; inset-inline-end: 12px; bottom: 12px; z-index: 800; display: flex; align-items: center; gap: 10px;
    padding: 8px 8px 8px 16px; border-radius: var(--pill); background: rgba(10, 26, 56, .94); color: #fff;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 16px 40px -12px rgba(10, 26, 56, .6);
    transform: translateY(140%); transition: transform .3s ease-out;
  }
  .m-cta.show { transform: none; }
  .m-cta span { flex: 1; font-size: 14px; font-weight: 600; }
  .m-cta .btn { height: 42px; padding: 0 18px; font-size: 14.5px; }
  body.nav-open .m-cta, body.lb-open .m-cta { display: none; }
  .nav-actions .btn { transition: opacity .25s, visibility .25s; }
  body.m-cta-on:not(.nav-open) .nav-actions .btn { opacity: 0; visibility: hidden; }
  .footer-v2 { padding-bottom: 96px; }
}

/* ---------- Two-step demo form ---------- */
.form-steps { display: flex; gap: 8px; margin-bottom: 18px; }
.form-steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--st-idle); transition: background .3s; }
.form-steps span.on { background: var(--blue-600); }
.form-step-label { font-size: 12.5px; font-weight: 600; color: var(--ink-3); margin-bottom: 14px; }
.form-pane[hidden] { display: none; }
.form-pane.in { animation: panelIn .3s ease-out; }
.form-nav { display: flex; gap: 10px; margin-top: 8px; }
.form-nav .btn { flex: 1; margin-top: 0; }
.form-nav .btn-ghost { flex: 0 0 auto; }
.field.invalid input, .field.invalid select { border-color: var(--bad); box-shadow: 0 0 0 4px var(--bad-bg); }
.field .err { display: none; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--bad-fg); }
.field.invalid .err { display: block; }

/* ---------- Monochrome treatment for third-party imagery ----------
   Screenshots, partner marks and certificate badges keep their detail and
   brightness, but a hue-blend layer turns every colour into the brand blue
   (neutral greys stay grey). */
.shot, .frame.mono, .cert-badge { position: relative; isolation: isolate; }
/* logo boxes are transparent: blend against the white tile behind them */
.int-tile { isolation: isolate; }
.int-logo { position: relative; }
.int-more .int-logo::after { display: none; }
.shot::after, .frame.mono::after, .int-logo::after, .cert-badge::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--blue); mix-blend-mode: hue; border-radius: inherit;
}
.frame.mono .play { z-index: 2; }
.marquee-track img:hover { filter: grayscale(1); opacity: .9; }

/* ---------- Phone compaction: icon-left cards, tighter rhythm ---------- */
@media (max-width: 640px) {
  .grid { gap: 14px; }
  .step, .control {
    display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 20px;
  }
  .step-top { grid-row: span 2; margin: 0; }
  .step-label { display: none; }
  .control .c-ico { grid-row: span 2; width: 52px; height: 52px; margin: -4px 0 0; }
  .control .c-ico img, .step-ico img { width: 52px; height: 52px; }
  .step-ico { width: 52px; height: 52px; margin: -4px 0 0; }
  .step h3, .control h3 { margin: 2px 0 4px; }
  .int-wrap { padding: 32px 16px; }
  .int-tile { padding: 18px 10px 16px; }
  .stat { min-height: 0; padding: 26px; }
  .cta-band { padding: 48px 20px; }
}

/* Utility classes main.js toggles on form messages */
.d-none { display: none !important; }
.opacity-75 { opacity: .75; }
.pointer-event-none { pointer-events: none; }

/* ---------- Video lightbox ---------- */
.video-lightbox {
  position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center;
  background: rgba(10, 16, 32, .8); padding: 24px;
}
.video-lightbox.open { display: flex; }
body.lb-open { overflow: hidden; }
.video-lightbox .vl-inner { position: relative; width: min(1100px, 100%); }
.video-lightbox video { width: 100%; border-radius: var(--r-md); background: #000; display: block; }
.video-lightbox .vl-close {
  position: absolute; top: -52px; inset-inline-end: 0; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: #fff; color: var(--ink); font-size: 22px; line-height: 1;
}

/* ---------- Impact story (home) ----------
   One editorial statement: a big figure, the story in a line, and a ledger
   whose bars fill on scroll. Light, so it does not compete with the dark
   security band further down. */
.impact { padding-top: clamp(56px, 7vw, 96px); }
.impact-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(32px, 5vw, 72px); border-radius: 40px;
  background: linear-gradient(135deg, #f7faff 0%, var(--blue-50) 55%, var(--blue-100) 100%);
  border: 1px solid var(--blue-100);
}
.impact-card::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 640px; height: 640px; inset-inline-start: -180px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 133, 244, .22), transparent 65%);
}
.impact-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(31, 111, 224, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 111, 224, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(60% 80% at 20% 30%, #000, transparent 75%); mask-image: radial-gradient(60% 80% at 20% 30%, #000, transparent 75%);
}
.impact .eyebrow { margin-bottom: 18px; padding: 6px 14px; border-radius: var(--pill); background: #fff; border: 1px solid var(--blue-100); }
.impact-kicker { font-family: var(--f-head); font-weight: 600; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.01em; color: var(--ink); }
.impact-figure { margin: 6px 0 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.impact-num {
  font-family: var(--f-head); font-weight: 600; line-height: .95; letter-spacing: -0.05em; font-variant-numeric: tabular-nums;
  font-size: clamp(88px, 12vw, 168px);
  background: linear-gradient(120deg, var(--blue-900) 10%, var(--blue-600) 55%, var(--blue-400) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
.impact-per { font-family: var(--f-head); font-weight: 600; font-size: clamp(20px, 2vw, 26px); color: var(--blue-700); }
.impact-lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 460px; margin-bottom: 28px; }

.ledger {
  background: #fff; border-radius: var(--r-xl); padding: 28px; border: 1px solid var(--line);
  box-shadow: 0 40px 80px -36px rgba(11, 42, 91, .35), 0 10px 24px -14px rgba(11, 42, 91, .12);
}
.ledger-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.ledger-live { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--blue-700); background: var(--blue-50); padding: 5px 12px; border-radius: var(--pill); }
.ledger-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 0 rgba(31, 111, 224, .5); animation: livePulse 2s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(31, 111, 224, .45); } 80%, 100% { box-shadow: 0 0 0 10px rgba(31, 111, 224, 0); } }
.ledger-rows { display: grid; gap: 18px; }
.ledger-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) 76px; align-items: center; gap: 14px; }
.ledger-label { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.ledger-val { font-family: var(--f-head); font-weight: 600; font-size: 18px; text-align: end; font-variant-numeric: tabular-nums; }
.ledger-bar { position: relative; display: flex; height: 14px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.ledger-bar .seg { display: block; height: 100%; width: 50%; border-radius: 8px; background: linear-gradient(90deg, var(--blue-400), var(--blue-600)); }
.ledger-bar.wide .seg { width: 50%; border-radius: 0; }
.ledger-bar.wide .t1 { background: linear-gradient(90deg, var(--blue-300), var(--blue-500, var(--blue))); border-start-start-radius: 8px; border-end-start-radius: 8px; }
.ledger-bar.wide .t2 { background: linear-gradient(90deg, var(--blue), var(--blue-700)); border-start-end-radius: 8px; border-end-end-radius: 8px; }
.ledger-row.total { padding-top: 18px; border-top: 1px dashed var(--line); }
.ledger-row.total .ledger-label { color: var(--ink); font-weight: 600; }
.ledger-row.total .ledger-bar { height: 22px; border-radius: 11px; }
.ledger-row.total .ledger-val { font-size: 28px; color: var(--blue-800); }
.ledger-foot { margin-top: 20px; font-size: 13.5px; color: var(--ink-3); }
/* bars fill in sequence when the ledger scrolls into view */
.js .ledger .seg { transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); }
[dir="rtl"] .js .ledger .seg { transform-origin: right; }
.js .ledger.in .s1 { transform: none; transition-delay: .15s; }
.js .ledger.in .s2 { transform: none; transition-delay: .45s; }
.js .ledger.in .t1 { transform: none; transition-delay: .8s; }
.js .ledger.in .t2 { transform: none; transition-delay: 1.05s; }
@media (max-width: 900px) { .impact-card { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .impact-card { border-radius: var(--r-xl); padding: 28px 20px; }
  .ledger { padding: 20px; }
  .ledger-row { grid-template-columns: 70px minmax(0, 1fr) 64px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .ledger .seg { transform: none !important; transition: none !important; }
  .ledger-live i { animation: none; }
}

/* ---------- AI signature ----------
   Every mention of AI in headings, labels and navigation gets the same
   luminous gradient. Built only from the blue range (sky to royal) to keep
   the blue-only palette; it shimmers slowly to read as "intelligent". */
:root {
  --ai-grad: linear-gradient(100deg, #1556d6 0%, #2d8cff 22%, #5cc2ff 40%, #2f7bff 58%, #0d3fb0 78%, #1556d6 100%);
}
.ai {
  background: var(--ai-grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: aiShimmer 6s linear infinite; font-weight: inherit;
}
@keyframes aiShimmer { from { background-position: 0% 50%; } to { background-position: 220% 50%; } }
.dark .ai, .impact-card .ai { --ai-grad: linear-gradient(100deg, #6aa6f7 0%, #a9dcff 25%, #ffffff 45%, #8fc4ff 65%, #4f8ff0 85%, #6aa6f7 100%); }
.ai-mark { display: inline-block; vertical-align: -2px; margin-inline-end: 6px; }

/* nav item */
.v2 .header .menu > ul > li > a.nav-ai { gap: 6px; }
.nav-ai .ai { font-weight: 600; }
.nav-ai:hover .ai, .nav-ai.is-active .ai { animation-duration: 2.5s; }

/* chips and labels that say "AI" */
.hero-pill b { background: var(--ai-grad); background-size: 220% 100%; animation: aiShimmer 6s linear infinite; box-shadow: 0 4px 14px -4px rgba(45, 140, 255, .6); }
.mock-ai b, .fc-ai strong, .board-foot b {
  background: var(--ai-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: aiShimmer 6s linear infinite; font-weight: 700;
}
.mock-field div.ai-fill::before { background: var(--ai-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* the AI eyebrow pill gets a gradient hairline */
.eyebrow:has(.ai) { border-color: transparent; background: linear-gradient(var(--blue-50), var(--blue-50)) padding-box, var(--ai-grad) border-box; }
.dark .eyebrow:has(.ai) { background: linear-gradient(#0f2550, #0f2550) padding-box, var(--ai-grad) border-box; }

@media (prefers-reduced-motion: reduce) {
  .ai, .hero-pill b, .mock-ai b, .fc-ai strong, .board-foot b { animation: none; }
}

/* impact + nav fixes for long labels (Arabic) and narrow screens */
.v2 .header .menu > ul > li > a { white-space: nowrap; }
.nav-actions { flex-shrink: 0; }
.nav-actions .nav-link { white-space: nowrap; }
.btn svg { flex-shrink: 0; }
/* Arabic labels are longer: drop the secondary "Contact us" text link first */
@media (max-width: 1320px) { :lang(ar) .nav-actions .nav-link { display: none; } }
.ledger-val { white-space: nowrap; }
.ledger-live { white-space: nowrap; flex-shrink: 0; }
.ledger-head > span:first-child { min-width: 0; }
.ledger-row { grid-template-columns: max-content minmax(0, 1fr) max-content; }
.ledger-label { min-width: 72px; }
/* single-year bars fill half the track from the reading start edge */
.ledger-bar { justify-content: flex-start; }
:lang(ar) .ledger-row.total .ledger-val { font-size: 24px; }
:lang(ar) .impact-num { font-size: clamp(56px, 7vw, 96px); }
@media (min-width: 1100px) and (max-width: 1280px) {
  :lang(ar) .v2 .header .menu > ul > li > a { padding-inline: 10px; }
}

/* ---------- AI workbench (home) ----------
   Capabilities on the left; on the right one calm panel that plays the
   loop: work comes in, AI prepares, a person decides. */
.aiw { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.aiw-tabs { display: grid; gap: 6px; }
.aiw-tab {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 14px 16px; border: 1px solid transparent; border-radius: var(--r-md); background: transparent;
  text-align: start; color: var(--ink); transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.aiw-tab img { flex: 0 0 40px; width: 40px; height: 40px; transition: transform .3s var(--ease-out, ease); }
.aiw-tab strong { display: block; font-weight: 600; font-size: 16px; }
.aiw-tab span span { display: block; font-size: 14.5px; color: var(--ink-3); margin-top: 2px; line-height: 1.45; }
.aiw-tab:hover { background: rgba(255, 255, 255, .6); }
.aiw-tab[aria-selected="true"] { background: #fff; border-color: var(--blue-100); box-shadow: var(--shadow-md); }
.aiw-tab[aria-selected="true"] img { transform: scale(1.06); }
.aiw-progress { position: absolute; inset-inline-start: 0; bottom: 0; height: 2px; width: 100%; background: var(--ai-grad); transform: scaleX(0); transform-origin: left; opacity: 0; }
[dir="rtl"] .aiw-progress { transform-origin: right; }
.aiw.auto .aiw-tab[aria-selected="true"] .aiw-progress { opacity: 1; animation: aiwFill var(--aiw-dur, 7s) linear forwards; }
.aiw.paused .aiw-tab[aria-selected="true"] .aiw-progress { animation-play-state: paused; }
@keyframes aiwFill { to { transform: scaleX(1); } }

.aiw-stage {
  position: relative; border-radius: var(--r-xl); padding: 22px 24px 26px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 40px 80px -36px rgba(11, 42, 91, .3), 0 10px 24px -14px rgba(11, 42, 91, .1);
  min-height: 470px;
}
.aiw-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.aiw-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-600); animation: livePulse 2s ease-out infinite; }
.aiw-panel { display: grid; gap: 14px; }
.aiw-panel[hidden] { display: none; }
.aiw-step { position: relative; }

.aiw-label { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.aiw-label img { width: 20px; height: 20px; }
.aiw-card { padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.aiw-card p + p { margin-top: 4px; }
.aiw-from { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.aiw-card mark { background: var(--blue-100); color: var(--ink); padding: 0 3px; border-radius: 4px; box-shadow: inset 0 -2px 0 var(--blue); }
.aiw-card.ai-card {
  background: linear-gradient(#fff, #fff) padding-box, var(--ai-grad) border-box; border: 1.5px solid transparent;
  box-shadow: 0 12px 30px -16px rgba(45, 140, 255, .45);
}
.aiw-find { font-weight: 600; color: var(--ink); }
.aiw-chip { display: inline-flex; margin-top: 10px; margin-inline-end: 6px; padding: 3px 10px; border-radius: var(--pill); background: #fff; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.aiw-chip.cite { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-700); }
.aiw-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0; }
.aiw-fields dt { font-size: 12px; color: var(--ink-3); }
.aiw-fields dd { margin: 0; font-weight: 600; color: var(--ink); font-size: 14.5px; }
.aiw-brief { display: grid; gap: 6px; }
.aiw-brief li { position: relative; padding-inline-start: 16px; }
.aiw-brief li::before { content: ""; position: absolute; inset-inline-start: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.aiw-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.aiw-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); background: #fff; border: 1px solid var(--line); transition: background-color .3s, color .3s, border-color .3s, transform .3s; }
.aiw-btn svg { display: none; }
.aiw-log { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13.5px; color: var(--blue-700); font-weight: 600; }
.aiw-log svg { color: var(--blue-600); }

/* the loop plays in order each time a panel is shown */
.js .aiw-panel .aiw-step { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease-out, ease), transform .45s var(--ease-out, ease); }
.js .aiw-panel.run .s-in { opacity: 1; transform: none; }
.js .aiw-panel.run .s-ai { opacity: 1; transform: none; transition-delay: .45s; }
.js .aiw-panel.run .s-you { opacity: 1; transform: none; transition-delay: .9s; }
.js .aiw-panel .ai-card > * { opacity: 0; transition: opacity .4s ease; }
.js .aiw-panel.run .ai-card > * { opacity: 1; transition-delay: .75s; }
.js .aiw-panel .aiw-log { opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s; }
.js .aiw-panel.run .aiw-log { opacity: 1; transform: none; transition-delay: 1.9s; }
.js .aiw-panel.run .aiw-btn.accept { background: var(--blue-600); border-color: var(--blue-600); color: #fff; transition-delay: 1.6s; }
.js .aiw-panel.run .aiw-btn.accept svg { display: inline; }

.aiw-principles {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 48px);
  border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden;
}
.aiw-ph {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 16px 28px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  background: linear-gradient(90deg, var(--blue-50), #fff); border-bottom: 1px solid var(--line);
}
.aiw-ph img { width: 22px; height: 22px; }
.aiw-p { display: flex; flex-direction: column; gap: 0; padding: 26px 28px 28px; }
.aiw-p + .aiw-p { border-inline-start: 1px solid var(--line); }
.aiw-p img {
  width: 52px; height: 52px; padding: 3px; margin-bottom: 16px; border-radius: 15px;
  background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue-100);
}
.aiw-p h3 { font-size: 17px; line-height: 1.3; margin-bottom: 6px; }
.aiw-p p { font-size: 15px; color: var(--ink-2); line-height: 1.55; text-wrap: pretty; }

@media (max-width: 991px) {
  .aiw { grid-template-columns: 1fr; }
  .aiw-tabs { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; scrollbar-width: none; }
  .aiw-tabs::-webkit-scrollbar { display: none; }
  .aiw-tab { flex: 0 0 auto; width: auto; padding: 10px 14px; background: #fff; border-color: var(--line); }
  .aiw-tab span span { display: none; }
  .aiw-tab img { flex-basis: 28px; width: 28px; height: 28px; }
  .aiw-tab strong { font-size: 14.5px; white-space: nowrap; }
  .aiw-stage { min-height: 0; }
  .aiw-principles { grid-template-columns: 1fr 1fr; }
  .aiw-p:nth-child(4) { border-inline-start: 0; }
  .aiw-p:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .aiw-stage { padding: 18px 16px 20px; }
  .aiw-fields { grid-template-columns: 1fr; }
  .aiw-principles { grid-template-columns: 1fr; }
  .aiw-p + .aiw-p { border-inline-start: 0; border-top: 1px solid var(--line); }
  .aiw-p { flex-direction: row; gap: 14px; padding: 20px; }
  .aiw-p img { flex: 0 0 46px; width: 46px; height: 46px; padding: 3px; margin: 0; }
  .aiw-ph { padding: 14px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .aiw-panel .aiw-step, .js .aiw-panel .ai-card > *, .js .aiw-panel .aiw-log { opacity: 1 !important; transform: none !important; transition: none !important; }
  .aiw-dot { animation: none; }
}

/* ---------- ROI calculator (home, results) ---------- */
.roi {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin-top: 24px; overflow: hidden;
  border-radius: var(--r-xl); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-md);
}
.roi-in { padding: clamp(24px, 3.5vw, 40px); }
.roi-q { display: block; margin: 10px 0 18px; color: var(--ink-2); font-size: 16px; }
.roi-spend { display: block; font-family: var(--f-head); font-weight: 600; font-size: clamp(36px, 4vw, 48px); letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.roi-range { --fill: 18.4%; width: 100%; margin: 18px 0 8px; height: 28px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.roi-range::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--blue-600) var(--fill), var(--blue-100) var(--fill)); }
.roi-range::-moz-range-track { height: 8px; border-radius: 8px; background: var(--blue-100); }
.roi-range::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--blue-600); }
.roi-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--blue-600); box-shadow: 0 6px 14px -4px rgba(31, 111, 224, .6); transition: transform .15s; }
.roi-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--blue-600); }
.roi-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.roi-range:focus-visible { outline: none; }
.roi-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px var(--blue-100); }
[dir="rtl"] .roi-range::-webkit-slider-runnable-track { background: linear-gradient(-90deg, var(--blue-600) var(--fill), var(--blue-100) var(--fill)); }
.roi-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); }
.roi-out {
  display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3.5vw, 40px);
  background: linear-gradient(150deg, var(--blue-50), var(--tint-2)); border-inline-start: 1px solid var(--line);
}
.roi-res span { display: block; font-size: 14.5px; color: var(--ink-2); }
.roi-res b { display: block; font-family: var(--f-head); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--blue-800); font-size: clamp(30px, 3vw, 38px); }
.roi-res:first-child b {
  font-size: clamp(44px, 5vw, 64px); line-height: 1.05;
  background: linear-gradient(120deg, var(--blue-900), var(--blue-600) 60%, var(--blue-400)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.roi-out .btn { align-self: flex-start; }
.roi-note { font-size: 13px; color: var(--ink-3); line-height: 1.5; }
@media (max-width: 860px) {
  .roi { grid-template-columns: 1fr; }
  .roi-out { border-inline-start: 0; border-top: 1px solid var(--line); }
  .roi-out .btn { align-self: stretch; }
}

/* ---------- Mini product mocks (platform building-block cards) ---------- */
.shot.live { background: #fff; }
.shot.live::after { display: none; }       /* already on-brand: no hue layer */
.mock.mini { border: 0; border-radius: 14px 14px 0 0; box-shadow: none; font-size: 13px; min-height: 236px; }
.mock.mini .mock-body { padding: 16px 18px 40px; }
.mini-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.mini-head b { font-family: var(--f-head); font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--pill); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.mini-chip.ai-chip { background: linear-gradient(#fff, #fff) padding-box, var(--ai-grad) border-box; border: 1px solid transparent; color: var(--blue-700); }
.mini-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 9px; transition: background-color .3s, transform .4s var(--ease-out, ease); }
.mini-row + .mini-row { margin-top: 2px; }
.mini-row .t { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-row .n { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.mini-row .pill { font-size: 11px; padding: 3px 8px; }
.mini-row:nth-child(odd) { background: var(--surface-2); }
.mini-row.flag { background: var(--blue-50); box-shadow: inset 3px 0 0 var(--blue-600); }
.mini-row.flag .n { color: var(--blue-700); font-weight: 700; }
.mini-row.flag.bad .n { color: var(--bad-fg); }
.mini-total { font-family: var(--f-head); font-weight: 600; font-size: 14px; color: var(--blue-800); }
.mini-doc { padding: 12px 14px; border-radius: 10px; background: var(--surface-2); font-size: 12px; line-height: 1.55; color: var(--ink-2); }
.mini-doc .dh { display: block; font-family: var(--f-head); font-weight: 600; font-size: 12.5px; color: var(--ink); margin-bottom: 4px; }
.mini-doc mark { background: var(--blue-100); color: var(--ink); padding: 0 2px; border-radius: 3px; box-shadow: inset 0 -2px 0 var(--blue); }
.mini-doc .ln { display: block; height: 6px; border-radius: 4px; background: #e3e9f3; margin-top: 8px; }
.mini-doc .ln.short { width: 62%; }
.mini-finding {
  display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 12px; border-radius: 10px; font-size: 12px; color: var(--ink-2);
  background: linear-gradient(#fff, #fff) padding-box, var(--ai-grad) border-box; border: 1.5px solid transparent; box-shadow: 0 10px 24px -14px rgba(45, 140, 255, .6);
}
.mini-finding b { color: var(--ink); margin-inline-end: 4px; }
.mini-finding em { margin-inline-start: auto; font-style: normal; font-weight: 600; color: var(--blue-700); white-space: nowrap; }
.mini-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.mini-kpis div { padding: 8px 10px; border-radius: 9px; background: var(--surface-2); min-width: 0; }
.mini-kpis span { display: block; font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-kpis b { font-family: var(--f-head); font-size: 17px; font-weight: 600; }
.mock.mini .bars { height: 92px; }

/* interaction: hovering a card plays its little story */
.js .mini-row.new { transform: translateY(-4px); opacity: .55; transition: transform .5s var(--ease-out, ease), opacity .5s, background-color .3s; }
.block:hover .mini-row.new, .block:focus-visible .mini-row.new, .mock.mini.play .mini-row.new { transform: none; opacity: 1; background: var(--blue-50); box-shadow: inset 3px 0 0 var(--blue-600); }
.js .mini-finding { transform: translateY(8px); opacity: 0; transition: transform .5s var(--ease-out, ease) .2s, opacity .5s .2s; }
.mock.mini.play .mini-finding { transform: none; opacity: 1; }
.block:hover .mini-row.flag { transform: translateX(4px); }
[dir="rtl"] .block:hover .mini-row.flag { transform: translateX(-4px); }
@media (prefers-reduced-motion: reduce) {
  .js .mini-row.new, .js .mini-finding { transform: none !important; opacity: 1 !important; transition: none !important; }
}

/* ---------- Designed video thumbnails ---------- */
.vt {
  position: absolute; inset: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  padding: 18px 20px; color: #fff; text-align: start;
  background: radial-gradient(70% 90% at 85% 15%, rgba(106, 166, 247, .55), transparent 65%), linear-gradient(140deg, var(--blue-950) 0%, var(--blue-800) 60%, var(--blue-600) 100%);
}
.vt::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 28px 28px; -webkit-mask-image: radial-gradient(80% 80% at 80% 20%, #000, transparent 75%); mask-image: radial-gradient(80% 80% at 80% 20%, #000, transparent 75%);
}
.vt > * { position: relative; }
.vt-cat { align-self: flex-start; padding: 3px 10px; border-radius: var(--pill); background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); font-size: 11.5px; font-weight: 600; color: #dceaff; }
.vt-title { max-width: 66%; font-family: var(--f-head); font-weight: 600; font-size: 17px; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
.vt-ill { position: absolute; inset-inline-end: 7%; top: 40%; width: 24%; max-width: 104px; height: auto; transform: translateY(-58%) rotate(-6deg); filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35)); transition: transform .5s var(--ease-out, ease); }
.video-poster:hover .vt-ill { transform: translateY(-62%) rotate(0deg) scale(1.04); }
/* play button sits bottom-end on cards, centred on big posters */
.video-card .thumb .play { left: auto; top: auto; inset-inline-end: 16px; bottom: 16px; transform: none; width: 46px; height: 46px; }
.video-card:hover .play { transform: scale(1.08); }
.video-card .thumb::after { display: none; }
.vt.big { padding: clamp(24px, 4vw, 44px); gap: 10px; }
.vt.big .vt-cat { font-size: 13px; }
.vt.big .vt-title { font-size: clamp(24px, 2.6vw, 34px); max-width: 58%; }
.vt.big .vt-ill { max-width: 180px; width: 28%; top: 42%; }
.vt-frame .play { left: auto; top: auto; inset-inline-end: 28px; bottom: 28px; transform: none; width: 64px; height: 64px; }
.vt-frame:hover .play { transform: scale(1.08); }
.vt-frame { aspect-ratio: 16 / 10; }
.vt-frame::after { display: none; }
.vt-frame .play { z-index: 2; }
.mini-chip img, .mini-finding img { width: 14px; height: 14px; flex: 0 0 auto; }
.mini-finding img { width: 18px; height: 18px; }
@media (max-width: 520px) { .vt-title { font-size: 15px; } .vt.big .vt-title { font-size: 22px; } }

/* ---------- Photo stage: real photo, blue-graded, with 3D objects over it ---------- */
.photo-stage { position: relative; padding: 28px 28px 36px 0; }
[dir="rtl"] .photo-stage { padding: 28px 0 36px 28px; }
.photo-stage::before {
  content: ""; position: absolute; inset: 0 0 8px 56px; border-radius: var(--r-xl); z-index: 0;
  background: linear-gradient(140deg, var(--blue-100), var(--blue-300));
}
[dir="rtl"] .photo-stage::before { inset: 0 56px 8px 0; }
.ps-photo {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl);
  /* blue grade: keeps the people natural but pulls every colour into the brand range */
  filter: saturate(.55) contrast(1.04) brightness(1.02);
  box-shadow: 0 40px 80px -36px rgba(11, 42, 91, .45);
}
.photo-stage::after {
  content: ""; position: absolute; z-index: 1; inset: 28px 28px 36px 0; border-radius: var(--r-xl); pointer-events: none;
  background: linear-gradient(160deg, rgba(31, 111, 224, .28), rgba(7, 28, 63, .35)); mix-blend-mode: multiply;
}
[dir="rtl"] .photo-stage::after { inset: 28px 0 36px 28px; }
.ps-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .8); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  animation: floaty 7s ease-in-out infinite;
}
.ps-card img { width: 40px; height: 40px; }
.ps-card b { display: block; font-family: var(--f-head); font-weight: 600; font-size: 15px; color: var(--ink); }
.ps-card span { font-size: 13px; color: var(--ink-3); line-height: 1.35; }
.ps-card.c1 { inset-inline-start: -24px; bottom: 6px; }
.ps-card.c2 { inset-inline-end: -8px; top: 0; animation-delay: -3.5s; }
.ps-ill { position: absolute; z-index: 3; inset-inline-end: 6%; bottom: -6px; width: 110px; height: auto; filter: drop-shadow(0 24px 30px rgba(11, 42, 91, .35)); animation: floaty 8s ease-in-out infinite; animation-delay: -2s; }
@media (max-width: 900px) {
  .photo-stage { padding: 16px 0 28px; }
  .photo-stage::before { inset: 0 0 8px 32px; }
  .photo-stage::after { inset: 16px 0 28px; }
  .ps-card.c1 { inset-inline-start: 8px; }
  .ps-card.c2 { inset-inline-end: 8px; }
  .ps-ill { width: 84px; }
}
.ps-badge {
  position: absolute; z-index: 3; inset-inline-start: -14px; top: 18%; display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: 20px; background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-lg);
  animation: floaty 7s ease-in-out infinite; animation-delay: -4s;
}
.ps-badge img { width: 48px; height: 48px; }
/* lighter version for in-section rows: no backdrop panel, smaller objects */
.photo-stage.lite { padding: 0 0 20px; }
.photo-stage.lite::before { display: none; }
.photo-stage.lite::after { inset: 0 0 20px; }
.photo-stage.lite .ps-photo { aspect-ratio: 3 / 2; }
.photo-stage.lite .ps-ill { width: 84px; bottom: -4px; }
.photo-stage.lite .ps-badge { width: 60px; height: 60px; top: 14%; border-radius: 17px; }
.photo-stage.lite .ps-badge img { width: 40px; height: 40px; }
@media (max-width: 900px) { .ps-badge { inset-inline-start: 8px; } }
@media (prefers-reduced-motion: reduce) { .ps-card, .ps-ill, .ps-badge { animation: none; } }

/* ---------- Validation, empty and error states ---------- */
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--bad); box-shadow: 0 0 0 4px var(--bad-bg); }
.err {
  display: flex; align-items: flex-start; gap: 6px; margin: 6px 0 0; font-size: 13.5px; font-weight: 600; color: var(--bad-fg); line-height: 1.4;
}
.err[hidden] { display: none; }
.err::before {
  content: "!"; flex: 0 0 16px; height: 16px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bad); color: #fff; font-size: 11px; font-weight: 800;
}
.email-cta.invalid { border-color: var(--bad); box-shadow: 0 0 0 4px var(--bad-bg); }
.email-cta + .err { justify-content: center; margin-top: 10px; }
.cta-band .email-cta + .err { color: #fff; }
.cta-band .email-cta + .err::before { background: #fff; color: var(--bad); }
.foot-news .err { width: 100%; margin: -2px 0 0; }
.foot-news .msg.text-success, .foot-news .msg.text-danger { padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.foot-news .msg.text-success { background: var(--ok-bg); }
.foot-news .msg.text-danger { background: var(--bad-bg); }
.btn:disabled { cursor: progress; }

.vl-error {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: clamp(32px, 6vw, 56px) 24px; border-radius: var(--r-lg); background: #fff; color: var(--ink);
}
.video-lightbox .vl-slot .vl-error img { width: 72px; height: 72px; max-height: none; border-radius: 0; background: none; opacity: .9; }
.vl-error strong { font-family: var(--f-head); font-size: 20px; font-weight: 600; }
.vl-error p { color: var(--ink-2); max-width: 420px; }
.vl-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.vl-actions .btn-white { box-shadow: inset 0 0 0 1.5px var(--line); }

.empty-state {
  grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 48px 24px; border: 1.5px dashed var(--blue-200); border-radius: var(--r-xl); background: var(--blue-50);
}
.empty-state[hidden] { display: none; }
.empty-state img { width: 72px; height: 72px; }
.empty-state strong { font-family: var(--f-head); font-weight: 600; font-size: 19px; }
.empty-state p { color: var(--ink-2); }

/* ---------- Cookie consent ---------- */
.consent {
  position: fixed; z-index: 950; inset-inline-start: 16px; bottom: 16px; max-width: 420px;
  display: grid; gap: 12px; padding: 16px 18px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: 14.5px; color: var(--ink-2);
}
.consent[hidden] { display: none; }
.consent a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 8px; justify-content: flex-end; }
@media (max-width: 760px) { .consent { inset-inline: 12px; bottom: 12px; max-width: none; } body:has(.consent:not([hidden])) .m-cta { display: none; } }

/* ---------- Motion ----------
   Everything below is progressive: content is fully visible without JS,
   and prefers-reduced-motion turns all of it off (see the end of file). */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); }

/* staggered reveals: JS sets --i on siblings */
.js .reveal { transform: translateY(12px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); transition-delay: calc(var(--i, 0) * 40ms); }
/* Above the fold, nothing waits for JS or fades from invisible: text is painted
   immediately (fast LCP) and only glides into place with a CSS animation. */
.js .hero .reveal, .js .page-hero .reveal {
  opacity: 1; transform: none; transition: none;
  animation: rise .65s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms);
}
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
.js .reveal.words { animation: none; }

/* headline word rise */
.js .words .w { display: inline-block; text-wrap: nowrap; white-space: nowrap; opacity: .01; transform: translateY(.35em); filter: blur(6px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), filter .6s var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms); }
.js .words.in .w { opacity: 1; transform: none; filter: blur(0); }

/* cursor spotlight on cards */
.spot { background-image: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(51, 133, 244, .10), transparent 45%); background-repeat: no-repeat; background-size: 0 0; }
.spot.lit { background-size: 100% 100%; }
.dark .spot.lit, .impact .spot.lit { background-image: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(156, 196, 250, .16), transparent 45%); }

/* 3D tilt for product mocks */
.tilt { transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease-out); transform-style: preserve-3d; will-change: transform; }

/* primary button sheen */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.btn-primary:hover::after { transform: translateX(120%); }

/* sliding tab indicator */
.tabs { position: relative; }
.tab-ind { position: absolute; top: 6px; height: 46px; border-radius: var(--pill); background: #fff; box-shadow: var(--shadow-md); transition: transform .45s var(--ease-out), width .45s var(--ease-out); z-index: 0; pointer-events: none; }
.tabs.has-ind .tab { position: relative; z-index: 1; }
.tabs.has-ind .tab[aria-selected="true"] { background: transparent; box-shadow: none; }

/* charts and bars draw in when their container scrolls into view */
.js .motion .bars i { transform: scaleY(0); transform-origin: bottom; transition: transform .75s var(--ease-out); transition-delay: calc(var(--i, 0) * 40ms); }
.js .motion.play .bars i { transform: none; }
.js .motion .donut { transform: rotate(-90deg) scale(.6); opacity: 0; transition: transform .9s var(--ease-out), opacity .4s; }
.js .motion.play .donut { transform: none; opacity: 1; }
.js .motion .sla i, .js .motion .score i::after { transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out) .15s; }
.js .motion.play .sla i, .js .motion.play .score i::after { transform: none; }

/* gentle float on hero illustrations */
.art-stage > img:not(.orbit) { animation: floaty 7s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .js .words .w, .js .motion .bars i, .js .motion .donut, .js .motion .sla i, .js .motion .score i::after {
    opacity: 1 !important; transform: none !important; filter: none !important; stroke-dashoffset: 0 !important; transition: none !important;
  }
  .tilt { transform: none !important; }
  .js .hero .reveal, .js .page-hero .reveal { animation: none !important; }
  .btn-primary::after, .art-stage > img, .art-stage .orbit { display: revert; animation: none !important; transition: none !important; }
  .tab-ind { transition: none; }
}

/* =========================================================
   Arabic / right-to-left
   Layout already uses logical properties (inline-start/end), so it mirrors
   automatically under dir="rtl". This block handles typography and the few
   things that are inherently directional.
   ========================================================= */
:root:lang(ar) {
  --f-head: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --f-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}
/* Arabic letters join: letter-spacing breaks the joins, and there is no case. */
:lang(ar), :lang(ar) * { letter-spacing: 0 !important; text-transform: none !important; }
:lang(ar) body.v2 { font-size: 17.5px; line-height: 1.75; }
:lang(ar) .display { line-height: 1.2; }
:lang(ar) .h1, :lang(ar) .h2 { line-height: 1.3; }
:lang(ar) .h3, :lang(ar) h3 { line-height: 1.45; }
:lang(ar) .eyebrow, :lang(ar) .mm-h, :lang(ar) .it-when, :lang(ar) .step-label, :lang(ar) .fc-tag { font-size: 13.5px; font-weight: 600; }
:lang(ar) .impact-num { line-height: 1.25; font-size: clamp(56px, 7vw, 104px); letter-spacing: 0; }
/* Latin fragments (brand names, emails, codes) inside Arabic text keep their own direction */
:lang(ar) [lang="en"] { font-family: "Figtree", system-ui, sans-serif; }

/* arrows point the reading direction */
[dir="rtl"] .btn svg, [dir="rtl"] .link-arrow svg, [dir="rtl"] .mm-more svg, [dir="rtl"] .mm-promo-btn svg,
[dir="rtl"] .crumbs svg { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .link-arrow:hover svg, [dir="rtl"] a:hover .link-arrow svg { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .mm-more:hover svg, [dir="rtl"] .mm-promo:hover .mm-promo-btn svg { transform: scaleX(-1) translateX(3px); }
/* play icons stay pointing right: that is the universal "play" glyph */
[dir="rtl"] .app-url { transform: translateX(20px); }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
[dir="rtl"] .btn-primary::after { transform: translateX(120%); }
[dir="rtl"] .btn-primary:hover::after { transform: translateX(-120%); }
[dir="rtl"] .js .motion .sla i, [dir="rtl"] .js .motion .score i::after { transform-origin: right; }
[dir="rtl"] .mega { text-align: start; }
/* phone and email values are always left-to-right */
[dir="rtl"] input[type="tel"], [dir="rtl"] input[type="email"] { direction: ltr; text-align: end; }
[dir="rtl"] input[type="tel"]::placeholder, [dir="rtl"] input[type="email"]::placeholder { direction: rtl; }

/* language switcher */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--pill); font-weight: 600; font-size: 15px; color: var(--ink-2); border: 1px solid var(--line); transition: border-color .15s, color .15s, background-color .15s; }
.lang-switch:hover { color: var(--blue-700); border-color: var(--blue-200); background: var(--blue-50); }
.lang-switch svg { color: var(--blue-600); }
.lang-switch [lang="ar"] { font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif; font-size: 15.5px; }
.lang-switch [lang="en"] { font-family: "Figtree", system-ui, sans-serif; }
@media (max-width: 1099px) { .nav-actions .lang-switch { display: none; } }
.legal-note { margin-bottom: 28px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
