/* =========================================================
   Pulse Platform V3 — main stylesheet (v3.3: Lumary-Structured)
   Design system: Agentforce Hybrid
   Aesthetic: enterprise SaaS, sharp corners, subtle shadows,
   alternating feature rows, generous whitespace.
   ========================================================= */

:root {
  /* Anchor + text */
  --navy:       #032D60;
  --navy-tint:  #EAF0F8;
  --ink:        #111827;
  --slate-dark: #374151;
  --slate-mid:  #6B7280;
  --slate-soft: #9CA3AF;

  /* Primary action */
  --sfdc-blue:      #00A1E0;
  --sfdc-blue-dark: #0089BF;
  --sfdc-blue-tint: #E6F6FC;

  /* AI accent */
  --agentforce-gradient: linear-gradient(135deg, #00A1E0 0%, #7B2FF2 50%, #D946EF 100%);
  --agent-purple:  #7B2FF2;
  --agent-magenta: #D946EF;

  /* Surfaces */
  --white: #FFFFFF;
  --mist:  #F9FAFB;
  --line:  #E5E7EB;
  --line-strong: #D1D5DB;

  /* Semantic */
  --success: #047857;
  --danger:  #B91C1C;

  /* Radius — Tailwind-equivalent scale, capped at lg */
  --radius-sm: 4px;   /* tw rounded */
  --radius-md: 6px;   /* tw rounded-md */
  --radius-lg: 8px;   /* tw rounded-lg */
  --radius-xl: 12px;  /* tw rounded-xl — used sparingly on hero media */

  /* Shadows — Tailwind-equivalent scale */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 24px -8px rgba(3, 45, 96, 0.10), 0 4px 8px -4px rgba(3, 45, 96, 0.06);
  --shadow-xl: 0 24px 48px -12px rgba(3, 45, 96, 0.18);

  --transition: 0.2s ease-out;
}

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

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

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
}
h1 { font-weight: 800; font-size: 72px; line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-weight: 700; font-size: 44px; line-height: 1.12; letter-spacing: -0.025em; }
h3 { font-weight: 600; font-size: 22px; line-height: 1.3; }
h4 { font-weight: 600; font-size: 17px; line-height: 1.4; }
h5 { font-weight: 600; font-size: 13px; line-height: 1.4; text-transform: uppercase; letter-spacing: 0.1em; color: var(--sfdc-blue-dark); }

p { margin: 0 0 16px; line-height: 1.7; }
a { color: var(--sfdc-blue-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--sfdc-blue); }

/* ---------- Layout primitives ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
section { padding: 140px 0; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 500; font-size: 15px; line-height: 1;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--sfdc-blue);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--sfdc-blue-dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.30);
}
.btn-ghost-dark:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,0.05);
}
.btn .icon { width: 16px; height: 16px; }

/* ---------- Sticky Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 18px 48px;
  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(--ink); text-decoration: none; font-size: 18px; display: inline-flex; align-items: center; gap: 10px; }
.header-logo img { height: 28px; width: auto; }
.logo-wordmark { letter-spacing: -0.01em; }

.header-nav { display: flex; justify-content: center; }
.primary-menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 36px;
}
.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(--slate-dark); padding: 10px 0;
  transition: color var(--transition);
}
.primary-menu > li > a:hover { color: var(--ink); }
.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(--white);
  border: 1px solid var(--line);
  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-md);
  text-decoration: none;
  color: var(--ink);
  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(--slate-mid); line-height: 1.5; }
.sub-menu a:hover { background: var(--mist); }

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

.menu-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: var(--radius-md);
  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(--ink); 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 — 50/50 split, massive H1 ---------- */
