/* The live hero (8 Nov 2026, hero-live.js): the lyric engine drawing Rock the Beat in the browser over the hero video */
.hero-proof{position:relative}
.hero-live{position:absolute;left:0;top:0;width:100%;aspect-ratio:16/9;box-sizing:border-box;overflow:hidden;background:#101010;border:1px solid var(--line);border-radius:20px;opacity:0;transition:opacity .25s ease}
.hero-proof.is-live .hero-live{opacity:1}
.hero-proof.is-live video{visibility:hidden}
.hero-live canvas,.hero-live svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.hero-live-dot{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#ff3b30;vertical-align:1px;animation:hero-live-pulse 1.6s ease-in-out infinite}
@keyframes hero-live-pulse{50%{opacity:.35}}
.hero-proof figcaption .hero-live-styles{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:10px}
.hero-live-styles button{min-height:36px;padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--ink);font:inherit;font-size:13px;line-height:1.2;cursor:pointer}
.hero-live-styles button:hover,.hero-live-styles button:focus-visible{border-color:var(--accent)}
.hero-live-styles button[aria-pressed="true"]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);font-weight:600}
@media (max-width:760px){.hero-live{border-radius:16px}.hero-live-styles button{min-height:40px}.hero-proof{min-width:0}.hero-proof figcaption .hero-live-styles{flex-wrap:nowrap;justify-content:flex-start;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding:2px 2px 6px}.hero-proof figcaption .hero-live-styles::-webkit-scrollbar{display:none}.hero-live-styles button{flex:none}}
/* Your song (8 Nov 2026): the window while it's made, the percentage and the bars dancing to it, then the offer */
.hero-proof [hidden]{display:none!important}
.hero-wait{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(4px,1.3vw,10px);padding:clamp(10px,3vw,28px);box-sizing:border-box;text-align:center;color:#fff;background:radial-gradient(120% 90% at 50% 115%,rgba(255,122,41,.3),transparent 62%),#101010;border-radius:inherit;transition:opacity .45s ease;--tempo:.9s}
.hero-wait.is-done{opacity:0;pointer-events:none}
.hero-wait-eyebrow{margin:0;font:600 clamp(10px,1.5vw,12px)/1.2 var(--font,sans-serif);letter-spacing:.14em;text-transform:uppercase;color:#ffae70}
.hero-wait-pct{display:flex;align-items:flex-end;justify-content:center;min-height:1em;font:800 clamp(42px,9.5vw,92px)/1 var(--display,sans-serif);letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.hero-wait-pct:empty{display:none}
.hero-wait-pct span{display:inline-block;animation:hero-wait-hop var(--tempo) ease-in-out infinite alternate;animation-delay:calc(var(--d) * -.15s)}
.hero-wait-pct span.pop{animation:hero-wait-pop .34s ease-out,hero-wait-hop var(--tempo) ease-in-out .34s infinite alternate}
.hero-wait-pct i{font-style:normal;font-size:.45em;margin:0 0 .2em .06em;color:#ffae70;animation:hero-wait-hop var(--tempo) ease-in-out infinite alternate;animation-delay:-.3s}
@keyframes hero-wait-hop{from{transform:translateY(0) rotate(-3deg)}to{transform:translateY(-.08em) rotate(3deg)}}
@keyframes hero-wait-pop{0%{transform:scale(1.35) translateY(-.14em);color:#ffae70}100%{transform:none}}
.hero-wait-bars{display:flex;align-items:flex-end;gap:3px;width:min(78%,360px);height:clamp(16px,3.8vw,34px)}
.hero-wait-bars b{flex:1;height:100%;border-radius:3px;background:rgba(255,255,255,.18);transform-origin:bottom;animation:hero-wait-bar var(--tempo) ease-in-out infinite alternate;animation-delay:calc(var(--i) * -.09s)}
.hero-wait-bars b.on{background:linear-gradient(180deg,#ffbe76,#ff7a29)}
.hero-wait.is-trouble .hero-wait-bars{display:none}
@keyframes hero-wait-bar{from{transform:scaleY(.22)}to{transform:scaleY(1)}}
.hero-wait-stage{margin:0;font:700 clamp(13px,2.1vw,18px)/1.25 var(--display,sans-serif);letter-spacing:-.01em;text-transform:uppercase}
.hero-wait-stage.swap{animation:hero-wait-line .45s cubic-bezier(.2,.9,.3,1.3)}
@keyframes hero-wait-line{from{transform:translateY(.7em);opacity:0}to{transform:none;opacity:1}}
.hero-wait.is-trouble .hero-wait-stage{text-transform:none;font-size:clamp(15px,2.4vw,20px)}
.hero-wait-line{margin:0;max-width:30em;font-size:clamp(11px,1.5vw,13px);line-height:1.4;color:rgba(255,255,255,.74)}
.hero-wait-actions:empty{display:none}
.hero-wait-actions .button{min-height:42px;padding:9px 18px;font-size:14px;width:auto}
.hero-wait-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hero-live-cta{margin-top:12px;padding:14px;border:1px solid var(--line);border-radius:18px}
.hero-cta-title{margin:0;font:700 clamp(16px,2vw,19px)/1.25 var(--display,sans-serif);letter-spacing:-.02em}
.hero-cta-line{margin:6px auto 12px;max-width:32em;font-size:13px;line-height:1.45;color:var(--muted)}
.hero-cta-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.hero-cta-actions .button{min-height:48px;width:auto;min-width:min(100%,200px);margin:0}
/* the speaker on the window's corner (8 Nov 2026): "Tap for sound" beside it while the sound is off, the speaker alone once on */
.hero-live .hero-live-sound{position:absolute;right:12px;bottom:12px;z-index:3;display:inline-flex;align-items:center;gap:8px;box-sizing:border-box;height:44px;min-width:44px;margin:0;padding:0 15px 0 12px;border:1px solid rgba(255,255,255,.3);border-radius:999px;background:rgba(12,12,12,.66);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;font-family:inherit;font-size:14px;font-weight:600;line-height:1;letter-spacing:.01em;white-space:nowrap;cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.35);transition:background .2s ease,transform .15s ease}
.hero-live .hero-live-sound[hidden]{display:none}
.hero-live .hero-live-sound:hover{background:rgba(12,12,12,.84)}
.hero-live .hero-live-sound:active{transform:scale(.96)}
.hero-live .hero-live-sound:focus-visible{outline:2px solid var(--accent,#ff7a29);outline-offset:3px}
.hero-live .hero-live-sound svg{position:static;inset:auto;flex:none;width:22px;height:22px;pointer-events:none}
.hero-live .hero-live-sound .hero-live-sound-on{display:none}
.hero-live .hero-live-sound.is-on{width:44px;padding:0;justify-content:center}
.hero-live .hero-live-sound.is-on .hero-live-sound-on{display:block}
.hero-live .hero-live-sound.is-on .hero-live-sound-off,.hero-live .hero-live-sound.is-on .hero-live-sound-label{display:none}
.hero-live .hero-live-sound:not(.is-on)::after{content:"";position:absolute;inset:-5px;border:2px solid var(--accent,#ff7a29);border-radius:inherit;opacity:0;pointer-events:none;animation:hero-sound-ring 1.8s ease-out .6s 3}
@keyframes hero-sound-ring{0%{opacity:.9;transform:scale(.92)}100%{opacity:0;transform:scale(1.18)}}
@media (max-width:760px){.hero-live .hero-live-sound{right:10px;bottom:10px;height:40px;min-width:40px;padding:0 13px 0 10px;font-size:13px}.hero-live .hero-live-sound.is-on{width:40px;padding:0}.hero-live .hero-live-sound svg{width:20px;height:20px}}
@media (max-width:420px){.hero-wait-line{font-size:11px;max-width:26em}}
@media (max-width:340px){.hero-wait-line{display:none}}
@media (prefers-reduced-motion:reduce){.hero-wait *,.hero-live .hero-live-sound::after{animation:none!important}}
