*{box-sizing:border-box}
html{scroll-behavior:auto;overscroll-behavior-y:none}
body{margin:0;background:#06111b;color:#eef5fa;font-family:system-ui,sans-serif}
.landing-scroll{position:relative;height:100dvh}
.landing-sticky{position:sticky;top:0;height:100dvh;overflow:hidden;background:#06111b}
.journey-host,.intro-film{position:absolute;inset:0}
.journey-host{opacity:0;pointer-events:none}
.landing-scroll[data-state=transition] .journey-host,.landing-scroll[data-state=journey] .journey-host,.landing-scroll[data-state=exit] .journey-host{opacity:1}
.landing-scroll[data-state=journey] .journey-host,.landing-scroll[data-state=exit] .journey-host{pointer-events:auto}
/* Measured final source frame, 10.000 s: 526 × 1008 front plane.
   The slight taper is applied by the same source-to-viewport matrix as the film. */
.journey-host{z-index:3}
.journey-device{position:absolute;left:0;top:0;width:526px;height:1008px;transform-origin:0 0;border-radius:82px 82px 68px 68px;background:#090807;box-shadow:inset 0 0 0 2px #c3b19e,inset 0 0 0 5px #40352b,inset 0 0 0 8px #100e0d}
.phone-display{position:absolute;left:20px;top:20px;width:486px;height:965px;border-radius:62px 62px 53px 53px;overflow:hidden;background:#2d2822}
.journey-host iframe{border:0;position:absolute;left:0;top:0;transform-origin:top left;background:#06111b}
.phone-loading{position:absolute;inset:0;background:linear-gradient(110deg,#302b25,#2b261f 70%,#2e2923);pointer-events:none}
.rainbow-ring{position:absolute;left:50%;top:49.2%;width:164px;height:164px;transform:translate(-50%,-50%);border-radius:50%;background:conic-gradient(#ffc800,#82ff00,#00e877,#00ccec,#0844ff,#a647ff,#f500f2,#ff3252,#ff9e00,#ffc800);mask:radial-gradient(circle,transparent 58%,#000 59%);-webkit-mask:radial-gradient(circle,transparent 58%,#000 59%)}
.phone-camera{position:absolute;left:249px;top:36px;width:29px;height:29px;border-radius:50%;background:radial-gradient(circle at 50% 55%,#182129 0 12%,#080c10 18% 31%,#11100e 36% 65%,#080807 70%);pointer-events:none}
.journey-device.fullscreen{border-radius:0;background:none;box-shadow:none}
.fullscreen .phone-display{inset:0;width:100%;height:100%;border-radius:0}
.fullscreen .phone-camera{display:none}
/* The native video remains untouched through ended and stays as the frozen backdrop. */
.intro-film{background:#06111b;pointer-events:none;overflow:hidden;z-index:2}
.intro-film video{width:100%;height:100%;object-fit:cover;object-position:50% center;pointer-events:none}
.intro-film video::-webkit-media-controls,.intro-film video::-webkit-media-controls-start-playback-button{display:none!important}
.demo-status{position:absolute;left:5%;top:45%;font-size:14px}
.journey-host.ready .demo-status{display:none}
.view-switch{position:absolute;right:90px;top:18px;z-index:4;display:flex;gap:2px;padding:3px;background:#07121ddd;border:1px solid #ffffff40;border-radius:6px;opacity:0;pointer-events:none;transition:opacity .4s}
.show-switch .view-switch{opacity:1;pointer-events:auto}
.view-switch button{font:11px system-ui;color:#dce6ee;background:none;border:0;border-radius:4px;padding:6px 10px;cursor:pointer}
.view-switch button[aria-pressed=true]{background:#e7eef5;color:#102535}
.overlay-open .landing-sticky{position:fixed;inset:0}
#next{min-height:90svh;padding:18vh 10vw;background:#eef1f3;color:#152b3d}
#next h1{font-size:clamp(30px,4vw,60px);line-height:1.12;max-width:900px}
#next p{font-size:clamp(16px,1.6vw,23px);line-height:1.6;max-width:760px}
:focus-visible{outline:2px solid #72bfff;outline-offset:4px}
@media(prefers-reduced-motion:reduce){.view-switch{transition:none}}
@media(max-width:900px){.view-switch{display:none}}
.overlay-open .view-switch{visibility:hidden}
/* Only the filmed phone supplies the mobile shell and bezel. */
@media(max-width:900px){
 .landing-sticky{position:relative}
 .mobile-video-journey-group{position:absolute;inset:0;transform-origin:0 0}
 .journey-host.mobile-customer{display:block}
 .mobile-customer .journey-device{background:transparent;border:0;border-radius:0;overflow:visible;box-shadow:none}
 .mobile-customer .phone-display{inset:auto;overflow:hidden;background:transparent}
 .mobile-customer .phone-camera,.mobile-customer .demo-status{display:none}
 .mobile-customer iframe{transform:none}
}
