/* =========================================================
   Pulse Platform — main stylesheet (v3.5: Stitch Brand Kit)
   Design system: Material Design 3 tokens + Bento Box layout
   + Glassmorphism cards + Agentforce gradient AI accent
   ========================================================= */

/* Fonts are enqueued once in functions.php (pulse-fonts, which now includes
   Inter 700). The duplicate @import that lived here (3.7.5) created a serial
   HTML > main.css > fonts CSS > woff2 chain on every page. */

:root {
  /* ============================================
     M3 SURFACE SCALE (Pulse for Salesforce kit)
     ============================================ */
  --surface:                    #f9f9ff;
  --surface-dim:                #d3daef;
  --surface-bright:             #f9f9ff;
  --surface-container-lowest:   #ffffff;
  --surface-container-low:      #f1f3ff;
  --surface-container:          #e9edff;
  --surface-container-high:     #e1e8fd;
  --surface-container-highest:  #dce2f7;
  --surface-variant:            #dce2f7;
  --surface-tint:               #00658e;

  --on-surface:                 #141b2b;
  --on-surface-variant:         #3e4850;
  --inverse-surface:            #293040;
  --inverse-on-surface:         #edf0ff;

  --outline:                    #6e7881;
  --outline-variant:            #bdc8d1;

  /* ============================================
     PRIMARY — Salesforce Blue family
     ============================================ */
  --primary:                    #00658e;
  --on-primary:                 #ffffff;
  --primary-container:          #00a1e0;
  --on-primary-container:       #00334a;
  --inverse-primary:            #84cfff;
  --primary-fixed:              #c7e7ff;
  --primary-fixed-dim:          #84cfff;
  --on-primary-fixed:           #001e2e;
  --on-primary-fixed-variant:   #004c6c;

  /* ============================================
     SECONDARY — supporting blue/indigo
     ============================================ */
  --secondary:                  #3f5e94;
  --on-secondary:               #ffffff;
  --secondary-container:        #a3c1fd;
  --on-secondary-container:     #2f4e83;
  --secondary-fixed:            #d7e2ff;
  --secondary-fixed-dim:        #abc7ff;
  --on-secondary-fixed:         #001b3f;

  /* ============================================
     TERTIARY — warm accent (amber)
     ============================================ */
  --tertiary:                   #885200;
  --on-tertiary:                #ffffff;
  --tertiary-container:         #d5850b;
  --on-tertiary-container:      #472900;

  --error:                      #ba1a1a;
  --on-error:                   #ffffff;
  --error-container:            #ffdad6;
  --on-error-container:         #93000a;

  --background:                 #f9f9ff;
  --on-background:              #141b2b;

  /* ============================================
     AGENTFORCE GRADIENT — AI accent only
     ============================================ */
  --agentforce-gradient: linear-gradient(135deg, #00a1e0 0%, #7B2FF2 50%, #D946EF 100%);

  /* ============================================
     SHAPE — M3 corner radius scale
     ============================================ */
  --radius-sm:    4px;
  --radius:       8px;    /* default — buttons, inputs */
  --radius-md:    12px;
  --radius-lg:    16px;   /* bento cards */
  --radius-xl:    24px;
  --radius-pill:  9999px;

  /* ============================================
     ELEVATION — triple-layered, navy-tinted
     ============================================ */
  --shadow-sm:
    0 1px 2px rgba(20, 27, 43, 0.06),
    0 1px 1px rgba(20, 27, 43, 0.04);
  --shadow-md:
    0 2px 4px rgba(20, 27, 43, 0.05),
    0 6px 16px -4px rgba(41, 48, 64, 0.10),
    0 16px 32px -12px rgba(41, 48, 64, 0.08);
  --shadow-lg:
    0 4px 8px rgba(20, 27, 43, 0.05),
    0 12px 24px -6px rgba(41, 48, 64, 0.12),
    0 32px 64px -16px rgba(41, 48, 64, 0.14);
  --shadow-xl:
    0 8px 16px rgba(20, 27, 43, 0.06),
    0 24px 48px -8px rgba(41, 48, 64, 0.16),
    0 48px 96px -24px rgba(41, 48, 64, 0.20);
  --shadow-glow-ai:
    0 0 0 1px rgba(123, 47, 242, 0.20),
    0 8px 32px -4px rgba(123, 47, 242, 0.22);

  /* ============================================
     SPACING — base 8, bento gap, gutters
     ============================================ */
  --space-base:        8px;
  --gutter:            24px;
  --bento-gap:         20px;
  --margin-mobile:     16px;
  --margin-desktop:    40px;

  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Legacy aliases used by older templates — keep so nothing breaks */
  --navy:           #293040;
  --navy-tint:      #e9edff;
  --ink:            #141b2b;
  --slate-dark:     #3e4850;
  --slate-mid:      #6e7881;
  --slate-soft:     #bdc8d1;
  --sfdc-blue:      #00a1e0;
  --sfdc-blue-dark: #00658e;
  --sfdc-blue-tint: #e1e8fd;
  --white:          #ffffff;
  --mist:           #f1f3ff;
  --line:           #dce2f7;
  --line-strong:    #bdc8d1;
  --success:        #146c2e;
  --danger:         #ba1a1a;
  --agent-purple:   #7B2FF2;
  --agent-magenta:  #D946EF;
}

/* ============================================
   RESET + BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--background);
  color: var(--on-surface-variant);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; height: auto; }

/* ============================================
   TYPOGRAPHY SCALE (Stitch tokens)
   ============================================ */
h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  color: var(--on-surface);
  margin: 0;
}
/* display-lg */
h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
/* display-md */
h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
/* headline-lg */
h3 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
/* headline-sm — bento card titles */
h4 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
h5 {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
}

p { margin: 0 0 16px; line-height: 1.6; font-size: 16px; }
a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--primary-container); }

