/* v414: the sign-in page hero. A screen recording of Vitalis plays under the logo; "Built for …" changes with what
   is on screen; a 5-star review moment; a "60-second tour" player with chapters. The sign-in box is unchanged. */
#pcare-login-left>div:nth-child(2){order:-5}
#pcare-login-left>.hv{order:-4}
#pcare-login-left>.hv-row{order:-3}
#pcare-login-left>div:nth-child(3),#pcare-login-left>#pcare-hero-desc,#pcare-login-left>.m-shots{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:0!important}
#pcare-login-left{justify-content:flex-start;padding-top:2.2rem}
#pcare-login-left>div:nth-child(2){margin-bottom:1.1rem!important}
.hv{position:relative;margin:0 -3.5rem 0;border-radius:0;overflow:hidden;background:#0A1630}
.hv video{display:block;width:100%;aspect-ratio:16/10;max-height:calc(100vh - 210px);object-fit:contain;object-position:center top;background:#0A1630}
.hv-copy{position:absolute;left:3.5rem;right:2rem;bottom:1rem;color:#fff;pointer-events:none;transition:opacity .8s}
.hv-h{font:800 clamp(26px,3.1vw,46px)/1.04 "Sora",system-ui,sans-serif;letter-spacing:-.03em;margin:0;text-shadow:0 0 3px rgba(4,10,24,.85),0 2px 18px rgba(4,10,24,.8),0 0 40px rgba(4,10,24,.55);transition:color .35s,text-shadow .35s}
.hv-rot{display:inline-grid;vertical-align:bottom}
.hv-rot>span{grid-area:1/1;white-space:nowrap;opacity:0;transform:translateY(-.35em);transition:opacity .22s,transform .22s;color:#9CC3FF}
.hv-rot>span.on{opacity:1;transform:none;transition:opacity .45s .2s,transform .45s .2s}
.hv-line{display:block;width:min(420px,70%);height:3px;border-radius:3px;background:#5EE0B5;margin-top:8px}
.hv-sub{font:600 clamp(14px,1.25vw,18px)/1.35 "Sora",system-ui,sans-serif;color:#5EE0B5;margin:8px 0 0;min-height:1.35em;opacity:0;text-shadow:0 0 3px rgba(4,10,24,.9),0 1px 12px rgba(4,10,24,.85);transition:opacity .6s,color .35s}
.hv-sub.on{opacity:1}
.hv.lt .hv-h{color:#0A1630;text-shadow:0 0 3px #fff,0 0 14px rgba(255,255,255,.98),0 0 36px rgba(255,255,255,.9)}
.hv.lt .hv-rot>span{color:#1D4ED8}
.hv.lt .hv-sub{color:#065F46;text-shadow:0 0 3px #fff,0 0 12px rgba(255,255,255,.98),0 0 26px rgba(255,255,255,.9)}
.hv.lt .hv-line{background:#047857}
.hv.endc .hv-copy{opacity:0}
.hv-row{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center;margin:1rem 0 1.2rem}
.hv-row .price-btn{margin:0!important}
.hv-tourbtn{display:inline-flex;align-items:center;gap:.6rem;border:0;background:#fff;color:#0A1630;border-radius:999px;padding:.35rem 1.1rem .35rem .35rem;font:800 .92rem inherit;font-family:inherit;cursor:pointer;box-shadow:0 2px 0 rgba(15,23,42,.06),0 8px 20px rgba(0,0,0,.3)}
.hv-tourbtn i{width:30px;height:30px;border-radius:50%;background:#1D6FD8;color:#fff;display:grid;place-items:center;font-style:normal;font-size:.75rem;padding-left:2px}
/* the 5-star review moment */
/* the tour player (also plays the 30-second video, narrower: it is upright) */
.hv-tour.pr .hv-tbox{width:min(460px,100%)}.hv-tour.pr .hv-tch{display:none}.hv-tour.prw .hv-tch{display:none}.hv-tour.pr .hv-tv video{max-height:78vh;width:auto;max-width:100%}
.hv-tour{position:fixed;inset:0;z-index:9990;background:rgba(4,10,24,.86);backdrop-filter:blur(8px);display:grid;place-items:center;padding:24px}
.hv-tour[hidden]{display:none!important}
.hv-tbox{width:min(1100px,100%);background:#0A1630;border:1px solid rgba(255,255,255,.12);border-radius:20px;overflow:hidden;color:#fff;box-shadow:0 40px 100px -30px rgba(0,0,0,.9)}
.hv-thead{display:flex;gap:12px;align-items:baseline;padding:14px 16px}.hv-thead b{font:700 17px system-ui}.hv-thead span{color:rgba(255,255,255,.6);font-size:13px}
.hv-tx{margin-left:auto;width:36px;height:36px;min-height:0;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:none;color:#fff;cursor:pointer;padding:0}
.hv-tv{position:relative;background:#000}.hv-tv video{display:block;width:100%;max-height:70vh;margin:0 auto}
.hv-tcap{position:absolute;left:14px;top:14px;background:rgba(10,22,48,.85);color:#fff;font:700 14px system-ui;border-radius:10px;padding:6px 12px;pointer-events:none}
.hv-tch{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid rgba(255,255,255,.08)}
.hv-tch button{border:0;border-right:1px solid rgba(255,255,255,.06);background:none;color:rgba(255,255,255,.6);text-align:left;padding:10px 12px 12px;cursor:pointer;position:relative;display:grid;gap:2px;min-height:0;border-radius:0}
.hv-tch button:last-child{border-right:0}.hv-tch small{font:700 10.5px ui-monospace,monospace}.hv-tch b{font:700 13px system-ui;color:#fff}
.hv-tch i{position:absolute;left:0;top:0;height:3px;width:0;background:#5EE0B5}.hv-tch button.on{background:rgba(94,224,181,.08);color:#5EE0B5}
/* phones: the video in a phone frame at the top, words below it */
@media (max-width:768px){
  #pcare-login-left{padding-top:1rem}
  #pcare-login-left>.m-hero-cta{order:-2;margin-bottom:.6rem}
  .hv{margin:0;background:none;overflow:visible}
  .hv video{--vh:min(62svh,calc(100svh - 330px));width:min(92vw,calc(var(--vh) * .78));height:max(220px,var(--vh));max-height:none;aspect-ratio:auto;object-fit:cover;object-position:center top;margin:0 auto;border:6px solid #1E293B;border-radius:26px;background:#fff;box-shadow:0 20px 40px -12px rgba(0,0,0,.7)}
  .hv-copy{position:static;margin-top:.6rem}
  .hv-line{margin-top:5px}
  .hv-sub{margin-top:5px}
  .hv-h{font-size:clamp(26px,7.6vw,34px)}
  .hv-rot>span{white-space:normal}
  .hv-sub{min-height:2.7em;font-size:14.5px}
  .hv.endc .hv-copy{opacity:1}.hv.endc .hv-h,.hv.endc .hv-sub{opacity:0}
    .hv-tour{padding:0}.hv-tbox{border-radius:0;height:100%;display:flex;flex-direction:column}.hv-tv{flex:1;display:grid;place-items:center}.hv-tv video{max-height:calc(100svh - 170px);width:auto;max-width:100%}
  .hv-tch{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:38%;overflow-x:auto}
}
@media (max-width:768px){ #pcare-login-left>.m-hero-cta{flex-direction:row;flex-wrap:wrap} #pcare-login-left>.m-hero-cta>button{flex:1 1 40%;min-height:48px} #pcare-login-left>.m-hero-cta .m-cta-note{flex:1 0 100%} }
/* v416 (later): one header above everything (shared/site-header.css). The film covers the whole left panel; the old logo row,
   module buttons, feature list, price button and badges move into the header menus (kept in the page, out of sight, for search). */
#pcare-login-left>*:not(.hv):not(.hv-tag):not(.m-hero-cta):not(svg){position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;margin:0!important;padding:0!important;border:0!important}
#pcare-login-right{scroll-margin-top:70px}
@media (min-width:769px){
  #pcare-login-left,html.vt-compact #pcare-login-left{padding:0!important;justify-content:flex-start}
  #pcare-login-left{flex:0 0 auto!important;width:calc(100% - clamp(400px,38vw,560px))}
  #pcare-login-left>.m-hero-cta{display:none!important}
  /* the film stays on screen while the sign-in side scrolls, inside a thin dark-blue frame. v431: 100dvh = the height the browser
     really shows (tablets: 100vh counts the space under the address bar, which hid "Built for" at the bottom) */
  #pcare-login-left{position:fixed!important;top:0;left:0;height:100vh;height:100dvh;min-height:0!important;background:#0A1630!important;z-index:1}
  #pcare-login-right{margin-left:calc(100% - clamp(400px,38vw,560px))}
  #pcare-login-left::before,#pcare-login-left::after{display:none}
  .hv{position:absolute;inset:76px 10px 10px 10px;margin:0;border-radius:18px;box-shadow:0 0 0 1px rgba(255,255,255,.08),0 20px 50px -20px rgba(0,0,0,.8)}
  .hv video{position:absolute;inset:0;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;background:#071330}
  .hv-copy{left:auto;right:2.2rem;bottom:1.8rem;text-align:right;max-width:min(680px,90%)}
  /* the word ends exactly under "Built for" whatever its length (the hidden words do not widen the block) */
  .hv-rot{display:block;position:relative}.hv-rot>span{position:absolute;right:0;top:0;white-space:nowrap}.hv-rot>span.on{position:relative}.hv-line{margin-left:auto}
  #pcare-login-right{padding-top:calc(66px + 1.25rem)!important}
}
@media (min-width:769px) and (max-height:600px){.hv-h{font-size:clamp(20px,2.6vw,30px)}.hv-sub{display:none}.hv-copy{bottom:1rem;right:1.4rem}}
@media (max-width:768px){
  #pcare-login-left{padding-top:calc(60px + .8rem)!important}
}
/* tablets held upright: the film across the full width on top, the sign-in box below it */
@media (min-width:769px) and (orientation:portrait){
  #cloudAuthView{flex-direction:column!important}
  #pcare-login-left{width:100%!important;position:relative!important;height:62vh!important;min-height:0!important;flex:none!important}
  #pcare-login-right{min-height:auto!important;padding-top:2rem!important;align-items:flex-start!important;margin-left:0!important}
}
/* v420 (owner, 12/11/2026): phones: the film fills the screen under the header inside a thin dark frame; Start free and Sign in sit
   at the bottom inside it; "Built for …" rises in for 3 seconds on each specialty shot (the promo part has its own headings). */
@media (max-width:768px){
  #pcare-login-left{position:relative!important;height:100svh;min-height:0!important;padding:0!important;background:#0A1630!important;overflow:hidden}
  #pcare-login-left::before,#pcare-login-left::after{display:none}
  .hv{position:absolute;top:calc(env(safe-area-inset-top,0px) + 70px);left:10px;right:10px;bottom:10px;margin:0;border-radius:16px;overflow:hidden;background:#071330;box-shadow:0 0 0 1px rgba(255,255,255,.12),0 20px 50px -20px rgba(0,0,0,.8)}
  .hv video{position:absolute;inset:0;width:100%!important;height:100%!important;max-height:none;margin:0;border:0;border-radius:0;box-shadow:none;object-fit:cover;object-position:center top;background:#071330}
  .hv::after{content:"";position:absolute;left:0;right:0;bottom:0;height:44%;background:linear-gradient(180deg,rgba(6,16,41,0) 0%,rgba(6,16,41,.72) 34%,rgba(6,16,41,.95) 62%,rgba(6,16,41,.98) 100%);opacity:.45;transition:opacity .6s ease;pointer-events:none;z-index:1}
  .hv.wshow::after{opacity:1}
  .hv-copy{position:absolute;left:14px;right:14px;bottom:162px;margin:0;z-index:2;opacity:1!important}   /* v431: clear of the demo button and Start free / Sign in */
  .hv-h,.hv-line{opacity:0;transform:translateY(16px);filter:blur(6px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.9,.3,1.2),filter .6s}
  .hv.wshow .hv-h,.hv.wshow .hv-line{opacity:1!important;transform:none;filter:none}
  .hv-h{font-size:clamp(28px,8.4vw,36px);text-shadow:none}
  .hv-rot>span{background:linear-gradient(90deg,#5EE0B5,#9CC3FF,#fff,#9CC3FF,#5EE0B5);background-size:300% 100%;-webkit-background-clip:text;background-clip:text;color:transparent!important;animation:hvshm 3.2s linear infinite}
  .hv-sub{display:none!important}
  #pcare-login-left>.m-hero-cta{position:absolute!important;left:24px;right:24px;bottom:24px;margin:0!important;z-index:3;display:grid!important;grid-template-columns:1fr 1fr;gap:10px}
  #pcare-login-left>.m-hero-cta>button{min-width:0;width:100%;white-space:nowrap;font-size:15px;box-shadow:0 10px 24px -10px rgba(0,0,0,.7)}
  #pcare-login-left>.m-hero-cta .m-cta-secondary{background:rgba(8,18,40,.72)!important;color:#fff!important;border-color:rgba(255,255,255,.55)!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
  #pcare-login-left>.m-hero-cta .m-cta-note{display:none}
}
@keyframes hvshm{to{background-position:300% 0}}
@media (prefers-reduced-motion:reduce){.hv-rot>span{animation:none}}
/* v422: computers: a soft dark glow behind "Built for" so it reads on bright frames too */
@media (min-width:769px){.hv-copy::before{content:"";position:absolute;inset:-28px -40px -24px -60px;z-index:-1;background:radial-gradient(closest-side,rgba(6,16,41,.62),rgba(6,16,41,0));pointer-events:none}.hv.lt .hv-copy::before{background:radial-gradient(closest-side,rgba(255,255,255,.7),rgba(255,255,255,0))}}
/* v422: phones: the demo button above Start free / Sign in inside the film */
@media (max-width:768px){#pcare-login-left>.m-hero-cta .m-cta-demo{grid-column:1/-1}}

/* v436 (owner): the headline sits in a band above the film (the film has its own captions top-left) */
.hv-tag{position:absolute;z-index:3;margin:0;color:#fff;font-weight:800;letter-spacing:-.2px;line-height:1.2;pointer-events:none}
.hv-tag span{color:#7CF0C8}
@media (min-width:769px){
  .hv-tag{top:76px;left:18px;right:18px;height:48px;display:flex;align-items:center;gap:.4em;flex-wrap:wrap;font-size:clamp(17px,1.7vw,24px)}
  .hv{top:128px!important}
}
@media (min-width:769px) and (max-height:600px){.hv-tag{height:40px;font-size:16px}.hv{top:118px!important}}
@media (max-width:768px){
  .hv-tag{top:calc(env(safe-area-inset-top,0px) + 68px);left:16px;right:16px;font-size:16px;text-align:left}
  .hv-tag b,.hv-tag span{display:block}
  .hv{top:calc(env(safe-area-inset-top,0px) + 116px)!important}
}
