/* "screen" hero preview */
.hero.screen-hero{position:relative;overflow:hidden;margin:8px -8px 0;border-radius:28px;background:radial-gradient(70% 60% at 82% 18%,rgba(31,66,184,.16) 0%,rgba(0,0,0,0) 70%),#050608;border:0;box-shadow:0 30px 60px -34px rgba(0,0,0,.6);padding-block:clamp(72px,9vw,128px)}
.screen-hero .stage,#stage{display:none!important}
.screen-hero .hero-grid{grid-template-columns:1fr!important;grid-template-areas:none!important;position:relative;z-index:1}
.screen-hero .hero-copy{display:grid!important;max-width:720px}
.screen-hero .hero-copy>*{order:0!important;grid-area:auto!important}
.screen-hero h1{color:#FFFFFF}
.screen-hero h1 .blue{color:#A8BCFF;text-shadow:0 0 2px rgba(190,205,255,.45),0 0 10px rgba(110,144,255,.38),0 0 28px rgba(61,107,255,.28),0 0 60px rgba(61,107,255,.15)}
.screen-hero .lead{color:rgba(255,255,255,.78)!important;max-width:46ch}
.screen-hero .promise,.screen-hero .promise b{color:#FFFFFF}
.screen-hero .promise svg{color:#7F9DFF!important}
.screen-hero .btn-primary{background:#3D6BFF;color:#fff;box-shadow:0 10px 30px -10px rgba(61,107,255,.8)}
.screen-hero .btn-primary:hover{background:#5580FF}
.screen-hero .btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.35)}
.screen-hero .btn-ghost:hover{border-color:#fff}
.hero-circuit{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;
  -webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.18) 0%,rgba(0,0,0,.25) 38%,#000 70%);mask-image:linear-gradient(90deg,rgba(0,0,0,.18) 0%,rgba(0,0,0,.25) 38%,#000 70%)}
.hero-circuit .tr{fill:none;stroke:#3D6AFF;stroke-opacity:.32;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.hero-circuit .pad{fill:#050608;stroke:#3D6AFF;stroke-opacity:.6;stroke-width:1.4}
.hero-circuit .via{fill:#3D6AFF;fill-opacity:.5}
.hero-circuit .pulse{fill:none;stroke:#9DB4FF;stroke-width:2;stroke-linecap:round;stroke-dasharray:22 900;filter:drop-shadow(0 0 4px #3D6AFF);animation:hflow 4s linear infinite}
@keyframes hflow{from{stroke-dashoffset:922}to{stroke-dashoffset:0}}
@media (max-width:600px){
  .hero.screen-hero{margin:4px -12px 0;border-radius:22px;padding:40px 22px 36px}
  .hero-circuit{-webkit-mask-image:linear-gradient(180deg,#000 0%,rgba(0,0,0,.35) 30%,rgba(0,0,0,.2) 70%,#000 100%);mask-image:linear-gradient(180deg,#000 0%,rgba(0,0,0,.35) 30%,rgba(0,0,0,.2) 70%,#000 100%)}
  .screen-hero .hero-copy .cta .btn-ghost{display:none}
}
@media (max-width:600px){.screen-hero .hero-copy{gap:0}}
/* hero with a real example site */
.screen-hero .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)!important;gap:48px!important;align-items:center}
.hero-shot{position:relative;z-index:1;perspective:1600px}
.hero-shot .win{border-radius:14px;overflow:hidden;background:#111;border:1px solid rgba(255,255,255,.12);box-shadow:0 0 0 1px rgba(61,107,255,.15),0 30px 80px -20px rgba(0,0,0,.8),0 0 70px -10px rgba(61,107,255,.35);transform:rotateY(-9deg) rotateX(3deg);transform-origin:left center}
.win-bar{display:flex;align-items:center;gap:6px;padding:10px 12px;background:#17191F;border-bottom:1px solid rgba(255,255,255,.08)}
.win-bar i{width:9px;height:9px;border-radius:50%;background:#3A3F4A}
.win-bar span{margin-left:10px;flex:1;max-width:260px;font:500 11px/1 system-ui,sans-serif;color:rgba(255,255,255,.55);background:#0C0D11;border-radius:999px;padding:6px 12px}
.hero-shot img{display:block;width:100%;height:auto}
.shot-cap{margin:14px 0 0;font-size:.8rem;color:rgba(255,255,255,.5);text-align:center}
@media (max-width:980px){
  .screen-hero .hero-grid{grid-template-columns:1fr!important;gap:30px!important}
  .hero-shot .win{transform:none}
}

.win-view{position:relative;aspect-ratio:1160/820;overflow:hidden;background:#0C0D11}
.slide{position:absolute;inset:0;opacity:0;transition:opacity .9s ease}
.slide.on{opacity:1}
.slide video{width:100%;height:100%;object-fit:cover;object-position:top center;display:block}
.pan{position:absolute;left:0;top:0;width:100%}
.pan img{display:block;width:100%;height:auto}
.pan.go{animation:pan 13s cubic-bezier(.45,0,.35,1) forwards}
@keyframes pan{0%,14%{transform:translateY(0)}88%,100%{transform:translateY(-71.5%)}}
.win-bar .win-url{transition:opacity .4s}
.win-dots{margin-left:auto;display:flex;gap:6px}
.win-dots u{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.22);cursor:pointer;text-decoration:none;transition:background .3s,width .3s}
.win-dots u.on{background:#7F9DFF;width:18px;border-radius:999px}
@media (prefers-reduced-motion:reduce){.pan.go{animation:none}}
.slide img.still{width:100%;height:100%;object-fit:cover;object-position:top center;display:block}
@media (max-width:600px){
  /* order: headline, intro, screen, button, guarantee */
  .screen-hero .hero-grid{display:flex!important;flex-direction:column}
  .screen-hero .hero-copy{display:contents!important}
  .screen-hero .hero-copy h1{order:1!important}
  .screen-hero .hero-copy .lead{order:2!important}
  .screen-hero .hero-shot{order:3;margin-top:24px}
  .screen-hero .hero-copy .cta{order:4!important;margin-top:24px}
  .screen-hero .hero-copy .promise{order:5!important;margin-top:16px}
}
@media (max-width:600px){
  .screen-hero .hero-grid{gap:0!important}
  .screen-hero .hero-shot{width:100%;margin-top:26px}
  .screen-hero .hero-copy .cta{margin-top:28px}
}
@media (min-width:1360px){.screen-hero .hero-shot{transform:translateX(4%)}}
@media (min-width:1600px){.screen-hero .hero-shot{transform:translateX(7%)}}

/* phone in front of the browser window */
.hero-shot{position:relative}
.phone{position:absolute;left:-13%;bottom:-14%;width:23%;border-radius:28px;background:#0B0C10;padding:6px;box-shadow:0 0 0 1.5px #2C303A,0 30px 60px -15px rgba(0,0,0,.85),0 0 50px -10px rgba(61,106,255,.35);z-index:3;transition:opacity .6s ease,transform .6s ease}
.phone.off{opacity:0;transform:translateY(12px)}
.phone-screen{position:relative;border-radius:22px;overflow:hidden;background:#000;padding:15% 0 0}
.phone-view{position:relative;aspect-ratio:390/845;overflow:hidden}
.phone-view .pv{position:absolute;inset:0;opacity:0;transition:opacity .9s ease;background:#1a1214}
.phone-view .pv.on{opacity:1}
.phone-view .pv img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.phone-view .pv video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:56% 50%}
.phone .notch{position:absolute;top:4.2%;left:50%;width:34%;aspect-ratio:3.2/1;transform:translate(-50%,-50%);border-radius:999px;background:#000;box-shadow:0 0 0 1px #1E2128}
@media (max-width:980px){
  .screen-hero .hero-shot .win{display:none}
  .phone{position:relative;left:auto;bottom:auto;width:66%;max-width:280px;margin:0 auto;border-radius:40px;padding:9px}
  .phone-screen{border-radius:32px}
  .phone.off{opacity:1;transform:none}
}

/* desktop: break the intro after "fast," */
@media (min-width:981px){.screen-hero .lead{max-width:26em}}