.hero {
  padding: 120px 0 100px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero h1 {
  max-width: 640px;
  margin-bottom: 32px;
}
.hero .lede {
  font-size: 20px;
  line-height: 1.6;
  color: var(--slate-dark);
  max-width: 580px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  background: var(--mist);
  border: 1px solid var(--line);
  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(--white);
  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(--sfdc-blue);
  border-top: 12px solid transparent; border-bottom: 12px solid transparent;
  margin-left: 4px;
}
.video-meta {
  position: absolute; left: 20px; bottom: 20px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px; padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.02em;
}

/* ---------- Stats Strip (Lumary nod, below hero) ---------- */
.hero-stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat {
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 44px;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: var(--slate-mid);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ---------- Trust ---------- */
.trust { padding: 80px 0; background: var(--mist); border-bottom: 1px solid var(--line); }
.trust-label { text-align: center; font-size: 12px; color: var(--slate-mid); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 40px; }
.trust-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: center; }
.trust-logo {
  height: 64px; border-radius: var(--radius-md);
  background: var(--white); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px;
  color: var(--slate-mid); letter-spacing: 0.02em;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.trust-logo:hover { color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-md); }

/* ---------- Section heads ---------- */
.section-head { max-width: 820px; margin: 0 auto 72px; text-align: center; }
.section-head h2 { margin-bottom: 20px; }
.section-head .lede { font-size: 19px; color: var(--slate-dark); line-height: 1.65; }

/* ---------- Operational ceiling ---------- */
.ceiling { background: var(--mist); }
.ceiling-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.compare-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.compare-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  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(--danger);
}
.compare-card .trap-label::before { content: ""; width: 6px; height: 6px; background: var(--danger); border-radius: 1px; }
.compare-card h3 { font-size: 22px; margin: 0; }
.compare-card .status-quo { font-size: 15px; color: var(--slate-dark); line-height: 1.7; margin: 0; }
.compare-card .divider { height: 1px; background: var(--line); margin: 4px 0; }
.compare-card .pulse-answer { font-size: 14px; color: var(--ink); line-height: 1.65; 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(--sfdc-blue-dark); background: var(--sfdc-blue-tint);
  padding: 5px 8px; border-radius: var(--radius-sm); margin-top: 2px;
  line-height: 1;
}

/* ---------- Segments ---------- */
.segments-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.segment-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.segment-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--agentforce-gradient); opacity: 0;
  transition: opacity var(--transition);
}
.segment-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.segment-card:hover::after { opacity: 1; }
.segment-icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: var(--sfdc-blue-tint); color: var(--sfdc-blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 28px;
}
.segment-icon svg { width: 28px; height: 28px; stroke-width: 1.5; }
.segment-card h3 { font-size: 22px; margin-bottom: 12px; }
.segment-card p { font-size: 15px; color: var(--slate-dark); margin-bottom: 24px; line-height: 1.7; }
.segment-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--sfdc-blue-dark); }
.segment-link .arrow { transition: transform var(--transition); }
.segment-card:hover .arrow { transform: translateX(4px); }

/* ---------- Feature Rows — Lumary's alternating pattern ---------- */
.feature-rows { background: var(--white); }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.feature-row:first-child { border-top: none; padding-top: 0; }
.feature-row:last-child { padding-bottom: 0; }
.feature-row.reverse > .feature-row-copy { order: 2; }
.feature-row.reverse > .feature-row-media { order: 1; }
.feature-row-copy h3 {
  font-size: 36px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.feature-row-copy .feature-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--sfdc-blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}
.feature-row-copy p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--slate-dark);
  margin-bottom: 24px;
  max-width: 520px;
}
.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.feature-bullets li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
}
.feature-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 16px; height: 16px;
  background: var(--sfdc-blue);
  -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-xl);
  background: var(--mist);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Mock dashboard preview */
