/* SellerGrid — commerce operating system */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --off-white: #f8fafc;
  --white: #ffffff;
  --chalk: #f1f5f9;
  --surface: #e2e8f0;
  --linen: #e2e8f0;
  --clay: #cbd5e1;
  --accent: #4050D0;
  --accent-bright: #6B7AF5;
  --accent-mid: #5B6CF0;
  --accent-teal: #4050D0;
  --accent-purple: #7C6BF0;
  --accent-hover: #3341B0;
  --accent-soft: rgba(64, 80, 208, 0.08);
  --accent-border: rgba(64, 80, 208, 0.15);
  --gradient: linear-gradient(135deg, #6B7AF5 0%, #4050D0 48%, #7C6BF0 100%);
  --gradient-soft: linear-gradient(135deg, rgba(64, 80, 208, 0.12) 0%, rgba(124, 107, 240, 0.1) 100%);
  --muted: rgba(15, 23, 42, 0.62);
  --muted-50: rgba(15, 23, 42, 0.68);
  --muted-60: rgba(15, 23, 42, 0.74);
  --btn-h: 2.75rem;
  --btn-r: 0.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max-w-7xl: 80rem;
  --container: min(var(--max-w-7xl), 92vw);
  --container-footer: min(1160px, 92vw);
  --header-h: 72px;
  /* Typography */
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  /* Spacing scale — 8 / 12 / 16 / 24 / 32 / 48 / 64 */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  /* Section rhythm */
  --section-y: var(--space-3xl);
  --section-y-md: var(--space-3xl);
  --section-y-lg: 5rem;
  --section-gap: clamp(1.5rem, 3vw, var(--space-2xl));
  --section-gap-lg: clamp(var(--space-xl), 4vw, var(--space-3xl));
  --dash-bg: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  --dash-bg-overlay: linear-gradient(135deg, rgba(107, 122, 245, 0.05) 0%, rgba(124, 107, 240, 0.05) 100%);
  --dash-accent-a: #6B7AF5;
  --dash-accent-b: #7C6BF0;
  --dash-accent-gradient: linear-gradient(135deg, #6B7AF5 0%, #4050D0 50%, #7C6BF0 100%);
  --dash-accent-gradient-90: linear-gradient(90deg, #6B7AF5 0%, #4050D0 50%, #7C6BF0 100%);
  --dash-accent-gradient-180: linear-gradient(180deg, #6B7AF5 0%, #4050D0 50%, #7C6BF0 100%);
  --dash-card-bg: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  --dash-card-main: linear-gradient(135deg, #fff 0%, #f0f1fc 100%);
  --dash-icon-bg: linear-gradient(135deg, #f0f1fc 0%, #eef2ff 100%);
  --dash-hover-border: rgba(107, 122, 245, 0.3);
  --hero-dashboard-height: 760px;
  --hero-dash-canvas-w: 1024px;
  --hero-dash-canvas-h: 760px;
  --ai-support-demo-height: clamp(360px, 38vw, 440px);
  --ai-chat-demo-height: clamp(340px, 36vw, 420px);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(107, 122, 245, 0.08), transparent),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(124, 107, 240, 0.06), transparent);
}

main, .site-header, .site-footer { position: relative; z-index: 1; }

::selection { background: var(--ink); color: var(--white); }

.container { width: var(--container); margin-inline: auto; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Typography */
.heading-2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.15rem;
}

.heading-3 {
  font-size: clamp(2rem, 4vw, 3.375rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.05rem;
}

.heading-4 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); font-weight: 500; letter-spacing: -0.02em; }
.heading-5 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }

.body-lg { font-size: 1rem; line-height: 1.65; }
.body-xl { font-size: 1.125rem; line-height: 1.65; max-width: 640px; }

.muted { color: var(--muted-60); }
.heading-3 .muted, .heading-3 span.muted { color: var(--muted); }

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--space-md);
  padding: 0.35rem 0.75rem;
  background: rgba(64, 80, 208, 0.08);
  border-radius: 999px;
  border: 1px solid rgba(64, 80, 208, 0.15);
}

.inline-link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--clay);
  transition: text-decoration-color 0.2s;
}
.inline-link:hover { text-decoration-color: var(--accent); }

.muted-link { cursor: default; text-decoration: none; }
.muted-link:hover { text-decoration: none; color: var(--muted-60); }

.br-lg { display: none; }
@media (min-width: 1024px) { .br-lg { display: inline; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: var(--btn-h);
  padding: 0 1rem;
  border-radius: var(--btn-r);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  font-family: inherit;
}

.btn-lg { height: 3rem; padding: 0 1.35rem; font-size: 0.9375rem; }

.btn-primary {
  background: #000;
  color: var(--white);
  box-shadow: none;
}
.btn-primary:hover {
  background: #111;
  box-shadow: none;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--surface);
  background: var(--white);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: inline-flex; } }

.logo {
  display: flex;
  align-items: center;
  color: var(--ink);
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 2.75rem;
  width: auto;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .logo-img {
    height: 3rem;
  }
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.cta-row.center { justify-content: center; }

.bg-off-white { background: var(--off-white); }
.bg-white { background: var(--white); }
.bg-chalk { background: var(--chalk); }

.section { padding: var(--section-y) 0; }
@media (min-width: 768px) { .section { padding: var(--section-y-md) 0; } }
@media (min-width: 1280px) { .section { padding: var(--section-y-lg) 0; } }

/* Helpdesk pillar group — avoid double-stacked section padding */
.section.helpdesk-section {
  padding-block: var(--space-2xl);
}
@media (min-width: 768px) {
  .section.helpdesk-section { padding-block: var(--space-3xl); }
}

.section.helpdesk-section#features {
  padding-top: var(--section-y);
  padding-bottom: var(--space-xl);
}
@media (min-width: 768px) {
  .section.helpdesk-section#features {
    padding-top: var(--section-y-md);
    padding-bottom: var(--space-2xl);
  }
}

#product.section {
  padding-bottom: var(--space-2xl);
}
@media (min-width: 768px) {
  #product.section { padding-bottom: var(--space-3xl); }
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1002;
  background: var(--white);
  border-bottom: 1px solid rgba(222, 219, 214, 0.3);
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linen);
}
@media (min-width: 1024px) { .site-header { border-bottom: none; } .site-header.scrolled { border-bottom: 1px solid var(--linen); } }

.header-inner {
  position: relative;
  width: var(--container);
  max-width: none;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
  min-height: var(--header-h);
}

.nav-desktop { display: none; align-items: center; gap: 0.25rem; }
/* Anchor the primary nav to the centre of the header so it does not shift when
   the header CTA appears on scroll. */
@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

.mega-card.accent-card strong { color: var(--accent); }

.nav-link, .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--btn-r);
  font-family: inherit;
  transition: background 0.15s;
}
.nav-link:hover, .nav-trigger:hover { background: var(--off-white); }

.nav-trigger .chevron { transition: transform 0.2s; }
.nav-item.open .chevron { transform: rotate(180deg); }

.has-dropdown { position: relative; }

.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 320px;
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: var(--btn-r);
  padding: 0.75rem;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.nav-item.open .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.mega-menu-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; min-width: 420px; }

.mega-card {
  display: block;
  padding: 0.85rem;
  border-radius: var(--btn-r);
  transition: background 0.15s;
}
.mega-card:hover { background: var(--off-white); }
.mega-card strong { display: block; font-size: 0.875rem; margin-bottom: 0.25rem; }
.mega-card span { font-size: 0.8125rem; color: var(--muted-60); }
.mega-card.fin-card strong { color: var(--fin); }

.mega-col { display: flex; flex-direction: column; gap: 0.35rem; }
.mega-col a { font-size: 0.875rem; padding: 0.35rem 0; color: var(--muted-60); transition: color 0.15s; }
.mega-col a:hover { color: var(--ink); }
.mega-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  color: var(--muted-50);
  margin-bottom: 0.5rem;
}

.header-ctas { display: flex; align-items: center; gap: 0.5rem; flex-wrap: nowrap; justify-content: flex-end; flex-shrink: 0; }

/* Mobile-only Request Demo — sits between logo and hamburger */
.header-demo-mobile {
  display: none;
  flex-shrink: 0;
  height: 2.25rem;
  padding: 0 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Homepage: keep header Request Demo hidden while the hero is in view */
.site-header.header-demo-pending .header-request-demo {
  display: none !important;
}
.nav-text-link {
  display: none;
  padding: 0.5rem 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--btn-r);
  transition: background 0.15s;
}
.nav-text-link:hover { background: var(--off-white); }
@media (min-width: 640px) { .nav-text-link { display: inline-flex; } }
@media (min-width: 1024px) { .hide-lg { display: none !important; } }
@media (min-width: 768px) { .hide-md { display: inline-flex !important; } }

.header-divider {
  width: 1px;
  height: 24px;
  background: rgba(222, 219, 214, 0.5);
  margin: 0 0.25rem;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  margin-left: auto;
  border-radius: var(--btn-r);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 1003;
}
.menu-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 1.25rem;
  height: 2px;
  margin-left: -0.625rem;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
  transform-origin: center;
}
.menu-toggle span:nth-child(1) {
  transform: translateY(-3.5px);
}
.menu-toggle span:nth-child(2) {
  transform: translateY(3.5px);
}
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  transform: rotate(-45deg);
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }

@media (max-width: 1023px) {
  :root { --header-h: 64px; }

  .header-inner {
    padding: 0.625rem 0;
    gap: 0.5rem;
    flex-wrap: nowrap;
  }

  .header-inner .logo {
    min-width: 0;
    flex: 1 1 auto;
    max-width: calc(100% - 9.5rem);
  }

  .header-inner .logo-img {
    height: 2.125rem;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
  }

  /* Desktop CTA group stays in the hamburger menu on small screens */
  .header-ctas {
    display: none !important;
  }

  .header-demo-mobile {
    display: inline-flex !important;
    margin-left: auto;
  }

  .menu-toggle {
    margin-left: 0;
  }
}

@media (max-width: 380px) {
  .header-demo-mobile {
    padding: 0 0.65rem;
    font-size: 0.6875rem;
  }
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, visibility 0.32s ease;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  width: min(19.5rem, 80vw);
  height: 100%;
  max-height: none;
  margin: 0;
  padding: calc(var(--header-h, 64px) + 0.85rem) 1.25rem 1.35rem;
  gap: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, #fff 7rem),
    #fff;
  border: 0;
  border-left: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: none;
  opacity: 1;
  visibility: hidden;
  transform: translateX(105%);
  pointer-events: none;
  transition:
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.36s;
}

.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  max-height: none;
  overflow-y: auto;
  padding: calc(var(--header-h, 64px) + 0.85rem) 1.25rem 1.35rem;
  border-top-color: transparent;
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav[hidden] {
  display: flex !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.mobile-nav__section {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.15rem;
  padding: 0.85rem 0 0.35rem;
}

.mobile-nav__section + .mobile-nav__section {
  margin-top: 0.35rem;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.mobile-nav__label {
  margin: 0 0 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-50, #94a3b8);
}

.mobile-nav a:not(.btn) {
  display: block !important;
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.7rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  border-radius: 10px;
  text-decoration: none;
  white-space: normal;
  transition: color 0.15s ease, background 0.15s ease;
}

.mobile-nav a:not(.btn):hover,
.mobile-nav a:not(.btn):focus-visible {
  color: var(--accent, #4050D0);
  background: rgba(64, 80, 208, 0.06);
}

.mobile-nav__actions {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.mobile-nav__actions .btn {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  min-height: 0;
  height: 2.5rem;
  padding: 0 0.75rem;
  font-size: 0.8125rem;
  margin-top: 0;
  border-radius: 10px;
}

.mobile-nav__actions .btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(222, 219, 214, 0.95);
  box-shadow: none;
}

.mobile-nav__actions .btn-secondary:hover {
  background: var(--off-white);
  border-color: rgba(148, 163, 184, 0.55);
}

.mobile-nav__actions .btn-primary {
  font-weight: 600;
}

body.mobile-nav-open {
  overflow: hidden;
}

@media (min-width: 1024px) {
  .mobile-nav,
  .mobile-nav-backdrop {
    display: none !important;
  }
}

/* ========== HERO ========== */
.hero {
  padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero { padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(3rem, 4.5vw, 4rem); }
}

.hero-intro {
  margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
}

.hero-content {
  width: 100%;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.875rem, 1.5vw, 1.25rem);
}

.hero-title {
  margin: 0;
  width: 100%;
  max-width: none;
  font-size: clamp(2.125rem, 1.2rem + 2vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
  color: var(--ink);
}

/* Only constrain copy width when it sits beside the visual */
@media (min-width: 1024px) {
  .hero-content {
    max-width: 34rem;
  }
}

.hero-title .text-gradient {
  padding-bottom: 0.04em;
}

.hero-cta {
  margin-top: 0.25rem;
  align-items: center;
}

.hero-gallery {
  margin-bottom: 2rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.gallery-track {
  display: flex;
  gap: 0.75rem;
  padding: 0 4vw;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }

.gallery-item {
  flex: 0 0 180px;
  height: 220px;
  border-radius: var(--btn-r);
  background: var(--chalk) center/cover no-repeat;
  background-image: var(--img);
  scroll-snap-align: start;
}
@media (min-width: 768px) { .gallery-item { flex-basis: 220px; height: 280px; } }

.hero-carousel-wrap {
  padding-top: 0;
  padding-bottom: 0;
}

.hero-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--linen);
  border-bottom: 1px solid #fff;
  border-radius: var(--btn-r) var(--btn-r) 0 0;
  overflow: hidden;
  background: var(--white);
}

.hero-tab {
  flex: 1;
  position: relative;
  padding: 1rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  background: var(--white);
  border: none;
  border-right: 1px solid var(--linen);
  cursor: pointer;
  font-family: inherit;
  color: var(--muted-60);
  transition: background 0.2s, color 0.2s;
  overflow: hidden;
  white-space: nowrap;
}
.hero-tab:last-child { border-right: none; }
.hero-tab.active { background: var(--white); color: var(--ink); }

.hero-tab__label--short { display: none; }

@media (max-width: 767px) {
  .hero-carousel-wrap {
    overflow-x: clip;
  }

  .hero-tabs {
    display: flex;
    flex-direction: row;
    overflow: hidden;
  }

  .hero-tab {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    padding: 0.625rem 0.2rem;
    font-size: clamp(0.5625rem, 2.65vw, 0.6875rem);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-tab__label--long { display: none; }
  .hero-tab__label--short { display: inline; }
}

.tab-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.hero-tab.active .tab-progress { animation: carouselProgress 7s linear forwards; }

@keyframes carouselProgress { to { transform: scaleX(1); } }

.hero-panels {
  border: 1px solid var(--linen);
  border-top: 1px solid #fff;
  border-radius: 0 0 var(--btn-r) var(--btn-r);
  background: var(--white);
  position: relative;
  overflow: hidden;
  margin-top: -1px;
  min-height: var(--hero-dashboard-height);
}

.hero-panel {
  position: absolute;
  inset: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero-panel .screenshot-demo {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: none;
  box-shadow: none;
  border-radius: 0 0 0.75rem 0.75rem;
  background: var(--white);
}

.hero-panel .hero-video-demo {
  width: 100%;
  border-radius: 0 0 0.75rem 0.75rem;
  overflow: hidden;
}

.hero-panel .hero-video-demo .screenshot-demo-chrome {
  display: none;
}

.hero-panel .hero-video-demo .screenshot-caption {
  display: none;
}

.hero-panel .hero-video-wrap {
  position: relative;
  width: 100%;
  line-height: 0;
  background: #fff;
  overflow: hidden;
}

.hero-panel .hero-video-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: #fff;
  z-index: 1;
  pointer-events: none;
}

.hero-panel .hero-video-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(380px, 52%);
  height: 34px;
  background: #fff;
  z-index: 1;
  pointer-events: none;
}

.hero-panel .hero-video {
  display: block;
  width: calc(100% + 16px);
  max-width: none;
  height: auto;
  margin-right: -16px;
  vertical-align: top;
}

.hero-panel .screenshot-sequence {
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 491;
  min-height: 0;
  max-height: none;
  background: var(--off-white);
}

.hero-panel .seq-frame {
  object-fit: contain;
  object-position: top center;
  width: 100%;
  height: 100%;
}

.hero-panel .screenshot-caption,
.hero-panel .seq-dots {
  flex-shrink: 0;
}

.hero-panel.active {
  position: relative;
  min-height: var(--hero-dashboard-height);
  height: auto;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-panel.active > [class$="-dashboard"],
.hero-panel.active .hero-dash-viewport > [class$="-dashboard"] {
  flex: 1;
  min-height: var(--hero-dashboard-height);
}

.hero-dash-viewport {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
}

.hero-dash-viewport--theme-builder {
  background: transparent;
  flex: 1;
  height: 100%;
  min-height: var(--hero-dashboard-height);
}

.theme-builder-dashboard {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: var(--hero-dashboard-height);
  overflow: hidden;
}

.hero-panel[data-dashboard="storefront"].active {
  background: transparent;
  height: var(--hero-dashboard-height);
  min-height: var(--hero-dashboard-height);
}

.hero-panels:has(.hero-panel[data-dashboard="storefront"].active) {
  background: transparent;
  border-color: rgba(226, 232, 240, 0.85);
  height: var(--hero-dashboard-height);
  min-height: var(--hero-dashboard-height);
}

@media (max-width: 767px) {
  .hero-panel[data-dashboard="storefront"].active,
  .hero-panel[data-dashboard="crm"].active,
  .hero-panel[data-dashboard="support"].active,
  .hero-panel[data-dashboard="engage"].active,
  .theme-builder-dashboard,
  .hero-dash-viewport--theme-builder,
  .support-assistant-dashboard,
  .hero-dash-viewport--support-assistant,
  .crm-showcase-dashboard,
  .hero-dash-viewport--crm-showcase,
  .engage-showcase-dashboard,
  .hero-dash-viewport--engage-showcase {
    height: auto;
    min-height: 0;
  }
}

.hero-dash-viewport--support-assistant {
  background: transparent;
  flex: 1;
  height: 100%;
  min-height: var(--hero-dashboard-height);
}

.support-assistant-dashboard {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: var(--hero-dashboard-height);
  overflow: hidden;
}

.hero-panel[data-dashboard="support"].active {
  background: transparent;
  height: var(--hero-dashboard-height);
  min-height: var(--hero-dashboard-height);
}

.hero-panels:has(.hero-panel[data-dashboard="support"].active) {
  background: transparent;
  border-color: rgba(226, 232, 240, 0.85);
  height: var(--hero-dashboard-height);
  min-height: var(--hero-dashboard-height);
}

.hero-dash-viewport--crm-showcase {
  background: transparent;
  flex: 1;
  height: 100%;
  min-height: var(--hero-dashboard-height);
}

.crm-showcase-dashboard {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: var(--hero-dashboard-height);
  overflow: hidden;
}

.hero-panel[data-dashboard="crm"].active {
  background: transparent;
  height: var(--hero-dashboard-height);
  min-height: var(--hero-dashboard-height);
}

.hero-panels:has(.hero-panel[data-dashboard="crm"].active) {
  background: transparent;
  border-color: rgba(226, 232, 240, 0.85);
  height: var(--hero-dashboard-height);
  min-height: var(--hero-dashboard-height);
}

.hero-dash-viewport--engage-showcase {
  background: transparent;
  flex: 1;
  height: 100%;
  min-height: var(--hero-dashboard-height);
}

.engage-showcase-dashboard {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: var(--hero-dashboard-height);
  overflow: hidden;
}

.hero-panel[data-dashboard="engage"].active {
  background: transparent;
  height: var(--hero-dashboard-height);
  min-height: var(--hero-dashboard-height);
}

.hero-panels:has(.hero-panel[data-dashboard="engage"].active) {
  background: transparent;
  border-color: rgba(226, 232, 240, 0.85);
  height: var(--hero-dashboard-height);
  min-height: var(--hero-dashboard-height);
}

.hero-panel .charts-section,
.hero-panel .charts-grid {
  flex: 1 1 auto;
  min-height: 200px;
}

.hero-panel .chart-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.hero-panel .line-chart-container,
.hero-panel .line-chart-card .line-chart,
.hero-panel .large-chart .line-chart-container {
  flex: 1;
  min-height: 100px;
  height: auto;
}

.hero-panel .bar-chart-card .bar-chart {
  flex: 1;
  justify-content: center;
}

.hero-panel .products-chart .products-list {
  flex: 1;
  max-height: none;
}

.hero-panel .quick-access-section,
.hero-panel [class$="-dashboard"] > .quick-access {
  margin-top: auto;
  flex-shrink: 0;
}

/* Remove all shadows inside hero dashboards (overrides Tailwind shadow-* utilities) */
.hero-panel [class$="-dashboard"] *,
.hero-dash-viewport * {
  box-shadow: none !important;
}

/* Mobile-only hero tab graphics (readable product UI stills) */
.hero-mobile-graphic {
  display: none;
  margin: 0;
  width: 100%;
  line-height: 0;
}

.hero-mobile-graphic picture,
.hero-mobile-graphic img {
  display: block;
  width: 100%;
  height: auto;
}

/* Hero mobile — readable graphics; fallback scaled preview if no graphic */
@media (max-width: 767px) {
  .hero-panels {
    overflow: hidden;
    min-height: 0 !important;
    height: auto;
  }

  .hero-panel:not(.active) {
    display: none;
  }

  .hero-panel.active {
    position: relative;
    display: block;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: hidden;
  }

  .hero-panel.active > .hero-mobile-graphic {
    display: block;
    background: #f3efe8;
  }

  .hero-panel:has(> .hero-mobile-graphic).active {
    background: #f3efe8;
  }

  .hero-panels:has(.hero-panel.active > .hero-mobile-graphic) {
    background: #f3efe8;
    border-color: rgba(226, 232, 240, 0.9);
  }

  .hero-panel:has(> .hero-mobile-graphic) > .hero-dash-viewport {
    display: none !important;
  }

  .hero-dash-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    flex: none;
    aspect-ratio: 1024 / 760;
    height: auto;
    min-height: 0;
  }

  .hero-dash-viewport > [class$="-dashboard"] {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--hero-dash-canvas-w);
    min-width: var(--hero-dash-canvas-w);
    height: var(--hero-dash-canvas-h);
    min-height: var(--hero-dash-canvas-h);
    flex: none;
    transform: scale(var(--hero-dash-scale, 1));
    transform-origin: top left;
    pointer-events: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  /* Prevent entrance animations from leaving cards at opacity:0 on mobile preview */
  .hero-panel [class$="-dashboard"] .featured-kpi-card,
  .hero-panel [class$="-dashboard"] .mini-kpi-card,
  .hero-panel [class$="-dashboard"] .chart-card,
  .hero-panel [class$="-dashboard"] .crm-stat-card,
  .hero-panel [class$="-dashboard"] .crm-chart-card,
  .hero-panel [class$="-dashboard"] .crm-table-card,
  .hero-panel [class$="-dashboard"] .crm-rep-card,
  .hero-panel [class$="-dashboard"] .support-kpi-card,
  .hero-panel [class$="-dashboard"] .support-chart-card,
  .hero-panel [class$="-dashboard"] .support-insight-card,
  .hero-panel [class$="-dashboard"] .inventory-kpi-card,
  .hero-panel [class$="-dashboard"] .inventory-chart-card,
  .hero-panel [class$="-dashboard"] .inventory-status-card,
  .hero-panel [class$="-dashboard"] .inventory-table-card,
  .hero-panel [class$="-dashboard"] .inventory-carrier-card,
  .hero-panel [class$="-dashboard"] .quick-link {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-panel .dashboard-header {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .hero-panel .export-btn {
    justify-content: flex-start;
  }

  .hero-panel .featured-kpi-section {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .hero-panel .secondary-kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-panel .charts-section,
  .hero-panel .charts-grid,
  .hero-panel .crm-charts-row,
  .hero-panel .support-charts-row,
  .hero-panel .inventory-charts-row {
    grid-template-columns: 2fr 1fr;
  }

  .hero-panel .crm-tables-row,
  .hero-panel .inventory-tables-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero-panel .crm-rep-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-panel .inventory-carrier-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-panel .chart-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-panel .crm-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-panel .support-kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-panel .support-insights-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-panel .inventory-kpi-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .hero-panel .inventory-status-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .hero-panel .quick-access {
    grid-template-columns: repeat(6, 1fr);
  }

  .hero-panel .storefront-dashboard,
  .hero-panel .crm-dashboard,
  .hero-panel .support-dashboard,
  .hero-panel .inventory-dashboard {
    padding: 8px 10px;
    gap: 6px;
  }
}

/* Product UI mockups */
.product-ui {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: var(--btn-r);
  overflow: hidden;
  height: 100%;
  min-height: 320px;
}

.ui-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--linen);
  font-size: 0.75rem;
  color: var(--muted-60);
}
.ui-chrome span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--clay);
}
.ui-chrome.ai { color: var(--accent); font-weight: 600; }

.ui-body { display: grid; grid-template-columns: 100px 160px 1fr; min-height: 260px; }
.ui-nav { border-right: 1px solid var(--linen); padding: 0.5rem 0; background: var(--off-white); }
.ui-nav div { padding: 0.4rem 0.75rem; font-size: 0.7rem; color: var(--muted-60); }
.ui-nav div.active { background: var(--white); font-weight: 600; color: var(--ink); border-left: 2px solid var(--accent); }
.ui-main { border-right: 1px solid var(--linen); padding: 0.5rem; }
.ui-row { height: 36px; margin-bottom: 4px; background: var(--off-white); border-radius: 2px; }
.ui-row.active { background: rgba(0, 7, 203, 0.06); border: 1px solid rgba(0, 7, 203, 0.15); }
.ui-detail { padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.ui-msg { height: 48px; background: var(--off-white); border-radius: var(--btn-r); border: 1px solid var(--linen); }
.ui-msg.short { height: 32px; width: 70%; }

.fin-demo { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.fin-bubble { font-size: 0.8125rem; padding: 0.65rem 0.85rem; border-radius: var(--btn-r); max-width: 85%; }
.fin-bubble.user { align-self: flex-end; background: var(--off-white); border: 1px solid var(--linen); }
.fin-bubble.bot { display: flex; gap: 0.5rem; align-items: flex-start; }
.fin-av {
  width: 24px; height: 24px;
  background: var(--fin);
  color: var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.65rem; font-weight: 700;
  flex-shrink: 0;
}

.insights-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 180px;
  padding: 1.5rem;
}
.insights-chart .bar {
  flex: 1;
  height: var(--h);
  background: var(--gradient);
  border-radius: 4px 4px 0 0;
  opacity: 0.9;
  animation: barGrow 0.8s var(--ease) backwards;
}
.insights-chart .bar:nth-child(1) { animation-delay: 0.1s; }
.insights-chart .bar:nth-child(2) { animation-delay: 0.2s; }
.insights-chart .bar:nth-child(3) { animation-delay: 0.3s; }
.insights-chart .bar:nth-child(4) { animation-delay: 0.4s; }
.insights-chart .bar:nth-child(5) { animation-delay: 0.5s; }
.insights-chart .bar:nth-child(6) { animation-delay: 0.6s; }

@keyframes barGrow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); transform-origin: bottom; }
}

.insights-metrics {
  display: flex;
  gap: 2rem;
  padding: 0 1.5rem 1.5rem;
  font-size: 0.8125rem;
  color: var(--muted-60);
}
.insights-metrics strong { display: block; font-size: 1.5rem; color: var(--ink); }

.rec-list { padding: 1.25rem; }
.rec-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem;
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--linen);
}
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.rec-item.done { opacity: 0.5; }
.rec-item.done .rec-dot { background: #00da00; }

/* ========== LOGO MARQUEE ========== */
.logo-wall {
  padding: 3rem 0;
  border-block: 1px solid var(--linen);
  overflow: hidden;
}

.marquee {
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-track span {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--muted-50);
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== DEMO VIDEO ========== */

body.demo-video-modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}

.demo-video-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(20px, env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right))
    max(20px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.demo-video-modal.is-visible {
  opacity: 1;
}

.demo-video-modal[hidden] {
  display: none;
}

.demo-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.demo-video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 56rem);
  transform: translateY(1rem) scale(0.98);
  transition: transform 0.35s var(--ease);
}

.demo-video-modal.is-visible .demo-video-modal__dialog {
  transform: translateY(0) scale(1);
}

.demo-video-modal__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1rem;
  background: #0f172a;
  box-shadow: none;
}

.demo-video-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-video-modal__close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.demo-video-modal__close:hover,
.demo-video-modal__close:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

