/* =============================================
   1. DESIGN TOKENS
   ============================================= */
:root {
  /* Core colours */
  --primary:          #4b2a63;
  --primary-light:    #844cac;
  --primary-dark:     #3a2050;
  --surface:          #f6f5f1;
  --surface-dark:     #2a1738;
  --surface-darker:   #1a0e25;
  --accent:           #9bcf6a;
  --white:            #ffffff;
  --charcoal:         #1a1a1a;

  /* Primary alpha scale */
  --primary-08:  rgba(75, 42, 99, 0.08);
  --primary-10:  rgba(75, 42, 99, 0.10);
  --primary-22:  rgba(75, 42, 99, 0.22);
  --primary-35:  rgba(75, 42, 99, 0.35);
  --primary-45:  rgba(75, 42, 99, 0.45);
  --primary-55:  rgba(75, 42, 99, 0.55);
  --primary-70:  rgba(75, 42, 99, 0.70);

  /* White alpha scale */
  --white-05:  rgba(255, 255, 255, 0.05);
  --white-09:  rgba(255, 255, 255, 0.09);
  --white-22:  rgba(255, 255, 255, 0.22);
  --white-30:  rgba(255, 255, 255, 0.30);
  --white-50:  rgba(255, 255, 255, 0.50);
  --white-95:  rgba(255, 255, 255, 0.95);

  /* Charcoal alpha scale */
  --charcoal-04:  rgba(26, 26, 26, 0.04);
  --charcoal-07:  rgba(26, 26, 26, 0.07);
  --charcoal-10:  rgba(26, 26, 26, 0.10);
  --charcoal-50:  rgba(26, 26, 26, 0.50);
  --charcoal-60:  rgba(26, 26, 26, 0.60);
  --charcoal-75:  rgba(26, 26, 26, 0.75);

  /* Typography */
  --font-display: "Manrope", sans-serif;
  --font-body:    Inter, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", monospace;

  /* Font sizes */
  --fs-mono-xs:     9.5px;
  --fs-ui-sm:       10.5px;
  --fs-ui-md:       12px;
  --fs-body-sm:     15px;
  --fs-body-md:     16px;
  --fs-body-lg:     17px;
  --fs-num-md:      18px;
  --fs-num-lg:      22px;
  --fs-headline-lg: 26px;
  --fs-num-xl:      clamp(1.75rem, 2.5vw, 2.25rem);
  --fs-num-2xl:     64px;

  /* Spacing scale */
  --spacing-2xs: 8px;
  --spacing-xs:  12px;
  --spacing-sm:  16px;
  --spacing-md:  24px;
  --spacing-lg:  32px;
  --spacing-xl:  48px;
  --spacing-2xl: 56px;
  --spacing-3xl: 72px;
  --spacing-4xl: 96px;

  /* Border radius */
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card:    rgba(75, 42, 99, 0.06) 0px 2px 12px;
  --shadow-btn:     rgba(75, 42, 99, 0.22) 0px 4px 12px;
  --shadow-btn-lg:  rgba(75, 42, 99, 0.25) 0px 8px 20px;

  /* Motion */
  --duration-base:   250ms;
  --duration-slow:   350ms;
  --ease-soft:       cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-smooth:     cubic-bezier(0.4, 0, 0.2, 1);

  /* Borders */
  --border-light:  1px solid var(--primary-08);
  --border-dark:   1px solid rgba(255, 255, 255, 0.07);
}

/* =============================================
   2. RESET + BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body-md);
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--surface);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* =============================================
   3. TYPOGRAPHY HELPERS
   ============================================= */
h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--charcoal);
}

h2 {
  font-family: var(--font-display);
  font-size: var(--fs-headline-lg);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}

p { line-height: 1.6; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-ui-md);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent);
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--fs-ui-md);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--accent);
  margin-bottom: var(--spacing-sm);
}

/* =============================================
   4. LAYOUT HELPERS
   ============================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section-pad {
  padding: var(--spacing-3xl) 0;
}

/* =============================================
   5. IMAGE PLACEHOLDER AREAS
   Clean intentional holding areas — no dashed borders
   ============================================= */
.img-area {
  background: #e8e3dc;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.img-area-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(26, 26, 26, 0.22);
  text-align: center;
  padding: var(--spacing-sm);
  line-height: 1.4;
  pointer-events: none;
  user-select: none;
}

/* Hero image area — sizing/shadow defined in section 10 */

/* Feature card areas */
.img-area-feature-hero { min-height: 300px; margin-top: auto; }
.img-area-feature-med  { min-height: 200px; margin-top: auto; }
.img-area-feature-wide { min-height: 160px; margin-top: auto; }

/* Use case + story areas */
.img-area-use-case {
  min-height: 320px;
  border-radius: var(--radius-lg);
}

.img-area-story {
  min-height: 280px;
  border-radius: var(--radius-lg);
  background: rgba(75, 42, 99, 0.20);
}
.img-area-story .img-area-label { color: rgba(255, 255, 255, 0.30); }

/* Stat card mini chart area */
.img-area-stat { min-height: 80px; margin-top: auto; }