.dashboard-mock {
  width: 100%; height: 100%;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.dashboard-mock-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--mist);
}
.dashboard-mock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.dashboard-mock-title { margin-left: auto; font-size: 11px; color: var(--slate-mid); font-weight: 500; }
.dashboard-mock-body {
  flex: 1;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mock-tile {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
}
.mock-tile-label { font-size: 10px; color: var(--slate-mid); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.mock-tile-value { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 20px; color: var(--ink); }
.mock-tile-trend { font-size: 11px; color: var(--success); font-weight: 500; margin-top: 4px; }
.mock-tile.span-2 { grid-column: span 2; }
.mock-bar {
  height: 6px;
  background: var(--line);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}
.mock-bar > span {
  display: block;
  height: 100%;
  background: var(--sfdc-blue);
  border-radius: 2px;
}

/* ---------- Agentforce AI ---------- */
.agentforce {
  background: var(--navy);
  color: rgba(255,255,255,0.84);
  position: relative;
  overflow: hidden;
}
.agentforce::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--agentforce-gradient);
}
.agentforce::after {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(closest-side, rgba(123, 47, 242, 0.15), transparent 70%);
  pointer-events: none;
}
.agentforce h2 { color: var(--white); max-width: 640px; }
.agentforce .gradient-text {
  background: var(--agentforce-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.agentforce .lede { color: rgba(255,255,255,0.72); font-size: 19px; max-width: 580px; margin: 20px 0 0; }

.agent-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 96px; align-items: flex-start; margin-top: 80px; position: relative; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-item {
  display: grid; grid-template-columns: 56px 1fr; gap: 24px;
  padding: 28px 0; border-top: 1px solid rgba(255,255,255,0.10);
  align-items: flex-start;
}
.feature-item:first-child { border-top: none; padding-top: 0; }
.feature-item:last-child  { padding-bottom: 0; }
.feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: rgba(0, 161, 224, 0.15); color: var(--sfdc-blue);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(0, 161, 224, 0.20);
}
.feature-icon svg { width: 24px; height: 24px; stroke-width: 1.5; }
.feature-text h4 { color: var(--white); font-size: 18px; margin-bottom: 8px; }
.feature-text p { color: rgba(255,255,255,0.68); font-size: 15px; line-height: 1.7; margin: 0; }

.agent-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  position: relative; padding: 24px;
  box-shadow: var(--shadow-xl);
}
.mock-chat { background: rgba(0,0,0,0.30); border-radius: var(--radius-lg); padding: 24px; height: 100%; display: flex; flex-direction: column; gap: 12px; border: 1px solid rgba(255,255,255,0.06); }
.mock-bubble { padding: 12px 14px; border-radius: var(--radius-md); font-size: 13px; line-height: 1.55; max-width: 80%; }
.mock-bubble.user   { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.92); align-self: flex-end; }
.mock-bubble.agent  { background: var(--agentforce-gradient); color: var(--white); align-self: flex-start; }
.mock-bubble.system { background: rgba(0,161,224,0.15); color: rgba(255,255,255,0.85); align-self: flex-start; font-family: 'SF Mono','JetBrains Mono', Menlo, monospace; font-size: 12px; }

/* ---------- Closing CTA Band (Lumary nod) ---------- */
.closing-cta {
  background: var(--mist);
  border-top: 1px solid var(--line);
  padding: 120px 0;
  text-align: center;
}
.closing-cta h2 {
  font-size: 48px;
  max-width: 720px;
  margin: 0 auto 20px;
}
.closing-cta p {
  font-size: 19px;
  color: var(--slate-dark);
  max-width: 580px;
  margin: 0 auto 36px;
}

/* ---------- Generic page + blog ---------- */
.page-default .page-header { padding: 96px 0 32px; }
.page-default .page-title { font-size: 56px; }
.page-default .page-content { padding-bottom: 140px; max-width: 820px; font-size: 17px; }
.page-default .page-content h2 { margin-top: 56px; }
.page-default .page-content h3 { margin-top: 36px; }
.page-default .page-content img { border-radius: var(--radius-md); margin: 32px 0; }

.archive { padding: 96px 0 140px; }
.archive .page-header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow-sm); transition: all var(--transition); }
.post-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-card .post-thumb img { border-radius: var(--radius-md); margin-bottom: 20px; }
.post-card .post-title { font-size: 20px; margin: 4px 0 8px; }
.post-card .post-title a { color: var(--ink); }
.post-card .post-meta { font-size: 12px; color: var(--slate-mid); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.post-card .post-excerpt { font-size: 14px; color: var(--slate-dark); margin-bottom: 20px; line-height: 1.7; }
.pagination { margin-top: 56px; text-align: center; }
.pagination .page-numbers { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius-md); margin: 0 4px; color: var(--slate-dark); font-size: 14px; font-weight: 500; }
.pagination .current { background: var(--sfdc-blue); color: var(--white); border-color: var(--sfdc-blue); }

