/* English screenshot presentation. Source image bytes remain untouched. */
.hero-product .pixel-camera{display:none}
.hero-product .pixel-phone{aspect-ratio:auto}
.hero-product .product-phone.front .pixel-screen{aspect-ratio:1080/2213}
.hero-product .product-phone.back .pixel-screen{aspect-ratio:1080/1664}
.hero-product .app-shot{object-fit:contain!important;transform:none!important}
.showcase-story{margin:0 0 48px}
.showcase-story-head{display:grid;grid-template-columns:180px minmax(0,1fr);gap:8px 28px;align-items:baseline;padding:0 0 24px}
.showcase-story-head h3{font-size:28px;font-weight:600;letter-spacing:-.035em;line-height:1.25}
.showcase-story-head p{grid-column:2;color:#536071;font-size:15px;line-height:1.8;max-width:650px}
.showcase-count{font-size:10px;letter-spacing:.1em;color:#53677f;font-weight:600}
.showcase-stage{position:relative;overflow:hidden;isolation:isolate;width:100%;border:1px solid #dde5ef;border-radius:8px;background:#eaf0f6;aspect-ratio:1200/680}
.showcase-window{display:block;position:absolute;padding:0;background:#fff;border:1px solid #cdd7e4;border-radius:12px;overflow:hidden;line-height:0;cursor:zoom-in;box-shadow:0 14px 22px -12px rgba(20,38,60,.29),0 4px 10px rgba(20,38,60,.06)}
.showcase-window img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}
.showcase-window:hover{border-color:#8aa8d0}
.showcase-window:focus-visible{outline:3px solid #2459b8;outline-offset:4px;z-index:8}
.playback-stage .stage-player{width:23.5%;left:38.25%;top:7%;z-index:3;border:4px solid #263346;border-radius:24px}
.playback-stage .stage-information{width:22%;left:10%;top:14%;z-index:2}
.playback-stage .stage-lyrics{width:27%;right:7.5%;top:25%;z-index:2}
.collection-stage{aspect-ratio:1200/660;background:#edf0f3}
.collection-stage .showcase-window{width:21%;border:3px solid #2d3949;border-radius:18px}
.collection-songs{left:4%;top:12%}
.collection-albums{left:27.5%;top:16%}
.collection-artists{left:51%;top:9%}
.collection-playlists{left:74.5%;top:13%}
.listening-stage{aspect-ratio:1200/800;background:#eaf0f6}
.listening-stage .showcase-window{border-radius:10px}
.listening-top-albums-artists{width:24%;left:3%;top:5%}
.listening-recently-played{width:24%;left:3%;top:54%}
.listening-statistics{width:25%;left:36.5%;top:10%;z-index:3}
.listening-most-played{width:24%;right:3%;top:5%}
.listening-top-genres{width:24%;right:3%;top:51%}
.all-screens{border-top:1px solid #cdd7e3;border-bottom:1px solid #cdd7e3;background:transparent}
.all-screens summary{list-style:none;cursor:pointer;padding:22px 0;font-size:15px;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#253951;min-height:54px}
.all-screens summary::-webkit-details-marker{display:none}
.all-screens summary>span:last-child{font-size:25px;font-weight:400;line-height:1}
.all-screens[open] summary>span:last-child{transform:rotate(45deg)}
.all-screens summary:focus-visible{outline:3px solid #2459b8;outline-offset:4px}
.screen-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 24px;padding:10px 0 32px}
.screen-gallery-card{border:0;background:transparent;color:#253951;cursor:zoom-in;padding:0;text-align:left;min-width:0}
.screen-gallery-image{height:300px;background:#e4eaf1;border:1px solid #d5dee9;border-radius:5px;padding:16px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.screen-gallery-image img{display:block;max-height:100%;max-width:100%;width:auto;height:auto;border:1px solid #d4dce7;border-radius:5px;box-shadow:0 5px 9px rgba(25,45,75,.08)}
.screen-gallery-caption{display:flex;align-items:baseline;gap:9px;margin-top:12px;font-size:14px;font-weight:550;line-height:1.6}
.screen-gallery-number{font-size:10px;font-weight:500;letter-spacing:.05em;color:#5c708b}
.screen-gallery-caption>span:last-child{margin-left:auto;color:#526c8d}
.screen-gallery-card:hover .screen-gallery-image{background:#dbe5f1;border-color:#9eb5d3}
.lightbox-device{aspect-ratio:auto;height:auto;width:min(780px,calc(100vw - 165px));max-height:76vh;display:flex;align-items:center;justify-content:center;min-height:0}
.lightbox-device img{display:block;max-width:100%;max-height:76vh;width:auto;height:auto;object-fit:contain;border-radius:8px}
.lightbox-content{overflow:hidden}
@media(max-width:920px){
 .showcase-story-head{grid-template-columns:145px minmax(0,1fr);gap:8px 20px}
 .showcase-story-head h3{font-size:25px}
 .showcase-stage{border-radius:6px}
 .showcase-window{border-radius:8px}
 .playback-stage .stage-player{border-width:3px;border-radius:18px}
 .collection-stage .showcase-window{border-width:2px;border-radius:12px}
 .screen-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 20px}
}
/* Keep actual page links available on mobile even if scripts cannot load. */
@media(max-width:820px){
 :root{--header:118px}
 html{scroll-padding-top:140px}
 .head-inner{height:auto;min-height:116px;display:flex;flex-wrap:wrap;align-content:center;gap:2px 16px;padding-top:10px;padding-bottom:6px}
 .head-actions{margin-left:auto}
 .nav{display:flex!important;position:static;order:3;width:100%;margin:0;flex-direction:row;align-items:center;flex-wrap:nowrap;overflow-x:auto;gap:23px;padding:5px 0 7px;background:transparent;border:0;box-shadow:none;scrollbar-width:thin;scrollbar-color:#afbed0 transparent}
 .nav a{flex:none;font-size:13px;border:0;padding:8px 0;line-height:1.5}
 .nav a[href^="index.html"]{order:0}
 .nav a[href^="features.html"]{order:1}
 .nav a[href^="about.html"]{order:2}
 .nav a[href^="formats.html"]{order:3}
 .nav a[href^="privacy.html"]{order:4}
 .nav a.current::after{display:block;bottom:2px}
 .menu-toggle{display:none!important}
 .hero-layout{padding-top:40px}
 .showcase-story{margin-bottom:36px}
 .showcase-story-head{grid-template-columns:1fr;gap:10px;padding-bottom:20px}
 .showcase-story-head p{grid-column:1;max-width:650px;font-size:14px}
 .showcase-story-head h3{font-size:27px}
 .showcase-stage{aspect-ratio:1200/740}
 .playback-stage .stage-player{top:10%}
 .playback-stage .stage-information{top:17%}
 .playback-stage .stage-lyrics{top:30%}
 .collection-stage{aspect-ratio:1200/720}
 .listening-stage{aspect-ratio:1200/800}
 .listening-recently-played{top:54%}
 .listening-top-genres{top:51%}
 .lightbox-device{max-height:72vh}
 .lightbox-device img{max-height:72vh}
 .feature-index{scroll-margin-top:140px}
 #nebula-policy .np-section,#nebula-terms .np-section{scroll-margin-top:148px!important}
}
@media(max-width:560px){
 .head-inner{min-height:108px;gap:1px 12px;padding-top:8px;padding-bottom:5px}
 :root{--header:110px}
 .brand small{display:inline}
 .head-actions{gap:6px}
 .nav{gap:22px;padding-top:4px;padding-bottom:5px}
 .nav a{font-size:12px}
 .showcase-story{margin-bottom:30px}
 .showcase-story-head{gap:9px}
 .showcase-story-head h3{font-size:25px}
 .showcase-story-head p{font-size:14px;line-height:1.8}
 .showcase-count{font-size:10px}
 .playback-stage{aspect-ratio:4/3}
 .playback-stage .stage-player{width:31%;left:34.5%;top:8%;border-width:2px;border-radius:10px}
 .playback-stage .stage-information{width:27%;left:3%;top:17%}
 .playback-stage .stage-lyrics{width:28%;right:2%;top:33%}
 .showcase-window{border-radius:5px;box-shadow:0 5px 9px -5px rgba(20,38,60,.25)}
 .collection-stage{aspect-ratio:5/8}
 .collection-stage .showcase-window{width:42%;border-width:1px;border-radius:7px}
 .collection-songs{left:5%;top:4%;z-index:1}
 .collection-albums{left:53%;top:4%;z-index:2}
 .collection-artists{left:5%;top:53%;z-index:3}
 .collection-playlists{left:53%;top:53%;z-index:4}
 .listening-stage{aspect-ratio:4/3}
 .listening-stage .showcase-window{border-radius:4px}
 .listening-top-albums-artists{width:27%;left:3%;top:5%}
 .listening-recently-played{width:27%;left:3%;top:56%}
 .listening-statistics{width:29%;left:35.5%;top:14%}
 .listening-most-played{width:27%;right:3%;top:5%}
 .listening-top-genres{width:27%;right:3%;top:52%}
 .all-screens summary{font-size:14px;padding:18px 0}
 .screen-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px;padding-bottom:26px}
 .screen-gallery-image{height:235px;padding:12px}
 .screen-gallery-caption{font-size:13px;gap:6px;align-items:flex-start}
 .screen-gallery-number{font-size:9px;line-height:1.8}
 .screen-gallery-caption>span:last-child{display:none}
 .lightbox{padding:12px}
 .lightbox-device{width:calc(100vw - 110px)}
 .lightbox-bar strong{font-size:15px}
 .lightbox-content>button{min-width:36px;min-height:44px}
}
@media(max-width:360px){.brand small{display:none}.nav{gap:20px}.screen-gallery-image{height:205px;padding:10px}}
@media(prefers-reduced-motion:reduce){.showcase-window,.screen-gallery-card,.all-screens summary>span:last-child{transition:none;animation:none}}

/* Processed raster artwork: website loads the finished compositions. */
.hero-product.processed-hero{display:block;height:auto!important;aspect-ratio:1;border:0;background:transparent;border-radius:8px;overflow:hidden;box-shadow:none}
.hero-product.processed-hero::before{display:none!important}
.processed-hero picture,.processed-hero img{display:block;width:100%;height:auto;max-width:100%;position:static;object-fit:contain}
.processed-stage{display:block;line-height:0;border:1px solid #e1e6e6;border-radius:8px;overflow:hidden;cursor:zoom-in;background:#f6f7f4}
.processed-stage picture,.processed-stage img{display:block;width:100%;height:auto;max-width:100%}
.processed-stage:focus-visible{outline:3px solid #2459b8;outline-offset:5px}
@media(max-width:560px){.hero-product.processed-hero{border-radius:5px}.processed-stage{border-radius:5px}}