@media (max-width: 640px) {
  .demo-video-modal__close {
    top: -2.5rem;
  }
}

.demo-video-section {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.demo-video-section__inner {
  position: relative;
  z-index: 1;
}

.demo-video-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.demo-video-copy {
  max-width: 28rem;
}

.demo-video-copy .eyebrow {
  margin-bottom: 1rem;
}

.demo-video-copy__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.demo-video-copy__lead {
  margin: 0 0 1.5rem;
  max-width: 26rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted-60);
}

.demo-video-copy__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.demo-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 1rem;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: none;
}

.demo-video__facade {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: var(--white);
  text-align: left;
}

.demo-video__ui {
  position: absolute;
  inset: 8% 7% 9%;
  display: flex;
  flex-direction: column;
  border-radius: 0.7rem;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: none;
  pointer-events: none;
}

.demo-video__chrome {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.1rem;
  padding: 0 0.8rem;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.demo-video__dots {
  display: inline-flex;
  gap: 0.28rem;
}

.demo-video__dots i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #cbd5e1;
}

.demo-video__dots i:nth-child(1) { background: #fca5a5; }
.demo-video__dots i:nth-child(2) { background: #fcd34d; }
.demo-video__dots i:nth-child(3) { background: #86efac; }

.demo-video__chrome-bar {
  display: block;
  width: 42%;
  height: 0.45rem;
  border-radius: 999px;
  background: #e2e8f0;
}

.demo-video__workspace {
  display: grid;
  grid-template-columns: 4.75rem 1fr;
  min-height: 0;
  flex: 1;
}

.demo-video__nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.85rem 0.65rem;
  background: #f8fafc;
  border-right: 1px solid rgba(15, 23, 42, 0.06);
}

.demo-video__nav span {
  display: block;
  height: 0.55rem;
  border-radius: 999px;
  background: #e2e8f0;
}

.demo-video__nav span:nth-child(1) { width: 78%; }
.demo-video__nav span:nth-child(2) { width: 90%; }
.demo-video__nav span:nth-child(3) { width: 68%; }
.demo-video__nav span:nth-child(4) { width: 84%; }
.demo-video__nav span:nth-child(5) { width: 72%; }
.demo-video__nav span:nth-child(6) { width: 60%; }

.demo-video__nav span.is-active {
  background: rgba(64, 80, 208, 0.18);
  box-shadow: none;
}

.demo-video__main {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.85rem;
  background: #ffffff;
}

.demo-video__toolbar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.demo-video__toolbar span {
  display: block;
  height: 0.5rem;
  border-radius: 999px;
  background: #e2e8f0;
}

.demo-video__toolbar span:nth-child(1) { width: 28%; }
.demo-video__toolbar span:nth-child(2) { width: 16%; }
.demo-video__toolbar span:nth-child(3) {
  width: 12%;
  margin-left: auto;
  background: #cbd5e1;
}

.demo-video__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 1.1fr 0.9fr;
  gap: 0.55rem;
  min-height: 0;
  flex: 1;
}

.demo-video__block {
  border-radius: 0.45rem;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.demo-video__block--wide {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.demo-video__block--tall {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.demo-video__block--mid {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}

.demo-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  margin: 0;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  border: 0;
  box-shadow: none;
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s var(--ease);
}

.demo-video__play svg {
  margin-left: 0.12rem;
}

.demo-video__facade:hover .demo-video__play,
.demo-video__facade:focus-visible .demo-video__play {
  transform: translate(-50%, -50%) scale(1.05);
  background: #020617;
  box-shadow: none;
}

.demo-video__facade:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.demo-video.is-playing .demo-video__facade {
  display: none;
}

.demo-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .demo-video-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .demo-video-copy {
    max-width: 36rem;
    text-align: left;
  }

  .demo-video {
    aspect-ratio: 16 / 10;
    max-width: 40rem;
  }
}

@media (max-width: 640px) {
  .demo-video {
    border-radius: 0.85rem;
    aspect-ratio: 16 / 11;
  }

  .demo-video__ui {
    inset: 6% 5% 7%;
  }

  .demo-video__workspace {
    grid-template-columns: 3.5rem 1fr;
  }

  .demo-video__play {
    width: 3.15rem;
    height: 3.15rem;
  }

  .demo-video-copy__actions {
    width: 100%;
  }

  .demo-video-copy__actions .btn {
    flex: 1 1 auto;
  }
}

/* ========== COMPLETE SOLUTION ========== */

.product-section {
  position: relative;
  overflow: hidden;
  background: #fafbfc !important;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.product-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.product-section__glow {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(42rem, 80vw);
  height: 16rem;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(64, 80, 208, 0.045) 0%, transparent 72%);
}

.product-section__grain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.product-section > .container {
  position: relative;
  z-index: 1;
}

.modules-showcase {
  --modules-reveal-delay: 0ms;
}

/* Section header — left-aligned editorial grid that matches the capability
   rows below, instead of a centred display block. */
.modules-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  text-align: left;
  max-width: none;
  margin: 0;
}

.modules-intro__head {
  max-width: 46rem;
}

.modules-intro__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.1rem;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: none;
  border: none;
  border-radius: 0;
}

.modules-intro__eyebrow::before {
  content: '';
  flex: none;
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.modules-intro__title {
  margin: 0;
  font-size: clamp(1.75rem, 2.4vw, 2.375rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.modules-intro__lead {
  margin: 0;
  max-width: 30rem;
  font-size: 1rem;
  line-height: 1.62;
  color: var(--muted-60);
  text-wrap: pretty;
}

.modules-intro__divider {
  grid-column: 1 / -1;
  width: 100%;
  height: 1px;
  margin: 0.5rem 0 0;
  background: var(--linen);
}

@media (min-width: 1024px) {
  .modules-intro {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 1.5rem 3.5rem;
    align-items: end;
  }

  .modules-intro__aside {
    padding-bottom: 0.15rem;
  }
}

.modules-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease);
  transition-delay: var(--modules-reveal-delay, 0ms);
}

.modules-showcase.is-visible .modules-reveal {
  opacity: 1;
  transform: none;
}

.modules-showcase.is-visible .modules-intro__eyebrow { --modules-reveal-delay: 0ms; }
.modules-showcase.is-visible .modules-intro__title { --modules-reveal-delay: 60ms; }
.modules-showcase.is-visible .modules-intro__divider { --modules-reveal-delay: 120ms; }

/* Module showcase — a static responsive grid so all eight modules are visible
   at once. It replaces the former auto-scrolling marquee entirely (no clones,
   no edge fade, no duplicated DOM). */
.modules-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  margin: 1rem 0 var(--section-gap);
  padding-inline: 0;
}

@media (min-width: 640px) {
  .modules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .modules-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.module-tile {
  background: var(--white);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 0.875rem;
  box-shadow: none;
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
  opacity: 0;
  transform: translateY(18px);
}

.modules-showcase.is-visible .module-tile {
  animation: module-tile-in 0.55s var(--ease) both;
}

.modules-showcase.is-visible .module-tile:nth-child(1) { animation-delay: 220ms; }
.modules-showcase.is-visible .module-tile:nth-child(2) { animation-delay: 280ms; }
.modules-showcase.is-visible .module-tile:nth-child(3) { animation-delay: 340ms; }
.modules-showcase.is-visible .module-tile:nth-child(4) { animation-delay: 400ms; }
.modules-showcase.is-visible .module-tile:nth-child(5) { animation-delay: 460ms; }
.modules-showcase.is-visible .module-tile:nth-child(6) { animation-delay: 520ms; }
.modules-showcase.is-visible .module-tile:nth-child(7) { animation-delay: 580ms; }
.modules-showcase.is-visible .module-tile:nth-child(8) { animation-delay: 640ms; }

@keyframes module-tile-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (hover: hover) {
  .module-tile:hover {
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: none;
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .modules-reveal,
  .module-tile {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none !important;
  }
}

.section-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.section-side .cta-row {
  margin-top: 0;
}

.section-header-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
}

.section-header-copy .eyebrow {
  margin-bottom: 0;
}

.section-header-copy .heading-3 {
  margin-bottom: 0;
}

.module-tile-media {
  aspect-ratio: 1024 / 486;
  width: 100%;
  border-radius: 0.625rem;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  margin-bottom: var(--space-md);
  background: var(--chalk);
  flex-shrink: 0;
  box-shadow: none;
  line-height: 0;
}

.module-diagram {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 140px;
  background: var(--gradient-soft);
  overflow: hidden;
}

.module-diagram:not(.is-playing) * {
  animation-play-state: paused;
}

/* —— Module SVG animations —— */
.mod-svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 140px;
}

/* CRM — profile, orders & touchpoints unify in one card */
.mod-crm-profile,
.mod-crm-order,
.mod-crm-touch {
  opacity: 0;
  transform: translateY(6px);
  animation: modFadeUp 6s var(--ease) infinite;
}

.mod-crm-order { animation-delay: 0.6s; }
.mod-crm-touch { animation-delay: 1.2s; }

/* Lead — leads from channels move through pipeline columns */
.mod-lead-channels { animation: modFadeIn 6s var(--ease) infinite; }

.mod-lead-card {
  animation: modLeadCard 6s var(--ease) infinite;
}

/* Support — ticket highlighted, AI responds, linked to live data */
.mod-sup-row { opacity: 0.5; }
.mod-sup-row--2 { animation: modSupHighlight 6s var(--ease) infinite; }

.mod-sup-ai {
  opacity: 0;
  transform: scale(0.6);
  animation: modSupAi 6s var(--ease) infinite;
  animation-delay: 1.4s;
}

.mod-sup-link {
  stroke-dashoffset: 20;
  animation: modSupLink 6s var(--ease) infinite;
  animation-delay: 2s;
}

.mod-sup-data { opacity: 0; animation: modFadeIn 6s var(--ease) infinite; animation-delay: 2.2s; }

/* Storefront — catalog + domain + checkout synced with inventory */
.mod-store-checkout {
  animation: modStoreCheckout 6s var(--ease) infinite;
}

.mod-store-sync {
  opacity: 0;
  animation: modStoreSync 6s var(--ease) infinite;
  animation-delay: 1.5s;
}

/* Operations — stock picked, package tracked to delivery */
.mod-ops-box--1 { animation: modOpsPick 6s var(--ease) infinite; }

.mod-ops-pick {
  opacity: 0;
  transform: scale(0.5);
  animation: modOpsPickShow 6s var(--ease) infinite;
  animation-delay: 0.8s;
}

.mod-ops-progress {
  transform-box: fill-box;
  transform-origin: left center;
  transform: scaleX(0);
  animation: modOpsProgress 6s var(--ease) infinite;
  animation-delay: 1.6s;
}

.mod-ops-truck {
  animation: modOpsTruck 6s var(--ease) infinite;
  animation-delay: 1.6s;
}

/* Engage — abandoned cart triggers email & SMS campaigns */
.mod-engage-crm { animation: modFadeIn 6s var(--ease) infinite; }

.mod-engage-email,
.mod-engage-sms {
  opacity: 0;
  transform: scale(0.85);
  animation: modEngageSend 6s var(--ease) infinite;
}

.mod-engage-sms { animation-delay: 0.5s; }

.mod-engage-path {
  animation: modEngagePath 6s var(--ease) infinite;
}

.mod-engage-path--r { animation-delay: 0.4s; }

/* Finance — revenue bars grow with trend line */
.mod-fin-bar {
  transform-box: fill-box;
  transform-origin: center bottom;
  transform: scaleY(0.2);
  animation: modFinBar 6s var(--ease) infinite;
}

.mod-fin-bar--1 { animation-delay: 0s; }
.mod-fin-bar--2 { animation-delay: 0.15s; }
.mod-fin-bar--3 { animation-delay: 0.3s; }
.mod-fin-bar--4 { animation-delay: 0.45s; }
.mod-fin-bar--5 { animation-delay: 0.6s; }

.mod-fin-trend {
  animation: modFinTrend 6s var(--ease) infinite;
  animation-delay: 0.8s;
}

.mod-fin-value { animation: modFinValue 6s var(--ease) infinite; }

/* Feedback — review routed to team inbox */
.mod-fb-review { animation: modFadeIn 6s var(--ease) infinite; }

.mod-fb-star {
  transform-box: fill-box;
  transform-origin: center;
  animation: modFbStar 6s var(--ease) infinite;
}
.mod-fb-star--1 { animation-delay: 0.2s; }
.mod-fb-star--2 { animation-delay: 0.35s; }
.mod-fb-star--3 { animation-delay: 0.5s; }
.mod-fb-star--4 { animation-delay: 0.65s; }
.mod-fb-star--5 { animation-delay: 0.8s; }

.mod-fb-arrow { animation: modFbArrow 6s var(--ease) infinite; animation-delay: 1.2s; }
.mod-fb-arrowhead { animation: modFbArrowHead 6s var(--ease) infinite; animation-delay: 1.6s; }

.mod-fb-team { animation: modFbTeam 6s var(--ease) infinite; animation-delay: 1.8s; }
.mod-fb-badge { animation: modFbBadge 6s var(--ease) infinite; animation-delay: 2.2s; }

/* Shared keyframes */
@keyframes modFadeUp {
  0%, 6% { opacity: 0; transform: translateY(6px); }
  16%, 82% { opacity: 1; transform: translateY(0); }
  92%, 100% { opacity: 0; transform: translateY(6px); }
}

@keyframes modFadeIn {
  0%, 8% { opacity: 0; }
  18%, 82% { opacity: 1; }
  92%, 100% { opacity: 0; }
}

@keyframes modLeadCard {
  0%, 10% { transform: translate(0, 0); }
  28% { transform: translate(66px, 0); }
  50% { transform: translate(132px, 0); }
  70%, 85% { transform: translate(132px, 0); }
  100% { transform: translate(0, 0); opacity: 0; }
}

@keyframes modSupHighlight {
  0%, 12% { opacity: 0.5; }
  22%, 75% { opacity: 1; }
  88%, 100% { opacity: 0.5; }
}

@keyframes modSupAi {
  0%, 18% { opacity: 0; transform: scale(0.6); }
  28%, 72% { opacity: 1; transform: scale(1); }
  85%, 100% { opacity: 0; transform: scale(0.6); }
}

@keyframes modSupLink {
  0%, 28% { stroke-dashoffset: 20; opacity: 0; }
  40%, 72% { stroke-dashoffset: 0; opacity: 1; }
  85%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes modStoreCheckout {
  0%, 15% { opacity: 0.7; filter: none; }
  25%, 45% { opacity: 1; filter: drop-shadow(0 0 4px rgba(107, 122, 245, 0.5)); }
  55%, 100% { opacity: 0.7; filter: none; }
}

@keyframes modStoreSync {
  0%, 20% { opacity: 0; }
  30%, 70% { opacity: 1; }
  80%, 100% { opacity: 0; }
}

@keyframes modOpsPick {
  0%, 12% { opacity: 0.5; }
  22%, 35% { opacity: 0; transform: translateY(-4px); }
  40%, 100% { opacity: 0; }
}

@keyframes modOpsPickShow {
  0%, 18% { opacity: 0; transform: scale(0.5); }
  28%, 55% { opacity: 1; transform: scale(1); }
  65%, 100% { opacity: 0; transform: scale(0.5); }
}

@keyframes modOpsProgress {
  0%, 22% { transform: scaleX(0); }
  60%, 80% { transform: scaleX(1); }
  90%, 100% { transform: scaleX(0); }
}

@keyframes modOpsTruck {
  0%, 22% { transform: translateX(0); opacity: 0; }
  30% { opacity: 1; }
  60%, 78% { transform: translateX(62px); opacity: 1; }
  88%, 100% { transform: translateX(0); opacity: 0; }
}

@keyframes modEngageSend {
  0%, 20% { opacity: 0; transform: scale(0.85); }
  35%, 75% { opacity: 1; transform: scale(1); }
  88%, 100% { opacity: 0; transform: scale(0.85); }
}

@keyframes modEngagePath {
  0%, 18% { stroke-dashoffset: 40; opacity: 0; }
  32%, 70% { stroke-dashoffset: 0; opacity: 1; }
  85%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes modFinBar {
  0%, 10% { transform: scaleY(0.15); opacity: 0.4; }
  35%, 75% { transform: scaleY(1); opacity: 1; }
  90%, 100% { transform: scaleY(0.15); opacity: 0.4; }
}

@keyframes modFinTrend {
  0%, 15% { stroke-dashoffset: 160; opacity: 0.3; }
  45%, 75% { stroke-dashoffset: 0; opacity: 1; }
  90%, 100% { stroke-dashoffset: 0; opacity: 0.3; }
}

@keyframes modFinValue {
  0%, 20% { opacity: 0.3; }
  40%, 75% { opacity: 1; }
  90%, 100% { opacity: 0.3; }
}

@keyframes modFbStar {
  0%, 10% { fill: #e2e8f0; transform: scale(1); }
  20%, 80% { fill: #6B7AF5; transform: scale(1.05); }
  90%, 100% { fill: #e2e8f0; transform: scale(1); }
}

@keyframes modFbArrow {
  0%, 15% { stroke-dashoffset: 40; opacity: 0; }
  30%, 75% { stroke-dashoffset: 0; opacity: 1; }
  88%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes modFbArrowHead {
  0%, 28% { opacity: 0; }
  38%, 75% { opacity: 1; }
  88%, 100% { opacity: 0; }
}

@keyframes modFbTeam {
  0%, 25% { stroke: #e2e8f0; }
  38%, 75% { stroke: #4050D0; }
  88%, 100% { stroke: #e2e8f0; }
}

@keyframes modFbBadge {
  0%, 32% { opacity: 0; transform: scale(0.5); }
  42%, 75% { opacity: 1; transform: scale(1); }
  88%, 100% { opacity: 0; transform: scale(0.5); }
}

@media (prefers-reduced-motion: reduce) {
  .module-diagram *,
  .module-diagram *::before,
  .module-diagram *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.module-tile .heading-5 {
  margin: 0 0 0.4rem;
  font-size: 1.0625rem;
}

.module-tile p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-60);
}

/* ---------------------------------------------------------------- Highlights
   Every capability row shares one editorial rhythm: identical vertical padding,
   a hairline rule between rows, the same two-column ratio and a vertically
   centred copy column. The former per-section overrides are gone so the rows
   keep a consistent height. */
.highlight-block {
  --hl-demo-h: clamp(22rem, 30vw, 26rem);
  --hl-demo-card-w: min(34rem, 100%);
  padding-block: clamp(2.5rem, 4.5vw, 4rem);
}

.highlight-block + .highlight-block {
  border-top: 1px solid var(--linen);
}

.highlights-stack {
  display: flex;
  flex-direction: column;
  padding-top: var(--space-3xl);
  border-top: 1px solid var(--linen);
}

.highlight-layout {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
  width: var(--container);
  margin-inline: auto;
  padding-inline: 0;
}

.highlight-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 34rem;
}

.highlight-copy .heading-4,
.highlight-copy .body-lg {
  width: 100%;
}

.highlight-copy .heading-4 {
  margin-bottom: var(--space-md);
  line-height: 1.25;
}

.highlight-copy .body-lg {
  margin: 0;
  line-height: 1.65;
  text-wrap: pretty;
}

@media (min-width: 1024px) {
  .highlight-layout {
    grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
    gap: clamp(2.5rem, 4vw, 4rem);
  }

  .highlight-layout:not(:has(.highlight-demo)) {
    grid-template-columns: 1fr;
  }

  /* Mirror the same ratio for reversed rows — the demo keeps the wider column
     so copy and visuals hold identical proportions on every row. */
  .highlight-block--reverse .highlight-layout {
    grid-template-columns: minmax(0, 57fr) minmax(0, 43fr);
  }

  .highlight-block--reverse .highlight-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .highlight-block--reverse .highlight-demo {
    grid-column: 1;
    grid-row: 1;
  }

  /* One shared stage height keeps every capability row the same height even
     when the demo artwork underneath is naturally shorter than its neighbours.
     The stage centres its content so a short card (e.g. the WhatsApp mock) sits
     level with the copy instead of hugging the top of the stage. */
  .highlight-demo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: var(--hl-demo-h);
  }

  .highlight-demo > * {
    flex: 0 0 auto;
    width: 100%;
  }

  /* Every capability demo is the same centred card, so the creative slot keeps
     one predictable width and edge alignment from row to row. */
  .highlight-demo .wa-mock,
  .highlight-demo .ai-conversation-cluster,
  .highlight-demo .integration-ecosystem,
  .highlight-demo .route-map-demo {
    max-width: var(--hl-demo-card-w);
    margin-inline: auto;
  }

  .highlight-demo .integration-ecosystem {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: var(--hl-demo-h);
  }

  /* The route-map bundle styles its own frame (`.route-map-demo .route-map-frame`)
     with a fixed 520px cap; override it so the fulfilment row matches the other
     capability rows. */
  .highlight-demo .route-map-demo .route-map-frame {
    max-height: var(--hl-demo-h);
  }
}











.highlight-copy .heading-4 {
  margin-bottom: var(--space-md);
  font-size: clamp(1.25rem, 0.35rem + 1.4vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.highlight-copy .body-lg {
  font-size: 1rem;
  line-height: 1.6;
}

.highlight-points {
  margin: 1.15rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted-60);
}

.highlight-points li {
  margin-bottom: 0.35rem;
}

.highlight-points li::marker {
  color: var(--accent);
}

/* Channel row under a highlight description (Conversational AI). The pills reuse
   the store-compatibility bar's metrics verbatim; the lead deliberately uses the
   site's mono caption idiom so it reads as a label, not as a sixth pill. */
.highlight-channels-lead {
  margin: 1.1rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-60);
}

/* Width is constrained so the row always breaks after the three social
   channels (WhatsApp / Instagram / Facebook) and the two SellerGrid-native
   channels (Live chat / Email) sit together on the second line. */
.highlight-channels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.5rem;
  max-width: 24rem;
  margin-top: 0.6rem;
  padding: 0;
  list-style: none;
}

.highlight-channel {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.highlight-channel-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}

.highlight-channel-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 600px) {
  .highlight-channels { gap: 0.45rem; }
  .highlight-channel { font-size: 0.75rem; padding: 0.3rem 0.65rem; }
  .highlight-channel-logo { width: 1.0625rem; height: 1.0625rem; }
}

/* Category label — same rule-led mono idiom as the hero and section eyebrows. */
.highlight-tag {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.85rem;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: none;
  border: none;
  border-radius: 0;
}

.highlight-tag::before {
  content: '';
  flex: none;
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.highlight-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

/* Secondary, text-style call to action with a trailing arrow (used by the
   "View all integrations" link so the primary button weight stays on hero CTAs). */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.link-arrow:hover {
  color: var(--accent-hover);
  gap: 0.5rem;
}

.link-arrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.link-arrow-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.link-arrow:hover .link-arrow-icon {
  transform: translateX(2px);
}

.highlight-demo {
  width: 100%;
  min-width: 0;
}

.highlight-demo .screenshot-demo {
  width: 100%;
  border-radius: 0.875rem;
  box-shadow: none;
  border-color: rgba(15, 23, 42, 0.08);
}

.highlight-demo .screenshot-demo-chrome {
  padding: 0.75rem 1.1rem;
  font-size: 0.8125rem;
}

.highlight-demo .screenshot-sequence {
  aspect-ratio: 1024 / 493;
  max-height: none;
  min-height: clamp(200px, 28vw, 420px);
  background: var(--white);
}

.highlight-demo .seq-frame {
  object-fit: contain;
  object-position: top center;
}

.highlight-demo .screenshot-caption {
  padding: 0.9rem 1.15rem;
  font-size: 0.875rem;
  min-height: 3rem;
}

.highlight-demo .seq-dots {
  padding: 0 1.15rem 1rem;
}

.highlight-demo--feature {
  display: flex;
  justify-content: center;
}

.highlight-block--reverse .highlight-demo--feature {
  justify-content: center;
}

#single-pickup-demo-root:empty {
  display: block;
  min-height: 0;
}

.highlight-demo .support-dashboard {
  max-width: none;
}

.highlight-demo .support-dashboard > p {
  display: none;
}

.highlight-demo .support-dashboard figure {
  margin: 0;
}

.highlight-demo .support-dashboard-frame {
  min-height: clamp(400px, 44vw, 520px);
  max-height: none;
}

.highlight-demo .support-chat-demo {
  max-width: none;
}

/* AI Support — compact conversation demo */
#highlight.highlight-block {
  contain: layout;
}

#highlight .highlight-demo {
  min-height: 0;
  height: auto;
  max-height: none;
  overflow: visible;
  contain: layout;
}

#ai-support-dashboard-root {
  width: 100%;
  min-height: 0;
  height: auto;
  max-height: none;
  overflow: visible;
  contain: layout;
}

#ai-support-dashboard-root .support-dashboard {
  height: auto;
}

#ai-support-dashboard-root .support-dashboard-frame {
  height: auto;
  min-height: 0;
}

#ai-support-dashboard-root .support-chat-demo,
#ai-support-dashboard-root .ai-conversation-story {
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
}

#ai-support-dashboard-root .support-chat-demo figure,
#ai-support-dashboard-root .ai-conversation-story {
  border: none;
  box-shadow: none;
  background: transparent;
}

#ai-support-dashboard-root .ai-conversation-stage {
  height: var(--ai-chat-demo-height);
  min-height: var(--ai-chat-demo-height);
  max-height: var(--ai-chat-demo-height);
  overflow: hidden;
  box-sizing: border-box;
}

#ai-support-dashboard-root .ai-conversation-cluster {
  max-height: 100%;
  overflow: hidden;
}

@media (max-width: 767px) {
  #highlight .highlight-demo,
  #ai-support-dashboard-root {
    min-height: 0;
    height: auto;
    max-height: none;
  }

  #ai-support-dashboard-root .ai-conversation-stage {
    height: clamp(320px, 78vw, 380px);
    min-height: clamp(320px, 78vw, 380px);
    max-height: clamp(320px, 78vw, 380px);
  }

  .highlight-demo .support-dashboard-frame {
    min-height: 0;
  }
}

#ai-support-dashboard-root .support-chat-demo-frame,
#ai-support-dashboard-root .support-chat-demo-messages {
  min-height: 0;
  max-height: none;
  border: none;
  background: transparent;
}

.support-chat-demo-frame {
  aspect-ratio: 10 / 7;
  max-height: 720px;
  min-height: 420px;
  overflow: hidden;
}

.support-chat-demo-messages {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* The cart-recovery screenshot demo runs full-width; the fulfilment route-map
   keeps the shared centred card width (see the Highlights block). */
.highlight-demo .cart-recovery-demo {
  max-width: none;
}

.cart-recovery-demo-frame {
  aspect-ratio: 10 / 7;
  max-height: 720px;
  min-height: 420px;
  overflow: hidden;
}

.cart-recovery-demo-content {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.cart-recovery-demo .screenshot-caption {
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  color: var(--muted-60, #64748b);
}

/* AUTOMATION WORKFLOW — Cart Recovery */
.automation-workflow {
  position: relative;
  width: 100%;
  max-width: 22rem;
  margin-inline: auto;
  padding: 1.15rem 1.05rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #f8fafc;
  overflow: hidden;
}

.automation-workflow-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 20%, transparent 72%);
  pointer-events: none;
}

.automation-workflow-header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.automation-workflow-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-60);
  font-weight: 600;
  font-family: var(--font-mono);
}