.label-bold {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

/* ============================================
   LAYOUT PRIMITIVES — bento system
   ============================================ */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--margin-desktop);
}
section { padding: 64px 0; }

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}
.eyebrow-ai {
  background: var(--agentforce-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section heading block */
.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 { margin-bottom: 16px; }
.section-head .lede {
  font-size: 18px;
  color: var(--on-surface-variant);
  line-height: 1.6;
}

/* ============================================
   BENTO CARD — the foundational container
   Glassmorphism + triple shadow + 16px radius
   ============================================ */
.bento {
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(255, 255, 255, 0.50);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.bento:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.80);
}
.bento.bento-solid {
  background: var(--surface-container-lowest);
  border-color: var(--outline-variant);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.bento.bento-tint {
  background: var(--surface-container-low);
  border-color: var(--surface-container);
}
.bento.bento-dark {
  background: var(--inverse-surface);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--inverse-on-surface);
}
.bento.bento-dark h2, .bento.bento-dark h3, .bento.bento-dark h4 { color: #fff; }
.bento.bento-dark p { color: rgba(255, 255, 255, 0.78); }

/* Agentforce-tagged bento — AI module */
.bento.bento-ai {
  position: relative;
  background: var(--inverse-surface);
  color: var(--inverse-on-surface);
  padding: 34px;
  border: none;
}
.bento.bento-ai::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: var(--agentforce-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.bento.bento-ai::after {
  content: "";
  position: absolute;
  top: -40%; right: -40%;
  width: 60%; height: 80%;
  background: radial-gradient(closest-side, rgba(123, 47, 242, 0.30), transparent 70%);
  pointer-events: none;
}
.bento.bento-ai h2, .bento.bento-ai h3, .bento.bento-ai h4 { color: #fff; }
.bento.bento-ai p { color: rgba(255, 255, 255, 0.82); }

.bento-grid {
  display: grid;
  gap: var(--bento-gap);
  grid-template-columns: repeat(12, 1fr);
}
.span-3  { grid-column: span 3; }
.span-4  { grid-column: span 4; }
.span-5  { grid-column: span 5; }
.span-6  { grid-column: span 6; }
.span-7  { grid-column: span 7; }
.span-8  { grid-column: span 8; }
.span-9  { grid-column: span 9; }
.span-12 { grid-column: span 12; }

/* ============================================
   BUTTONS — Salesforce Blue + 1px top inner highlight
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 14px; line-height: 1;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    var(--shadow-sm);
}
.btn-primary:hover {
  background: #004c6c;
  color: var(--on-primary);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    var(--shadow-md);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--on-surface);
  border-color: var(--outline-variant);
}
.btn-ghost:hover {
  border-color: var(--outline);
  background: var(--surface-container-low);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--inverse-on-surface);
  border-color: rgba(255,255,255,0.30);
}
.btn-ghost-dark:hover {
  border-color: rgba(255,255,255,0.60);
  background: rgba(255,255,255,0.05);
}
.btn .icon { width: 16px; height: 16px; }

/* Pill — chips, badges */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--sfdc-blue-tint);
  color: var(--on-primary-container);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}
.chip-ai {
  background: linear-gradient(135deg, rgba(0,161,224,0.12), rgba(123,47,242,0.12));
  color: var(--primary);
  border: 1px solid rgba(123, 47, 242, 0.20);
}

/* ============================================
   STICKY HEADER — glassmorphic
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(249, 249, 255, 0.80);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--surface-container);
}
.header-inner {
  max-width: 1320px; margin: 0 auto; padding: 16px var(--margin-desktop);
  display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center;
}
.header-logo {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  color: var(--on-surface); text-decoration: none;
  font-size: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.header-logo img { height: 40px; width: auto; }
.logo-wordmark { letter-spacing: -0.02em; }

.header-nav { display: flex; justify-content: center; }
.primary-menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 32px;
}
.primary-menu li { position: relative; }
.primary-menu > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Inter', sans-serif; font-weight: 500; font-size: 14px;
  color: var(--on-surface-variant); padding: 10px 0;
  transition: color var(--transition);
}
.primary-menu > li > a:hover { color: var(--on-surface); }
.primary-menu > li.menu-item-has-children > a::after {
  content: ""; width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); margin-top: -3px; margin-left: 4px;
  transition: transform var(--transition);
}
.primary-menu > li.menu-item-has-children.is-open > a::after { transform: rotate(-135deg); margin-top: 2px; }

.sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 560px;
  background: var(--surface-container-lowest);
  border: 1px solid var(--surface-container);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 16px;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  margin: 0;
}
.primary-menu > li:hover > .sub-menu,
.primary-menu > li.is-open > .sub-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.sub-menu li { position: static; }
.sub-menu a {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--on-surface);
  font-size: 14px;
  transition: background var(--transition);
}
.sub-menu a strong {
  font-family: 'Poppins', sans-serif; font-weight: 600;
  display: block; font-size: 15px; margin-bottom: 4px;
}
.sub-menu a span {
  font-size: 13px; color: var(--on-surface-variant); line-height: 1.5;
}
.sub-menu a:hover { background: var(--surface-container-low); }

.header-cta { display: flex; gap: 12px; align-items: center; justify-self: end; }

.menu-toggle {
  display: none;
  background: none; border: 1px solid var(--outline-variant); border-radius: var(--radius);
  width: 40px; height: 40px; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block; width: 18px; height: 2px;
  background: var(--on-surface); position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after  { top: 6px; }

/* ============================================
   HERO — smaller H1, more confident
   ============================================ */
.hero {
  padding: 56px 0 64px;
  background: var(--background);
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 1200px; height: 800px;
  background:
    radial-gradient(closest-side, rgba(0, 161, 224, 0.08), transparent 70%),
    radial-gradient(closest-side at 70% 50%, rgba(123, 47, 242, 0.05), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  max-width: 580px;
  margin-bottom: 24px;
}
.hero .lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--on-surface-variant);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-media {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  background: var(--surface-container-lowest);
  border: 1px solid var(--surface-container);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero-media iframe { width: 100%; height: 100%; border: 0; }
.play-button {
  position: absolute; inset: 0; margin: auto;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--surface-container-lowest);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}
.play-button:hover { transform: scale(1.06); box-shadow: var(--shadow-xl); }
.play-button::after {
  content: ""; width: 0; height: 0;
  border-left: 18px solid var(--primary);
  border-top: 12px solid transparent; border-bottom: 12px solid transparent;
  margin-left: 4px;
}
.video-meta {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(8px);
  color: var(--on-surface);
  font-size: 12px; padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ============================================
   STATS / RESULTS strip
   ============================================ */
.hero-stats { padding: 48px 0; background: var(--background); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--bento-gap);
}
.stat {
  background: var(--surface-container-lowest);
  border: 1px solid var(--surface-container);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  text-align: left;
  transition: all var(--transition);
}
.stat:hover { box-shadow: var(--shadow-md); }
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 40px;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: var(--on-surface);
  font-weight: 500;
  line-height: 1.4;
}
.stat-footnote {
  font-size: 12px;
  color: var(--on-surface-variant);
  margin-top: 6px;
  letter-spacing: 0.01em;
}

/* ============================================
   TRUST BAR — logo strip
   ============================================ */
.trust { padding: 56px 0 64px; background: var(--background); }
.trust-label {
  text-align: center;
  font-size: 12px;
  color: var(--on-surface-variant);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.trust-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}
.trust-logo {
  height: 140px;
  border-radius: var(--radius-lg);
  background: var(--surface-container-lowest);
  border: 1px solid var(--surface-container);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--on-surface-variant);
  letter-spacing: 0.02em;
  transition: all var(--transition);
  padding: 24px 28px;
  text-align: center;
}
.trust-logo img {
  max-height: 92px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.trust-logo:hover {
  border-color: var(--outline-variant);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
@media (max-width: 1024px) {
  .trust-logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .trust-logos { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   OPERATIONAL CEILING — editorial + bento breakdown
   ============================================ */
.ceiling { background: var(--background); }
.ceiling-editorial {
  max-width: 880px;
  margin: 0 auto;
}
.ceiling-editorial .eyebrow { display: block; }
.ceiling-editorial h2 {
  font-size: 36px;
  line-height: 1.18;
  margin-bottom: 24px;
  max-width: 18ch;
}
.ceiling-body {
  font-size: 18px;
  line-height: 1.65;
  color: var(--on-surface-variant);
  margin-bottom: 32px;
}
.ceiling-breakdown {
  background: var(--surface-container-lowest);
  border: 1px solid var(--surface-container);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 32px 0;
  box-shadow: var(--shadow-md);
  position: relative;
}
.ceiling-breakdown::before {
  content: "";
  position: absolute;
  left: 0; top: 24px; bottom: 24px; width: 3px;
  background: var(--agentforce-gradient);
  border-radius: 0 2px 2px 0;
}
.ceiling-breakdown-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--on-surface);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.ceiling-breakdown ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.ceiling-breakdown li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--on-surface);
}
.ceiling-breakdown li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--primary-container);
  border-radius: 50%;
}
.ceiling-transition {
  font-size: 17px;
  line-height: 1.6;
  color: var(--on-surface);
  font-weight: 500;
  padding-top: 24px;
}