/* Client logo tiles */
.client-logo-area {
  width: 100px;
  height: 36px;
  background: var(--charcoal-07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.client-logo-area span {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(26, 26, 26, 0.25);
}

/* =============================================
   6. BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: transform var(--duration-base) var(--ease-soft),
              box-shadow var(--duration-base) var(--ease-soft),
              background var(--duration-base) var(--ease-soft);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  font-size: var(--fs-body-sm);
  padding: 12px 32px;
  box-shadow: var(--shadow-btn-lg);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: rgba(75, 42, 99, 0.32) 0px 12px 28px;
  text-decoration: none;
  color: var(--white);
}

.btn-ghost {
  background: rgba(75, 42, 99, 0.06);
  color: var(--primary);
  border: 1px solid rgba(75, 42, 99, 0.15);
  font-size: var(--fs-body-sm);
  padding: 12px 32px;
  box-shadow: rgba(255, 255, 255, 0.6) 0px 1px 0px inset,
              rgba(75, 42, 99, 0.06) 0px 2px 8px;
}

.btn-ghost:hover {
  background: rgba(75, 42, 99, 0.10);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--primary);
}

.btn-primary-inv {
  background: var(--white);
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  height: 44px;
  padding: 0 28px;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.btn-primary-inv::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--surface);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform var(--duration-slow) var(--ease-smooth);
  z-index: -1;
}

.btn-primary-inv:hover {
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--primary);
}

.btn-primary-inv:hover::after {
  transform: translateY(0);
}

.btn-primary-inv .arrow {
  display: inline-flex;
  align-items: center;
  transition: transform var(--duration-base) var(--ease-smooth);
}

.btn-primary-inv:hover .arrow {
  transform: translate(2px, -2px);
}

.btn-ghost-inv {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.40);
  font-size: 14px;
  font-weight: 500;
  height: 44px;
  padding: 0 28px;
  transition: border-color var(--duration-base) var(--ease-smooth),
              background var(--duration-base) var(--ease-smooth);
}

.btn-ghost-inv:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  align-items: center;
}

@media (max-width: 375px) {
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { justify-content: center; }
}

/* =============================================
   7. CARDS
   ============================================= */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: var(--border-light);
  box-shadow: var(--shadow-card);
}

/* =============================================
   8. ANIMATIONS & MOTION
   Wrapped in no-preference to respect reduced motion
   ============================================= */
@media (prefers-reduced-motion: no-preference) {
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  @keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-32px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  @keyframes slideInRight {
    from { opacity: 0; transform: translateX(32px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  .hero-text-stack { animation: fadeUp 600ms var(--ease-soft) both; }
  .hero-visual     { animation: fadeIn 600ms 200ms var(--ease-soft) both; }

  [data-animate="fade-up"] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 500ms var(--ease-soft), transform 500ms var(--ease-soft);
  }
  [data-animate="fade-up"].is-visible { opacity: 1; transform: translateY(0); }

  [data-animate="fade-in"] {
    opacity: 0;
    transition: opacity 500ms var(--ease-soft);
  }
  [data-animate="fade-in"].is-visible { opacity: 1; }

  [data-animate="slide-left"] {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 500ms var(--ease-soft), transform 500ms var(--ease-soft);
  }
  [data-animate="slide-left"].is-visible { opacity: 1; transform: translateX(0); }

  [data-animate="slide-right"] {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity 500ms var(--ease-soft), transform 500ms var(--ease-soft);
  }
  [data-animate="slide-right"].is-visible { opacity: 1; transform: translateX(0); }
}

@keyframes wave {
  0%, 100% { transform: scaleY(0.4); }
  50%       { transform: scaleY(1);   }
}

[data-stagger] { transition-delay: calc(var(--stagger-index, 0) * 80ms); }

/* =============================================
   9. NAVIGATION
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(243, 235, 247, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: var(--border-light);
  transition: background var(--duration-base) var(--ease-soft);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  display: block;
  width: auto;
}

/* Brand kit logo mark — 28px purple circle with pulsing accent inner dot */
.logo-mark {
  width: 28px;
  height: 28px;
  background: var(--primary);
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2.4s var(--ease-soft) infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(0.55); opacity: 0.9; }
  50%       { transform: scale(0.85); opacity: 1;   }
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Nav links */
.nav-links {
  display: none;
  align-items: center;
  gap: 48px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(26, 26, 26, 0.75);
  text-decoration: none;
  transition: color var(--duration-base) var(--ease-soft);
}

.nav-links a:hover { color: var(--primary); text-decoration: none; }

/* Products dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(26, 26, 26, 0.75);
  cursor: default;
  transition: color var(--duration-base) var(--ease-soft);
}

.nav-dropdown:hover .nav-dropdown-trigger { color: var(--primary); }

.nav-dropdown-chevron {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform var(--duration-base) var(--ease-soft);
}

.nav-dropdown:hover .nav-dropdown-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border: var(--border-light);
  border-radius: var(--radius-md);
  padding: 6px;
  min-width: 210px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 8px 32px var(--primary-08);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-base) var(--ease-soft),
              transform var(--duration-base) var(--ease-soft),
              visibility var(--duration-base) var(--ease-soft);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: block;
  padding: 9px var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: rgba(26, 26, 26, 0.75);
  text-decoration: none;
  transition: background var(--duration-base) var(--ease-soft),
              color var(--duration-base) var(--ease-soft);
  white-space: nowrap;
}

.nav-dropdown-item:hover { background: var(--primary-08); color: var(--primary); text-decoration: none; }

/* Nav CTAs */
.nav-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* "Live on Shopify ↗" pill */
/* Frosted-glass pill — matches homepage components.css .hero-pill */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2xs);
  padding: var(--spacing-xs) var(--spacing-lg);
  background: var(--primary-08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(75, 42, 99, 0.15);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 2px 8px var(--primary-08);
  transition: background var(--duration-base) var(--ease-soft),
              border-color var(--duration-base) var(--ease-soft),
              transform var(--duration-base) var(--ease-soft);
}

.hero-pill-cta:hover {
  background: rgba(75, 42, 99, 0.10);
  border-color: rgba(75, 42, 99, 0.25);
  transform: translateY(-1px);
  color: var(--primary);
  text-decoration: none;
}

/* Nav-size modifier — matches homepage components.css .nav-shopify-pill */
.nav-shopify-pill {
  animation: none;
  padding: var(--spacing-2xs) var(--spacing-md);
}

.nav-shopify-pill .logo-img,
.nav-shopify-pill .shopify-logo {
  height: 19px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.pill-label { font-size: 13px; font-weight: 500; }

.pill-arrow {
  font-size: 13px;
  color: var(--primary);
  opacity: 0.6;
}

/* "Create Voice AI Demo" button */
.nav-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  height: 44px;
  background: var(--primary);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #F6F5F1;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--duration-base) var(--ease-soft),
              transform var(--duration-base) var(--ease-soft);
}

.nav-demo-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  color: #F6F5F1;
  text-decoration: none;
}

/* Animated waveform bars inside nav "Create Voice AI Demo" button */
.btn-wave-bars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 15px;
  flex-shrink: 0;
}