.automation-workflow-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.workflow-flow {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.workflow-node {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.95rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: none;
  opacity: 0.5;
  transform: translateY(4px);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}





.workflow-node.is-active {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: none;
}

.workflow-node.is-completed {
  opacity: 0.82;
  transform: translateY(0);
  border-color: #e2e8f0;
  box-shadow: none;
}

.workflow-node--success.is-active,
.workflow-node--success.is-completed {
  border-color: rgba(22, 163, 74, 0.4);
  box-shadow: none;
  background: linear-gradient(180deg, #fff 0%, #f7fef9 100%);
}

.workflow-node.is-pulse {
  animation: workflow-success-pulse 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.workflow-node-icon {
  flex-shrink: 0;
  width: 2.125rem;
  height: 2.125rem;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  background: #f1f5f9;
  border-radius: 10px;
}



.workflow-node--success .workflow-node-icon {
  background: #f0fdf4;
}

.workflow-node-body {
  min-width: 0;
  flex: 1;
}

.workflow-node-title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.workflow-node-pct {
  margin: 0.15rem 0 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #4050D0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.workflow-node--success .workflow-node-pct {
  color: #16a34a;
}

.workflow-success-badge {
  display: inline-flex;
  align-items: center;
  margin: 0.2rem 0 0;
  font-size: 0.625rem;
  font-weight: 600;
  color: #16a34a;
  letter-spacing: 0.01em;
}

.workflow-success-revenue {
  margin: 0.15rem 0 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #15803d;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.workflow-success-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin: 0.25rem 0 0;
  font-size: 0.625rem;
  color: var(--muted-60);
  line-height: 1.35;
}

.workflow-node-meta {
  margin: 0.1rem 0 0;
  font-size: 0.6875rem;
  color: var(--muted-60);
  line-height: 1.3;
}

.workflow-connector {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.25rem 0 0.35rem;
  min-height: 3.25rem;
}

.workflow-connector-line {
  position: relative;
  width: 2px;
  height: 1.35rem;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
}

.workflow-connector-line::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, #6B7AF5, #6366f1);
  border-radius: 2px;
  transition: height 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.workflow-connector.is-lit .workflow-connector-line::after {
  height: 100%;
}

.workflow-connector-arrow {
  margin-top: 0.1rem;
  font-size: 0.5rem;
  color: #cbd5e1;
  line-height: 1;
  transition: color 0.35s ease;
}

.workflow-connector.is-lit .workflow-connector-arrow {
  color: #6366f1;
}

.workflow-action-label {
  position: absolute;
  left: calc(50% + 14px);
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.625rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.35s ease, color 0.35s ease;
}

.workflow-connector.is-lit .workflow-action-label {
  opacity: 1;
  color: #475569;
}

.workflow-status-chip {
  position: absolute;
  right: calc(50% + 14px);
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.5625rem;
  font-weight: 600;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.35s ease 0.15s;
}

.workflow-connector.is-lit .workflow-status-chip {
  opacity: 1;
}

@keyframes workflow-success-pulse {
  0%, 100% {
    box-shadow: none;
  }
  50% {
    box-shadow: none;
  }
}

@media (max-width: 767px) {
  .automation-workflow {
    max-width: none;
    padding: 1.15rem 1rem 1.25rem;
  }

  .workflow-action-label,
  .workflow-status-chip {
    display: none;
  }

  .workflow-connector {
    min-height: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workflow-node,
  .workflow-connector-line::after,
  .workflow-action-label,
  .workflow-status-chip {
    transition: none;
  }

  .workflow-node.is-pulse {
    animation: none;
  }

  .automation-workflow.is-playing .workflow-node {
    opacity: 1;
    transform: none;
  }
}


/* MARKETING AUTOMATION — WhatsApp reminder mock
   Replaces the old multi-stage funnel card. Mobile-first: one message, one
   result, no lists. Deliberately narrow on desktop so it reads as a message
   card rather than a stretched panel. */
.wa-mock {
  position: relative;
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: var(--white);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.wa-mock__head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.9rem;
  background: var(--white);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.wa-mock__logo {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  flex: none;
}

.wa-mock__channel {
  flex: 1;
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wa-mock__tag {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-60);
  background: rgba(15, 23, 42, 0.05);
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
}

.wa-mock__body {
  padding: 1rem;
}

.wa-mock__bubble {
  margin: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 14px 14px 14px 4px;
  background: rgba(37, 211, 102, 0.13);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink);
}

.wa-mock__bubble strong {
  font-weight: 700;
}

.wa-mock__body .wa-mock__bubble:not(:first-child) {
  margin-top: 0.8rem;
}

.wa-mock__meta {
  margin: 0.5rem 0 0;
  font-size: 0.6875rem;
  color: var(--muted-60);
}

.wa-mock__result {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.15rem 0.5rem;
  padding: 0.8rem 1rem 0.9rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  background: #f8fafc;
}

.wa-mock__value {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #15803d;
  line-height: 1.15;
}

.wa-mock__label {
  font-size: 0.75rem;
  color: var(--muted-60);
}

@media (max-width: 767px) {
  .wa-mock {
    max-width: none;
  }

  .wa-mock__body {
    padding: 0.85rem;
  }

}


/* Subtle dividers between same-background pillar sections */
#fulfill-smarter.section.helpdesk-section {
  border-top: 1px solid var(--linen);
}

/* INTEGRATION ECOSYSTEM */
.integration-ecosystem {
  position: relative;
  width: 100%;
  padding: 0.5rem 0 1rem;
  overflow: hidden;
  animation: integration-ecosystem-float 9s ease-in-out infinite;
}

.integration-ecosystem-glow {
  position: absolute;
  inset: 8% 4% 12% 8%;
  background:
    radial-gradient(ellipse 70% 65% at 55% 45%, rgba(99, 102, 241, 0.11) 0%, rgba(59, 130, 246, 0.05) 45%, transparent 72%),
    radial-gradient(ellipse 50% 55% at 75% 60%, rgba(124, 107, 240, 0.07) 0%, transparent 68%);
  filter: blur(44px);
  pointer-events: none;
  z-index: 0;
}

.integration-rows {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.integration-row {
  width: 100%;
}

.integration-row--1 {
  opacity: 1;
  transform: scale(1);
}

.integration-row--2 {
  opacity: 0.9;
  transform: scale(0.98);
}

.integration-row--3 {
  opacity: 0.82;
  transform: scale(0.96);
}

/* The integrations row uses the shared highlight grid (see the Highlights
   block near the top of this sheet) so its columns match the other rows. */

.integration-track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.integration-track-inner {
  display: flex;
  width: max-content;
  will-change: transform;
}

.integration-track--left .integration-track-inner {
  animation: integration-marquee-left var(--marquee-duration, 95s) linear infinite;
}

.integration-track--right .integration-track-inner {
  animation: integration-marquee-left var(--marquee-duration, 110s) linear infinite reverse;
}

.integration-ecosystem:hover .integration-track-inner {
  animation-play-state: paused;
}

.integration-track-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-right: 0.75rem;
}

.integration-card {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  padding: 0.55rem 0.85rem;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  box-shadow: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.integration-card:hover {
  box-shadow: none;
  transform: translateY(-1px);
}

.integration-card-logo {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
}

.integration-card-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

@keyframes integration-marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes integration-ecosystem-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
  .integration-ecosystem {
    animation: none;
  }

  .integration-track--left .integration-track-inner,
  .integration-track--right .integration-track-inner {
    animation: none !important;
  }
}

@media (max-width: 767px) {
  .integration-rows {
    gap: 0.5rem;
  }

  .integration-track-group {
    gap: 0.625rem;
  }

  .integration-card {
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
  }

  .integration-card-name {
    font-size: 0.75rem;
  }
}

.cart-recovery-demo .seq-dots {
  padding: 0 1rem 0.75rem;
}

.feature-showcase {
  width: 100%;
  max-width: 1024px;
}

.support-dashboard-frame {
  aspect-ratio: 10 / 7;
  max-height: 720px;
}

.integrations-hub-frame {
  aspect-ratio: auto;
  max-height: none;
  min-height: 0;
  overflow: hidden;
}

.highlight-demo .integrations-hub-frame {
  aspect-ratio: 10 / 7;
  max-height: 720px;
  min-height: 420px;
}

.integrations-hub-content {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.integrations-hub-frame,
.integrations-hub .integrations-hub-frame * {
  scrollbar-width: none;
}

.integrations-hub-frame::-webkit-scrollbar,
.integrations-hub .integrations-hub-frame *::-webkit-scrollbar {
  display: none;
}

.single-pickup-frame {
  aspect-ratio: 10 / 7;
  max-height: 720px;
  min-height: 480px;
}

.highlight-demo .single-pickup-frame {
  aspect-ratio: 10 / 7;
  max-height: 720px;
  min-height: 420px;
}

.highlight-demo .route-map-frame {
  aspect-ratio: 16 / 11;
  max-height: 520px;
  min-height: 360px;
}

.highlight-demo .single-pickup-demo > p {
  display: none;
}

.single-pickup-content {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.single-pickup-demo .pickup-table-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.5) transparent;
}

.single-pickup-demo .pickup-table-scroll::-webkit-scrollbar {
  height: 4px;
}

.single-pickup-demo .pickup-table-scroll::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.45);
  border-radius: 999px;
}

@media (max-width: 767px) {
  .support-dashboard-frame {
    aspect-ratio: auto;
    min-height: 520px;
    height: auto;
    max-height: none;
  }

  .integrations-hub-frame {
    aspect-ratio: auto;
    min-height: 0;
    height: auto;
    max-height: none;
  }

  .single-pickup-frame {
    aspect-ratio: auto;
    min-height: 0;
    height: auto;
    max-height: none;
  }

  .highlight-demo .integrations-hub-frame {
    aspect-ratio: auto;
    min-height: 460px;
    height: auto;
    max-height: none;
  }

  .highlight-demo .single-pickup-frame,
  .highlight-demo .route-map-frame {
    aspect-ratio: auto;
    min-height: 0;
    height: auto;
    max-height: none;
  }
}

/* The fulfilment row also uses the shared highlight grid (see the Highlights
   block near the top of this sheet). */

#ai-support-dashboard-root .support-dashboard figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.feature-figure {
  margin: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: none;
  background: var(--white);
  line-height: 0;
}

.feature-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1024px;
  image-rendering: auto;
}

.feature-caption {
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted-60);
  line-height: 1.5;
}

/* ========== TESTIMONIAL SECTION ========== */
.testimonial-section {
  position: relative;
  padding: var(--space-2xl) 0 var(--space-3xl);
  overflow: hidden;
  background:
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 45%, #f8fafc 100%);
}

.testimonial-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.testimonial-section__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.testimonial-section__orb--a {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -60px;
  background: rgba(107, 122, 245, 0.18);
}

.testimonial-section__orb--b {
  width: 280px;
  height: 280px;
  bottom: -100px;
  right: -40px;
  background: rgba(124, 107, 240, 0.14);
}

.testimonial-section__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-lg);
  min-height: auto;
  max-width: 880px;
  margin-inline: auto;
}

.testimonial-section__header {
  text-align: center;
}

.testimonial-section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

.testimonial-section__subtitle {
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  line-height: 1.6;
  color: var(--muted-60);
  max-width: 540px;
  margin-inline: auto;
}

.testimonial-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}

.testimonial-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent-hover);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(64, 80, 208, 0.12);
  backdrop-filter: blur(8px);
}

.testimonial-trust-badge svg { color: #f59e0b; flex-shrink: 0; }

.testimonial-carousel__main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.testimonial-carousel__viewport {
  overflow: hidden;
  min-width: 0;
}

.testimonial-carousel__track {
  position: relative;
  min-height: 200px;
}

.testimonial-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  inset: 0;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  transform: translateX(12px);
}

.testimonial-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
  transform: translateX(0);
}

.testimonial-slide.is-exiting {
  opacity: 0;
  transform: translateX(-12px);
}

.testimonial-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: #f59e0b;
}

.testimonial-slide__quote {
  margin: 0;
  max-width: 640px;
}

.testimonial-slide__quote p {
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 0.25rem;
}

.testimonial-author__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.testimonial-author__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  text-align: left;
}

.testimonial-author__name {
  font-style: normal;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.testimonial-author__company {
  font-size: 0.8125rem;
  color: var(--muted-60);
}

.testimonial-author__link {
  font-size: 0.8125rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.testimonial-author__link:hover { color: var(--accent); }

.testimonial-carousel__nav {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-soft);
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    transform 0.2s var(--ease);
  backdrop-filter: blur(6px);
}

.testimonial-carousel__nav:hover {
  background: var(--white);
  border-color: rgba(64, 80, 208, 0.2);
  color: var(--accent-hover);
  transform: scale(1.04);
}

.testimonial-carousel__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.testimonial-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.testimonial-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.15);
  cursor: pointer;
  transition: width 0.25s var(--ease), background 0.25s var(--ease);
}

.testimonial-carousel__dot.is-active {
  width: 24px;
  background: var(--accent);
}

.testimonial-carousel__dot:hover:not(.is-active) {
  background: rgba(15, 23, 42, 0.28);
}

.testimonial-section__cta {
  margin-top: 0.25rem;
}

@media (max-width: 640px) {
  .testimonial-section__inner {
    min-height: auto;
    max-width: 100%;
  }

  .testimonial-carousel__main {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .testimonial-carousel__nav {
    display: none;
  }

  .testimonial-carousel__viewport { order: -1; }

  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-author__meta {
    align-items: center;
  }

  .testimonial-section__cta {
    flex-direction: column;
    width: 100%;
  }

  .testimonial-section__cta .btn {
    width: 100%;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .testimonial-carousel__nav {
    width: 36px;
    height: 36px;
  }
}

/* Legacy testimonial block */
.testimonial-hero footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}
.testimonial-hero footer strong {
  display: block;
  font-size: 0.875rem;
}
.testimonial-hero footer span {
  font-size: 0.8125rem;
  color: var(--muted-60);
}

.placeholder-note {
  display: block;
  font-size: 0.6875rem;
  font-style: italic;
  color: var(--muted-50);
  margin-top: 0.25rem;
}

.avatar-photo {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--chalk) center/cover;
  background-image: var(--img);
  flex-shrink: 0;
}
.avatar-photo.lg { width: 72px; height: 72px; }

.customer-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.testimonial-hero footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.testimonial-hero footer a:hover { color: var(--ink); }

/* ========== FLOW SECTION ========== */
.flow-section {
  padding: 96px 0;
  background: var(--white);
}

.flow-section > .container > .eyebrow,
.trio-section > .container > .eyebrow {
  display: block;
  width: fit-content;
  text-align: center;
  margin: 0 auto 0.75rem;
}

.flow-heading {
  font-size: clamp(2rem, 4vw, 3.375rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.05rem;
  text-align: center;
  margin-bottom: 56px;
}

.flow-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
  max-width: 960px;
  margin-inline: auto;
}

.flow-step {
  flex: 1 1 0;
  min-width: 0;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.flow-mockup {
  width: 100%;
  height: 120px;
  background: var(--white);
  border: 1px solid var(--linen);
  border-top: 2px solid #6B7AF5;
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: none;
}

.flow-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(107, 122, 245, 0.12), rgba(124, 107, 240, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  line-height: 1;
}

.flow-step-title {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.flow-step-desc {
  color: var(--muted-60);
  font-size: 14px;
  line-height: 1.6;
}

.flow-arrow {
  flex-shrink: 0;
  width: 60px;
  color: var(--accent-bright);
  opacity: 0.5;
  margin: 48px 8px 0;
  align-self: flex-start;
}

.flow-arrow svg {
  display: block;
  width: 100%;
  height: auto;
}

.mockup-storefront {
  width: 100%;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-storefront-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--clay);
  opacity: 0.55;
}

.mockup-storefront-hero {
  height: 36px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(107, 122, 245, 0.25), rgba(124, 107, 240, 0.18));
}

.mockup-storefront-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.mockup-storefront-grid span {
  height: 22px;
  border-radius: 4px;
  background: var(--chalk);
  border: 1px solid var(--linen);
}

.mockup-sku-row {
  width: 100%;
  max-width: 210px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}

.mockup-sku-row + .mockup-sku-row {
  border-top: 1px solid var(--linen);
}

.mockup-sku-thumb {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--chalk);
  border: 1px solid var(--linen);
  flex-shrink: 0;
}

.mockup-sku-text {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--clay);
  opacity: 0.6;
}

.mockup-sku-price {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  flex-shrink: 0;
}

.flow-mockup:has(.mockup-sku-row) {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  padding: 12px 16px;
}

.mockup-checkout {
  width: 100%;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.mockup-checkout-line {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: var(--clay);
  opacity: 0.55;
}

.mockup-checkout-line.short {
  width: 65%;
}

.mockup-pay-btn {
  margin-top: 4px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: var(--btn-r);
  background: var(--ink);
  color: var(--white);
  box-shadow: none;
  pointer-events: none;
  align-self: center;
}

@media (max-width: 899px) {
  .flow-track {
    flex-direction: column;
    flex-wrap: wrap;
    max-width: none;
  }

  .flow-step {
    max-width: 320px;
    width: 100%;
  }

  .flow-arrow {
    transform: rotate(90deg);
    width: 24px;
    height: 60px;
    margin: 8px 0;
    align-self: center;
  }
}

/* ========== TRIO SECTION ========== */
.trio-section {
  padding: 96px 0;
  background: var(--off-white);
}

.trio-section.bg-white {
  background: var(--white);
}

.trio-heading {
  font-size: clamp(2rem, 4vw, 3.375rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.05rem;
  text-align: center;
  margin-bottom: 56px;
}

.trio-track {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.trio-card {
  flex: 1;
  max-width: 300px;
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  box-shadow: none;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.2s var(--ease);
}

.trio-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.trio-track > .trio-card:nth-child(1) { transition-delay: 0.1s; }
.trio-track > .trio-card:nth-child(2) { transition-delay: 0.2s; }
.trio-track > .trio-card:nth-child(3) { transition-delay: 0.3s; }

.trio-card.is-visible:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.trio-mockup {
  width: 100%;
  height: 120px;
  background: var(--white);
  border: 1px solid var(--linen);
  border-top: 2px solid #6B7AF5;
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: none;
  transition: border-top-color 0.25s ease;
}

.trio-card.is-visible:hover .trio-mockup {
  border-top-color: #818cf8;
}

.trio-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(107, 122, 245, 0.12), rgba(124, 107, 240, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.trio-card.is-visible:hover .trio-icon {
  transform: scale(1.08);
}

.trio-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.trio-card-desc {
  color: var(--muted-60);
  font-size: 14px;
  line-height: 1.6;
}

.mockup-lead-form {
  width: 100%;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

.mockup-lead-input {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: var(--chalk);
  border: 1px solid var(--linen);
}

.mockup-lead-tag {
  align-self: flex-start;
  margin-top: 4px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(107, 122, 245, 0.12);
  border: 1px solid rgba(64, 80, 208, 0.18);
  border-radius: 999px;
}

.mockup-pipeline {
  width: 100%;
  max-width: 220px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-pipeline-stage {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: var(--chalk);
  border: 1px solid var(--linen);
}

.mockup-pipeline-stage.active {
  background: var(--accent-bright);
  border-color: var(--accent);
  box-shadow: none;
}

.mockup-pipeline-stage.won {
  background: #34d399;
  border-color: #10b981;
}

.mockup-crm-profile {
  width: 100%;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.mockup-crm-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(107, 122, 245, 0.35), rgba(124, 107, 240, 0.28));
  border: 2px solid var(--linen);
}

.mockup-crm-row {
  display: block;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--clay);
  opacity: 0.55;
}

.mockup-crm-row.short {
  width: 70%;
}

.trio-mockup:has(.mockup-order-row) {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
}

.mockup-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  max-width: 210px;
  margin: 0 auto;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--chalk);
  border: 1px solid var(--linen);
}

.mockup-order-id {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  font-family: var(--font-mono);
}

.mockup-order-status {
  font-size: 9px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mockup-order-status.processing {
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fcd34d;
}

.mockup-order-status.shipped {
  color: #4050D0;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
}

.trio-mockup:has(.mockup-stock-bar) {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  padding: 20px 24px;
}

.mockup-stock-bar {
  width: 100%;
  max-width: 200px;
  height: 10px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--chalk);
  border: 1px solid var(--linen);
  overflow: hidden;
}

.mockup-stock-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent-purple));
}

.mockup-stock-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
}

.mockup-route {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 220px;
  gap: 0;
}

.mockup-route-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent-bright);
  flex-shrink: 0;
  box-shadow: none;
}

.mockup-route-dot:last-child {
  border-color: var(--accent-purple);
  box-shadow: none;
}

.mockup-route-line {
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--accent-bright) 0,
    var(--accent-bright) 4px,
    transparent 4px,
    transparent 8px
  );
  opacity: 0.55;
}

.mockup-campaign {
  width: 100%;
  max-width: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.mockup-campaign-badge {
  font-size: 9px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  color: #4050D0;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
}

.mockup-campaign-line {
  display: block;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--clay);
  opacity: 0.55;
}

.mockup-campaign-line.short {
  width: 68%;
}

.mockup-automation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  max-width: 220px;
}

.mockup-automation-node {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent-bright);
  flex-shrink: 0;
}

.mockup-automation-node.done {
  background: #34d399;
  border-color: #10b981;
}

.mockup-automation-arrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-bright);
  opacity: 0.6;
  line-height: 1;
}

.mockup-analytics-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  width: 100%;
  max-width: 180px;
  height: 72px;
}

.mockup-analytics-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent-purple));
  opacity: 0.75;
}

@media (max-width: 899px) {
  .trio-track {
    flex-direction: column;
    align-items: center;
  }

  .trio-card {
    max-width: none;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trio-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========== HELPDESK / PILLARS SHOWCASE ========== */
.helpdesk-header {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
  text-align: center;
}

.helpdesk-header .cta-row {
  justify-content: center;
}

.pillars--stacked {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
  border-top: 1px solid var(--linen);
  padding-top: var(--space-2xl);
}

#store-flow .pillars--stacked {
  border-top: 0;
  padding-top: 0;
  gap: 0;
}

#store-flow .pillar-block + .pillar-block {
  padding-top: 0;
  border-top: 0;
}

/* Store pillar — layout only; uses base pillar styles */
#store-flow .pillar-showcase-heading {
  text-align: center;
  white-space: normal;
}

@media (min-width: 1024px) {
  #store-flow .pillar-block--html .pillar-showcase-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 340px);
    gap: var(--space-2xl);
    align-items: center;
  }
}

/* Store pillar — full-bleed preview (no gray gap) */
#store-flow .pillar-block--html .pillar-showcase-media {
  background: #fff;
  min-height: clamp(360px, 40vw, 440px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.875rem;
  box-shadow: none;
}

#store-flow .pillar-block--html .pillar-showcase-figure {
  min-height: clamp(340px, 38vw, 420px);
  padding: 0;
  height: 100%;
}

#store-flow .pillar-block--html .pillar-media-pane {
  inset: 0;
  border-radius: 0.875rem;
  box-shadow: none;
  background: #f8fafc;
  align-items: center;
  justify-content: center;
}

#store-flow .pillar-showcase-scaler {
  border-radius: 0;
  background: transparent;
}

#store-flow .pillar-block--html .pillar-showcase-list {
  align-self: center;
}

/* CRM pillar — full-bleed 920×640 preview */
#grow-convert .pillar-block--html .pillar-showcase-media {
  background: #fff;
  min-height: clamp(360px, 40vw, 440px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.875rem;
  box-shadow: none;
}

#grow-convert .pillar-block--html .pillar-showcase-figure {
  min-height: clamp(340px, 38vw, 420px);
  padding: 0;
  height: 100%;
}

#grow-convert .pillar-block--html .pillar-media-pane {
  inset: 0;
  border-radius: 0.875rem;
  box-shadow: none;
  background: #f8fafc;
  align-items: center;
  justify-content: center;
}

#grow-convert .pillar-showcase-scaler {
  border-radius: 0;
  background: transparent;
}

#grow-convert .pillar-block--html .pillar-showcase-list {
  align-self: center;
}

/* Operations pillar — full-bleed 920×640 preview */
#fulfill-smarter .pillar-block--html .pillar-showcase-media {
  background: #fff;
  min-height: clamp(360px, 40vw, 440px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.875rem;
  box-shadow: none;
}

#fulfill-smarter .pillar-block--html .pillar-showcase-figure {
  min-height: clamp(340px, 38vw, 420px);
  padding: 0;
  height: 100%;
}

#fulfill-smarter .pillar-block--html .pillar-media-pane {
  inset: 0;
  border-radius: 0.875rem;
  box-shadow: none;
  background: #f8fafc;
  align-items: center;
  justify-content: center;
}

#fulfill-smarter .pillar-showcase-scaler {
  border-radius: 0;
  background: transparent;
}

#fulfill-smarter .pillar-block--html .pillar-showcase-list {
  align-self: center;
}

/* Feature pillar sections — shared layout */
#grow-convert .pillars--stacked,
#fulfill-smarter .pillars--stacked,
#operate-clarity .pillars--stacked {
  border-top: 0;
  padding-top: 0;
  gap: 0;
}

#grow-convert .pillar-showcase-heading,
#fulfill-smarter .pillar-showcase-heading,
#operate-clarity .pillar-showcase-heading {
  text-align: center;
  white-space: normal;
}

@media (min-width: 1024px) {
  #grow-convert .pillar-block--html .pillar-showcase-grid,
  #fulfill-smarter .pillar-block--html .pillar-showcase-grid,
  #operate-clarity .pillar-block--html .pillar-showcase-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 340px);
    gap: var(--space-2xl);
    align-items: center;
  }
}

.pillar-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pillar-block + .pillar-block {
  padding-top: var(--space-3xl);
  border-top: 1px solid var(--linen);
}

.pillar-showcase-heading {
  margin: 0 0 var(--space-xl);
  max-width: none;
  width: 100%;
  font-size: clamp(1.625rem, 3.4vw, 2.875rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.pillar-showcase-header .pillar-showcase-heading {
  margin-bottom: 0;
}

.pillar-showcase-header {
  margin-bottom: var(--space-xl);
}

.pillar-showcase-subtitle {
  margin-top: var(--space-sm);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-60);
}

.pillar-title-muted {
  color: var(--muted-60);
  font-weight: 500;
}

.pillar-title-em {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.pillar-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.pillar-showcase-media {
  position: relative;
  background:
    radial-gradient(ellipse 80% 70% at 20% 40%, rgba(0, 122, 255, 0.08), transparent 60%),
    linear-gradient(145deg, #eef4fb 0%, #f7f9fc 45%, #edf2f7 100%);
  border-radius: 1rem;
  overflow: hidden;
  min-height: 320px;
}

.pillar-block--html .pillar-showcase-media {
  min-height: 480px;
  background: #eef2f7;
}

.pillar-showcase-figure {
  margin: 0;
  position: relative;
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.pillar-block--html .pillar-showcase-figure {
  min-height: 480px;
  padding: 0.35rem;
}

.pillar-block--html .pillar-media-pane {
  inset: 0.35rem;
}

.pillar-showcase-img {
  position: absolute;
  inset: 1.25rem;
  width: calc(100% - 2.5rem);
  height: calc(100% - 2.5rem);
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: none;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  background: #fff;
}

.pillar-showcase-img.is-visible { opacity: 1; }

.pillar-media-pane {
  position: absolute;
  inset: 0.5rem;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  overflow: hidden;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-media-pane.is-visible { opacity: 1; }

.pillar-media-pane .pillar-showcase-img-inner {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: none;
  padding: 0.25rem;
}

.pillar-showcase-scaler {
  overflow: hidden;
  background: #fff;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.pillar-showcase-frame {
  border: 0;
  display: block;
  background: #fff;
  pointer-events: none;
  transform-origin: top left;
}

.pillar-showcase-img-inner {
  position: absolute;
  inset: 1.5rem;
  width: calc(100% - 3rem);
  height: calc(100% - 3rem);
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: none;
  background: #fff;
}

.pillar-showcase-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pillar-feature-btn {
  position: relative;
  display: flex;
  gap: 0.875rem;
  width: 100%;
  padding: 1.25rem 1rem 1.25rem 1.25rem;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.25s var(--ease);
}

.pillar-feature-btn:hover { background: rgba(0, 0, 0, 0.02); }

.pillar-feature-btn.active {
  background: var(--off-white);
}

.pillar-feature-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--accent);
  transition: width 0.1s linear;
}

.pillar-feature-icon {
  width: 10px;
  height: 10px;
  margin-top: 0.35rem;
  border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
  opacity: 0.85;
}

.pillar-feature-btn.active .pillar-feature-icon { opacity: 1; }

.pillar-feature-copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pillar-feature-copy strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.pillar-feature-copy .muted {
  font-size: 0.9375rem;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

@media (min-width: 1024px) {
  .pillars--stacked {
    gap: 5rem;
    padding-top: 4rem;
  }

  .pillar-block + .pillar-block {
    padding-top: 5rem;
  }

  .pillar-showcase-heading {
    margin-bottom: 2.25rem;
    font-size: clamp(2rem, 3.6vw, 3.125rem);
    letter-spacing: -0.055em;
  }

  .pillar-title-em {
    background: linear-gradient(135deg, var(--ink) 0%, #1e3a5f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .pillar-showcase-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 2.5rem;
    align-items: start;
  }

  .pillar-block--html .pillar-showcase-grid {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    gap: 2rem;
  }

  .pillar-showcase-media,
  .pillar-showcase-figure {
    min-height: 360px;
  }

  .pillar-block--html .pillar-showcase-media,
  .pillar-block--html .pillar-showcase-figure {
    min-height: min(820px, 78vh);
    height: min(820px, 78vh);
  }

  .pillar-showcase-figure {
    padding: 1.5rem;
  }

  .pillar-block--html .pillar-showcase-figure {
    padding: 0.35rem;
  }

  .pillar-showcase-img {
    inset: 1.5rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
  }
}

.testimonial-large {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--linen);
  max-width: 640px;
}
.testimonial-large p {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--muted-60);
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* ========== PARTNER ========== */
.section-intro-center { text-align: center; max-width: 640px; margin: 0 auto var(--section-gap); }
.section-intro-center p { margin-top: 1rem; }

.partner-cards {
  display: grid;
  gap: 1px;
  background: var(--linen);
  border: 1px solid var(--linen);
  border-radius: var(--btn-r);
  overflow: hidden;
}
@media (min-width: 768px) { .partner-cards { grid-template-columns: repeat(3, 1fr); } }

.partner-card {
  background: var(--white);
  padding: 1.75rem;
}
.partner-card p { font-size: 0.875rem; margin: 0.5rem 0 1rem; }

/* ========== PRICING ========== */
.section-title-center { text-align: center; margin-bottom: var(--section-gap); }

.pricing-card-bracket {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
}

.bracket {
  position: absolute;
  width: 12px; height: 12px;
  border-color: var(--clay);
  border-style: solid;
}
.bracket.tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.bracket.tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.bracket.bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.bracket.br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.pricing-card-bracket h3 { margin-bottom: 0.5rem; }
.pricing-card-bracket > p { font-size: 0.9375rem; margin-bottom: 2rem; }

.price-display {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem 0.5rem;
  margin-bottom: 1.5rem;
}
.price-num { font-size: 2.5rem; font-weight: 500; letter-spacing: -0.03em; }
.price-label { font-size: 0.875rem; color: var(--muted-60); }
.price-plus { font-size: 1.25rem; color: var(--muted-50); margin: 0 0.25rem; }

/* ========== FOOTER CTA ========== */
.footer-cta {
  position: relative;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}

.footer-cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.footer-cta-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 18% 50%, rgba(107, 122, 245, 0.07), transparent 58%),
    radial-gradient(ellipse 45% 60% at 82% 40%, rgba(124, 107, 240, 0.06), transparent 55%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(224, 242, 254, 0.45), transparent 62%);
}

.footer-cta-mesh {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(226, 232, 240, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, 0.55) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 72%);
}

.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--accent) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.08;
}