/* legacy compare cards kept for compatibility (3-card variant) */
.ceiling-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bento-gap);
}
.compare-card {
  background: var(--surface-container-lowest);
  border: 1px solid var(--surface-container);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  display: flex; flex-direction: column; gap: 16px;
}
.compare-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.compare-card .trap-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--primary-container); /* Salesforce Blue #00A1E0 */
}
.compare-card .trap-label::before {
  content: ""; width: 6px; height: 6px;
  background: var(--primary-container); border-radius: 1px;
}
.compare-card h3 { font-size: 20px; margin: 0; }
.compare-card .status-quo {
  font-size: 15px; color: var(--on-surface-variant); line-height: 1.65; margin: 0;
}
.compare-card .divider { height: 1px; background: var(--surface-container); margin: 4px 0; }
.compare-card .pulse-answer {
  font-size: 14px; color: var(--on-surface); line-height: 1.6;
  display: flex; gap: 12px; align-items: flex-start; margin: 0;
}
.compare-card .pulse-tag {
  flex: 0 0 auto;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--on-primary); background: var(--primary);
  padding: 5px 10px; border-radius: var(--radius-pill); margin-top: 2px;
  line-height: 1;
}

/* ============================================
   ANCHOR HEALTH section — bento layout
   ============================================ */
.anchor-story {
  background: var(--background);
  padding: 64px 0;
}
.anchor-head { max-width: 880px; margin: 0 auto 32px; }
.anchor-head h2 {
  font-size: 36px;
  line-height: 1.18;
  margin-top: 16px;
  max-width: 22ch;
}
.anchor-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--bento-gap);
  max-width: 1240px;
  margin: 0 auto;
}
.anchor-prose {
  background: var(--surface-container-lowest);
  border: 1px solid var(--surface-container);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-md);
}
.anchor-prose p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--on-surface-variant);
  margin-bottom: 18px;
}
.anchor-prose p:first-child { font-size: 18px; color: var(--on-surface); }
.anchor-prose p:last-child { margin-bottom: 0; }

.anchor-quote-card {
  background: var(--inverse-surface);
  color: var(--inverse-on-surface);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
}
.anchor-quote-card blockquote { margin: 0; padding: 0; }
.anchor-quote-card blockquote.secondary {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.anchor-quote-card blockquote p {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
  color: #ffffff;
  margin: 0 0 12px;
}
.anchor-quote-card blockquote.secondary p {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.78);
}
.anchor-quote-card blockquote footer {
  font-size: 12px;
  color: rgba(255,255,255,0.62);
  font-style: normal;
}

.anchor-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--bento-gap);
  max-width: 1240px;
  margin: var(--bento-gap) auto 0;
}
.anchor-result {
  background: var(--surface-container-lowest);
  border: 1px solid var(--surface-container);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  text-align: left;
  transition: all var(--transition);
}
.anchor-result:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.anchor-result-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.anchor-result-label {
  font-size: 13px;
  line-height: 1.45;
  color: var(--on-surface-variant);
}

/* ============================================
   FEATURE ROWS — real product screenshots in bento
   ============================================ */
.feature-rows { background: var(--background); }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
}
.feature-row.reverse > .feature-row-copy { order: 2; }
.feature-row.reverse > .feature-row-media { order: 1; }
.feature-row-copy h3 {
  font-size: 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--on-surface);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
}
.feature-row-copy .feature-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}
.feature-row-copy p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--on-surface-variant);
  margin-bottom: 20px;
  max-width: 480px;
}
.feature-bullets { list-style: none; padding: 0; margin: 0; }
.feature-bullets li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: 14px;
  color: var(--on-surface);
}
.feature-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 16px; height: 16px;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/contain no-repeat;
}

.feature-row-media {
  border-radius: var(--radius-lg);
  background: var(--surface-container-lowest);
  border: 1px solid var(--surface-container);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  padding: 0;
}
.feature-row-media-shot img {
  width: 100%; height: auto; display: block;
}

/* ============================================
   SEGMENTS — bento cards with icons
   ============================================ */
.segments { background: var(--background); }
.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bento-gap);
}
.segment-card {
  display: block;
  background: var(--surface-container-lowest);
  border: 1px solid var(--surface-container);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-decoration: none;
  color: var(--on-surface);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.segment-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--agentforce-gradient); opacity: 0;
  transition: opacity var(--transition);
}
.segment-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.segment-card:hover::after { opacity: 1; }
.segment-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--surface-container);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.segment-icon svg { width: 22px; height: 22px; stroke-width: 1.75; }
.segment-card h3 { font-size: 20px; margin-bottom: 8px; }
.segment-card p {
  font-size: 14px;
  color: var(--on-surface-variant);
  margin-bottom: 20px;
  line-height: 1.6;
}
.segment-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--primary);
}
.segment-link .arrow { transition: transform var(--transition); }
.segment-card:hover .arrow { transform: translateX(4px); }

/* ============================================
   AGENTFORCE — gradient-bordered AI module
   ============================================ */
.agentforce {
  background: var(--background);
  padding: 64px 0;
}
.agentforce-card {
  position: relative;
  background: var(--inverse-surface);
  color: var(--inverse-on-surface);
  border-radius: var(--radius-xl);
  padding: 64px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.agentforce-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: var(--agentforce-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.agentforce-card::after {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(closest-side, rgba(123, 47, 242, 0.22), transparent 70%);
  pointer-events: none;
}
.agentforce-card > * { position: relative; z-index: 1; }
.agentforce-card .eyebrow { color: var(--inverse-on-surface); }
.agentforce-card h2 { color: #fff; max-width: 640px; margin-bottom: 16px; }
.agentforce-card .gradient-text {
  background: var(--agentforce-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.agentforce-card .lede {
  color: rgba(255,255,255,0.78);
  font-size: 17px;
  max-width: 720px;
  margin: 0 0 40px;
  line-height: 1.6;
}

.agent-feature-list {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
}
.agent-feature {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: flex-start;
}
.agent-feature-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(132, 207, 255, 0.12);
  color: var(--inverse-primary);
  border-radius: var(--radius);
}
.agent-feature-icon svg { width: 20px; height: 20px; stroke-width: 1.75; }
.agent-feature-text h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 6px;
}
.agent-feature-text p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   CLOSING CTA
   ============================================ */
.closing-cta {
  background: var(--background);
  padding: 64px 0;
  text-align: center;
}
.closing-cta .container {
  background: var(--surface-container-lowest);
  border: 1px solid var(--surface-container);
  border-radius: var(--radius-xl);
  padding: 72px 56px;
  box-shadow: var(--shadow-md);
}
.closing-cta h2 {
  font-size: 40px;
  max-width: 720px;
  margin: 0 auto 16px;
}
.closing-cta p {
  font-size: 17px;
  color: var(--on-surface-variant);
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* ============================================
   GENERIC INNER PAGES
   ============================================ */
.page-default .page-header { display: none; }
.page-default .page-content { padding: 0; max-width: none; }
.page-default .wp-block-group.pulse-page-hero {
  padding: 72px 40px 48px;
  text-align: center;
  background: var(--background);
  border-bottom: 1px solid var(--surface-container);
}
.page-default .pulse-page-hero .eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}
.page-default .pulse-page-hero h1 {
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  max-width: 22ch;
  margin: 0 auto 20px;
}
.page-default .pulse-page-hero .lede {
  font-size: 18px;
  color: var(--on-surface-variant);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}
/* /thank-you/: the hero's Book a demo button sits below the lede, not on it. */
.page-default .pulse-page-hero .lede + .pulse-contact-action {
  margin: 28px 0 0;
}
.page-default .pulse-page-section-head {
  text-align: center;
  padding: 48px 40px 24px;
  max-width: 760px;
  margin: 0 auto;
}
.page-default .pulse-page-section-head h2 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.page-default .pulse-feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bento-gap);
  padding: 0 40px 40px;
  max-width: 1240px;
  margin: 0 auto;
  list-style: none;
}
.page-default .pulse-feature-list li {
  background: var(--surface-container-lowest);
  border: 1px solid var(--surface-container);
  border-radius: var(--radius-lg);
  padding: 28px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--on-surface);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.page-default .pulse-feature-list li:hover { box-shadow: var(--shadow-md); }
/* 4.0.0: skip link, visible only on keyboard focus. */
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10000; padding: 10px 16px; background: #fff; color: #06283E; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { left: 16px; }
/* 4.0.x: feature lists wrap and center, so a short last row (3 + 1,
   3 + 2, 3 + 3 + 2) or a one- or two-item list centers instead of
   leaving empty slots; four items sit 2 x 2. Desktop only, so the
   1024px and 720px column rules still apply below it. */
@media (min-width: 1025px) {
  .page-default .pulse-feature-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .page-default .pulse-feature-list > li {
    box-sizing: border-box;
    flex: 0 0 calc((100% - 2 * var(--bento-gap)) / 3);
  }
  .page-default .pulse-feature-list:has(> li:nth-child(4):last-child) {
    max-width: 920px;
  }
  .page-default .pulse-feature-list:has(> li:nth-child(4):last-child) > li {
    flex-basis: calc((100% - var(--bento-gap)) / 2);
  }
}
.page-default .pulse-feature-list li::marker { content: none; }
.page-default .pulse-feature-list strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--on-surface);
  margin-bottom: 6px;
  font-size: 15px;
}
.page-default .pulse-page-body {
  padding: 0 40px 24px;
  max-width: 820px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--on-surface-variant);
}
/* 4.0.x: a paragraph or card row directly after the hero gets the same top
   spacing a section heading has, instead of sitting on the hero rule. */
