/* ============================================================
   Product demo video (homepage "Watch it sell" band and
   /what-is-behaf). One component, one file, loaded only on
   pages that show the video.
   ============================================================ */
.demo-video{
  position:relative;margin:0;width:min(320px,78vw);aspect-ratio:9/16;
  border-radius:30px;overflow:hidden;isolation:isolate;
  background:var(--forest,#062417);
  box-shadow:0 44px 90px -34px rgba(6,36,23,.38),0 14px 30px -14px rgba(6,36,23,.14),0 0 0 8px var(--surface,#FBFCFA),0 0 0 9px var(--line,#DAE1DA);
}
.demo-video video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;border-radius:0;cursor:pointer;background:transparent}
.demo-sound,.demo-play{
  position:absolute;z-index:2;display:inline-flex;align-items:center;gap:8px;
  border:0;border-radius:999px;cursor:pointer;
  font:600 .8125rem/1 var(--f-body,"Satoshi",system-ui,sans-serif);
  background:rgba(6,36,23,.72);color:#EEF4F0;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  transition:background 200ms cubic-bezier(.25,.1,.25,1),scale 120ms cubic-bezier(.23,1,.32,1);
}
.demo-sound{left:14px;bottom:14px;padding:9px 13px}
.demo-sound:hover,.demo-play:hover{background:rgba(6,36,23,.9)}
.demo-sound:active,.demo-play:active{scale:.96}
.demo-sound svg{width:15px;height:15px}
.demo-sound .on{display:none}
.demo-sound[aria-pressed="true"] .on{display:block}
.demo-sound[aria-pressed="true"] .off{display:none}
.demo-play{left:50%;top:50%;translate:-50% -50%;padding:14px 20px;font-size:.9375rem}
.demo-play[hidden]{display:none}
.demo-video:not(.is-ready) .demo-sound{display:none}
.demo-sound:focus-visible,.demo-play:focus-visible{outline:2px solid var(--mint,#6BDCA8);outline-offset:3px}

/* ---------- homepage band ---------- */
.watch-in{display:grid;gap:clamp(40px,6vw,88px);align-items:center}
@media (min-width:900px){.watch-in{grid-template-columns:minmax(0,1fr) auto}}
.watch-in .demo-video{justify-self:center}
.watch-points{list-style:none;margin:var(--s-6,32px) 0 0;padding:0;display:grid;gap:12px}
.watch-points li{display:flex;gap:12px;align-items:flex-start;font-size:var(--t-body,1.0625rem);color:var(--ink-2,#27312C);line-height:1.5}
.watch-points li::before{content:"";flex:0 0 22px;height:22px;margin-top:1px;border-radius:50%;
  background:var(--g-50,#EDF6F0) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005C39' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat;
  box-shadow:inset 0 0 0 1px var(--g-100,#DAEEE2)}
.watch-note{margin-top:var(--s-5,24px);font-size:var(--t-sm,.9375rem);color:var(--ink-4,#5F6963)}

/* ---------- inside an article ---------- */
.pa-demo{display:grid;justify-items:center;gap:14px;margin:40px auto 48px!important}
.pa-demo figcaption{font-size:var(--t-sm,.9375rem)!important;color:var(--ink-3,#4A5550)!important;text-align:center;max-width:36ch;line-height:1.5}
.page-article .demo-video{margin:0!important;max-width:none}

/* flat variant: for videos that already contain their own phone (the AI upsell demo) */
.demo-video.flat{width:min(380px,86vw);border-radius:28px;background:#F3F5F2;box-shadow:0 40px 80px -36px rgba(6,36,23,.4),0 0 0 1px var(--line,#DAE1DA)}
