/* ==========================================================================
   Convesio Design System — Colors, Type, Spacing, Radii, Shadows, Motion
   --------------------------------------------------------------------------
   Source: Convesio-Inc/design.md @ main, new/design.md (brand canonical).
   Product overrides live in `:root[data-surface="product"]` further down.
   ========================================================================== */

/* Inter via Google Fonts — substitution for missing webfont files in design.md repo */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* ----- Brand colors (new/design.md) ----- */
  --color-primary: #0D2743;
  --color-secondary: #2D85D8;
  --color-tertiary: #FF6A5B;
  --color-tertiary-hover: #F89A8F;
  --color-tertiary-aa: #C24135;

  --color-neutral: #F2F5F7;
  --color-surface: #FFFFFF;
  --color-surface-alt: #FAFAFA;
  --color-surface-dark: #0D2743;
  --color-surface-dark-deep: #0B111E;

  --color-on-surface: #1A1A1A;
  --color-on-surface-secondary: #4A4A4A;
  --color-on-surface-tertiary: #7A7A7A;
  --color-on-surface-inverse: #FFFFFF;

  --color-border: #ECECEC;
  --color-border-strong: #C3C9CE;
  --color-border-1: #E5EBEF;
  --color-border-2: #D9D9D9;

  --color-success: #2BB673;
  --color-warning: #F5A623;
  --color-error: #FF4040;

  --color-link: #2D85D8;
  --color-link-hover: #005EC4;
  --color-link-dark: #FFFFFF;
  --color-link-aa: #005EC4;
  --color-link-aa-hover: #0C2B4D;

  /* ----- Semantic foreground roles ----- */
  --fg-1: var(--color-on-surface);
  --fg-2: var(--color-on-surface-secondary);
  --fg-3: var(--color-on-surface-tertiary);
  --fg-inverse: var(--color-on-surface-inverse);
  --fg-link: var(--color-link-aa);
  --fg-accent: var(--color-tertiary-aa);

  /* ----- Semantic background roles ----- */
  --bg-1: var(--color-surface);
  --bg-2: var(--color-surface-alt);
  --bg-3: var(--color-neutral);
  --bg-dark: var(--color-surface-dark);
  --bg-dark-deep: var(--color-surface-dark-deep);

  /* ----- Border roles ----- */
  --border-hairline: var(--color-border);
  --border-default: var(--color-border-1);
  --border-strong: var(--color-border-strong);

  /* ----- Type — family ----- */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* ----- Type — scale (display + headline) ----- */
  --type-display-lg: 700 72px/1.05 var(--font-sans);
  --type-display-lg-tracking: -0.03em;

  --type-display-md: 800 40px/1.05 var(--font-sans);
  --type-display-md-tracking: -0.02em;

  --type-headline-lg: 700 32px/1.2 var(--font-sans);
  --type-headline-lg-tracking: -0.02em;

  --type-headline-md: 600 25px/1.2 var(--font-sans);
  --type-headline-md-tracking: 0;

  --type-title-lg: 600 21px/1.2 var(--font-sans);
  --type-title-md: 500 18px/1.4 var(--font-sans);

  /* ----- Type — body ----- */
  --type-body-lg: 400 20px/1.55 var(--font-sans);
  --type-body-md: 400 16px/1.55 var(--font-sans);
  --type-body-sm: 400 14px/1.4 var(--font-sans);

  /* ----- Type — labels (uppercase / spaced) ----- */
  --type-label-md: 600 13px/1.2 var(--font-sans);
  --type-label-md-tracking: 0.16em;
  --type-label-sm: 600 12px/16px var(--font-sans);
  --type-label-sm-tracking: 0.18em;
  --type-caption: 600 12px/16px var(--font-sans);
  --type-caption-tracking: 0.04em;

  /* ----- Spacing ----- */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
  --space-section-md: 72px;
  --space-section-lg: 96px;
  --space-section-xl: 120px;
  --container-sm: 980px;
  --container-lg: 1240px;
  --grid-gap-sm: 20px;
  --grid-gap-md: 24px;
  --grid-gap-xl: 80px;

  /* ----- Radii ----- */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* ----- Shadows ----- */
  --shadow-xs: 0 1px 2px rgba(13, 39, 67, 0.06);
  --shadow-sm: 0 2px 6px rgba(13, 39, 67, 0.08);
  --shadow-md: 0 8px 20px rgba(13, 39, 67, 0.10);
  --shadow-lg: 0 20px 48px rgba(13, 39, 67, 0.14);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.06);

  /* ----- Motion ----- */
  --ease-out: cubic-bezier(.2, .6, .2, 1);
  --ease-in-out: cubic-bezier(.4, 0, .2, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 360ms;
}

/* ==========================================================================
   Product surface overrides (products/design.md — Storybook canonical)
   ========================================================================== */
:root[data-surface="product"],
.product-surface {
  --color-primary: #FF6A5B;
  --color-secondary: #0D2743;
  --color-tertiary: #3459E6;
  --color-success: #2EBA55;
  --color-info: #527DEB;
  --color-warning: #F8BA1D;
  --color-error: #F65454;
  --color-primary-tint: #FFE9E7;
  --color-card-surface: #F8F9FA;
  --color-on-surface: #212529;
  --color-on-surface-secondary: #495057;
  --color-border: #DAD9DE;
  --color-border-light: #E5E7EB;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
}

/* ==========================================================================
   Semantic element styles — opt-in via .ds- prefix or scope under .ds
   ========================================================================== */
.ds, .ds * { font-family: var(--font-sans); }
.ds {
  color: var(--fg-1);
  background: var(--bg-1);
  font: var(--type-body-md);
}

.ds h1, .ds-h1 {
  font: var(--type-display-md);
  letter-spacing: var(--type-display-md-tracking);
  color: var(--color-primary);
  margin: 0 0 var(--space-md);
}
.ds h2, .ds-h2 {
  font: var(--type-headline-lg);
  letter-spacing: var(--type-headline-lg-tracking);
  color: var(--color-primary);
  margin: 0 0 var(--space-md);
}
.ds h3, .ds-h3 {
  font: var(--type-headline-md);
  color: var(--color-primary);
  margin: 0 0 var(--space-sm);
}
.ds h4, .ds-h4 {
  font: var(--type-title-lg);
  color: var(--color-primary);
  margin: 0 0 var(--space-sm);
}
.ds h5, .ds-h5 {
  font: var(--type-title-md);
  color: var(--fg-1);
  margin: 0 0 var(--space-sm);
}

.ds p, .ds-p {
  font: var(--type-body-md);
  color: var(--fg-1);
  margin: 0 0 var(--space-md);
  text-wrap: pretty;
}
.ds-lead {
  font: var(--type-body-lg);
  color: var(--fg-2);
}
.ds small, .ds-small {
  font: var(--type-body-sm);
  color: var(--fg-2);
}

.ds-eyebrow {
  font: var(--type-label-sm);
  letter-spacing: var(--type-label-sm-tracking);
  text-transform: uppercase;
  color: var(--color-tertiary-aa);
}
.ds-eyebrow-muted {
  font: var(--type-label-sm);
  letter-spacing: var(--type-label-sm-tracking);
  text-transform: uppercase;
  color: var(--fg-2);
}

.ds a, .ds-link {
  color: var(--color-link-aa);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-base) var(--ease-out);
}
.ds a:hover, .ds-link:hover { color: var(--color-link-aa-hover); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Convesio.com — Home page styles
   Built on the Convesio Design System tokens (colors_and_type.css).
   Light by default; dark sections are deliberate emphasis.
   ========================================================================== */

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

:root {
  --accent: var(--color-tertiary);          /* coral */
  --accent-text: var(--color-tertiary-aa);  /* AA-safe coral for text on light */
  --accent-rgb: 255, 106, 91;
  --maxw: 1240px;
  --gutter: 24px;
  --card-hover-transition: box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease-out);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-surface);
  color: var(--fg-1);
  font: var(--type-body-md);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.container-sm { max-width: 980px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section-lg); }
.section-tight { padding-block: var(--space-section-md); }
.section--alt { background: var(--color-surface-alt); }
.section--neutral { background: var(--color-neutral); }
.section--dark { background: var(--color-surface-dark); color: var(--fg-inverse); }
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Type primitives ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: var(--type-label-sm); letter-spacing: var(--type-label-sm-tracking);
  text-transform: uppercase; color: var(--accent-text); margin: 0 0 18px;
}
.eyebrow .tick { display: none; }
.section--dark .eyebrow { color: var(--accent); }