.page-default .pulse-page-hero + .pulse-page-body,
.page-default .pulse-page-hero + .pulse-three-cards {
  padding-top: 48px;
}
.page-default .pulse-page-cta {
  padding: 80px 40px 100px;
  text-align: center;
}
.page-default .pulse-page-cta h2 {
  font-size: 32px;
  margin-bottom: 16px;
}
.page-default .pulse-page-cta p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.page-default .pulse-compare-table {
  padding: 0 40px 40px;
  max-width: 1240px;
  margin: 0 auto;
}
.page-default .pulse-compare-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface-container-lowest);
  border: 1px solid var(--surface-container);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  font-size: 14px;
}
.page-default .pulse-compare-table th,
.page-default .pulse-compare-table td {
  padding: 16px 20px;
  text-align: left;
  /* 3.7.7: core block-library CSS gives every table cell a full 1px border in
     the text color; reset it so only the light row rule shows. */
  border: 0;
  border-bottom: 1px solid var(--surface-container);
}
.page-default .pulse-compare-table th {
  background: var(--surface-container-low);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--on-surface);
}
.page-default .pulse-compare-table tr:last-child td { border-bottom: none; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--inverse-surface);
  color: rgba(237, 240, 255, 0.78);
  padding: 80px 0 32px;
}
.site-footer h4,
.site-footer h5 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.site-footer a { color: rgba(237, 240, 255, 0.78); }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  margin-top: 56px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  font-size: 13px;
  color: var(--slate-mid); /* #6e7881 — secondary utility */
}
.footer-bottom > div,
.footer-bottom > a {
  color: var(--slate-mid);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.footer-bottom > a:hover {
  color: rgba(237, 240, 255, 0.78);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .container, .header-inner { padding-left: var(--margin-mobile); padding-right: var(--margin-mobile); }
  .hero-grid, .feature-row, .anchor-body { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.reverse > .feature-row-copy { order: 1; }
  .feature-row.reverse > .feature-row-media { order: 2; }
  .ceiling-grid, .segments-grid, .agent-feature-list { grid-template-columns: 1fr 1fr; }
  .stats-grid, .anchor-results { grid-template-columns: 1fr 1fr; }
  .anchor-quote-card { position: static; }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .agentforce-card { padding: 48px 36px; }
  .page-default .pulse-feature-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  h1, .hero h1 { font-size: 32px; line-height: 1.2; }
  h2, .ceiling-editorial h2, .anchor-head h2 { font-size: 26px; }
  .ceiling-grid, .segments-grid, .agent-feature-list,
  .stats-grid, .anchor-results { grid-template-columns: 1fr; }
  .ceiling-breakdown { padding: 20px 22px; }
  .agentforce-card { padding: 36px 24px; }
  .closing-cta .container { padding: 48px 24px; }
  .closing-cta h2 { font-size: 28px; }
  .stat-number, .anchor-result-number { font-size: 32px; }
  .page-default .pulse-page-hero h1 { font-size: 36px; }
  .page-default .pulse-feature-list { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER LAYOUT (v3.5.1 fix)
   ============================================ */
.site-footer .container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--margin-desktop);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(237, 240, 255, 0.62);
  margin: 16px 0 24px;
  max-width: 360px;
}
.footer-logo { height: 32px; width: auto; margin-bottom: 8px; }
.footer-wordmark {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 20px;
  letter-spacing: -0.02em;
  display: inline-block;
  margin-bottom: 8px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col li a {
  font-size: 14px;
  color: rgba(237, 240, 255, 0.78);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col li a:hover { color: #fff; }

/* Social icons — constrain hard to 24px, horizontal row */
.social-links {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(237, 240, 255, 0.78);
  transition: all var(--transition);
  text-decoration: none;
}
.social-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.social-link svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

/* ============================================
   ANCHOR CONDENSED v3.5.1
   ============================================ */
.anchor-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.anchor-head .eyebrow { color: var(--primary); }
.anchor-head h2 { margin: 0 auto 16px; max-width: 22ch; }
.anchor-lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--on-surface-variant);
  margin: 0 auto;
  max-width: 640px;
}
.anchor-condensed-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--bento-gap);
  max-width: 1240px;
  margin: 0 auto;
  align-items: stretch;
}
.anchor-condensed-body .anchor-quote-card {
  position: static;
  padding: 40px 36px;
  display: flex;
  align-items: center;
}
.anchor-condensed-body .anchor-results {
  margin: 0;
  max-width: none;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
@media (max-width: 1024px) {
  .anchor-condensed-body { grid-template-columns: 1fr; }
  .anchor-condensed-body .anchor-results { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
}
@media (max-width: 720px) {
  .anchor-condensed-body .anchor-results { grid-template-columns: 1fr; }
}

/* ============================================
   CEILING BENTO GRID v3.5.1
   Top row: 2 half-width cards · Bottom: 1 full-width card
   ============================================ */
.ceiling-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bento-gap);
  max-width: 1160px;
  margin: 0 auto;
}
.ceiling-bento .bento-half  { grid-column: span 1; }
.ceiling-bento .bento-full  { grid-column: span 2; }

.ceiling-bento .compare-card {
  background: var(--surface-container-lowest);
  border: 1px solid var(--surface-container);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ceiling-bento .compare-card:hover {
  border-color: var(--outline-variant);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.ceiling-bento .bento-full {
  background: linear-gradient(135deg, var(--surface-container-low) 0%, var(--surface-container-lowest) 100%);
  border-color: var(--surface-container-high);
}
.ceiling-bento .bento-full h3 { font-size: 26px; }

@media (max-width: 1024px) {
  .ceiling-bento { grid-template-columns: 1fr; }
  .ceiling-bento .bento-half,
  .ceiling-bento .bento-full { grid-column: span 1; }
}

/* ============================================
   AGENTFORCE NAVY v3.5.1
   Deep Navy full-bleed section, faint radial glow,
   Agentforce gradient applied ONLY to the H2 word.
   ============================================ */
.agentforce-navy {
  background: var(--inverse-surface);
  color: var(--inverse-on-surface);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.agentforce-navy-glow {
  position: absolute;
  top: -240px; right: -240px;
  width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(123, 47, 242, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.agentforce-navy .container { position: relative; z-index: 1; }
.agentforce-navy .agentforce-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.agentforce-navy .eyebrow { color: rgba(237, 240, 255, 0.78); }
.agentforce-navy .eyebrow-ai {
  background: var(--agentforce-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.agentforce-navy h2 {
  color: #fff;
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.agentforce-navy .gradient-word {
  background: var(--agentforce-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.agentforce-navy .lede {
  font-size: 17px;
  color: rgba(255,255,255,0.74);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}
.agentforce-navy .agent-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 56px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.agentforce-navy .agent-feature {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: flex-start;
}
.agentforce-navy .agent-feature-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(132, 207, 255, 0.10);
  color: var(--inverse-primary);
  border-radius: var(--radius);
}
.agentforce-navy .agent-feature-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.75;
}
.agentforce-navy .agent-feature-text h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 6px;
}
.agentforce-navy .agent-feature-text p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 1024px) {
  .agentforce-navy .agent-feature-list { grid-template-columns: 1fr; }
  .agentforce-navy h2 { font-size: 32px; }
}

/* ============================================
   BOOKING MODAL (v3.5.1 fix — must be hidden by default)
   ============================================ */
.pulse-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.pulse-modal[aria-hidden="false"] {
  display: flex;
}
.pulse-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 27, 43, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.pulse-modal-panel {
  position: relative;
  background: var(--surface-container-lowest);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 720px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  z-index: 1;
}
.pulse-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--surface-container-low);
  border: none;
  font-size: 20px;
  line-height: 1;
  color: var(--on-surface-variant);
  cursor: pointer;
  transition: all var(--transition);
}
.pulse-modal-close:hover {
  background: var(--surface-container);
  color: var(--on-surface);
}
.pulse-modal-panel h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--on-surface);
}
.pulse-modal-sub {
  font-size: 15px;
  color: var(--on-surface-variant);
  margin-bottom: 20px;
}
.pulse-modal-fallback {
  font-size: 13px;
  color: var(--on-surface-variant);
  margin-top: 12px;
  margin-bottom: 0;
}

/* ============================================
   v3.5.4 — Integration bar, AppExchange, Monday callout, Pricing tiers
   ============================================ */

/* Integration ecosystem bar (vertical pages) */
.pulse-integration-bar {
  background: var(--surface-container-low);
  border-top: 1px solid var(--surface-container);
  border-bottom: 1px solid var(--surface-container);
  padding: 24px var(--margin-desktop) !important;
  margin: 0 !important;
  max-width: none !important;
}
.pulse-integration-bar-text {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--on-surface-variant);
  margin: 0;
  letter-spacing: 0.02em;
}
.pulse-integration-bar-text::before {
  content: "⚡ ";
  color: var(--primary);
  margin-right: 4px;
  font-weight: 600;
}

/* AppExchange ecosystem bento grid (Platform page) */
.appex-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--bento-gap);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--margin-desktop) 40px;
}
.appex-card {
  background: var(--surface-container-lowest);
  border: 1px solid var(--surface-container);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.appex-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--primary-container);
}
.appex-card-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}
.appex-card-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--on-surface);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.appex-card-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--on-surface-variant);
  margin: 0;
}
/* 4.0.0: two partner cards sit centered as a pair, not in half of a 4-column row. */
@media (min-width: 1025px) {
  .appex-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); max-width: 840px; }
}
@media (max-width: 1024px) { .appex-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .appex-grid { grid-template-columns: 1fr; } }

