/* nb-vid.css · KAN-2162: served copy of marketing/design_system/components.video.css (the source; edit there, then copy). */
/* Promo video band (KAN-2162 v2, 24 Nov 2026, Samer: «ما عجبوني لا ديزاين ولا مقدمات الفيديوهات», then approved the
   marketing scripts and «ok proceed»). One 20 to 30 s marketing video per audience (pain hook, real product screen,
   proof, one CTA), two encodes: vertical 9:16 for phones, landscape 16:9 from 900px. The video carries its own brand
   background, captions and badges, so the page adds no tray and no device frame: a rounded, shadowed player only.
   Nothing loads until tap. Tokens only, every var() with its light rgb fallback. No new token. */
.nb-vid{padding:var(--space-8,48px) 0;background:var(--section-alt,rgb(246,248,249))}
.nb-vid-in{display:grid;gap:var(--space-4,16px);justify-items:center;max-width:var(--content-max,1120px);margin:0 auto;padding:0 var(--space-4,16px)}
.nb-vid-copy{text-align:center;max-width:var(--reading-measure,36rem)}
.nb-vid-copy h2{margin:0;font-size:24px;line-height:32px;font-weight:700;color:var(--ink,rgb(11,18,32))}
.nb-vid-copy p{margin:var(--space-2,8px) 0 0;font-size:16px;line-height:26px;color:var(--ink-secondary,rgb(44,58,71))}
/* the player: phones 9:16 up to 360px wide; from 900px the landscape cut, 16:9, up to 960px wide */
.nb-vid-frame{position:relative;width:min(100%,360px);aspect-ratio:9/16;border-radius:var(--radius-xl,24px);overflow:hidden;background:var(--deep,rgb(8,47,56));box-shadow:var(--shadow-overlay,0 8px 24px rgba(11,18,32,.18))}
@media (min-width:900px){.nb-vid-frame{width:min(100%,960px);aspect-ratio:16/9}.nb-vid-copy h2{font-size:28px;line-height:36px}}
.nb-vid-frame>button,.nb-vid-frame>video{display:block;width:100%;height:100%}
.nb-vid-frame>video{object-fit:contain;background:var(--deep,rgb(8,47,56))}
.nb-vid-poster{position:relative;padding:0;border:0;background:transparent;cursor:pointer;font:inherit;color:inherit}
.nb-vid-poster img{display:block;width:100%;height:100%;object-fit:cover}
.nb-vid-play{position:absolute;inset:auto 0 24px 0;margin:0 auto;width:72px;height:72px;border-radius:var(--radius-full,999px);display:flex;align-items:center;justify-content:center;background:var(--action,rgb(14,116,144));color:var(--on-action,rgb(255,255,255));box-shadow:var(--shadow-overlay,0 8px 24px rgba(11,18,32,.18))}
/* KAN-2162 (Design 25 Nov): play sits bottom-centre, 24px up, so it never covers the hook line of the poster (centred play hid «نفس» / «أوراق» at 375/390) */
/* media icons are never mirrored in RTL: play points right everywhere; nudged 2px right to look centred */
.nb-vid-play svg{width:28px;height:28px;transform:translateX(2px)}
.nb-vid-poster:focus-visible{outline:3px solid var(--action,rgb(14,116,144));outline-offset:3px}
.nb-vid-cap{font-variant-numeric:tabular-nums;margin:0;font-size:13px;line-height:20px;color:var(--ink-muted,rgb(86,99,111));text-align:center}
@media (prefers-reduced-motion:reduce){.nb-vid-poster{transition:none}}