h1, h2, h3, h4 { color: var(--color-primary); margin: 0; text-wrap: balance; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.h-display { font: var(--type-display-lg); letter-spacing: var(--type-display-lg-tracking); }
.h1 { font: var(--type-display-md); font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -0.025em; }
.h2 { font: var(--type-display-md); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.06; letter-spacing: -0.02em; }
.h3 { font: var(--type-headline-md); }
.lead { font: var(--type-body-lg); color: var(--fg-2); margin: 18px 0 0; text-wrap: pretty; }
.section--dark .lead { color: rgba(255,255,255,.78); }
.muted { color: var(--fg-3); }
.mono-label {
  font: var(--type-caption); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-3); font-variant-numeric: tabular-nums;
}
.section--dark .mono-label { color: rgba(255,255,255,.5); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--color-surface-dark-deep); --fg: #fff; --bd: var(--color-surface-dark-deep);
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font: var(--type-label-sm); letter-spacing: var(--type-label-sm-tracking);
  text-transform: uppercase; padding: 14px 22px; border-radius: var(--radius-sm);
  border: 1px solid var(--bd); background: var(--bg); color: var(--fg);
  text-decoration: none; line-height: 1; white-space: nowrap;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--primary { --bg: var(--color-surface-dark-deep); --fg: #fff; --bd: var(--color-surface-dark-deep); }
.btn--primary:hover { --bg: var(--color-primary); --bd: var(--color-primary); }
.btn--secondary { --bg: #fff; --fg: var(--color-surface-dark-deep); --bd: var(--color-surface-dark-deep); }
.btn--secondary:hover { --bg: var(--color-surface-dark-deep); --fg: #fff; }
.btn--on-dark { --bg: #fff; --fg: var(--color-surface-dark-deep); --bd: #fff; }
.btn--on-dark:hover { --bg: var(--color-neutral); --bd: var(--color-neutral); }
.btn--ghost-dark { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.4); }
.btn--ghost-dark:hover { --bg: rgba(255,255,255,.08); --bd: rgba(255,255,255,.7); }
.btn .ic { width: 15px; height: 15px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  font-weight: 600; font-size: 15px; color: var(--color-link-aa);
  transition: gap var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.link-arrow:hover { color: var(--color-link-aa-hover); gap: 10px; }
.section--dark .link-arrow { color: #fff; }

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }
body[data-motion="off"] [data-reveal] { opacity: 1; transform: none; transition: none; }

/* ---------- Card hover (consistent across all card surfaces) ---------- */
.card,
.bento__cell,
.tile,
.price,
.flow__step,
.dark-card {
  transition: var(--card-hover-transition);
}
.card[data-reveal],
.bento__cell[data-reveal],
.tile[data-reveal],
.price[data-reveal],
.flow__step[data-reveal],
.dark-card[data-reveal] {
  transition:
    opacity .7s var(--ease-out),
    transform .7s var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.card:hover,
.card[data-reveal].is-in:hover,
.bento__cell:hover,
.bento__cell[data-reveal].is-in:hover,
.tile:hover,
.tile[data-reveal].is-in:hover,
.price:hover,
.price[data-reveal].is-in:hover,
.flow__step:hover,
.flow__step[data-reveal].is-in:hover,
.dark-card:hover,
.dark-card[data-reveal].is-in:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--color-border-strong);
}
.card.frost:hover,
.card.frost[data-reveal].is-in:hover,
.flow.frost .flow__step:hover,
.flow.frost .flow__step[data-reveal].is-in:hover {
  background: rgba(255,255,255,.82);
  border-color: #fff;
}
.dark-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.22);
}
.bento__cell.dark:hover { border-color: rgba(255,255,255,.2); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: transparent; transition: background var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
  border-bottom: 1px solid transparent;
  overflow: visible;
}
/* Mega open: avoid backdrop-filter trapping the fixed panel */
.site-header:has(.mega-menu:not([hidden])) {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-xs); border-bottom-color: var(--color-border);
}
/* over the dark hero, header text is light until scrolled */
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.site-header__logo { display: flex; align-items: center; }
.logo-img { height: 26px; width: auto; }
.logo-light { display: none; }
.nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a,
.nav-link {
  font-size: 14px; font-weight: 500; text-decoration: none;
  color: rgba(255,255,255,.82); transition: color var(--dur-base) var(--ease-out);
  background: none; border: 0; font-family: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px; border-radius: 8px;
}
.nav a:hover,
.nav-link:hover { color: #fff; }
.nav-link--trigger[aria-expanded="true"] { color: #fff; }
.nav-chevron { width: 14px; height: 14px; opacity: .7; transition: transform var(--dur-base) var(--ease-out); }
.nav-link--trigger[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
.nav-item { position: relative; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .signin { font-size: 14px; font-weight: 500; text-decoration: none; color: rgba(255,255,255,.82); }
.header-actions .signin:hover { color: #fff; }

/* Nav toggle (mobile) */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; border: 0; border-radius: 8px;
  background: rgba(255,255,255,.1); color: #fff; cursor: pointer;
}
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.site-header.nav-open .nav-toggle__open { display: none; }
.site-header.nav-open .nav-toggle__close { display: block; }

/* Primary nav wrapper */
.site-nav { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-cta { white-space: nowrap; padding: 10px 18px !important; font-size: 14px !important; }

/* Dropdown panels */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  min-width: 280px; margin: 0; padding: 8px; list-style: none;
  background: #fff; border: 1px solid var(--color-border); border-radius: 12px;
  box-shadow: var(--shadow-md); z-index: 80;
}
.dropdown[hidden] { display: none; }
.dropdown a {
  display: block; padding: 10px 12px; border-radius: 8px;
  color: var(--color-primary); text-decoration: none; transition: background var(--dur-base) var(--ease-out);
}
.dropdown a:hover { background: var(--color-neutral); color: var(--color-primary); }
.dropdown__title { display: block; font-size: 14px; font-weight: 600; color: var(--color-primary); }
.dropdown__desc { display: block; font-size: 12px; font-weight: 400; color: var(--color-on-surface-tertiary); margin-top: 2px; line-height: 1.4; }
.nav-item--login .dropdown { right: 0; left: auto; transform: none; min-width: 200px; }
.nav-item--login .dropdown a { padding: 10px 14px; }

/* Mega menu — full content width, centered to match page container */
.mega-menu[hidden] { display: none; }
.mega-menu__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 32px;
}
.mega-menu__col { min-width: 0; }
.mega-menu__head {
  display: block; text-decoration: none; margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}
.mega-menu__head-title {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  color: var(--color-tertiary); margin-bottom: 4px;
}
.mega-menu__head-sub { display: block; font-size: 15px; font-weight: 600; color: var(--color-primary); }
.mega-menu__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mega-menu__links li { margin: 0; }
.mega-menu__links a {
  display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none;
  transition: background var(--dur-base) var(--ease-out);
}
.mega-menu__links a:hover { background: var(--color-neutral); }
.mega-menu__link-title { display: block; font-size: 13px; font-weight: 600; color: var(--color-primary); line-height: 1.35; }
.mega-menu__link-desc { display: block; font-size: 12px; color: var(--color-on-surface-tertiary); margin-top: 2px; line-height: 1.4; }
.mega-menu__cta-row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--color-border);
}
.mega-menu__cta {
  display: block; padding: 14px 16px; border-radius: 10px; text-decoration: none;
  background: var(--color-neutral); transition: background var(--dur-base) var(--ease-out);
}
.mega-menu__cta:hover { background: var(--color-border); }
.mega-menu__cta-title { display: block; font-size: 14px; font-weight: 600; color: var(--color-primary); }
.mega-menu__cta-desc { display: block; font-size: 12px; color: var(--color-on-surface-tertiary); margin-top: 2px; line-height: 1.4; }

@media (min-width: 901px) {
  .mega-menu {
    position: fixed;
    top: var(--header-h, 68px);
    left: 50%;
    transform: translateX(-50%);
    width: min(var(--maxw), calc(100vw - var(--gutter) * 2));
    z-index: 80;
    padding: 10px 0 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    margin: 0;
  }
  .mega-menu__inner { padding: 24px 28px; }
}

/* When scrolled (light bar) OR when hero is light → dark text */
.site-header.is-scrolled .logo-dark,
body[data-hero-light] .site-header:not(.over-dark) .logo-dark { display: block; }
.site-header.is-scrolled .logo-light { display: none; }
.site-header.is-scrolled .nav a,
.site-header.is-scrolled .nav-link,
.site-header.is-scrolled .header-actions .signin { color: var(--color-primary); }
.site-header.is-scrolled .nav a:hover,
.site-header.is-scrolled .nav-link:hover { color: var(--accent-text); }
.site-header.is-scrolled .nav-toggle { background: var(--color-neutral); color: var(--color-primary); }
.site-header.is-scrolled .nav-link--trigger[aria-expanded="true"] { background: var(--color-neutral); }

/* Default (top of page, over dark hero): show light logo */
.site-header .logo-dark { display: none; }
.site-header .logo-light { display: block; }
body.hero-is-light .site-header:not(.is-scrolled) .logo-dark { display: block; }
body.hero-is-light .site-header:not(.is-scrolled) .logo-light { display: none; }
body.hero-is-light .site-header:not(.is-scrolled) .nav a,
body.hero-is-light .site-header:not(.is-scrolled) .nav-link,
body.hero-is-light .site-header:not(.is-scrolled) .header-actions .signin { color: var(--color-primary); }
body.hero-is-light .site-header:not(.is-scrolled) .nav-toggle { background: var(--color-neutral); color: var(--color-primary); }

/* Open nav — light header chrome */
.site-header.nav-open { background: rgba(255,255,255,.98); backdrop-filter: blur(12px); border-bottom-color: var(--color-border); }
.site-header.nav-open .logo-dark { display: block; }
.site-header.nav-open .logo-light { display: none; }
.site-header.nav-open .nav-link { color: var(--color-primary); }
.site-header.nav-open .nav-toggle { background: var(--color-neutral); color: var(--color-primary); }

/* Mobile / tablet nav drawer */
@media (max-width: 900px) {
  .site-header { z-index: 80; }
  .site-header__inner { gap: 12px; padding-block: 12px; }
  .site-header.is-scrolled,
  .site-header.nav-open {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255,255,255,.98);
  }
  .nav-toggle { display: inline-flex; flex-shrink: 0; position: relative; z-index: 2; touch-action: manipulation; }
  .site-header__logo { min-width: 0; flex: 1 1 auto; }
  .logo-img { height: 24px; width: auto; max-width: min(158px, 46vw); }
  .nav-backdrop {
    position: fixed; inset: 0; z-index: 68;
    background: rgba(13, 39, 67, .45);
    border: 0; padding: 0; margin: 0;
  }
  .nav-backdrop[hidden] { display: none; }
  .site-nav {
    position: fixed; top: var(--header-h, 68px); left: 0; right: 0; bottom: 0; z-index: 69;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) max(24px, env(safe-area-inset-bottom));
    overflow: hidden; overscroll-behavior: contain;
    background: #fff; border-top: 1px solid var(--color-border);
    transform: translateX(100%); transition: transform var(--dur-base) var(--ease-out);
    margin-left: 0; visibility: hidden; pointer-events: none;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .site-nav > .nav {
    flex: 1 1 auto; min-height: 0; overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0; width: 100%;
    -webkit-overflow-scrolling: touch;
  }
  .nav-item { border-bottom: 1px solid var(--color-border); }
  .nav-link {
    width: 100%; justify-content: space-between; padding: 14px 4px;
    color: var(--color-primary) !important; -webkit-tap-highlight-color: transparent;
  }
  .nav-link--trigger[aria-expanded="true"] { background: var(--color-neutral); border-radius: 8px; }
  .nav-cta {
    flex-shrink: 0; width: 100%; justify-content: center; margin-top: 16px;
    padding-top: 16px !important; border-top: 1px solid var(--color-border);
  }
  .dropdown {
    position: static; transform: none; min-width: 0; box-shadow: none;
    border: 0; border-radius: 0; padding: 0 0 12px 8px; background: transparent;
  }
  .dropdown a { padding: 12px 8px; }
  .mega-menu {
    position: static; width: auto; transform: none; padding: 0 0 16px 8px;
    box-shadow: none; border: 0;
  }
  .mega-menu__inner {
    max-width: none; margin: 0; padding: 0;
    background: transparent; border: 0; border-radius: 0; box-shadow: none;
  }
  .mega-menu__grid { grid-template-columns: 1fr; gap: 20px; }
  .mega-menu__head { margin-bottom: 10px; padding-bottom: 10px; }
  .mega-menu__cta-row { grid-template-columns: 1fr; margin-top: 16px; padding-top: 0; border-top: 0; }
  .mega-menu__cta { background: var(--color-neutral); }
  .mega-menu__links a { padding: 10px 8px; }
  .mega-menu__link-desc,
  .dropdown__desc { overflow-wrap: anywhere; }
}