.single-article { padding: 96px 0 140px; max-width: 820px; }
.single-meta { font-size: 12px; color: var(--slate-mid); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.single-title { font-size: 56px; margin-bottom: 40px; }
.single-thumb img { border-radius: var(--radius-md); margin-bottom: 40px; }
.single-content { font-size: 17px; line-height: 1.8; }

/* ---------- Auto-generated inner pages (Gutenberg blocks) ---------- */
.page-default .page-header { display: none; }
.page-default .page-content { padding: 0; max-width: none; }
.page-default .wp-block-group.pulse-page-hero {
  padding: 140px 40px 120px;
  text-align: center;
  max-width: none;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.page-default .pulse-page-hero .eyebrow { display: inline-block; margin-bottom: 24px; }
.page-default .pulse-page-hero h1 {
  font-size: 60px; max-width: 920px; margin: 0 auto 28px; line-height: 1.06;
}
.page-default .pulse-page-hero .lede {
  font-size: 19px; line-height: 1.6; color: var(--slate-dark);
  max-width: 720px; margin: 0 auto;
}
.page-default .pulse-page-section-head {
  max-width: 880px; margin: 0 auto; padding: 120px 40px 48px; text-align: center;
}
.page-default .pulse-page-section-head h2 { font-size: 40px; margin-bottom: 20px; }
.page-default .pulse-page-section-head .section-lede {
  font-size: 17px; color: var(--slate-dark); line-height: 1.7; max-width: 720px; margin: 0 auto;
}
.page-default .pulse-page-body {
  max-width: 760px; margin: 0 auto 24px; padding: 0 40px;
  font-size: 17px; line-height: 1.8; color: var(--slate-dark);
}
.page-default .pulse-three-cards.wp-block-columns {
  max-width: 1280px; margin: 24px auto 0; padding: 0 48px 80px; gap: 28px;
}
.page-default .pulse-three-cards .wp-block-column { flex-basis: 0 !important; flex-grow: 1; }
.page-default .pulse-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  height: 100%;
}
.page-default .pulse-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.page-default .pulse-card h3 { font-size: 20px; margin-bottom: 16px; }
.page-default .pulse-card p { font-size: 15px; color: var(--slate-dark); margin: 0; line-height: 1.7; }
.page-default .pulse-feature-list {
  max-width: 880px; margin: 0 auto 80px; padding: 0 40px;
  list-style: none;
}
.page-default .pulse-feature-list li {
  border-top: 1px solid var(--line);
  padding: 24px 0; font-size: 16px; line-height: 1.7; color: var(--slate-dark);
}
.page-default .pulse-feature-list li:first-child { border-top: none; }
.page-default .pulse-feature-list li strong {
  display: block; font-family: 'Poppins', sans-serif; font-weight: 600;
  color: var(--ink); font-size: 17px; margin-bottom: 6px;
}
.page-default .pulse-compare-table {
  max-width: 1080px; margin: 32px auto 80px; padding: 0 40px;
}
.page-default .pulse-compare-table table {
  width: 100%; border-collapse: collapse;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.page-default .pulse-compare-table th {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 12px;
  text-align: left; padding: 18px 22px;
  background: var(--mist); color: var(--ink);
  border-bottom: 1px solid var(--line);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.page-default .pulse-compare-table th:last-child {
  background: var(--sfdc-blue-tint); color: var(--sfdc-blue-dark);
}
.page-default .pulse-compare-table td {
  padding: 18px 22px; font-size: 14px; color: var(--slate-dark);
  border-bottom: 1px solid var(--line); line-height: 1.65; vertical-align: top;
}
.page-default .pulse-compare-table tr:last-child td { border-bottom: none; }
.page-default .pulse-compare-table td:first-child { font-weight: 500; color: var(--ink); }
.page-default .pulse-compare-table td:last-child {
  background: rgba(0, 161, 224, 0.03); color: var(--ink); font-weight: 500;
}
.page-default .pulse-page-cta {
  text-align: center; padding: 120px 40px 140px;
  background: var(--mist); border-top: 1px solid var(--line);
  max-width: none;
}
.page-default .pulse-page-cta h2 { font-size: 40px; margin-bottom: 16px; }
.page-default .pulse-page-cta p {
  font-size: 18px; color: var(--slate-dark); max-width: 600px; margin: 0 auto 32px;
}
.page-default .pulse-page-cta .btn { font-size: 15px; padding: 16px 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: 96px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 64px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,0.10); }
.footer-logo { height: 28px; margin-bottom: 24px; }
.footer-wordmark { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--white); font-size: 20px; display: block; margin-bottom: 24px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.62); max-width: 340px; margin-bottom: 28px; }
.social-links { display: flex; gap: 8px; }
.social-link {
  width: 36px; height: 36px; border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.14);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.78);
  transition: all var(--transition);
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover { border-color: var(--sfdc-blue); color: var(--white); background: rgba(0, 161, 224, 0.10); }
.footer-col h5 { color: rgba(255,255,255,0.92); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 24px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 14px; }
.footer-col a { color: rgba(255,255,255,0.62); font-size: 14px; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding-top: 32px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.48); }
.footer-bottom a { color: rgba(255,255,255,0.58); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Booking Modal ---------- */
.pulse-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.pulse-modal[aria-hidden="false"] { display: block; }
.pulse-modal-overlay { position: absolute; inset: 0; background: rgba(17,24,39,0.70); backdrop-filter: blur(4px); }
.pulse-modal-panel {
  position: relative; max-width: 540px; margin: 10vh auto;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 48px 40px 36px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xl);
  text-align: center;
}
.pulse-modal-panel h3 { font-size: 26px; margin-bottom: 8px; }
.pulse-modal-sub { color: var(--slate-mid); font-size: 15px; margin-bottom: 28px; }
.pulse-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: var(--radius-md);
  background: transparent; border: 1px solid var(--line);
  font-size: 20px; line-height: 1; color: var(--slate-dark); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.pulse-modal-close:hover { border-color: var(--ink); color: var(--ink); }