.footer-cta-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.footer-cta-card {
  width: min(72%, 56rem);
  padding: clamp(2rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 1.5rem;
  box-shadow: none;
}

.footer-cta-body {
  display: grid;
  grid-template-columns: 1fr minmax(9rem, 13rem);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

.footer-cta-content {
  text-align: left;
  min-width: 0;
}

.footer-cta-title {
  font-size: clamp(2rem, 3.2vw, 3.75rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 0.85rem;
  max-width: 20rem;
}

.footer-cta-copy {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-60);
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

.footer-cta-btn {
  height: 3.125rem;
  padding: 0 1.35rem;
  font-size: 0.9375rem;
  border-radius: 0.625rem;
}

.footer-cta-btn.btn-secondary {
  background: transparent;
  border-color: rgba(226, 232, 240, 0.95);
}

.footer-cta-btn.btn-secondary:hover {
  background: rgba(248, 250, 252, 0.9);
  border-color: var(--clay);
}

.footer-cta-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-bottom: 1rem;
}

.footer-cta-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--muted);
}

.footer-cta-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(107, 122, 245, 0.1);
  border-radius: 50%;
}

.footer-cta-proof {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted-50);
  max-width: 28rem;
}

.footer-cta-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 11rem;
}

.footer-cta-modules {
  position: relative;
  width: 100%;
  max-width: 11rem;
  aspect-ratio: 1;
}

.footer-cta-module-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 0.875rem;
  box-shadow: none;
  z-index: 2;
}

.footer-cta-module-hub img {
  width: 1.5rem;
  height: auto;
}

.footer-cta-module-node {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.55rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 0.5rem;
  box-shadow: none;
  transform:
    translate(-50%, -50%)
    rotate(calc(var(--node-angle, 0deg)))
    translateY(calc(-1 * var(--node-radius, 4.5rem)))
    rotate(calc(-1 * var(--node-angle, 0deg)));
  animation: footer-cta-node-float 4.5s var(--ease) infinite;
  animation-delay: calc(var(--node-i, 0) * 0.4s);
}

.footer-cta-module-node span[aria-hidden="true"] {
  font-size: 0.6875rem;
  line-height: 1;
}

.footer-cta-module-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.35;
}

.footer-cta-module-lines line {
  stroke: rgba(64, 80, 208, 0.25);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}

@keyframes footer-cta-node-float {
  0%, 100% { transform: translate(-50%, -50%) rotate(var(--node-angle, 0deg)) translateY(calc(-1 * var(--node-radius, 4.5rem))) rotate(calc(-1 * var(--node-angle, 0deg))); }
  50% { transform: translate(-50%, -50%) rotate(var(--node-angle, 0deg)) translateY(calc(-1 * var(--node-radius, 4.5rem) - 3px)) rotate(calc(-1 * var(--node-angle, 0deg))); }
}

@media (max-width: 900px) {
  .footer-cta-card {
    width: min(92%, 56rem);
  }

  .footer-cta-body {
    grid-template-columns: 1fr;
  }

  .footer-cta-visual {
    order: -1;
    min-height: 8.5rem;
  }

  .footer-cta-modules {
    max-width: 9.5rem;
  }

  .footer-cta-module-node {
    --node-radius: 3.75rem;
  }
}

@media (max-width: 580px) {
  .footer-cta-card {
    width: 100%;
    padding: 1.5rem;
    border-radius: 1.25rem;
  }

  .footer-cta-title {
    max-width: none;
  }

  .footer-cta-actions {
    flex-direction: column;
  }

  .footer-cta-btn {
    width: 100%;
  }

  .footer-cta-trust {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-cta-visual {
    display: none;
  }
}

/* Legacy inner wrapper — keep for pages not yet migrated */
.footer-cta-inner { position: relative; }
.footer-cta .heading-2 { margin-bottom: var(--space-xl); max-width: 800px; margin-inline: auto; }

/* ========== CONTACT SECTION ========== */
.contact-section {
  scroll-margin-top: var(--header-h);
  padding: 120px 0;
  background: var(--white);
  border-top: 1px solid rgba(226, 232, 240, 0.7);
}

.contact-section__inner {
  display: grid;
  gap: var(--space-2xl);
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-section__inner {
    grid-template-columns: 2fr 3fr;
    gap: clamp(2rem, 4vw, 4rem);
  }
}

.contact-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.contact-section.is-visible .contact-reveal {
  opacity: 1;
  transform: translateY(0);
}

.contact-section.is-visible .contact-section__info .contact-reveal:nth-child(1) { transition-delay: 0ms; }
.contact-section.is-visible .contact-section__info .contact-reveal:nth-child(2) { transition-delay: 80ms; }
.contact-section.is-visible .contact-section__info .contact-reveal:nth-child(3) { transition-delay: 160ms; }
.contact-section.is-visible .contact-section__info .contact-reveal:nth-child(4) { transition-delay: 240ms; }
.contact-section.is-visible .contact-section__form-wrap.contact-reveal { transition-delay: 120ms; }

@media (prefers-reduced-motion: reduce) {
  .contact-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.contact-section__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: var(--space-md);
}

.contact-section__desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted-60);
  max-width: 28rem;
  margin-bottom: var(--space-xl);
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-detail__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: var(--white);
  color: var(--accent);
  box-shadow: none;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.contact-detail:hover .contact-detail__icon {
  border-color: rgba(64, 80, 208, 0.35);
  box-shadow: none;
}

.contact-detail__body {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding-top: 0.25rem;
}

.contact-detail__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-detail__value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

a.contact-detail__value:hover {
  color: var(--accent);
}

.contact-reasons {
  margin-bottom: var(--space-xl);
}

.contact-reasons__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

.contact-reasons__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.contact-reasons__list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.contact-reasons__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.contact-trust {
  padding: var(--space-lg);
  border-radius: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
  box-shadow: none;
  max-width: 20rem;
}

.contact-trust__stars {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: #f59e0b;
  margin-bottom: var(--space-xs);
}

.contact-trust__text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.contact-trust__meta {
  font-size: 0.8125rem;
  color: var(--muted-60);
}

.contact-form-card {
  background: var(--white);
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: none;
  padding: 48px;
  transition: box-shadow 0.3s var(--ease);
}

.contact-form-card:focus-within {
  box-shadow: none;
}

.contact-form__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .contact-form__fields {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-field--full {
    grid-column: 1 / -1;
  }
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  min-width: 0;
}

.contact-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.contact-optional {
  font-weight: 500;
  color: var(--muted);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background: #fafbfc;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.contact-field input,
.contact-field select {
  height: 56px;
  padding: 0 1rem;
}

.contact-field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact-field textarea {
  min-height: 8rem;
  padding: 0.875rem 1rem;
  resize: vertical;
}

.contact-field input:hover,
.contact-field select:hover,
.contact-field textarea:hover {
  border-color: rgba(203, 213, 225, 1);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: none;
}

.contact-field--error input,
.contact-field--error select,
.contact-field--error textarea {
  border-color: #ef4444;
  box-shadow: none;
}

.contact-field-error {
  font-size: 0.8125rem;
  color: #dc2626;
  line-height: 1.4;
}

.contact-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
  user-select: none;
}

.contact-checkbox input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.contact-checkbox__box {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  border-radius: 0.375rem;
  border: 1.5px solid rgba(203, 213, 225, 1);
  background: #fafbfc;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.contact-checkbox input:focus-visible + .contact-checkbox__box {
  outline: none;
  border-color: var(--accent);
  box-shadow: none;
}

.contact-checkbox input:checked + .contact-checkbox__box {
  border-color: var(--accent);
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.contact-checkbox__label {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.contact-form-error {
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: #dc2626;
  text-align: center;
}

.contact-form__footer {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-md);
}

.contact-form__submit {
  width: 100%;
  justify-content: center;
}

.contact-form__submit.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

.contact-form__privacy {
  font-size: 0.8125rem;
  color: var(--muted-60);
  text-align: center;
  line-height: 1.5;
}

.contact-form-success {
  text-align: center;
  padding: var(--space-md) 0;
}

.contact-form-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: var(--space-md);
  border-radius: 50%;
  background: rgba(64, 80, 208, 0.1);
  color: var(--accent);
}

.contact-form-success__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}

.contact-form-success__desc {
  font-size: 0.9375rem;
  color: var(--muted-60);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  max-width: 22rem;
  margin-inline: auto;
}

@media (max-width: 639px) {
  .contact-section {
    padding: 80px 0;
  }

  .contact-form-card {
    padding: var(--space-xl);
    border-radius: 20px;
  }
}

.site-footer .container {
  width: var(--container-footer);
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--off-white);
  border-top: 1px solid var(--linen);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  padding-top: var(--space-xl);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .footer-grid.footer-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.footer-top {
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--linen);
}

/* Footer CTA — full-width bold sign-up push */
.footer-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) var(--space-xl);
  background: linear-gradient(135deg, rgba(64, 80, 208, 0.06) 0%, rgba(124, 107, 240, 0.08) 100%);
  border-top: 1px solid var(--linen);
  border-bottom: 1px solid var(--linen);
}

.footer-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-cta__heading {
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

.footer-cta__sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--muted-60);
  margin-bottom: var(--space-xl);
}

.footer-cta__btn {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 2.25rem;
  border-radius: var(--btn-r);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.footer-cta__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin: 0 0 var(--space-xl);
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-60);
}

.footer-cta__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-cta__trust li::before {
  content: '';
  flex: none;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.footer-cta__btn svg {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 0.2s var(--ease);
}

.footer-cta__btn:hover svg {
  transform: translateX(3px);
}

.footer-logo { margin-bottom: 0.75rem; }

.footer-logo .logo-img {
  height: 2.5rem;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--muted-60);
  max-width: 360px;
  margin-bottom: 0.75rem;
}

.footer-email {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.2s;
}
.footer-email:hover { color: var(--accent-hover); }

.footer-col { display: flex; flex-direction: column; gap: 0.4rem; }

.footer-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  color: var(--muted-50);
  margin-bottom: 0.35rem;
}
.footer-label.mt { margin-top: 1.25rem; }

.footer-col a {
  font-size: 0.875rem;
  color: var(--muted-60);
  position: relative;
  width: fit-content;
  transition: color 0.2s;
}
.footer-col a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}
.footer-col a:hover { color: var(--ink); }
.footer-col a:hover::after { transform: scaleX(1); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--linen);
  font-size: 0.8125rem;
  color: var(--muted-60);
}
.footer-legal a { transition: color 0.15s; }
.footer-legal a:hover { color: var(--ink); }
.footer-legal p { margin-left: auto; }

/* Mobile footer — compact brand + 2-col nav; desktop unchanged */
@media (max-width: 767px) {
  .site-footer {
    padding: 1.75rem 0 1.25rem;
    /* Keep brand/email clear of fixed header when scrolled into view */
    scroll-margin-top: var(--header-h);
  }

  .site-footer .container {
    width: 100%;
    max-width: none;
    padding-inline: 1.5rem; /* 24px — shared left edge */
    box-sizing: border-box;
  }

  .site-footer .logo,
  .site-footer .footer-logo {
    display: flex;
    flex: 0 0 auto;
    max-width: none;
    margin-bottom: 1.25rem; /* logo → description ~20px */
  }

  .site-footer .footer-logo .logo-img {
    width: 160px;
    height: auto;
    max-width: 100%;
  }

  .footer-top {
    display: block;
    margin-bottom: 1.75rem; /* divider → PLATFORM ~28px */
    padding-bottom: 1.75rem; /* email → divider ~28px */
  }

  .footer-tagline {
    display: block;
    max-width: 17.5rem;
    margin-bottom: 1.125rem; /* description → email ~18px */
    font-size: 1.125rem;
    line-height: 1.4;
    color: var(--muted-60);
  }

  .footer-email {
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--accent);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem; /* nav groups ~28px */
    margin-bottom: 1.75rem; /* GET STARTED → legal divider ~28px */
  }

  /* Single-column link list per section so no row is left with an orphan link. */
  .footer-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.75rem; /* links within group ~12px */
  }

  .footer-label {
    grid-column: 1 / -1;
    margin-bottom: 0.25rem; /* heading → links ~14–16px with row-gap */
  }

  .footer-col a {
    min-width: 0;
    max-width: 100%;
    font-size: 0.9375rem;
    line-height: 1.4;
    text-align: left;
  }

  /* GET STARTED — CTA emphasis, not another sitemap group */
  .footer-grid .footer-col:last-child > a:nth-of-type(1),
  .footer-grid .footer-col:last-child > a:nth-of-type(2) {
    color: var(--accent);
    font-weight: 600;
  }

  .footer-grid .footer-col:last-child > a:nth-of-type(1):hover,
  .footer-grid .footer-col:last-child > a:nth-of-type(2):hover {
    color: var(--accent-hover);
  }

  .footer-legal {
    padding-top: 1.5rem; /* ~24px */
    gap: 0;
  }

  /* Hide duplicate Privacy Policy; keep Company link only */
  .footer-legal > a {
    display: none;
  }

  .footer-legal p {
    margin-left: 0;
    width: 100%;
    font-size: 0.8125rem;
    color: var(--muted-60);
  }
}

.ui-body.ui-store { display: grid; grid-template-columns: 110px 1fr; min-height: 260px; }
.store-sidebar { border-right: 1px solid var(--linen); padding: 0.5rem 0; background: var(--off-white); }
.store-sidebar div { padding: 0.45rem 0.75rem; font-size: 0.7rem; color: var(--muted-60); }
.store-sidebar div.active { background: var(--white); font-weight: 600; color: var(--ink); border-left: 2px solid var(--accent); }
.store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 1rem; }
.store-grid div { background: var(--off-white); border: 1px solid var(--linen); border-radius: 6px; min-height: 70px; }

.ui-support { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.ui-support.tall { min-height: 280px; }
.support-msg { font-size: 0.8125rem; padding: 0.65rem 0.85rem; border-radius: 0.65rem; max-width: 88%; line-height: 1.5; }
.support-msg.user { align-self: flex-end; background: var(--off-white); border: 1px solid var(--linen); }
.support-msg.ai { display: flex; gap: 0.5rem; align-items: flex-start; background: rgba(64, 80, 208, 0.06); border: 1px solid rgba(64, 80, 208, 0.12); }
.ai-dot {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--gradient);
  margin-top: 2px;
}

.ui-routes { padding: 1.5rem; }
.route-map {
  position: relative;
  height: 200px;
  background: linear-gradient(180deg, #eef2ff, #f8fafc);
  border-radius: 0.65rem;
  border: 1px solid var(--linen);
  margin-bottom: 1rem;
}
.route-pin {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--white);
  box-shadow: none;
}
.route-pin.p1 { top: 30%; left: 25%; }
.route-pin.p2 { top: 55%; left: 50%; }
.route-pin.p3 { top: 40%; left: 72%; }
.route-line {
  position: absolute;
  top: 38%; left: 28%; width: 42%; height: 2px;
  background: var(--accent);
  transform: rotate(8deg);
  opacity: 0.5;
}
.route-stats { display: flex; gap: 1.5rem; font-size: 0.8125rem; color: var(--muted-60); }
.route-stats span { padding: 0.35rem 0.65rem; background: var(--off-white); border-radius: 999px; border: 1px solid var(--linen); }

@media (min-width: 768px) {
  .hero-tab { font-size: 0.8125rem; padding: 1.15rem 1rem; }
}

.hero-panels { border-radius: 0 0 0.75rem 0.75rem; box-shadow: none; }
.product-ui { border-radius: 0.75rem; box-shadow: none; }
.gallery-item { border-radius: 0.75rem; box-shadow: none; border: 1px solid var(--linen); }
.partner-cards { border-radius: 0.75rem; box-shadow: none; }

/* Hero screenshot sequences */
.screenshot-demo {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: none;
}

.screenshot-demo-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--linen);
  background: var(--off-white);
  font-size: 0.75rem;
  color: var(--muted-60);
}

.screenshot-demo-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay);
}

.screenshot-sequence {
  position: relative;
  aspect-ratio: 21 / 10;
  background: var(--chalk);
  overflow: hidden;
}

.seq-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.55s var(--ease);
}

.seq-frame.active {
  opacity: 1;
}

.screenshot-caption {
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  color: var(--muted-60);
  border-top: 1px solid var(--linen);
  background: var(--white);
  min-height: 2.75rem;
}

.seq-dots {
  display: flex;
  gap: 6px;
  padding: 0 1rem 0.85rem;
  background: var(--white);
}

.seq-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
  transition: background 0.25s, transform 0.25s;
}

.seq-dot.active {
  background: var(--accent-bright);
  transform: scale(1.2);
}

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


  /* Integration logos: pause instead of racing at 0.01ms */
  .integration-track--left .integration-track-inner,
  .integration-track--right .integration-track-inner {
    animation: none !important;
  }
}

/* ========== STOREFRONT DASHBOARD - ENHANCED ========== */
.storefront-dashboard {
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 8px 10px;
  background: var(--dash-bg);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-sans);
  position: relative;
  overflow: visible;
}

.storefront-dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--dash-bg-overlay);
  pointer-events: none;
}

