/* Light split hero: shared styles for the artboard, scene layers, backgrounds and the sparkle.
   Scene styles live in scenes/<key>.css, scoped under [data-scene="<key>"].
   No @font-face here: the site already loads APK Protocol (src/styles/globals.css). */

/* the 798×854 artboard (Figma "visual" frame); the page scales it into place with transform */
.ls-art { position: absolute; left: 0; top: 0; width: 798px; height: 854px; transform-origin: 0 0;
  font-family: "APK Protocol", system-ui, sans-serif; color: #041818; -webkit-font-smoothing: antialiased; }
/* (payhawk.com) APK Protocol has no Cyrillic: Bulgarian is set in Inter, like the rest of the site
   (globals.css), including the travel phone's mock UI */
html[lang="bg"] .ls-art,
html[lang="bg"] .ls-art [data-scene="travel"] .tv-phone,
html[lang="bg"] .ls-art [data-scene="travel"] .tv-notif { font-family: "Inter", system-ui, sans-serif; }
.ls-art * { box-sizing: border-box; }
.ls-art p { margin: 0; }
.ls-art img { display: block; max-width: none; }
.ls-scene { position: absolute; inset: 0; visibility: hidden; will-change: opacity, filter, transform; }

/* background layers: .ls-bg = the cross-dissolve, .ls-drift = the slow ambient movement */
.ls-bg { position: absolute; inset: 0; opacity: 0; overflow: hidden; will-change: opacity, filter, transform; }
.ls-drift { position: absolute; inset: -4%; transform-origin: 50% 50%; }
.ls-drift--box { inset: 0; }   /* the Figma backgrounds overflow the frame, so no bleed needed */
.ls-drift img, .ls-bgbox img { max-width: none; }   /* hosts that cap images (a CMS reset, the artifact skeleton) must not shrink the backgrounds */
.ls-drift img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* box mode: the scene's own Figma background, authored in 798×854 coordinates, scaled by the page to cover the container */
.ls-bgbox { position: absolute; left: 0; top: 0; width: 798px; height: 854px; transform-origin: 0 0; }
.ls-bgbox > * { position: absolute; }

/* the AI sparkle: a main shape and a ghost copy that trails it (sizes set per scene) */
.ls-spark { position: relative; display: block; flex: none; }
.ls-spark img { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 50% 50%; }
.ls-spark__ghost { opacity: .45; }