/* Monday.com competitive callout */
.monday-callout {
  max-width: 1240px;
  margin: 40px auto;
  padding: 0 var(--margin-desktop);
}
.monday-callout-inner {
  background: linear-gradient(135deg, var(--inverse-surface) 0%, #1c2236 100%);
  color: var(--inverse-on-surface);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.monday-callout-inner::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(closest-side, rgba(0,161,224,0.18), transparent 70%);
  pointer-events: none;
}
.monday-callout-copy { position: relative; z-index: 1; }
.monday-callout-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: rgba(132, 207, 255, 0.90);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 10px;
}
.monday-callout-headline {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.monday-callout-sub {
  font-size: 15px;
  color: rgba(237, 240, 255, 0.78);
  margin: 0;
  line-height: 1.5;
}
.monday-callout-btn {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .monday-callout-inner { grid-template-columns: 1fr; padding: 32px 28px; }
  .monday-callout-headline { font-size: 20px; }
}

/* Pricing tiers (Pricing page) — 3 columns */
.pricing-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--bento-gap);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--margin-desktop) 48px;
  align-items: stretch;
}
/* Two-card layout (v3.5.15): center the pair, keep each card the same
   ~360px width it has in the 3-up grid rather than stretching to fill. */
.pricing-tiers--2 {
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
}
.pricing-tier {
  position: relative;
  background: var(--surface-container-lowest);
  border: 1px solid var(--surface-container);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.pricing-tier:hover { box-shadow: var(--shadow-md); }
.pricing-tier-featured {
  background: linear-gradient(180deg, var(--surface-container-lowest) 0%, var(--surface-container-low) 100%);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.pricing-tier-badge {
  position: absolute;
  top: -12px;
  left: 36px;
  background: var(--primary);
  color: var(--on-primary);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}
.pricing-tier-head { display: flex; flex-direction: column; gap: 6px; }
.pricing-tier-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--on-surface);
  margin: 0;
  letter-spacing: -0.02em;
}
.pricing-tier-tagline {
  font-size: 14px;
  color: var(--on-surface-variant);
  margin: 0;
  line-height: 1.5;
}
.pricing-tier-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--surface-container);
  border-bottom: 1px solid var(--surface-container);
}
.pricing-tier-price-amount {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 44px;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.pricing-tier-price-sub {
  font-size: 13px;
  color: var(--on-surface-variant);
  font-weight: 500;
}
.pricing-tier-audience {
  font-size: 13px;
  color: var(--on-surface-variant);
  margin: 0;
  line-height: 1.5;
  font-style: italic;
}
.pricing-tier-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pricing-tier-features li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--on-surface);
  line-height: 1.5;
}
.pricing-tier-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 14px;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/contain no-repeat;
}
.pricing-tier-cta {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
@media (max-width: 1024px) {
  .pricing-tiers { grid-template-columns: 1fr; max-width: 520px; }
  .pricing-tier-featured { transform: none; }
}

/* ============================================
   BYOL HEALTH CLOUD CO-SELL BANNER (v3.5.5)
   Wide horizontal bento, tinted background.
   ============================================ */
.byol-banner {
  max-width: 1240px;
  margin: 32px auto 0;
  padding: 0 var(--margin-desktop);
}
.byol-banner-inner {
  background: linear-gradient(135deg, var(--surface-container-low) 0%, var(--primary-fixed) 100%);
  border: 1px solid var(--surface-container-high);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.byol-banner-inner::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(closest-side, rgba(0, 161, 224, 0.16), transparent 70%);
  pointer-events: none;
}
.byol-banner-copy { position: relative; z-index: 1; max-width: 560px; }
.byol-banner-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 8px;
}
.byol-banner-headline {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--on-surface);
  line-height: 1.3;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.byol-banner-body {
  font-size: 14px;
  color: var(--on-surface-variant);
  margin: 0;
  line-height: 1.55;
}
.byol-banner-price {
  position: relative;
  z-index: 1;
  text-align: right;
  padding: 0 8px 0 24px;
  border-left: 1px solid var(--surface-container-high);
}
.byol-banner-price-amount {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.byol-banner-price-sub {
  font-size: 12px;
  color: var(--on-surface-variant);
  font-weight: 500;
  line-height: 1.4;
  max-width: 220px;
  margin-left: auto;
}
.byol-banner-btn {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}
@media (max-width: 1024px) {
  .byol-banner-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .byol-banner-copy { max-width: none; margin: 0 auto; }
  .byol-banner-price {
    border-left: none;
    border-top: 1px solid var(--surface-container-high);
    padding: 24px 0 0;
    text-align: center;
  }
  .byol-banner-price-sub { margin: 0 auto; }
}

/* ============================================
   v3.5.6 — Hero video frame (suppress YT chrome)
   ============================================ */
.hero-video-frame {
  position: absolute;
  inset: 0;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  /* Slight scale-up + clip masks the YT branding strip at top + watermark bottom-right */
  transform: scale(1.06);
  transform-origin: center;
}
.hero-video-frame::after {
  /* Bottom-right watermark mask — same color as the player, hides the YT logo overlay */
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 80px; height: 30px;
  background: linear-gradient(transparent, rgba(0,0,0,0.001));
  pointer-events: none;
}

/* ============================================
   v3.5.6 — Agentforce dense capability grid
   ============================================ */
.agent-capability-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}
.agent-capability {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition);
}
.agent-capability:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(132, 207, 255, 0.30);
  transform: translateY(-2px);
}
.agent-capability-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(132, 207, 255, 0.10);
  color: var(--inverse-primary);
  border-radius: var(--radius-sm);
}
.agent-capability-icon svg { width: 18px; height: 18px; }
.agent-capability-text h4 {
  color: #fff;
  font-size: 15px;
  margin: 0 0 4px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.agent-capability-text p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 1024px) {
  .agent-capability-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .agent-capability-grid { grid-template-columns: 1fr; }
}