/* Dashboard Header */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.dashboard-title-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dashboard-title {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.dashboard-subtitle {
  font-size: 10px;
  color: #64748b;
  margin: 0;
}

.period-selector {
  display: flex;
  gap: 2px;
  background: #fff;
  padding: 2px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  box-shadow: none;
}

.period-btn {
  padding: 3px 8px;
  border: none;
  background: transparent;
  font-size: 9px;
  font-weight: 600;
  color: #64748b;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: inherit;
}

.period-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.period-btn.active {
  background: linear-gradient(135deg, #6B7AF5 0%, #7C6BF0 100%);
  color: #fff;
  box-shadow: none;
}

.export-btn {
  padding: 4px 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 3px;
  box-shadow: none;
}

.export-btn:hover {
  border-color: #6B7AF5;
  color: #4050D0;
  background: linear-gradient(135deg, #f0f1fc 0%, #eef2ff 100%);
}

.export-btn svg {
  width: 12px;
  height: 12px;
}

/* Featured KPI Section */
.featured-kpi-section {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 6px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .featured-kpi-section {
    grid-template-columns: 1fr;
  }
}

.featured-kpi-card {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: none;
  transition: all 0.2s var(--ease);
}

.featured-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: none;
  border-color: rgba(107, 122, 245, 0.3);
}

.main-kpi {
  background: linear-gradient(135deg, #fff 0%, #f0f1fc 100%);
}

.kpi-header {
  display: flex;
  align-items: center;
  gap: 3px;
}

.kpi-icon {
  font-size: 10px;
  line-height: 1;
}

.kpi-label {
  font-size: 7px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kpi-value-large {
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, #0f172a 0%, #4050D0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.kpi-value-medium {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
}

.kpi-footer {
  display: flex;
  align-items: center;
  gap: 3px;
}

.kpi-delta {
  font-size: 8px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.kpi-delta.positive {
  background: linear-gradient(135deg, #dcfce7 0%, #d1fae5 100%);
  color: #059669;
}

.kpi-delta.negative {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
}

.kpi-trend {
  font-size: 7px;
  color: #64748b;
}

.kpi-sparkline {
  height: 20px;
  position: relative;
  margin-top: auto;
}

/* Secondary KPI Grid */
.secondary-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .secondary-kpi-grid {
    grid-template-columns: 1fr;
  }
}

.mini-kpi-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s var(--ease);
  position: relative;
  overflow: hidden;
}

.mini-kpi-card:hover {
  transform: translateY(-1px);
  box-shadow: none;
  border-color: rgba(107, 122, 245, 0.3);
}

.mini-kpi-icon {
  font-size: 12px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f0f1fc 0%, #eef2ff 100%);
  border-radius: 5px;
  flex-shrink: 0;
}

.mini-kpi-icon.warning {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.mini-kpi-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.mini-kpi-label {
  font-size: 7px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mini-kpi-value {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
}

.mini-kpi-value.alert {
  color: #f59e0b;
}

.mini-kpi-chart {
  position: relative;
}

.pie-chart {
  width: 24px;
  height: 24px;
}

.pie-chart svg {
  transform: rotate(-90deg);
}

.mini-kpi-trend {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 8px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 8px;
  background: linear-gradient(135deg, #dcfce7 0%, #d1fae5 100%);
  color: #059669;
}

.mini-kpi-action {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 4px;
  color: #92400e;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-size: 10px;
}

/* Charts Section */
.charts-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 6px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .charts-section {
    grid-template-columns: 1fr;
  }
}

/* Charts Grid - Used by CRM, Support, Inventory */
.charts-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 6px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .charts-grid {
    grid-template-columns: 1fr;
  }
}

.charts-grid .chart-card {
  min-height: 100px;
}

.chart-card {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: none;
  transition: all 0.2s var(--ease);
  position: relative;
  overflow: hidden;
}

.chart-card:hover {
  box-shadow: none;
  border-color: rgba(107, 122, 245, 0.3);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chart-title {
  font-size: 10px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.chart-legend {
  display: flex;
  gap: 8px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: #64748b;
}

.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.legend-dot.blue {
  background: linear-gradient(135deg, #6B7AF5 0%, #4050D0 100%);
}

.legend-dot.purple {
  background: linear-gradient(135deg, #7C6BF0 0%, #6366f1 100%);
}

.chart-badge {
  padding: 2px 6px;
  background: linear-gradient(135deg, #f0f1fc 0%, #eef2ff 100%);
  border-radius: 8px;
  font-size: 8px;
  font-weight: 600;
  color: #4050D0;
}

/* Line Chart Container */
.line-chart-container {
  position: relative;
  height: 100px;
}

.line-chart {
  width: 100%;
  height: 100px;
  min-height: 100px;
  position: relative;
}

.bar-chart {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.product-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.bar-track {
  height: 6px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
}

.hero-panel .line-chart svg,
.hero-panel .support-volume-chart,
.hero-panel .inventory-volume-chart,
.hero-panel .sales-chart,
.hero-panel .enhanced-line-chart,
.hero-panel .crm-growth-chart {
  width: 100%;
  height: 100%;
  display: block;
}

/* Chart Stats */
.chart-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-label {
  font-size: 8px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-value {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
}

.stat-value.positive {
  color: #059669;
}

/* Products List */
.products-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 160px;
  overflow-y: auto;
  padding-right: 2px;
}

.products-list::-webkit-scrollbar {
  width: 3px;
}

.products-list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 2px;
}

.products-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6B7AF5 0%, #7C6BF0 100%);
  border-radius: 2px;
}

.product-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  transition: all 0.2s var(--ease);
}

.product-item:hover {
  border-color: rgba(107, 122, 245, 0.4);
  box-shadow: none;
  transform: translateX(2px);
}

.product-rank {
  font-size: 9px;
  font-weight: 700;
  color: #64748b;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 4px;
}

.product-item:nth-child(1) .product-rank {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
}

.product-item:nth-child(2) .product-rank {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  color: #475569;
}

.product-item:nth-child(3) .product-rank {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
}

.product-info {
  flex: 1;
  min-width: 0;
}

.product-name {
  font-size: 10px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-stats {
  display: flex;
  gap: 6px;
  font-size: 8px;
  color: #64748b;
}

.product-revenue {
  font-size: 10px;
  font-weight: 700;
  color: #0f172a;
}

.product-bar-mini {
  width: 40px;
  height: 3px;
  background: #f1f5f9;
  border-radius: 2px;
  overflow: hidden;
}

.product-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6B7AF5 0%, #7C6BF0 100%);
  border-radius: 2px;
}

/* Quick Access Section */
.quick-access-section {
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.quick-access {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}

@media (max-width: 1024px) {
  .quick-access {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .quick-access {
    grid-template-columns: repeat(2, 1fr);
  }
}

.quick-link {
  padding: 6px 4px;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.quick-link:hover {
  border-color: rgba(107, 122, 245, 0.4);
  box-shadow: none;
  transform: translateY(-2px);
}

.quick-link-icon {
  font-size: 14px;
  line-height: 1;
  transition: transform 0.2s var(--ease);
}

.quick-link:hover .quick-link-icon {
  transform: scale(1.1);
}

.quick-link-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: center;
}

.quick-link-title {
  font-size: 9px;
  font-weight: 700;
  color: #0f172a;
}

.quick-link-desc {
  font-size: 8px;
  color: #64748b;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .storefront-dashboard {
    padding: 10px 12px;
    gap: 8px;
  }

  .dashboard-header {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .period-selector {
    justify-content: space-between;
  }

  .export-btn {
    justify-content: center;
  }

  .chart-stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured-kpi-card,
  .mini-kpi-card,
  .product-item,
  .quick-link,
  .sales-chart polyline,
  .bar-fill,
  .product-bar-fill {
    animation: none !important;
  }
}

/* ========== CRM DASHBOARD - COMPACT ========== */
.crm-dashboard {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: var(--hero-dashboard-height);
  padding: 8px 10px;
  background: var(--dash-bg);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-sans);
  position: relative;
  overflow: visible;
}

.crm-dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--dash-bg-overlay);
  pointer-events: none;
}

/* CRM Stats Grid - Section 1 */
.crm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .crm-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.crm-stat-card {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s var(--ease);
  position: relative;
  overflow: hidden;
}

.crm-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #6B7AF5 0%, #7C6BF0 100%);
  opacity: 0;
  transition: opacity 0.2s;
}

.crm-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: none;
  border-color: rgba(107, 122, 245, 0.3);
}

.crm-stat-card:hover::before {
  opacity: 1;
}

.crm-stat-card.primary {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
}

.crm-stat-card.secondary {
  background: linear-gradient(135deg, #fff 0%, #faf5ff 100%);
}

.crm-stat-card.tertiary {
  background: linear-gradient(135deg, #fff 0%, #f0f1fc 100%);
}

.crm-stat-card.quaternary {
  background: linear-gradient(135deg, #fff 0%, #eef2ff 100%);
}

.crm-stat-icon {
  font-size: 12px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  border-radius: 5px;
  flex-shrink: 0;
}

.crm-stat-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.crm-stat-label {
  font-size: 7px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.crm-stat-value {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
}

.crm-stat-trend {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  width: fit-content;
}

.crm-stat-trend.positive {
  background: linear-gradient(135deg, #dcfce7 0%, #d1fae5 100%);
  color: #059669;
}

.crm-stat-trend.negative {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
}

/* Charts Row - Section 2 & 3 */
.crm-charts-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 6px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .crm-charts-row {
    grid-template-columns: 1fr;
  }
}

.crm-chart-card {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: none;
  transition: all 0.2s var(--ease);
}

.crm-chart-card:hover {
  box-shadow: none;
  border-color: rgba(107, 122, 245, 0.3);
}

.crm-chart-card.large {
  min-height: 100px;
}

.crm-chart-card.medium {
  min-height: 100px;
}

.crm-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.crm-chart-title {
  font-size: 10px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.crm-chart-toggle {
  display: flex;
  gap: 2px;
  background: #fff;
  padding: 2px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.chart-toggle-btn {
  padding: 3px 8px;
  border: none;
  background: transparent;
  font-size: 9px;
  font-weight: 600;
  color: #64748b;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: inherit;
}

.chart-toggle-btn.active {
  background: linear-gradient(135deg, #6B7AF5 0%, #7C6BF0 100%);
  color: #fff;
}

.crm-chart-badge {
  padding: 2px 6px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  border-radius: 8px;
  font-size: 8px;
  font-weight: 600;
  color: #4050D0;
}

.crm-chart-container {
  position: relative;
  height: 100px;
}

.crm-donut-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.crm-donut-chart {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  position: relative;
}

.crm-donut-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.crm-donut-legend-item {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 8px;
  color: #64748b;
}

.crm-donut-legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

/* Tables Row - Section 4 */
.crm-tables-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .crm-tables-row {
    grid-template-columns: 1fr;
  }
}

.crm-table-card {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: none;
}

.crm-table-wrapper {
  overflow-x: auto;
}

.crm-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}

.crm-data-table th {
  text-align: left;
  padding: 6px 8px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.crm-data-table td {
  padding: 6px 8px;
  color: #0f172a;
  border-bottom: 1px solid #f1f5f9;
}

.crm-data-table tr:last-child td {
  border-bottom: none;
}

.crm-data-table tbody tr:hover {
  background: rgba(107, 122, 245, 0.05);
}

.crm-value-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 140px;
  overflow-y: auto;
}

.crm-value-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.crm-value-bar-label {
  font-size: 9px;
  font-weight: 600;
  color: #64748b;
  width: 60px;
  flex-shrink: 0;
}

.crm-value-bar-track {
  flex: 1;
  height: 6px;
  background: #f1f5f9;
  border-radius: 3px;
  overflow: hidden;
}

.crm-value-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6B7AF5 0%, #7C6BF0 100%);
  border-radius: 3px;
  transition: width 0.6s var(--ease);
}

.crm-value-bar-count {
  font-size: 9px;
  font-weight: 700;
  color: #0f172a;
  width: 24px;
  text-align: right;
}

/* Rep Activity - Section 5 */
.crm-rep-activity {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.crm-rep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

@media (max-width: 1024px) {
  .crm-rep-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.crm-rep-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s var(--ease);
}

.crm-rep-card:hover {
  border-color: rgba(107, 122, 245, 0.4);
  box-shadow: none;
}

.crm-rep-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.crm-rep-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6B7AF5 0%, #7C6BF0 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.crm-rep-name {
  font-size: 10px;
  font-weight: 600;
  color: #0f172a;
}

.crm-rep-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.crm-rep-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.crm-rep-stat-label {
  font-size: 8px;
  color: #64748b;
}

.crm-rep-stat-value {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
}

.crm-rep-connection-rate {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 600;
  padding: 3px 6px;
  background: linear-gradient(135deg, #dcfce7 0%, #d1fae5 100%);
  color: #059669;
  border-radius: 8px;
}

/* Segment Growth - Section 6 */
.crm-segments {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.crm-segment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (max-width: 1024px) {
  .crm-segment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.crm-segment-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s var(--ease);
}

.crm-segment-card:hover {
  border-color: rgba(107, 122, 245, 0.4);
  box-shadow: none;
}

.crm-segment-name {
  font-size: 10px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 2px;
}

.crm-segment-stats {
  display: flex;
  align-items: center;
  gap: 8px;
}

.crm-segment-count {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.crm-segment-change {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.crm-segment-change.positive {
  background: linear-gradient(135deg, #dcfce7 0%, #d1fae5 100%);
  color: #059669;
}

.crm-segment-change.negative {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
}

.crm-segment-percent {
  font-size: 8px;
  color: #64748b;
  margin-left: auto;
}

/* ========== SUPPORT DASHBOARD - COMPACT ========== */
.hero-panel .support-dashboard {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: var(--hero-dashboard-height);
  padding: 8px 10px;
  background: var(--dash-bg);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-sans);
  position: relative;
  overflow: visible;
}

.hero-panel .support-dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--dash-bg-overlay);
  pointer-events: none;
}

/* Support KPI Grid - Section 1 */
.support-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .support-kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .support-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.support-kpi-card {
  background: linear-gradient(135deg, #fff 0%, #f0f1fc 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s var(--ease);
  position: relative;
  overflow: hidden;
}

.support-kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--dash-accent-gradient-180);
  opacity: 0;
  transition: opacity 0.2s;
}

.support-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: none;
  border-color: rgba(107, 122, 245, 0.3);
}

.support-kpi-card:hover::before {
  opacity: 1;
}

.support-kpi-card.main {
  background: linear-gradient(135deg, #fff 0%, #eef2ff 100%);
}

.support-kpi-card.accent {
  background: linear-gradient(135deg, #fff 0%, #fef3c7 100%);
}

.support-kpi-card.accent::before {
  background: linear-gradient(180deg, #f59e0b 0%, #fbbf24 100%);
}

.support-kpi-header {
  display: flex;
  align-items: center;
  gap: 4px;
}

.support-kpi-icon {
  font-size: 12px;
  line-height: 1;
}

.support-kpi-label {
  font-size: 8px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.support-kpi-value {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
}

.support-kpi-footer {
  display: flex;
  align-items: center;
  gap: 4px;
}

.support-kpi-trend {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.support-kpi-trend.positive {
  background: linear-gradient(135deg, #dcfce7 0%, #d1fae5 100%);
  color: #059669;
}

.support-kpi-trend.negative {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
}

.support-kpi-compare {
  font-size: 8px;
  color: #64748b;
}

/* Charts Row - Section 2 & 3 */
.support-charts-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 6px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .support-charts-row {
    grid-template-columns: 1fr;
  }
}

.support-chart-card {
  background: linear-gradient(135deg, #fff 0%, #f0f1fc 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: none;
  transition: all 0.2s var(--ease);
}

.support-chart-card:hover {
  box-shadow: none;
  border-color: rgba(107, 122, 245, 0.3);
}

.support-chart-card.large {
  min-height: 100px;
}

.support-chart-card.medium {
  min-height: 100px;
}

.support-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.support-chart-title {
  font-size: 10px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.support-chart-badge {
  padding: 2px 6px;
  background: linear-gradient(135deg, #eef2ff 0%, #d1fae5 100%);
  border-radius: 8px;
  font-size: 8px;
  font-weight: 600;
  color: #4050D0;
}

.support-chart-container {
  position: relative;
  height: 100px;
}

/* Channel List */
.support-channel-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 140px;
  overflow-y: auto;
}

.support-channel-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  transition: all 0.2s var(--ease);
}

.support-channel-item:hover {
  border-color: rgba(107, 122, 245, 0.4);
  transform: translateX(2px);
}

.support-channel-icon {
  font-size: 14px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f0f1fc 0%, #dcfce7 100%);
  border-radius: 6px;
}

.support-channel-info {
  flex: 1;
  min-width: 0;
}

.support-channel-name {
  font-size: 10px;
  font-weight: 600;
  color: #0f172a;
}

.support-channel-count {
  font-size: 9px;
  color: #64748b;
}

.support-channel-percent {
  font-size: 11px;
  font-weight: 700;
  color: #059669;
}

/* Tables Row - Section 4 & 5 */
.support-tables-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .support-tables-row {
    grid-template-columns: 1fr;
  }
}

.support-table-card {
  background: linear-gradient(135deg, #fff 0%, #f0f1fc 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: none;
  max-height: 180px;
}

.support-topics-list,
.support-activity-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  max-height: 140px;
}

.support-topic-item,
.support-activity-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  transition: all 0.2s var(--ease);
}

.support-topic-item:hover,
.support-activity-item:hover {
  border-color: rgba(107, 122, 245, 0.4);
  transform: translateX(2px);
}

.support-topic-icon {
  font-size: 12px;
}

.support-topic-name {
  flex: 1;
  font-size: 10px;
  font-weight: 600;
  color: #0f172a;
}

.support-topic-count {
  font-size: 10px;
  font-weight: 700;
  color: #059669;
}

.support-activity-time {
  font-size: 8px;
  color: #64748b;
}

.support-activity-desc {
  flex: 1;
  font-size: 9px;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.support-activity-status {
  font-size: 8px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 8px;
}

.support-activity-status.resolved {
  background: linear-gradient(135deg, #dcfce7 0%, #d1fae5 100%);
  color: #059669;
}

.support-activity-status.pending {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
}

/* Insights Section - Section 6 */
.support-insights {
  background: linear-gradient(135deg, #fff 0%, #f0f1fc 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.support-insights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (max-width: 1024px) {
  .support-insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.support-insight-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s var(--ease);
  position: relative;
  overflow: hidden;
}

.support-insight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #f59e0b 0%, #fbbf24 100%);
}

.support-insight-card.warning::before {
  background: linear-gradient(180deg, #ef4444 0%, #f87171 100%);
}

.support-insight-card.success::before {
  background: var(--dash-accent-gradient-180);
}

.support-insight-card:hover {
  border-color: rgba(107, 122, 245, 0.4);
  box-shadow: none;
}

.support-insight-header {
  display: flex;
  align-items: center;
  gap: 4px;
}

.support-insight-icon {
  font-size: 10px;
}

.support-insight-title {
  font-size: 9px;
  font-weight: 700;
  color: #0f172a;
}

.support-insight-desc {
  font-size: 8px;
  color: #64748b;
  line-height: 1.3;
}

.support-insight-action {
  font-size: 8px;
  font-weight: 600;
  color: #059669;
  margin-top: auto;
}

/* Analytics Tabs */
.support-tabs {
  display: flex;
  gap: 2px;
  background: #fff;
  padding: 2px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  position: relative;
  z-index: 1;
  overflow-x: auto;
}

.support-tab {
  padding: 4px 8px;
  border: none;
  background: transparent;
  font-size: 8px;
  font-weight: 600;
  color: #64748b;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: inherit;
  white-space: nowrap;
}

.support-tab:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.support-tab.active {
  background: var(--dash-accent-gradient);
  color: #fff;
}

@media (max-width: 768px) {
  .support-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-insights-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== INVENTORY & ORDERS DASHBOARD - COMPACT ========== */
.inventory-dashboard {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: var(--hero-dashboard-height);
  padding: 8px 10px;
  background: var(--dash-bg);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-sans);
  position: relative;
  overflow: visible;
}

.inventory-dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--dash-bg-overlay);
  pointer-events: none;
}

/* Inventory KPI Grid - Section 1 */
.inventory-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .inventory-kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .inventory-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.inventory-kpi-card {
  background: linear-gradient(135deg, #fff 0%, #fef3c7 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s var(--ease);
  position: relative;
  overflow: hidden;
}

.inventory-kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--dash-accent-gradient-180);
  opacity: 0;
  transition: opacity 0.2s;
}

.inventory-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: none;
  border-color: rgba(107, 122, 245, 0.3);
}

.inventory-kpi-card:hover::before {
  opacity: 1;
}

.inventory-kpi-card.main {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
}

.inventory-kpi-header {
  display: flex;
  align-items: center;
  gap: 4px;
}

.inventory-kpi-icon {
  font-size: 12px;
  line-height: 1;
}

.inventory-kpi-label {
  font-size: 8px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.inventory-kpi-value {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
}

.inventory-kpi-footer {
  display: flex;
  align-items: center;
  gap: 4px;
}

.inventory-kpi-trend {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.inventory-kpi-trend.positive {
  background: linear-gradient(135deg, #dcfce7 0%, #d1fae5 100%);
  color: #059669;
}

.inventory-kpi-trend.negative {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
}

.inventory-kpi-compare {
  font-size: 8px;
  color: #64748b;
}

/* Charts Row - Section 2 & 3 */
.inventory-charts-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 6px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .inventory-charts-row {
    grid-template-columns: 1fr;
  }
}

.inventory-chart-card {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: none;
  transition: all 0.2s var(--ease);
}

.inventory-chart-card:hover {
  box-shadow: none;
  border-color: rgba(107, 122, 245, 0.3);
}

.inventory-chart-card.large {
  min-height: 100px;
}

.inventory-chart-card.medium {
  min-height: 100px;
}

.inventory-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.inventory-chart-title {
  font-size: 10px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.inventory-chart-badge {
  padding: 2px 6px;
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  border-radius: 8px;
  font-size: 8px;
  font-weight: 600;
  color: #4050D0;
}

.inventory-chart-container {
  position: relative;
  height: 100px;
}

/* Stock Status List */
.inventory-stock-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 140px;
  overflow-y: auto;
}

.inventory-stock-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  transition: all 0.2s var(--ease);
}

.inventory-stock-item:hover {
  border-color: rgba(107, 122, 245, 0.4);
  transform: translateX(2px);
}

.inventory-stock-status {
  font-size: 14px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.inventory-stock-info {
  flex: 1;
  min-width: 0;
}

.inventory-stock-product {
  font-size: 10px;
  font-weight: 600;
  color: #0f172a;
}

.inventory-stock-detail {
  font-size: 9px;
  color: #64748b;
}

.inventory-stock-qty {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
}

.inventory-stock-qty.low {
  color: #ea580c;
}

.inventory-stock-qty.critical {
  color: #dc2626;
}

/* Fulfillment Section - Section 4 */
.inventory-fulfillment {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.inventory-status-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

@media (max-width: 1024px) {
  .inventory-status-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .inventory-status-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.inventory-status-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s var(--ease);
  position: relative;
  overflow: hidden;
}

.inventory-status-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--status-color, #64748b);
  opacity: 0.8;
}

.inventory-status-card:hover {
  border-color: rgba(107, 122, 245, 0.4);
  transform: translateY(-2px);
}

.inventory-status-card.processing {
  --status-color: #f59e0b;
}

.inventory-status-card.ready {
  --status-color: #6B7AF5;
}

.inventory-status-card.shipped {
  --status-color: #6B7AF5;
}

.inventory-status-card.delivered {
  --status-color: #8b5cf6;
}

.inventory-status-card.returned {
  --status-color: #ef4444;
}

.inventory-status-label {
  font-size: 8px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.inventory-status-count {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.inventory-status-percent {
  font-size: 8px;
  color: #64748b;
}

/* Tables Row - Section 5 & 6 */
.inventory-tables-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .inventory-tables-row {
    grid-template-columns: 1fr;
  }
}

.inventory-table-card {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: none;
  max-height: 180px;
}

.inventory-products-list,
.inventory-returns-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  max-height: 140px;
}

.inventory-product-item,
.inventory-return-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  transition: all 0.2s var(--ease);
}

.inventory-product-item:hover,
.inventory-return-item:hover {
  border-color: rgba(107, 122, 245, 0.4);
  transform: translateX(2px);
}

.inventory-product-rank {
  font-size: 9px;
  font-weight: 700;
  color: #64748b;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e0e7ff 0%, #fed7aa 100%);
  border-radius: 4px;
}

.inventory-product-name {
  flex: 1;
  font-size: 10px;
  font-weight: 600;
  color: #0f172a;
}

.inventory-product-orders {
  font-size: 10px;
  font-weight: 700;
  color: #4050D0;
}

.inventory-return-reason {
  flex: 1;
  font-size: 9px;
  font-weight: 600;
  color: #0f172a;
}

.inventory-return-count {
  font-size: 10px;
  font-weight: 700;
  color: #ea580c;
}

.inventory-return-value {
  font-size: 9px;
  color: #64748b;
}

/* Delivery Section */
.inventory-delivery {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.inventory-carrier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (max-width: 1024px) {
  .inventory-carrier-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.inventory-carrier-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s var(--ease);
}

.inventory-carrier-card:hover {
  border-color: rgba(107, 122, 245, 0.4);
  box-shadow: none;
}

.inventory-carrier-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.inventory-carrier-icon {
  font-size: 14px;
}

.inventory-carrier-name {
  font-size: 10px;
  font-weight: 600;
  color: #0f172a;
}

.inventory-carrier-stats {
  display: flex;
  gap: 8px;
}

.inventory-carrier-stat {
  font-size: 9px;
  color: #64748b;
}

.inventory-carrier-stat strong {
  color: #0f172a;
}

.inventory-carrier-rate {
  font-size: 8px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 8px;
  background: linear-gradient(135deg, #dcfce7 0%, #d1fae5 100%);
  color: #059669;
  align-self: flex-start;
}

/* ========== ENHANCED DASHBOARD ANIMATIONS ========== */

/* Storefront Dashboard Animations */
.storefront-dashboard .featured-kpi-card {
  animation: storefrontCardSlide 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.storefront-dashboard .featured-kpi-card:nth-child(1) { animation-delay: 0.1s; }
.storefront-dashboard .featured-kpi-card:nth-child(2) { animation-delay: 0.2s; }
.storefront-dashboard .featured-kpi-card:nth-child(3) { animation-delay: 0.3s; }

.storefront-dashboard .mini-kpi-card {
  animation: storefrontMiniPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.storefront-dashboard .mini-kpi-card:nth-child(1) { animation-delay: 0.4s; }
.storefront-dashboard .mini-kpi-card:nth-child(2) { animation-delay: 0.5s; }
.storefront-dashboard .mini-kpi-card:nth-child(3) { animation-delay: 0.6s; }

.storefront-dashboard .chart-card {
  animation: storefrontChartFade 0.8s ease backwards;
  animation-delay: 0.5s;
}

.storefront-dashboard .quick-link {
  animation: storefrontLinkBounce 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.storefront-dashboard .quick-link:nth-child(1) { animation-delay: 0.7s; }
.storefront-dashboard .quick-link:nth-child(2) { animation-delay: 0.75s; }
.storefront-dashboard .quick-link:nth-child(3) { animation-delay: 0.8s; }
.storefront-dashboard .quick-link:nth-child(4) { animation-delay: 0.85s; }
.storefront-dashboard .quick-link:nth-child(5) { animation-delay: 0.9s; }
.storefront-dashboard .quick-link:nth-child(6) { animation-delay: 0.95s; }

/* CRM Dashboard Animations */
.crm-dashboard .featured-kpi-card {
  animation: crmCardSlide 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.crm-dashboard .featured-kpi-card:nth-child(1) { animation-delay: 0.1s; }
.crm-dashboard .featured-kpi-card:nth-child(2) { animation-delay: 0.2s; }
.crm-dashboard .featured-kpi-card:nth-child(3) { animation-delay: 0.3s; }

.crm-dashboard .mini-kpi-card {
  animation: crmMiniPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.crm-dashboard .mini-kpi-card:nth-child(1) { animation-delay: 0.4s; }
.crm-dashboard .mini-kpi-card:nth-child(2) { animation-delay: 0.5s; }
.crm-dashboard .mini-kpi-card:nth-child(3) { animation-delay: 0.6s; }

.crm-dashboard .chart-card {
  animation: crmChartFade 0.8s ease backwards;
  animation-delay: 0.5s;
}

.crm-dashboard .quick-link {
  animation: crmLinkBounce 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.crm-dashboard .quick-link:nth-child(1) { animation-delay: 0.7s; }
.crm-dashboard .quick-link:nth-child(2) { animation-delay: 0.75s; }
.crm-dashboard .quick-link:nth-child(3) { animation-delay: 0.8s; }
.crm-dashboard .quick-link:nth-child(4) { animation-delay: 0.85s; }
.crm-dashboard .quick-link:nth-child(5) { animation-delay: 0.9s; }
.crm-dashboard .quick-link:nth-child(6) { animation-delay: 0.95s; }

/* Support Dashboard Animations */
.support-dashboard .featured-kpi-card {
  animation: supportCardSlide 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.support-dashboard .featured-kpi-card:nth-child(1) { animation-delay: 0.1s; }
.support-dashboard .featured-kpi-card:nth-child(2) { animation-delay: 0.2s; }
.support-dashboard .featured-kpi-card:nth-child(3) { animation-delay: 0.3s; }

.support-dashboard .mini-kpi-card {
  animation: supportMiniPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.support-dashboard .mini-kpi-card:nth-child(1) { animation-delay: 0.4s; }
.support-dashboard .mini-kpi-card:nth-child(2) { animation-delay: 0.5s; }
.support-dashboard .mini-kpi-card:nth-child(3) { animation-delay: 0.6s; }

.support-dashboard .chart-card {
  animation: supportChartFade 0.8s ease backwards;
  animation-delay: 0.5s;
}

.support-dashboard .quick-link {
  animation: supportLinkBounce 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.support-dashboard .quick-link:nth-child(1) { animation-delay: 0.7s; }
.support-dashboard .quick-link:nth-child(2) { animation-delay: 0.75s; }
.support-dashboard .quick-link:nth-child(3) { animation-delay: 0.8s; }
.support-dashboard .quick-link:nth-child(4) { animation-delay: 0.85s; }
.support-dashboard .quick-link:nth-child(5) { animation-delay: 0.9s; }
.support-dashboard .quick-link:nth-child(6) { animation-delay: 0.95s; }

/* Inventory Dashboard Animations */
.inventory-dashboard .featured-kpi-card {
  animation: inventoryCardSlide 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.inventory-dashboard .featured-kpi-card:nth-child(1) { animation-delay: 0.1s; }
.inventory-dashboard .featured-kpi-card:nth-child(2) { animation-delay: 0.2s; }
.inventory-dashboard .featured-kpi-card:nth-child(3) { animation-delay: 0.3s; }

.inventory-dashboard .mini-kpi-card {
  animation: inventoryMiniPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.inventory-dashboard .mini-kpi-card:nth-child(1) { animation-delay: 0.4s; }
.inventory-dashboard .mini-kpi-card:nth-child(2) { animation-delay: 0.5s; }
.inventory-dashboard .mini-kpi-card:nth-child(3) { animation-delay: 0.6s; }

.inventory-dashboard .chart-card {
  animation: inventoryChartFade 0.8s ease backwards;
  animation-delay: 0.5s;
}

.inventory-dashboard .quick-link {
  animation: inventoryLinkBounce 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.inventory-dashboard .quick-link:nth-child(1) { animation-delay: 0.7s; }
.inventory-dashboard .quick-link:nth-child(2) { animation-delay: 0.75s; }
.inventory-dashboard .quick-link:nth-child(3) { animation-delay: 0.8s; }
.inventory-dashboard .quick-link:nth-child(4) { animation-delay: 0.85s; }
.inventory-dashboard .quick-link:nth-child(5) { animation-delay: 0.9s; }
.inventory-dashboard .quick-link:nth-child(6) { animation-delay: 0.95s; }

/* Enhanced Chart Animations */
.sales-chart polyline,
.crm-growth-chart polyline,
.support-volume-chart polyline,
.inventory-volume-chart polyline {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: enhancedDrawLine 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.data-point {
  animation: enhancedDataPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.bar-fill {
  animation: enhancedBarGrow 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.product-bar {
  animation: enhancedBarSlide 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.pie-chart svg path:last-child {
  stroke-dasharray: 0, 100;
  animation: enhancedPieDraw 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Animation Keyframes */
@keyframes storefrontCardSlide {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes storefrontMiniPop {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes storefrontLinkBounce {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes storefrontChartFade {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes crmCardSlide {
  from {
    opacity: 0;
    transform: translateX(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes crmMiniPop {
  from {
    opacity: 0;
    transform: scale(0.85) rotate(-5deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes crmLinkBounce {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes crmChartFade {
  from {
    opacity: 0;
    transform: translateX(15px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes supportCardSlide {
  from {
    opacity: 0;
    transform: translateY(-15px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes supportMiniPop {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes supportLinkBounce {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes supportChartFade {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes inventoryCardSlide {
  from {
    opacity: 0;
    transform: translateX(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes inventoryMiniPop {
  from {
    opacity: 0;
    transform: scale(0.85) rotate(5deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes inventoryLinkBounce {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes inventoryChartFade {
  from {
    opacity: 0;
    transform: translateX(-15px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes enhancedDrawLine {
  from {
    stroke-dashoffset: 1000;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes enhancedDataPop {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes enhancedBarGrow {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes enhancedBarSlide {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes enhancedPieDraw {
  from {
    stroke-dasharray: 0, 100;
  }
  to {
    stroke-dasharray: var(--target-value, 62), 100;
  }
}

/* Floating Icons Animation for Each Dashboard */
.storefront-dashboard::after {
  content: '🛒';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  opacity: 0;
  animation: storefrontIconFloat 3s ease-in-out infinite;
  animation-delay: 1s;
}

.crm-dashboard::after {
  content: '👥';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  opacity: 0;
  animation: crmIconFloat 3s ease-in-out infinite;
  animation-delay: 1s;
}

.hero-panel .support-dashboard::after {
  content: '💬';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  opacity: 0;
  animation: supportIconFloat 3s ease-in-out infinite;
  animation-delay: 1s;
}

.inventory-dashboard::after {
  content: '📦';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  opacity: 0;
  animation: inventoryIconFloat 3s ease-in-out infinite;
  animation-delay: 1s;
}

@keyframes storefrontIconFloat {
  0%, 100% {
    opacity: 0;
    transform: translateY(0) scale(0.8);
  }
  50% {
    opacity: 0.3;
    transform: translateY(-10px) scale(1);
  }
}

@keyframes crmIconFloat {
  0%, 100% {
    opacity: 0;
    transform: translateX(0) scale(0.8);
  }
  50% {
    opacity: 0.3;
    transform: translateX(10px) scale(1);
  }
}

@keyframes supportIconFloat {
  0%, 100% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.1);
  }
}

@keyframes inventoryIconFloat {
  0%, 100% {
    opacity: 0;
    transform: translateY(0) rotate(0deg);
  }
  50% {
    opacity: 0.3;
    transform: translateY(-8px) rotate(10deg);
  }
}

/* ========== COMPARE SECTIONS ========== */
.compare-section,
#compare {
  position: relative;
}

.compare-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(107, 122, 245, 0.06), transparent),
    radial-gradient(ellipse 40% 30% at 100% 50%, rgba(124, 107, 240, 0.05), transparent);
  pointer-events: none;
}

.compare-header {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--section-gap-lg);
}

.compare-header .eyebrow { margin-bottom: var(--space-md); }
.compare-header .heading-3 { margin-bottom: var(--space-md); }
.compare-header .body-xl { margin-inline: auto; }

.cmp-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-bottom: var(--space-xl);
  position: relative;
}

.cmp-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--muted-60);
}

.cmp-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.cmp-status__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  font-size: 0.6875rem;
  line-height: 1;
  flex-shrink: 0;
}

.cmp-status--included { color: #059669; }
.cmp-status--included .cmp-status__icon {
  background: rgba(5, 150, 105, 0.12);
  color: #059669;
}

.cmp-status--integration { color: #d97706; }
.cmp-status--integration .cmp-status__icon {
  background: rgba(217, 119, 6, 0.12);
  color: #d97706;
}

.cmp-status--unavailable { color: #94a3b8; }
.cmp-status--unavailable .cmp-status__icon {
  background: rgba(148, 163, 184, 0.15);
  color: #64748b;
}

.cmp-status--native { color: var(--accent); }
.cmp-status--native .cmp-status__icon {
  background: rgba(64, 80, 208, 0.12);
  color: var(--accent);
}

.cmp-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.cmp-badge--all-in-one {
  background: var(--gradient-soft);
  color: var(--accent);
  border: 1px solid rgba(64, 80, 208, 0.2);
}

.cmp-badge--popular {
  background: rgba(124, 107, 240, 0.12);
  color: #6366f1;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.cmp-badge--built-in {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.cmp-table-wrap {
  position: relative;
  border: 1px solid var(--linen);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: none;
  overflow: hidden;
}

.cmp-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cmp-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.cmp-table thead th {
  position: sticky;
  top: var(--header-h);
  z-index: 2;
  padding: 1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: left;
  vertical-align: middle;
  background: var(--off-white);
  border-bottom: 1px solid var(--linen);
  box-shadow: none;
}

.cmp-table thead th.cmp-col--highlight {
  z-index: 3;
  background: #edf8fa;
  color: var(--ink);
  border-bottom-color: rgba(64, 80, 208, 0.2);
  box-shadow: none;
}

.cmp-col-head {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  max-width: 100%;
  line-height: 1.35;
}

.cmp-col-head .cmp-badge {
  margin-left: 0;
  flex-shrink: 0;
}

.cmp-table tbody td {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--linen);
  vertical-align: middle;
  transition: background 0.2s var(--ease);
  position: relative;
  z-index: 0;
}

.cmp-table tbody tr:last-child td { border-bottom: none; }

.cmp-table tbody tr:hover td {
  background: rgba(248, 250, 252, 0.8);
}

.cmp-table tbody tr:hover td.cmp-col--highlight {
  background: rgba(107, 122, 245, 0.06);
}

.cmp-table .cmp-capability {
  font-weight: 600;
  color: var(--ink);
}

.cmp-table .cmp-col--highlight {
  background: rgba(107, 122, 245, 0.03);
  border-left: 2px solid rgba(64, 80, 208, 0.25);
}

.cmp-table .cmp-stack-label {
  color: var(--muted-60);
}

.cmp-table-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient);
  opacity: 0.35;
  pointer-events: none;
}

.cmp-cards {
  display: none;
  gap: 0.75rem;
}

.cmp-card {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 0.875rem;
  padding: 1.15rem 1.25rem;
  box-shadow: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.cmp-card:hover {
  border-color: rgba(64, 80, 208, 0.25);
  box-shadow: none;
  transform: translateY(-1px);
}

.cmp-card__capability {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  color: var(--ink);
}

.cmp-card__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.cmp-card__col-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-50);
  margin-bottom: 0.35rem;
}

.cmp-card__col--sg {
  padding: 0.65rem 0.75rem;
  background: var(--gradient-soft);
  border-radius: 0.5rem;
  border: 1px solid rgba(64, 80, 208, 0.12);
}

.compare-footer-copy {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin: var(--space-2xl) auto 0;
}

.compare-footer-copy p {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: var(--space-lg);
}

.compare-footer-copy .cmp-unified-callout {
  margin-top: 0;
  margin-bottom: var(--space-lg);
}

.compare-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-top: var(--space-xl);
}

.compare-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.compare-links a:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent);
}

@media (max-width: 767px) {
  .cmp-table-wrap { display: none; }
  .cmp-cards { display: grid; }
}

/* Compare page layout */
.compare-page-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.compare-page-hero .container {
  max-width: 800px;
}

.compare-page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-md);
}

.compare-page-hero .body-xl {
  margin-inline: auto;
  margin-bottom: var(--space-lg);
}

.compare-page-hero .cmp-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
}

.compare-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted-60);
  margin-bottom: var(--space-lg);
}

.compare-breadcrumb a {
  color: var(--accent);
  transition: color 0.2s;
}

.compare-breadcrumb a:hover { color: var(--accent-hover); }

.compare-section-block {
  padding: var(--space-2xl) 0;
}

.compare-section-block .section-intro {
  max-width: 640px;
  margin-bottom: var(--space-2xl);
}

.compare-section-block .section-intro.center {
  text-align: center;
  margin-inline: auto;
}

.compare-section-block .section-intro h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.cmp-pros-cons {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .cmp-pros-cons { grid-template-columns: 1fr 1fr; }
}

.cmp-pros-cons-card {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.cmp-pros-cons-card:hover {
  border-color: rgba(64, 80, 208, 0.2);
  box-shadow: none;
}

.cmp-pros-cons-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cmp-pros-cons-card--pros h3 { color: #059669; }
.cmp-pros-cons-card--cons h3 { color: #64748b; }

.cmp-pros-cons-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cmp-pros-cons-card li {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.55;
}

.cmp-pros-cons-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.cmp-pros-cons-card--pros li::before { background: #059669; }
.cmp-pros-cons-card--cons li::before { background: var(--clay); }

.cmp-best-for-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cmp-best-for-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .cmp-best-for-grid { grid-template-columns: repeat(3, 1fr); }
}

.cmp-best-for-card {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 0.875rem;
  padding: 1.35rem;
  box-shadow: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.cmp-best-for-card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.cmp-best-for-card strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 0.35rem;
}

.cmp-best-for-card p {
  font-size: 0.875rem;
  color: var(--muted-60);
  line-height: 1.55;
}

.cmp-why-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .cmp-why-grid { grid-template-columns: repeat(2, 1fr); }
}

.cmp-why-card {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: none;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.cmp-why-card:hover {
  border-color: rgba(64, 80, 208, 0.22);
  transform: translateY(-2px);
}

.cmp-why-card .cmp-why-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.cmp-why-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cmp-why-card p {
  font-size: 0.9375rem;
  color: var(--muted-60);
  line-height: 1.6;
}

.cmp-workflow {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cmp-workflow { grid-template-columns: 1fr 1fr; }
}

.cmp-workflow-panel {
  border-radius: 1rem;
  padding: 1.75rem;
  border: 1px solid var(--linen);
  box-shadow: none;
}

.cmp-workflow-panel--legacy {
  background: var(--off-white);
}

.cmp-workflow-panel--sg {
  background: linear-gradient(135deg, rgba(107, 122, 245, 0.06) 0%, rgba(124, 107, 240, 0.06) 100%);
  border-color: rgba(64, 80, 208, 0.2);
}

.cmp-workflow-panel h3 {
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-50);
  margin-bottom: 1.25rem;
}

.cmp-workflow-panel--sg h3 { color: var(--accent); }

.cmp-workflow-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.cmp-workflow-step {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 0.5rem;
  white-space: nowrap;
  transition: transform 0.2s var(--ease);
}

.cmp-workflow-panel:hover .cmp-workflow-step {
  transform: translateY(-1px);
}

.cmp-workflow-panel--legacy .cmp-workflow-step {
  color: var(--muted-60);
}

.cmp-workflow-panel--sg .cmp-workflow-step {
  border-color: rgba(64, 80, 208, 0.2);
  background: rgba(255, 255, 255, 0.85);
}

.cmp-workflow-arrow {
  color: var(--clay);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.cmp-workflow-panel--sg .cmp-workflow-arrow {
  color: var(--accent);
}

.cmp-workflow-note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--muted-60);
  font-style: italic;
}

.cmp-workflow-panel--sg .cmp-workflow-note {
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
}

.cmp-unified-callout {
  margin-top: var(--space-xl);
  padding: 1.25rem 1.5rem;
  background: var(--gradient-soft);
  border: 1px solid rgba(64, 80, 208, 0.15);
  border-radius: 0.875rem;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-soft);
}

.cmp-faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.cmp-faq-item {
  border-bottom: 1px solid var(--linen);
}

.cmp-faq-item:first-child { border-top: 1px solid var(--linen); }

.cmp-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s;
}

.cmp-faq-trigger:hover { color: var(--accent); }

.cmp-faq-trigger svg {
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
  color: var(--muted-50);
}

.cmp-faq-item.is-open .cmp-faq-trigger svg {
  transform: rotate(180deg);
  color: var(--accent);
}

.cmp-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}

.cmp-faq-item.is-open .cmp-faq-answer {
  grid-template-rows: 1fr;
}

.cmp-faq-answer-inner {
  overflow: hidden;
}

.cmp-faq-answer p {
  font-size: 0.9375rem;
  color: var(--muted-60);
  line-height: 1.65;
  padding-bottom: 1.15rem;
}

.cmp-related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: var(--space-xl);
}

.cmp-related a {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid var(--linen);
  border-radius: 999px;
  background: var(--white);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.cmp-related a:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: none;
}

.cmp-related a.is-current {
  background: var(--gradient-soft);
  border-color: rgba(64, 80, 208, 0.25);
  color: var(--accent);
  pointer-events: none;
}

.nav-compare-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.5rem 0;
}

.nav-compare-links a {
  font-size: 0.875rem;
  padding: 0.35rem 0;
  color: var(--muted-60);
  transition: color 0.2s;
}

.nav-compare-links a:hover { color: var(--ink); }

/* ========== Compare page conversion enhancements ========== */
.compare-page--shopify .compare-page-hero--visual {
  padding: clamp(2rem, 3.5vw, 3.25rem) 0 clamp(2.25rem, 4vw, 3.5rem);
  text-align: left;
}

.compare-page--shopify .compare-page-hero__container {
  max-width: var(--max-w-7xl);
  width: var(--container);
}

.compare-page--shopify .compare-breadcrumb--left {
  justify-content: flex-start;
  margin-bottom: var(--space-md);
}

.compare-page--shopify .cmp-hero-v2__breadcrumb {
  margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
}

.cmp-hero-split {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

@media (min-width: 1024px) {
  .cmp-hero-split {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    gap: clamp(2.5rem, 5vw, 4rem);
  }
}

.cmp-hero-split__copy {
  max-width: 540px;
}

.cmp-hero-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--space-md);
  padding: 0.35rem 0.7rem;
  background: rgba(64, 80, 208, 0.08);
  border-radius: 999px;
  border: 1px solid rgba(64, 80, 208, 0.15);
}

.compare-page--shopify .compare-page-hero--visual h1 {
  font-size: clamp(1.75rem, 3.8vw, 2.625rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: var(--space-md);
  max-width: none;
  margin-inline: 0;
  text-align: left;
}

.cmp-hero-sub {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.6;
  color: var(--muted-60);
  margin-bottom: var(--space-lg);
  max-width: 480px;
}

.cmp-hero-benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0;
  margin-top: 0;
}

.cmp-hero-benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 0.65rem;
  box-shadow: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.cmp-hero-benefit-card:hover {
  border-color: rgba(64, 80, 208, 0.25);
  box-shadow: none;
  transform: translateY(-1px);
}

.cmp-hero-benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border-radius: 0.4rem;
  background: var(--off-white);
  border: 1px solid var(--linen);
  color: var(--accent);
}

.cmp-hero-benefit-text {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-soft);
  padding-top: 0.15rem;
}

.cmp-hero-cta-row {
  margin-top: 0;
  justify-content: flex-start;
}

.cmp-hero-split__visual {
  min-width: 0;
}

.cmp-hero-compare-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 1rem;
  padding: 1.25rem 1.15rem 1.15rem;
  box-shadow: none;
  overflow: hidden;
  animation: cmpHeroCardFloat 6s ease-in-out infinite;
}

@keyframes cmpHeroCardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.cmp-hero-compare-title {
  position: relative;
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-50);
  text-align: center;
  margin-bottom: 1rem;
}

.cmp-hero-compare-columns {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.65rem;
  align-items: stretch;
}

.cmp-hero-stack {
  display: flex;
  flex-direction: column;
  border-radius: 0.75rem;
  padding: 0.85rem 0.65rem;
  border: 1px solid var(--linen);
  background: var(--off-white);
  min-height: 100%;
}

.cmp-hero-stack--legacy {
  opacity: 0.92;
}

.cmp-hero-stack--sg {
  background: var(--white);
  border-color: rgba(64, 80, 208, 0.28);
  box-shadow: none;
}

.cmp-hero-stack-label {
  font-size: 0.625rem;
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-align: center;
  margin-bottom: 0.65rem;
  color: var(--muted-50);
}

.cmp-hero-stack--sg .cmp-hero-stack-label {
  color: var(--accent);
}

.cmp-hero-stack-flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1;
}

.cmp-hero-node {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.5rem;
  border-radius: 0.45rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.cmp-hero-node--legacy {
  background: var(--white);
  border: 1px solid var(--linen);
  color: var(--muted-60);
}

.cmp-hero-node--legacy:hover {
  border-color: #cbd5e1;
}

.cmp-hero-node--sg {
  background: var(--white);
  border: 1px solid rgba(64, 80, 208, 0.2);
  color: var(--ink);
  animation: cmpHeroNodePulse 5s ease-in-out infinite;
}

.cmp-hero-node--sg[data-node="0"] { animation-delay: 0s; }
.cmp-hero-node--sg[data-node="1"] { animation-delay: 0.6s; }
.cmp-hero-node--sg[data-node="2"] { animation-delay: 1.2s; }
.cmp-hero-node--sg[data-node="3"] { animation-delay: 1.8s; }
.cmp-hero-node--sg[data-node="4"] { animation-delay: 2.4s; }

@keyframes cmpHeroNodePulse {
  0%, 18%, 100% {
    box-shadow: none;
    transform: scale(1);
  }
  8% {
    box-shadow: none;
    transform: scale(1.02);
  }
}

.cmp-hero-node--sg:hover {
  border-color: rgba(64, 80, 208, 0.45);
  box-shadow: none;
}

.cmp-hero-connector {
  display: flex;
  justify-content: center;
  height: 1.1rem;
  align-items: center;
}

.cmp-hero-connector-line {
  display: block;
  width: 2px;
  height: 100%;
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}

.cmp-hero-connector--legacy .cmp-hero-connector-line {
  background: repeating-linear-gradient(
    to bottom,
    #cbd5e1 0,
    #cbd5e1 3px,
    transparent 3px,
    transparent 6px
  );
  opacity: 0.7;
}

.cmp-hero-connector--sg .cmp-hero-connector-line {
  background: rgba(64, 80, 208, 0.2);
}

.cmp-hero-connector--sg .cmp-hero-connector-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, #6B7AF5, transparent);
  animation: cmpHeroFlowDown 2.2s ease-in-out infinite;
}

.cmp-hero-connector--sg:nth-of-type(4) .cmp-hero-connector-line::after { animation-delay: 0.4s; }
.cmp-hero-connector--sg:nth-of-type(6) .cmp-hero-connector-line::after { animation-delay: 0.8s; }
.cmp-hero-connector--sg:nth-of-type(8) .cmp-hero-connector-line::after { animation-delay: 1.2s; }
.cmp-hero-connector--sg:nth-of-type(10) .cmp-hero-connector-line::after { animation-delay: 1.6s; }

@keyframes cmpHeroFlowDown {
  0% { transform: translateY(-100%); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

.cmp-hero-compare-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted-50);
  padding: 0 0.15rem;
}

.cmp-hero-stack-footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--linen);
  text-align: center;
}

.cmp-hero-stack-footer span {
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--muted-60);
  line-height: 1.35;
}

.cmp-hero-stack-footer strong {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #64748b;
}

.cmp-hero-stack-footer--sg {
  border-top-color: rgba(64, 80, 208, 0.15);
}

.cmp-hero-stack-footer--sg span {
  color: var(--ink-soft);
}

.cmp-hero-stack-footer--sg strong {
  color: var(--accent);
}

@media (max-width: 1023px) {
  .cmp-hero-split__copy {
    max-width: none;
  }

  .cmp-hero-sub {
    max-width: none;
  }

  .cmp-hero-cta-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 479px) {
  .cmp-hero-benefit-grid {
    grid-template-columns: 1fr;
  }

  .cmp-hero-compare-columns {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .cmp-hero-compare-divider {
    padding: 0.25rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cmp-hero-compare-card,
  .cmp-hero-node--sg,
  .cmp-hero-connector--sg .cmp-hero-connector-line::after {
    animation: none;
  }
}

.compare-page--shopify .compare-page-hero {
  padding: clamp(1.5rem, 3.5vw, 2.75rem) 0 clamp(1.35rem, 2.5vw, 2rem);
}

.compare-page--shopify .compare-section-block {
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
}

.compare-page--shopify .compare-section-block .section-intro {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.compare-page--shopify .compare-section-block--divider {
  border-top: 1px solid var(--linen);
}

.cmp-hero-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  max-width: 680px;
  margin-inline: auto;
}

.cmp-hero-benefits li {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cmp-hero-benefits li::before {
  content: '✓';
  color: #059669;
  font-weight: 700;
}

/* Stack cost comparison */
.cmp-stack-vs {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .cmp-stack-vs {
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
  }
}

.cmp-stack-side {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 1rem;
  padding: 1.5rem 1.35rem;
  box-shadow: none;
}

.cmp-stack-side--legacy {
  opacity: 0.92;
}

.cmp-stack-side--sg {
  background: linear-gradient(135deg, rgba(107, 122, 245, 0.07) 0%, rgba(124, 107, 240, 0.06) 100%);
  border-color: rgba(64, 80, 208, 0.22);
  box-shadow: none;
  position: relative;
}

.cmp-stack-side--sg::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: none;
}

.cmp-stack-side h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.cmp-stack-side--sg h3 {
  color: var(--accent);
}

.cmp-stack-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.cmp-stack-tool {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--off-white);
  border: 1px solid var(--linen);
  color: var(--ink-soft);
}

.cmp-stack-tool--plus {
  background: transparent;
  border: none;
  color: var(--muted-50);
  font-weight: 500;
  padding: 0.2rem;
}

.cmp-stack-side--sg .cmp-stack-tools {
  margin-bottom: 1.5rem;
}

.cmp-stack-sg-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.cmp-stack-sg-logo span {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--gradient);
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
}

.cmp-stack-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.cmp-stack-metric {
  text-align: center;
  padding: 0.75rem 0.5rem;
  border-radius: 0.65rem;
  background: var(--off-white);
  border: 1px solid var(--linen);
}

.cmp-stack-side--sg .cmp-stack-metric {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(64, 80, 208, 0.12);
}

.cmp-stack-metric strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}

.cmp-stack-metric span {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted-60);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cmp-stack-side--legacy .cmp-stack-metric strong {
  color: #64748b;
}

.cmp-stack-vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted-50);
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .cmp-stack-vs-divider {
    padding: 0 1rem;
  }
}

/* Animated workflow */
.cmp-workflow-track {
  position: relative;
  padding-top: 0.35rem;
}

.cmp-flow-packet {
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: none;
  transform: translateX(var(--flow-x, 0px));
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
  pointer-events: none;
}

.cmp-workflow-track:has(.cmp-workflow-steps--vertical) .cmp-flow-packet {
  margin-top: 0;
  transform: translate(var(--flow-x, 0px), var(--flow-y, 0px));
}

.cmp-workflow-panel--legacy .cmp-flow-packet {
  background: #94a3b8;
  box-shadow: none;
  opacity: 0.5;
  animation: cmpPacketStutter 4.5s ease-in-out infinite;
}

@keyframes cmpPacketStutter {
  0%, 18% { opacity: 0.35; }
  22%, 28% { opacity: 0.7; }
  32%, 48% { opacity: 0.25; }
  52%, 58% { opacity: 0.55; }
  62%, 100% { opacity: 0.2; }
}

.cmp-workflow-step.is-active {
  border-color: rgba(64, 80, 208, 0.45);
  background: rgba(255, 255, 255, 1);
  box-shadow: none;
  color: var(--accent);
  transform: scale(1.04);
}

.cmp-workflow-panel--legacy .cmp-workflow-step.is-active {
  border-color: #cbd5e1;
  box-shadow: none;
  color: var(--muted-60);
  transform: none;
  opacity: 0.85;
}

.cmp-workflow-panel--legacy .cmp-workflow-arrow.is-broken {
  opacity: 0.35;
  animation: cmpArrowFlicker 2.8s ease-in-out infinite;
}

@keyframes cmpArrowFlicker {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.75; }
}

.cmp-workflow-panel--legacy .cmp-workflow-note {
  font-style: normal;
}

.cmp-workflow-fragmented {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #d97706;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Before / After */
.cmp-before-after {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .cmp-before-after { grid-template-columns: 1fr 1fr; }
}

.cmp-ba-column {
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--linen);
  box-shadow: none;
}

.cmp-ba-column--before {
  background: var(--off-white);
}

.cmp-ba-column--after {
  background: linear-gradient(135deg, rgba(107, 122, 245, 0.06) 0%, rgba(124, 107, 240, 0.05) 100%);
  border-color: rgba(64, 80, 208, 0.2);
}

.cmp-ba-column h3 {
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.cmp-ba-column--before h3 { color: #64748b; }
.cmp-ba-column--after h3 { color: var(--accent); }

.cmp-ba-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}

.cmp-ba-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.55rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 0.5rem;
  color: var(--ink-soft);
}

.cmp-ba-column--after .cmp-ba-step {
  border-color: rgba(64, 80, 208, 0.15);
}

.cmp-ba-step--trigger {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.cmp-ba-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.25rem;
  color: var(--clay);
  font-size: 0.75rem;
}

.cmp-ba-column--before .cmp-ba-connector {
  color: #d97706;
}

.cmp-ba-indicator {
  margin-left: auto;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.cmp-ba-summary {
  margin-top: var(--space-xl);
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.cmp-ba-summary span {
  display: block;
  color: var(--accent);
}

/* Best for lists */
.cmp-best-for-card ul {
  list-style: none;
  padding: 0;
  margin: 0.65rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cmp-best-for-card li {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.45;
}

.cmp-best-for-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 700;
  font-size: 0.75rem;
}

.cmp-best-for-card--switch li::before {
  content: '→';
  color: var(--accent);
}

.cmp-best-for-card strong {
  margin-bottom: 0;
}

/* Outcome cards */
.cmp-outcome-card {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: none;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.cmp-outcome-card:hover {
  border-color: rgba(64, 80, 208, 0.22);
  transform: translateY(-2px);
}

.cmp-outcome-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.cmp-outcome-metric {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.cmp-outcome-sub {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.25rem;
}

.cmp-outcome-detail {
  font-size: 0.8125rem;
  color: var(--muted-60);
  line-height: 1.5;
}

/* Social proof */
.cmp-proof-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cmp-proof-grid { grid-template-columns: repeat(3, 1fr); }
}

.cmp-proof-card {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 1rem;
  padding: 1.35rem;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cmp-proof-logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  background: var(--gradient-soft);
  border: 1px solid rgba(64, 80, 208, 0.15);
  display: grid;
  place-items: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
}

.cmp-proof-brand {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.cmp-proof-desc {
  font-size: 0.8125rem;
  color: var(--muted-60);
  line-height: 1.5;
}

.cmp-proof-outcome {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  line-height: 1.55;
  padding-top: 0.65rem;
  border-top: 1px solid var(--linen);
  margin-top: auto;
}

.cmp-proof-outcome strong {
  color: var(--accent);
  font-weight: 600;
}

/* Sticky CTA */
.cmp-sticky-cta {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 2rem));
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0.65rem 0.65rem 1.15rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--linen);
  border-radius: 999px;
  box-shadow: none;
  backdrop-filter: blur(12px);
  max-width: min(540px, calc(100vw - 2rem));
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}

.cmp-sticky-cta.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cmp-sticky-cta p {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.35;
}

.cmp-sticky-cta .btn {
  flex-shrink: 0;
  height: 2.25rem;
  padding: 0 1rem;
  font-size: 0.8125rem;
  border-radius: 999px;
}

@media (max-width: 479px) {
  .cmp-sticky-cta {
    flex-direction: column;
    align-items: stretch;
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    text-align: center;
  }

  .cmp-sticky-cta .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cmp-flow-packet,
  .cmp-workflow-panel--legacy .cmp-flow-packet,
  .cmp-workflow-panel--legacy .cmp-workflow-arrow.is-broken {
    animation: none;
  }

  .cmp-workflow-step.is-active {
    transform: none;
  }
}

/* ========== Shopify compare page — premium redesign ========== */

.compare-page--shopify .cmp-hero-split {
  align-items: center;
}

@media (min-width: 1024px) {
  .compare-page--shopify .cmp-hero-split {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
  }
}

.compare-page--shopify .cmp-hero-cta-row {
  margin-bottom: var(--space-lg);
}

.compare-page--shopify .cmp-hero-benefit-grid {
  margin-top: 0;
}

/* ========== Shopify hero v2 — stack → unified transform (polished) ========== */

.compare-page--shopify .cmp-hero-v2.cmp-hero-split {
  align-items: center;
  gap: clamp(2.75rem, 5vw, 5rem);
}

@media (min-width: 1024px) {
  .compare-page--shopify .cmp-hero-v2.cmp-hero-split {
    grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.14fr);
    gap: clamp(3.25rem, 4.5vw, 5.5rem);
  }
}

.compare-page--shopify .cmp-hero-v2 .cmp-hero-split__copy {
  max-width: 30rem;
}

.compare-page--shopify .cmp-hero-v2 .cmp-hero-eyebrow {
  margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
}

.cmp-hero-v2__header {
  margin-bottom: clamp(2rem, 3vw, 2.75rem);
}

.compare-page--shopify .cmp-hero-v2 h1 {
  font-size: clamp(2rem, 3.4vw, 2.625rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.044em;
  margin-bottom: clamp(1.25rem, 2vw, 1.625rem);
  max-width: 13.5em;
}

.compare-page--shopify .cmp-hero-v2 .cmp-hero-sub {
  font-size: 1.0625rem;
  line-height: 1.72;
  font-weight: 400;
  color: #64748b;
  max-width: 32rem;
  margin-bottom: 0;
}

.compare-page--shopify .cmp-hero-v2 .cmp-hero-cta-row {
  margin-bottom: clamp(2rem, 2.5vw, 2.5rem);
  gap: 0.75rem;
}

.compare-page--shopify .cmp-hero-v2 .cmp-hero-cta-row .btn {
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

@media (hover: hover) {
  .compare-page--shopify .cmp-hero-v2 .cmp-hero-cta-row .btn:hover {
    transform: translateY(-2px) scale(1.02);
  }

  .compare-page--shopify .cmp-hero-v2 .cmp-hero-cta-row .btn-primary:hover {
    box-shadow: none;
  }

  .compare-page--shopify .cmp-hero-v2 .cmp-hero-cta-row .btn-secondary:hover {
    border-color: rgba(64, 80, 208, 0.45);
    box-shadow: none;
  }
}

.cmp-hero-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.cmp-hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.cmp-hero-trust__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e8edf2;
  color: #4050D0;
}

.cmp-hero-split__visual {
  min-width: 0;
}

.cmp-transform-visual {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 2.75rem minmax(0, 1.1fr);
  align-items: center;
  gap: 0.375rem;
  width: 100%;
}

.cmp-transform-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.875rem 0.8125rem 0.8125rem;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 12px;
  box-shadow: none;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.cmp-transform-card--stack {
  background: #f8fafc;
  border-color: #e8edf2;
}

@media (hover: hover) {
  .cmp-transform-card--stack:hover {
    transform: translateY(-1px);
    box-shadow: none;
  }
}

.cmp-transform-card--sg {
  background: linear-gradient(165deg, #f8fdff 0%, #eef2ff 48%, #eef2ff 100%);
  border-color: rgba(64, 80, 208, 0.28);
  box-shadow: none;
  transform: scale(1.05);
  z-index: 1;
}

.cmp-transform-visual.is-ready .cmp-transform-card--sg {
  animation: cmpSgCardReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

@media (hover: hover) {
  .cmp-transform-card--sg:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: none;
  }

  .cmp-transform-visual:hover .cmp-transform-arrow__stroke,
  .cmp-transform-visual:hover .cmp-transform-arrow__head {
    filter: drop-shadow(0 0 6px rgba(107, 122, 245, 0.45));
  }
}

@keyframes cmpSgCardReveal {
  from { transform: scale(1.02); opacity: 0.92; }
  to { transform: scale(1.05); opacity: 1; }
}

.cmp-sg-glow {
  position: absolute;
  inset: -18% -12%;
  background: radial-gradient(ellipse 70% 58% at 50% 44%, rgba(107, 122, 245, 0.2), transparent 68%);
  pointer-events: none;
  z-index: 0;
  animation: cmpSgGlowPulse 4.5s ease-in-out infinite;
}

@keyframes cmpSgGlowPulse {
  0%, 78%, 100% { opacity: 0.55; transform: scale(1); }
  88% { opacity: 0.95; transform: scale(1.03); }
}

.cmp-transform-card__title {
  position: relative;
  z-index: 1;
  margin: 0 0 0.625rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}

.cmp-transform-card--sg .cmp-transform-card__title {
  color: #4050D0;
  font-weight: 600;
}

.cmp-stack-scatter {
  position: relative;
  z-index: 1;
  height: 6.25rem;
  margin-bottom: 0.625rem;
}

.cmp-stack-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.cmp-stack-line {
  stroke: #e2e8f0;
  stroke-width: 1;
  stroke-dasharray: 2 5;
  opacity: 0.5;
  animation: cmpLinePulse 4.5s ease-in-out infinite;
}

.cmp-stack-line:nth-child(2n) { animation-delay: 0.6s; }
.cmp-stack-line:nth-child(3n) { animation-delay: 1.2s; }

@keyframes cmpLinePulse {
  0%, 100% { opacity: 0.35; stroke-dashoffset: 0; }
  50% { opacity: 0.65; stroke-dashoffset: -4; }
}

.cmp-stack-chip {
  position: absolute;
  left: var(--chip-x);
  top: var(--chip-y);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transform: translate(-50%, -50%);
  padding: 0.2rem 0.45rem 0.2rem 0.35rem;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #475569;
  background: var(--chip-accent);
  border: 1px solid var(--chip-border);
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  box-shadow: none;
}

.cmp-stack-chip__logo {
  width: 0.6875rem;
  height: 0.6875rem;
  flex-shrink: 0;
  object-fit: contain;
  opacity: 0.9;
}

.cmp-transform-visual.is-ready .cmp-stack-chip {
  animation:
    cmpChipEnter 0.55s cubic-bezier(0.22, 1, 0.36, 1) calc(0.06s + var(--chip-i, 0) * 0.04s) forwards,
    cmpChipDrift 5.5s ease-in-out calc(0.65s + var(--chip-i, 0) * 0.12s) infinite;
}

@keyframes cmpChipEnter {
  from { opacity: 0; transform: translate(calc(-50% + var(--chip-drift, 0px)), -50%) scale(0.94); }
  to { opacity: 1; transform: translate(calc(-50% + var(--chip-drift, 0px) * 0.25), -50%) scale(1); }
}

@keyframes cmpChipDrift {
  0%, 100% {
    transform: translate(calc(-50% + var(--chip-drift, 0px) * 0.2), -50%);
  }
  50% {
    transform: translate(calc(-50% + var(--chip-drift, 3px)), calc(-50% - 2px));
  }
}

.cmp-transform-meta {
  position: relative;
  z-index: 1;
  margin: 0 0 0.625rem;
  font-size: 0.5625rem;
  line-height: 1.5;
  color: #94a3b8;
}

.cmp-transform-wins {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0 0 0.625rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cmp-transform-wins li {
  font-size: 0.5625rem;
  color: #64748b;
  line-height: 1.4;
  padding-left: 0.75rem;
  position: relative;
}

.cmp-transform-wins li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 999px;
  background: #4050D0;
}

.cmp-transform-cost {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 0.5625rem;
  border-top: 1px solid #eef2f6;
}

.cmp-transform-cost__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.125rem;
}

.cmp-transform-cost strong {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #94a3b8;
}

.cmp-transform-cost--highlight {
  border-top-color: rgba(64, 80, 208, 0.15);
}

.cmp-transform-cost--highlight strong {
  font-size: 0.9375rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cmp-sg-modules {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.625rem;
}

.cmp-sg-module {
  padding: 0.3125rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: #1e293b;
  letter-spacing: -0.012em;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(64, 80, 208, 0.1);
  border-radius: 6px;
  box-shadow: none;
  transition:
    background 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .cmp-transform-card--sg:hover .cmp-sg-module {
    background: #fff;
    border-color: rgba(64, 80, 208, 0.22);
    box-shadow: none;
  }
}

.cmp-transform-bridge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 100%;
  min-height: 4.5rem;
  flex-shrink: 0;
}

.cmp-transform-arrow {
  position: relative;
  z-index: 2;
  overflow: visible;
  transition: filter 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.cmp-transform-visual.is-ready .cmp-transform-arrow {
  animation: cmpArrowFade 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

.cmp-transform-arrow__stroke,
.cmp-transform-arrow__head {
  transition: filter 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.cmp-transform-arrow__pulse {
  opacity: 0.85;
  filter: drop-shadow(0 0 3px rgba(107, 122, 245, 0.6));
}

@keyframes cmpArrowFade {
  from { opacity: 0.4; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.cmp-transform-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: #cbd5e1;
  opacity: 0;
  left: 4px;
}

.cmp-transform-visual.is-ready .cmp-transform-particle {
  animation: cmpParticleFlow 3s ease-in-out calc(0.4s + var(--p-i, 0) * 0.55s) infinite;
}

.cmp-transform-particle:nth-child(1) { top: 28%; background: #e2e8f0; }
.cmp-transform-particle:nth-child(2) { top: 50%; background: #bae6fd; }
.cmp-transform-particle:nth-child(3) { top: 72%; background: #a5b4fc; }

@keyframes cmpParticleFlow {
  0% { transform: translateX(0); opacity: 0; }
  15% { opacity: 0.8; }
  85% { opacity: 0.8; }
  100% { transform: translateX(22px); opacity: 0; }
}

@media (max-width: 1023px) {
  .compare-page--shopify .cmp-hero-v2 h1 {
    max-width: none;
  }

  .cmp-transform-visual {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    max-width: 20rem;
    margin-inline: auto;
  }

  .cmp-transform-card--sg {
    transform: scale(1.03);
  }

  .cmp-transform-bridge {
    width: 100%;
    height: 2.25rem;
    min-height: 0;
  }

  .cmp-transform-bridge .cmp-transform-arrow {
    transform: rotate(90deg);
  }

  .cmp-transform-particle {
    animation-name: cmpParticleFlowMobile;
  }

  @keyframes cmpParticleFlowMobile {
    0% { transform: translateY(0); opacity: 0; }
    15% { opacity: 0.8; }
    85% { opacity: 0.8; }
    100% { transform: translateY(22px); opacity: 0; }
  }
}

@media (max-width: 640px) {
  .cmp-hero-v2__header {
    margin-bottom: 1.75rem;
  }

  .compare-page--shopify .cmp-hero-v2 .cmp-hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cmp-stack-scatter {
    height: 5.75rem;
  }

  .cmp-transform-visual {
    max-width: none;
  }

  .cmp-transform-card--sg {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cmp-stack-chip,
  .cmp-stack-line,
  .cmp-transform-arrow,
  .cmp-transform-particle,
  .cmp-transform-card--sg,
  .cmp-sg-glow,
  .cmp-transform-arrow__pulse {
    animation: none !important;
  }

  .cmp-stack-chip {
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  .cmp-transform-card--sg {
    transform: scale(1.03);
    opacity: 1;
  }

  .cmp-transform-arrow {
    opacity: 1;
  }

  .cmp-sg-glow {
    opacity: 0.7;
  }
}

/* Hero ecosystem diagram (legacy — other compare pages) */
.cmp-hero-eco-ring {
  position: relative;
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1;
  margin: 0 auto 0.5rem;
}

.cmp-hero-eco-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cmp-hero-eco-line {
  stroke: #cbd5e1;
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  opacity: 0.85;
}

.cmp-hero-eco-pulse {
  fill: #94a3b8;
  opacity: 0;
  animation: cmpEcoPulse 3s ease-in-out infinite;
}

.cmp-hero-eco-pulse:nth-child(8) { animation-delay: 0s; }
.cmp-hero-eco-pulse:nth-child(9) { animation-delay: 0.5s; }
.cmp-hero-eco-pulse:nth-child(10) { animation-delay: 1s; }
.cmp-hero-eco-pulse:nth-child(11) { animation-delay: 1.5s; }
.cmp-hero-eco-pulse:nth-child(12) { animation-delay: 2s; }
.cmp-hero-eco-pulse:nth-child(13) { animation-delay: 2.5s; }

@keyframes cmpEcoPulse {
  0%, 100% { opacity: 0; }
  20%, 60% { opacity: 0.85; }
  80% { opacity: 0; }
}

.cmp-hero-eco-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.45rem 0.55rem;
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 0.5rem;
  box-shadow: none;
  font-size: 0.5625rem;
  font-weight: 700;
  color: var(--ink);
  z-index: 2;
}

.cmp-hero-eco-hub img {
  width: 1.125rem;
  height: 1.125rem;
}

.cmp-hero-eco-node {
  position: absolute;
  --eco-angle: calc(var(--eco-i, 0) * 60deg - 90deg);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(var(--eco-angle)) translateY(-78px) rotate(calc(-1 * var(--eco-angle)));
  font-size: 0.5625rem;
  font-weight: 600;
  padding: 0.25rem 0.45rem;
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 999px;
  color: var(--muted-60);
  white-space: nowrap;
  z-index: 1;
}

/* Pain point grid */
.cmp-pain-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cmp-pain-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .cmp-pain-grid { grid-template-columns: repeat(3, 1fr); }
}

.cmp-pain-card {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 1rem;
  padding: 1.35rem 1.25rem;
  box-shadow: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.cmp-pain-card:hover {
  border-color: rgba(64, 80, 208, 0.22);
  box-shadow: none;
  transform: translateY(-3px);
}

.cmp-pain-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
  background: var(--off-white);
  border: 1px solid var(--linen);
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.cmp-pain-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.cmp-pain-card p {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted-60);
  margin: 0;
}

/* Table enhancements — Shopify page */
.compare-page--shopify .cmp-table tbody tr:nth-child(even) td {
  background: rgba(248, 250, 252, 0.65);
}

.compare-page--shopify .cmp-table tbody tr:nth-child(even) td.cmp-capability {
  background: #f8fafc;
}

.compare-page--shopify .cmp-table tbody tr:nth-child(even):hover td {
  background: rgba(241, 245, 249, 0.95);
}

.compare-page--shopify .cmp-table tbody tr:nth-child(even):hover td.cmp-col--highlight {
  background: rgba(107, 122, 245, 0.08);
}

.compare-page--shopify .cmp-table .cmp-capability {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--white);
  box-shadow: none;
}

.compare-page--shopify .cmp-table tbody tr:hover td.cmp-capability {
  background: rgba(248, 250, 252, 0.95);
}

.compare-page--shopify .cmp-table thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 4;
  background: var(--off-white);
  box-shadow: none;
}

.compare-page--shopify .cmp-table thead th.cmp-col--highlight {
  z-index: 3;
  background: #edf8fa;
}

.compare-page--shopify .cmp-table tbody td {
  padding: 1.1rem 1.35rem;
}

/* Cost comparison */
.cmp-cost-controls {
  max-width: 520px;
  margin: 0 auto var(--space-xl);
}

.cmp-cost-slider-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.cmp-cost-slider-label strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.cmp-cost-slider {
  width: 100%;
  height: 6px;
  appearance: none;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(64, 80, 208, 0.25), rgba(124, 107, 240, 0.25));
  cursor: pointer;
}

.cmp-cost-slider::-webkit-slider-thumb {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent);
  box-shadow: none;
  transition: transform 0.15s var(--ease);
}

.cmp-cost-slider::-webkit-slider-thumb:hover {
  transform: scale(1.08);
}

.cmp-cost-slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  color: var(--muted-50);
}

.cmp-cost-compare {
  margin-bottom: var(--space-lg);
}

.cmp-cost-line-items {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.cmp-cost-line-items li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--linen);
}

.cmp-cost-line-items li:last-child {
  border-bottom: none;
}

.cmp-cost-line-items strong {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.cmp-cost-line-items--sg li {
  border-bottom: none;
  padding: 0.75rem 0;
}

.cmp-cost-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--linen);
  margin: 0;
}

.cmp-cost-total span {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-50);
  width: 100%;
}

.cmp-cost-total strong {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s var(--ease);
}

.cmp-cost-total small {
  font-size: 0.875rem;
  color: var(--muted-60);
}

.cmp-cost-total--legacy strong {
  color: #64748b;
}

.cmp-cost-total--sg strong {
  color: var(--accent);
}

.cmp-cost-savings {
  text-align: center;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin: 0 0 0.5rem;
}

.cmp-cost-savings-value {
  font-size: 1.375rem;
  font-weight: 700;
  color: #059669;
  font-variant-numeric: tabular-nums;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.cmp-cost-savings-value.is-updating {
  animation: cmpSavingsPop 0.45s var(--ease);
}

@keyframes cmpSavingsPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); color: #047857; }
  100% { transform: scale(1); }
}

.cmp-cost-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-50);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Enhanced workflow — vertical flow */
.cmp-workflow--enhanced .cmp-workflow-steps--vertical {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.cmp-workflow--enhanced .cmp-workflow-step {
  display: block;
  text-align: center;
  width: 100%;
}

.cmp-workflow--enhanced .cmp-workflow-arrow {
  display: block;
  text-align: center;
  padding: 0.15rem 0;
  font-size: 0.875rem;
}

.cmp-workflow-step--delay {
  opacity: 0.72;
  border-style: dashed;
}

.cmp-flow-packet--glow {
  animation: cmpPacketGlow 2.5s ease-in-out infinite;
}

@keyframes cmpPacketGlow {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: none; }
}

.cmp-workflow-panel--sg .cmp-workflow-step.is-active {
  animation: cmpStepGlow 0.85s ease-out;
}

@keyframes cmpStepGlow {
  0% { box-shadow: none; }
  100% { box-shadow: none; }
}

/* Migration timeline */
.cmp-migration-section .cmp-migration-intro {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.cmp-migration-section .cmp-migration-intro h2 {
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.125rem;
}

.cmp-migration-section .cmp-migration-intro .body-lg {
  max-width: 40rem;
  margin-inline: auto;
  line-height: 1.65;
}

.cmp-migration-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem 1.5rem;
  max-width: 52rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  padding: 0;
  list-style: none;
}

.cmp-migration-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.cmp-migration-trust__icon {
  display: grid;
  place-items: center;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(64, 80, 208, 0.08);
  border-radius: 50%;
}

.cmp-migration {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding-top: 0.75rem;
}

.cmp-migration-track {
  position: absolute;
  top: 1.85rem;
  left: 8%;
  right: 8%;
  height: 3px;
  background: var(--linen);
  border-radius: 999px;
  overflow: hidden;
}

.cmp-migration-progress {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gradient);
  border-radius: inherit;
  animation: none;
}

.cmp-migration.is-animated .cmp-migration-progress {
  animation: cmpMigrationFill 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cmp-migration.is-complete .cmp-migration-progress {
  width: 100%;
  animation: none;
}

@keyframes cmpMigrationFill {
  from { width: 0%; }
  to { width: 100%; }
}

.cmp-migration-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .cmp-migration-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.cmp-migration-step {
  position: relative;
  text-align: center;
  padding: 0 0.5rem;
  opacity: 0;
  transform: translateY(14px);
}

.cmp-migration.is-animated .cmp-migration-step {
  animation: cmpMigrationStepIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cmp-migration.is-animated .cmp-migration-step:nth-child(1) { animation-delay: 0.12s; }
.cmp-migration.is-animated .cmp-migration-step:nth-child(2) { animation-delay: 0.28s; }
.cmp-migration.is-animated .cmp-migration-step:nth-child(3) { animation-delay: 0.44s; }
.cmp-migration.is-animated .cmp-migration-step:nth-child(4) { animation-delay: 0.6s; }

.cmp-migration.is-complete .cmp-migration-step {
  opacity: 1;
  transform: none;
  animation: none;
}

@keyframes cmpMigrationStepIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cmp-migration-phase {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-60);
  margin-bottom: 0.5rem;
  transition: color 0.35s ease;
}

.cmp-migration-step strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
  transition: color 0.25s ease;
}

.cmp-migration-step span:last-child {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted-60);
  line-height: 1.5;
}

.cmp-migration-step::before {
  content: '';
  display: block;
  width: 0.875rem;
  height: 0.875rem;
  margin: 0 auto 1.125rem;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--clay);
  box-shadow: none;
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.cmp-migration.is-animated .cmp-migration-step:nth-child(1)::before { animation: cmpMigrationDotActive 0.4s ease-out 0.35s forwards; }
.cmp-migration.is-animated .cmp-migration-step:nth-child(2)::before { animation: cmpMigrationDotActive 0.4s ease-out 0.75s forwards; }
.cmp-migration.is-animated .cmp-migration-step:nth-child(3)::before { animation: cmpMigrationDotActive 0.4s ease-out 1.15s forwards; }
.cmp-migration.is-animated .cmp-migration-step:nth-child(4)::before { animation: cmpMigrationDotActive 0.4s ease-out 1.55s forwards; }

.cmp-migration.is-animated .cmp-migration-step:nth-child(1) .cmp-migration-phase { animation: cmpMigrationPhaseActive 0.3s ease-out 0.35s forwards; }
.cmp-migration.is-animated .cmp-migration-step:nth-child(2) .cmp-migration-phase { animation: cmpMigrationPhaseActive 0.3s ease-out 0.75s forwards; }
.cmp-migration.is-animated .cmp-migration-step:nth-child(3) .cmp-migration-phase { animation: cmpMigrationPhaseActive 0.3s ease-out 1.15s forwards; }
.cmp-migration.is-animated .cmp-migration-step:nth-child(4) .cmp-migration-phase { animation: cmpMigrationPhaseActive 0.3s ease-out 1.55s forwards; }

.cmp-migration.is-complete .cmp-migration-step::before {
  border-color: transparent;
  background: var(--gradient);
  box-shadow: none;
}

.cmp-migration.is-complete .cmp-migration-phase {
  color: var(--accent);
}

@media (hover: hover) {
  .cmp-migration-step:hover::before {
    transform: scale(1.15);
    box-shadow: none;
  }

  .cmp-migration-step:hover strong {
    color: var(--accent-hover);
  }
}

@keyframes cmpMigrationDotActive {
  to {
    border-color: transparent;
    background: var(--gradient);
    box-shadow: none;
  }
}

@keyframes cmpMigrationPhaseActive {
  to { color: var(--accent); }
}

/* Case study cards */
.cmp-case-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cmp-case-grid { grid-template-columns: repeat(3, 1fr); }
}

.cmp-case-card {
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 1rem;
  padding: 1.35rem;
  box-shadow: none;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.cmp-case-card:hover {
  border-color: rgba(64, 80, 208, 0.22);
  transform: translateY(-2px);
  box-shadow: none;
}

.cmp-case-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--linen);
}

.cmp-case-logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  background: var(--gradient-soft);
  border: 1px solid rgba(64, 80, 208, 0.15);
  display: grid;
  place-items: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
  flex-shrink: 0;
}

.cmp-case-brand {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.15rem;
}

.cmp-case-industry {
  font-size: 0.75rem;
  color: var(--muted-60);
  margin: 0;
}

.cmp-case-metrics {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cmp-case-metrics div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  align-items: baseline;
}

.cmp-case-metrics dt {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-50);
}

.cmp-case-metrics dd {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: right;
}

/* Why SellerGrid feature grid */
.cmp-features-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
}

@media (min-width: 540px) {
  .cmp-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .cmp-features-grid { grid-template-columns: repeat(5, 1fr); }
}

.cmp-feature-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 0.75rem;
  box-shadow: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(12px);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.cmp-features-grid.is-visible .cmp-feature-pill {
  animation: cmpFeatureIn 0.5s var(--ease) forwards;
  animation-delay: calc(var(--feature-i, 0) * 0.06s);
}

@keyframes cmpFeatureIn {
  to { opacity: 1; transform: translateY(0); }
}

.cmp-feature-pill:hover {
  border-color: rgba(64, 80, 208, 0.25);
  box-shadow: none;
  transform: translateY(-1px);
}

.cmp-feature-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
  font-size: 0.6875rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* FAQ — Shopify page spacing */
.compare-page--shopify .cmp-faq-list {
  max-width: 760px;
}

.compare-page--shopify .cmp-faq-trigger {
  padding: 1.35rem 0;
  font-size: 1.0625rem;
}

.compare-page--shopify .cmp-faq-answer {
  transition: grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Final CTA banner */
.cmp-close {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 6rem) 0;
  margin-bottom: 0;
}

.cmp-close-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cmp-close-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.cmp-close-glow--a {
  width: min(480px, 70vw);
  height: min(480px, 70vw);
  top: -20%;
  left: -10%;
  background: rgba(107, 122, 245, 0.2);
  animation: cmpCloseDrift 12s ease-in-out infinite;
}

.cmp-close-glow--b {
  width: min(420px, 60vw);
  height: min(420px, 60vw);
  bottom: -25%;
  right: -8%;
  background: rgba(124, 107, 240, 0.18);
  animation: cmpCloseDrift 14s ease-in-out infinite reverse;
}

@keyframes cmpCloseDrift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -15px); }
}

.cmp-close-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(107, 122, 245, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(124, 107, 240, 0.07) 0%, transparent 45%);
  animation: cmpMeshShift 10s ease-in-out infinite alternate;
}

@keyframes cmpMeshShift {
  from { opacity: 0.7; }
  to { opacity: 1; }
}

.cmp-close__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}

.cmp-close__title {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.cmp-close__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

/* Scroll reveal */
.cmp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.cmp-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .cmp-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cmp-hero-eco-pulse,
  .cmp-migration-progress,
  .cmp-migration-step,
  .cmp-migration-step::before,
  .cmp-migration-phase {
    animation: none !important;
  }

  .cmp-migration.is-animated .cmp-migration-progress,
  .cmp-migration.is-complete .cmp-migration-progress {
    width: 100%;
  }

  .cmp-migration.is-animated .cmp-migration-step,
  .cmp-migration.is-complete .cmp-migration-step {
    opacity: 1;
    transform: none;
  }

  .cmp-migration.is-animated .cmp-migration-step::before,
  .cmp-migration.is-complete .cmp-migration-step::before {
    border-color: transparent;
    background: var(--gradient);
    box-shadow: none;
  }

  .cmp-migration.is-animated .cmp-migration-phase,
  .cmp-migration.is-complete .cmp-migration-phase {
    color: var(--accent);
  }
  .cmp-close-glow,
  .cmp-close-mesh,
  .cmp-feature-pill,
  .cmp-flow-packet--glow {
    animation: none;
  }

  .cmp-features-grid .cmp-feature-pill {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767px) {
  .cmp-migration-track {
    display: none;
  }

  .cmp-migration-step::before {
    margin-bottom: 0.65rem;
  }
}
/* Request demo modal — premium enterprise two-panel layout */
body.request-demo-open,
body.sales-enquiry-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}

.request-demo-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(20px, env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right))
    max(20px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  -webkit-overflow-scrolling: touch;
}

.request-demo-modal.is-visible {
  opacity: 1;
}

.request-demo-modal[hidden] {
  display: none;
}

.request-demo-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.request-demo-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 32rem);
  max-height: min(calc(100dvh - 40px), calc(100vh - 40px));
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1.375rem;
  box-shadow: none;
  transform: translateY(1.25rem) scale(0.985);
  transition: transform 0.45s var(--ease);
  touch-action: manipulation;
}

.request-demo-modal.is-visible .request-demo-dialog {
  transform: translateY(0) scale(1);
}

.request-demo-modal.is-success .request-demo-dialog {
  max-width: 28rem;
  max-height: none;
  border-radius: 24px;
}

.request-demo-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--muted-60);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.request-demo-close:hover {
  background: var(--white);
  color: var(--ink);
  border-color: rgba(107, 122, 245, 0.35);
  box-shadow: none;
  transform: scale(1.05);
}

/* Simple single-panel form view */
.request-demo-view--form {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  max-height: min(calc(100dvh - 40px), calc(100vh - 40px));
  overflow: hidden;
}

.request-demo-view--form[hidden],
.request-demo-view--success[hidden] {
  display: none !important;
}

/* Left branded panel — no scroll, vertically centered */
.request-demo-brand {
  position: relative;
  flex: 2 1 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: clamp(1.75rem, 3vw, 2.25rem) clamp(1.75rem, 3vw, 2.25rem);
  background:
    linear-gradient(165deg, rgba(224, 242, 254, 0.95) 0%, rgba(240, 253, 250, 0.88) 45%, rgba(238, 242, 255, 0.75) 100%);
  border-right: 1px solid rgba(226, 232, 240, 0.65);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.request-demo-brand-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 15%, rgba(107, 122, 245, 0.18), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(124, 107, 240, 0.14), transparent 40%);
}

.request-demo-workflow {
  position: absolute;
  top: 50%;
  right: clamp(0.75rem, 2vw, 1.25rem);
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.request-demo-module {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: request-demo-float 4s var(--ease) infinite;
  animation-delay: calc(var(--module-i, 0) * 0.35s);
}

@keyframes request-demo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.request-demo-module-card {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.65rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 0.625rem;
  box-shadow: none;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}

.request-demo-module-icon {
  display: inline-flex;
  font-size: 0.75rem;
  line-height: 1;
}

.request-demo-module-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 0.85rem;
  position: relative;
}

.request-demo-module-connector::before {
  content: '';
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, rgba(64, 80, 208, 0.35), rgba(124, 107, 240, 0.25));
}

.request-demo-module-arrow {
  position: absolute;
  bottom: -0.15rem;
  font-size: 0.625rem;
  color: rgba(64, 80, 208, 0.5);
  line-height: 1;
}

.request-demo-brand-content {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding-right: clamp(4.75rem, 30%, 6.25rem);
}

.request-demo-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(107, 122, 245, 0.25);
  border-radius: 999px;
}

.request-demo-brand-title {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.request-demo-brand-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted-60);
  margin-bottom: 1.25rem;
}

.request-demo-benefits {
  margin-bottom: 1.25rem;
}

.request-demo-benefits-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.request-demo-benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.request-demo-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.request-demo-benefit-check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.1rem;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(107, 122, 245, 0.12);
  border-radius: 50%;
}

.request-demo-trust {
  margin-bottom: 0;
}

.request-demo-trust-item--featured {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.request-demo-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.request-demo-trust-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.65rem 0.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 0.75rem;
}

.request-demo-trust-stat strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.request-demo-trust-stat span {
  font-size: 0.6875rem;
  color: var(--muted);
  text-transform: lowercase;
}

/* Form panel */
.request-demo-form-panel {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2rem);
  padding-top: clamp(2rem, 3.5vw, 2.5rem);
  background: var(--white);
}

.request-demo-form-header {
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  margin-bottom: 0;
  padding-bottom: 1rem;
}

.request-demo-progress {
  margin-bottom: 1.25rem;
}

.request-demo-progress-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.request-demo-progress-bar {
  height: 3px;
  background: var(--chalk);
  border-radius: 999px;
  overflow: hidden;
}

.request-demo-progress-bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--dash-accent-gradient-90);
  border-radius: inherit;
  transform-origin: left;
  animation: request-demo-progress-in 0.6s var(--ease) forwards;
}

@keyframes request-demo-progress-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.request-demo-form-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.request-demo-form-lead {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted-60);
}

/* Callback badge */
.request-demo-callback-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(107, 122, 245, 0.06) 0%, rgba(124, 107, 240, 0.04) 100%);
  border: 1px solid rgba(107, 122, 245, 0.14);
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ink);
}

.request-demo-callback-badge svg {
  flex-shrink: 0;
  color: var(--accent, #6B7AF5);
}

.request-demo-callback-badge strong {
  font-weight: 700;
}

/* Team message */
.request-demo-team-message {
  padding: 0.625rem 0.75rem;
  background: var(--chalk);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 0.5rem;
  margin-top: 0.125rem;
}

.request-demo-team-message p {
  font-size: 0.6875rem;
  line-height: 1.55;
  color: var(--muted-60);
  margin: 0;
}

.request-demo-team-message p + p {
  margin-top: 0.375rem;
}

.request-demo-team-message strong {
  font-weight: 600;
  color: var(--ink);
}

.request-demo-team-sign {
  margin-top: 0.375rem !important;
  font-weight: 500;
  color: var(--muted) !important;
  font-style: italic;
}

.request-demo-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.request-demo-form-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-right: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.request-demo-form-scroll::-webkit-scrollbar {
  display: none;
}

.request-demo-form-footer {
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  z-index: 10;
  background: var(--white);
  padding-top: 1rem;
  border-top: 1px solid var(--surface);
}

.request-demo-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.request-demo-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.request-demo-field--full {
  grid-column: 1 / -1;
}

.request-demo-field label,
.request-demo-field-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.request-demo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.request-demo-chip {
  position: relative;
  display: inline-flex;
  cursor: pointer;
  margin: 0;
}

.request-demo-chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.request-demo-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.375rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--ink-soft);
  background: var(--off-white);
  border: 1px solid var(--linen);
  border-radius: 999px;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.request-demo-chip input:focus-visible + span {
  outline: 2px solid rgba(64, 80, 208, 0.45);
  outline-offset: 2px;
}

.request-demo-chip input:checked + span {
  color: #3341B0;
  background: rgba(64, 80, 208, 0.08);
  border-color: rgba(64, 80, 208, 0.35);
  box-shadow: none;
}

.request-demo-chip:hover span {
  border-color: rgba(64, 80, 208, 0.28);
}

.request-demo-field--error .request-demo-chip span {
  border-color: rgba(220, 38, 38, 0.35);
}

.request-demo-optional {
  font-weight: 500;
  color: var(--muted);
}

.request-demo-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.request-demo-input-icon {
  position: absolute;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  pointer-events: none;
  transition: color 0.25s var(--ease);
  z-index: 1;
}

.request-demo-input-wrap:focus-within .request-demo-input-icon {
  color: var(--accent);
}

.request-demo-field input,
.request-demo-field select,
.request-demo-field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background: rgba(248, 250, 252, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1rem;
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}

.request-demo-field input,
.request-demo-field select {
  height: 3.5rem;
  padding: 0 1rem 0 2.75rem;
}

.request-demo-field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.request-demo-input-wrap--textarea {
  align-items: flex-start;
}

.request-demo-input-wrap--textarea .request-demo-input-icon {
  top: 1rem;
}

.request-demo-field textarea {
  resize: vertical;
  min-height: 7rem;
  padding: 1rem 1rem 1rem 2.75rem;
  line-height: 1.5;
}

.request-demo-field input:focus,
.request-demo-field select:focus,
.request-demo-field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: rgba(107, 122, 245, 0.55);
  box-shadow: none;
}

