/* Scroll demonstrations enhance the illustrations; static content is the default. */
.hero-visual {
  min-width: 0;
}
.hero .hero-scene figcaption {
  color: #c1d6e5;
}
.scene-steps {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.scene-steps button {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #496d8b;
  border-radius: 7px;
  background: #102f49;
  color: #cfe9fb;
  font-size: 11px;
  cursor: pointer;
  text-align: left;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.scene-steps button span {
  margin-left: 7px;
  font-weight: 650;
}
.scene-steps button[aria-pressed="true"] {
  background: #b8e4ff;
  color: #102d40;
  border-color: #b8e4ff;
}
.scene-steps button:hover {
  border-color: #b8e4ff;
}
.scene-hint {
  margin-top: 10px;
  color: #c1d6e5;
  font-size: 11px;
}
.installation-signal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.installation-signal path {
  stroke: #317db1;
  stroke-width: 2;
  stroke-linecap: round;
}
.installation-signal path:first-child {
  stroke-dasharray: 1;
}
.placement-visual .shop-screen {
  z-index: 1;
}
.placement-visual .placement-tag {
  z-index: 2;
}
@media (prefers-reduced-motion: no-preference) {
  .steps-scroll-ready .steps-grid article {
    opacity: 0;
    translate: 0 24px;
    transition:
      opacity 0.55s,
      translate 0.55s;
  }
  .steps-scroll-ready .steps-grid article.is-revealed {
    opacity: 1;
    translate: 0 0;
  }
  .installation-scroll-ready .shop-screen {
    transition:
      translate 0.2s ease-out,
      scale 0.2s ease-out;
  }
  .installation-scroll-ready .shop-screen strong,
  .installation-scroll-ready .shop-screen > span,
  .installation-scroll-ready .placement-tag {
    transition:
      opacity 0.2s,
      translate 0.2s;
  }
}
@media (min-width: 901px) and (min-height: 720px) and (prefers-reduced-motion: no-preference) {
  .hero:has([data-scene-state="ready"]) {
    min-height: 180vh;
    overflow: clip;
  }
  .hero:has([data-scene-state="ready"]) .hero-grid {
    position: sticky;
    top: 110px;
  }
}
@media (max-width: 900px) {
  .scene-steps {
    gap: 6px;
  }
  .scene-steps button {
    padding: 10px 8px;
    font-size: 10px;
  }
  .scene-steps button span {
    margin-left: 4px;
  }
}
@media (max-width: 650px) and (prefers-reduced-motion: no-preference) {
  .hero:has([data-scene-state="ready"]) {
    overflow: clip;
  }
}