@media (min-width: 901px) {
  .site-nav { transform: none !important; }
}
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: -88px; padding-top: 88px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero {
  background:
    radial-gradient(120% 90% at 60% 35%, #14315A 0%, #0D2743 40%, #0B111E 82%, #060914 100%);
}
.hero-iso {
  position: absolute; inset: -12%; z-index: 0; opacity: .16;
  background-image:
    linear-gradient(60deg,  rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(-60deg, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 120px 70px, 120px 70px;
  transform: perspective(1200px) rotateX(60deg) scale(1.7); transform-origin: 50% 40%;
  animation: isoDrift 60s linear infinite;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 25%, transparent 72%);
}
@keyframes isoDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 240px 140px, -240px 140px; }
}
#hero-mesh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-glow {
  position: absolute; left: 62%; top: 42%; width: min(70vw, 820px); height: min(70vw, 820px);
  transform: translate(-50%, -50%); z-index: 1; pointer-events: none; filter: blur(8px);
  background: radial-gradient(circle at 50% 50%,
    rgba(var(--accent-rgb), .20) 0%, rgba(var(--accent-rgb), .09) 30%, rgba(var(--accent-rgb), 0) 66%);
  animation: glowPulse 6s var(--ease-in-out) infinite;
}
@keyframes glowPulse { 0%,100%{opacity:.85; transform:translate(-50%,-50%) scale(1);} 50%{opacity:1; transform:translate(-50%,-50%) scale(1.05);} }
.hero-scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,9,20,.72) 0%, rgba(6,9,20,.35) 42%, rgba(6,9,20,0) 72%),
    linear-gradient(180deg, rgba(6,9,20,.4) 0%, rgba(6,9,20,0) 22%, rgba(6,9,20,.55) 100%);
}
.hero-inner {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1.12fr .88fr; gap: var(--grid-gap-xl); align-items: center;
  padding-block: clamp(72px, 11vh, 140px) clamp(80px, 12vh, 150px);
}
.hero-copy { color: #fff; max-width: 600px; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 12px rgba(var(--accent-rgb), .8); }
.hero h1 {
  color: #fff; font: var(--type-display-lg);
  font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -0.035em; margin: 0;
  text-shadow: 0 2px 30px rgba(6,9,20,.4);
}
.hero h1 .accent { color: var(--accent); }
.hero .lead { color: rgba(255,255,255,.82); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 34px; }
.hero-note {
  margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  font-size: 13px; color: rgba(255,255,255,.62);
}
.hero-note .sep { width: 4px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.35); }

