.product-hero { position:relative; isolation:isolate; overflow:clip; }
.hero-layout { position:relative; display:grid; grid-template-columns:1fr 1.08fr; align-items:center; gap:30px; min-height:708px; padding-block:42px 54px; }
.hero-heading { position:relative; z-index:3; padding-bottom:15px; }
.hero-heading h1 { font-size:clamp(75px,7.1vw,106px); letter-spacing:-.065em; line-height:1.06; }
.hero-heading h1 em { font-style:italic; }
.hero-heading>p { color:var(--muted); font-size:16px; line-height:1.8; margin-top:25px; max-width:400px; }
.store-badges { display:flex; align-items:center; flex-wrap:wrap; gap:0; margin:22px 0 0; }
.store-badge { display:block; flex-shrink:0; padding:0; background:transparent; border:0; border-radius:9px; }
.store-badge img { display:block; width:auto; max-width:none; }
.store-badge-apple { padding:12px 0; }
.store-badge-apple img { height:48px; }
.store-badge-google img { height:72px; }
.hero-heading>.store-status { font-size:12px; color:var(--quiet); margin-top:0; }
.hero-links { display:flex; align-items:center; gap:28px; margin-top:25px; }
.hero-links .text-link { font-size:13px; }
.hero-art { position:absolute; inset:0; pointer-events:none; z-index:-1; overflow:hidden; }
.hero-light { position:absolute; inset:0; opacity:.75; animation:ambient-light 19s ease-in-out infinite alternate; }
.hero-light-teal { background:radial-gradient(ellipse at 86% 75%,#17494280,transparent 52%); }
.hero-light-gold { background:radial-gradient(ellipse at 82% 22%,#9b672b35,transparent 48%); animation-delay:-10s; }
.hero-ribbon-frame { position:absolute; width:900px; aspect-ratio:14/11; right:60px; top:25px; opacity:.8; transform:translate(calc(var(--pointer-x,0) * 16px),calc(var(--pointer-y,0) * 11px)) rotate(-8deg); transition:transform .85s var(--ease); }
.hero-ribbon-frame>img { width:100%; height:100%; object-fit:contain; }
.ribbon-shine { position:absolute; inset:0; overflow:hidden; -webkit-mask:url('/assets/vector/route-ribbon.svg') center/contain no-repeat; mask:url('/assets/vector/route-ribbon.svg') center/contain no-repeat; mix-blend-mode:screen; opacity:.65; }
.ribbon-shine::after { content:''; position:absolute; top:0; bottom:0; left:0; width:70%; background:linear-gradient(105deg,transparent 15%,#ffedc49e 48%,transparent 80%); animation:ribbon-light 18s linear infinite; }
.ribbon-trace { position:absolute; inset:0; width:100%; height:100%; overflow:hidden; }
.ribbon-trace path { stroke:#fff0cf; stroke-width:2; stroke-linecap:round; stroke-dasharray:4 96; animation:ribbon-trace 22s linear infinite; opacity:.85; }
.hero-stage { position:relative; height:620px; min-width:0; z-index:2; }
.hero-device { position:absolute; width:43%; transition:translate .85s var(--ease); }
.hero-device-front { width:40%; left:49%; top:10%; transform:rotate(6deg); translate:calc(var(--pointer-x,0) * -4px) calc(var(--pointer-y,0) * -3px); z-index:2; }
.hero-device-back { width:40%; left:5%; top:1%; transform:rotate(-7deg); translate:calc(var(--pointer-x,0) * 3px) calc(var(--pointer-y,0) * 2px); }
.hero-device .device-frame { padding:5px; border-radius:35px; box-shadow:0 28px 50px -18px #000a,0 1px 2px #0009; }
.hero-device .device-frame img { border-radius:29px; }
.hero-device-front .device-frame { animation:hero-settle 1.1s var(--ease) both; }
.hero-device-back .device-frame { animation:hero-settle 1.1s .12s var(--ease) both; }
.hero-motion { width:34px; height:34px; position:absolute; right:0; bottom:0; color:var(--muted); border-color:var(--line); background:color-mix(in srgb,var(--bg) 50%,transparent); }
.hero-motion svg { width:13px; height:13px; }
html[data-theme=light] .hero-ribbon-frame { opacity:.53; }
html[data-theme=light] .hero-light-teal { background:radial-gradient(ellipse at 86% 75%,#a1b7a94d,transparent 52%); }
html[data-theme=light] .hero-light-gold { background:radial-gradient(ellipse at 82% 22%,#c79a5c25,transparent 48%); }
html[data-theme=light] .hero-device .device-frame { box-shadow:0 25px 48px -22px #4a382b55,0 1px 2px #40352144; }
@keyframes hero-settle { from { opacity:0; translate:0 15px; } to { opacity:1; translate:0 0; } }
@keyframes ambient-light { from { opacity:.4; } to { opacity:1; } }
@keyframes ribbon-light { from { transform:translateX(-140%); } to { transform:translateX(240%); } }
@keyframes ribbon-trace { to { stroke-dashoffset:-100; } }
.product-hero.is-motion-paused *, .product-hero.is-motion-paused *::before,.product-hero.is-motion-paused *::after,
.ambient-art.is-motion-paused,.ambient-art.is-motion-paused::before,.ambient-art.is-motion-paused::after,.ambient-art.is-motion-paused *,.ambient-art.is-motion-paused *::before,.ambient-art.is-motion-paused *::after,
html.is-motion-paused .ambient-art,html.is-motion-paused .ambient-art::before,html.is-motion-paused .ambient-art::after,html.is-motion-paused .ambient-art *,html.is-motion-paused .ambient-art *::after,html.is-motion-paused .ambient-art *::before { animation-play-state:paused!important; }
.product-hero.is-motion-paused .hero-ribbon-frame,.product-hero.is-motion-paused .hero-device { transition:none!important; }
@media(min-width:1500px) { .hero-ribbon-frame { right:calc((100vw - 1500px)/2 + 60px); } }
@media(max-width:1100px) {
 .hero-layout { min-height:650px; gap:20px; padding-block:38px 42px; }
 .hero-heading h1 { font-size:clamp(66px,7.2vw,88px); }
 .hero-heading>p { font-size:14px; }
 .store-badge-apple { padding:10px 0; }
 .store-badge-apple img { height:40px; }
 .store-badge-google img { height:60px; }
 .hero-stage { height:540px; }
 .hero-ribbon-frame { width:780px; right:-55px; top:-40px; }
 .hero-device .device-frame { padding:4px; border-radius:30px; }
 .hero-device .device-frame img { border-radius:25px; }
}
@media(max-width:900px) {
 .hero-layout { min-height:575px; gap:24px; padding-block:32px 36px; }
 .hero-heading h1 { font-size:clamp(55px,7.8vw,69px); }
 .hero-heading>p { font-size:13px; margin-top:20px; }
 .hero-links { gap:20px; margin-top:22px; }
 .hero-links .text-link { font-size:12px; }
 .hero-stage { height:465px; }
 .hero-device-front { width:47%; left:46%; top:16%; }
 .hero-device-back { width:44%; left:0; top:7%; }
 .hero-device .device-frame { border-radius:24px; padding:3px; }
 .hero-device .device-frame img { border-radius:20px; }
 .hero-ribbon-frame { width:660px; right:-90px; top:-35px; }
}
@media(max-width:650px) {
 .hero-layout { grid-template-columns:1fr; gap:0; padding-block:32px 28px; min-height:0; }
 .hero-heading { padding-bottom:0; }
 .hero-heading h1 { font-size:clamp(55px,13.8vw,83px); max-width:500px; }
 .hero-heading>p { font-size:14px; margin-top:18px; }
 .store-badges { margin-top:15px; }
 .hero-heading>.store-status { font-size:11px; }
 .hero-links { margin-top:18px; }
 .hero-stage { width:100%; max-width:440px; height:auto; aspect-ratio:350/455; margin:30px auto 0; }
 .hero-device-front { width:49%; left:47%; top:12%; }
 .hero-device-back { width:44%; left:2%; top:1%; }
 .hero-ribbon-frame { width:600px; right:-140px; top:345px; transform:translate(calc(var(--pointer-x,0) * 8px),0) rotate(-18deg); opacity:.5; }
 .hero-light-teal { background:radial-gradient(ellipse at 85% 85%,#1749427d,transparent 60%); }
}
@media(max-width:350px) {
 .hero-heading h1 { font-size:51px; }
 .hero-heading>p { font-size:13px; }
 .hero-device .device-frame { border-radius:21px; padding:3px; }
 .hero-device .device-frame img { border-radius:17px; }
 .hero-ribbon-frame { width:520px; right:-150px; top:350px; }
}
@media(prefers-reduced-motion:reduce) {
 .product-hero *, .product-hero *::before,.product-hero *::after,.ambient-art *,.ambient-art *::after { animation:none!important; transition:none!important; }
 .hero-motion { display:none; }
}