.btn-wave-bars span {
  display: block;
  width: 2.5px;
  height: 100%;
  border-radius: 2px;
  background: #F6F5F1;
  transform-origin: center;
  animation: wave 1.2s var(--ease-soft) infinite;
}

.btn-wave-bars span:nth-child(2) { animation-delay: 0.1s; }
.btn-wave-bars span:nth-child(3) { animation-delay: 0.2s; }
.btn-wave-bars span:nth-child(4) { animation-delay: 0.3s; }

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform var(--duration-base) var(--ease-soft),
              opacity var(--duration-base) var(--ease-soft);
}

/* Mobile overlay */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(246, 245, 241, 0.97);
  backdrop-filter: blur(12px);
  padding: 80px var(--spacing-sm) var(--spacing-xl);
  flex-direction: column;
  gap: var(--spacing-xs);
}

.nav-mobile-overlay.is-open { display: flex; }

.nav-mobile-overlay a {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--charcoal);
  padding: var(--spacing-xs) 0;
  border-bottom: var(--border-light);
}

.nav-mobile-overlay a:hover { color: var(--primary); text-decoration: none; }

.nav-close {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--charcoal);
  padding: var(--spacing-2xs);
}

@media (min-width: 768px) {
  .nav-hamburger { display: none; }
  .nav-links { display: flex; }
}

/* =============================================
   10. HERO
   ============================================= */
.hero {
  padding: clamp(40px, 5.4vh, 72px) 0 clamp(48px, 7vh, 96px);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(84.85% 141.42% at 60% 0%, rgba(75, 42, 99, 0.06) 0%, rgba(75, 42, 99, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.hero-text-stack {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  position: relative;
  z-index: 1;
}

.hero-text-stack .eyebrow { margin-bottom: 0; color: rgba(58, 32, 80, 0.65); }

.hero-text-stack h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(26, 26, 26, 0.6);
  max-width: 520px;
  line-height: 27px;
}

.social-proof-micro {
  font-size: 15px;
  color: rgba(26, 26, 26, 0.5);
  font-weight: 500;
  line-height: 24px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.hero-animation-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: none;
  background: transparent;
}

/* CTA 1 — primary animated pill (badge slides left on hover, arrow rotates 45°) */
.btn-cta-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 56px 0 24px;
  background: var(--primary);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 10.4px;
  font-weight: 600;
  letter-spacing: 1.04px;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
  transition: padding 500ms var(--ease-smooth);
}

.btn-cta-primary:hover {
  padding: 0 24px 0 56px;
  color: var(--white);
  text-decoration: none;
}

.btn-cta-label {
  position: relative;
  z-index: 1;
}

.btn-cta-badge {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: right 500ms var(--ease-smooth);
}

.btn-cta-primary:hover .btn-cta-badge {
  right: calc(100% - 40px);
}

.btn-cta-badge svg {
  transition: transform 500ms var(--ease-smooth);
}

.btn-cta-primary:hover .btn-cta-badge svg {
  transform: rotate(45deg);
}

/* CTA 2 — live-call pill with waveform */
.btn-cta-green {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  background: var(--accent);
  box-shadow: 0 4px 20px rgba(155, 207, 106, 0.35);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  border: none;
  cursor: pointer;
  transition: transform 200ms var(--ease-smooth), box-shadow 200ms var(--ease-smooth);
  text-decoration: none;
  white-space: nowrap;
}

.btn-cta-green:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(155, 207, 106, 0.45);
  text-decoration: none;
  color: var(--charcoal);
}

/* Label */
.btn-cta-green-label {
  line-height: 1;
}

/* Waveform bars */
.btn-cta-green-wave {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  height: 14px;
  flex-shrink: 0;
}

.btn-cta-green-wave span {
  display: block;
  width: 2.5px;
  border-radius: 2px;
  background: var(--charcoal);
  opacity: 0.55;
  transform-origin: center;
  animation: wave 1.3s var(--ease-soft) infinite;
}

.btn-cta-green-wave span:nth-child(1) { height: 8px; animation-delay: 0s; }
.btn-cta-green-wave span:nth-child(2) { height: 14px; animation-delay: 0.18s; }
.btn-cta-green-wave span:nth-child(3) { height: 8px; animation-delay: 0.36s; }