/* Hero status card (dark glass) */
.hero-panel { position: relative; z-index: 3; }
.statuscard {
  background: rgba(13,39,67,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.08); padding: 22px; color: #fff;
}
.statuscard__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.statuscard__title { font-size: 15px; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 9px; }
.statuscard__title .favdot { width: 18px; height: 18px; border-radius: 5px; background: var(--accent); display: inline-grid; place-items: center; }
.statuscard__status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: #6FE3A6; letter-spacing: .02em; }
.statuscard__status .pulse { width: 7px; height: 7px; border-radius: 999px; background: var(--color-success); box-shadow: 0 0 0 0 rgba(43,182,115,.5); animation: livePulse 1.8s infinite; }
@keyframes livePulse { 0%{box-shadow:0 0 0 0 rgba(43,182,115,.5);} 70%{box-shadow:0 0 0 10px rgba(43,182,115,0);} 100%{box-shadow:0 0 0 0 rgba(43,182,115,0);} }
.metric-row { display: flex; align-items: baseline; justify-content: space-between; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.1); }
.metric-row .ml { font-size: 13px; color: rgba(255,255,255,.7); }
.metric-row .mv { display: flex; align-items: baseline; gap: 8px; }
.metric-row .mn { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.metric-row .md { font-size: 12px; font-weight: 600; color: #6FE3A6; }
.metric-row .md.blue { color: #7FB4F2; }
.statuscard__ai { margin-top: 16px; padding: 14px; background: rgba(255,255,255,.06); border-radius: var(--radius-md); font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.78); }
.statuscard__ai strong { color: #fff; font-weight: 600; }
.statuscard__ai .tag { color: var(--accent); font-weight: 600; }

/* ---- Hero ops card (modeled on payments-operations reference) ---- */
.opscard { position: relative; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px 22px 24px; color: var(--fg-1); }
.opscard__head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--color-border); }
.opscard__ico { width: 38px; height: 38px; border-radius: var(--radius-sm); background: var(--color-neutral); display: grid; place-items: center; color: var(--color-primary); }
.opscard__ico .ic { width: 19px; height: 19px; }
.opscard__title { font-size: 16px; font-weight: 700; color: var(--color-primary); }
.opscard__ml { font-size: 13px; color: var(--fg-3); margin-top: 18px; }
.opscard__big { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; flex-wrap: nowrap; }
.opscard__big .v { font: var(--type-display-md); font-size: 38px; color: var(--color-primary); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.opscard__big .d { font-size: 14px; font-weight: 600; color: #1F8A55; white-space: nowrap; }
.opschart { display: flex; align-items: flex-end; gap: 8px; height: 70px; margin: 16px 0 20px; }
.opschart span { flex: 1; background: var(--color-neutral); border-radius: 5px; }
.opschart span.navy { background: var(--color-primary); }
.opschart span.coral { background: var(--accent); }
.opsmetrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.opsmetric .l { font-size: 12.5px; color: var(--fg-3); }
.opsmetric .v { font-size: 21px; font-weight: 700; color: var(--color-primary); margin-top: 4px; font-variant-numeric: tabular-nums; }
.opscard__div { height: 1px; background: var(--color-border); margin: 20px 0; }
.opsonb { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.opsonb .t { font-size: 15px; font-weight: 700; color: var(--color-primary); }
.opsrow { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.opsrow .av { width: 34px; height: 34px; border-radius: var(--radius-sm); display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; flex: none; }
.opsrow .nm { font-size: 15px; font-weight: 600; color: var(--color-primary); }
.opsrow .st { margin-left: auto; font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.av-green { background: #2BB673; } .av-amber { background: #F5A623; } .av-blue { background: #2D85D8; }
.pill-green { background: #E6F6EE; color: #1F8A55; }
.pill-amber { background: #FCEFD6; color: #9A6B00; }
.pill-blue { background: #E7F0FB; color: #1763B6; }
.opsai { position: absolute; right: -16px; bottom: -34px; width: min(330px, 92%); background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 16px 18px; display: flex; gap: 12px; }
.opsai__badge { width: 34px; height: 34px; border-radius: var(--radius-sm); background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.opsai__badge .ic { width: 18px; height: 18px; }
.opsai__t { font-size: 13px; font-weight: 700; color: var(--accent-text); }
.opsai__m { font-size: 14px; font-weight: 600; color: var(--color-primary); margin-top: 3px; line-height: 1.38; }
.opsai__s { font-size: 13px; color: var(--fg-2); margin-top: 7px; line-height: 1.45; }

/* Glass treatment so the card sits ON the dark mesh hero (light-hero variant keeps the white card) */
.hero:not([data-hero="light"]) .opscard {
  background: rgba(13,39,67,.40);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-color: rgba(255,255,255,.14);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.08);
}
.hero:not([data-hero="light"]) .opscard__head { border-bottom-color: rgba(255,255,255,.12); }
.hero:not([data-hero="light"]) .opscard__ico { background: rgba(255,255,255,.08); color: #fff; }
.hero:not([data-hero="light"]) .opscard__title { color: #fff; }
.hero:not([data-hero="light"]) .opscard__ml { color: rgba(255,255,255,.6); }
.hero:not([data-hero="light"]) .opscard__big .v { color: #fff; }
.hero:not([data-hero="light"]) .opscard__big .d { color: #74E6AC; }
.hero:not([data-hero="light"]) .opschart span { background: rgba(255,255,255,.12); }
.hero:not([data-hero="light"]) .opschart span.navy { background: rgba(255,255,255,.5); }
.hero:not([data-hero="light"]) .opsmetric .l { color: rgba(255,255,255,.6); }
.hero:not([data-hero="light"]) .opsmetric .v { color: #fff; }
.hero:not([data-hero="light"]) .opscard__div { background: rgba(255,255,255,.12); }
.hero:not([data-hero="light"]) .opsonb .t { color: #fff; }
.hero:not([data-hero="light"]) .opsrow .nm { color: #fff; }
.hero:not([data-hero="light"]) .pill-green { background: rgba(43,182,115,.18); color: #74E6AC; }
.hero:not([data-hero="light"]) .pill-amber { background: rgba(245,166,35,.20); color: #F7C877; }
.hero:not([data-hero="light"]) .pill-blue { background: rgba(45,133,216,.24); color: #9CC6F4; }
.hero:not([data-hero="light"]) .opsai {
  background: rgba(11,17,30,.62);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-color: rgba(255,255,255,.16);
}
.hero:not([data-hero="light"]) .opsai__t { color: var(--accent); }
.hero:not([data-hero="light"]) .opsai__m { color: #fff; }
.hero:not([data-hero="light"]) .opsai__s { color: rgba(255,255,255,.72); }

/* ---- Hero variant: SUBTLE (quiet mesh) ---- */
.hero[data-hero="subtle"] { background: radial-gradient(120% 95% at 60% 30%, #102B4D 0%, #0C2440 45%, #0A1322 100%); }
.hero[data-hero="subtle"] .hero-iso { opacity: .09; }
.hero[data-hero="subtle"] .hero-glow { filter: blur(20px); opacity: .8; }
.hero[data-hero="subtle"] .hero-scrim { background: linear-gradient(90deg, rgba(6,9,20,.6) 0%, rgba(6,9,20,.2) 50%, rgba(6,9,20,0) 80%); }

/* ---- Hero variant: STATIC (no motion) ---- */
.hero[data-hero="static"] .hero-iso { animation: none; }
.hero[data-hero="static"] .hero-glow { animation: none; }

/* ---- Hero variant: LIGHT (DS canonical) ---- */
.hero[data-hero="light"] { background: var(--color-surface); }
.hero[data-hero="light"] #hero-mesh { display: none; }
.hero[data-hero="light"] .hero-scrim { display: none; }
.hero[data-hero="light"] .hero-iso {
  opacity: .5;
  background-image:
    linear-gradient(60deg,  rgba(13,39,67,.07) 1px, transparent 1px),
    linear-gradient(-60deg, rgba(13,39,67,.07) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at 70% 45%, #000 10%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 45%, #000 10%, transparent 60%);
}
.hero[data-hero="light"] .hero-glow { left: 72%; top: 46%; filter: blur(10px);
  background: radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb), .16) 0%, rgba(var(--accent-rgb), .06) 36%, rgba(var(--accent-rgb), 0) 68%); }
.hero[data-hero="light"] .hero-copy { color: var(--color-primary); }
.hero[data-hero="light"] .eyebrow { color: var(--accent-text); }
.hero[data-hero="light"] .eyebrow .dot { box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .14); }
.hero[data-hero="light"] h1 { color: var(--color-primary); text-shadow: none; }
.hero[data-hero="light"] .lead { color: var(--fg-2); }
.hero[data-hero="light"] .hero-note { color: var(--fg-3); }
.hero[data-hero="light"] .hero-note .sep { background: var(--color-border-2); }
/* light status card */
.hero[data-hero="light"] .statuscard {
  background: #fff; border: 1px solid var(--color-border); box-shadow: var(--shadow-lg); color: var(--fg-1);
}
.hero[data-hero="light"] .statuscard__title { color: var(--color-primary); }
.hero[data-hero="light"] .metric-row { border-top-color: var(--color-border); }
.hero[data-hero="light"] .metric-row .ml { color: var(--fg-2); }
.hero[data-hero="light"] .metric-row .mn { color: var(--color-primary); }
.hero[data-hero="light"] .metric-row .md { color: #1F8A55; }
.hero[data-hero="light"] .metric-row .md.blue { color: var(--color-link-aa); }
.hero[data-hero="light"] .statuscard__status { color: #1F8A55; }
.hero[data-hero="light"] .statuscard__ai { background: var(--color-neutral); color: var(--fg-2); }
.hero[data-hero="light"] .statuscard__ai strong { color: var(--color-primary); }

/* ==========================================================================
   TRUST / LOGO STRIP
   ========================================================================== */
.trust { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: #fff; }
.trust__inner { padding-block: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px; justify-content: space-between; }
.trust__label { font: var(--type-label-sm); letter-spacing: var(--type-label-sm-tracking); text-transform: uppercase; color: var(--fg-3); }
.trust__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 30px 38px; }
.trust__logo { font-weight: 700; font-size: 18px; color: #9AA3AB; letter-spacing: -.01em; }
.trust__logo.i { font-style: italic; }
.trust__logo.t { letter-spacing: .08em; font-size: 16px; }

/* Partner logo strip (below hero) */
.partner-strip {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}
.partner-strip__inner {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding-block: 28px 32px; text-align: center;
}
.partner-strip__label {
  margin: 0;
  font: var(--type-label-sm);
  letter-spacing: var(--type-label-sm-tracking);
  text-transform: uppercase;
  color: var(--fg-3);
}
.partner-strip__logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 22px 36px; list-style: none; margin: 0; padding: 0;
}
.partner-strip__logos li { display: flex; align-items: center; justify-content: center; }
.partner-strip__logos img {
  display: block; width: auto; max-width: min(140px, 28vw);
  height: clamp(18px, 2.2vw, 24px); object-fit: contain;
  opacity: .78;
  transition: opacity var(--dur-base) var(--ease-out);
}
.partner-strip__logos li:hover img { opacity: 1; }


/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-trust {
  margin: 14px 0 0;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.45;
  font-weight: 600;
  color: var(--fg-2);
}

.testimonial-carousel {
  --testimonial-gap: 20px;
  margin: 36px 0 0;
  width: 100%;
  max-width: var(--maxw);
}
.testimonial-carousel__viewport {
  overflow: hidden;
}
.testimonial-carousel__track {
  display: flex;
  gap: var(--testimonial-gap);
  will-change: transform;
}
.testimonial-slide {
  flex: 0 0 var(--testimonial-slide-size, 280px);
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
.testimonial-slide__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 320px;
  padding: 28px 24px 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.testimonial-slide blockquote {
  margin: 0;
  flex: 1;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  text-wrap: balance;
}
.testimonial-slide__fig {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 24px 0 0;
}
.testimonial-slide__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0;
}
.testimonial-slide__brand img {
  display: block;
  width: auto;
  max-width: min(168px, 20vw);
  max-height: clamp(28px, 3.5vw, 38px);
  object-fit: contain;
}
.testimonial-slide__brand--mono img {
  filter: brightness(0);
  opacity: 0.62;
}
.testimonial-slide__brand--color img {
  opacity: 0.88;
}
.testimonial-slide cite {
  font-style: normal;
  font-size: 14px;
  line-height: 1.45;
  color: var(--fg-3);
}
.testimonial-slide cite strong { color: var(--fg-2); font-weight: 600; }
.testimonial-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}
.testimonial-carousel__btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: #fff;
  color: var(--color-primary);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.testimonial-carousel__btn:hover { background: var(--color-neutral); border-color: var(--color-border-strong); }
.testimonial-carousel__btn .ic { width: 18px; height: 18px; }
.testimonial-carousel__dots { display: flex; gap: 8px; }
.testimonial-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--color-border-strong);
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.testimonial-carousel__dot.is-active { background: var(--color-on-surface-tertiary); transform: scale(1.15); }

@media (max-width: 767px) {
  .testimonial-slide__card { min-height: 0; }
}

/* ==========================================================================
   GENERIC CARD GRIDS
   ========================================================================== */
.grid { display: grid; gap: var(--grid-gap-md); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 28px;
}
.card__index { font: var(--type-caption); letter-spacing: .14em; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.card__h { font: var(--type-title-lg); color: var(--color-primary); margin: 14px 0 8px; }
.card__p { font-size: 15px; line-height: 1.55; color: var(--fg-2); margin: 0; }
.card__icon {
  width: 46px; height: 46px; border-radius: var(--radius-md); background: var(--color-neutral);
  display: grid; place-items: center; color: var(--color-primary); margin-bottom: 18px;
}
.card__icon img { width: 22px; height: 22px; }
.card__icon .ic { width: 22px; height: 22px; }
#solution .card__icon .ic { color: var(--accent-text); }

/* Problem cards (on neutral) */
.problem-card { background: #fff; }

/* ==========================================================================
   SOLUTION FLOW
   ========================================================================== */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 44px; }
.flow__step { position: relative; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 18px 16px; }
.flow__step .n { font: var(--type-caption); letter-spacing: .12em; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.flow__step .t { font-size: 15px; font-weight: 600; color: var(--color-primary); margin-top: 8px; }
.flow__step .d { font-size: 12.5px; color: var(--fg-3); margin-top: 4px; }
.flow__step::after {
  content: ""; position: absolute; right: -8px; top: 50%; width: 8px; height: 8px;
  border-top: 1.5px solid var(--color-border-strong); border-right: 1.5px solid var(--color-border-strong);
  transform: translateY(-50%) rotate(45deg); z-index: 2;
}
.flow__step:last-child::after { display: none; }

/* ==========================================================================
   BENTO (product pillars / feature grid) — Ramp-style
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(150px, auto); gap: var(--grid-gap-md); }
.bento__cell {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.bento__cell.span-3 { grid-column: span 3; }
.bento__cell.span-2 { grid-column: span 2; }
.bento__cell.span-4 { grid-column: span 4; }
.bento__cell.span-6 { grid-column: span 6; }
.bento__cell.tall { grid-row: span 2; }
.bento__cell.dark { background: var(--color-surface-dark); border-color: transparent; color: #fff; }
.bento__cell.dark .bento__h { color: #fff; }
.bento__cell.dark .bento__p { color: rgba(255,255,255,.74); }
.bento__kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.bento__kicker .pill { font: var(--type-caption); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.bento__cell.dark .bento__kicker .pill { color: var(--accent); }
.bento__icon { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--color-neutral); display: grid; place-items: center; }
.bento__cell.dark .bento__icon { background: rgba(255,255,255,.08); }
.bento__icon img { width: 20px; height: 20px; }
.bento__h { font: var(--type-title-lg); color: var(--color-primary); margin: 0 0 8px; }
.bento__p { font-size: 14.5px; line-height: 1.55; color: var(--fg-2); margin: 0; }
.bento__cell .spacer { flex: 1; min-height: 14px; }
.bento__stat { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; }
.bento__stat .v { font: var(--type-display-md); font-size: 34px; color: var(--color-primary); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bento__cell.dark .bento__stat .v { color: #fff; }
.bento__stat .k { font-size: 12.5px; color: var(--fg-3); }
.bento__cell.dark .bento__stat .k { color: rgba(255,255,255,.6); }


/* ==========================================================================
   AI FEED
   ========================================================================== */
.aifeed { display: grid; grid-template-columns: 1fr; gap: 12px; }
.aiitem {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; align-items: center;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 18px 20px; transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.aiitem:hover { box-shadow: var(--shadow-sm); border-color: var(--color-border-strong); }
.aiitem__main { min-width: 0; }
.aiitem__msg { font-size: 16px; font-weight: 600; color: var(--color-primary); }
.aiitem__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; font-size: 12.5px; color: var(--fg-3); }
.aiitem__meta .who { color: var(--accent-text); font-weight: 600; }
.aiitem__meta .sep { width: 3px; height: 3px; border-radius: 999px; background: var(--color-border-2); }
.aiitem__action { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--color-primary); background: var(--color-neutral); border: 1px solid var(--color-border); border-radius: var(--radius-full); padding: 8px 14px; white-space: nowrap; }
.aiitem__action .ic { width: 14px; height: 14px; color: var(--accent-text); }

/* ==========================================================================
   PRODUCT SHOWCASE (mock dashboard)
   ========================================================================== */
.showcase { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--grid-gap-xl); align-items: center; }
.window {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg); background: #fff;
}
.window__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--color-neutral); border-bottom: 1px solid var(--color-border); }
.window__dot { width: 11px; height: 11px; border-radius: 999px; background: #D6DCE1; }
.window__addr { margin-left: 12px; font-size: 12px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.window__body { padding: 0; background: #fff; }
.dash { display: grid; grid-template-columns: 168px 1fr; min-height: 360px; }
.dash__side { background: var(--color-surface-dark); padding: 18px 14px; }
.dash__brand { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; }
.dash__brand img { height: 18px; }
.dash__nav { display: flex; flex-direction: column; gap: 4px; }
.dash__nav a { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: var(--radius-sm); font-size: 13px; color: rgba(255,255,255,.66); text-decoration: none; }
.dash__nav a .ic { width: 16px; height: 16px; }
.dash__nav a.active { background: rgba(255,255,255,.1); color: #fff; }
.dash__main { padding: 22px; background: var(--color-surface-alt); }
.dash__row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dash__title { font-size: 16px; font-weight: 700; color: var(--color-primary); }
.dash__badge { font: var(--type-caption); letter-spacing: .04em; padding: 5px 10px; border-radius: 999px; background: #E6F6EE; color: #1F8A55; font-weight: 600; }
.dash__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.dash__c { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 14px; }
.dash__c .l { font-size: 11px; color: var(--fg-3); text-transform: uppercase; letter-spacing: .08em; }
.dash__c .v { font-size: 22px; font-weight: 700; color: var(--color-primary); margin-top: 6px; font-variant-numeric: tabular-nums; }
.dash__c .d { font-size: 11px; font-weight: 600; color: #1F8A55; margin-top: 2px; }
.dash__chart { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 16px; }
.dash__chart .ct { font-size: 12px; color: var(--fg-3); margin-bottom: 12px; }
.spark { display: flex; align-items: flex-end; gap: 6px; height: 92px; }
.spark span { flex: 1; background: linear-gradient(180deg, var(--accent) 0%, rgba(var(--accent-rgb), .35) 100%); border-radius: 3px 3px 0 0; }

/* ==========================================================================
   TESTIMONIAL
   ========================================================================== */
.quote-card { background: var(--color-surface-alt); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: clamp(32px, 5vw, 56px); }
.quote-card .q { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.38; color: var(--color-primary); font-weight: 500; letter-spacing: -.01em; margin: 0 0 30px; text-wrap: pretty; }
.quote-card .q .mark { color: var(--accent); }
.quote-meta { display: flex; align-items: center; gap: 14px; }
.quote-meta .av { width: 48px; height: 48px; border-radius: 999px; background: var(--color-primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.quote-meta .nm { font-weight: 600; font-size: 15px; color: var(--color-primary); }
.quote-meta .rl { font-size: 13px; color: var(--fg-3); margin-top: 2px; }

/* ==========================================================================
   PRICING TEASER
   ========================================================================== */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap-md); }
.price { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; }
.price.featured { border-color: var(--color-primary); box-shadow: var(--shadow-md); position: relative; }
.price.featured .ribbon { position: absolute; top: 18px; right: 18px; font: var(--type-caption); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 4px 10px; border-radius: 999px; }
.price__name { font: var(--type-label-sm); letter-spacing: var(--type-label-sm-tracking); text-transform: uppercase; color: var(--accent-text); }
.price__amt { font: var(--type-display-md); font-size: 42px; color: var(--color-primary); margin: 14px 0 2px; letter-spacing: -.02em; }
.price__amt span { font-size: 15px; font-weight: 500; color: var(--fg-3); letter-spacing: 0; }
.price__desc { font-size: 14px; color: var(--fg-2); margin: 6px 0 20px; }
.price__list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.price__list li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--fg-1); }
.price__list .ic { width: 16px; height: 16px; color: var(--color-success); flex: none; margin-top: 2px; }
.price .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ==========================================================================
   FINAL CTA BAND
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; background: var(--color-surface-alt); border-top: 1px solid var(--color-border); }
.cta-band__glow { position: absolute; left: 50%; top: -34%; width: 760px; height: 760px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb), .14) 0%, rgba(var(--accent-rgb), 0) 62%); filter: blur(8px); }
.cta-band__inner { position: relative; z-index: 2; text-align: center; padding-block: var(--space-section-xl); }
.cta-band h2 { color: var(--color-primary); font: var(--type-display-md); font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.03em; line-height: 1.04; }
.cta-band p { color: var(--fg-2); font: var(--type-body-lg); margin: 18px auto 36px; max-width: 620px; }
.cta-band .hero-cta { justify-content: center; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--color-surface-dark-deep); color: #fff; padding: var(--space-section-md) 0 36px; }
.footer__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px;
  align-items: start;
}
.footer__col--mast {
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
}
.footer__logo { display: inline-block; margin-bottom: 4px; }
.footer__utility-links ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 11px;
}
.footer__utility-links a,
.footer__trademarks a,
.footer__bottom-links a {
  font-size: 14px; color: rgba(255,255,255,.92); text-decoration: none;
  transition: color var(--dur-base) var(--ease-out);
}
.footer__utility-links a:has(.footer__flag) {
  display: inline-flex; align-items: center; gap: 10px;
}
.footer__flag {
  display: inline-flex; flex: 0 0 auto; width: 18px; height: 12px;
  border-radius: 1px; overflow: hidden;
}
.footer__flag svg { display: block; width: 100%; height: 100%; }
.footer__utility-links a:hover,
.footer__trademarks a:hover,
.footer__bottom-links a:hover { color: #fff; }
.footer__phone {
  margin: 0; font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.5;
}
.footer__phone a {
  color: inherit; text-decoration: none; transition: color var(--dur-base) var(--ease-out);
}
.footer__phone a:hover { color: rgba(255,255,255,.78); }
.footer__social {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px;
}
.footer__social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.28); border-radius: 2px;
  color: #fff; text-decoration: none;
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.footer__social-link svg { width: 15px; height: 15px; }
.footer__social-link:hover {
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.06);
}
.footer__trademarks {
  display: flex; flex-direction: column; gap: 10px; font-size: 12px; line-height: 1.55;
}
.footer__trademarks a { color: rgba(255,255,255,.72); }
.footer__col--stack { display: flex; flex-direction: column; gap: 28px; }
.footer__group h4 { font: var(--type-label-sm); letter-spacing: var(--type-label-sm-tracking); text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 16px; }
.footer h4 { font: var(--type-label-sm); letter-spacing: var(--type-label-sm-tracking); text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { font-size: 14px; color: rgba(255,255,255,.74); text-decoration: none; transition: color var(--dur-base) var(--ease-out); }
.footer ul a:hover { color: #fff; }
.footer__bottom {
  margin: 48px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,.5);
}
.footer__bottom-links { display: flex; gap: 16px; }

/* ==========================================================================
   RAMP-FLAVOR variants (body[data-ramp])
   heavy = denser, hairline dividers, index labels visible, more whitespace around heads
   light = airier, larger gaps, index labels hidden
   ========================================================================== */
body[data-ramp="heavy"] { --grid-gap-md: 16px; }
body[data-ramp="heavy"] .section { padding-block: var(--space-section-xl); }
body[data-ramp="heavy"] .card { border-radius: var(--radius-md); }
body[data-ramp="heavy"] .bento__cell { border-radius: var(--radius-md); }
body[data-ramp="heavy"] .card__index, body[data-ramp="heavy"] .flow__step .n { opacity: 1; }

body[data-ramp="light"] { --grid-gap-md: 32px; }
body[data-ramp="light"] .card__index { display: none; }
body[data-ramp="light"] .bento__kicker .pill { display: none; }
body[data-ramp="light"] .card { border-radius: var(--radius-lg); }

/* ==========================================================================
   CHIPS / NOTE BAR / TAGS / DISCLAIMER  (Convesio Pay content types)
   ========================================================================== */
.brand-suffix { font-weight: 700; font-size: 18px; letter-spacing: -.01em; margin-left: 2px; color: var(--accent); }
.site-header.is-scrolled .brand-suffix,
body.hero-is-light .site-header:not(.is-scrolled) .brand-suffix { color: var(--accent-text); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: var(--radius-full);
  border: 1px solid var(--color-border); background: #fff; font-size: 13.5px; font-weight: 500; color: var(--fg-1);
}
.chip .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.builtin .chip .dot { background: var(--color-success); box-shadow: 0 0 0 0 rgba(43,182,115,.5); animation: livePulse 1.9s infinite; }
.builtin .chip:nth-child(2) .dot { animation-delay: .3s; }
.builtin .chip:nth-child(3) .dot { animation-delay: .6s; }
.builtin .chip:nth-child(4) .dot { animation-delay: .9s; }
.builtin .chip:nth-child(5) .dot { animation-delay: 1.2s; }
.builtin .chip:nth-child(6) .dot { animation-delay: 1.5s; }
.section--alt .chip { background: #fff; }
.section--dark .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.9); }

/* "Built in" trust bar */
.builtin { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-block: 30px; }
.builtin__label { font: var(--type-label-sm); letter-spacing: var(--type-label-sm-tracking); text-transform: uppercase; color: var(--fg-3); white-space: nowrap; }
.builtin__items { display: flex; flex-wrap: wrap; gap: 10px 14px; }

.notebar {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 40px; padding: 24px 26px;
  background: var(--color-neutral); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  color: var(--fg-2); font-size: 15.5px; line-height: 1.6;
}
.notebar .ic { width: 22px; height: 22px; color: var(--accent-text); flex: none; margin-top: 2px; }
.notebar strong { color: var(--color-primary); font-weight: 600; }

/* Roadmap / vision tags */
.tagpill { display: inline-flex; align-items: center; gap: 6px; font: var(--type-caption); letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.tagpill.road { background: rgba(var(--accent-rgb), .12); color: var(--accent-text); }
.tagpill.vision { background: var(--color-neutral); color: var(--fg-2); }
.section--alt .tagpill.vision { background: #fff; }

.disclaimer { margin-top: 28px; font-size: 13px; color: var(--fg-3); }
.section--dark .disclaimer { color: rgba(255,255,255,.5); }

.roadcard .card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }

/* capability cards on dark */
.dark-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 24px; }
.dark-card h4 { color: #fff; font: var(--type-title-md); margin: 0 0 8px; }
.dark-card p { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.55; margin: 0; }
.dark-card .ix { font: var(--type-caption); letter-spacing: .12em; color: var(--accent); font-variant-numeric: tabular-nums; }

/* dashboard tabs + AI recommendation (For platforms) */
.dash__tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.dash__tab { font-size: 11.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; color: var(--fg-2); background: #fff; border: 1px solid var(--color-border); }
.dash__tab.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.dash__rec { margin-top: 14px; display: flex; gap: 10px; align-items: flex-start; padding: 13px 14px; background: rgba(var(--accent-rgb), .1); border: 1px solid rgba(var(--accent-rgb), .25); border-radius: var(--radius-sm); font-size: 12.5px; color: var(--fg-1); line-height: 1.5; }
.dash__rec .ic { width: 15px; height: 15px; color: var(--accent-text); flex: none; margin-top: 1px; }
.dash__rec strong { color: var(--color-primary); font-weight: 600; }

/* ---- ConvesioAI console (AI operations section) ---- */
.console { border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-md); }
.console__bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; background: #fff; border-bottom: 1px solid var(--color-border); }
.console__bar .window__dot { width: 11px; height: 11px; }
.console__addr { margin-left: 10px; font-size: 12px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.console__cols { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; padding: 11px 22px; background: var(--color-surface-alt); border-bottom: 1px solid var(--color-border); }
.console__cols span { font: var(--type-caption); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }

.console .aifeed { gap: 0; }
.console .aiitem { grid-template-columns: auto 1fr auto; border: 0; border-radius: 0; border-bottom: 1px solid var(--color-border); box-shadow: none !important; padding: 18px 22px; }
.console .aiitem:last-child { border-bottom: 0; }
.console .aiitem:hover { background: var(--color-surface-alt); }
.aiitem__ico { width: 36px; height: 36px; border-radius: var(--radius-sm); display: grid; place-items: center; background: rgba(var(--accent-rgb), .1); color: var(--accent-text); }
.aiitem__ico .ic { width: 18px; height: 18px; }

/* capability cards (icon + mono index) */
.card__top2 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.card__icon.sm { width: 40px; height: 40px; margin-bottom: 0; }
.card__icon.sm .ic { width: 20px; height: 20px; color: var(--accent-text); }

/* ---- Split header (title left, supporting copy right) ---- */
.split-head { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px 80px; align-items: end; }
.split-head .eyebrow { margin-bottom: 18px; }
.split-head__copy .lead { margin-top: 0; }
.split-head__copy .lead + .lead { margin-top: 14px; }

/* ---- Light glass band (reusable: subtle texture for frosted panels to float on) ---- */
.bandlight { position: relative; overflow: hidden; background: var(--color-surface-alt); }
.bandlight > .container { position: relative; z-index: 2; }
.bandlight .console { box-shadow: var(--shadow-lg); }
.bandlight__wash { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(55% 45% at 50% -5%, rgba(var(--accent-rgb), .08), transparent 70%),
              radial-gradient(45% 40% at 88% 28%, rgba(45,133,216,.06), transparent 72%); }
.bandlight__dots { position: absolute; inset: 0; z-index: 0; opacity: .6; pointer-events: none;
  background-image: radial-gradient(rgba(13,39,67,.08) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 50% 36%, #000 16%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 36%, #000 16%, transparent 72%); }

/* frosted light-glass flow + cards */
.flow.frost .flow__step { background: rgba(255,255,255,.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: rgba(255,255,255,.85); box-shadow: var(--shadow-xs); }
.card.frost { background: rgba(255,255,255,.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: rgba(255,255,255,.85); box-shadow: var(--shadow-sm); }
.flow.frost .flow__step::after { border-color: var(--accent); }

/* ---- Scroll-triggered motion: hero chart bars grow, flow numbers pop ---- */
.opschart span { transform-origin: bottom; }
.hero-panel.is-in .opschart span { animation: barGrow .8s var(--ease-out) both; }
.hero-panel.is-in .opschart span:nth-child(1) { animation-delay: .04s; }
.hero-panel.is-in .opschart span:nth-child(2) { animation-delay: .09s; }
.hero-panel.is-in .opschart span:nth-child(3) { animation-delay: .14s; }
.hero-panel.is-in .opschart span:nth-child(4) { animation-delay: .19s; }
.hero-panel.is-in .opschart span:nth-child(5) { animation-delay: .24s; }
.hero-panel.is-in .opschart span:nth-child(6) { animation-delay: .29s; }
.hero-panel.is-in .opschart span:nth-child(7) { animation-delay: .34s; }
.hero-panel.is-in .opschart span:nth-child(8) { animation-delay: .39s; }
.hero-panel.is-in .opschart span:nth-child(9) { animation-delay: .44s; }
.hero-panel.is-in .opschart span:nth-child(10) { animation-delay: .49s; }
@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.flow.frost .flow__step.is-in .n { animation: nPop .6s var(--ease-out) both; }
@keyframes nPop { 0% { transform: scale(1); } 32% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* ---- Intelligence: two-column feature catalog ---- */
.caps { display: grid; grid-template-columns: .82fr 1.18fr; gap: 48px 72px; align-items: start; }
.caps__intro { position: sticky; top: 104px; }
.caps__badge { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 12px 16px; border-radius: var(--radius-md); background: rgba(255,255,255,.65); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.85); box-shadow: var(--shadow-xs); }
.caps__badge-ic { width: 36px; height: 36px; border-radius: var(--radius-sm); display: grid; place-items: center; background: rgba(var(--accent-rgb), .12); color: var(--accent-text); }
.caps__badge-ic .ic { width: 19px; height: 19px; }
.caps__badge-t { font-size: 14px; font-weight: 700; color: var(--color-primary); }
.caps__badge-s { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--fg-2); margin-top: 2px; }
.caps__list { display: flex; flex-direction: column; }
.capitem { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--color-border); align-items: start;
  transition: padding-left var(--dur-base) var(--ease-out); }
.capitem:first-child { border-top: 0; padding-top: 4px; }
.capitem:hover { padding-left: 6px; }
.capitem .card__icon.sm { width: 42px; height: 42px; }
.capitem__h { font: var(--type-title-lg); color: var(--color-primary); margin: 0 0 5px; }
.capitem__p { font-size: 15px; line-height: 1.55; color: var(--fg-2); margin: 0; }

/* ---- Scroll progress bar (app-like polish) ---- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; pointer-events: none;
  background: linear-gradient(90deg, var(--accent), #FF9A8C); transition: width .08s linear; }

/* ---- Solution pipeline: rail + traveling comet packet (signature, echoes hero mesh) ---- */
.flow.frost { position: relative; }
.flow.frost::before { content: ""; position: absolute; left: 1%; right: 1%; top: 50%; height: 3px; transform: translateY(-50%); z-index: 0; border-radius: 999px;
  background: rgba(13, 39, 67, .07); }
.flow-fill { position: absolute; left: 1%; top: 50%; width: 0; height: 3px; transform: translateY(-50%); z-index: 0; border-radius: 999px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0), rgba(var(--accent-rgb), .85));
  animation: flowFill 4.8s var(--ease-in-out) infinite; }
.flow.frost .flow__step { position: relative; z-index: 1; }
.flow-pulse { position: absolute; top: 50%; left: 1%; width: 14px; height: 14px; border-radius: 999px; z-index: 3; transform: translate(-50%, -50%);
  background: radial-gradient(circle at 50% 50%, #fff 0%, #FFD2C8 38%, var(--accent) 78%);
  box-shadow: 0 0 30px 10px rgba(var(--accent-rgb), .55), 0 0 64px 22px rgba(var(--accent-rgb), .26),
              -20px 0 22px -6px rgba(var(--accent-rgb), .5), -38px 0 26px -12px rgba(var(--accent-rgb), .3);
  animation: flowPulse 4.8s var(--ease-in-out) infinite; }
@keyframes flowPulse { 0% { left: 1%; opacity: 0; } 7% { opacity: 1; } 93% { opacity: 1; } 100% { left: 99%; opacity: 0; } }
@keyframes flowFill { 0% { width: 0; opacity: 0; } 7% { opacity: 1; } 93% { opacity: 1; } 100% { width: 98%; opacity: 0; } }

/* ---- Micro-interactions ---- */
.chip { transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.chip:hover { border-color: var(--color-border-strong); transform: translateY(-1px); box-shadow: var(--shadow-xs); }

/* chip icons (Why use-cases) */
.chip-ic { width: 15px; height: 15px; color: var(--accent-text); flex: none; }

/* "Built in" band: divider between label and chips */
.builtin__label { border-right: 1px solid var(--color-border); padding-right: 26px; }

/* Solution: connector from pipeline down into the capability cards */
.flow-connect { display: flex; justify-content: center; margin-top: 24px; }
.flow-connect span { position: relative; width: 2px; height: 32px; background: linear-gradient(180deg, rgba(var(--accent-rgb), .55), rgba(var(--accent-rgb), 0)); }
.flow-connect span::after { content: ""; position: absolute; top: -3px; left: 50%; transform: translateX(-50%); width: 7px; height: 7px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 10px 2px rgba(var(--accent-rgb), .5); }

/* ---- Compliance: compact checklist cards ---- */
#compliance .grid .card { display: flex; align-items: center; gap: 14px; padding: 20px 22px; }
#compliance .grid .card .card__icon { margin: 0; flex: none; width: 40px; height: 40px; }
#compliance .grid .card .card__h { margin: 0; font-size: 15.5px; line-height: 1.3; }

/* ---- Enablement: humans + AI manifesto line ---- */
.enable-quote { text-align: center; max-width: 760px; margin: 52px auto 0; font-size: 27px; line-height: 1.32; font-weight: 600; letter-spacing: -0.01em; color: var(--color-primary); text-wrap: balance; }
.enable-quote .muted { color: var(--fg-3); }

/* ==========================================================================
   PAYMENTS CORE — radial cluster diagram (echoes hero node-mesh)
   ========================================================================== */
.pcore { position: relative; width: 100%; max-width: 460px; margin-inline: auto; aspect-ratio: 1 / 1; }
.pcore__ring { position: absolute; inset: 14%; border: 1px dashed var(--color-border-strong); border-radius: 999px; opacity: .5; }
.pcore__ring.r2 { inset: 30%; opacity: .35; }
.pcore__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; }
.pcore__lines line { stroke: var(--color-border-strong); stroke-width: 1.5; }
.pcore__lines .spark { stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 5 150;
  animation: pcoreSpark 3.4s var(--ease-in-out) infinite; }
@keyframes pcoreSpark { 0% { stroke-dashoffset: 155; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.pcore__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3;
  width: 33%; aspect-ratio: 1; border-radius: 999px; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 50% 38%, #FF8474 0%, var(--accent) 64%, #E8503F 100%);
  box-shadow: 0 18px 40px -12px rgba(var(--accent-rgb), .55), 0 0 0 10px rgba(var(--accent-rgb), .08); color: #fff; }
.pcore__center::before { content: ""; position: absolute; inset: 0; border-radius: 999px; border: 2px solid rgba(var(--accent-rgb), .5);
  animation: pcoreBeat 3.4s var(--ease-out) infinite; }
@keyframes pcoreBeat { 0% { transform: scale(1); opacity: .7; } 70% { transform: scale(1.65); opacity: 0; } 100% { transform: scale(1.65); opacity: 0; } }
.pcore__center img { width: 30%; filter: brightness(0) invert(1); }
.pcore__node { position: absolute; transform: translate(-50%, -50%); z-index: 2;
  display: flex; align-items: center; gap: 9px; padding: 9px 13px 9px 9px; border-radius: 999px;
  background: rgba(255,255,255,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow-sm); white-space: nowrap; }
.pcore__node .ni { width: 30px; height: 30px; border-radius: 999px; flex: none; display: grid; place-items: center;
  background: rgba(var(--accent-rgb), .12); color: var(--accent-text); }
.pcore__node .ni .ic { width: 16px; height: 16px; }
.pcore__node span { font-size: 13px; font-weight: 600; color: var(--color-primary); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-panel { max-width: 460px; }
  .showcase { grid-template-columns: 1fr; gap: 40px; }
  .bento__cell.span-3, .bento__cell.span-2, .bento__cell.span-4 { grid-column: span 6; }
  .mega-menu__grid { grid-template-columns: repeat(2, 1fr); }
  .mega-menu__cta-row { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow__step::after { display: none; }
  .flow.frost::before, .flow-fill, .flow-pulse { display: none; }
  .caps { grid-template-columns: 1fr; gap: 28px; }
  .caps__intro { position: static; }
  .caps__badge { margin-top: 20px; }
  /* dense feature grids relax to 2-up on tablets */
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pcore { max-width: 420px; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  :root { --gutter: 18px; }
  .hero-inner { padding-block: 44px 60px; }
  .lead { font-size: 17px; }
  .grid-3, .grid-4, .pricing { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .aiitem { grid-template-columns: 1fr; }
  .aiitem__action { justify-self: start; }
  .console__cols { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer__col--mast { grid-column: 1 / -1; }
  .section { padding-block: var(--space-section-md); }
  body[data-ramp="heavy"] .section { padding-block: var(--space-section-lg); }
  .split-head { grid-template-columns: 1fr; gap: 14px; }
  .builtin__label { border-right: 0; padding-right: 0; }
  .hero h1 { font-size: clamp(38px, 11vw, 54px); }
  .opsai { position: static; width: auto; right: auto; bottom: auto; margin-top: 16px; box-shadow: var(--shadow-md); }
  .hero h1 + .lead, .hero .lead { max-width: none; }
  /* product-window mock → stacked: dark brand bar on top, content below */
  .dash { grid-template-columns: 1fr; min-height: 0; }
  .dash__side { display: flex; align-items: center; padding: 12px 16px; }
  .dash__brand { margin: 0; }
  .dash__nav { display: none; }
  .enable-quote { font-size: clamp(20px, 5.4vw, 27px); margin-top: 40px; }
  .pcore { max-width: 360px; }
}
@media (max-width: 560px) {
  .partner-strip__inner { padding-block: 24px; gap: 16px; }
  .partner-strip__logos { gap: 16px 22px; }
  .pcore { max-width: 296px; }
  .pcore__node { padding: 7px 11px 7px 7px; gap: 7px; }
  .pcore__node span { font-size: 12px; }
  .pcore__node .ni { width: 26px; height: 26px; }
  .pcore__node .ni .ic { width: 15px; height: 15px; }
}
@media (max-width: 460px) {
  :root { --gutter: 16px; }
  .section { padding-block: 56px; }
  .h2 { font-size: 25px; }
  .grid-3, .grid-4, .pricing { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .dash__cards { gap: 8px; }
  .dash__c { padding: 11px; }
  .dash__c .v { font-size: 18px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}