/* HOOMA phone showcase (v34): screenshot-native phone frame, copy+phone rows, multi-screen carousel.
   Reuses the site's .ph/.sc frame (bezel, notch, shadow). Only the screen height follows the screenshot's own ratio,
   so a screenshot is never stretched or cropped. Light theme only (the site has no dark theme). No external resources. */
.ph.ph-s{--w:300px;--ar:2.1653;--r:calc((var(--pw) - 20px)*.124);height:calc((var(--pw) - 20px)*var(--ar) + 20px);border-radius:calc(var(--r) + 10px)}
.ph-s .sc{border-radius:var(--r);background:#e2f0ea;overflow:hidden}
.ph-s .sc>picture,.ph-s .phc-slide>picture{display:block;width:100%;height:100%}
.ph-s .sc img{display:block;width:100%;height:100%;object-fit:fill}

/* row: copy beside phone; .flip puts the phone on the other side (sections alternate) */
.phs-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(28px,5vw,84px);align-items:center}
.phs-row.flip{direction:ltr}
.phs-row.flip>*{direction:rtl}
.phs-copy{min-width:0;max-width:34em}
.phs-copy h2{margin:0 0 14px}
.phs-copy p{margin:0}
.phs-copy .phs-more{margin-top:18px}
.phs-copy .sec-h{margin-bottom:0}
.phs-stage{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;gap:16px;min-width:0;width:fit-content;max-width:100%;margin-inline:auto}
.phs-stage::before{content:"";position:absolute;z-index:-1;inset:3% -10% 7%;border-radius:50%;background:radial-gradient(closest-side,#1b5e4f26,#1b5e4f00)}
.phs-stage::after{content:"";position:absolute;z-index:-1;inset:9% -4% 13%;border-radius:50%;border:1.5px dashed #1b5e4f2b}
.phs-stage .ph{box-shadow:inset 0 1px 0 #ffffff40,0 0 0 1.5px #0c1310,0 22px 36px -22px #0b2a2288,0 38px 56px -38px #0b2a2260}
.phs-cap{margin:0;width:0;min-width:100%;text-align:center}
.sec:has(.phs-stage){overflow-x:clip}
.phs-after{margin-top:48px}
.phs-row.phs-narrow{max-width:880px;margin-inline:auto}

/* carousel: swipe with scroll-snap; dots mirror position */
.phc-track{display:flex;width:100%;height:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.phc-track::-webkit-scrollbar{display:none}
.phc-track:focus-visible{outline:3px solid var(--green2);outline-offset:-3px}
.phc-slide{flex:0 0 100%;width:100%;height:100%;scroll-snap-align:start;scroll-snap-stop:always}
.phc-dots{display:flex;gap:4px;justify-content:center}
html:not(.js) .phc-dots{display:none}
.phc-dots button{width:28px;height:28px;padding:0;border:0;background:transparent;cursor:pointer;display:grid;place-items:center;border-radius:50%}
.phc-dots button::before{content:"";width:9px;height:9px;border-radius:99px;background:var(--mint2);transition:width .25s,background-color .25s}
.phc-dots button[aria-current=true]::before{width:24px;background:var(--green)}
.phc-dots button:focus-visible{outline:3px solid var(--green2);outline-offset:1px}

@media (hover:hover) and (pointer:fine){
 .phs-stage .ph{transition:transform .5s cubic-bezier(.2,.8,.2,1)}
 .phs-stage:hover .ph{transform:translateY(-4px)}
}
@media (max-width:900px){
 .phs-row,.phs-row.flip{grid-template-columns:minmax(0,1fr);direction:rtl;gap:32px}
 .phs-copy{max-width:none}
 .ph.ph-s{--w:272px}
}
@media (prefers-reduced-motion:reduce){
 .phs-stage .ph{transition:none!important;transform:none!important}
 .phc-track{scroll-behavior:auto}
 .phc-dots button::before{transition:none}
}
