/* AJAW v10-p7 hero: slim white field flush with the button, readable copy, rotating headline, SDR vs AJAW stats. */

/* ---- rotating headline: slides share one grid cell, so the tallest one reserves the height (no reflow) ---- */
#pst-hero h1.p7-h1{display:grid;justify-items:stretch;align-items:end}
@media (max-width:767px){#pst-hero h1.p7-h1{align-items:start}}
#pst-hero h1.p7-h1 .p7-l{grid-area:1/1;display:block;max-width:100%;text-align:inherit;text-wrap:balance;opacity:0;transform:translateY(.28em);visibility:hidden;
  transition:opacity .6s cubic-bezier(.2,.7,.2,1),transform .6s cubic-bezier(.2,.7,.2,1),visibility 0s .6s}
#pst-hero h1.p7-h1 .p7-l.is-on{opacity:1;transform:none;visibility:visible;transition-delay:0s}
#pst-hero h1.p7-h1 .p7-l.is-out{opacity:0;transform:translateY(-.28em);visibility:visible;transition-delay:0s,0s,.6s}
#pst-hero h1.p7-h1 .p7-l.p7-nt{transition:none}
#pst-hero h1.p7-h1 .p7-b{display:block}
@media (prefers-reduced-motion:reduce){#pst-hero h1.p7-h1 .p7-l{transition:none}}

/* ---- paragraph: dark backing for AA contrast ---- */
#pst-hero .pst__sub{display:block;width:fit-content;max-width:min(34em,100%);padding:10px 18px;border-radius:10px;
  background:rgba(0,0,0,.58);color:#fff;text-shadow:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}

/* ---- form: one 48px bar, white field + purple button flush ---- */
#pst-hero .pst__form{display:flex;align-items:stretch;gap:0;width:min(560px,100%);height:48px;padding:0;border:0;border-radius:10px;overflow:hidden;
  background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 0 0 1px rgba(255,255,255,.4),0 18px 40px -18px rgba(0,0,0,.85)}
#pst-hero .pst__form:focus-within{box-shadow:0 0 0 3px rgba(137,130,255,.75),0 18px 40px -18px rgba(0,0,0,.85)}
#pst-hero .pst__form input{flex:1 1 auto;min-width:0;height:48px;padding:0 16px;border:0;border-radius:0;background:#fff;color:#12112b;
  font:500 16px/48px var(--font-body,Inter,sans-serif);text-align:left;text-shadow:none}
#pst-hero .pst__form input::placeholder{color:#5a5970;opacity:1}
#pst-hero .pst__form .pst__btn{flex:none;width:auto;height:48px;padding:0 22px;border-radius:0;gap:8px}
#pst-hero .pst__form .pst__btn:hover{transform:none;box-shadow:none}
#pst-hero .pst__form .pst__btn:focus-visible{outline:3px solid #fff;outline-offset:-4px}
#pst-hero .pst__form .pst__btnt{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:nowrap}

/* ---- supporting line ---- */
#pst-hero .pst__finecta,#pst-hero .pst__dot{display:none!important}
#pst-hero .pst__fine{margin:12px 0 0;font:600 14.5px/1.4 var(--font-body,Inter,sans-serif);color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.9),0 0 18px rgba(0,0,0,.8)}

/* ---- bottom-left comparison: no hairline, readable on the photo ---- */
#pst-hero .p3__proof{border-top:0;padding-top:0}
#pst-hero .p3__proof::before{content:"";position:absolute;left:-40px;right:-40px;bottom:-40px;top:-60px;z-index:-1;pointer-events:none;
  background:linear-gradient(0deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.5) 55%,rgba(0,0,0,0) 100%)}
#pst-hero .p3__nums{--g:clamp(34px,4.6vw,76px);gap:var(--g);align-items:flex-end}
#pst-hero .p3__nums>div{position:relative;gap:5px}
#pst-hero .p3__nums>div:nth-child(2)::before{content:attr(data-vs);position:absolute;left:calc(var(--g) / -2);top:50%;transform:translate(-50%,-50%);
  font:600 12px/1 var(--font-body,Inter,sans-serif);letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.7)}
#pst-hero .p3__nums dt{color:rgba(255,255,255,.88);max-width:none;white-space:nowrap}
#pst-hero .p3__src{color:rgba(255,255,255,.82);font-size:12.5px;line-height:1.35;text-shadow:0 1px 8px rgba(0,0,0,.8)}
#pst-hero .p3__nums dd small{color:rgba(255,255,255,.85)}
#pst-hero .p3__nums>div:nth-child(3){display:none}
@media (max-width:767px){#pst-hero .pst__sub{margin-left:auto;margin-right:auto}}
@media (min-width:768px){#pst-hero .pst__sub{margin:0}}
@media (max-width:420px){
  #pst-hero .pst__form input{padding:0 10px 0 14px;font-size:15px}
  #pst-hero .pst__form .pst__btn{padding:0 12px;font-size:14px}
  #pst-hero .pst__form input::placeholder{font-size:14px}
  #pst-hero .pst__form .pst__btn svg{display:none}
  #pst-hero .pst__sub{padding:9px 14px}
}
/* narrow desktop / tablet: the form column is ~330px, give the field the room */
@media (min-width:768px) and (max-width:1180px){
  #pst-hero .pst__form .pst__btn{padding:0 12px;font-size:15px}
  #pst-hero .pst__form .pst__btn svg{display:none}
}
/* short laptop screens: keep the headline above the laptop */
@media (min-width:768px) and (max-height:720px){
  #pst-hero .pst__hero h1,#pst-hero h1.p7-h1{font-size:clamp(40px,5.2vw,72px)}
}
/* headline never grows into the laptop: font follows viewport height as well as width */
@media (min-width:768px){
  #pst-hero .pst__hero h1,#pst-hero h1.p7-h1{font-size:clamp(40px,min(6.6vw,9.4vh),108px)}
}
@media (min-width:768px) and (max-height:720px){
  #pst-hero .pst__hero h1,#pst-hero h1.p7-h1{font-size:clamp(40px,min(5.2vw,9.4vh),72px)}
}
/* p7 hero12: longer scrub so every beat (prop flight, orbit, burst, landing) gets real scroll distance; Poly-like pacing */
.pst{height:720vh}
@media (max-width:767px){.pst{height:500vh}}
/* compositor-only layers for the things that move every frame */
.pst__live,.pst__cap,.pst__hero,.p6cash,.pst__scrim{will-change:transform,opacity}
/* hero12: the laptop fills the middle of the frame during the orbit and the burst, so those two captions sit in the free band at the bottom-left */
@media (min-width:768px){
  .pst__cap[data-k="calls"],.pst__cap[data-k="money"]{top:auto;bottom:clamp(24px,5vh,56px);padding-top:0;font-size:clamp(28px,3.4vw,50px);max-width:12em}
}
/* hero12: real-time 3D props layer (zero-g beat) above the live screen and the cash; the laptop "has powers": soft purple spill around the screen */
.p7float{position:absolute;left:0;top:0;pointer-events:none;opacity:0;transition:opacity .2s;will-change:opacity}
#pst-live{box-shadow:0 0 70px 12px rgba(137,130,255,.22)}
.foot__credits{display:block;width:100%;font-size:11px;line-height:1.5;color:inherit;opacity:.7}