.request-demo-field--error input,
.request-demo-field--error select,
.request-demo-field--error textarea {
  border-color: rgba(251, 146, 60, 0.45);
  box-shadow: none;
}

.request-demo-field-error {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #c2410c;
  padding-left: 0.15rem;
}

.request-demo-form-error {
  font-size: 0.875rem;
  line-height: 1.45;
  color: #9a3412;
  background: rgba(255, 247, 237, 0.9);
  border: 1px solid rgba(251, 146, 60, 0.25);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
}

.request-demo-cta-block {
  margin-top: 0;
}

.request-demo-response-time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-60);
  margin-bottom: 0.75rem;
}

.request-demo-response-time svg {
  color: var(--accent-bright);
  flex-shrink: 0;
}

.request-demo-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.75rem;
  height: 3.5rem;
  padding: 0 1.5rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: var(--dash-accent-gradient-90);
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow: none;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    opacity 0.25s;
}

.request-demo-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: none;
}

.request-demo-submit:active:not(:disabled) {
  transform: translateY(0);
}

.request-demo-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.request-demo-submit-arrow {
  display: inline-flex;
  transition: transform 0.25s var(--ease);
}

.request-demo-submit:hover:not(:disabled) .request-demo-submit-arrow {
  transform: translateX(3px);
}

