/* The iPhone Duo section's illustration (it was the hero's): an iPhone Duo unfolding like a book, as a video (assets/duo/duo-unfold.mp4).
   Made with appsforiphoneduo.com/tools/3d-mockup from Tabletop's real screens
   (marketing/07-tai-nguyen/anh-iphone-duo/man-hinh-3d/), source iphone-duo-unfold.mp4 in that folder.
   Encoded to play forward, hold open, play back and hold closed, so the loop never jumps.
   Its edges fade out into the white panel it sits on. Under Reduce Motion a still of it open shows. */

.held { margin: 0; }
/* The video's own background is white: it sits on a white panel of the same white, a deliberate surface, instead of
   blending into the page ground (blending failed where the video is composited apart, leaving a lighter box). */
.fold { width: 100%; max-width: 560px; margin: 0 auto; background: #FFFFFF; border-radius: 28px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(26,34,51,.04), 0 14px 32px rgba(10,18,36,.08); }
.duo-video, .duo-still {
  display: block; width: 100%; height: auto; max-width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent),
                      linear-gradient(to bottom, transparent, #000 10%, #000 70%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent),
                      linear-gradient(to bottom, transparent, #000 10%, #000 70%, transparent);
          mask-composite: intersect;
}
.duo-still { display: none; }

@media (prefers-reduced-motion: reduce) {
  .duo-video { display: none; }
  .duo-still { display: block; }
}