.btn-cta-green:hover .btn-cta-green-wave span {
  animation-duration: 0.7s;
  opacity: 0.75;
}

@media (min-width: 768px) {
  .hero { display: flex; align-items: center; }
  .hero-inner { flex-direction: row; align-items: flex-start; gap: 48px; }
  .hero-text-stack { flex: 0 0 57%; margin-top: clamp(24px, 3vh, 40px); }
  .hero-visual {
    flex: 0 0 454px;
    width: 454px;
    height: 420px;
    margin-left: auto;
  }
  .hero-animation-frame {
    min-height: 420px;
  }
}

/* =============================================
   11. CLIENTS
   ============================================= */
.clients-section {
  padding: var(--spacing-xl) 0;
  border-top: var(--border-light);
  border-bottom: var(--border-light);
}

.clients-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.clients-label {
  font-size: var(--fs-body-sm);
  color: var(--charcoal-50);
  font-weight: 500;
  text-align: center;
}

.clients-logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  align-items: center;
  justify-content: center;
}

/* =============================================
   12. INDUSTRY INSIGHTS — STAT CARDS
   ============================================= */
.industry-insights-section {
  background: var(--surface);
  border-top: 1px solid rgba(26, 26, 26, 0.07);
  border-bottom: 1px solid rgba(26, 26, 26, 0.07);
  padding: 78px 0;
}

.sp-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 48px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (min-width: 960px) {
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: var(--white);
  border: 1px solid rgba(26, 26, 26, 0.07);
  border-radius: var(--radius-xl);
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 196px;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03),
              0 3px 10px rgba(0,0,0,0.04),
              0 8px 24px rgba(75, 42, 99, 0.07);
}

.stat-icon {
  display: flex;
  align-items: flex-start;
  color: #4B2A63;
  opacity: 0.8;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  margin-bottom: 9px;
}

.stat-lbl {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(26, 26, 26, 0.7);
  margin-bottom: 6px;
}

.stat-note {
  font-family: var(--font-body);
  font-size: 10.9px;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(26, 26, 26, 0.4);
}

/* =============================================
   13. FEATURES — BENTO GRID
   ============================================= */
.features-section {
  background: var(--surface);
  padding: 72px clamp(24px, 8vw, 320px);
}

.uc-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Section eyebrow pill */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  height: 35px;
  background: rgba(75, 42, 99, 0.06);
  border: 1px solid rgba(75, 42, 99, 0.15);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.38px;
  text-transform: uppercase;
  color: var(--primary);
  width: fit-content;
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 2.5px;
  flex-shrink: 0;
}

/* Section heading */
.section-intro { display: flex; flex-direction: column; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 700;
  line-height: 1.09;
  letter-spacing: -0.88px;
  color: var(--charcoal);
  max-width: 760px;
}

/* Bento grid */
.uc-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Cards */
.uc-card {
  background: var(--white);
  border: 1px solid rgba(75, 42, 99, 0.08);
  box-shadow:
    0px 1px 2px rgba(0, 0, 0, 0.04),
    0px 4px 16px rgba(0, 0, 0, 0.06),
    0px 12px 40px rgba(75, 42, 99, 0.08);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.uc-card-body {
  order: 0;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(75, 42, 99, 0.06);
  flex-shrink: 0;
}

.uc-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.96px;
  color: var(--primary);
}

/* Visual areas */
.uc-card-visual {
  order: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 240px;
}

.uc-visual-wide {
  background: var(--surface);
}

.uc-visual-narrow {
  background: var(--white);
  padding: 0;
}

/* Inline animation containers — full bleed, no wrapper card */
.uc-anim-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Card-1 training animation: centered, respects card BG */
.uc-anim-training {
  width: 100%;
  height: 100%;
}

/* Card-2 profile animation: fills entire card visual */
.uc-anim-profile {
  width: 100%;
  height: 100%;
}

/* Card-4 chat-states animation: white backdrop (not cream) — the lime
   gradient wash lives inside the animation root itself */
.uc-visual-card4 {
  background: var(--white);
}

.uc-card4-frame {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
}

/* Animation / image placeholder label */
.uc-img-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(26, 26, 26, 0.4);
  text-align: center;
  padding: 16px;
  line-height: 1.4;
  position: relative;
  z-index: 1;
  max-width: 360px;
}

/* Desktop: 3-column bento — Card 1 wide-left (2/3), Card 2 narrow-right (1/3),
   Card 3 narrow-left (1/3), Card 4 wide-right (2/3) */
@media (min-width: 768px) {
  .uc-bento {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 462px 515px;
    gap: 16px;
  }

  .uc-card-1 { grid-column: 1 / 3; grid-row: 1; }   /* wide: top-left */
  .uc-card-2 { grid-column: 3 / 4; grid-row: 1; }   /* narrow: top-right */
  .uc-card-3 { grid-column: 1 / 2; grid-row: 2; }   /* narrow: bottom-left */
  .uc-card-4 { grid-column: 2 / 4; grid-row: 2; }   /* wide: bottom-right */
}

/* Card 2: cream background for empathy animation */
.uc-card-2 {
  background: #FFFFFF;
}

/* Card 2 body: keep heading at the top while preserving card rhythm */
.uc-card-2 .uc-card-body {
  min-height: 112px;
}

