/* A prominent disclosure, still closed by default and with no automatic opening. */
.comparison{border:1px solid #b5a5ffb0;border-radius:16px;background:linear-gradient(115deg,#30275c,#14243d);box-shadow:inset 0 1px #dbd1ff35,0 8px 32px #8074ff18;padding:0 26px;transition:border-color .2s,box-shadow .2s}
.comparison>summary{font-size:19px;font-weight:650;min-height:80px;color:#f5f2ff;gap:22px}
.comparison>summary>.plus{display:grid;place-items:center;flex:0 0 36px;height:36px;border:1px solid #c7bcff75;border-radius:50%;background:#b8a5ff20;color:white;font-size:27px}
.comparison:hover,.comparison:focus-within{border-color:#d3c6ff;box-shadow:inset 0 1px #dbd1ff35,0 8px 35px #8074ff30}
.comparison[open]{background:linear-gradient(135deg,#211f40,#0c1729)}
/* Keep the scroll cue in the bottom row, outside the floating call cards. */
.hero-floor{flex-wrap:wrap}
.hero-floor .hero-scroll{position:static;flex:0 0 auto;margin:0;z-index:auto;letter-spacing:2px;font-size:12px}
.hero-floor .hero-scroll i{height:25px}
/* Independent four-screen reel; the earlier film styles and timing are untouched. */
.app-section{overflow:visible}
.app-intro{padding-bottom:35px}.app-intro .section-heading{margin-bottom:20px}
.gallery-reel{position:relative;height:calc(100svh + var(--gallery-runway,4000px));--shot-height:60svh}
.gallery-stage{position:sticky;top:0;height:100svh;padding:24px 6vw;display:flex;flex-direction:column;gap:16px;overflow:clip;isolation:isolate;background:radial-gradient(ellipse at 75% 40%,#4b52b736,transparent 65%),#080d19;border-block:1px solid var(--line)}
.gallery-top,.gallery-floor{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-shrink:0;position:relative;z-index:3}
.gallery-top{font-size:14px;color:#bdcbe4;min-height:24px}
#gallery-count{font-size:13px;letter-spacing:3px;white-space:nowrap}
.gallery-floor{border-top:1px solid var(--line);padding-top:12px}
.gallery-floor .button{min-height:44px;padding:10px 20px}
.gallery-stage .showcase{flex:1;min-height:0;gap:6vw;grid-template-columns:1fr 1fr;align-items:center}
.gallery-stage .showcase-copy{min-width:0}
.gallery-stage .screen-tabs{margin-bottom:22px}
.gallery-stage .screen-tabs button{position:relative;min-height:48px;padding:12px 0;gap:18px}
.gallery-stage .screen-tabs button span{font-size:22px}
.screen-tabs button i{position:absolute;bottom:-1px;left:0;width:var(--screen-fill,0%);height:2px;background:#b3a6ff;box-shadow:0 0 12px #b3a6ff70}
.gallery-stage #screen-panel{min-height:0;height:100%;display:grid;place-items:center}
.gallery-stage .screenshot-button{width:min(330px,calc(var(--shot-height)*.4918));max-width:100%;height:auto;margin:0 auto;aspect-ratio:1080/2196}
.gallery-stage .screenshot-button img{width:100%;height:auto;object-fit:contain;display:block}
.gallery-stage .screenshot-button>span{font-size:12px;bottom:10px;right:8px}
#screen-copy{display:grid}.screen-copy-block{grid-area:1/1;min-width:0}
.gallery-copy-measure{visibility:hidden;pointer-events:none}
.gallery-stage .showcase-copy h3{font-size:clamp(25px,2.7vw,38px);line-height:1.2;margin:15px 0}
.gallery-stage .showcase-copy p{font-size:17px;line-height:1.6;margin-bottom:0}
.gallery-reel.flat{height:auto}.gallery-reel.flat .gallery-stage{position:relative;height:auto;overflow:visible}
.gallery-reel.flat .showcase{min-height:0;align-items:center}.gallery-reel.flat #screen-panel{height:auto}
.gallery-reel.flat .screen-tabs button i{display:none}
@media(max-width:1100px){.hero-floor .hero-scroll{order:3;width:100%;justify-content:flex-start}.hero-floor{row-gap:12px}}
@media(max-width:760px){
 .comparison{padding:0 18px}.comparison>summary{font-size:17px;line-height:1.45;min-height:78px;gap:14px}.comparison>summary>.plus{flex-basis:32px;height:32px;font-size:25px}
 .hero-floor .hero-scroll{display:flex;justify-content:center;margin-top:16px;font-size:11px}
 .gallery-stage{padding:16px 22px;gap:12px}.gallery-top{font-size:13px;gap:12px}
 .gallery-stage .showcase{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:14px}
 .gallery-stage .screen-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}
 .gallery-stage .screen-tabs button{justify-content:center;text-align:center;gap:0;padding:8px 2px;min-height:44px}
 .gallery-stage .screen-tabs button small{display:none}.gallery-stage .screen-tabs button span{font-size:14px;line-height:1.3;overflow-wrap:anywhere}
 .gallery-stage .showcase-copy h3{font-size:22px;line-height:1.2;margin:0 0 8px}
 .gallery-stage .showcase-copy p{font-size:16px;line-height:1.45;max-width:none}
 .gallery-stage .screenshot-button{transform:none}.gallery-stage .screen-halo{display:none}
 .gallery-floor .button,.gallery-floor .text-link{font-size:14px;min-height:44px}
 .gallery-reel.flat .showcase{grid-template-rows:auto auto;gap:28px}.gallery-reel.flat .screenshot-button{width:min(300px,100%)}
}
@media(prefers-reduced-motion:reduce){.gallery-stage .screenshot-button{transform:none}}
