
:root{color-scheme:dark;--bg:#0e1112;--text:#a9eef4;--body:#d3e4e6;--muted:#8fc6cb;--accent:#7fe3ff}
h1{text-align:center;text-wrap:balance;color:var(--text);font-weight:600;font-size:clamp(2.2rem,5.6vw,3.8rem);line-height:1.05;letter-spacing:-.025em}
.lead{text-align:center;text-wrap:balance;max-width:31em;margin:14px auto 0;font-size:clamp(1.125rem,2.1vw,1.35rem);line-height:1.4;color:#e6f3f4}
.stage{position:relative;max-width:960px;margin:26px auto 0;aspect-ratio:16/9;container-type:inline-size}
.ball{position:absolute;inset:0}
.ball img{position:absolute;top:4%;bottom:4%;left:0;right:0;margin:auto;height:92%;width:100%;object-fit:contain;filter:drop-shadow(0 0 46px rgba(127,227,255,.28))}
.scene{position:absolute;inset:0;border-radius:24px;opacity:0;clip-path:circle(0 at 50% 50%)}
.frame{position:absolute;inset:0;border-radius:24px;overflow:hidden;background:#161d1f}
.frame video,.frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.frame img{display:none}
.open .scene{opacity:1;clip-path:none}.open:not(.opening):not(.closing) .ball{opacity:0}
[data-n="0"]{--dx:32%;--dy:0%;--ql:11.7%;--qt:13.3%;--qw:26.8%;--aw:44%;--bx:34.4;--by:66;--bt:56.7;--gw:21;--sl:auto;--sr:3%;--px:31.2;--pk:.247;--po:20px;--pp:43.75%}
[data-n="1"]{--dx:-32%;--dy:0%;--ql:23%;--qt:10%;--qw:22%;--aw:38%;--bx:26.7;--by:78.2;--bt:70.6;--gw:19;--sl:auto;--sr:3%;--px:12.7;--pk:.142;--po:10px;--pp:68.75%}
[data-n="2"]{--dx:0%;--dy:-27%;--ql:14%;--qt:14%;--qw:30%;--aw:47%;--bx:25.3;--by:84;--bt:75.6;--gw:19.1;--sl:auto;--sr:3%;--px:16;--pk:.075;--po:-8px;--pp:53.1%}
[data-n="3"]{--dx:0%;--dy:27%;--ql:14%;--qt:22%;--qw:29%;--aw:38%;--bx:19.8;--by:83.8;--bt:75.8;--gw:17.9;--sl:3%;--sr:auto;--px:14;--pk:.083;--po:-8px;--pp:37.5%}
.stage{width:100%;max-width:min(960px,max(560px,calc((100svh - 400px)*16/9)))}
.ctl{align-items:center}.dots{display:flex}
.ctl .dots button{min-height:44px;width:44px;padding:0;border:0;display:grid;place-items:center}
.dots i{width:11px;height:11px;border-radius:50%;border:2px solid #8fc6cb}.dots button[aria-pressed=true] i{background:#7fe3ff;border-color:#7fe3ff;width:15px;height:15px}
.more{text-align:center;margin:0 0 64px}.more a{display:inline-block;padding:10px;color:var(--text);text-underline-offset:4px}.more a:focus-visible{outline:3px solid var(--accent)}
.uses{padding-top:24px;margin-bottom:56px}.uses h2{font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.1;margin:0}.uses .lead{margin-bottom:56px}
.use{display:grid;grid-template-columns:1.25fr 1fr;gap:48px;align-items:center;margin-bottom:56px}.use:nth-of-type(even){grid-template-columns:1fr 1.25fr}.use:nth-of-type(even) img{order:2}
.use img{width:100%;height:auto;border-radius:20px;display:block}
h3{color:var(--text);font-size:clamp(1.35rem,2.6vw,1.8rem);line-height:1.2;font-weight:600;margin-bottom:10px;text-wrap:balance}.use p,.two p{font-size:1.125rem;max-width:30em}
.two{display:grid;grid-template-columns:1fr 1fr;gap:48px;border-top:1px solid #33474b;padding-top:40px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
h2{text-align:center;color:var(--text);font-weight:600;font-size:1.35rem;margin:22px 0 12px}
.ask{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:0 0 26px}
.ask button[aria-pressed=true]{background:#eafcff;color:#0b1a1d;border-color:#eafcff}
.b{position:absolute;opacity:0;border-radius:22px;filter:drop-shadow(0 8px 16px rgba(0,0,0,.5))}
.b svg{position:absolute;overflow:visible}
.q,.a{text-wrap:balance}.q{left:var(--ql);top:var(--qt);width:var(--qw);background:#eafcff;color:#0b1a1d;padding:1.5cqw 2cqw;font-weight:600;font-size:2.45cqw;line-height:1.28;transform-origin:118% 78%}
.q svg .pm,.a svg .pm{display:none}
.q svg{left:calc(100% - 2px);top:30%;width:6cqw;height:5cqw;fill:#eafcff}
.a{left:calc(var(--bx)*1% - 1.4%);bottom:calc(111% - var(--bt)*1%);width:var(--aw);background:#1a373e;color:#f5fdfe;padding:1.5cqw 2.1cqw 1.7cqw;font-size:max(17px,2.2cqw);line-height:1.4;transform-origin:4% 142%}
.a b{display:block;font-size:max(14px,1.5cqw);color:var(--text);font-weight:600}
.a svg{left:1.7cqw;top:calc(100% - 2px);width:4cqw;height:4.6cqw;fill:#1a373e}
.glow{position:absolute;left:calc(var(--bx)*1%);top:calc(var(--by)*1%);width:calc(var(--gw)*1%);aspect-ratio:1;border-radius:50%;transform:translate(-50%,-50%);background:radial-gradient(circle,transparent 42%,rgba(127,227,255,.26) 50%,rgba(127,227,255,.1) 60%,rgba(127,227,255,0) 76%);filter:blur(5px);opacity:0}
.on{opacity:1}
.ctl{display:flex;justify-content:center;gap:8px;margin:20px 0 10px}
.ctl button,.ask button{font:inherit;min-height:44px;padding:8px 20px;border-radius:999px;border:1px solid #4a6368;background:transparent;color:var(--body);cursor:pointer}
button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.cap{text-align:center;color:var(--muted);font-size:.9375rem;max-width:46em;margin:0 auto 40px}
.still .frame img{display:block}.still .frame video{display:none}
.still .q{left:var(--sl);right:var(--sr);top:4%;width:auto;padding:1.3cqw 2cqw}.still .q svg{display:none}
@media (prefers-reduced-motion:no-preference){
 .ball img{animation:float 6s ease-in-out infinite}
 .opening .scene{animation:open 1.7s ease-in-out both}
 .closing .scene{animation:open 1.2s ease-in-out reverse both}
 .opening .ball{animation:aside 1.7s ease-in-out both}
 .closing .ball{animation:aside 1.2s ease-in-out reverse both}
 .b.on{animation:pop .6s cubic-bezier(.2,1.3,.35,1) both}
 .still .b.on,.still .glow.on{animation:none}
 .b,.glow{transition:opacity .25s}.glow.on{animation:pulse 1.7s ease-in-out infinite}
 .paused *{animation-play-state:paused!important}
}
@keyframes float{50%{transform:translateY(-9px) rotate(.7deg)}}
@keyframes open{0%{opacity:0;transform:scale(.04);clip-path:circle(33% at 50% 50%)}8%{opacity:1}42%,58%{transform:translate(var(--dx),var(--dy)) scale(.44);clip-path:circle(33% at 50% 50%)}100%{opacity:1;transform:none;clip-path:circle(76% at 50% 50%)}}
@keyframes aside{0%{transform:none;opacity:1}42%,58%{transform:translate(calc(var(--dx)*-.5),calc(var(--dy)*-.6)) scale(.6);opacity:1}100%{transform:translate(calc(var(--dx)*-.5),calc(var(--dy)*-.6)) scale(.6);opacity:0}}
@keyframes pop{from{opacity:0;transform:scale(.08)}to{opacity:1;transform:none}}
@keyframes pulse{50%{transform:translate(-50%,-50%) scale(1.1);opacity:.65}}
@media (max-width:700px){
 .stage{max-width:none}.use,.use:nth-of-type(even),.two{grid-template-columns:1fr;gap:18px}.use:nth-of-type(even) img{order:0}.two{gap:32px}

 /* Phone: 4:3 picture showing 960 of the video's 1280 pixels, starting at x=140. This keeps the lamp, ball and person in view. Question above, answer below. */
 .stage{--w:min(100vw - 40px,640px);--h:calc(var(--w)*.75);--q:112px;width:var(--w);height:calc(var(--q) + var(--h) + 154px);aspect-ratio:auto}
 .ball{top:var(--q);bottom:auto;height:var(--h)}
 .scene{border-radius:0}
 .frame{top:var(--q);bottom:auto;height:var(--h)}
 .frame video,.frame img{object-position:var(--pp) 50%}
 .glow{left:calc(var(--px)*1%);width:calc(var(--gw)*1.333%)}
 .q,.still .q{left:auto;right:6%;top:auto;bottom:calc(100% - var(--q) + 14px);width:auto;max-width:92%;font-size:1.125rem;padding:13px 17px;transform-origin:72% 170%}
 .q svg,.still .q svg{display:block;left:64%;top:calc(100% - 2px);width:30px;height:34px}
 .q svg .pd,.a svg .pd{display:none}.q svg .pm,.a svg .pm{display:inline}
 .still .q svg{display:none}
 .a{left:3%;bottom:auto;top:calc(var(--q) + var(--h) - var(--po));width:94%;font-size:1.0625rem;line-height:1.4;padding:13px 17px 15px;transform-origin:30% -50px}
 .a b{font-size:.9375rem}
 .a svg{left:calc((var(--px) - 3)*1.064% - 19px);top:auto;bottom:calc(100% - 2px);width:32px;height:calc(var(--h)*var(--pk) - var(--po))}
}
@media (max-width:360px){.stage{height:calc(var(--q) + var(--h) + 180px)}}

.uses .lead{max-width:31em}
.cta{text-align:center}.cta .btn{margin:0 0 40px}
h1.t{margin-top:8px}
.nojs{max-width:960px;margin:26px auto 0}.nojs img{display:block;width:100%;height:auto;border-radius:24px}.nojs figcaption{color:var(--body);text-align:center;font-size:1.0625rem}

/* release 5 */
.lead.sub{margin:10px auto 0;max-width:34em}.lead.sub b{color:var(--text);font-weight:600}
h2.end{margin:8px 0 18px;font-size:clamp(1.6rem,3.6vw,2.3rem);line-height:1.15;text-wrap:balance}
.cap{text-wrap:balance}
@media (max-width:700px){.lead.sub{font-size:1.0625rem;margin-top:8px}h1.t{margin-bottom:0}.more{margin-bottom:40px}.stage{margin-top:14px;--q:84px;height:calc(var(--q) + var(--h) + 108px)}.uses{margin-bottom:32px}.use{margin-bottom:36px}}
@media (max-width:360px){.stage{height:calc(var(--q) + var(--h) + 134px)}}

/* release 6 */
/* "AI-generated scenes" label right under the animation */
.ai{text-align:center;margin:10px 0 0;font-size:.9375rem;line-height:1.3;color:#cfe9ec;font-weight:600}
.ctl{margin-top:6px}
/* "Meanwhile…" label: plain title text on a dark pill, away from bubbles, lamp, cat and ball */
.mw{position:absolute;opacity:0;right:2.2%;bottom:3.5%;z-index:2;padding:.45em .85em;border-radius:999px;background:rgba(10,14,15,.86);color:#f5fdfe;font-size:max(16px,1.9cqw);font-weight:600;line-height:1.25;letter-spacing:.01em;white-space:nowrap;transition:opacity .25s}
.mw:empty{display:none}
.mw.on{opacity:1}
.pic{position:relative;display:block}
.pic .mw{opacity:1;font-size:max(14px,1.6vw);right:3%;bottom:5%}
.use:nth-of-type(even) .pic{order:2}
.use:nth-of-type(even) .pic img{order:0}
.use .pic img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:20px;display:block}
.qa{font-size:1rem;color:var(--muted);margin-top:12px}.qa b{color:var(--text);font-weight:600}
/* question text at least 16 px at every size */
.q{font-size:max(16px,2.45cqw);width:max(var(--qw),12.5em)}
@media (max-width:700px){
 .mw,.pic .mw{right:auto;left:4%;top:28%;bottom:auto;font-size:16px}
 .pic .mw{left:auto;right:3%;top:auto;bottom:5%;font-size:14px}
 .q,.still .q{font-size:1.125rem;width:auto}
 /* less empty band under the ball: ball sits lower in its box, and small phones need less room for the answer */
 .ball{top:calc(var(--q) + 28px)}
 .use:nth-of-type(even) .pic{order:0}
}
@media (max-width:360px){.stage{height:calc(var(--q) + var(--h) + 110px)}}