/* ============================================
   v3.5.7 — Solutions page: text width constraints,
   visual integration trust bar, inline calendar embed
   ============================================ */

/* Constrain inner page body copy + lede to readable width */
.page-default .pulse-page-hero .lede,
.page-default .pulse-page-section-head .section-lede,
.page-default .pulse-page-body {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.page-default .pulse-page-hero h1 {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

/* Visual integration logo trust bar (Solutions pages) */
.integration-trust {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 40px 8px;
  text-align: center;
}
.integration-trust-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  margin: 0 0 20px;
}
.integration-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  align-items: stretch;
}
.integration-trust-row .integration-trust-logo {
  flex: 1 1 240px;
  min-width: 240px;
  max-width: 340px;
}
.integration-trust-logo {
  height: 96px;
  border-radius: var(--radius-lg);
  background: var(--surface-container-lowest);
  border: 1px solid var(--surface-container);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--on-surface);
  letter-spacing: -0.01em;
  transition: all var(--transition);
}
.integration-trust-logo:hover {
  border-color: var(--outline-variant);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.integration-trust-logo img {
  max-height: 44px;
  max-width: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.integration-trust-logo .placeholder-name {
  display: inline-block;
}
@media (max-width: 720px) {
  .integration-trust-row { grid-template-columns: 1fr; }
  .integration-trust-logo { height: 80px; }
}

/* Inline calendar embed (replaces the secondary "Book a Demo" CTA) */
.inline-calendar {
  max-width: 1080px;
  margin: 0 auto 96px;
  padding: 0 40px;
}
.inline-calendar-head {
  text-align: center;
  margin-bottom: 32px;
}
.inline-calendar-head h2 {
  font-size: 32px;
  margin-bottom: 12px;
}
.inline-calendar-head p {
  font-size: 17px;
  color: var(--on-surface-variant);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}
.inline-calendar-frame {
  background: var(--surface-container-lowest);
  border: 1px solid var(--surface-container);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  min-height: 720px;
  position: relative;
}
.inline-calendar-frame iframe {
  width: 100%;
  height: 720px;
  border: 0;
  display: block;
}
/* Facade state (3.7.5): centers the "Show available times" button until
   main.js swaps in the iframe. Only matches opt-in data-cal-src markup. */
.inline-calendar-frame[data-cal-src]:not([data-loaded]) {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 720px) {
  .inline-calendar { padding: 0 16px; }
  .inline-calendar-frame { min-height: 620px; }
  .inline-calendar-frame iframe { height: 620px; }
}

/* ============================================
   v3.5.9 — Browser-window screenshot mockup
   ============================================ */
.browser-mockup {
  position: relative;
  background: var(--surface-container-lowest);
  border: 1px solid var(--surface-container);
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 16px rgba(20, 27, 43, 0.06),
    0 24px 48px -8px rgba(41, 48, 64, 0.18),
    0 48px 96px -24px rgba(41, 48, 64, 0.22);
  overflow: hidden;
}
.browser-mockup-header {
  height: 32px;
  background: var(--surface-container-low);
  border-bottom: 1px solid var(--surface-container);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
}
.browser-mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--outline-variant);
}
.browser-mockup-dot.red    { background: #FF5F57; }
.browser-mockup-dot.yellow { background: #FEBC2E; }
.browser-mockup-dot.green  { background: #28C840; }
.browser-mockup-body {
  display: block;
}
.browser-mockup-body img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   v3.5.9 — "Built for every level" zig-zag layout
   ============================================ */
.platform-levels {
  padding: 32px 40px 64px;
  max-width: 1240px;
  margin: 0 auto;
}
.platform-level-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
  padding: 48px 0;
}
.platform-level-row.reverse > .platform-level-copy { order: 2; }
.platform-level-row.reverse > .platform-level-media { order: 1; }
.platform-level-copy .level-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 10px;
}
.platform-level-copy h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--on-surface);
}
.platform-level-copy p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--on-surface-variant);
  margin: 0;
  max-width: 480px;
}
@media (max-width: 1024px) {
  .platform-level-row { grid-template-columns: 1fr; gap: 32px; padding: 32px 0; }
  .platform-level-row.reverse > .platform-level-copy { order: 1; }
  .platform-level-row.reverse > .platform-level-media { order: 2; }
  .platform-level-copy h3 { font-size: 26px; }
}

/* ============================================
   v3.5.9 — Home Care reporting showcase
   ============================================ */
.reporting-showcase {
  max-width: 1140px;
  margin: 16px auto 0;
  padding: 0 40px 24px;
}
.reporting-showcase-eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 20px;
}
.reporting-showcase .browser-mockup {
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .platform-levels, .reporting-showcase { padding-left: 16px; padding-right: 16px; }
}

/* ============================================
   v3.5.10 — Inner-page three-card layout fix
   Constrains the wp:columns to a centered max-width,
   adds proper gap, internal padding, and bento card chrome.
   ============================================ */
.page-default .pulse-three-cards {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 40px 64px;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px !important;
  /* override Gutenberg's default wp:columns flex */
  flex-wrap: nowrap !important;
}
.page-default .pulse-three-cards .wp-block-column {
  width: 100% !important;
  margin: 0 !important;
  flex-basis: auto !important;
  flex-grow: 1 !important;
}
.page-default .pulse-three-cards .pulse-card {
  background: var(--surface-container-lowest);
  border: 1px solid var(--surface-container);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-default .pulse-three-cards .pulse-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--outline-variant);
}
.page-default .pulse-three-cards .pulse-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--on-surface);
  margin: 0;
}
.page-default .pulse-three-cards .pulse-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--on-surface-variant);
  margin: 0;
}
/* 3.7.5: proof numbers on /behavioral-health/ ("4 weeks", "8 intake stages",
   "100+ recovery goals") read as stats. Only the generator's
   pulse_page_block_link_cards( ..., 'pulse-proof pulse-stats' ) row matches. */
