/* ==========================================================================
   How it works (#how, index.html only) — the video guide, soft UI (V4).
   A plain player: one float card holding a 16:9 screen and a single round
   play button. The player zooms from 86% to full size as it scrolls up to
   the middle of the screen (how.js). The screen is dark in both themes: it's
   imagery, not chrome. Owner 2026-11-08: "a normal video player, nothing
   special", with a nice play button and a zoom in.
   ========================================================================== */
.how{max-width:1180px;margin:var(--stack-gap,40px) auto 0}
.how-player{padding:8px;border-radius:36px;background:var(--panel);box-shadow:var(--float);
  transform-origin:50% 40%;will-change:transform}
.how-screen{position:relative;aspect-ratio:16/9;border-radius:28px;overflow:hidden;background:#0B0C10;isolation:isolate}
.how-screen video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#000}

/* placeholder still: a vertical clip shown the way players show one, over a
   blurred, darkened copy of itself */
.how-still{position:absolute;inset:0}
.how-blur{position:absolute;inset:-10%;width:120%;height:120%;object-fit:cover;filter:blur(40px) brightness(.45) saturate(1.2)}
.how-frame{position:relative;display:block;height:100%;width:auto;margin:0 auto;aspect-ratio:9/16;object-fit:cover}
#how.has-video .how-still,#how.has-video .how-ph{display:none}

.how-ph{position:absolute;top:20px;left:20px;display:inline-flex;align-items:center;gap:8px;
  height:26px;padding:0 12px;border-radius:999px;font:600 12px/1 var(--font-ui);color:rgba(255,255,255,.8);
  background:rgba(0,0,0,.35);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
.how-ph::before{content:"";width:7px;height:7px;border-radius:50%;background:#F2B84B}

/* the play button: a light-glass disc over the picture, the one control */
.how-play{position:absolute;left:50%;top:50%;z-index:1;display:grid;place-items:center;
  width:88px;height:88px;margin:-44px 0 0 -44px;padding:0;border:0;border-radius:50%;cursor:pointer;
  color:#1C1C1E;background:rgba(255,255,255,.82);
  -webkit-backdrop-filter:blur(20px) saturate(1.4);backdrop-filter:blur(20px) saturate(1.4);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 0 0 8px rgba(255,255,255,.14),0 24px 48px -16px rgba(0,0,0,.6);
  transition:transform .16s cubic-bezier(.2,.8,.2,1),box-shadow .16s ease-out}
.how-play svg{width:32px;height:32px;margin-left:4px;fill:currentColor}
@media (hover:hover) and (pointer:fine){
  .how-play:hover{transform:scale(1.06);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 0 0 12px rgba(255,255,255,.16),0 28px 56px -16px rgba(0,0,0,.65)}
}
.how-play:active{transform:scale(.97);transition-duration:.08s}
.how-play[aria-disabled="true"]{cursor:default}
.how-play:focus-visible{outline:2px solid var(--focus);outline-offset:4px}
#how.is-playing .how-play{opacity:0;pointer-events:none}

@media (max-width:900px){
  .how-player{padding:6px;border-radius:28px}
  .how-screen{border-radius:22px}
}
@media (max-width:520px){
  .how-play{width:68px;height:68px;margin:-34px 0 0 -34px}
  .how-play svg{width:26px;height:26px}
  .how-ph{top:14px;left:14px}
}