/* Card 2 visual area: slightly tighter fit to respect the narrower column */
.uc-card-2 .uc-card-visual {
  padding: 0;
  background: transparent;
  min-height: 0;
  flex: 1;
}

.uc-card-2 .uc-emp-root {
  transform: none;
  width: 100%;
  height: 100%;
}

/* Card 1 visual: cream surface for training anim, no padding */
.uc-card-1 .uc-card-visual {
  background: #F6F5F1;
  padding: 0;
}

.uc-card-3 .uc-card-visual,
.uc-card-4 .uc-card-visual {
  padding: 24px 24px 0;
}

.uc-card-3 .uc-img-label {
  max-width: 360px;
}

.uc-card-4 .uc-img-label {
  max-width: 360px;
}

/* Training animation inner: 480px centered container for pixel-positioned elements */
.uc-train-inner {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  max-width: 100%;
}

/* Card 2 empathy animation: scale to fit 1/3-width card */
.uc-emp-scale {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.uc-emp-root {
  transform-origin: top left;
}

@media (max-width: 767px) {
  .features-section {
    padding: 72px 24px;
  }

  .uc-inner {
    padding: 0;
  }

  .uc-card-2 .uc-card-body {
    min-height: 0;
  }

  .uc-card-2 .uc-emp-root {
    transform: none;
    width: 100%;
    height: 100%;
  }
}

/* =============================================
   14. USE CASE DEEP DIVE
   ============================================= */
.use-cases-section {
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 72px;
}

.use-case-sub {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 72px clamp(24px, 8vw, 376px);
}

.use-case-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 1168px;
}

.use-case-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 0;
  min-width: 0;
}

.use-case-frame {
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.use-case-text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.6px;
  color: var(--charcoal);
}

.use-case-text p {
  font-size: 16px;
  line-height: 27px;
  color: var(--charcoal-60);
}

.use-case-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.use-case-text ul li {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 0 1.5px;
  gap: 12px;
  font-size: 15px;
  line-height: 22px;
  color: var(--charcoal-60);
}

.use-case-text ul li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 4px;
  background: var(--accent);
  flex-shrink: 0;
}

.use-case-image {
  min-width: 0;
  padding-left: 14px;
}

.use-case-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-weight: 600;
  font-size: var(--fs-body-sm);
}

.use-case-cta:hover { text-decoration: underline; }

@media (min-width: 768px) {
  .use-case-inner {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }

  .use-case-text {
    flex: 1 1 0;
    min-width: 0;
    padding: 51px 0;
  }

  .use-case-image {
    flex: 0 0 44%;
    min-width: 0;
  }
}

/* =============================================
   15. MID-PAGE CTA
   ============================================= */
.mid-cta-section {
  background: #4B2A63;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.mid-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 20% 50%, rgba(132, 76, 172, 0.4) 0%, rgba(132, 76, 172, 0) 60%),
    radial-gradient(50% 70% at 80% 30%, rgba(199, 166, 222, 0.15) 0%, rgba(199, 166, 222, 0) 55%);
  pointer-events: none;
}

.mid-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  width: 100%;
  max-width: 640px;
}

.final-cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: -1.2px;
  color: var(--white);
  text-align: center;
}

.final-cta-sub {
  font-size: 16px;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

.final-cta-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-top: 23px;
  gap: 14px;
}

/* slide-arrow-rotate pill (same pattern as the article .toc-cta-btn):
   text left, 36px darker-tint arrow circle at right; on hover the circle
   slides to the left edge and rotates 45°, text shifts right */
.btn-mid-green {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: #9BCF6A;
  color: #4B2A63;
  border-radius: 9999px;
  height: 44px;
  padding-left: 24px;
  padding-right: 56px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 4px 12px rgba(26, 14, 37, 0.25);
  transition: padding 0.5s var(--ease-smooth);
}

.btn-mid-green:hover {
  padding-left: 56px;
  padding-right: 24px;
  color: #4B2A63;
  text-decoration: none;
}

.btn-mid-green-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

.btn-mid-green-arrow {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 14, 37, 0.12);
  border-radius: 9999px;
  font-size: 15px;
  line-height: 1;
  color: #4B2A63;
  transition: right 0.5s var(--ease-smooth), transform 0.5s var(--ease-smooth);
  z-index: 0;
}

.btn-mid-green:hover .btn-mid-green-arrow {
  right: calc(100% - 40px);
  transform: rotate(45deg);
}

.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 9999px;
  height: 44px;
  padding: 0 24px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color var(--duration-base) var(--ease-smooth),
              background var(--duration-base) var(--ease-smooth),
              transform var(--duration-base) var(--ease-smooth);
}

.btn-cta-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
  color: var(--white);
  text-decoration: none;
}

/* =============================================
   16. COMPARISON TABLE + FAQ
   ============================================= */
.why-section { background: var(--surface); }

.comparison-sub { margin-bottom: 0; }

.comparison-sub h2 {
  margin-bottom: var(--spacing-sm);
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.comparison-intro {
  font-size: var(--fs-body-md);
  color: var(--charcoal-60);
  margin-bottom: var(--spacing-lg);
  max-width: none;
}

/* The closing paragraph after the table needs breathing room from it */
.comparison-table-wrap + .comparison-intro {
  margin-top: var(--spacing-xl);
  margin-bottom: 0;
}

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: var(--border-light);
  box-shadow: var(--shadow-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-body-sm);
  background: var(--white);
}

.comparison-table thead tr {
  background: var(--primary);
  color: var(--white);
}