.request-demo-submit-spinner {
  display: none;
  width: 1.125rem;
  height: 1.125rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: request-demo-spin 0.7s linear infinite;
}

.request-demo-submit.is-loading .request-demo-submit-arrow {
  display: none;
}

.request-demo-submit.is-loading .request-demo-submit-spinner {
  display: block;
}

@keyframes request-demo-spin {
  to { transform: rotate(360deg); }
}

.request-demo-trust-bar {
  margin-top: 1rem;
  padding-top: 0;
  border-top: none;
  text-align: center;
}

.request-demo-trust-bar p {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

.request-demo-trust-bar p:first-child {
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.25rem;
}

/* Success view — minimal confirmation */
.request-demo-view--success {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow-y: auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.75rem, 4vw, 2.5rem);
  background:
    radial-gradient(circle at 50% 18%, rgba(64, 80, 208, 0.06), transparent 58%),
    var(--white);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.request-demo-view--success::-webkit-scrollbar {
  display: none;
}

.request-demo-view--success.is-animate {
  opacity: 1;
  transform: translateY(0);
}

.request-demo-success {
  width: min(100%, 24rem);
  text-align: center;
}

.request-demo-success-visual {
  position: relative;
  width: 4.25rem;
  height: 4.25rem;
  margin: 0 auto 1.75rem;
}

.request-demo-success-glow {
  position: absolute;
  inset: -0.75rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 80, 208, 0.14) 0%, transparent 72%);
  pointer-events: none;
}

