/* The camera is decorative; every screen is a genuine app capture. */
.hero.hero-app{grid-template-columns:.82fr 1.18fr;gap:16px;padding-top:36px;padding-bottom:46px}
.hero-app h1{font-size:clamp(44px,4.8vw,66px)}
.app-showcase{min-width:0;text-align:center}
.app-burst{position:relative;isolation:isolate;width:82%;margin-inline:auto;aspect-ratio:1.13}
.burst-halo{position:absolute;inset:9% -3% 1%;border-radius:50%;background:radial-gradient(ellipse,#dedaff 0%,#eeecff 43%,rgba(238,236,255,0) 70%);z-index:-1}
.app-screen{position:absolute;display:block;left:var(--x);top:var(--y);width:var(--w);transform:translateX(-50%) rotate(var(--angle));transform-origin:50% 90%;z-index:var(--layer);text-decoration:none;border-radius:23px;transition:transform .28s ease,filter .28s ease;filter:drop-shadow(0 12px 12px rgba(42,35,89,.15));-webkit-tap-highlight-color:transparent}
.app-screen-window{display:block;overflow:hidden;border:5px solid #fff;border-radius:22px;background:#f6f7fb;box-shadow:0 0 0 1px rgba(42,35,89,.12)}
.app-screen-window img{display:block;width:100%;max-width:none;height:auto;margin-top:calc(-100% * var(--trim,0))}
.screen-one{--x:16%;--y:25%;--w:25%;--angle:-20deg;--layer:1}
.screen-two{--x:32%;--y:12%;--w:28%;--angle:-10deg;--layer:2}
.screen-three{--x:50%;--y:4%;--w:30%;--angle:0deg;--layer:4}
.screen-four{--x:68%;--y:12%;--w:28%;--angle:10deg;--layer:3}
.screen-five{--x:84%;--y:25%;--w:25%;--angle:20deg;--layer:1}
.app-screen:hover,.app-screen:focus-visible{z-index:6;transform:translateX(-50%) translateY(-12px) rotate(var(--angle));filter:drop-shadow(0 16px 17px rgba(42,35,89,.22))}
.screen-enlarge{position:absolute;right:9px;top:9px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#fff;color:var(--indigo);font-size:18px;line-height:1;box-shadow:0 2px 8px #20233215;opacity:0;transition:opacity .2s}
.app-screen:hover .screen-enlarge,.app-screen:focus-visible .screen-enlarge{opacity:1}
.burst-camera{position:absolute;z-index:7;left:50%;bottom:1%;width:46%;height:auto;transform:translateX(-50%) rotate(-5deg);pointer-events:none;filter:drop-shadow(0 18px 16px rgba(42,35,89,.12))}
.burst-spark{position:absolute;color:var(--gold);font-size:28px;line-height:1;z-index:0;user-select:none}
.spark-one{left:14%;top:6%;transform:rotate(8deg)}
.spark-two{right:12%;top:5%;color:var(--indigo);font-size:38px}
.spark-three{right:0;top:75%;font-size:22px}
.showcase-caption{display:flex;justify-content:center;align-items:center;gap:8px;font:inherit;font-size:13px;font-weight:700;line-height:1.6;color:var(--ink);margin:8px auto 4px;min-height:44px;padding:8px 4px;background:transparent;border:0;border-radius:10px;cursor:pointer}
.showcase-dot{width:7px;height:7px;border-radius:50%;background:var(--indigo);box-shadow:0 0 0 4px #eeecff}
.showcase-links{display:flex;justify-content:center;flex-wrap:wrap;gap:6px}
.showcase-links button{font:inherit;font-size:11px;font-weight:650;color:var(--muted);background:transparent;border:1px solid var(--line);border-radius:30px;padding:7px 10px;cursor:pointer;transition:border-color .2s,color .2s}
.showcase-links button:hover{border-color:var(--indigo);color:var(--indigo)}
.showcase-links button span{margin-left:3px;color:var(--indigo)}
html.app-preview-open{overflow:hidden}
.app-preview-dialog{border:0;border-radius:30px;padding:40px;width:min(860px,calc(100% - 40px));max-width:none;max-height:calc(100dvh - 40px);margin:auto;background:var(--paper);color:var(--ink);box-shadow:0 32px 100px #0005;overscroll-behavior:contain}
.app-preview-dialog::backdrop{background:rgba(20,18,35,.72);backdrop-filter:blur(8px)}
.app-preview-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:40px}
.app-preview-image{width:min(100%,calc((100dvh - 130px) * .49));margin:auto;--trim:0}
.app-preview-image .app-screen-window{border-width:6px;border-radius:24px;box-shadow:0 12px 30px #20233215,0 0 0 1px #20233218}
.app-preview-copy h2{font-size:36px;line-height:1.12;margin:12px 0 20px;letter-spacing:-1.3px}
.app-preview-copy>p{font-size:16px;line-height:1.6}
.app-preview-copy .fine{font-size:12px;line-height:1.5}
.app-preview-copy .button{margin-top:12px}
.app-preview-close{position:absolute;top:14px;right:14px;width:44px;height:44px;background:var(--white);border:1px solid var(--line);border-radius:50%;color:var(--ink);font:inherit;font-size:28px;cursor:pointer;z-index:2;line-height:1}
.app-preview-navigation{display:flex;align-items:center;gap:18px;margin-top:24px;font-size:13px;color:var(--muted)}
.app-preview-navigation button{font:inherit;font-size:20px;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:var(--white);color:var(--indigo);cursor:pointer}
@media(min-width:701px) and (max-width:1000px){
 .hero.hero-app{grid-template-columns:1fr;gap:20px;text-align:center;padding-top:46px}
 .hero-app .hero-copy{max-width:660px;margin:auto}
 .hero-app .hero-actions{justify-content:center}
 .app-showcase{width:min(680px,100%);margin:auto}
}
@media(max-width:700px){
 .hero.hero-app{display:flex;flex-direction:column;gap:14px;padding-top:28px;padding-bottom:36px;align-items:stretch}
 .hero-app .hero-copy{display:contents}
 .hero-app .badge{order:1;align-self:flex-start;font-size:9px}
 .hero.hero-app h1{order:2;font-size:clamp(40px,10.7vw,60px);margin:4px 0}
 .app-showcase{order:3;width:100%;max-width:560px;align-self:center}
 .hero-app .hero-actions{order:4;margin:6px 0 0;justify-content:center}
 .hero-app .hero-actions .button{width:100%;justify-content:center}
 .hero-app .hero-copy>p{order:5;margin:4px 0;font-size:16px;text-align:center}
 .hero-app .hero-copy>.fine{order:6;font-size:11px}
 .app-burst{aspect-ratio:1.1}
 .app-screen-window{border-width:3px;border-radius:14px}
 .burst-camera{width:49%;bottom:0}
 .burst-spark{font-size:20px}
 .spark-two{font-size:29px}
 .showcase-caption{font-size:12px;margin:12px auto 0}
 .showcase-links{display:none}
 .app-preview-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:24px;padding:24px 22px}
 .app-preview-layout{display:flex;flex-direction:column;gap:20px}
 .app-preview-image{width:min(260px,calc((100dvh - 375px) * .49))}
 .app-preview-copy{width:100%;text-align:center}
 .app-preview-copy h2{font-size:25px;margin:0 0 8px}
 .app-preview-copy .eyebrow{display:none}
 .app-preview-copy>p{font-size:14px;margin:6px 0}
 .app-preview-copy .fine{font-size:11px}
 .app-preview-navigation{justify-content:center;margin-top:14px}
 .app-preview-copy .button{font-size:13px;margin-top:14px}
}
@media(max-height:500px) and (min-width:560px){
 .app-preview-dialog{padding:24px}
 .app-preview-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:24px}
 .app-preview-image{width:min(100%,calc((100dvh - 100px) * .49))}
 .app-preview-copy{text-align:left}
 .app-preview-copy .eyebrow{display:none}
 .app-preview-copy h2{font-size:24px;margin:0 0 8px}
 .app-preview-copy>p{font-size:13px;margin:6px 0}
 .app-preview-copy .fine{font-size:11px}
 .app-preview-navigation{justify-content:flex-start;margin-top:10px;gap:14px}
 .app-preview-copy .button{font-size:12px;min-height:44px;padding:10px 18px;margin-top:10px}
}
@media(prefers-reduced-motion:no-preference){
 .app-burst{animation:app-reveal .85s cubic-bezier(.16,1,.3,1) both}
 @keyframes app-reveal{from{opacity:0;transform:translateY(20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}
}