.comparison-table th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-body-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  text-align: left;
  letter-spacing: -0.01em;
}

.comparison-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.comparison-table th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }

.comparison-table td {
  padding: var(--spacing-sm) var(--spacing-md);
  border-bottom: 1px solid var(--charcoal-07);
  vertical-align: top;
  line-height: 1.5;
  color: var(--charcoal-60);
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--charcoal);
}

.comparison-table tbody tr:nth-child(even) td {
  background: rgba(75, 42, 99, 0.025);
}

.comparison-table tbody tr:last-child td { border-bottom: none; }

.comparison-table td.shoplabs-col {
  color: var(--primary);
  font-weight: 500;
}

/* ── Branded comparison table (logo headers + highlighted Shoplabs column) ── */
.comparison-table--brands thead tr {
  background: var(--white);
  color: var(--charcoal);
}

.comparison-table--brands th {
  vertical-align: bottom;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(75, 42, 99, 0.12);
}

.comparison-table--brands .ct-logo {
  display: block;
  height: 22px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  object-position: left center;
}

.comparison-table--brands .ct-logo-shoplabs { height: 24px; }

/* Highlighted Shoplabs column */
.comparison-table--brands th.ct-col-shoplabs {
  background: var(--primary);
  border-bottom: 1px solid var(--primary);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.comparison-table--brands tbody tr td.ct-cell-shoplabs {
  background: var(--primary);
  border-bottom: 1px solid rgba(246, 245, 241, 0.18);
  color: #F6F5F1;
  font-weight: 400;
}

.comparison-table--brands tbody tr:last-child td.ct-cell-shoplabs {
  border-bottom: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

/* Terms column — per Figma spec: Manrope 400 26/36, Cod Gray */
.comparison-table--brands td.ct-term {
  width: 236px;
  min-width: 200px;
  padding: 15px 24px 38px;
}

.comparison-table--brands .ct-term-main {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 26px;
  line-height: 36px;
  letter-spacing: -0.01em;
  color: #1A1A1A;
}

@media (max-width: 768px) {
  .comparison-table--brands th,
  .comparison-table--brands td { padding: 14px 14px 12px; }
  .comparison-table--brands .ct-logo { height: 18px; }
  .comparison-table--brands .ct-logo-shoplabs { height: 20px; }
  .comparison-table--brands td.ct-term { width: auto; min-width: 150px; padding: 14px 16px 24px; }
  .comparison-table--brands .ct-term-main { font-size: 19px; line-height: 26px; }
}

/* FAQ */
.faq-section {
  /* sits on the same cream surface as the comparison table above —
     the table's section provides the 72px beat, so no top padding here */
  background: var(--surface);
  padding: 0 0 var(--spacing-3xl);
}

.faq-header {
  margin-bottom: var(--spacing-2xl);
}

.faq-header h2 { scroll-margin-top: 96px; }

/* mirrors the blog page section header (.bx-grid-title / .bx-sub) */
.faq-header h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.faq-intro {
  font-family: var(--font-body);
  font-size: var(--fs-body-md);
  line-height: 1.55;
  color: rgba(26, 26, 26, 0.6);
}

.faq-list {
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.faq-item {
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.faq-item summary,
.faq-question {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--font-body);
  font-size: var(--fs-body-md);
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  user-select: none;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--primary);
  transition: transform var(--duration-base) var(--ease-smooth);
}

.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  padding: 0 0 24px;
  overflow: hidden;
  transition: max-height 260ms var(--ease-smooth);
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: var(--fs-body-md);
  line-height: 27px;
  color: rgba(26, 26, 26, 0.8);
  margin: 0;
}

/* =============================================
   17. CROSS-INDUSTRY NAVIGATION
   ============================================= */
.industries-section { background: var(--white); }
.industries-section h2 { margin-bottom: var(--spacing-2xl); }

.industries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-sm);
}

.industry-tile {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  border: var(--border-light);
  background: var(--white);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--charcoal);
  transition: border-color var(--duration-base) var(--ease-soft),
              box-shadow var(--duration-base) var(--ease-soft),
              transform var(--duration-base) var(--ease-soft);
}

.industry-tile:hover {
  border-color: var(--primary-22);
  box-shadow: rgba(75, 42, 99, 0.12) 0px 4px 20px;
  transform: translateY(-2px);
  text-decoration: none;
}

.industry-tile[aria-current="page"] {
  border-color: var(--primary);
  background: rgba(75, 42, 99, 0.04);
}

.industry-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.industry-tile-text { display: flex; flex-direction: column; gap: 2px; }

.industry-name {
  font-weight: 600;
  font-size: var(--fs-body-sm);
  color: var(--charcoal);
}

.industry-descriptor {
  font-size: var(--fs-ui-md);
  color: var(--charcoal-50);
}

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

