/* Fit the complete illustration as one canvas, including the tilted device edges. */
.hero .scene-viewport {
  width: min(1100px, calc(100% - 24px));
  aspect-ratio: 1100 / 570;
  margin: 32px auto 0;
  position: relative;
  overflow: clip;
}
.scene-viewport .scene {
  position: absolute;
  width: 1050px;
  height: 515px;
  margin: 0;
  top: 0;
  left: 0;
  transform-origin: top left;
  transform: scale(var(--scene-scale, 1)) translate(25px, 12px);
}
.scene .app-layout { height: calc(100% - 33px); grid-template-rows: minmax(0, 1fr); }
.scene .mini-sidebar { display: flex; flex-direction: column; min-height: 0; }
.scene .mini-account { margin-top: auto; }
@media (max-width: 520px) {
  .hero .scene-viewport { margin-top: 24px; }
}

/* Keep navigation and controls usable on compact and unfolded touch screens. */
.nav nav a, .footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.theme, .mobile-toggle, .motion-pause, .product-arrow { min-width: 44px; min-height: 44px; }
.motion-step { min-height: 44px; }
.nfc-film-toggle, .billing button { min-height: 44px; font-size: 12px; }
@media (max-width: 780px) {
  .product-copy > p, .step p, .care-copy > p { font-size: 14px; }
  .benefits li { font-size: 13px; }
  .pricing p { font-size: 12px; }
  .motion-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 44px; gap: 6px; }
  .motion-step { min-width: 0; min-height: 58px; flex-direction: column; justify-content: center; gap: 4px; font-size: 10px; line-height: 1.5; text-align: center; }
  .motion-step span { flex-shrink: 0; }
}
@media (max-width: 520px) {
  .nav { gap: 6px; }
  .nav .member-login { padding: 10px 9px; min-height: 44px; }
  .hero-copy > p { font-size: 14px; }
}
