/* Mobile logo tiles and presentation-only product previews. */

/* Let gestures over product artwork reach the page, never an embedded UI.
   Inert also removes demo controls from keyboard focus; animations still run. */
#su-site [data-product-preview],
#su-site [data-product-preview] *,
#su-site [data-product-preview]::before,
#su-site [data-product-preview]::after,
#su-site [data-product-preview] *::before,
#su-site [data-product-preview] *::after {
  pointer-events: none !important;
  touch-action: pan-y pinch-zoom !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-user-drag: none !important;
  -webkit-touch-callout: none !important;
}

/* Preserve each demo's framing without a second touch/wheel scroll area. */
#su-site [data-product-preview] .dp-kanban-scroll,
#su-site [data-product-preview] .dp-tour-content {
  overflow: hidden !important;
  overscroll-behavior: auto;
  scrollbar-width: none;
}

body[data-page="/"] #su-site .su-flow-intro {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
}
body[data-page="/"] #su-site .su-flow-intro h2 {
  margin: 0 0 18px;
  font-family: inherit;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.035em;
  text-transform: none;
  color: #111;
}
body[data-page="/"] #su-site .su-flow-intro p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #111;
}
body[data-page="/"] #su-site .su-flow-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: none;
  grid-auto-rows: 60px;
  gap: 8px;
  height: auto;
  min-height: 0;
  width: 100%;
  align-items: stretch;
}
body[data-page="/"] #su-site .su-flow-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 10px 8px;
  background: #fff;
  border: 1px solid #e4dfed;
  border-radius: 12px;
}
body[data-page="/"] #su-site .su-flow-logo img {
  display: block;
  width: 100%;
  max-width: 116px;
  height: 32px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}
body[data-page="/"] #su-site .su-flow-logo[data-symbol] img {
  width: 36px;
  height: 36px;
}
body[data-page="/"] #su-site .su-flow-source:nth-child(2) .su-flow-logos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
#su-site .su-brand-arrow {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  vertical-align: middle;
  background: currentColor;
  mask: url('salesup/brand-arrow.svg') center / contain no-repeat;
  -webkit-mask: url('salesup/brand-arrow.svg') center / contain no-repeat;
  transform: rotate(45deg);
}
body[data-page="/"] #su-site .su-role-more .su-brand-arrow {
  width: 24px;
  height: 24px;
  background-color: currentColor !important;
}
body[data-page="/"] #su-site .su-live-demo iframe {
  pointer-events: none;
}
body[data-page="/"] #su-site .su-product-detail {
  padding-bottom: 24px;
}
@media (max-width: 760px) {
  body[data-page="/"] #su-site .su-flow-intro {
    margin-bottom: 28px;
    text-align: left;
  }
  body[data-page="/"] #su-site .su-flow-intro h2 {
    margin-bottom: 14px;
    font-size: 34px;
  }
  body[data-page="/"] #su-site .su-flow-intro p {
    font-size: 16px;
    line-height: 1.65;
  }
  body[data-page="/"] #su-site .su-flow-source {
    padding: 22px 20px;
  }
  body[data-page="/"] #su-site .su-flow-source p {
    flex: none;
  }
  body[data-page="/"] #su-site .su-flow-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 62px;
    gap: 10px;
  }
  body[data-page="/"] #su-site .su-flow-logo {
    padding: 10px 12px;
  }
  body[data-page="/"] #su-site .su-more-integrations {
    margin-top: 16px;
    font-size: 12px;
  }
  body[data-page="/"] #su-site .su-product-mobile-visual {
    margin-bottom: 0;
  }
}
