/* Follow the shared navigation frame without changing the site-wide header. */
html[data-home-fullscreen] {
  --home-frame-max: var(--max, 1240px);
  --home-frame-gutter: 28px;
}
html[data-home-fullscreen] .page-home .hero-carousel {
  height: var(--home-screen-height, calc(100 * var(--desktop-vh, 1svh))) !important;
}
.hide-ai-ui .page-home .hero-carousel-track > section {
  height: 100%;
  min-height: 0;
}
.page-home .hero-carousel :is(.growth-inner,.overview-inner,.brand-hero-inner,.horizon-content,.acquisition-inner,.live-poster-inner,.home-poster-slide,.ai-poster-inner) {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--home-frame-max);
  margin-inline: auto;
  padding-inline: var(--home-frame-gutter);
}
.page-home .home-growth-poster .growth-inner {
  height: 100%;
  padding-top: calc(var(--home-nav-height, 72px) + 34px);
  padding-bottom: 82px;
}
.page-home .home-growth-poster .growth-showcase { transform-origin: right center; }
.page-home .overview-inner {
  height: 100%;
  padding-top: calc(var(--home-nav-height, 72px) + 26px);
  padding-bottom: 76px;
}
.page-home .hero-carousel :is(.brand-hero-inner,.acquisition-inner,.live-poster-inner,.home-poster-slide,.ai-poster-inner) {
  height: 100%;
  min-height: 0;
  justify-content: center;
  padding-top: calc(var(--home-nav-height, 72px) + 32px);
  padding-bottom: 76px;
}
.page-home .hero-carousel .horizon-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--home-nav-height, 72px) + 32px);
  padding-bottom: 76px;
}
.hide-ai-ui .page-home .hero-carousel-controls { bottom: 18px; }
@media (min-width:1536px) {
  .page-home .home-growth-poster .growth-title { --site-hero-size: 52px; }
}
@media (min-width:1101px) {
  .page-home .home-growth-poster .growth-demo > .growth-scene[data-layout] {
    position: absolute;
    inset: 79px 20px 59px;
    height: auto;
    margin: 0;
  }
  .page-home .home-growth-poster .growth-demo[data-feature=order] > .growth-scene { top: 17%; }
}
@media (max-width:1200px) {
  .page-home .hero-carousel-track > section {
    overflow-y: auto;
    overscroll-behavior-y: auto;
    scrollbar-width: none;
  }
  .page-home .hero-carousel :is(.growth-inner,.overview-inner,.brand-hero-inner,.horizon-content,.acquisition-inner,.live-poster-inner,.home-poster-slide,.ai-poster-inner) {
    height: auto;
    min-height: 100%;
  }
}
@media (max-width:700px) {
  html[data-home-fullscreen] { --home-frame-gutter: 18px; }
  .page-home .home-growth-poster .growth-inner {
    width: 100%;
    padding-top: calc(var(--home-nav-height, 64px) + 20px);
    padding-bottom: 86px !important;
  }
  .page-home .hero-carousel :is(.overview-inner,.brand-hero-inner,.horizon-content,.acquisition-inner,.live-poster-inner,.home-poster-slide,.ai-poster-inner) {
    padding-top: calc(var(--home-nav-height, 64px) + 24px);
    padding-bottom: 80px;
  }
  .hide-ai-ui.poster-growth .page-home .hero-carousel-track > .home-growth-poster { height: 100%; }
  .hide-ai-ui.poster-growth .page-home .hero-carousel-controls {
    bottom: 0;
    padding: 14px 10px;
    background: linear-gradient(180deg,#f1f4fdde,#f1f4fd);
  }
}

@media (max-width:767px) {
  .xc-mobile-app.hide-ai-ui .page-home .hero-carousel {
    height: calc(var(--mobile-poster-content-height, 600px) + 44px) !important;
  }
  .xc-mobile-app.hide-ai-ui .page-home .hero-carousel-track > section {
    min-height: 0;
    overflow-y: hidden;
  }
  .xc-mobile-app.hide-ai-ui .page-home .hero-carousel [data-poster-content]:not(.growth-inner) {
    height: auto;
    min-height: 0;
    padding-block: 20px 12px;
    justify-content: flex-start;
  }
  .xc-mobile-app.hide-ai-ui .page-home .hero-carousel .ai-poster-inner {
    transform: none;
  }
  .xc-mobile-app.hide-ai-ui .page-home .hero-carousel .home-poster-slide .poster-visual {
    height: clamp(175px, 53vw, 300px);
    margin-top: 18px;
  }
  .xc-mobile-app.hide-ai-ui .page-home .hero-carousel > .hero-carousel-controls {
    bottom: 6px;
    justify-content: center;
    padding-block: 6px;
  }
}