@media (min-width: 768px) {
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================
   18. CUSTOMER STORY TEASER
   ============================================= */
.story-section {
  background: var(--surface-dark);
  padding: var(--spacing-3xl) 0;
}

.story-inner {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.story-text .eyebrow { color: var(--accent); }

.brand-name {
  font-family: var(--font-display);
  font-size: var(--fs-body-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white-50);
}

.story-text h2 {
  color: var(--white);
  font-size: clamp(22px, 3vw, 32px);
}

.result-metrics {
  font-family: var(--font-display);
  font-size: var(--fs-body-md);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.story-text a {
  color: var(--white-95);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.story-text a:hover { text-decoration: underline; color: var(--accent); }

@media (min-width: 768px) {
  .story-inner { flex-direction: row; align-items: center; }
  .story-text  { flex: 0 0 55%; }
  .story-image { flex: 0 0 40%; margin-left: auto; }
}

/* =============================================
   19. FINAL CTA SECTION
   ============================================= */
.final-cta-section {
  background: var(--surface-dark);
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: var(--spacing-4xl) 0;
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(75, 42, 99, 0.50) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-section::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: 20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(155, 207, 106, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.final-cta-inner h2 {
  color: var(--white);
  font-size: clamp(26px, 4vw, 44px);
}

.final-cta-inner > p {
  color: var(--white-50);
  font-size: var(--fs-body-lg);
  line-height: 1.6;
}

.trust-line {
  font-size: var(--fs-body-sm);
  color: var(--white-30);
  letter-spacing: 0.02em;
}

/* =============================================
   20. BLOG PAGE
   ============================================= */
.blog-page {
  background:
    radial-gradient(ellipse 90% 70% at 85% 10%, rgba(199, 166, 222, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 10% 90%, rgba(132, 76, 172, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, #f3ebf7 0%, var(--surface) 42%, #efe9f4 100%);
}

.blog-shell {
  padding-top: var(--spacing-2xl);
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr) minmax(0, 280px);
  gap: var(--spacing-xl);
  align-items: start;
}

.blog-sticky {
  position: sticky;
  top: 112px;
}

.blog-rail {
  min-width: 0;
}

.blog-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 9px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(75, 42, 99, 0.14);
  background: rgba(255, 255, 255, 0.68);
  color: rgba(75, 42, 99, 0.82);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
  transition: background var(--duration-base) var(--ease-soft),
              border-color var(--duration-base) var(--ease-soft),
              transform var(--duration-base) var(--ease-soft);
}

.blog-back-link:hover {
  background: rgba(75, 42, 99, 0.08);
  border-color: rgba(75, 42, 99, 0.22);
  transform: translateY(-1px);
  text-decoration: none;
}

.blog-back-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.blog-header-block {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.blog-header-block h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.06;
  max-width: 13ch;
}

.blog-subtitle {
  max-width: 58ch;
  font-size: var(--fs-body-lg);
  line-height: 1.65;
  color: var(--charcoal-60);
}

.blog-hero-card {
  min-height: clamp(260px, 34vw, 440px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(75, 42, 99, 0.09);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(245, 239, 249, 0.98) 100%);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 12px 40px rgba(75, 42, 99, 0.08);
}

.blog-hero-card .img-area-label {
  max-width: 34ch;
  color: rgba(75, 42, 99, 0.35);
}

.blog-summary {
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  background: rgba(155, 207, 106, 0.08);
  border: 1px solid rgba(155, 207, 106, 0.25);
}

.blog-summary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 20px;
  color: var(--charcoal-75);
}

.blog-summary-list li {
  padding-left: 2px;
  line-height: 1.65;
}

.blog-prose {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.blog-prose > * {
  margin: 0;
}

.blog-prose h2,
.blog-prose h3 {
  scroll-margin-top: 124px;
}

.blog-prose h2 {
  margin-top: var(--spacing-xs);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
}

.blog-prose h3 {
  font-size: 22px;
  line-height: 1.25;
  color: var(--primary);
}

.blog-prose p,
.blog-prose li {
  font-size: var(--fs-body-md);
  line-height: 1.8;
  color: var(--charcoal-75);
}

.blog-prose p {
  max-width: 64ch;
}

.blog-prose ul,
.blog-prose ol {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  max-width: 62ch;
}

.blog-prose blockquote {
  margin: 0;
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  background: rgba(75, 42, 99, 0.04);
  border: 1px solid rgba(75, 42, 99, 0.10);
  color: var(--primary);
  font-size: 17px;
  line-height: 1.8;
  font-style: italic;
  max-width: 60ch;
}

.blog-prose a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.blog-prose code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(75, 42, 99, 0.08);
  color: var(--primary);
}

.blog-prose pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: #211429;
  color: var(--white-95);
  box-shadow: var(--shadow-card);
}

.blog-prose pre code {
  display: block;
  background: transparent;
  color: inherit;
  padding: 0;
}

.blog-prose .comparison-table-wrap {
  margin-top: var(--spacing-xs);
  max-width: 100%;
}

.blog-inline-image {
  min-height: 240px;
  margin: var(--spacing-xs) 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(75, 42, 99, 0.09);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(246, 240, 250, 0.98) 100%);
  box-shadow: var(--shadow-card);
}

.blog-inline-image .img-area-label {
  max-width: 36ch;
  color: rgba(75, 42, 99, 0.34);
}

.blog-inline-cta {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.blog-inline-cta .mid-cta-inner {
  padding: clamp(32px, 5vw, 44px);
}

.blog-inline-cta .final-cta-title {
  font-size: clamp(28px, 3.2vw, 36px);
}

.blog-inline-cta .final-cta-actions {
  flex-wrap: wrap;
}

.blog-faq-section {
  padding: 0;
  background: transparent;
}

.blog-related {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.blog-related-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--spacing-md);
}

.blog-related-header h2 {
  margin-top: 2px;
}

.blog-related-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-rail-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(75, 42, 99, 0.16);
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary);
  cursor: pointer;
  transition: transform var(--duration-base) var(--ease-soft),
              background var(--duration-base) var(--ease-soft),
              border-color var(--duration-base) var(--ease-soft);
}

.blog-rail-btn:hover {
  transform: translateY(-1px);
  background: rgba(75, 42, 99, 0.08);
  border-color: rgba(75, 42, 99, 0.28);
}

.blog-rail-btn svg {
  width: 18px;
  height: 18px;
}

.blog-related-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 320px);
  gap: var(--spacing-sm);
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.blog-related-track::-webkit-scrollbar {
  height: 8px;
}

.blog-related-track::-webkit-scrollbar-thumb {
  background: rgba(75, 42, 99, 0.18);
  border-radius: 9999px;
}

.blog-related-card {
  scroll-snap-align: start;
  min-width: 0;
}

.blog-related-card .industry-tile {
  min-height: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
}

.blog-related-media {
  min-height: 168px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(75, 42, 99, 0.09), rgba(155, 207, 106, 0.12));
  border: 1px solid rgba(75, 42, 99, 0.08);
}