.page-default .pulse-three-cards.pulse-stats .pulse-card h3 {
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
/* 4.0.0: exactly four cards sit 2 x 2 instead of 3 + 1 orphan, and a
   two-card row centers instead of leaving an empty third column. Desktop
   only: these :has() selectors outrank the 1024px and 720px column rules
   below, which kept four-card rows at 2 or 4 columns on phones. FAQ rows
   keep their one-question-per-row layout. */
@media (min-width: 1025px) {
  .page-default .pulse-three-cards:not(.pulse-faq):has(> .wp-block-column:nth-child(4):last-child),
  .page-default .pulse-three-cards:not(.pulse-faq):has(> .wp-block-column:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
    max-width: 920px;
  }
}
/* Four stats go 4-up only once each card fits '4.9 out of 5' on one line;
   1025-1199px keeps the 2 x 2 four-card rule above. */
@media (min-width: 1200px) {
  .page-default .pulse-three-cards.pulse-stats:has(> .wp-block-column:nth-child(4):last-child) {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1240px;
  }
}
@media (max-width: 1024px) {
  .page-default .pulse-three-cards {
    grid-template-columns: 1fr 1fr;
    padding: 24px 24px 48px;
  }
}
@media (max-width: 720px) {
  .page-default .pulse-three-cards {
    grid-template-columns: 1fr;
    padding: 16px 16px 40px;
    gap: 16px !important;
  }
}

/* ============================================
   v3.5.11 — Footer-bottom Terms + Enterprise inline links
   ============================================ */
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.footer-bottom-links a {
  color: var(--slate-mid);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  transition: color var(--transition);
}
.footer-bottom-links a:hover {
  color: rgba(237, 240, 255, 0.78);
}

/* ============================================
   v3.5.12 — Integrated marketing (360 view)
   ============================================ */
.integrated-marketing {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 40px 64px;
}
.integrated-marketing .im-head {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}
.integrated-marketing .im-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 12px;
}
.integrated-marketing .im-headline {
  font-family: 'Poppins', sans-serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--on-surface);
  margin: 0 0 16px;
}
.integrated-marketing .im-intro {
  font-size: 17px;
  line-height: 1.65;
  color: var(--on-surface-variant);
  margin: 0;
}
.integrated-marketing .im-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.integrated-marketing .im-channel-card {
  background: var(--surface-container-lowest);
  border: 1px solid var(--surface-container);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.integrated-marketing .im-channel-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--outline-variant);
}
.integrated-marketing .im-channel-num {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary-container);
}
.integrated-marketing .im-channel-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--on-surface);
  margin: 0;
}
.integrated-marketing .im-channel-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--on-surface-variant);
  margin: 0;
}
.integrated-marketing .im-showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 48px;
  align-items: center;
}
.integrated-marketing .im-showcase-copy h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--on-surface);
  margin: 0 0 14px;
}
.integrated-marketing .im-showcase-copy p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--on-surface-variant);
  margin: 0;
  max-width: 440px;
}
@media (max-width: 1024px) {
  .integrated-marketing .im-channels { grid-template-columns: 1fr 1fr; }
  .integrated-marketing .im-showcase { grid-template-columns: 1fr; gap: 28px; }
  .integrated-marketing .im-showcase-copy p { max-width: none; }
}
@media (max-width: 720px) {
  .integrated-marketing { padding: 16px 16px 40px; }
  .integrated-marketing .im-channels { grid-template-columns: 1fr; gap: 16px; }
  .integrated-marketing .im-headline { font-size: 28px; }
}

/* ============================================
   v3.5.12 — Screenshot lightbox (click to enlarge)
   ============================================ */
.browser-mockup.is-zoomable {
  cursor: zoom-in;
}
.browser-mockup.is-zoomable:focus-visible {
  outline: 2px solid var(--primary-container);
  outline-offset: 3px;
}
.browser-mockup.is-zoomable::after {
  content: 'Click to enlarge';
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(20, 27, 43, 0.72);
  padding: 5px 10px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.browser-mockup.is-zoomable:hover::after,
.browser-mockup.is-zoomable:focus-visible::after {
  opacity: 1;
}
.pulse-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  background: rgba(20, 27, 43, 0.82);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  cursor: zoom-out;
}
.pulse-lightbox[aria-hidden="false"] {
  display: flex;
}
.pulse-lightbox-figure {
  margin: 0;
  max-width: 1400px;
  max-height: 92vh;
  display: flex;
}
.pulse-lightbox-figure img {
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  cursor: default;
}
.pulse-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition);
}
.pulse-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.24);
}
@media (max-width: 720px) {
  .pulse-lightbox { padding: 2vh 2vw; }
  .pulse-lightbox-close { top: 12px; right: 12px; }
}

/* =========================================================
   BLOG / RESOURCES  (single posts + archive listing)
   Added for the Resources content hub. Uses M3 design tokens.
   ========================================================= */

/* --- Shared page intro (archive header) --- */
.site-main.archive { padding: 72px 0 96px; }
.site-main.archive .page-header { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.site-main.archive .page-title { font-size: 44px; line-height: 1.1; letter-spacing: -0.03em; }
.site-main.archive .page-intro {
  margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--on-surface-variant);
}