#pulse-booking-button-mount { display: flex; justify-content: center; min-height: 56px; }
.pulse-modal-fallback { margin-top: 24px; font-size: 13px; color: var(--slate-mid); }
.pulse-modal-fallback a { color: var(--sfdc-blue-dark); text-decoration: underline; }

body.modal-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  h1 { font-size: 52px; }
  h2 { font-size: 36px; }
  section { padding: 120px 0; }
  .hero-grid, .agent-grid, .feature-row { grid-template-columns: 1fr; gap: 64px; }
  .feature-row.reverse > .feature-row-copy { order: 1; }
  .feature-row.reverse > .feature-row-media { order: 2; }
  .feature-row-copy h3 { font-size: 30px; }
  .ceiling-grid, .segments-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .trust-logos { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .stat { border-right: none; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .page-default .pulse-page-hero h1 { font-size: 48px; }
  .page-default .pulse-three-cards.wp-block-columns { flex-wrap: wrap; }
  .page-default .pulse-three-cards .wp-block-column { flex-basis: 100% !important; }
  .page-default .pulse-compare-table { padding: 0 24px; overflow-x: auto; }
}
@media (max-width: 720px) {
  .container, .header-inner { padding-left: 24px; padding-right: 24px; }
  section { padding: 96px 0; }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .hero h1 { font-size: 40px; }
  .closing-cta h2 { font-size: 32px; }
  .header-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .ceiling-grid, .segments-grid, .post-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; }
  .sub-menu { min-width: 280px; grid-template-columns: 1fr; }
  .compare-card, .segment-card { padding: 32px 28px; }
  .feature-row-copy h3 { font-size: 26px; }
  .page-default .wp-block-group.pulse-page-hero { padding: 96px 24px 80px; }
  .page-default .pulse-page-hero h1 { font-size: 36px; }
  .page-default .pulse-page-section-head { padding: 80px 24px 32px; }
  .page-default .pulse-page-section-head h2 { font-size: 28px; }
  .page-default .pulse-feature-list { padding: 0 24px; }
  .page-default .pulse-page-body { padding: 0 24px; font-size: 16px; }
  .page-default .pulse-page-cta { padding: 80px 24px 96px; }
  .page-default .pulse-page-cta h2 { font-size: 28px; }
  .page-default .pulse-compare-table table { font-size: 13px; }
  .page-default .pulse-compare-table th,
  .page-default .pulse-compare-table td { padding: 14px 16px; }
}


/* ===== Pulse SVG brand mark (header & footer) ===== */
.header-logo--svg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.header-logo--svg svg {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
}
.header-logo--svg .logo-wordmark {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1;
}
/* Footer dark variant */
.site-footer .footer-wordmark::before {
  content: "";
  display: inline-block;
  width: 28px; height: 28px;
  margin-right: 10px;
  vertical-align: -7px;
  background: var(--sfdc-blue);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'><path d='M8 6 h18 a13 13 0 0 1 13 13 v0 a13 13 0 0 1 -13 13 h-10 v10 h-8 v-36 z m8 8 v10 h10 a5 5 0 0 0 5 -5 v0 a5 5 0 0 0 -5 -5 h-10 z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'><path d='M8 6 h18 a13 13 0 0 1 13 13 v0 a13 13 0 0 1 -13 13 h-10 v10 h-8 v-36 z m8 8 v10 h10 a5 5 0 0 0 5 -5 v0 a5 5 0 0 0 -5 -5 h-10 z'/></svg>") center/contain no-repeat;
}