.request-demo-success-check {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--white);
  border: 1px solid rgba(64, 80, 208, 0.12);
  border-radius: 50%;
  color: #4050D0;
  box-shadow: none;
  animation: request-demo-check-pop 0.5s var(--ease) 0.1s both;
}

@keyframes request-demo-check-pop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.request-demo-success-title {
  font-size: clamp(1.625rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 1rem;
}

.request-demo-success-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted-60);
  margin: 0 0 2rem;
}

.request-demo-success-actions {
  display: flex;
  flex-direction: column;
}

.request-demo-success-btn {
  width: 100%;
  opacity: 0;
  animation: request-demo-btn-in 0.45s var(--ease) 0.25s both;
}

@keyframes request-demo-btn-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .request-demo-view--success,
  .request-demo-success-check,
  .request-demo-success-btn {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}

.request-demo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 1.25rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.875rem;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}

.request-demo-btn--primary {
  color: var(--white);
  background: var(--dash-accent-gradient-90);
  border: none;
  box-shadow: none;
}

.request-demo-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: none;
}

/* Responsive — mobile/tablet form fixes (desktop layout unchanged above 860px) */
@media (max-width: 860px) {
  .request-demo-modal {
    align-items: center;
    padding:
      max(12px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      max(12px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
  }

  .request-demo-dialog {
    width: min(100%, 95vw);
    max-height: min(calc(100dvh - 24px), calc(100vh - 24px));
  }

  .request-demo-view--form {
    flex-direction: column;
    overflow: hidden;
    max-height: min(calc(100dvh - 24px), calc(100vh - 24px));
  }

  /* Brand panel no longer used — keep hide rule for safety */
  .request-demo-brand {
    display: none;
  }

  .request-demo-form-panel {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 1.25rem;
    padding-top: 2.75rem;
  }

  .request-demo-form-header {
    position: static;
    padding-bottom: 0.75rem;
  }

  .request-demo-form {
    overflow: visible;
    flex: none;
  }

  .request-demo-form-scroll {
    overflow: visible;
    flex: none;
    min-height: auto;
    padding-right: 0;
  }

  .request-demo-form-footer {
    position: static;
    padding-top: 0.75rem;
  }

  .request-demo-row {
    grid-template-columns: 1fr;
  }

  .request-demo-field input,
  .request-demo-field select {
    min-height: 2.75rem;
    height: auto;
  }
}

@media (max-width: 580px) {
  .request-demo-modal {
    padding:
      max(8px, env(safe-area-inset-top))
      max(8px, env(safe-area-inset-right))
      max(8px, env(safe-area-inset-bottom))
      max(8px, env(safe-area-inset-left));
  }

  .request-demo-dialog {
    border-radius: 1.125rem;
    max-height: min(calc(100dvh - 16px), calc(100vh - 16px));
  }

  .request-demo-modal.is-success .request-demo-dialog {
    max-height: min(calc(100dvh - 16px), calc(100vh - 16px));
  }

  .request-demo-close {
    top: max(0.75rem, env(safe-area-inset-top));
    right: max(0.75rem, env(safe-area-inset-right));
  }

  .request-demo-form-panel {
    padding: 1rem;
    padding-top: 2.5rem;
  }
}

/* Sales enquiry modal — Enterprise plan on pricing page */
.sales-enquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(16px, env(safe-area-inset-top))
    max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom))
    max(16px, env(safe-area-inset-left));
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.sales-enquiry-modal.is-visible {
  opacity: 1;
}

.sales-enquiry-modal[hidden] {
  display: none;
}

.sales-enquiry-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.sales-enquiry-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 32rem);
  max-height: min(calc(100dvh - 32px), calc(100vh - 32px));
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1.25rem;
  box-shadow: none;
  transform: translateY(1rem) scale(0.985);
  transition: transform 0.4s var(--ease), max-width 0.35s var(--ease);
}

.sales-enquiry-modal.is-visible .sales-enquiry-dialog {
  transform: translateY(0) scale(1);
}

.sales-enquiry-modal.is-success .sales-enquiry-dialog {
  max-width: 24rem;
}

.sales-enquiry-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted-60);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.sales-enquiry-close:hover {
  background: var(--white);
  color: var(--ink);
  border-color: rgba(107, 122, 245, 0.35);
}

.sales-enquiry-view--form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: min(calc(100dvh - 32px), calc(100vh - 32px));
  overflow: hidden;
}

.sales-enquiry-view--success[hidden],
.sales-enquiry-view--form[hidden] {
  display: none !important;
}

.sales-enquiry-header {
  flex-shrink: 0;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(1.25rem, 4vw, 2rem) 1rem;
  padding-right: 3.5rem;
}

.sales-enquiry-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
}

.sales-enquiry-subtitle {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted-60);
}

.sales-enquiry-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.sales-enquiry-form-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 clamp(1.25rem, 4vw, 2rem) 1rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.sales-enquiry-form-footer {
  flex-shrink: 0;
  padding: 0 clamp(1.25rem, 4vw, 2rem) clamp(1.25rem, 4vw, 2rem);
}

.sales-enquiry-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.sales-enquiry-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.sales-enquiry-optional {
  font-weight: 500;
  color: var(--muted);
}

.sales-enquiry-field input,
.sales-enquiry-field select,
.sales-enquiry-field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 0.875rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.sales-enquiry-field input,
.sales-enquiry-field select {
  height: 3rem;
  padding: 0 1rem;
}

.sales-enquiry-field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.sales-enquiry-field textarea {
  resize: vertical;
  min-height: 6.5rem;
  padding: 0.875rem 1rem;
  line-height: 1.5;
}

.sales-enquiry-field input:focus,
.sales-enquiry-field select:focus,
.sales-enquiry-field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: rgba(107, 122, 245, 0.55);
  box-shadow: none;
}

.sales-enquiry-field--error input,
.sales-enquiry-field--error select,
.sales-enquiry-field--error textarea {
  border-color: rgba(251, 146, 60, 0.45);
  box-shadow: none;
}

.sales-enquiry-field-error {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #c2410c;
}

.sales-enquiry-submit {
  position: relative;
  width: 100%;
  justify-content: center;
}

.sales-enquiry-submit.is-loading .sales-enquiry-submit-spinner {
  display: inline-block;
}

.sales-enquiry-submit-spinner {
  display: none;
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: sales-enquiry-spin 0.7s linear infinite;
}

@keyframes sales-enquiry-spin {
  to { transform: rotate(360deg); }
}

.sales-enquiry-form-error {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  text-align: center;
  color: #9a3412;
}

.sales-enquiry-form-error[hidden] {
  display: none;
}

.sales-enquiry-view--success {
  padding: clamp(2rem, 5vw, 2.5rem) clamp(1.5rem, 4vw, 2rem);
}

.sales-enquiry-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.sales-enquiry-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
}

.sales-enquiry-success-message {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.sales-enquiry-success .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 580px) {
  .sales-enquiry-modal {
    padding:
      max(12px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      max(12px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
  }

  .sales-enquiry-dialog {
    width: 100%;
    max-height: min(calc(100dvh - 24px), calc(100vh - 24px));
    border-radius: 1rem;
  }

  .sales-enquiry-header {
    padding-right: 3.25rem;
  }
}

/* ========== PRICING PAGE ========== */
.pricing-page-hero {
  padding-block: clamp(2rem, 4vw, 3rem);
}

.pricing-page-hero__intro {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.pricing-page-hero__intro .heading-3 {
  margin-bottom: var(--space-md);
}

.pricing-page-hero__intro .body-lg {
  margin: 0;
}

.pricing-plans-section {
  padding-block: clamp(2rem, 4vw, 3rem) 4rem;
}

.pricing-plans-note {
  margin: 2rem auto 0;
  max-width: 36rem;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted-50);
}

/* ========== PRICING PAGE — BOTTOM SECTIONS ========== */
.pricing-bottom-section {
  animation: pricing-fade-up 0.28s var(--ease) both;
}

@keyframes pricing-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-bottom-section {
    animation: none;
  }

  .pricing-enterprise-banner__inner:hover {
    transform: none;
  }

  .pricing-btn:hover {
    transform: none;
  }

  .pricing-faq-answer {
    transition: none;
  }
}

.pricing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 0.5rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    background 0.22s var(--ease),
    border-color 0.22s var(--ease),
    color 0.22s var(--ease);
}

.pricing-btn--lg {
  height: 3.25rem;
  padding: 0 1.5rem;
  font-size: 1rem;
}

.pricing-btn:hover {
  transform: translateY(-2px);
}

.pricing-btn--primary {
  background: #081426;
  color: var(--white);
  box-shadow: none;
}

.pricing-btn--primary:hover {
  box-shadow: none;
}

.pricing-btn--secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--linen);
}

.pricing-btn--secondary:hover {
  background: var(--off-white);
  border-color: var(--clay);
}

.pricing-btn--light {
  background: var(--white);
  color: #081426;
  box-shadow: none;
}

.pricing-btn--light:hover {
  box-shadow: none;
}

.pricing-btn--ghost-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.28);
}

.pricing-btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.45);
}

/* Section 1 — Enterprise banner */
.pricing-enterprise-banner {
  margin-bottom: 5rem;
}

.pricing-enterprise-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3rem);
  background: #081426;
  border-radius: 2rem;
  color: var(--white);
  transition: transform 0.28s var(--ease);
}

.pricing-enterprise-banner__inner:hover {
  transform: scale(1.004);
}

@media (min-width: 900px) {
  .pricing-enterprise-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: clamp(2.5rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4rem);
    gap: 3rem;
  }
}

.pricing-enterprise-banner__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 36rem;
}

.pricing-enterprise-banner__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.pricing-enterprise-banner__title {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--white);
}

.pricing-enterprise-banner__desc {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.pricing-enterprise-banner__benefits {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing-enterprise-banner__benefits li {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 1.25rem;
  position: relative;
}

.pricing-enterprise-banner__benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: rgba(107, 122, 245, 0.85);
  font-size: 0.8125rem;
  font-weight: 700;
}

.pricing-enterprise-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .pricing-enterprise-banner__actions {
    min-width: 12rem;
  }
}

.pricing-enterprise-banner__actions .pricing-btn {
  width: 100%;
}

/* Section 2 — FAQ */
.pricing-faq {
  margin-top: 4rem;
  margin-bottom: 5rem;
}

.pricing-faq__title {
  margin: 0 0 2rem;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-align: center;
}

.pricing-faq-list {
  max-width: 40rem;
  margin: 0 auto;
}

.pricing-faq-item {
  border-bottom: 1px solid var(--linen);
}

.pricing-faq-item:first-child {
  border-top: 1px solid var(--linen);
}

.pricing-faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: color 0.22s var(--ease);
}

.pricing-faq-trigger:hover {
  color: var(--accent);
}

.pricing-faq-trigger svg {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.28s var(--ease), color 0.22s var(--ease);
}

.pricing-faq-item.is-open .pricing-faq-trigger svg {
  transform: rotate(180deg);
  color: var(--ink);
}

.pricing-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s var(--ease);
}

.pricing-faq-answer-inner {
  padding-bottom: 1.25rem;
}

.pricing-faq-answer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted-60);
}

/* Section 3 — Final CTA */
.pricing-close {
  padding-bottom: 4rem;
}

.pricing-divider {
  border: none;
  border-top: 1px solid var(--linen);
  margin: 0;
}

.pricing-close__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 0;
  gap: 1.5rem;
}

.pricing-close__title {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.pricing-close__copy {
  margin: 0;
  max-width: 32rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--muted-60);
}

.pricing-close__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.pricing-close__trust {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.pricing-close__trust li {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
}

.pricing-close__trust li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
}

@media (max-width: 580px) {
  .pricing-close__actions {
    flex-direction: column;
    width: 100%;
    max-width: 20rem;
  }

  .pricing-close__actions .pricing-btn {
    width: 100%;
  }

  .pricing-close__trust {
    flex-direction: column;
    gap: 0.35rem;
  }
}

.pricing-plans-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
  padding-top: 0.85rem;
}

@media (min-width: 640px) {
  .pricing-plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .pricing-plans-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pricing-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  --plan-pad: clamp(1.25rem, 2vw, 1.75rem);
  background: var(--white);
  border: 1px solid var(--linen);
  border-radius: 1rem;
  padding: var(--plan-pad) var(--plan-pad) 0;
  box-shadow: none;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.pricing-plan-head {
  flex-shrink: 0;
}

.pricing-plan-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-top: 1.25rem;
  padding-bottom: 0.5rem;
  overflow: hidden;
}

.pricing-plan-footer {
  flex-shrink: 0;
  margin-top: auto;
  margin-left: calc(-1 * var(--plan-pad));
  margin-right: calc(-1 * var(--plan-pad));
  min-height: 8.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem var(--plan-pad) var(--plan-pad);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0 0 1rem 1rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.82) 100%);
  box-shadow: none;
}

.pricing-plan-card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.pricing-plan-card--featured {
  background: linear-gradient(135deg, rgba(107, 122, 245, 0.06) 0%, rgba(124, 107, 240, 0.06) 100%);
  border-color: rgba(64, 80, 208, 0.25);
  box-shadow: none;
}

.pricing-plan-card--featured .pricing-plan-footer {
  border-top-color: rgba(64, 80, 208, 0.14);
  background: linear-gradient(180deg, rgba(236, 254, 255, 0.92) 0%, rgba(224, 242, 254, 0.72) 100%);
  box-shadow: none;
}

.pricing-plan-card--featured:hover {
  border-color: rgba(64, 80, 208, 0.4);
}

.pricing-plan-card--enterprise {
  border-color: rgba(15, 23, 42, 0.12);
}

.pricing-plan-card--enterprise .pricing-plan-footer {
  border-top-color: rgba(15, 23, 42, 0.1);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(226, 232, 240, 0.55) 100%);
}

.pricing-plan-badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--accent);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-plan-trial-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.625rem;
  padding: 0.3125rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #0f766e;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 999px;
}

.pricing-plan-trial-note {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted-60);
}

.pricing-plan-price {
  margin: 0.75rem 0 0;
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}

.pricing-plan-card--featured .pricing-plan-price {
  color: var(--accent);
}

.pricing-plan-limits {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pricing-plan-limits li {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted-60);
  padding-left: 1.1rem;
  position: relative;
}

.pricing-plan-limits li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--clay);
  font-weight: 700;
}

.pricing-plan-limit--pending {
  color: var(--muted);
  font-style: italic;
}

.pricing-plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing-plan-features li {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.45;
}

.pricing-plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 700;
  font-size: 0.75rem;
}

.pricing-plan-premium {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--chalk);
}

.pricing-plan-premium-heading {
  margin: 0 0 0.65rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-plan-premium-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing-plan-premium-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink-soft);
  padding-left: 1.1rem;
  position: relative;
}

.pricing-plan-premium-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 700;
  font-size: 0.75rem;
}

.pricing-plan-premium-item-label {
  flex: 1 1 auto;
  min-width: 0;
}

.pricing-plan-feature-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.15rem 0.45rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(107, 122, 245, 0.12);
  border: 1px solid rgba(107, 122, 245, 0.22);
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.2;
}

.pricing-plan-cta-block {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
}

.pricing-plan-cta {
  width: 100%;
  min-height: 3rem;
  text-align: center;
  justify-content: center;
  box-shadow: none;
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.pricing-plan-cta:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.pricing-plan-cta:active {
  transform: translateY(0);
}

.pricing-plan-cta-helper {
  margin: 0;
  padding: 0 0.35rem;
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
  color: var(--muted);
  min-height: 2.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 404 — not found */
.not-found-page .nf-hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: clamp(3rem, 8vw, 6rem) 0;
  overflow: hidden;
}

.not-found-page .nf-hero__inner {
  position: relative;
  max-width: 40rem;
  text-align: center;
  margin-inline: auto;
}

.not-found-page .nf-hero__code {
  font-family: var(--font-mono);
  font-size: clamp(5.5rem, 18vw, 9rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.06em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--space-lg);
  user-select: none;
  animation: nf-code-in 0.7s var(--ease) both;
}

.not-found-page .nf-hero__eyebrow {
  margin-bottom: var(--space-sm);
  animation: nf-rise 0.55s var(--ease) 0.08s both;
}

.not-found-page .nf-hero__title {
  margin-bottom: var(--space-md);
  animation: nf-rise 0.55s var(--ease) 0.14s both;
}

.not-found-page .nf-hero__lead {
  margin-inline: auto;
  margin-bottom: var(--space-xl);
  animation: nf-rise 0.55s var(--ease) 0.2s both;
}

.not-found-page .nf-hero__actions {
  justify-content: center;
  margin-top: 0;
  margin-bottom: var(--space-2xl);
  animation: nf-rise 0.55s var(--ease) 0.26s both;
}

.not-found-page .nf-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md) var(--space-lg);
  animation: nf-rise 0.55s var(--ease) 0.32s both;
}

.not-found-page .nf-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.not-found-page .nf-links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent-border);
}

@keyframes nf-code-in {
  from {
    opacity: 0;
    transform: translateY(0.6rem) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes nf-rise {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .not-found-page .nf-hero__code,
  .not-found-page .nf-hero__eyebrow,
  .not-found-page .nf-hero__title,
  .not-found-page .nf-hero__lead,
  .not-found-page .nf-hero__actions,
  .not-found-page .nf-links {
    animation: none;
  }
}

/* Privacy policy */
.privacy-page .pp-doc {
  padding: 0 0 var(--space-3xl);
}

.privacy-page .pp-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.75rem, 7vw, 5rem) 0 clamp(2.25rem, 5vw, 3.25rem);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.privacy-page .pp-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.privacy-page .pp-hero__glow {
  position: absolute;
  top: -30%;
  left: 50%;
  width: min(52rem, 120vw);
  height: 22rem;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(64, 80, 208, 0.14), transparent 68%);
}

.privacy-page .pp-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
}

.privacy-page .pp-doc__header {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  animation: pp-rise 0.55s var(--ease) both;
}

.privacy-page .pp-doc__title {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.privacy-page .pp-doc__updated {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1.5rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 999px;
  box-shadow: none;
}

.privacy-page .pp-doc__intro {
  margin: 0;
  font-size: clamp(1.0625rem, 2.2vw, 1.1875rem);
  line-height: 1.7;
  max-width: 40rem;
  color: var(--muted-60);
}

.privacy-page .pp-doc__intro a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.privacy-page .pp-doc__body {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: start;
  padding-top: clamp(2rem, 5vw, 3.25rem);
}

.privacy-page .pp-toc {
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1rem;
  box-shadow: none;
  animation: pp-rise 0.55s var(--ease) 0.08s both;
}

.privacy-page .pp-toc__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-50);
  margin: 0 0 1rem;
}

.privacy-page .pp-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}

.privacy-page .pp-toc__list a {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.55rem 0.6rem;
  margin: 0 -0.35rem;
  border-radius: 0.55rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-soft);
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.privacy-page .pp-toc__num {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted-50);
}

.privacy-page .pp-toc__list a:hover {
  background: var(--off-white);
  color: var(--accent-hover);
}

.privacy-page .pp-toc__list a:hover .pp-toc__num {
  color: var(--accent);
}

.privacy-page .pp-sections {
  display: grid;
  gap: 0;
  max-width: 44rem;
  animation: pp-rise 0.55s var(--ease) 0.14s both;
}

.privacy-page .pp-section {
  scroll-margin-top: calc(var(--header-h) + var(--space-lg));
  padding: clamp(1.5rem, 3vw, 2rem) 0;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.privacy-page .pp-section:first-child {
  border-top: none;
  padding-top: 0;
}

.privacy-page .pp-section h2 {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  flex-wrap: wrap;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 0 0 1rem;
  color: var(--ink);
}

.privacy-page .pp-section__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.privacy-page .pp-section h3 {
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin: 1.5rem 0 0.65rem;
  color: var(--ink);
}

.privacy-page .pp-section p,
.privacy-page .pp-section li {
  font-size: 1.015625rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.privacy-page .pp-section p {
  margin: 0;
}

.privacy-page .pp-section p + p {
  margin-top: 1rem;
}

.privacy-page .pp-section ul {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.privacy-page .pp-section li {
  position: relative;
  padding-left: 1.15rem;
}

.privacy-page .pp-section li::before {
  content: '';
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.privacy-page .pp-section a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-color: rgba(51, 65, 176, 0.35);
  transition: color 0.15s var(--ease), text-decoration-color 0.15s var(--ease);
}

.privacy-page .pp-section a:hover {
  color: var(--accent);
  text-decoration-color: rgba(64, 80, 208, 0.7);
}

.privacy-page .pp-contact-card {
  margin-top: 1.25rem;
  padding: 1.35rem 1.4rem;
  background:
    linear-gradient(145deg, rgba(64, 80, 208, 0.06), rgba(255, 255, 255, 0.9) 42%),
    #fff;
  border: 1px solid rgba(64, 80, 208, 0.16);
  border-radius: 1rem;
  box-shadow: none;
}

.privacy-page .pp-contact-card__brand {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.privacy-page .pp-contact-card__meta {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.15rem;
}

.privacy-page .pp-contact-card__meta dt {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-50);
  margin-bottom: 0.2rem;
}

.privacy-page .pp-contact-card__meta dd {
  margin: 0;
  font-size: 0.9875rem;
  font-weight: 550;
  color: var(--ink-soft);
}

.privacy-page .pp-contact-card__link {
  display: inline-flex;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 650;
  color: var(--accent-hover);
  text-decoration: none;
}

.privacy-page .pp-contact-card__link:hover {
  color: var(--accent);
}

@keyframes pp-rise {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 960px) {
  .privacy-page .pp-doc__body {
    grid-template-columns: minmax(15rem, 18rem) minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  .privacy-page .pp-toc {
    position: sticky;
    top: calc(var(--header-h) + 1.25rem);
  }

  .privacy-page .pp-sections {
    padding-left: 0.25rem;
  }
}

@media (max-width: 959px) {
  .privacy-page .pp-toc {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .privacy-page .pp-toc__list {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .privacy-page .pp-toc__list::-webkit-scrollbar {
    display: none;
  }

  .privacy-page .pp-toc__list li {
    flex: 0 0 auto;
  }

  .privacy-page .pp-toc__list a {
    margin: 0;
    padding: 0.5rem 0.75rem;
    background: var(--off-white);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 999px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .privacy-page .pp-toc__num {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-page .pp-doc__header,
  .privacy-page .pp-toc,
  .privacy-page .pp-sections {
    animation: none;
  }
}

/* Facebook data deletion page */
.data-deletion-page .dd-callout {
  margin: 1.35rem 0 0;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 0.65rem 0.65rem 0;
  background: rgba(64, 80, 208, 0.06);
}

.data-deletion-page .dd-callout p {
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.data-deletion-page .pp-section .dd-steps {
  margin: 0.9rem 0 1.35rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  counter-reset: dd-step;
}

.data-deletion-page .pp-section .dd-steps li {
  counter-increment: dd-step;
  position: relative;
  margin: 0;
  padding-left: 2.55rem;
}

.data-deletion-page .pp-section .dd-steps li::before {
  content: counter(dd-step);
  position: absolute;
  top: 0.1rem;
  left: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(64, 80, 208, 0.1);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 1;
}

.data-deletion-page .pp-section .dd-email {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 1.35rem 0;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(64, 80, 208, 0.24);
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(64, 80, 208, 0.07), rgba(255, 255, 255, 0.9));
  text-decoration: none;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.data-deletion-page .pp-section .dd-email:hover {
  border-color: rgba(64, 80, 208, 0.6);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  text-decoration: none;
}

.data-deletion-page .dd-email__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-50);
}

.data-deletion-page .dd-email__address {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--accent);
}

.data-deletion-page .dd-email__hint {
  font-size: 0.86rem;
  color: var(--muted-60);
}

.data-deletion-page .dd-table-wrap {
  margin: 1.25rem 0;
  overflow-x: auto;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 0.85rem;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.data-deletion-page .pp-section .dd-table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  font-size: 0.93rem;
  line-height: 1.55;
}

.data-deletion-page .dd-table__caption {
  padding: 0.9rem 1rem;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-50);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.data-deletion-page .dd-table th,
.data-deletion-page .dd-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
}

.data-deletion-page .dd-table thead th {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-50);
  background: rgba(248, 250, 252, 0.9);
}

.data-deletion-page .dd-table tbody th {
  font-weight: 650;
  color: var(--ink);
}

.data-deletion-page .dd-table td {
  color: var(--ink-soft);
}

.data-deletion-page .dd-table tbody tr:last-child th,
.data-deletion-page .dd-table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 640px) {
  .data-deletion-page .pp-section .dd-steps li {
    padding-left: 2.3rem;
  }

  .data-deletion-page .pp-section .dd-email {
    padding: 1rem;
  }
}

/* ========== STORE COMPATIBILITY BAR ========== */
/* Slim strip directly under the hero on every page. Reassures visitors who are
   wary of replatforming that SellerGrid works with the store they already run:
   Shopify, WooCommerce, or the native SellerGrid storefront. */
.compat-bar {
  padding: clamp(1.1rem, 2.2vw, 1.6rem) 0 clamp(1.4rem, 2.6vw, 2rem);
  background: linear-gradient(180deg, var(--off-white) 0%, rgba(248, 250, 252, 0) 100%);
  border-top: 1px solid rgba(226, 232, 240, 0.75);
}

.compat-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem var(--space-md);
  text-align: center;
}

.compat-bar__lead {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--ink-soft);
}

.compat-bar__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs) 0.6rem;
  list-style: none;
}

.compat-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.compat-bar__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  flex: none;
}

.compat-bar__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 600px) {
  .compat-bar__lead { font-size: 0.8125rem; }
  .compat-bar__item { font-size: 0.75rem; padding: 0.35rem 0.65rem; }
}