.blog-related-media .img-area-label {
  color: rgba(75, 42, 99, 0.34);
}

.blog-related-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-related-copy h3 {
  font-size: 20px;
  line-height: 1.3;
}

.blog-related-copy p {
  color: var(--charcoal-60);
  line-height: 1.65;
}

.blog-author {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: var(--spacing-md);
  align-items: start;
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
}

.blog-author-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(75, 42, 99, 0.18);
}

.blog-author-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.blog-author-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.blog-author-meta {
  color: var(--charcoal-50);
  font-size: var(--fs-body-sm);
}

.blog-author-date {
  color: var(--charcoal-40);
  font-size: 13px;
  line-height: 1.5;
}

.blog-author-bio {
  color: var(--charcoal-75);
  line-height: 1.7;
  max-width: 60ch;
}

.blog-author-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.blog-author-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(75, 42, 99, 0.13);
  background: rgba(75, 42, 99, 0.05);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--duration-base) var(--ease-soft),
              border-color var(--duration-base) var(--ease-soft),
              transform var(--duration-base) var(--ease-soft);
}

.blog-author-social:hover {
  background: rgba(75, 42, 99, 0.08);
  border-color: rgba(75, 42, 99, 0.22);
  transform: translateY(-1px);
  text-decoration: none;
}

.blog-author-social-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(75, 42, 99, 0.12);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
}

.blog-toc,
.blog-side-cta {
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
}

.blog-rail-label,
.blog-side-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
}

.blog-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.blog-toc-link {
  position: relative;
  display: block;
  padding: 10px 12px 10px 16px;
  border-radius: var(--radius-sm);
  color: var(--charcoal-50);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  transition: color var(--duration-base) var(--ease-soft),
              background var(--duration-base) var(--ease-soft),
              transform var(--duration-base) var(--ease-soft);
}

.blog-toc-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: transparent;
  transition: background var(--duration-base) var(--ease-soft),
              transform var(--duration-base) var(--ease-soft);
}

.blog-toc-link:hover {
  color: var(--primary);
  background: rgba(75, 42, 99, 0.05);
  text-decoration: none;
}

.blog-toc-link.is-active {
  color: var(--primary);
  background: rgba(75, 42, 99, 0.07);
  transform: translateX(2px);
}

.blog-toc-link.is-active::before {
  background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
}

.blog-toc-link.level-3 {
  padding-left: 28px;
  font-size: 13px;
}

.blog-side-cta {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.blog-side-cta h2 {
  font-size: 28px;
  line-height: 1.15;
}

.blog-side-copy {
  color: var(--charcoal-60);
  line-height: 1.7;
}

.blog-side-cta .btn-cta-primary {
  width: 100%;
  justify-content: center;
}

.blog-side-trust {
  color: var(--charcoal-50);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1180px) {
  .blog-layout {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr) minmax(0, 250px);
    gap: var(--spacing-lg);
  }
}

@media (max-width: 960px) {
  .blog-shell {
    padding-top: var(--spacing-xl);
  }

  .blog-layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .blog-rail-left {
    order: 1;
  }

  .blog-main {
    order: 2;
  }

  .blog-rail-right {
    order: 3;
  }

  .blog-sticky {
    position: static;
  }

  .blog-toc-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px;
  }

  .blog-related-header {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .blog-summary {
    grid-template-columns: 4px minmax(0, 1fr);
    padding: var(--spacing-md);
    gap: var(--spacing-sm);
  }

  .blog-author {
    grid-template-columns: 1fr;
  }

  .blog-related-controls {
    display: none;
  }

  .blog-related-track {
    grid-auto-columns: minmax(84%, 1fr);
  }

  .blog-inline-cta .mid-cta-inner {
    padding: 28px 24px;
  }
}

/* =============================================
   21. FOOTER
   ============================================= */
#site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
}

.footer-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-nav {
  display: flex;
  align-items: flex-start;
  gap: 0 var(--spacing-xl);
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-col-heading {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.footer-nav a {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 21px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s var(--ease-smooth);
}

.footer-nav a:hover { color: var(--white); text-decoration: none; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: background 0.2s var(--ease-smooth),
              color 0.2s var(--ease-smooth),
              border-color 0.2s var(--ease-smooth);
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .footer-top { flex-direction: column; align-items: flex-start; gap: var(--spacing-lg); }
  .footer-nav { gap: var(--spacing-md) var(--spacing-xl); }
  .footer-nav a { padding: 4px 0; }
  .footer-col { gap: 6px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
    width: 100%;
  }
}

/* =============================================
   21. UTILITIES
   ============================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}
