/* The home works for the app (owner 26.11.2026, council home-2611): no top menu, the app first,
   the team picture with all six lines running, the phone that turns into a laptop, news 2026, the app, the form. */

/* header: no menu, "Get the app" and the language selector on every width */
.nav{gap:8px}
@media (max-width:520px){.nav a.get{display:inline-flex!important;padding:8px 12px!important;font-size:var(--fs-small)!important}}

/* hero: "App" in the font of the section headings, the line under it in the page's lead font */
.app-intro{margin:clamp(44px,6vw,76px) auto 0;max-width:820px;text-align:center}
.app-intro .app-name{margin:0;font-size:var(--fs-title-l);font-weight:800;line-height:1.05;letter-spacing:-.04em;color:var(--ink)}
.app-intro .app-what{margin:18px auto 0;max-width:720px}

/* the team: the note on the models, the task card, the six AIs, each brings its own */
#app .crew{padding-top:clamp(28px,4vw,48px)}
.models-note{margin:0 auto;text-align:center;max-width:760px}
.team-stage{max-width:620px;margin:clamp(24px,4vw,40px) auto 0;display:flex;flex-direction:column;gap:clamp(18px,3vw,28px)}
.team-stage .crew-msg{width:100%;box-sizing:border-box}
.team-stage .crew-orbit{margin:8px auto 0}
.each{text-align:center;max-width:720px;margin:clamp(12px,3vw,24px) auto 0}
.each .crew-title{font-size:var(--fs-title-m)}
.each .lead{margin:12px auto 0}
/* every line is drawn and always runs (owner: "to all six, all the time") */
.crew-lines{opacity:1!important}
.crew-lines line{stroke-width:.7;stroke-dasharray:1.6 2.2;animation:crewdash 2.4s linear infinite!important}
.seat i{animation:crewpop 3s ease-in-out infinite!important;animation-delay:var(--d,0s)!important}
/* Amazon Nova: white like the others */
.seat i.k.nova{background:#fff;color:#0d0b14;font-weight:900}
@keyframes crewdash{to{stroke-dashoffset:-15}}
@keyframes crewpop{50%{transform:scale(1.08)}}

/* the path: one number, the phone that turns into a laptop and back — always, on scroll, on a tap */
.path-box{margin-top:clamp(56px,8vw,110px)}
.path-stats.one{grid-template-columns:1fr;max-width:320px}
.dev-wrap{cursor:pointer;-webkit-tap-highlight-color:transparent;user-select:none}
.dev-wrap:active .dev{filter:brightness(1.15)}
.dev,.dev .scr,.dev .deck,.dev .w,.dev .sig{transition-duration:.8s!important}

/* the open lab: one tile, the full width */
#more{padding-bottom:clamp(30px,4vw,48px)}
.bento.lab-one{grid-template-columns:1fr!important}
.bento.lab-one .tile{grid-column:1/-1!important;min-height:0}

/* news 2026 */
#proof{padding-top:clamp(40px,6vw,80px)}
#proof .press{margin-top:clamp(24px,4vw,40px)}

/* close: the app */
.close .apps{margin-top:0}
#more{padding-top:clamp(30px,4vw,60px)}
.team-stage .crew-orbit{margin-bottom:34px}

/* under the open lab: four logo buttons to the press (owner 26.11.2026) */
.lab-press{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}
.lab-press .lp{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;min-height:140px;padding:16px 12px 14px;border-radius:var(--r-2);background:#f6f1e7;border:1px solid var(--line);text-decoration:none;color:#3b3552;font-weight:700;font-size:var(--fs-small);text-align:center;transition:transform .2s,box-shadow .2s}
.lab-press .lp:hover{transform:translateY(-2px);box-shadow:0 12px 28px -16px color-mix(in srgb,var(--violet) 70%,transparent)}
.lab-press .lp-logo{display:flex;align-items:center;justify-content:center;height:68px;width:100%}
.lab-press .lp-logo img{height:68px;max-height:68px;max-width:92%;width:auto;object-fit:contain}
.lab-press .lp-logo img[src*="neurips"]{height:68px;transform:scale(1.2)}
@media (max-width:720px){.lab-press .lp-logo,.lab-press .lp-logo img{height:56px;max-height:56px}}
@media (max-width:720px){.lab-press{grid-template-columns:1fr 1fr}}
/* less empty space above the note on the models */
#app{padding-top:clamp(16px,3vw,36px)!important}
#app .crew{padding-top:clamp(22px,3vw,36px)!important}

/* two teams, right under the app (owner 26.11.2026, second look): USA and China, out of the panel */
.teams{display:flex;flex-direction:column;align-items:center;gap:clamp(36px,6vw,64px);margin:0 auto}
.team-one{width:100%;max-width:460px;text-align:center}
.team-k{margin:0 0 10px;color:var(--cyan);font-weight:800;letter-spacing:.14em;text-transform:uppercase;font-size:clamp(.95rem,1.4vw,1.1rem)}
.team-one .crew-orbit{margin:0 auto 30px}
.team-cap{margin:0 auto;color:var(--muted);font-size:var(--fs-lead);letter-spacing:-.01em}
.seat i.full{padding:0;overflow:hidden;background:#fff}
.seat i.full img{width:100%;height:100%;object-fit:cover}
/* the dashes run slower and from the AIs into the one AI in the middle */
.crew-lines line{animation:crewin 5s linear infinite!important}
@keyframes crewin{from{stroke-dashoffset:0}to{stroke-dashoffset:15}}
/* the laptop: all four AIs come at once, Claude bottom-left too (it used to wait for a later step and a .24s delay) */
.dev[data-s="3"] .w,.dev[data-s="4"] .w,.dev[data-s="5"] .w{opacity:1!important;transform:none!important;transition-delay:0s!important}
.dev .w{transition-delay:0s!important}
/* close: the two store badges in the middle of the card */
.close .appc .stores.two{justify-content:center}

/* third look (owner 26.11.2026): the hero says what the app gives, white, then the same lilac line smaller */
.hero h1 em.s.sub{font-size:.46em;line-height:1.2;letter-spacing:-.015em;max-width:24em;margin:14px auto 0}
@media (max-width:720px){.hero h1 em.s.sub{font-size:.6em}}
/* the press logos: small, neat, no captions */
.lab-press{display:flex!important;flex-wrap:wrap;justify-content:center;gap:10px!important;margin-top:16px}
.lab-press .lp{min-height:0!important;padding:8px 16px!important;border-radius:999px!important;flex:0 0 auto}
.lab-press .lp-logo{height:34px!important;width:auto!important}
.lab-press .lp-logo img{height:34px!important;max-height:34px!important;max-width:150px!important}
.lab-press .lp-logo img[src*="neurips"]{transform:scale(1.15)}
@media (max-width:720px){.lab-press .lp-logo,.lab-press .lp-logo img{height:30px!important;max-height:30px!important}}

/* fourth look (owner 26.11.2026) */
/* the ball sits lower, so the header never covers its top, big or small */
.viz{box-sizing:border-box;padding-top:28px;transition:height 1.4s cubic-bezier(.45,0,.2,1),min-height 1.4s cubic-bezier(.45,0,.2,1),padding-top 1.4s cubic-bezier(.45,0,.2,1)}
.viz iframe{height:100%}
/* «iPhone · Android»: no dot in front, closer to the word Poly */
.hero{padding-top:0!important}
.hero .kicker::before{display:none!important}
.hero .kicker{margin-top:-4px}
/* more air between the store badges and the first team; the long labels stay one calm line */
.teams{margin-top:clamp(64px,8vw,110px)}
.team-k{letter-spacing:.1em;line-height:1.4}
/* «Latest news» on the home: the About cards (poly-blocks.css) in the home colours */
#news{--text:var(--ink);--surf:var(--panel,rgb(255 255 255 / .03));--blue:#667eea;--purple:#764ba2;--pink:#f093fb;--teal:#4ecdc4;--orange:#ff9f43;padding-top:clamp(40px,6vw,80px)}
#news .h2{text-align:center;margin-bottom:clamp(24px,4vw,40px)}
#news .lc-card h3{letter-spacing:-.01em;line-height:1.3;color:var(--ink)}
#news .lc-chip{text-decoration:none}
#news .px-stampcard{margin:10px 0 0}
#news .px-stamp{display:inline-block;transform:rotate(-6deg);border:2px solid #f5c26b;color:#f5c26b;border-radius:8px;padding:2px 10px;font:italic 800 .85rem/1.4 Georgia,'Times New Roman',serif}
/* «Poly Helper» in the header: on a narrow phone everything still fits in one row */
@media (max-width:520px){
  .top .wrap{gap:6px;padding-left:12px;padding-right:12px}
  .top .brand{font-size:1.02rem;gap:6px;white-space:nowrap}
  .top .brand svg{width:26px;height:26px}
  .nav{gap:5px}
  .nav a.get{white-space:normal!important;text-align:center;line-height:1.1;max-width:132px;padding:6px 10px!important;font-size:.78rem!important}
  .langsel summary{padding:0 7px}
}
@media (max-width:380px){.top .brand svg{display:none}}
/* sixth look (owner 26.11.2026): the ball shrinks when you scroll; the small ball sits lower, clear of the header */
.viz.is-small{padding-top:110px;height:calc(26vh + 110px);min-height:280px}
@media (max-width:768px){.viz.is-small{height:calc(20vh + 110px);min-height:250px}}
/* «What changes for you», the /app/ block repeated above the path (owner 26.11.2026, sixth look) */
.app-res{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:clamp(28px,5vw,72px);align-items:center;margin:clamp(40px,6vw,80px) 0 0}
.app-res .h2{margin:0 0 clamp(20px,3vw,32px)}
.app-res-list{display:flex;flex-direction:column;gap:14px}
.app-res-list article{display:grid;grid-template-columns:48px 1fr;column-gap:16px;align-items:start;padding:18px 20px;border:1px solid var(--line);border-radius:var(--r-2);background:var(--panel)}
.app-res-list .ar-ic{grid-row:1/3;width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:color-mix(in srgb,var(--violet) 18%,transparent)}
.app-res-list .ar-ic svg{width:26px;height:26px;fill:none;stroke:var(--violet);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.app-res-list h3{font-size:var(--fs-title-s);letter-spacing:-.02em;margin:2px 0 6px}
.app-res-list p{margin:0;color:var(--muted);font-size:var(--fs-card)}
.app-res-shot{margin:0;justify-self:center;max-width:300px;width:100%}
.app-res-shot img{display:block;width:100%;height:auto;border-radius:28px;box-shadow:0 30px 70px -30px color-mix(in srgb,var(--violet) 70%,transparent)}
@media (max-width:860px){.app-res{grid-template-columns:1fr}.app-res-shot{max-width:240px}}

/* seventh look (owner 26.11.2026): more air; the three heroes on the path; the live phone (iceberg, water, Leo) */
#app{padding-bottom:clamp(64px,8vw,120px)}
.app-res{margin-top:clamp(72px,9vw,140px)}
.app-res .h2{margin-bottom:clamp(28px,4vw,44px)}
.app-res-list{gap:18px}
.app-res-list article{padding:22px 24px}
.path-box{margin-top:clamp(96px,11vw,170px)}
.path-box .crew-title{margin-top:10px}
.path-grid{margin-top:clamp(28px,4vw,48px)}
.timeline details{padding-top:6px;padding-bottom:6px}
.path-note{margin-top:clamp(24px,3vw,36px)}
section.contact{padding-top:clamp(72px,9vw,130px)}
.hero .stores{margin-bottom:clamp(12px,2vw,24px)}

/* the heroes: blink, breathe, now and then each does its move; the light runs from one to the next (phone → laptop → team) */
.trio{display:flex;align-items:flex-end;justify-content:center;gap:clamp(6px,2.4vw,26px);margin:clamp(36px,5vw,64px) auto clamp(8px,2vw,20px);max-width:760px}
.hero-live{position:relative;display:block;flex:none;width:clamp(86px,15vw,160px);aspect-ratio:320/600;cursor:pointer;transform-origin:50% 100%;-webkit-tap-highlight-color:transparent}
.hero-live img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:50% 100%}
.hero-live .hb{opacity:0}
.hero-live.eyes-shut .hb{opacity:1}   /* the blink frame lies over the open eyes; the base picture never hides, so a not-yet-loaded blink frame never blanks the hero */
.hero-live::after{content:"";position:absolute;left:18%;right:18%;bottom:-6px;height:10px;border-radius:50%;background:radial-gradient(closest-side,rgb(0 0 0 / .55),transparent);z-index:-1}
.hero-live.on{animation:hl-breathe 3.6s ease-in-out infinite}
.hero-live[data-hero=kenji].on{animation-delay:-1.2s}.hero-live[data-hero=poly].on{animation-delay:-2.4s}
.hero-live.act[data-act=hop]{animation:hl-hop .95s cubic-bezier(.3,.7,.3,1)}
.hero-live.act[data-act=sway]{animation:hl-sway 1.1s ease-in-out}
.hero-live.act[data-act=wave]{animation:hl-wave 1.1s ease-in-out}
@keyframes hl-breathe{50%{transform:translateY(-2px) scaleY(1.012)}}
@keyframes hl-hop{30%{transform:translateY(-12%) rotate(-3deg)}55%{transform:translateY(0) scaleY(.96)}75%{transform:translateY(-3%)}}
@keyframes hl-sway{25%{transform:rotate(4deg)}60%{transform:rotate(-3deg)}85%{transform:rotate(1deg)}}
@keyframes hl-wave{20%{transform:rotate(-5deg) translateY(-3%)}45%{transform:rotate(3deg)}70%{transform:rotate(-2deg) translateY(-2%)}}
.trio-link{position:relative;flex:1 1 40px;max-width:110px;height:2px;margin-bottom:32%;background:repeating-linear-gradient(90deg,color-mix(in srgb,var(--cyan) 55%,transparent) 0 6px,transparent 6px 12px)}
.trio-link i{position:absolute;top:50%;left:0;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:var(--cyan);box-shadow:0 0 14px 4px color-mix(in srgb,var(--cyan) 60%,transparent);opacity:0}
.trio-link.go i{animation:hl-run 1s ease-in-out forwards}
@keyframes hl-run{0%{left:0;opacity:0}15%{opacity:1}85%{opacity:1}100%{left:100%;opacity:0}}

/* the live phone: the app's iceberg and water, its two buttons, Leo */
.live-phone{position:relative;aspect-ratio:9/19.5;border-radius:38px;padding:10px;background:#0b0a10;border:2px solid #2c2838;box-shadow:0 30px 70px -30px color-mix(in srgb,var(--violet) 70%,transparent)}
.lp-screen{position:relative;width:100%;height:100%;border-radius:30px;overflow:hidden;background:#03111b}
.lp-poster,.lp-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.lp-video{opacity:0;transition:opacity .8s}
.lp-video.on{opacity:1}
.lp-btns{position:absolute;left:7%;right:7%;top:30%;display:flex;flex-direction:column;gap:12px}
.lp-btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;border-radius:14px;color:#f2f4f8;font-size:.82rem;font-weight:600;text-align:center;background:linear-gradient(rgb(255 255 255 / .16),rgb(40 46 58 / .72));border:1px solid rgb(232 200 140 / .55);box-shadow:inset 0 1px 0 rgb(255 255 255 / .25),0 8px 20px -10px #000;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.lp-btn i{font-style:normal;opacity:.8;margin-left:auto}
.lp-leo{position:absolute;left:50%;bottom:2%;width:42%;transform:translateX(-50%);transform-origin:50% 100%}
.lp-leo.on{animation:hl-breathe-c 3.6s ease-in-out infinite}
.lp-leo.act{animation:hl-bounce-c 1s cubic-bezier(.3,.7,.3,1)}   /* owner 26.11.2026: no side-to-side, a springy up-and-down only */
@keyframes hl-bounce-c{30%{transform:translateX(-50%) translateY(-6%)}55%{transform:translateX(-50%) translateY(0) scaleY(.97)}75%{transform:translateX(-50%) translateY(-2%)}}
@keyframes hl-breathe-c{50%{transform:translateX(-50%) translateY(-2px) scaleY(1.012)}}
@keyframes hl-wave-c{20%{transform:translateX(-50%) rotate(-5deg) translateY(-3%)}45%{transform:translateX(-50%) rotate(3deg)}70%{transform:translateX(-50%) rotate(-2deg)}}
.app-res-shot.live-phone img{border-radius:0;box-shadow:none}
@media (prefers-reduced-motion:reduce){.hero-live.on,.hero-live.act,.lp-leo.on,.lp-leo.act{animation:none}.lp-video{display:none}}
/* iPad and phones */
@media (max-width:1100px){.app-res{gap:40px}}
@media (max-width:860px){.app-res-shot.live-phone{max-width:280px}}
@media (max-width:520px){.trio-link{max-width:46px}.hero-live{width:clamp(78px,24vw,110px)}}
@media (max-width:520px){.app-res-shot.live-phone{max-width:230px}}

/* blinks and winks (owner 27.11.2026): a wink shows the blink frame over one eye only; each hero has its own eye boxes
   (measured from the difference of the open and the closed frame) */
.hero-live.wink-l .hb{opacity:1;clip-path:var(--eye-l)}
.hero-live.wink-r .hb{opacity:1;clip-path:var(--eye-r)}
.hero-live[data-hero=amara]{--eye-l:inset(19% 56% 72% 26%);--eye-r:inset(19% 36% 72% 48%)}
.hero-live[data-hero=kenji]{--eye-l:inset(16% 64% 75% 20%);--eye-r:inset(16% 42% 75% 41%)}
.hero-live[data-hero=poly]{--eye-l:inset(20% 59% 66% 18%);--eye-r:inset(20% 36% 66% 42%)}
.lp-leo{--eye-l:inset(14% 63.5% 72% 20%);--eye-r:inset(14% 48% 72% 36.5%)}

/* 27.11.2026 night (owner): the phone that turns into a laptop stands right under the store badges, above «What changes
   for you», with no AI badges around it; the same air as between the other blocks */
.dev-top{margin:clamp(72px,9vw,140px) auto 0;display:flex;justify-content:center}
.dev-top .dev-wrap{position:relative;top:0;height:360px;width:100%;max-width:520px}
.path-grid{grid-template-columns:minmax(0,1fr)!important}
.path-grid .timeline{max-width:820px}
@media (max-width:980px){.dev-top .dev-wrap{height:300px}}

/* Leo (owner 27.11.2026): only centred moves, never the path heroes' shared ones; he waves his left hand: the hand is its
   own layer cut from the same picture and turns at the wrist, while Leo himself stays on his spot */
.hero-live.lp-leo.on{animation:hl-breathe-c 3.6s ease-in-out infinite}
.hero-live.lp-leo.act{animation:hl-bounce-c 1s cubic-bezier(.3,.7,.3,1)}
.lp-leo{--no-hand:polygon(0 0,100% 0,100% 29.5%,72.5% 29.5%,72.5% 37%,76.5% 40.5%,82% 41.8%,100% 40.2%,100% 100%,0 100%);
  --hand:polygon(72.5% 29.5%,100% 29.5%,100% 40.2%,82% 41.8%,76.5% 40.5%,72.5% 37%)}
.lp-leo > img:first-child{clip-path:var(--no-hand)}
.lp-leo:not(.wink-l):not(.wink-r) .hb{clip-path:var(--no-hand)}   /* the class for a blink is eyes-shut: the page's old «.blink img+img» rule must never reach these pictures */
.lp-leo .lp-hand{clip-path:var(--hand);transform-origin:77.5% 40%}
.lp-leo.wave .lp-hand{animation:leo-wave 1.5s ease-in-out}
@keyframes leo-wave{0%,100%{transform:rotate(0)}18%{transform:rotate(-30deg)}38%{transform:rotate(8deg)}58%{transform:rotate(-26deg)}78%{transform:rotate(6deg)}}
@media (prefers-reduced-motion:reduce){.lp-leo.wave .lp-hand{animation:none}}

/* 27.11.2026 ~02:00 (owner): a little less air above and below the phone-to-laptop block */
.dev-top{margin-top:clamp(36px,5vw,64px)}
.dev-top ~ .app-res,.dev-top + .app-res{margin-top:clamp(28px,4vw,56px)}
.dev-top .dev-wrap{height:280px}
@media (max-width:980px){.dev-top .dev-wrap{height:280px}}
/* the wordmark in the narrow header */
@media (max-width:520px){.top .brand .wordmark{font-size:.92rem;letter-spacing:.01em}}
@media (max-width:380px){.top .brand .wordmark{font-size:.82rem}}
@media (max-width:520px){.top .brand .wordmark{font-size:.86rem}}
.dev-top{margin-top:clamp(4px,1.5vw,20px)!important}
.dev-top ~ .app-res{margin-top:clamp(16px,3vw,40px)!important}