/* --- Post grid (Resources listing) --- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--bento-gap);
  align-items: stretch;
}
.post-card {
  display: flex; flex-direction: column;
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-container);
}
.post-card .post-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-container); }
.post-card .post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card > *:not(.post-thumb) { margin-left: 24px; margin-right: 24px; }
.post-card .post-title { font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; margin-top: 22px; }
.post-card .post-title a { color: var(--on-surface); text-decoration: none; }
.post-card .post-title a:hover { color: var(--primary); }
.post-card .post-meta {
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-surface-variant);
  margin-top: 10px;
}
.post-card .post-excerpt { font-size: 15px; line-height: 1.6; color: var(--on-surface-variant); margin-top: 12px; }
.post-card .segment-link {
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px;
  color: var(--primary); text-decoration: none;
  margin-top: auto; padding-top: 18px; padding-bottom: 24px;
  display: inline-flex; align-items: center; gap: 6px;
}
.post-card .segment-link .arrow { transition: transform var(--transition); }
.post-card:hover .segment-link .arrow { transform: translateX(3px); }

.pagination { margin-top: 56px; text-align: center; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px; margin: 0 3px;
  border-radius: var(--radius); border: 1px solid var(--outline-variant);
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px;
  color: var(--on-surface); text-decoration: none; transition: all var(--transition);
}
.pagination .page-numbers.current { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.pagination .page-numbers:not(.current):hover { border-color: var(--primary); color: var(--primary); }

/* --- Single post --- */
.site-main.single { padding: 64px 0 96px; }
.single-article.container { max-width: 760px; }
.single-header { margin-bottom: 32px; }
.single-meta {
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary);
  margin: 0 0 14px;
}
.single-title { font-size: 42px; line-height: 1.12; letter-spacing: -0.03em; }
.single-thumb { margin: 36px 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.single-thumb img { width: 100%; height: auto; display: block; }

/* Article body typography */
.single-content { font-size: 18px; line-height: 1.7; color: var(--on-surface); }
.single-content > * + * { margin-top: 24px; }
.single-content h2 {
  font-size: 28px; line-height: 1.2; letter-spacing: -0.02em;
  margin-top: 48px; margin-bottom: 4px;
}
.single-content h3 { font-size: 22px; line-height: 1.25; margin-top: 36px; }
.single-content p { margin-top: 20px; }
.single-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.single-content a:hover { color: var(--on-primary-container); }
.single-content ul, .single-content ol { padding-left: 24px; margin-top: 20px; }
.single-content li { margin-top: 10px; }
.single-content li::marker { color: var(--primary); }
.single-content strong { color: var(--on-surface); font-weight: 600; }
.single-content blockquote {
  margin: 32px 0; padding: 20px 28px;
  border-left: 4px solid var(--primary-container);
  background: var(--surface-container-low);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 19px; line-height: 1.55; color: var(--on-surface);
}
.single-content blockquote p { margin: 0; }
.single-content blockquote cite { display: block; margin-top: 12px; font-size: 14px; font-style: normal; color: var(--on-surface-variant); }
.single-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.single-content figure { margin-top: 28px; }
.single-content figcaption { font-size: 13px; color: var(--on-surface-variant); margin-top: 8px; text-align: center; }
.single-content hr { border: none; border-top: 1px solid var(--outline-variant); margin: 40px 0; }

/* Key-stats callout (reusable in article body via a group block) */
.single-content .pulse-stat-band {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 36px 0; padding: 0;
}
.single-content .pulse-stat {
  background: var(--surface-container-low); border: 1px solid var(--outline-variant);
  border-radius: var(--radius-md); padding: 22px 20px;
}
.single-content .pulse-stat .num {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 30px;
  line-height: 1.05; color: var(--primary); letter-spacing: -0.02em;
}
.single-content .pulse-stat .lbl { font-size: 14px; line-height: 1.45; color: var(--on-surface-variant); margin-top: 8px; }

/* In-article CTA band */
.single-content .pulse-article-cta {
  margin: 48px 0 8px; padding: 36px 32px;
  background: var(--inverse-surface); color: var(--inverse-on-surface);
  border-radius: var(--radius-lg); text-align: center;
}
.single-content .pulse-article-cta h3 { color: #fff; margin: 0 0 10px; font-size: 24px; }
.single-content .pulse-article-cta p { color: rgba(255,255,255,0.82); margin: 0 auto 22px; max-width: 520px; font-size: 16px; }
.single-content .pulse-article-cta .btn-primary { background: var(--primary-container); color: var(--on-primary-container); text-decoration: none; }
.single-content .pulse-article-cta .btn-primary:hover { background: #fff; color: var(--primary); }

@media (max-width: 1024px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .post-grid { grid-template-columns: 1fr; }
  .single-title { font-size: 32px; }
  .site-main.archive .page-title { font-size: 34px; }
  .single-content { font-size: 17px; }
  .single-content h2 { font-size: 24px; }
  .single-content .pulse-stat-band { grid-template-columns: 1fr; }
}

/* ============================================
   Mobile navigation (3.7.1) — the .menu-toggle
   button existed but was never revealed, so
   phones showed the desktop links wrapped.
   ============================================ */
@media (max-width: 1024px) {
  .header-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { gap: 16px; }
  .header-logo img { max-height: 40px; width: auto; }

  /* Opened panel: main.js toggles .is-open and inline-styles the white
     fixed panel; these rules cover the panel's inner layout. */
  .header-nav.is-open { display: flex; justify-content: flex-start; max-height: calc(100vh - 64px); overflow-y: auto; }
  .header-nav.is-open .primary-menu { list-style: none; margin: 0; padding: 0; width: 100%; }
  .header-nav.is-open .primary-menu > li > a {
    display: block; padding: 10px 0; font-size: 16px; color: var(--on-surface);
  }

  /* Sub-menus flatten into inline lists inside the panel. */
  .header-nav.is-open .sub-menu {
    position: static; transform: none; min-width: 0;
    opacity: 1; visibility: visible; pointer-events: auto;
    display: block; box-shadow: none; border: none; background: transparent;
    padding: 0 0 6px 14px; margin: 0;
  }
  .header-nav.is-open .sub-menu a { padding: 8px 10px; }

  /* The panel is white even on the navy homepage header: links go navy
     (overrides the homepage's white nav-link color at higher specificity). */
  .home .header-nav.is-open .primary-menu > li > a { color: #09384A; }
}

/* Mobile header CTA sizing (3.7.1b): keep logo + Book a Demo + toggle on one row */
@media (max-width: 1024px) {
  .header-cta { gap: 8px; }
  .header-cta .btn { padding: 10px 16px; font-size: 14px; white-space: nowrap; }
}
@media (max-width: 400px) {
  .header-cta .btn { padding: 9px 12px; font-size: 13px; }
}

/* Footer grid collapse (3.7.3): the footer's 4-column grid never collapsed
   on phones, forcing sitewide horizontal scroll at mobile widths */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   PAGE TITLE (page.php header)
   Rendered as <p> on pages whose content has
   its own H1 — keep the browser-default h1
   look so the demotion is visually invisible.
   ============================================ */
.page-article .page-title {
  font-size: 2em;
  font-weight: 700;
  line-height: 1.2;
  margin: 0.67em 0;
}

/* ============================================
   BOOK A DEMO LINKS (3.7.5)
   pulse_demo_button() now renders
   <a href="/contact/" data-pulse-booking role="button"> instead of
   <button>, so /contact/ gets a crawlable link and the CTA works
   without JS. These rules keep the link identical to the old button:
   .btn already sets display, font, padding and cursor; this restores
   what the <button> UA defaults gave for free and blocks contextual
   link rules (.single-content a underline and color, .site-footer a
   color) from reaching it.
   ============================================ */
a[data-pulse-booking] {
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  letter-spacing: normal;
  word-spacing: normal;
  text-transform: none;
  text-indent: 0;
  text-shadow: none;
  font-style: normal;
}
a[data-pulse-booking]:hover,
a[data-pulse-booking]:focus {
  text-decoration: none;
}
a.btn-primary[data-pulse-booking],
a.btn-primary[data-pulse-booking]:hover {
  color: var(--on-primary);
}

/* --------------------------------------------------------------------------
   3.7.7 visual QA fixes (2026-10-05)
   ------------------------------------------------------------------------ */

/* FAQ rows: one question per row, readable line length (seven cards in a
   three-column grid left the last card alone on its own row). */
.page-default .pulse-three-cards.pulse-faq {
  grid-template-columns: 1fr;
  max-width: 920px;
}

/* Older card rows wrap the heading and text in .wp-block-group__inner-container,
   which bypasses the card's flex gap, so the heading sat on the paragraph. */
.page-default .pulse-three-cards .pulse-card > .wp-block-group__inner-container > h3 + p {
  margin-top: 12px;
}

/* Pulse logo: the theme now serves a trimmed file (no built-in padding), so a
   slightly smaller box shows a larger mark. Out-specifies the Customizer's
   ".site-header .header-logo img { height: 40px !important }". */
html body .site-header .header-logo img {
  height: 34px !important;
  width: auto !important;
}
html body .site-footer .footer-logo {
  height: 28px;
  width: auto;
}


/* ============================================================
   CUSTOMER STORIES (4.0.0): /customers/ grid + single labels
   ============================================================ */
.pulse-stories { max-width: 1240px; margin: 8px auto 48px; padding: 0 40px; box-sizing: border-box; }
.pulse-stories-filter { display: grid; gap: 10px; margin: 0 0 28px; }
.pulse-stories-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pulse-stories-filter-row span { font-weight: 600; color: var(--navy); margin-right: 4px; }
.pulse-stories-filter-row a { padding: 6px 14px; border-radius: var(--radius-pill); border: 1px solid var(--surface-dim); color: var(--navy); text-decoration: none; font-size: 14px; background: var(--surface-container-lowest); }
.pulse-stories-filter-row a:hover { border-color: var(--primary); color: var(--primary); }
.pulse-stories-filter-row a[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pulse-stories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.pulse-story-card { background: var(--surface-container-lowest); border: 1px solid var(--surface-container-high); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.pulse-story-card:hover { box-shadow: 0 12px 28px rgba(9,56,74,.12); transform: translateY(-2px); }
.pulse-story-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.pulse-story-thumb img { display: block; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.pulse-story-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.pulse-story-body h3 { font-size: 18px; line-height: 1.35; margin: 4px 0 2px; color: var(--navy); }
.pulse-story-body p { font-size: 14px; line-height: 1.55; margin: 0; color: #4a5568; }
.pulse-story-label { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--surface-container); color: var(--primary); }
.pulse-story-services-engagement .pulse-story-label, p.pulse-story-services-engagement { background: #eef1f5; color: #3d4757; }
p.pulse-story-label { margin: 0 0 16px; }
.pulse-story-industry { font-size: 13px; color: #6b7280; }
.pulse-stories-empty { grid-column: 1 / -1; color: #6b7280; }
.pulse-story-back { margin-top: 28px; }
@media (max-width: 1024px) { .pulse-stories { padding: 0 24px; } }
@media (max-width: 640px) { .pulse-stories { padding: 0 16px; } .pulse-stories-grid { grid-template-columns: 1fr; } }
