/**
 * Respond page – overrides and layout (hero CTA, splash, feature-z, key metrics).
 * Loaded only on /products/respond/
 */
.page-hero-content .hero-tagline { margin-top: 0.5rem; margin-bottom: 0.25rem; line-height: 1.35; }
.page-hero-content .hero-sub { margin-top: 0; margin-bottom: 0; line-height: 1.4; }
.page-hero-content .page-hero-cta { margin-top: 1rem; }
.hero-cta-with-mascot { position: relative; display: inline-block; z-index: 0; }
.hero-cta-with-mascot .hero-cta-mascot {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 2.5rem;
  pointer-events: none;
  z-index: 0;
}
.hero-cta-with-mascot .page-hero-cta { position: relative; z-index: 1; }
/* Ensure Book a Demo buttons are visible on dark background: border + shadow; hero uses slightly lighter blue */
.page-respond nav .js-book-demo,
.page-respond .page-hero .js-book-demo,
.page-respond .cta-demo-section .js-book-demo {
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 4px 14px rgba(0, 0, 0, 0.35);
}
.page-respond .page-hero .js-book-demo {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
}
/* Respond hero: mockup-hero iframe with 520/360 aspect ratio — same fill treatment as home */
.page-respond .page-hero-visual.respond-hero-graphic-wrap {
  display: block !important;
  overflow: hidden !important;
  padding: 0 !important;
  align-items: unset !important;
  justify-content: unset !important;
  min-height: 280px;
  aspect-ratio: 520 / 360;
}
@media (min-width: 768px) {
  .page-respond .page-hero-visual.respond-hero-graphic-wrap {
    min-height: 360px;
  }
}
/* Respond splash: three screengrabs, soft fading wave-like glow (no harsh border) */
.respond-splash { padding: 2rem 0; }
.respond-splash-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
}
.respond-splash .splash-grab {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  border: none;
  border-radius: 14px;
  animation: respond-float 4s ease-in-out infinite;
  box-shadow:
    0 0 20px 2px rgba(59, 130, 246, 0.18),
    0 0 45px 8px rgba(99, 102, 241, 0.12),
    0 8px 32px -4px rgba(59, 130, 246, 0.2),
    -6px 4px 28px -2px rgba(99, 102, 241, 0.14),
    4px 12px 36px -6px rgba(59, 130, 246, 0.1);
}
.respond-splash .splash-grab:nth-child(1) {
  animation-delay: 0s;
  box-shadow:
    0 0 22px 3px rgba(59, 130, 246, 0.16),
    0 0 50px 10px rgba(99, 102, 241, 0.1),
    2px 10px 30px -4px rgba(59, 130, 246, 0.18),
    -8px 2px 24px -2px rgba(99, 102, 241, 0.12),
    6px 8px 32px -4px rgba(59, 130, 246, 0.08);
}
.respond-splash .splash-grab:nth-child(2) {
  animation-delay: 0.6s;
  box-shadow:
    0 0 18px 2px rgba(59, 130, 246, 0.2),
    0 0 42px 6px rgba(99, 102, 241, 0.14),
    -4px 6px 34px -6px rgba(59, 130, 246, 0.16),
    8px 8px 30px -4px rgba(99, 102, 241, 0.1),
    0 14px 40px -8px rgba(59, 130, 246, 0.12);
}
.respond-splash .splash-grab:nth-child(3) {
  animation-delay: 1.2s;
  box-shadow:
    0 0 24px 4px rgba(59, 130, 246, 0.14),
    0 0 48px 8px rgba(99, 102, 241, 0.11),
    6px 4px 28px -2px rgba(59, 130, 246, 0.2),
    -2px 10px 32px -4px rgba(99, 102, 241, 0.12),
    4px 6px 38px -6px rgba(59, 130, 246, 0.09);
}
.respond-splash .splash-grab-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0.75rem 0 0 0;
  text-align: center;
}
.respond-splash .splash-grab-inner {
  border-radius: 14px;
  overflow: hidden;
  background: #141c2e;
  display: block;
  line-height: 0;
  flex: 1;
  min-height: 0;
  box-shadow: inset 0 0 60px -20px rgba(59, 130, 246, 0.06);
}
.respond-splash .splash-grab-inner.respond-graphic-wrap {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
  flex: 0 0 auto; /* size by aspect-ratio, don't stretch — fixes not filling blue box */
  width: 100%;
}
.respond-splash .splash-grab img { display: block; width: 100%; height: auto; vertical-align: top; max-width: 100%; }
@keyframes respond-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 768px) {
  .respond-splash-inner { grid-template-columns: 1fr; max-width: 90%; }
  .respond-splash .splash-grab img { max-width: 100%; }
}
.respond-splash-graphic-wrap {
  max-width: 58rem;
  margin-left: auto;
  margin-right: auto;
}
.page-respond .page-section .respond-splash-graphic-wrap .floating-graphic {
  max-width: 100%;
}
.page-respond .page-section .floating-graphic {
  max-width: 50%;
  margin-left: auto;
  margin-right: auto;
}
.respond-dashboard-grab {
  max-width: 8.75rem;
  width: 100%;
  border-radius: 14px;
  padding: 0;
  border: none;
  animation: respond-float 4s ease-in-out infinite;
  animation-delay: 0.3s;
  box-shadow:
    0 0 20px 2px rgba(59, 130, 246, 0.18),
    0 0 45px 8px rgba(99, 102, 241, 0.12),
    0 8px 32px -4px rgba(59, 130, 246, 0.2),
    -6px 4px 28px -2px rgba(99, 102, 241, 0.14),
    4px 12px 36px -6px rgba(59, 130, 246, 0.1);
}
.respond-dashboard-grab-inner {
  border-radius: 14px;
  overflow: hidden;
  background: #141c2e;
  display: block;
  line-height: 0;
  box-shadow: inset 0 0 60px -20px rgba(59, 130, 246, 0.06);
}
.respond-dashboard-grab img { display: block; width: 100%; height: auto; vertical-align: top; }
.key-metrics-section .key-metrics-top-line {
  width: 100%;
  height: 6px;
  background: #2563eb;
  margin-bottom: 1.5rem;
  border-radius: 0;
}
.page-respond .page-section { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.page-respond .respond-splash { padding-top: 1rem; padding-bottom: 1rem; }
.page-respond .feature-z-row { padding-top: 2rem; padding-bottom: 2rem; }
/* Non–center-line feature-z sections on Respond: 50/50 grid, custom spacing (center-line uses page-components.css) */
@media (min-width: 768px) {
  .page-respond .feature-z-section:not(.feature-z-section--center-line) .feature-z-row,
  .page-respond .feature-z-section:not(.feature-z-section--center-line) .feature-z-row.feature-z-row--reverse {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 768px) {
  .page-respond .feature-z-section:not(.feature-z-section--center-line) .feature-z-content {
    max-width: 50%;
  }
  .page-respond .feature-z-section:not(.feature-z-section--center-line) .feature-z-row--reverse .feature-z-content {
    margin-left: auto;
    margin-right: 0;
  }
  .page-respond .feature-z-section:not(.feature-z-section--center-line) .feature-z-row--narrow-content .feature-z-content {
    max-width: 50%;
    margin-left: auto;
    margin-right: 0;
  }
  .page-respond .feature-z-section:not(.feature-z-section--center-line) .feature-z-row--narrow-content.feature-z-row--reverse .feature-z-content {
    margin-left: 0;
    margin-right: auto;
  }
}
.page-respond .feature-z-section:not(.feature-z-section--center-line) .feature-z-row {
  gap: 1.25rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
@media (min-width: 768px) {
  .page-respond .feature-z-section:not(.feature-z-section--center-line) .feature-z-row {
    gap: 2rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}
.page-respond .feature-z-section:not(.feature-z-section--center-line) .feature-z-row:first-child {
  padding-top: 0;
}
/* Text-right rows: right-align copy and add breathing space from visual */
.page-respond .feature-z-row--text-right .feature-z-content {
  text-align: right;
  padding-right: 1.25rem;
}
@media (min-width: 768px) {
  .page-respond .feature-z-section:not(.feature-z-section--center-line) .feature-z-row--text-right .feature-z-content {
    padding-right: 1.5rem;
  }
}
/* Output Options / Browser Extension: reduce text box width to 1/3 (reduce size by 2/3) */
.page-respond .feature-z-row--narrow-content .feature-z-content {
  max-width: 33.333%;
  margin-left: auto;
}
/* Reverse row: narrow text block toward center (left side of right column) */
.page-respond .feature-z-row--narrow-content.feature-z-row--reverse .feature-z-content {
  margin-left: 0;
  margin-right: auto;
}
.page-respond .feature-z-row--text-right .feature-z-content .feature-z-title,
.page-respond .feature-z-row--text-right .feature-z-content .feature-z-body {
  text-align: right;
}
/* Center-line and non–center-line: ensure respond-graphic-wrap gets proper sizing — don't stretch, size by aspect-ratio */
.page-respond .feature-z-section .feature-z-visual .respond-graphic-wrap {
  max-width: 420px;
  align-self: flex-start; /* prevent flex stretch — fill box by aspect-ratio like home Z cards */
}
/* Non–center-line feature-z: same screenshot size (center-line uses page-components.css) */
.page-respond .feature-z-section:not(.feature-z-section--center-line) .feature-z-visual .splash-placeholder,
.page-respond .feature-z-section:not(.feature-z-section--center-line) .feature-z-visual .splash-dashboard-wrap,
.page-respond .feature-z-section:not(.feature-z-section--center-line) .feature-z-visual .page-hero-visual {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 16 / 10;
  min-height: 220px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .page-respond .feature-z-section:not(.feature-z-section--center-line) .feature-z-visual .splash-placeholder,
  .page-respond .feature-z-section:not(.feature-z-section--center-line) .feature-z-visual .splash-dashboard-wrap,
  .page-respond .feature-z-section:not(.feature-z-section--center-line) .feature-z-visual .page-hero-visual {
    max-width: 420px;
    min-height: 260px;
  }
}
.page-respond .feature-z-section:not(.feature-z-section--center-line) .feature-z-visual .splash-dashboard-wrap img,
.page-respond .feature-z-section:not(.feature-z-section--center-line) .feature-z-visual .page-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-respond .feature-z-section:not(.feature-z-section--center-line) .feature-z-visual .splash-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.page-respond .feature-z-section:not(.feature-z-section--center-line) .feature-z-visual {
  display: flex;
  justify-content: flex-start;
}
.page-respond .feature-z-section:not(.feature-z-section--center-line) .feature-z-row--reverse .feature-z-visual {
  justify-content: flex-end;
}
.page-respond .feature-z-visual--half {
  display: flex;
  justify-content: flex-start;
}
.page-respond .feature-z-row--reverse .feature-z-visual--half {
  justify-content: flex-end;
}
/* Respond animated graphics: same treatment as home Z cards — edge to edge, fill container, no padding */
.respond-graphic-wrap {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  line-height: 0;
  padding: 0;
  min-height: 0;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
  box-shadow: 0 0 20px 2px rgba(59,130,246,0.18), 0 0 45px 8px rgba(99,102,241,0.12), 0 8px 32px -4px rgba(59,130,246,0.2), 4px 12px 36px -6px rgba(59,130,246,0.1);
}
.respond-graphic-wrap.respond-graphic-hero { aspect-ratio: 520 / 360; }
.respond-graphic-wrap.respond-graphic-panel { aspect-ratio: 340 / 220; }
.respond-graphic-wrap.respond-graphic-z { aspect-ratio: 400 / 280; }
.respond-graphic-wrap .respond-graphic-iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: none;
  pointer-events: none;
  vertical-align: top;
}
/* Hero/Dashboard full-width graphics — edge to edge fill like home */
.respond-hero-graphic-wrap,
.respond-dashboard-graphic-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 520 / 360;
  overflow: hidden;
  border-radius: 1rem;
  line-height: 0;
  padding: 0;
  min-height: 0;
}
.respond-hero-graphic-wrap .respond-graphic-iframe,
.respond-dashboard-graphic-wrap .respond-graphic-iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: none;
  pointer-events: none;
  vertical-align: top;
}
/* Splash 3-grab: each grab gets panel aspect ratio */
.respond-splash .splash-grab-inner.respond-graphic-wrap {
  aspect-ratio: 340 / 220;
  display: block;
  min-height: 0;
}
.respond-splash .splash-grab-inner.respond-graphic-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: none;
  pointer-events: none;
  vertical-align: top;
}

.page-respond .cta-demo-section { padding-top: 2rem; padding-bottom: 3rem; }
.page-heading-with-mascot .page-heading-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.page-heading-mascot {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  vertical-align: middle;
}
.page-respond .page-section .page-heading { margin-top: 1.25rem; margin-bottom: 2.25rem; }
@media (min-width: 768px) {
  .page-respond .page-section { padding-top: 2rem; padding-bottom: 2rem; }
  .page-respond .feature-z-row { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .page-respond .cta-demo-section { padding-top: 2.5rem; padding-bottom: 3.5rem; }
  .page-respond .page-section .page-heading { margin-top: 1.5rem; margin-bottom: 2.75rem; }
}
