/* Public hero demonstrations sit below the heading, as on the homepage. */
.inner-main :is(.marketing-hero.lite, .seo-hero),
.ecommerce-inner .hero {
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  min-height: auto;
  padding-top: 40px;
}
.inner-main :is(.marketing-hero.lite, .seo-hero) > :first-child,
.ecommerce-inner .hero > .hero-copy {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}
.inner-main :is(.marketing-hero.lite, .seo-hero) > :first-child :is(h1, p),
.ecommerce-inner .hero-copy :is(h1, p) {
  margin-inline: auto;
}
.inner-main :is(.marketing-hero.lite, .seo-hero) .marketing-actions,
.ecommerce-inner .hero .hero-actions {
  justify-content: center;
}
.ecommerce-inner .hero .benefit-list { text-align: left; }
.inner-main :is(.marketing-hero.lite, .seo-hero) > :last-child,
.ecommerce-inner .hero > .hero-demo {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-inline: auto;
}
.inner-main :is(.marketing-hero.lite, .seo-hero) .hero-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
  align-items: stretch;
  gap: 18px;
  min-height: auto;
}
.inner-main .hero-product > .hero-animated-conversation {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  min-width: 0;
  justify-self: stretch;
  border-radius: 12px;
}
.inner-main .hero-product > :is(.lead-journey-card, .mini-dashboard) {
  position: static;
  width: 100%;
  max-width: none;
  margin: 0;
  align-self: stretch;
}
.inner-main .hero-product > .lead-journey-card {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
}
.inner-main .hero-product .journey-step { grid-template-columns: 1fr; align-content: center; gap: 12px; padding: 8px; }
.inner-main .hero-product .hero-animated-conversation .conversation-body,
.ecommerce-inner .hero-demo .conversation-body {
  min-height: 360px;
  max-height: 460px;
  padding: 24px;
}
.inner-main .hero-product .bubble,
.ecommerce-inner .hero-demo .bubble { width: min(85%, 600px); }
.ecommerce-inner .hero-demo {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}
.ecommerce-inner .hero-demo > .phone-panel { width: 100%; min-height: auto; }
.ecommerce-inner .hero-demo > .context-panel { width: 100%; }
.ecommerce-inner .hero-demo .context-panel dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ecommerce-inner .hero-demo .context-panel dl > div { grid-template-columns: 1fr; gap: 6px; }
@media (max-width: 900px) {
  .inner-main :is(.marketing-hero.lite, .seo-hero) .hero-product { grid-template-columns: minmax(0, 1fr); }
  .inner-main .hero-product > .mini-dashboard { display: block; }
}
@media (max-width: 600px) {
  .inner-main :is(.marketing-hero.lite, .seo-hero), .ecommerce-inner .hero { padding-top: 32px; gap: 28px; }
  .inner-main .hero-product > .lead-journey-card { grid-template-columns: 1fr 1fr; }
  .inner-main .hero-product .hero-animated-conversation .conversation-body,
  .ecommerce-inner .hero-demo .conversation-body { padding: 14px; min-height: 320px; max-height: 420px; }
  .ecommerce-inner .hero-demo .context-panel dl { grid-template-columns: 1fr 1fr; }
}
