/* ================================================================
   زغلول v10 demo — "Moss Island" scroll story, Zaglool content.
   Reference: "Mossline: Floating Moss Island Scroll Fly-In"
   (https://motionsites.ai/?prompt=moss-island) — structure + motion
   language only; all media is Zaglool's own v3 renders.
   Visual system: landing-page-design Part B, with ONE documented
   deviation — Tajawal (Arabic) + Manrope (Latin/numbers) instead of
   the skill's Latin-only font list, which has no Arabic glyphs.
   Type scale = Tailwind steps only. Spacing tokens only.
   No background gradients. Borders all-around or none.
   NOTE (v10b): the hero H1 used to be a background-clip:text
   gradient — measured: with the line-reveal spans carrying
   will-change/GSAP transforms, Chromium never paints the clipped
   glyphs (DOM geometry perfect, pixels empty). The H1 is solid
   ink now (white on the dark slide); the B5 gradient exception is
   deliberately NOT used here because it does not render reliably.
   Motion: cubic-bezier(0.22,1,0.36,1); 500ms layout, 300ms color.
   ================================================================ */
html, body { background: #EAF1EC; }
:root{
  --ink:#0E2417; --ink2:#22392B; --text:#293C31; --muted:#43564B;
  --line:#C9D8CD; --bg:#EAF1EC; --paper:#FFFFFF;
  --brand:#006E21; --brand2:#1FAA53; --lime:#C6F35C; --lime2:#A9DD3A;
  --char-bg:#E6EFE9;
  --accent:#006E21; --accent-soft:#D8EBDD; --accent-ink:#0E2417;
  --nav-accent:#006E21; --hero-accent:#25D366; --hero-field:#E5FAED;
  --r-lg:24px; --r-md:16px; --r-sm:8px;
  --max:1200px; --nav-h:72px;
  --shadow:0 24px 60px rgba(16,41,26,.10);
  --shadow-sm:0 10px 30px rgba(16,41,26,.08);
  --ease:cubic-bezier(0.22,1,0.36,1);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--nav-h) + 16px)}
html,body{overflow-x:clip}
body{margin:0;background:var(--bg);color:var(--ink);
  font-family:'Tajawal','Manrope',sans-serif;font-size:16px;line-height:24px;
  -webkit-font-smoothing:antialiased}
button,a,input{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible,[tabindex]:focus-visible,summary:focus-visible{outline:3px solid #006E21;outline-offset:3px}
img{max-width:100%;display:block}
h1,h2,h3,h4,p{margin:0}
h1,h2,h3,h4{text-wrap:balance}
p{text-wrap:pretty}
.container{width:min(var(--max),calc(100% - 40px));margin-inline:auto}
.en{font-family:'Manrope','Tajawal',sans-serif;direction:ltr;unicode-bidi:isolate}
.visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- named text styles (B1) ---------- */
.heading-1{font-size:clamp(36px,5vw,60px);line-height:60px;font-weight:700}
.heading-2{font-size:clamp(30px,4vw,48px);line-height:48px;font-weight:700}
.heading-3{font-size:36px;line-height:40px;font-weight:700}
.heading-5{font-size:24px;line-height:32px;font-weight:700}
.title-1{font-size:20px;line-height:28px;font-weight:500}
.title-2{font-size:18px;line-height:28px;font-weight:500}
.body-2{font-size:16px;line-height:24px;font-weight:500}
.body-3{font-size:16px;line-height:24px;font-weight:400}
.caption-2{font-size:14px;line-height:20px;font-weight:400}
.button-md{font-size:16px;line-height:24px;font-weight:700}
.button-sm{font-size:14px;line-height:20px;font-weight:700}

.kicker{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:14px;line-height:20px;color:var(--nav-accent)}
.kicker::before{content:"";width:24px;height:3px;border-radius:3px;background:var(--nav-accent)}
.chip{display:inline-flex;align-items:center;height:24px;padding:0 12px;background:var(--lime);color:var(--ink);
  border-radius:3px;font-size:12px;line-height:16px;font-weight:700;letter-spacing:.08em}
.cta-row{margin-top:24px}

/* ---------- reveals: hidden ONLY when JS is on (html.js gate) ---------- */
html.js .reveal{opacity:0;transform:translateY(32px);transition:opacity .6s var(--ease),transform .6s var(--ease)}
html.js .reveal.is-in{opacity:1;transform:none}
html.js .reveal-group > *{opacity:0;transform:translateY(24px);transition:opacity .6s var(--ease),transform .6s var(--ease)}
html.js .reveal-group.is-in > *{opacity:1;transform:none}
html.js .reveal-group.is-in > *:nth-child(2){transition-delay:60ms}
html.js .reveal-group.is-in > *:nth-child(3){transition-delay:120ms}
html.js .reveal-group.is-in > *:nth-child(4){transition-delay:180ms}
html.js .reveal-group.is-in > *:nth-child(5){transition-delay:240ms}
html.js .reveal-group.is-in > *:nth-child(6){transition-delay:300ms}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:0;border-radius:16px;padding:8px 12px;min-height:48px;
  background:var(--brand);color:#fff;font-weight:700;font-size:16px;line-height:24px;
  transition:transform .3s var(--ease),background-color .3s var(--ease),box-shadow .3s var(--ease);white-space:nowrap;
  box-shadow:0 12px 28px rgba(0,110,33,.28)}
.btn:hover{transform:translateY(-2px);background:#005A1B}
.btn:active{transform:scale(0.98)}
.btn .arr{font-size:18px;line-height:1}
.btn-accent{background:var(--accent);color:#fff;box-shadow:0 12px 28px rgba(16,41,26,.22)}
.btn-accent:hover{filter:brightness(.93);background:var(--accent)}
.btn-ghost{background:var(--paper);border:1.5px solid var(--line);color:var(--ink);box-shadow:none}
.btn-ghost:hover{background:#F2F6F2;border-color:var(--nav-accent)}
.btn-dark{background:var(--ink);color:#fff;box-shadow:0 12px 28px rgba(16,41,26,.30)}
.btn-dark:hover{background:#123F2E}
.btn-lg{padding:8px 24px;min-height:56px;font-size:18px;line-height:28px;border-radius:16px}
.btn-header{padding:8px 12px;min-height:44px;font-size:14px;line-height:20px}
.txt-link{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--ink);padding:4px 2px;border-bottom:2px solid var(--nav-accent)}
.txt-link:hover{color:var(--nav-accent)}

/* ================================================================
   FIXED NAV — floating bar (B7), compact, translucent + blur.
   Geometry fix for v3 bug #1: submenus are SHORT two-column grids
   (max ~158px of rows + head + padding ≈ 238px from viewport top at
   the 72px header). An open submenu may transiently overlap the
   hero bird area — that is normal mega-menu behaviour (the menu sits
   above the hero while open). The bird also lives in the opposite
   (left) column from the submenu anchor, so the overlap is partial
   and brief. (UI/UX audit 2026-11-27: the old "can never cover the
   bird" claim was stale — the bird top moved up when the hero
   padding shrank.)
   ================================================================ */
.site-header{position:fixed;inset-inline:0;top:12px;z-index:80}
.site-header .container{display:flex;align-items:center;gap:16px;min-height:var(--nav-h);
  background:rgba(255,255,255,.82);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border:1px solid var(--line);border-radius:24px;padding:0 16px;
  box-shadow:0 10px 34px rgba(16,41,26,.08);
  transition:background-color .3s var(--ease),box-shadow .3s var(--ease)}
.site-header.scrolled .container{background:rgba(255,255,255,.96);box-shadow:0 10px 34px rgba(16,41,26,.12)}
.brand{display:flex;align-items:center;gap:8px;font-weight:700;font-size:20px;line-height:28px;flex:none}
.brand img{width:44px;height:44px;object-fit:contain;border-radius:12px}
.brand small{font-size:14px;line-height:20px;color:var(--muted);font-weight:700}
.main-nav{display:flex;align-items:center;gap:4px;margin-inline-start:auto}
.nav-item{position:relative}
.nav-link{display:inline-flex;align-items:center;gap:4px;font-weight:700;font-size:16px;line-height:24px;white-space:nowrap;
  color:var(--ink2);padding:8px 12px;border-radius:12px;border:0;background:none;
  transition:color .3s var(--ease),background-color .3s var(--ease)}
.nav-link:hover,.nav-item.open>.nav-link,.nav-item:focus-within>.nav-link{color:var(--nav-accent);background:var(--accent-soft)}
.nav-link .chev{font-size:12px;transition:transform .3s var(--ease);color:var(--nav-accent)}
.nav-item.open>.nav-link .chev,.nav-item:hover>.nav-link .chev{transform:rotate(180deg)}
.nav-link.active{color:var(--nav-accent)}
.nav-link.active::after{content:"";position:absolute;inset-inline:12px;bottom:4px;height:3px;border-radius:3px;background:var(--nav-accent)}
.submenu{position:absolute;top:calc(100% + 8px);inset-inline-start:0;
  min-width:320px;padding:8px;border-radius:16px;background:var(--paper);
  border:1px solid var(--line);box-shadow:var(--shadow);
  display:grid;grid-template-columns:1fr 1fr;gap:2px;
  opacity:0;visibility:hidden;transform:translateY(8px);
  transition:opacity .3s var(--ease),transform .3s var(--ease),visibility .3s;
  pointer-events:none}
.nav-item:hover>.submenu,.nav-item:focus-within>.submenu,.nav-item.open>.submenu{
  opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}
.submenu a{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:8px;font-weight:700;font-size:14px;line-height:20px;color:var(--ink2);transition:background-color .3s var(--ease);min-height:40px}
.submenu a:hover{background:var(--bg);color:var(--ink)}
.submenu a .dot{width:12px;height:12px;border-radius:50%;flex:none;box-shadow:0 0 0 3px rgba(16,41,26,.06)}
.submenu .sub-head{grid-column:1 / -1;padding:4px 12px;font-size:12px;line-height:16px;font-weight:700;color:var(--muted)}
.header-cta{display:flex;gap:8px;align-items:center;flex:none}
.header-cta .login-link{font-weight:700;color:var(--ink2);padding:8px;white-space:nowrap;font-size:14px;line-height:20px}
.header-cta .login-link:hover{color:var(--nav-accent)}
.nav-toggle{display:none;border:1.5px solid var(--line);background:var(--paper);border-radius:12px;
  width:44px;height:44px;align-items:center;justify-content:center;flex:none}
.nav-toggle span{display:block;width:20px;height:2px;background:var(--ink);border-radius:2px;position:relative;transition:transform .3s var(--ease),opacity .3s var(--ease)}
.nav-toggle span::before,.nav-toggle span::after{content:"";position:absolute;inset-inline:0;height:2px;background:var(--ink);border-radius:2px;transition:transform .3s var(--ease),top .3s var(--ease)}
.nav-toggle span::before{top:-6px}.nav-toggle span::after{top:6px}
.nav-toggle[aria-expanded="true"] span{background:transparent}
.nav-toggle[aria-expanded="true"] span::before{top:0;transform:rotate(45deg)}
.nav-toggle[aria-expanded="true"] span::after{top:0;transform:rotate(-45deg)}
.mobile-panel{position:fixed;top:0;bottom:0;inset-inline-end:0;width:min(360px,88vw);z-index:90;
  background:var(--paper);box-shadow:-18px 0 50px rgba(16,41,26,.18);
  transform:translateX(-105%);visibility:hidden;
  transition:transform .5s var(--ease),visibility 0s .5s;
  display:flex;flex-direction:column;padding:16px;overflow-y:auto}
[dir="rtl"] .mobile-panel{transform:translateX(-105%)}
.mobile-panel.open{transform:translateX(0);visibility:visible;transition:transform .5s var(--ease),visibility 0s 0s}
.mobile-panel .panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.panel-close{border:1.5px solid var(--line);background:var(--paper);border-radius:12px;width:44px;height:44px;font-size:20px;line-height:1}
.m-acc{border-bottom:1px solid var(--line)}
.m-acc-btn{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;
  background:none;border:0;padding:16px 4px;font-weight:700;font-size:16px;line-height:24px;color:var(--ink);text-align:start;min-height:48px}
.m-acc-btn .chev{color:var(--nav-accent);transition:transform .3s var(--ease)}
.m-acc-btn[aria-expanded="true"] .chev{transform:rotate(180deg)}
.m-acc-body{display:none;padding:2px 4px 12px}
.m-acc-body.open{display:block}
.m-acc-body a{display:flex;align-items:center;gap:8px;padding:12px 4px;font-weight:700;color:var(--ink2);border-radius:8px;min-height:44px}
.m-acc-body a:hover{background:var(--bg)}
.m-acc-body a .dot{width:12px;height:12px;border-radius:50%;flex:none}
.panel-cta{margin-top:auto;padding-top:16px;display:grid;gap:8px}
.scrim{position:fixed;inset:0;background:rgba(16,41,26,.45);z-index:85;opacity:0;visibility:hidden;transition:opacity .3s var(--ease),visibility .3s var(--ease)}
.scrim.show{opacity:1;visibility:visible}
@media (max-width:1023px){
  .main-nav{display:none}
  .header-cta .login-link{display:none}
  .nav-toggle{display:inline-flex}
  .header-cta{margin-inline-start:auto}
}

/* ================================================================
   SCROLL STORY — Moss Island structure, 520vh, sticky 100dvh stage.
   Beats: hero → fly-through (5 platform crossfades) → vision
   (word-by-word tagline) → station (glass inbox card + list).
   The white sections below slide up over the stage (margin-top:-30vh
   on the first section, Moss Island §13).
   ================================================================ */
.story{position:relative;height:520vh}
.stage{position:sticky;top:0;height:100dvh;overflow:hidden;background:var(--hero-field,#D3EFDC);
  transition:background-color .5s var(--ease)}
.stage-field{position:absolute;inset:0;pointer-events:none;background:var(--hero-field,#D3EFDC);transition:background-color .5s var(--ease)}
.layer{position:absolute;inset:0;pointer-events:none}
.layer > *{pointer-events:auto}
.hero-layer{display:flex;flex-direction:column;justify-content:center}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:32px;align-items:center;
  padding-top:clamp(200px,26vh,240px);padding-bottom:16px}
.hero-copy .platform-tile{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:999px;
  background:rgba(255,255,255,.75);border:1px solid rgba(16,41,26,.10);font-weight:700;font-size:16px;line-height:24px;
  backdrop-filter:blur(6px)}
.hero-copy .platform-tile .ic{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;background:var(--hero-accent,#25D366);transition:background-color .5s var(--ease);font-size:14px;line-height:16px;font-weight:700}
.hero-copy h1{margin:16px 0;max-width:680px;color:var(--ink)}
.hero-copy h1 .line{display:block;overflow:visible;padding-bottom:.06em}
  /* v10d: was overflow:hidden (mask for the yPercent line reveal) —
     at the first-paint frame the second line's lower half sat behind
     the mask. The intro is now a plain fade+rise (no mask), so the
     line box must not clip anything at any frame. */
.hero-copy h1 .line>span{display:inline-block;will-change:transform}
.hero-copy .sub{max-width:680px;color:var(--text)}
.hero-tagline{margin-top:16px;color:var(--muted);max-width:680px}
.hero-ctas{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin-top:24px}
.hero-stage{position:relative;display:flex;justify-content:center;padding:32px 0}
.hero-figures{position:relative;width:min(580px,96%,56dvh);aspect-ratio:1/1;z-index:1}
.hero-figures::before{content:"";position:absolute;inset:-6% -12%;z-index:0;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle at 50% 55%,var(--hero-glow,var(--hero-accent,#25D366)),transparent 68%);opacity:.22}
.hero-figures .plate{position:absolute;inset:0;z-index:1;opacity:0;transition:opacity .5s var(--ease),transform .5s var(--ease);transform:scale(1.04)}
.hero-figures .plate.is-on{opacity:1;transform:scale(1)}
.hero-figures picture,.hero-figures img,.hero-figures svg{width:100%;height:100%;object-fit:contain;display:block}
.hero-figures .plate.is-on img,.hero-figures .plate.is-on svg{filter:drop-shadow(0 20px 22px rgba(16,41,26,.28))}
.stage.dark .hero-figures .plate.is-on img,.stage.dark .hero-figures .plate.is-on svg{filter:drop-shadow(0 20px 22px rgba(0,0,0,.45))}
.hero-badge{position:absolute;z-index:2;display:flex;align-items:center;gap:8px;padding:6px 14px;border-radius:16px;
  background:rgba(255,255,255,.92);border:1px solid var(--line);box-shadow:var(--shadow-sm);
  font-weight:700;font-size:14px;line-height:20px;backdrop-filter:blur(6px)}
.hero-badge .bdot{width:12px;height:12px;border-radius:50%;background:var(--hero-accent,#25D366);flex:none}
.hero-badge.b1{top:0;inset-inline-start:0}
.hero-badge.b2{bottom:0;inset-inline-end:0}
.hero-controls{margin-top:16px}
.hero-rail{display:flex;align-items:center;gap:16px}
.rail-btn{flex:none;width:48px;height:48px;border-radius:50%;border:1.5px solid rgba(16,41,26,.16);
  background:rgba(255,255,255,.85);font-size:20px;line-height:1;color:var(--ink);
  display:flex;align-items:center;justify-content:center;transition:transform .3s var(--ease),background-color .3s var(--ease)}
.rail-btn:hover{background:#fff;transform:translateY(-2px)}
.rail-btn:active{transform:scale(0.98)}
.rail-count{flex:1;font-weight:700;font-size:14px;line-height:20px;min-width:52px;text-align:center}
.strip{display:flex;gap:8px;margin-top:16px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
.strip::-webkit-scrollbar{display:none}
/* Themed page scrollbar (site-wide, 2026-11-27): green thumb on a light
   track in day mode, lighter green thumb on a dark track in night mode.
   Firefox uses scrollbar-color; WebKit/Blink use the pseudo-elements. */
html{scrollbar-width:thin;scrollbar-color:#1DA851 #EAF1EC}
html::-webkit-scrollbar{width:10px;height:10px}
html::-webkit-scrollbar-track{background:#EAF1EC}
html::-webkit-scrollbar-thumb{background:#1DA851;border-radius:999px;border:2px solid #EAF1EC}
html::-webkit-scrollbar-thumb:hover{background:#25D366}
html[data-theme="dark"]{scrollbar-color:#7ED957 #0E1F16}
html[data-theme="dark"]::-webkit-scrollbar-track{background:#0E1F16}
html[data-theme="dark"]::-webkit-scrollbar-thumb{background:#7ED957;border:2px solid #0E1F16}
html[data-theme="dark"]::-webkit-scrollbar-thumb:hover{background:#25D366}
.strip-tab{flex:none;display:flex;align-items:center;gap:8px;padding:8px 16px;border-radius:999px;min-height:44px;
  border:1.5px solid rgba(16,41,26,.14);background:rgba(255,255,255,.7);font-weight:700;font-size:14px;line-height:20px;color:var(--ink2);
  transition:background-color .3s var(--ease),color .3s var(--ease),border-color .3s var(--ease),transform .3s var(--ease)}
.strip-tab:hover{transform:translateY(-2px)}
.strip-tab .dot{width:12px;height:12px;border-radius:50%;flex:none}
.strip-tab.active{background:var(--ink);color:#fff;border-color:var(--ink)}
.dots{display:flex;gap:8px;justify-content:center;margin-top:12px}
.dot-btn{width:24px;height:24px;border-radius:50%;border:0;background:rgba(16,41,26,.42);padding:6px;background-clip:content-box;transition:transform .3s var(--ease),background-color .3s var(--ease)}
.dot-btn.active{background:var(--hero-accent,#25D366);transform:scale(1.4)}
.dot-btn:hover{background:rgba(16,41,26,.65)}
.hero-slide{display:none}

/* vision beat */
.vision-layer{display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden}
.vision-inner{text-align:center;width:min(820px,90vw)}
.vision-text{margin:16px 0;max-width:680px;margin-inline:auto}
.vision-text .vw{display:inline-block;color:rgba(16,41,26,.30);opacity:.35;transition:color .5s var(--ease),opacity .5s var(--ease)}
.vision-text .vw.lit{color:var(--ink);opacity:1}
.vision-sub{color:var(--text);max-width:680px;margin-inline:auto;opacity:0;transition:opacity .5s var(--ease)}
.vision-sub.lit{opacity:1}

/* station beat */
.station-layer{display:flex;align-items:center;opacity:0;visibility:hidden}
.station-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.station-backdrop{position:absolute;inset:-12% 0;background:transparent;filter:none;opacity:1}
  /* v10d: was inset:-12% -6% + scale(1.12) = 125% of the stage width —
     470px in a 390px viewport, flagged by the 390px harness. The blur
     itself softens the left/right edges, so no bleed is needed. */
.station-layer .station-backdrop{pointer-events:none}
.station-head h2{margin:16px 0}
.station-head p{color:var(--text)}
.glass-card{background:rgba(255,255,255,.62);border:1px solid rgba(255,255,255,.85);border-radius:16px;
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);padding:24px;box-shadow:var(--shadow)}
.glass-card h3{margin-bottom:4px}
.glass-card .caption-2{color:var(--muted)}
.station-list{list-style:none;margin:16px 0 24px;padding:0;display:grid;gap:8px}
.station-list li{display:flex;gap:8px;align-items:flex-start;font-size:16px;line-height:24px;font-weight:500}
.station-list .s-ic{flex:none;width:24px;height:24px;border-radius:50%;background:var(--nav-accent);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:14px;line-height:1;margin-top:2px}
.station-card .btn{width:100%}

.scroll-hint{position:absolute;bottom:48px;inset-inline-end:32px;display:flex;align-items:center;gap:8px;
  font-size:12px;line-height:16px;font-weight:700;letter-spacing:.08em;color:var(--ink2);z-index:5}
.scroll-hint .hint-chev{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:1.5px solid var(--ink2);border-radius:50%}

/* dark TikTok slide: stage field goes dark, copy stays readable */
.stage.dark .hero-copy h1{color:#fff}
.stage.dark .hero-copy .sub,.stage.dark .hero-copy .hero-tagline{color:#E8E8E8}
.stage.dark .platform-tile{background:rgba(24,24,24,.72);color:#fff;border-color:rgba(255,255,255,.20)}
.stage.dark .txt-link{color:#fff}
.stage.dark .scroll-hint{color:#E8E8E8}
/* v10d: hero rail + dots on the dark TikTok slide — the rail fill used
   var(--hero-accent) (= black on TikTok) and the dots/track were dark
   ink on a dark field, both barely legible. Light treatment on dark. */
.stage.dark .rail-count{color:#fff}
.stage.dark .dot-btn{background:rgba(255,255,255,.62)}
.stage.dark .dot-btn.active{background:#fff}
.stage.dark .dot-btn:hover{background:rgba(255,255,255,.85)}
[data-theme="dark"] .dot-btn{background:rgba(255,255,255,.55)}
[data-theme="dark"] .dot-btn:hover{background:rgba(255,255,255,.8)}
.stage.dark .vision-text .vw{color:rgba(255,255,255,.30)}
.stage.dark .vision-text .vw.lit{color:#fff}
.stage.dark .vision-sub{color:#E8E8E8}
.stage.dark .station-head h2{color:#fff}
.stage.dark .station-head p{color:#E8E8E8}

/* ---------- page scaffold ---------- */
.section{padding:80px 0;position:relative;z-index:5;background:var(--bg)}
.section.alt{background:var(--paper)}
#positioning{margin-top:-30vh;border-radius:24px 24px 0 0;box-shadow:0 -30px 60px rgba(16,41,26,.12);padding-top:80px}
.section-head{max-width:760px;margin-bottom:40px}
.section-head h2{margin:12px 0}
.lead{color:var(--text)}
.check-list{list-style:none;margin:24px 0 0;padding:0;display:grid;gap:12px}
.check-list li{display:flex;gap:12px;align-items:flex-start;font-size:16px;line-height:24px}
.check-list li::before{content:"";flex:none;width:24px;height:24px;margin-top:2px;border-radius:50%;
  background:var(--nav-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat}
.split{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.split.flip>.split-media{order:-1}
.split-media{position:relative}
.media-frame{border-radius:24px;overflow:hidden;background:var(--char-bg);box-shadow:var(--shadow)}
.media-frame img{width:100%;height:100%;object-fit:cover}
.media-frame.tall{aspect-ratio:4/3.4;background:transparent;box-shadow:none}
.media-frame.tall img{object-fit:contain}
  /* v10d: cover on a square image in a 4:3.4 frame crops 7.5% top +
     bottom — the bird's cap (top ~8% of the frame) was sliced off in
     the login section. Contain shows the whole bird; the side bands
     are --char-bg, near-identical to the image background. */
.team-frame{aspect-ratio:4/3.4;background:var(--char-bg)}
.team-frame img{width:100%;height:100%;object-fit:contain}
.chat-mock{background:var(--ink);border-radius:24px;padding:24px;color:#EAF4EE;box-shadow:var(--shadow)}
.chat-mock .bubble{background:#1B4A38;border-radius:16px 16px 16px 4px;padding:12px 16px;margin-bottom:12px;max-width:88%;font-size:16px;line-height:24px}
.chat-mock .bubble.me{background:var(--brand2);border-radius:16px 16px 4px 16px;margin-inline-start:auto;text-align:start;color:#062B18}
.chat-mock .bubble .who{display:block;font-size:12px;line-height:16px;opacity:.75;margin-bottom:4px;font-weight:700}
.chat-note{margin-top:12px;font-size:12px;line-height:16px;opacity:.65}

/* ---------- platform cards carousel ---------- */
.carousel-wrap{position:relative}
.carousel{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;
  padding:4px 4px 16px;scrollbar-width:none}
.carousel::-webkit-scrollbar{display:none}
.carousel>*{scroll-snap-align:start}
.p-card{flex:0 0 min(340px,84vw);background:var(--paper);border:1px solid var(--line);border-radius:24px;
  overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow-sm);
  transition:transform .5s var(--ease),box-shadow .5s var(--ease)}
.p-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.p-card .thumb{position:relative;aspect-ratio:16/10;background:var(--char-bg);overflow:hidden}
.p-card .thumb img{width:100%;height:100%;object-fit:cover;object-position:center 22%}
.p-card .thumb::after{content:"";position:absolute;inset-inline:0;bottom:0;height:4px;background:var(--card-accent,#1FAA53)}
.p-card .p-body{padding:24px;display:flex;flex-direction:column;gap:8px;flex:1}
.p-card p{color:var(--text);flex:1}
.p-card .txt-link{align-self:flex-start}
.car-nav{display:flex;align-items:center;gap:12px;margin-top:4px}
.car-progress{flex:1;height:4px;border-radius:4px;background:var(--line);overflow:hidden}
.car-progress span{display:block;height:100%;width:20%;border-radius:4px;background:var(--nav-accent);transition:width .3s var(--ease)}

/* ---------- integrations strip ---------- */
.int-strip{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 4px 16px;scrollbar-width:none}
.int-strip::-webkit-scrollbar{display:none}
.int-chip{flex:0 0 min(300px,82vw);scroll-snap-align:start;background:var(--paper);border:1px solid var(--line);
  border-radius:16px;padding:16px 24px;transition:transform .3s var(--ease),border-color .3s var(--ease)}
.int-chip:hover{transform:translateY(-4px);border-color:var(--nav-accent)}
.int-chip b{display:block;font-size:18px;line-height:28px;margin-bottom:4px}
.int-chip span{color:var(--muted);font-size:14px;line-height:20px}
.int-chip .tag{display:block;margin-top:12px;padding:4px 8px;border-radius:999px;background:var(--accent-soft);font-size:12px;line-height:16px;font-weight:700;color:var(--ink2);width:max-content}

/* ---------- steps / limits ---------- */
.steps{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.step-card{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:24px}
.step-card .step-n{font-size:48px;line-height:48px;font-weight:700;color:var(--nav-accent)}
.step-card p{margin-top:12px;color:var(--text)}
.limits-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:24px}
.limit-card{border-radius:16px;padding:24px;background:var(--bg);border:1.5px dashed var(--line)}
.limit-card b{display:block;font-size:18px;line-height:28px;margin-bottom:4px}
.limit-card p{color:var(--text)}
.limit-card.warn{background:#FFF8E6;border-color:#EFDFA0}
.login-providers{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.provider{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:999px;min-height:44px;
  background:var(--paper);border:1.5px solid var(--line);font-weight:700;font-size:16px;line-height:24px;transition:transform .3s var(--ease),border-color .3s var(--ease)}
.provider:hover{transform:translateY(-2px);border-color:var(--nav-accent)}
.provider .pdot{width:12px;height:12px;border-radius:50%}

/* ---------- FAQ (full-width column, fix #4) ---------- */
#faq{scroll-margin-top:calc(var(--nav-h) + 24px)}
.faq-list{display:grid;gap:12px}
.faq-item{background:var(--paper);border:1px solid var(--line);border-radius:16px;overflow:hidden}
.faq-item summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:16px 24px;font-weight:700;font-size:18px;line-height:28px;min-height:48px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary .pm{flex:none;width:32px;height:32px;border-radius:50%;background:var(--accent-soft);color:var(--nav-accent);
  display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;transition:transform .3s var(--ease)}
.faq-item[open] summary .pm{transform:rotate(45deg)}
.faq-item .faq-a{padding:0 24px 24px;color:var(--text);font-size:16px;line-height:24px}

/* ---------- final CTA ---------- */
.final-section{padding-bottom:96px}
.final-cta{background:var(--ink);color:#fff;border-radius:24px;padding:64px 24px;
  text-align:center;position:relative;overflow:hidden}
.final-cta h2{color:#fff;margin-bottom:12px}
.final-cta p{color:#C9DCD2;max-width:560px;margin:0 auto 24px;font-size:18px;line-height:28px}
.final-cta .note{margin:16px auto 0;font-size:14px;line-height:20px;color:#9DB8AB}

/* ---------- footer ---------- */
.site-footer{background:var(--ink);color:#C9DCD2}
.site-footer .foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;padding:64px 0 40px}
.site-footer h4{color:#fff;margin-bottom:16px}
.site-footer .foot-about p{font-size:14px;line-height:20px;color:#A9C2B5}
.site-footer .brand{color:#fff;margin-bottom:12px}
.site-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.site-footer ul a{font-size:14px;line-height:20px;color:#C9DCD2;transition:color .3s var(--ease)}
.site-footer ul a:hover{color:#fff}
.foot-bottom{border-top:1px solid rgba(255,255,255,.12);padding:16px 0;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;font-size:14px;line-height:20px;color:#8FA89B}
.foot-bottom .slogan{font-weight:700;color:#fff}

/* ---------- responsive ---------- */
@media (max-height:800px){
  /* Short viewports (v10b probe: at 1358x700 the hero controls ended
     28px below the fold). Tighten the hero so headline + bird +
     controls all fit: smaller top clearance, smaller arch, tighter
     control gaps. The bird's face stays below the submenu bottom
     (~238px) and in the opposite column from the submenu anchor. */
  .hero-grid{padding-top:clamp(160px,22vh,190px);gap:24px}
  .hero-figures{width:min(460px,92%,48dvh)}
  .hero-controls{margin-top:8px}
  .strip{margin-top:8px}
  .dots{margin-top:8px}
}
@media (max-width:900px){
  .split{grid-template-columns:1fr}
  .split.flip>.split-media{order:0}
  .hero-grid{grid-template-columns:1fr;padding-top:120px;gap:24px}
  .hero-copy{order:1}
  .hero-stage{order:2}
  .hero-figures{width:min(420px,92%)}
  .hero-badge.b1{inset-inline-start:0}
  .hero-badge.b2{inset-inline-end:0}
  .station-grid{grid-template-columns:1fr;gap:24px}
  .steps{grid-template-columns:1fr}
  .limits-grid{grid-template-columns:1fr}
  .site-footer .foot-grid{grid-template-columns:1fr 1fr;gap:32px}
  .scroll-hint{display:none}
}
@media (max-width:560px){
  .site-footer .foot-grid{grid-template-columns:1fr}
  .section{padding:64px 0}
  .hero-grid{padding-top:104px}
  .hero-ctas .btn{width:100%}
  .strip-tab{min-height:44px}
  /* header flex overflows 390px with brand + CTA button + toggle:
     the button lives in the mobile panel too, so drop it here. */
  .btn-header{display:none}
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001s!important;transition-duration:.001s!important}
  .hero-pill{animation:none!important}
  html.js .reveal,html.js .reveal-group > *{opacity:1!important;transform:none!important}
  .vision-text .vw{color:var(--ink)!important}
  .vision-sub{opacity:1!important}
}

/* ================================================================
   v11 ADDITIONS — mega-menu, sound toggle, offer, countries,
   expressive faces + motion (character-audit §2–§3), per-platform
   hero effects, rich footer. Base file is the v10d stylesheet.
   ================================================================ */
.reassurance{margin-top:12px;color:var(--muted);font-size:14px;line-height:20px}
.hero-offer{margin-top:16px;color:var(--muted);max-width:680px}
.vision-cta{margin-top:24px;opacity:0;transition:opacity .5s var(--ease)}
.vision-cta.lit{opacity:1}
.station-card .reassurance{margin-bottom:4px}
.station-card .txt-link{margin-top:12px}
.btn-sm{min-height:40px;padding:6px 14px;font-size:14px;line-height:20px}

/* ---------- sound toggle (header) ---------- */
.sound-toggle{flex:none;width:44px;height:44px;border-radius:50%;border:1.5px solid var(--line);
  background:var(--paper);color:var(--ink2);display:inline-flex;align-items:center;justify-content:center;
  transition:transform .3s var(--ease),background-color .3s var(--ease),color .3s var(--ease)}
.sound-toggle:hover{background:var(--accent-soft);color:var(--nav-accent);transform:translateY(-2px)}
.sound-toggle[aria-pressed="false"]{opacity:.55}
.sound-toggle[aria-pressed="false"] .snd-waves{display:none}
.sound-toggle .snd-slash{display:none}
.sound-toggle[aria-pressed="false"] .snd-slash{display:block}

/* ---------- mega menu (HubSpot/Stripe/Zendesk pattern:
   grouped columns + one-line descriptions + featured offer panel) ---------- */
.nav-item.mega{position:static}
.mega-panel{position:absolute;top:84px;left:50%;z-index:95;
  width:min(920px,calc(100vw - 32px));
  display:grid;grid-template-columns:1fr 250px;gap:12px;
  padding:8px 14px;border-radius:20px;background:var(--paper);
  border:1px solid var(--line);box-shadow:var(--shadow);
  opacity:0;visibility:hidden;transform:translate(-50%,8px);
  transition:opacity .3s var(--ease),transform .3s var(--ease),visibility .3s;
  pointer-events:none}
.mega-panel::before{content:"";position:absolute;top:-14px;left:0;right:0;height:14px}
.nav-item:hover>.mega-panel,.nav-item:focus-within>.mega-panel,.nav-item.open>.mega-panel{
  opacity:1;visibility:visible;transform:translate(-50%,0);pointer-events:auto}
.mega-head{padding:2px 10px 6px;font-size:12px;line-height:16px;font-weight:700;color:var(--muted)}
.mega-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px}
.mega-grid a{display:flex;align-items:flex-start;gap:10px;padding:3px 10px;border-radius:10px;
  font-weight:700;font-size:14px;line-height:20px;color:var(--ink2);transition:background-color .3s var(--ease)}
.mega-grid a:hover{background:var(--bg);color:var(--ink)}
.mega-grid a .dot{width:12px;height:12px;border-radius:50%;flex:none;margin-top:4px;box-shadow:0 0 0 3px rgba(16,41,26,.06)}
.mega-grid a .svc-ic{flex:none;width:28px;height:28px;border-radius:8px;background:var(--accent-soft);
  color:var(--nav-accent);display:flex;align-items:center;justify-content:center}
.mega-grid a .mi{display:flex;flex-direction:column;min-width:0}
.mega-grid a .mi b{font-size:14px;line-height:20px}
.mega-grid a .mi i{font-style:normal;font-weight:400;font-size:12px;line-height:16px;color:var(--muted);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mega-offer{background:var(--ink);color:#fff;border-radius:16px;padding:12px;
  display:flex;flex-direction:column;gap:6px;justify-content:center}
.mega-offer-kicker{font-size:12px;line-height:16px;font-weight:700;color:var(--lime)}
.mega-offer b{font-size:15px;line-height:20px;white-space:nowrap}
.mega-offer span{font-size:12px;line-height:16px;color:#C9DCD2}
.mega-offer .btn{align-self:flex-start;margin-top:4px}
.m-offer{display:block;background:var(--ink);color:#fff;border-radius:16px;padding:16px;margin-bottom:12px}
.m-offer-kicker{display:block;font-size:12px;line-height:16px;font-weight:700;color:var(--lime);margin-bottom:4px}
.m-offer b{display:block;font-size:16px;line-height:24px}
.m-offer span{display:block;font-size:13px;line-height:18px;color:#C9DCD2;margin-top:4px}

/* ---------- offer section ---------- */
.offer-section{scroll-margin-top:calc(var(--nav-h) + 24px)}
.offer-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.offer-price{font-size:clamp(24px,3vw,32px);line-height:36px;font-weight:800;color:var(--brand);margin:16px 0}
.offer-fine{margin-top:16px;color:var(--muted)}
.offer-section .check-list{margin-top:8px}

/* ---------- countries marquee (verified data only, no count claim) ---------- */
#countries{scroll-margin-top:calc(var(--nav-h) + 24px)}
.countries-marquee{overflow:hidden;padding:8px 40px 20px;mask-image:linear-gradient(90deg,transparent,#000 30%,#000 70%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 30%,#000 70%,transparent)}
.countries-track{display:flex;gap:12px;width:max-content;animation:countries-scroll 75s linear infinite}
.countries-marquee:hover .countries-track{animation-play-state:paused}
@keyframes countries-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.country-chip{display:inline-flex;align-items:center;gap:10px;background:var(--paper);
  border:1px solid var(--line);border-radius:999px;padding:8px 16px 8px 10px;white-space:nowrap}
.country-chip img{width:32px;height:24px;object-fit:cover;border-radius:4px;flex:none}
.country-chip b{font-size:15px;line-height:20px;font-weight:700}

/* ---------- inbox bird (companion to the UI mockup) ---------- */
.inbox-bird{aspect-ratio:4/3;margin-top:16px;max-width:340px}
.inbox-bird img{object-fit:contain}

/* ---------- step dots ---------- */
.step-card p .dot{display:inline-block;width:12px;height:12px;border-radius:50%;vertical-align:middle}

/* ---------- footer: 5 columns (about + 4) + social + offer reminder ---------- */
.site-footer .foot-grid{grid-template-columns:1.35fr 1fr 1fr 1fr 1fr}
.foot-social{display:flex;gap:8px;margin:16px 0 4px}
.foot-social a{width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.25);
  display:flex;align-items:center;justify-content:center;color:#fff;transition:background-color .3s var(--ease),transform .3s var(--ease)}
.foot-social a:hover{background:rgba(255,255,255,.12);transform:translateY(-2px)}
.foot-offer{margin-top:12px;font-size:13px;line-height:20px;color:#C6F35C;font-weight:700}
.foot-bottom a{color:#fff;text-decoration:underline}

/* ---------- per-platform hero effects (transform/opacity only) ---------- */
.fx-layer{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:0;border-radius:24px}
.fx-p{position:absolute;will-change:transform,opacity;pointer-events:none}
.fx-bubble{width:14px;height:14px;border-radius:50%;background:#25D366;opacity:.55;animation:fx-rise 3.2s linear infinite}
.fx-bubble.b2{width:10px;height:10px;background:#1FAA53;animation-duration:2.6s}
.fx-bubble.b3{width:18px;height:18px;background:#7ED957;opacity:.4;animation-duration:3.8s}
@keyframes fx-rise{0%{transform:translateY(20px);opacity:0}15%{opacity:.55}100%{transform:translateY(-260px);opacity:0}}
.fx-ring{width:56px;height:56px;border-radius:50%;border:3px solid #0866FF;opacity:.5;animation:fx-pulse 2.4s ease-out infinite}
.fx-ring.r2{width:36px;height:36px;animation-delay:.8s}
.fx-ring.r3{width:76px;height:76px;animation-delay:1.6s;border-color:#5B9DFF}
@keyframes fx-pulse{0%{transform:scale(.4);opacity:.55}100%{transform:scale(1.5);opacity:0}}
.fx-blob{width:64px;height:64px;border-radius:50%;background:#FF0069;opacity:.35;filter:blur(2px);animation:fx-drift 5s ease-in-out infinite alternate}
.fx-blob.p2{background:#C13584;width:44px;height:44px;animation-duration:6.5s}
.fx-blob.p3{background:#FF7AB8;width:30px;height:30px;animation-duration:4.2s}
@keyframes fx-drift{from{transform:translate(0,0)}to{transform:translate(36px,-28px)}}
.fx-plane{font-size:0;animation:fx-glide 3.6s ease-in-out infinite}
.fx-plane svg{display:block;filter:drop-shadow(0 6px 10px rgba(38,165,228,.45))}
@keyframes fx-glide{0%{transform:translate(-30px,26px) rotate(8deg);opacity:0}15%{opacity:1}80%{opacity:1}100%{transform:translate(300px,-60px) rotate(8deg);opacity:0}}
.fx-note{font-size:26px;font-weight:700;color:#FE2C55;animation:fx-rise 2.8s linear infinite}
.fx-note.c{color:#25F4EE}
.fx-note.n2{font-size:20px;animation-duration:3.4s}
.fx-note.n3{font-size:32px;animation-duration:2.4s}
.stage.dark .fx-note{color:#FE2C55}
.stage.dark .fx-note.c{color:#25F4EE}

/* ---------- expressive faces + motion (character-audit §2–§3) ---------- */
.hero-figures .plate.is-on{animation:plate-enter .45s cubic-bezier(.2,.7,.2,1)}
@keyframes plate-enter{from{transform:translateY(14px) rotate(-2deg) scale(1.03)}to{transform:translateY(0) rotate(0) scale(1)}}
.hero-figures[data-platform="telegram"] .plate.is-on{animation-name:plate-hop}
.hero-figures[data-platform="tiktok"] .plate.is-on{animation-name:plate-hop-big}
.hero-figures[data-platform="instagram"] .plate.is-on{animation-name:plate-bounce}
@keyframes plate-hop{0%{transform:translateY(14px) rotate(-2deg)}40%{transform:translateY(-14px) rotate(-2deg)}100%{transform:translateY(0) rotate(0)}}
@keyframes plate-hop-big{0%{transform:translateY(14px) rotate(2deg)}40%{transform:translateY(-14px) rotate(3deg)}100%{transform:translateY(0) rotate(0)}}
@keyframes plate-bounce{0%{transform:translateY(14px)}45%{transform:translateY(-8px)}100%{transform:translateY(0)}}
.plate.blink img{animation:blink-bob .12s ease}
@keyframes blink-bob{0%{transform:scaleY(1)}50%{transform:scaleY(.985);filter:brightness(.96)}100%{transform:scaleY(1)}}
.hero-figures:hover .plate.is-on img{animation:wave-bob .5s ease 2;transform-origin:var(--wave-origin,50% 55%)}
@keyframes wave-bob{0%,100%{transform:rotate(0)}50%{transform:rotate(3deg)}}
/* v11d group slide (22:55): the 5 hero plates as one team row — the flat
   face is cancelled and the dedicated group image was blocked, so the
   row is built from the 5 transparent plates (all limbs-compliant). */
.hero-figures .group-plate{display:flex;align-items:flex-end;justify-content:center;left:-36%;right:-24%}
.hero-figures .group-plate img{width:40%;height:auto;flex:none;margin-inline:-12.5%;object-fit:contain;position:relative}
.hero-figures .group-plate img:nth-child(1){z-index:1}
.hero-figures .group-plate img:nth-child(2){z-index:2}
.hero-figures .group-plate img:nth-child(3){z-index:3}
.hero-figures .group-plate img:nth-child(4){z-index:2}
.hero-figures .group-plate img:nth-child(5){z-index:1}
/* header fix (22:56): the pill content (brand 259 + nav 602 + cta 393 =
   1286px) overflowed its 1200px container at 1024-1400px and the CTA
   was cut off ("ابدأ دلو" at 1366px); the EN brand also overflowed
   390px. Widen the header container, and show only the logo on phones. */
.site-header .container{width:min(1360px,calc(100% - 24px))}
@media (max-width:560px){.site-header .brand-text{display:none}}
.hero-figures .plate img{transform-origin:50% 28%}
.greet-img.in-view img{animation:greet-wave .7s var(--ease) 1;transform-origin:var(--wave-origin,50% 55%)}
@keyframes greet-wave{0%{transform:rotate(0)}30%{transform:rotate(-3deg)}60%{transform:rotate(3deg)}100%{transform:rotate(0)}}
.offer-img.in-view img{animation:offer-bounce 1.5s ease 1;transform-origin:50% 58%}
@keyframes offer-bounce{0%,100%{transform:translateY(0) scale(1)}20%{transform:translateY(-10px) scale(1.02)}40%{transform:translateY(0)}60%{transform:translateY(-10px) scale(1.02)}80%{transform:translateY(0)}}

/* ---------- responsive (v11) ---------- */
@media (max-width:900px){
  .offer-grid{grid-template-columns:1fr}
  .site-footer .foot-grid{grid-template-columns:1fr 1fr;gap:32px}
  .mega-panel{display:none}
}
@media (max-width:560px){
  .site-footer .foot-grid{grid-template-columns:1fr}
  .country-chip img{width:28px;height:21px}
}
@media (max-height:800px){
  .mega-panel{padding:8px 12px;gap:12px}
  .mega-grid a{padding:4px 8px}
  .mega-offer{padding:12px}
  .mega-offer b{font-size:15px;line-height:20px}
}

/* ---------- reduced motion: motion off, content fully visible ---------- */
@media (prefers-reduced-motion:reduce){
  .countries-track{animation:none!important;flex-wrap:wrap;width:auto}
  .fx-layer{display:none}
  .hero-figures .plate.is-on,.greet-img.in-view img,.offer-img.in-view img{animation:none!important}
  .hero-figures:hover .plate.is-on img{animation:none!important}
  .vision-cta{opacity:1!important}
}

/* ================================================================
   v11b FIX — mobile hero overflow (probe 26/11: at 390x844 the
   hero-layer content was 1211px in an 844px stage; justify-content:
   center pushed the grid to top -183px, H1 top -21px — the first
   headline line clipped under the fixed header (bottom 84px) — and
   the hero controls ended at bottom 1027px, below the fold).
   Fix: top-align the layer on the single-column breakpoint, shrink
   the H1 line-height (the 60px fixed line-height was the biggest
   waste: each headline line wrapped to 2 visual lines x 60px),
   put the CTAs in one row, shrink the plate, tighten all hero gaps.
   The offer line is hidden at <=560px only — it repeats the offer
   section / mega-menu / mobile-panel offer verbatim.
   Desktop (>=901px) is untouched by this block.
   ================================================================ */
@media (max-width:900px){
  .hero-layer{justify-content:flex-start}
  .hero-grid{padding-top:96px;padding-bottom:8px;gap:16px}
  .hero-copy h1{font-size:clamp(28px,7.2vw,34px);line-height:1.3;margin:12px 0}
  .hero-copy .hero-tagline{margin-top:8px}
  .hero-copy .hero-ctas{margin-top:12px;gap:12px}
  .hero-copy .hero-ctas .btn{width:auto}
  .hero-copy .hero-offer{margin-top:8px}
  .hero-figures{width:min(440px,82vw,40dvh)}
  .hero-controls{margin-top:8px}
  .hero-controls .strip{margin-top:8px}
  .hero-controls .dots{margin-top:8px}
}
@media (max-width:560px){
  .hero-copy .hero-offer{display:none}
  .hero-figures{width:min(320px,80vw,36dvh)}
  .hero-controls .strip-tab{min-height:40px;padding:6px 12px}
  .hero-controls .rail-btn{width:44px;height:44px}
}
@media (max-height:520px){
  /* Short landscape (844x390): plate + tagline + strip + dots cannot
     fit in 390px at all — keep tile, headline, sub, CTAs and the
     prev/next rail only. Must come AFTER the max-height:800 block
     above (its clamp(180px,...) padding-top would apply here) and
     after the max-width blocks (their 96px padding-top). */
  .hero-grid{padding-top:88px;padding-bottom:8px;gap:12px}
  .hero-copy h1{font-size:28px;line-height:1.3}
  .hero-stage{display:none}
  .hero-copy .hero-tagline,.hero-copy .hero-offer{display:none}
  .hero-controls .strip,.hero-controls .dots{display:none}
}

/* ================================================================
   v11c ADDITIONS
   - Dark theme via [data-theme="dark"] custom properties (item 18)
   - Platform tabs (item 6), 3D integration tiles (item 9),
     login switcher (item 15), partners marquee (item 16),
     offer confetti (item 13), guard demo (item 7), header
     toggles + brand tagline (items 18/19), mega-offer light (17),
     section hooks, short-viewport 1440x900 tightening (polish).
   ================================================================ */
.section-hook{font-size:20px;line-height:30px;font-weight:700;color:var(--ink);margin:12px 0 0}
.brand-text{font-size:17px;line-height:24px;font-weight:800;white-space:nowrap}
@media (max-width:560px){.brand-text{font-size:14px}}
.lang-toggle,.theme-toggle{flex:none;height:44px;border-radius:999px;border:1.5px solid var(--line);
  background:var(--paper);color:var(--ink2);display:inline-flex;align-items:center;justify-content:center;
  transition:transform .3s var(--ease),background-color .3s var(--ease),color .3s var(--ease);font-weight:700}
.lang-toggle{padding:0 14px;font-size:14px;line-height:20px;min-width:76px}
.theme-toggle{width:44px}
.lang-toggle:hover,.theme-toggle:hover{background:var(--accent-soft);color:var(--nav-accent);transform:translateY(-2px)}
.theme-toggle .ic-sun{display:none}
[data-theme="dark"] .theme-toggle .ic-sun{display:block}
[data-theme="dark"] .theme-toggle .ic-moon{display:none}
@media (max-width:1020px){.site-header .lang-toggle{display:none}}
@media (max-width:560px){.site-header .theme-toggle{display:none}}
.panel-tools{display:flex;gap:10px;padding:2px 0 12px}
.panel-tools .lang-toggle{flex:1;justify-content:center}

/* ---------- dark theme (item 18): full custom-property swap ---------- */
[data-theme="dark"]{
  --ink:#EAF4EE; --ink2:#C9DCD2; --text:#B9CFC2; --muted:#8FA89B;
  --line:#243B30; --bg:#0E1F16; --paper:#14291E;
  --brand:#1FAA53; --brand2:#2BCB6B; --lime:#C6F35C; --lime2:#A9DD3A;
  --char-bg:#1B3327; --accent:#1FAA53; --accent-soft:#1B3327; --accent-ink:#EAF4EE;
  --nav-accent:#7ED957; --hero-field:#123524;
  --shadow:0 24px 60px rgba(0,0,0,.45); --shadow-sm:0 10px 30px rgba(0,0,0,.35);
}
[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
[data-theme="dark"] .site-header .container{background:rgba(20,41,30,.88);border-color:var(--line)}
[data-theme="dark"] .site-header.scrolled .container{background:rgba(20,41,30,.97)}
[data-theme="dark"] .brand-text{color:var(--ink)}
[data-theme="dark"] .nav-link{color:var(--ink2)}
[data-theme="dark"] .nav-link:hover,.nav-item.open>.nav-link,.nav-item:focus-within>.nav-link{background:var(--accent-soft)}
[data-theme="dark"] .mega-panel{background:var(--paper);border-color:var(--line)}
[data-theme="dark"] .mega-grid a{color:var(--ink2)}
[data-theme="dark"] .mega-grid a:hover{background:var(--bg);color:var(--ink)}
[data-theme="dark"] .mega-grid a .mi i{color:var(--muted)}
[data-theme="dark"] .mega-offer{background:transparent;border:1px solid var(--line);color:var(--ink)}
[data-theme="dark"] .mega-offer span{color:var(--muted)}
[data-theme="dark"] .mobile-panel{background:var(--paper)}
[data-theme="dark"] .m-offer{background:transparent;color:var(--ink)}
[data-theme="dark"] .m-offer span{color:var(--muted)}
[data-theme="dark"] .m-acc-btn{color:var(--ink)}
[data-theme="dark"] .m-acc-body a{color:var(--ink2)}
[data-theme="dark"] .m-acc-body a:hover{background:var(--bg)}
[data-theme="dark"] .panel-close{background:var(--paper);color:var(--ink)}
[data-theme="dark"] .hero-copy .platform-tile{background:rgba(20,41,30,.75);border-color:rgba(255,255,255,.14);color:var(--ink)}
[data-theme="dark"] .strip-tab{background:rgba(20,41,30,.7);border-color:rgba(255,255,255,.16);color:var(--ink2)}
[data-theme="dark"] .strip-tab.active{background:var(--ink);color:#0E1F16;border-color:var(--ink)}
[data-theme="dark"] .rail-btn{background:rgba(20,41,30,.85);border-color:rgba(255,255,255,.2);color:var(--ink)}
[data-theme="dark"] .rail-count{color:var(--ink)}
[data-theme="dark"] .hero-badge{background:rgba(20,41,30,.92);border-color:var(--line);color:var(--ink)}
[data-theme="dark"] .vision-text .vw{color:rgba(234,244,238,.3)}
[data-theme="dark"] .vision-text .vw.lit{color:var(--ink)}
[data-theme="dark"] .glass-card{background:rgba(20,41,30,.62);border-color:rgba(255,255,255,.16)}
[data-theme="dark"] .check-list li::before{background-color:#14532D}
[data-theme="dark"] .station-list .s-ic{background:var(--nav-accent);color:#0E1F16}
[data-theme="dark"] .p-card,[data-theme="dark"] .plat-panel,[data-theme="dark"] .int-card,[data-theme="dark"] .step-card,[data-theme="dark"] .faq-item{background:var(--paper);border-color:var(--line)}
[data-theme="dark"] .limit-card{background:var(--bg)}
[data-theme="dark"] .limit-card.warn{background:#3A2F10;border-color:#6B5A1D}
[data-theme="dark"] .limit-card.warn b,[data-theme="dark"] .limit-card.warn p{color:#F5D67A}
[data-theme="dark"] .chat-mock{background:#0A1A12}
[data-theme="dark"] .guard-demo{background:var(--paper);border-color:var(--line)}
[data-theme="dark"] .gd-order{color:var(--text)}
[data-theme="dark"] .btn-ghost{background:var(--paper);color:var(--ink)}
[data-theme="dark"] .btn-dark{background:#EAF4EE;color:#0E1F16}
[data-theme="dark"] .login-tab{background:var(--paper);border-color:var(--line);color:var(--ink)}
[data-theme="dark"] .login-tab.active{background:var(--ink);color:#0E1F16;border-color:var(--ink)}
[data-theme="dark"] .provider{background:var(--paper);border-color:var(--line)}
[data-theme="dark"] .txt-link{color:var(--ink)}
[data-theme="dark"] .section.alt{background:var(--paper)}
[data-theme="dark"] #positioning{box-shadow:0 -30px 60px rgba(0,0,0,.4)}
[data-theme="dark"] .offer-price{color:#7ED957}
[data-theme="dark"] .final-cta{background:#0A1A12}
[data-theme="dark"] .site-footer{background:#0A1A12}
[data-theme="dark"] .country-chip,[data-theme="dark"] .partner-chip{background:var(--paper);border-color:var(--line)}
[data-theme="dark"] .partner-chip img{filter:none;opacity:1}
[data-theme="dark"] .brand-tile:not(.tile-dark){background:linear-gradient(145deg,#FFFFFF,#E8EFEA)}
[data-theme="dark"] .brand-tile.tile-dark{background:linear-gradient(145deg,#3B2A5D,#241640)}
[data-theme="dark"] .foot-wa{color:#7ED957}
[data-theme="dark"] .stage{background:var(--hero-field)}
[data-theme="dark"] .stage-field{background:var(--hero-field)}
/* English: Manrope first */
[lang="en"] body{font-family:'Manrope','Tajawal',sans-serif}
[lang="en"] .brand-text{font-size:15px}
[dir="ltr"] .arr{display:inline-block;transform:scaleX(-1)}
[dir="ltr"] .rail-btn{transform:scaleX(-1)}
[dir="ltr"] .rail-btn:hover{transform:scaleX(-1) translateY(-2px)}

/* ---------- mega-offer light panel (item 17) ---------- */
.mega-offer{background:transparent;color:var(--ink);border:1px solid var(--line)}
.mega-offer span{color:var(--muted)}
.mega-offer-kicker{color:var(--brand)}
.mega-offer img{width:160px;height:160px;object-fit:contain;align-self:center}
.mega-offer b{white-space:normal}
.m-offer{background:transparent;color:var(--ink);border:1px solid var(--line)}
.m-offer span{color:var(--muted)}
.m-offer-kicker{color:var(--brand)}
.m-offer img{width:132px;height:132px;object-fit:contain;display:block;margin:0 auto 4px}

/* ---------- platform tabs (item 6): compact, no scrolling ---------- */
.plat-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.plat-tab{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:999px;min-height:48px;
  border:1.5px solid var(--line);background:var(--paper);font-weight:700;font-size:15px;line-height:22px;color:var(--ink2);
  transition:background-color .3s var(--ease),color .3s var(--ease),border-color .3s var(--ease),transform .3s var(--ease)}
.plat-tab:hover{transform:translateY(-2px);border-color:var(--nav-accent)}
.plat-tab .dot{width:12px;height:12px;border-radius:50%;flex:none}
.plat-tab.active{background:var(--ink);color:#fff;border-color:var(--ink)}
[data-theme="dark"] .plat-tab.active{background:var(--ink);color:#0E1F16;border-color:var(--ink)}
.plat-panels{position:relative}
.plat-panel{display:none;grid-template-columns:minmax(0,300px) 1fr;gap:28px;align-items:center;
  background:var(--paper);border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:var(--shadow-sm)}
.plat-panel.active{display:grid;animation:panel-in .4s var(--ease)}
@keyframes panel-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.plat-panel .thumb{aspect-ratio:1/1;background:var(--char-bg);overflow:hidden}
.plat-panel .thumb img{width:100%;height:100%;object-fit:cover;object-position:center 22%}
.plat-panel .p-body{padding:32px;display:flex;flex-direction:column;gap:10px;justify-content:center}
.plat-panel .p-body p{color:var(--text)}
.plat-panel .txt-link{align-self:flex-start}
@media (max-width:700px){
  .plat-panel{grid-template-columns:1fr}
  .plat-panel .thumb{aspect-ratio:1/1}
  .plat-panel .thumb img{object-fit:contain;object-position:center}
  .plat-panel .p-body{padding:0 24px 24px}
  .plat-tab{padding:8px 14px;min-height:44px;font-size:14px}
}

/* ---------- guard demo (item 7) ---------- */
.guard-item{background:var(--accent-soft);border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin-inline:-14px}
.guard-item .guard-ic{flex:none;display:flex;align-items:center;margin-top:2px}
.check-list li.guard-item::before{display:none}
.guard-demo{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:20px;margin-top:16px;box-shadow:var(--shadow-sm)}
.gd-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.gd-title{font-weight:800;font-size:17px;line-height:24px}
.gd-badge{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:13px;line-height:20px;color:var(--muted)}
.gd-badge .dot{width:10px;height:10px;border-radius:50%}
.gd-q{font-weight:700;font-size:18px;line-height:26px;margin-bottom:4px}
.gd-order{color:var(--text);font-size:15px;line-height:22px;margin-bottom:16px}
.gd-btns{display:flex;flex-wrap:wrap;gap:10px}
.gd-result{margin-top:14px;font-weight:700;font-size:15px;line-height:22px;min-height:22px}
.gd-result.ok{color:var(--brand)}
.gd-result.no{color:var(--muted)}
.gd-note{margin-top:8px;color:var(--muted);font-size:13px;line-height:19px}

/* ---------- 3D integration tiles (item 9) ---------- */
.int-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px}
.int-card{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:20px;
  display:flex;flex-direction:column;align-items:flex-start;gap:10px;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s var(--ease)}
/* .int-card:hover removed (UI/UX audit 2026-11-27): the tiles are inert (no link/action), so a hover lift falsely promises a tap. */
.brand-tile{width:72px;height:72px;border-radius:18px;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(145deg,#FFFFFF,#E8EFEA);
  box-shadow:0 10px 20px rgba(16,41,26,.16),inset 0 2px 0 rgba(255,255,255,.9),inset 0 -3px 6px rgba(16,41,26,.08);
  transform:perspective(300px) rotateX(6deg) rotateY(-6deg);
  transition:transform .3s var(--ease)}

.brand-tile svg{width:52px;height:52px;display:block}
.int-card--wide .brand-tile{width:100%;height:64px}
.int-card--wide .brand-tile svg{width:auto;height:40px;max-width:calc(100% - 20px)}
.brand-tile img{width:52px;height:52px;object-fit:contain}
.brand-tile.tile-dark{background:linear-gradient(145deg,#4C1D95,#2E1065);
  box-shadow:0 10px 20px rgba(76,29,149,.35),inset 0 2px 0 rgba(255,255,255,.25),inset 0 -3px 6px rgba(0,0,0,.3)}
.int-card b{display:block;font-size:17px;line-height:24px}
.int-card span{color:var(--muted);font-size:14px;line-height:20px}

/* ---------- login switcher (item 15) ---------- */
.login-switch{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.login-tab{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;border-radius:999px;min-height:48px;
  background:var(--paper);border:1.5px solid var(--line);font-weight:700;font-size:16px;line-height:24px;color:var(--ink);
  transition:transform .3s var(--ease),border-color .3s var(--ease),background-color .3s var(--ease),color .3s var(--ease)}
.login-tab:hover{transform:translateY(-2px);border-color:var(--nav-accent)}
.login-tab.active{background:var(--ink);color:#fff;border-color:var(--ink)}
.login-tab .pdot{width:12px;height:12px;border-radius:50%;flex:none}
.login-desc{margin-top:16px;color:var(--text)}
.login-frame{position:relative}
.login-plate{position:absolute;inset:0;opacity:0;transition:opacity .5s var(--ease)}
.login-plate.is-on{opacity:1;position:relative}
.login-frame picture,.login-frame img{width:100%;height:100%;object-fit:contain;display:block}

/* ---------- comments 3D (item 10) ---------- */
.tilt-3d{position:relative;transform:perspective(900px) rotateY(-6deg) rotateX(3deg);transition:transform .5s var(--ease)}
.tilt-3d:hover{transform:perspective(900px) rotateY(0) rotateX(0)}
.tilt-3d .float-heart{position:absolute;top:12%;inset-inline-end:10%;font-size:26px;color:#FF0069;animation:fx-rise 3s linear infinite;z-index:2}
.tilt-3d .float-heart.h2{top:60%;inset-inline-end:70%;font-size:20px;color:#DD2A7B;animation-duration:3.8s}
#comments .split-media{display:grid;gap:16px}
#comments .chat-mock{margin-top:0}
#comments .split-media{position:relative}
#comments .split-media .media-frame.tall{position:relative;z-index:2;margin-bottom:-140px;width:85%;margin-inline:auto}
#comments .split-media .media-frame.tall img{filter:drop-shadow(0 16px 18px rgba(16,41,26,.25))}
#comments .chat-mock{position:relative;z-index:1}
@media (max-width:560px){#comments .split-media .media-frame.tall{margin-bottom:-90px}}

/* ---------- linking platform colors (item 14) ---------- */
.step-card{border-top:4px solid var(--line)}
.step-wa{border-top-color:#25D366;background:linear-gradient(180deg,#E5FAED,transparent 55%)}
.step-fb{border-top-color:#0866FF;background:linear-gradient(180deg,#E1EDFF,transparent 55%)}
.step-tt{border-top-color:#FE2C55;background:linear-gradient(180deg,#FFE0E6,transparent 55%)}
.step-tg{border-top-color:#26A5E4;background:linear-gradient(180deg,#E5F4FC,transparent 55%)}
[data-theme="dark"] .step-wa{background:linear-gradient(180deg,rgba(37,211,102,.14),transparent 60%)}
[data-theme="dark"] .step-fb{background:linear-gradient(180deg,rgba(8,102,255,.16),transparent 60%)}
[data-theme="dark"] .step-tt{background:linear-gradient(180deg,rgba(254,44,85,.14),transparent 60%)}
[data-theme="dark"] .step-tg{background:linear-gradient(180deg,rgba(38,165,228,.14),transparent 60%)}
.step-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.step-logo{flex:none;width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-sm)}
.step-logo svg{width:28px;height:28px;display:block}

/* ---------- offer confetti (item 13) ---------- */
.offer-img{position:relative;overflow:hidden}
.offer-confetti{position:absolute;inset:0;pointer-events:none;z-index:2;overflow:hidden}
.confetti-bit{position:absolute;top:-12px;width:9px;height:14px;border-radius:2px;opacity:.9;
  animation:confetti-fall linear infinite}
@keyframes confetti-fall{0%{transform:translateY(-16px) rotate(0)}100%{transform:translateY(560px) rotate(540deg);opacity:.7}}

/* ---------- partners marquee (item 16) ---------- */
.partners-section{padding-top:80px}
.partners-marquee{overflow:hidden;padding:8px 40px 20px;mask-image:linear-gradient(90deg,transparent,#000 30%,#000 70%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 30%,#000 70%,transparent)}
.partners-track{display:flex;gap:16px;width:max-content;align-items:stretch;animation:partners-scroll 40s linear infinite}
.partners-marquee:hover .partners-track{animation-play-state:paused}
@keyframes partners-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.partner-chip{display:inline-flex;align-items:center;justify-content:center;background:var(--paper);
  border:1px solid var(--line);border-radius:16px;padding:12px 20px;width:200px;height:96px;flex:none}
.partner-chip img{max-height:56px;max-width:200px;width:auto;height:auto;object-fit:contain;filter:none;opacity:1;transition:filter .3s var(--ease),opacity .3s var(--ease)}
.partner-chip:hover img{filter:none;opacity:1}

/* ---------- footer rights (D3) ---------- */
.rights-line{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.foot-wa{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;
  color:#25D366;background:rgba(37,211,102,.14);text-decoration:none!important;flex:none}
.foot-wa:hover{background:rgba(37,211,102,.28);transform:translateY(-1px)}

/* ---------- limit-card platform icons (item 12) ---------- */
.limit-card .limit-ic{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;margin-bottom:10px}
.limit-card .limit-ic svg{display:block}


/* ---------- short-viewport tightening, 1440x900 (polish) ---------- */
@media (max-height:920px) and (min-width:901px){
  .hero-grid{padding-top:clamp(170px,22vh,200px);gap:24px}
  .hero-figures{width:min(520px,88%,52dvh)}
  .hero-controls{margin-top:8px}
  .strip{margin-top:8px}
  .dots{margin-top:8px}
  .hero-copy h1{font-size:clamp(34px,4.4vw,54px);line-height:1.15}
}
@media (prefers-reduced-motion:reduce){
  .partners-track{animation:none!important;flex-wrap:wrap;width:auto}
  .confetti-bit{animation:none!important;display:none}
  .plat-panel.active{animation:none}
  .tilt-3d{transform:none}
}

/* v11c fix (2026-11-26): hero hook exactly 2 lines at 1920px (AR) —
   H1 capped at 54px (was 60) + wider copy column; EN gets a smaller H1
   and a wider column so its longer hook fits 2 lines too. Scoped to
   desktop so the mobile/landscape rules above keep winning. */
@media (min-width:901px){
  .hero-grid{grid-template-columns:0.85fr 1.15fr}
  .hero-copy h1{font-size:clamp(38px,4.4vw,54px);line-height:1.12}
  [lang="en"] .hero-grid{grid-template-columns:1fr 1.15fr}
  [lang="en"] .hero-copy h1{font-size:clamp(30px,2.6vw,42px);line-height:1.15}
}

/* ================================================================
   v11e ADDITIONS
   - Group slide: 5 big overlapping characters (B1/B12/G1). Desktop
     plate is 160% of the figure, shifted left so bird pixels stay
     clear of the copy column; tablet 160%, mobile 120%.
   - Pills live in padding bands above/below the figure (C): they
     can never touch a character on any slide.
   - Header fits with the fallback font too (H1): hamburger <=1440,
     tighter gaps/padding <=1600.
   - Partners: name under the logo on hover (B6); footer centred
     <=1024px (G3); hero tab strip wraps instead of cutting the last
     tab (C); dark-mode contrast nits (C).
   ================================================================ */
@media (max-width:900px){.hero-figures .group-plate{left:-30%;right:-30%}}
@media (max-width:560px){.hero-figures .group-plate{left:-10%;right:-10%}}
@media (max-height:800px){.hero-stage{padding:26px 0}}
/* dark-slide contrast nits (C): the "— Platforms" eyebrow was near-black on the
   dark green field in dark mode. ROOT CAUSE (found by live probe): the hero
   slide logic sets --nav-accent INLINE on :root to the current slide's
   accent (JS line ~151), which pins the platforms kicker (color:
   var(--nav-accent)) to dark green #006E21 in dark mode — the stylesheet
   [data-theme="dark"]{--nav-accent:#7ED957} never wins over an inline
   style, and .stage.dark .kicker matches nothing (no .kicker lives inside
   .stage). Fix: a direct colour rule on the kicker itself, which bypasses
   the inline variable entirely. */
[data-theme="dark"] .kicker{color:#7ED957}
[data-theme="dark"] .kicker::before{background:#7ED957}
/* scroll-hint was covering the "next" rail button (found by live probe):
   #scrollHint is absolute bottom:48px inset-inline-end:32px — the same
   corner as #heroNext — with pointer-events:auto, so at slide 1 / page
   top elementFromPoint at the button centre returned the hint SPAN and a
   real click never reached the button (Playwright retried 30s, then
   scrolled the page trying to uncover it). The hint is non-interactive
   text, so it must never intercept pointer events. */
.scroll-hint{pointer-events:none}
.stage.dark .hero-badge{background:rgba(24,24,24,.88);color:#fff;border-color:rgba(255,255,255,.22)}
[data-theme="dark"] .gd-badge{color:var(--ink2)}
/* partners: name under the logo on hover (B6) */
.partner-chip{flex-direction:column;gap:4px;height:112px}
.partner-name{display:block;font-size:13px;line-height:18px;font-weight:700;color:var(--ink2);opacity:0;transition:opacity .3s var(--ease)}
.partner-chip:hover .partner-name,.partner-chip:focus-visible .partner-name{opacity:1}
/* header: fit with the fallback font too (H1) */
@media (max-width:1600px){.site-header .container{gap:10px;padding:0 12px}.nav-link{padding:8px 9px}.brand-text{font-size:16px}.header-cta{gap:6px}}
/* hero tab strip: shrink, then wrap — the last tab is never half-cut (C) */
@media (max-width:900px){.strip-tab{padding:6px 12px;font-size:13px;min-height:40px}}
@media (max-width:560px){.hero-controls .strip{flex-wrap:wrap;overflow-x:visible}.hero-controls .strip-tab{flex:1 1 auto;justify-content:center}}
/* footer: copyright + slogan centred on mobile/tablet, desktop unchanged (G3) */
@media (max-width:1024px){.foot-bottom{flex-direction:column;justify-content:center;text-align:center;gap:8px}.foot-bottom .rights-line{justify-content:center;width:100%}.foot-bottom .slogan{width:100%;text-align:center}}

/* ================================================================
   v11f ADDITIONS
   - D1 Zid: 52x52 «زد» letter tile (HTML swap; reuses .brand-tile
     svg 52x52 + inline gradient, exactly like Woo/Wix).
   - D2 green scroll bar DELETED (HTML + CSS + JS) — 0 bar / 0 green line left.
   - D3 marquee edges: 20% fade + 28px side padding (rules above).
   - Header: full menu at 1366/1280 + landscape (hamburger <=1023,
     compact <=1440 so the fallback font still fits cold).
   - Landscape hero: 2-col grid, character visible beside the copy
     (the old max-height:520 block hid .hero-stage entirely — S1).
   - Light palette deeper (dark untouched — see :root changes above
     + light-only data-field values + the :not(dark) glow below).
   - Character names: tile pill (solo slides) + group-names row
     (slide 0, all five names).
   ================================================================ */
/* character names: solo name in the slide pill, all five on group slide */
.platform-tile .tile-sep{color:var(--muted);font-weight:700}
/* #heroTileChar has NO colour rule of its own: the .name-* class set by
   renderSlideCopy owns its colour (an ID rule would beat the class). */
.group-names{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:16px}
.group-names[hidden]{display:none}
.gn-label{font-weight:700;font-size:14px;line-height:20px;color:var(--muted)}
.gn-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.75);border:1px solid rgba(16,41,26,.10);font-weight:700;font-size:14px;line-height:20px;color:var(--ink2)}
.gn-chip .dot{width:10px;height:10px;border-radius:50%;flex:none}
/* 2026-11-27: TikTok dots are inline black (#000000) — invisible on dark
   discs/menus. In dark mode every black .dot becomes light grey. The
   !important is required to beat the inline style attribute. */
[data-theme="dark"] .dot[style="background:#000000"]{background:#EDEDED !important}
[data-theme="dark"] .gn-chip{background:rgba(20,41,30,.72);color:#fff;border-color:rgba(255,255,255,.20)}
[data-theme="dark"] .gn-label{color:#C9DCD2}
/* light stage glow: richer (dark untouched — default theme has no
   data-theme attr, so :not([data-theme="dark"]) matches light only) */
html:not([data-theme="dark"]) .hero-figures::before{opacity:.34}
/* header compact <=1440 — fits with the FALLBACK font too (cold load):
   smaller nav/brand, tighter toggles, login link stays in the panel */
@media (max-width:1440px){
  .site-header .container{gap:8px;padding:0 10px}
  .brand img{width:40px;height:40px}
  .brand-text{font-size:15px}
  .nav-link{padding:7px 7px;font-size:15px}
  .header-cta .login-link{display:none}
  .lang-toggle{min-width:64px;padding:0 10px}
  .btn-header{padding:8px 10px}
  .header-cta{gap:6px}
}
/* landscape phones/tablets (short height, width >=700): FULL MENU, not
   hamburger. Comes AFTER the <=1023 hamburger rule, so it wins where
   both apply. Brand tagline + lang toggle hide to make room; all 6
   nav links stay visible. */
@media (max-height:540px) and (min-width:700px){
  .main-nav{display:flex}
  .nav-toggle{display:none}
  .site-header .brand-text{display:none}
  .site-header .lang-toggle{display:none}
  .header-cta .login-link{display:none}
  .site-header{top:8px}
  .site-header .container{min-height:56px;gap:6px;padding:0 10px}
  .brand img{width:36px;height:36px}
  .nav-link{padding:6px 6px;font-size:13px;line-height:20px}
  .theme-toggle,.sound-toggle{width:38px;height:38px}
  .btn-header{padding:6px 10px;min-height:38px;font-size:13px}
}
/* landscape hero: 2-col grid, character BESIDE the copy — the old
   max-height:520 block set .hero-stage{display:none}, which is why
   S1 showed text only with an empty stage. Comes AFTER that block
   (and after the <=900 single-column rules), so it wins. Badges hide
   (no padding band left for them); strip/dots stay hidden; the
   character name still shows in the slide pill. */
@media (max-height:540px) and (min-width:700px){
  .hero-grid{grid-template-columns:1fr 1fr;padding-top:72px;padding-bottom:4px;gap:16px}
  .hero-stage{display:flex;padding:8px 0}
  .hero-figures{width:min(280px,94%,58dvh)}
  .hero-copy h1{font-size:24px;line-height:1.25;margin:8px 0}
  .hero-copy .sub{font-size:14px;line-height:20px}
  .hero-copy .hero-tagline,.hero-copy .hero-offer{display:none}
  .hero-copy .hero-ctas{margin-top:12px;gap:12px}
  .hero-badge{display:none}
  .hero-controls{margin-top:6px}
  .hero-controls .rail-btn{width:44px;height:44px}
  .hero-controls .strip,.hero-controls .dots{display:none}
  .group-names{margin-top:10px}
  .gn-chip{padding:4px 10px;font-size:12px;line-height:18px}
  .gn-label{display:none}
}

.hero-figures .group-plate.group-arc{display:block;left:0;right:0}
@media (max-width:900px){.hero-figures .group-plate.group-arc{left:0;right:0}}
@media (max-width:560px){.hero-figures .group-plate.group-arc{left:0;right:0}}
.group-arc .arc-char{position:absolute;aspect-ratio:1/1}
.group-arc .arc-char picture,.group-arc .arc-char img{width:100%;height:100%;margin-inline:0;object-fit:contain;display:block}
.group-arc .arc-whatsapp{left:1%;bottom:1%;height:30%;z-index:1;--badge-x:0%;--badge-y:18%;--name-x:20%}
.group-arc .arc-messenger{left:0%;bottom:35%;height:28%;z-index:2;--badge-x:0%;--badge-y:15%;--name-x:50%}
.group-arc .arc-instagram{left:27.75%;bottom:59%;height:44.5%;z-index:4;--badge-x:100%;--badge-y:18%}
.group-arc .arc-telegram{right:0%;bottom:35%;height:28%;z-index:2;--badge-x:100%;--badge-y:45%;--name-x:50%}
.group-arc .arc-tiktok{right:1%;bottom:1%;height:30%;z-index:1;--badge-x:100%;--badge-y:18%;--name-x:80%}
/* phone mockup: unified inbox (theme vars, so light + dark follow) */
.arc-phone{position:absolute;left:33%;bottom:0;width:34%;height:60%;z-index:3;background:#0d0d0d;border:1px solid #2b2b2b;border-radius:clamp(16px,2.4vw,24px);padding:clamp(4px,.6vw,7px);box-shadow:0 18px 40px rgba(16,41,26,.28),inset 0 0 0 1px rgba(255,255,255,.06);font-size:11px;font-size:max(10.5px,2.8cqw);line-height:1.3}
.arc-screen{position:relative;background:var(--paper);border-radius:clamp(12px,1.9vw,18px);height:100%;overflow:hidden;display:flex;flex-direction:column;color:var(--ink)}
.arc-status{display:flex;justify-content:space-between;align-items:center;padding:.5em .9em .2em;font-weight:700;font-size:.85em;color:var(--ink)}
.arc-inbox-head{padding:.4em .9em .5em;border-bottom:1px solid var(--line)}
.arc-inbox-head b{display:block;font-size:1.05em;line-height:1.3}
.arc-inbox-head span{display:block;font-size:.8em;line-height:1.35;color:var(--muted);margin-top:.1em}
.arc-chats{list-style:none;margin:0;padding:.3em 0;flex:1;display:flex;flex-direction:column}
.arc-chats li{display:flex;align-items:center;gap:.45em;padding:.35em .55em;border-bottom:1px solid var(--line)}
.arc-chats li:last-child{border-bottom:0}
.arc-chat{flex:1;min-width:0;display:flex;flex-direction:column}
.arc-chat b{font-size:1em;line-height:1.25;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.arc-chat i{font-style:normal;font-size:.82em;line-height:1.25;color:var(--muted);white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.arc-meta{display:flex;flex-direction:column;align-items:flex-end;gap:.2em;flex:none}
.arc-time{font-size:.75em;color:var(--muted)}
.arc-unread{min-width:1.35em;height:1.35em;border-radius:999px;background:#0E7A34;color:#fff;font-size:.75em;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 .3em}
/* platform logo badges (brand colour + white glyph) — phone chat rows */
.plat-badge{flex:none;width:2.1em;height:2.1em;border-radius:50%;background:var(--pb,#006E21);display:inline-flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 2px 8px rgba(16,41,26,.25)}
.plat-badge svg{display:block;width:13px;height:13px}
.plat-badge .pb-note{font-size:1.25em;font-weight:800;line-height:1}
.plat-badge.sm{width:1.8em;height:1.8em}
/* logo badge at the manifest §5 spot (centre 89% x spotY, 12.5% of the
   char box — r100 on the 1600 canvas, overlapping the wing edge by
   <=30% so the wing tip stays readable) + name chip below it.
   Name chips only on Messenger (centre 70%) and Instagram (85%):
   those are the only two spots clear of neighbours' feet/wings and of
   the phone. The badge glyph scales with the badge (svg 58%); the
   TikTok note scales with the badge font-size. margin-inline:0 on the
   img above matters: the leftover v11e .hero-figures .group-plate img
   rule still sets margin-inline:-12.5%, which shifted every arc image
   12.5% right of its box (diagnosed 27/11 from the live DOM). */
.arc-badge{position:absolute;left:var(--badge-x,89%);top:var(--badge-y,25%);width:12.5%;aspect-ratio:1/1;transform:translate(-50%,-50%);border-radius:50%;background:var(--pb,#006E21);display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 3px 10px rgba(16,41,26,.30),0 0 0 2px rgba(255,255,255,.85);z-index:5;font-size:clamp(10px,1.1vw,16px)}
.arc-badge svg{width:58%;height:58%;display:block}
.arc-badge .pb-note{font-size:1.3em;font-weight:800;line-height:1}
.arc-name{position:absolute;left:var(--name-x,88%);top:calc(var(--badge-y,18%) + 6.25% + 5px);transform:translateX(-50%);width:max-content;max-width:72%;text-align:center;background:rgba(255,255,255,.94);border:1px solid var(--line);border-radius:999px;padding:.25em .7em;box-shadow:var(--shadow-sm);font-weight:800;font-size:clamp(9px,.7vw,12px);line-height:1.4;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:6}
.arc-name--above{left:var(--name-x,50%);top:auto;bottom:calc(100% + 4px)}
.arc-instagram .arc-name{--name-x:88%}
[data-theme="dark"] .arc-name{background:rgba(24,24,24,.9);color:#fff;border-color:rgba(255,255,255,.22)}
@media (max-height:540px) and (min-width:700px){.arc-chats li:nth-child(5){display:none}}

/* #inbox visual (phase 2, findings 1+3): the old section-inbox3d PNG
   had only ONE wing — its right side was three baked-in chat bubbles
   (S3). The image is replaced by the clean hero WhatsApp solo (both
   wings, 72.2% solid) + three CSS chat bubbles in a right-hand column,
   clear of the right wing (character 74% wide, bubbles start at 74% —
   the wing tip reaches ~69% of the frame). Same green/teal/blue as the
   baked bubbles. */
.inbox3d-wrap{position:relative}
.inbox3d-char{position:absolute;bottom:0;left:0;width:74%;aspect-ratio:1/1}
.inbox3d-char picture,.inbox3d-char img{width:100%;height:100%;object-fit:contain;display:block}
.inbox3d-bubbles{position:absolute;top:0;bottom:0;right:0;width:26%;display:flex;flex-direction:column;justify-content:center;gap:clamp(8px,1.4vw,16px);padding-inline-end:clamp(2px,.6vw,10px);z-index:2}
.inbox3d-bubble{display:flex;align-items:center;justify-content:center;gap:clamp(6px,.7vw,10px);height:clamp(30px,4.2vw,56px);border-radius:18px 18px 18px 5px;background:#25D366;box-shadow:0 8px 16px rgba(16,41,26,.18);animation:inbox3d-float 4.5s ease-in-out infinite}
.inbox3d-bubble i{width:clamp(7px,.8vw,11px);height:clamp(7px,.8vw,11px);border-radius:50%;background:#fff}
.inbox3d-bubble.b-teal{background:#17A398;animation-delay:.7s}
.inbox3d-bubble.b-blue{background:#26A5E4;animation-delay:1.4s}
@keyframes inbox3d-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
/* 390px hero overflow fix (phase 2): the group-names row wrapped to 2
   lines at 390, pushing the arc feet 5px below the 844px fold. Compact
   chips (one line) buy the space back; feet stay in the viewport. */
@media (max-width:560px){.group-names{gap:6px;margin-top:12px}.group-names .gn-chip{padding:3px 8px;font-size:12px;line-height:18px}.group-names .gn-label{font-size:12px;line-height:18px}}

.name-whatsapp,.name-messenger,.name-instagram,.name-telegram,.name-tiktok{font-weight:800}
.name-whatsapp{color:#006E21}
.name-messenger{color:#0057D9}
.name-instagram{color:#C2185B}
.name-telegram{color:#1565A8}
.name-tiktok{color:#AD1457}
[data-theme="dark"] .name-whatsapp{color:#25D366}
[data-theme="dark"] .name-messenger{color:#5B9DFF}
[data-theme="dark"] .name-instagram{color:#FF5C8A}
[data-theme="dark"] .name-telegram{color:#26A5E4}
[data-theme="dark"] .name-tiktok{color:#FF5C8A}
.chat-mock .name-whatsapp{color:#25D366}
/* b1 badge carries the solo-slide character intro (one line, in the
   stage's top padding band: 32px normally, 26px at max-height:800 —
   the badge must never grow taller than the band, or it overlaps the
   character's head box). The clause hides <=560px, so the badge stays
   one line even at 390 (name + role survive; the clause is cut). */
.hero-badge{white-space:nowrap;max-width:calc(100% - 8px);overflow:hidden;text-overflow:ellipsis}
@media (max-height:800px){.hero-badge{padding:4px 12px;font-size:13px;line-height:18px}}
@media (max-width:560px){.hero-badge .intro-clause{display:none}}
/* character name label on every character image (owner 27/11 04:00):
   a small pill on the image's bottom corner. .cap-wrap wraps the
   picture so no existing frame's positioning (or the offer confetti's
   containing block) is touched. --top for the comments frame, whose
   bottom is covered by the overlapping chat-mock. */
.cap-wrap{position:relative;display:block;width:100%;height:100%}
.cap-wrap picture,.cap-wrap img{width:100%;height:100%;object-fit:contain;display:block}
.mega-offer .cap-wrap{width:200px;height:200px;align-self:center}
.m-offer .cap-wrap{width:132px;height:132px;margin:0 auto 4px}
.char-caption{position:absolute;bottom:10px;inset-inline-start:10px;z-index:3;background:rgba(255,255,255,.92);border:1px solid var(--line);border-radius:999px;padding:3px 11px;font-size:12px;line-height:18px;font-weight:800;box-shadow:var(--shadow-sm);white-space:nowrap}
.char-caption--top{top:10px;bottom:auto}
[data-theme="dark"] .char-caption{background:rgba(24,24,24,.9);border-color:rgba(255,255,255,.22)}
@media (max-width:560px){.char-caption{font-size:11px;padding:2px 9px;bottom:8px;inset-inline-start:8px}.char-caption--top{top:8px;bottom:auto}}

/* ================================================================
   v11g ADDITIONS
   - D2 arc recomposed (see position rules replaced above): ME/TE
     lifted to bottom:32% (feet clear of WA/TT caps by 4.6% of the
     figure), IG apex 44.5% (IG/WA 1.483), phone 33%x58% bottom:0.
     Badges on the OUTER box edge (per-char --badge-x/--badge-y);
     name pills 5/5 (WA/TT below the box, ME/TE above it, IG side).
   - D2(a) phone hardware: notch pill + side buttons + thicker
     bezel; type 12.5px desktop / 10.5px at 390 / 9.5px landscape,
     5 rows desktop, 4 rows <=560px, 3 rows landscape (M3).
   - D3 autoplay: JS only (pointerSeen gate + 1s retry).
   - M1/M2 groupNames: nowrap + horizontal scroll fallback — it can
     NEVER wrap to 2 lines again; label hidden <=560px (chips alone
     fit: AR ~267px in a 358px container; EN scrolls a little).
   - M4 landscape: header lang toggle back, compact (the <=1020px
     base rule + the old landscape rule both hid it; this later
     same-specificity rule wins). Header CTA kept; overflow checked
     by the probe (scrollW == clientW at 844 landscape).
   ================================================================ */
/* phone hardware: notch + side buttons */
.hero-figures{container-type:inline-size} /* cqw anchor for .arc-phone type */
.arc-notch{position:absolute;top:5px;left:50%;transform:translateX(-50%);width:32%;height:7px;border-radius:999px;background:#0d0d0d;z-index:2}
.arc-phone::before{content:"";position:absolute;left:-3px;top:20%;width:2px;height:9%;border-radius:2px;background:#2b2b2b}
.arc-phone::after{content:"";position:absolute;right:-3px;top:25%;width:2px;height:13%;border-radius:2px;background:#2b2b2b}
/* tighter phone rows so all 5 chats fit the 60% screen (round-2
   measurements: inherited 24px line-height + 2-line head sub cut
   the list to ~2 visible rows). Head sub hidden at ALL sizes — the
   title alone says "unified inbox" in a miniature. */
.arc-status{padding:.4em .9em .15em}
.arc-inbox-head{padding:.3em .9em .35em}
.arc-inbox-head span{display:none}
.arc-chats li{padding:.28em .8em}
.arc-chats .plat-badge.sm{width:1.8em;height:1.8em}
/* 390px: smaller arc, phone 34%x60%, 4 chat rows (5th hidden),
   timestamps hidden (unread counts stay), 10.5px type, tighter
   line-height — chat names stay legible and all 4 rows fit. */
@media (max-width:560px){
  .group-arc .arc-whatsapp{left:1%;bottom:1%;height:28%}
  .group-arc .arc-messenger{left:0%;bottom:33%;height:27%}
  .group-arc .arc-instagram{left:29.25%;bottom:59%;height:41.5%}
  .group-arc .arc-telegram{right:0%;bottom:33%;height:27%}
  .group-arc .arc-tiktok{right:1%;bottom:1%;height:28%}
  .arc-phone{left:33%;width:34%;height:60%;font-size:10.5px;line-height:1.25}
  .arc-inbox-head{padding:.25em .4em .3em}
  .arc-inbox-head b{font-size:.95em;white-space:nowrap}
  .arc-chats li{padding:.2em .55em}
  .arc-chats li:nth-child(5){display:none}
  .arc-time{display:none}
  .arc-notch{height:6px}
  .group-names{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:5px;margin-top:12px}
  .group-names::-webkit-scrollbar{display:none}
  .group-names .gn-label{display:none}
  .group-names .gn-chip{flex:none;padding:2px 7px;font-size:11px;line-height:17px;white-space:nowrap}
  .arc-name{font-size:10px}
}
/* UI/UX audit 2026-11-27: on desktop the group-names row wraps (no scroll, no cut chip). */
@media (min-width:901px){.group-names{flex-wrap:wrap;overflow-x:visible}}
/* landscape 844x390: smaller arc (IG/WA 36.5/24.5 = 1.49), phone
   38%x62% (86x140px, was 62x113), 3 chat rows, 9.5px type (M3);
   groupNames one scrollable line (M2); lang toggle back (M4). */
@media (max-height:540px) and (min-width:700px){
  .group-arc .arc-whatsapp{left:1%;bottom:0;height:24.5%}
  .group-arc .arc-messenger{left:0%;bottom:36%;height:28%}
  .group-arc .arc-instagram{left:31.75%;bottom:60%;height:36.5%}
  .group-arc .arc-telegram{right:0%;bottom:36%;height:28%}
  .group-arc .arc-tiktok{right:1%;bottom:0;height:24.5%}
  .arc-phone{left:31%;width:38%;height:62%;font-size:9.5px;line-height:1.25}
  .arc-inbox-head{padding:.25em .4em .3em}
  .arc-inbox-head b{font-size:.95em;white-space:nowrap}
  .arc-chats li{padding:.2em .5em}
  .arc-chats li:nth-child(4),.arc-chats li:nth-child(5){display:none}
  .arc-time{display:none}
  .arc-notch{height:5px;top:4px}
  .group-names{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:5px;margin-top:10px}
  .group-names::-webkit-scrollbar{display:none}
  .group-names .gn-chip{flex:none;padding:3px 8px;font-size:11px;line-height:17px;white-space:nowrap}
  .site-header .lang-toggle{display:inline-flex;min-width:56px;padding:0 8px;font-size:12px;height:38px}
}

/* ================= v11h =================
   D2 phone inbox: search field, no 5th row, 2-line clamped rows.
   4 vision: platform chips + points (lit with the same beat).
   5 marquees: 30% fade is in the base reps below; partner optical
   sizes here. 6 store glyphs: .glyph-sm 40px; <=560px 2-col tiles.
   7 strip scroller restore (the v11e <=560px wrap rule is overridden).
   8 compact header CTA at <=560px. 9 platform feats line.
   10 contrast: dark chat .me text, hero-offer on dark slides,
   arc mid-tier clearance (ME/TE to the edges, shorter).
   12 group-names never wraps again (any size). 13 scroll-margin. */
.arc-search{display:flex;align-items:center;gap:.35em;margin:.35em .55em .1em;padding:.3em .55em;border:1px solid var(--line);border-radius:999px;background:var(--field);color:var(--muted);font-size:.82em;line-height:1.2}
.arc-search svg{flex:none;width:12px;height:12px}
.arc-search span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.arc-chats li:nth-child(5){display:none}
.arc-chat b,.arc-chat i{overflow-wrap:anywhere}
.vision-text{font-size:clamp(38px,5.5vw,64px);line-height:1.15}
.vision-inner{width:min(920px,90vw)}
.vision-points{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 22px;margin-top:26px;opacity:0;transition:opacity .5s var(--ease)}
.vision-points.lit{opacity:1}
.vision-point{display:inline-flex;align-items:center;gap:8px;font-size:17px;line-height:26px;font-weight:700}
.vp-check{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:var(--brand2);color:#fff;font-size:13px;line-height:1;flex:none}
.vision-platforms{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:26px;opacity:0;transition:opacity .5s var(--ease)}
.vision-platforms.lit{opacity:1}
.vp-chip{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.06);font-size:15px;line-height:22px;font-weight:700}
.vp-dot{width:10px;height:10px;border-radius:50%;flex:none}
.plat-feats{font-size:15px;line-height:22px;font-weight:700;color:var(--nav-accent)}
.plat-panel h3{font-size:28px;line-height:36px}
.partner-chip.pl-areej img{height:44px;max-height:44px}
.partner-chip.pl-silhaa img{height:34px;max-height:34px}
.partner-chip.pl-alharif img{height:64px;max-height:64px}
.partner-chip.pl-smartcash img{height:44px;max-height:44px}
.partner-chip.pl-bilacode img{height:64px;max-height:64px}
.brand-tile svg.glyph-sm{width:40px;height:40px}
.group-names{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
.group-names::-webkit-scrollbar{display:none}
.stage.dark .hero-offer{color:#E8E8E8}
.chat-mock .bubble.me .who{opacity:1;color:#062B18}
.chat-mock .bubble.me .who .name-whatsapp{color:#062B18}
.section{scroll-margin-top:calc(var(--nav-h) + 24px)}
#story{scroll-margin-top:calc(var(--nav-h) + 24px)}
body.menu-esc .nav-item:hover>.submenu,body.menu-esc .nav-item:hover>.mega-panel,body.menu-esc .nav-item:focus-within>.submenu,body.menu-esc .nav-item:focus-within>.mega-panel{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
@media (prefers-reduced-motion:reduce){.vision-points,.vision-platforms{opacity:1!important}}
@media (max-width:560px){
  .hero-badge.b1{top:-10px}
  .hero-controls .strip{flex-wrap:nowrap;overflow-x:auto}
  .hero-controls .strip-tab{flex:0 0 auto}
  .site-header .btn-header{display:inline-flex;min-height:40px;padding:6px 12px;font-size:13px;line-height:20px}
  .arc-search{margin:.2em .55em .05em;padding:.15em .5em;font-size:.75em}
  .int-card{display:grid;grid-template-columns:56px 1fr;column-gap:16px;row-gap:2px;align-items:center;text-align:start}
  .int-card .brand-tile{width:56px;height:56px;grid-row:1/span 2}
  .int-card .brand-tile svg{width:40px;height:40px}
  .int-card--wide .brand-tile{width:56px;height:56px}
  .int-card b{margin:0}
  .int-card span{margin-top:2px}
  .group-arc .arc-messenger{left:0%;height:27%}
  .group-arc .arc-telegram{right:0%;height:27%}
  /* D2: phone 30%x40% at <=560px (was 33%x34%) — the chat column grows
     58px -> ~77px so every name/preview fits on ONE line at 390 (measured
     with Noto/DejaVu, conservative vs Tajawal/Manrope). ME/TE shrink to
     28% so the wider phone still leaves a 2% gap to each. */
  .arc-phone{left:30%;width:40%}
  .arc-chat b,.arc-chat i{line-height:1.15}
}
@media (max-height:540px) and (min-width:700px){
  .group-arc .arc-messenger{left:0%;height:26%}
  .group-arc .arc-telegram{right:0%;height:26%}
  /* D2 landscape: phone 28%x44% (was 31%x38%) — column 48px -> ~61px;
     ME/TE 26% keeps a 2% gap. EN previews shortened ("I'll confirm",
     "Catalogue?") so landscape rows stay 1-line. */
  .arc-phone{left:28%;width:44%}
  .arc-status{display:none}
  .arc-search{display:none}
  .arc-chats .plat-badge.sm{width:1.5em;height:1.5em}
  .arc-chat b{font-size:.9em}
}

/* ================= v11i =================
   D2 search icon: explicit 12px (line 1280 rep) + this higher-
   specificity guard, so the broad line-219 `.hero-figures svg`
   rule can never blow the search icon up again whatever order
   the rules end up in. The 2-line clamp and the 5th-row hiding
   from v11h are untouched. */
.hero-figures .arc-search svg{width:12px;height:12px}
.hero-figures .plat-badge svg{width:13px;height:13px}

/* ================= v11j =================
   F2 scheduling cards: 3 columns so the three limit-cards share one
   row (~389px each @1366) instead of two ~590px cards with a dead
   dashed left half. <=900px already collapses to 1fr (existing rule
   below the base rule); 390px is unchanged. */

/* ================= zaglool-pages shared shell additions (hub builder, 2026-11-27) ================= */
/* Character name colours on ACTIVE tabs — the tab background flips vs the
   theme (ink in light, #EAF4EE in dark), so the name ramp flips too: bright
   ramp on the dark active tab, dark ramp on the light one. TikTok uses the
   solid pink on active tabs (the gradient pink end is 4.45:1 on ink — just
   short of 4.5:1). UI/UX audit 2026-11-27. */
.strip-tab.active .name-whatsapp,.plat-tab.active .name-whatsapp{color:#25D366}
.strip-tab.active .name-messenger,.plat-tab.active .name-messenger{color:#5B9DFF}
.strip-tab.active .name-instagram,.plat-tab.active .name-instagram{color:#FF5C8A}
.strip-tab.active .name-telegram,.plat-tab.active .name-telegram{color:#26A5E4}
.strip-tab.active .name-tiktok,.plat-tab.active .name-tiktok{color:#FF5C8A}
[data-theme="dark"] .strip-tab.active .name-whatsapp,[data-theme="dark"] .plat-tab.active .name-whatsapp{color:#006E21}
[data-theme="dark"] .strip-tab.active .name-messenger,[data-theme="dark"] .plat-tab.active .name-messenger{color:#0057D9}
[data-theme="dark"] .strip-tab.active .name-instagram,[data-theme="dark"] .plat-tab.active .name-instagram{color:#C2185B}
[data-theme="dark"] .strip-tab.active .name-telegram,[data-theme="dark"] .plat-tab.active .name-telegram{color:#1565A8}
[data-theme="dark"] .strip-tab.active .name-tiktok,[data-theme="dark"] .plat-tab.active .name-tiktok{color:#AD1457}
/* TikTok name gradient: dark-theme LARGE display text only (h1/h2 clear the
   3:1 bar); normal text uses the solid #FF5C8A above. The solid is the
   fallback where background-clip:text is unsupported. */
@supports (background-clip:text){
  [data-theme="dark"] h1 .name-tiktok,[data-theme="dark"] h2 .name-tiktok{background:linear-gradient(90deg,#FE2C55,#25F4EE);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
}

/* Hub hero: same v11j hero, no sticky scroll-story, no white window. */
.hub-hero{position:relative;padding-top:calc(var(--nav-h) + 44px);padding-bottom:24px;background:var(--hero-field,#D3EFDC);transition:background-color .5s var(--ease)}
/* HUB-FIX 2026-11-27 — hero was invisible: .layer is position:absolute
   (v11j sticky scroll-story), but .hub-hero was position:static, so the
   hero layer escaped the section (containing block = viewport/body), the
   section collapsed to its padding (~140px), and the next .section
   (position:relative;z-index:5) painted over the hero. Fix: layer in-flow
   inside a positioned section, so the section height contains the hero
   and the GEO card flows after it. Grid top padding drops from 200-240px
   (v11j sticky-stage clearance) to 12px — the section padding already
   clears the fixed header, so the H1 + stage fit the first viewport. */
.hub-hero .hero-layer{position:relative;inset:auto;min-height:min(640px,86dvh)}
.hub-hero .hero-grid{padding-top:12px}
.hub-hero .hero-figures img{background:transparent}
.hero-figures .plate.is-on img{filter:drop-shadow(0 18px 20px rgba(16,41,26,.25))}
.hero-figures::after{content:"";position:absolute;left:50%;bottom:-6px;transform:translateX(-50%);width:62%;height:22px;border-radius:50%;background:radial-gradient(ellipse at center,rgba(16,41,26,.22),transparent 70%);z-index:0}
.hero-glow{position:absolute;inset:12% 8%;border-radius:50%;background:radial-gradient(circle,var(--hero-accent,#25D366) 0%,transparent 62%);opacity:.18;filter:blur(10px);pointer-events:none}
/* HERO-FIT 2026-11-27 — desktop: the whole hero (copy + figures + the
   strip switcher) must fit the first viewport at the SAME height on
   every slide, so switching slides never needs a scroll. The section is
   exactly one viewport tall (border-box includes its padding); the layer
   flexes, the grid takes the free space, and the controls pin to the
   bottom of the hero. The old min-height:640px floor on .hero-layer was
   forcing the section ~17px past the fold on 763px-tall screens. Scoped
   to min-width:901px (two-column grid); mobile/tablet keep natural flow. */
@media (min-width:901px){
  .hub-hero{min-height:100dvh;display:flex;flex-direction:column;padding-top:calc(var(--nav-h) + 8px);padding-bottom:16px}
  .hub-hero .hero-layer{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center}
  .hub-hero .hero-grid{flex:1;min-height:0;padding-top:8px;padding-bottom:8px}
  .hub-hero .hero-controls{margin-top:auto;flex:none}
  .hub-hero .hero-figures{width:min(580px,96%,50dvh)}
}
.hero-pill{position:absolute;z-index:3;background:var(--paper);border:1px solid var(--line);border-radius:999px;padding:8px 14px;font-weight:700;font-size:14px;box-shadow:var(--shadow-sm);animation:float-pill 4.5s ease-in-out infinite}
.hero-pill.p1{top:6%;inset-inline-start:-2%}
.hero-pill.p2{bottom:16%;inset-inline-end:-2%;animation-delay:1.2s}
.hero-pill.p3{top:44%;inset-inline-start:-6%;animation-delay:2.1s}
@keyframes float-pill{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}

/* GEO answer block + host intro */
.geo-answer{background:var(--paper);border:1px solid var(--line);border-inline-start:5px solid var(--brand);border-radius:var(--r-md);padding:24px 28px;margin:8px 0 32px}
.geo-answer p{margin:0;font-size:18px;line-height:32px}
.host-intro{display:flex;gap:20px;align-items:flex-start}
.host-intro .host-img{flex:none;width:120px;height:120px;border-radius:50%;background:var(--char-bg);border:1px solid var(--line);overflow:hidden}
.host-intro .host-img img{width:100%;height:100%;object-fit:cover}
.author-line{color:var(--muted);font-size:14px;line-height:22px;margin-top:16px}
.author-line a{color:var(--nav-accent);font-weight:700}

/* 12 hub cards */
.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.hub-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--r-lg);padding:20px;display:flex;flex-direction:column;gap:10px;box-shadow:var(--shadow-sm);transition:transform .3s var(--ease),box-shadow .3s var(--ease);border-top:4px solid var(--card-accent,#006E21)}
.hub-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.hub-card .thumb{border-radius:var(--r-md);overflow:hidden;background:transparent;aspect-ratio:16/10} /* 2026-11-27: character thumbs are transparent images — no tinted panel behind them */
.hub-card .thumb img{width:100%;height:100%;object-fit:contain;display:block}
.hub-card h3{margin:0;font-size:20px;line-height:28px}
.hub-card p{margin:0;color:var(--text);font-size:16px;line-height:26px;flex:1}
.hub-card .card-tag{font-size:13px;font-weight:800;color:var(--nav-accent)}
.hub-card .txt-link{align-self:flex-start}
.hub-card .char-line{font-weight:700}

/* FAQ teasers reuse .faq-list/.faq-item from v11j */
.faq-more{margin-top:16px}

/* Offer teaser reuses v11j .offer-section; Egypt-only badge */
.offer-eg-badge{display:inline-flex;align-items:center;gap:8px;background:#FFF3CD;color:#7A5A00;border:1px solid #F0D48A;border-radius:999px;padding:6px 14px;font-weight:800;font-size:14px}
[data-theme="dark"] .offer-eg-badge{background:#3A2F00;color:#FFE08A;border-color:#6B5A1A}
.offer-img .offer-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:2}
.confetti-bit{position:absolute;top:-12px;width:10px;height:14px;animation:confetti-fall linear infinite}
@keyframes confetti-fall{0%{transform:translateY(0) rotate(0)}100%{transform:translateY(420px) rotate(540deg)}}

/* Breadcrumb */
.crumbs{font-size:14px;color:var(--muted);margin:0 0 8px}
.crumbs a{color:var(--nav-accent);font-weight:700}
.crumbs [aria-current]{color:var(--ink);font-weight:700}

/* Hub responsive */
@media (max-width:1020px){.cards-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){
  .cards-grid{grid-template-columns:1fr}
  .hub-hero{padding-top:calc(var(--nav-h) + 28px)}
  .hero-pill.p3{display:none}
  .host-intro{flex-direction:column}
  .geo-answer{padding:20px}
  .hub-hero .hero-layer{min-height:0}
}

/* LTR (EN) header tightening — EN labels are longer; keep the header inside the viewport at 1366. */
html[lang="en"] .site-header .container{gap:10px;padding:0 12px}
html[lang="en"] .nav-link{padding:8px 8px}
html[lang="en"] .brand-text{font-size:15px}
html[lang="en"] .header-cta{gap:6px}
html[lang="en"] .login-link{padding:8px 4px}
html[lang="en"] .btn-header{padding:10px 14px}

/* EN: anchor the second (right-most) mega-menu panel by its right edge so
   its 920px panel cannot spill past the header container (was +13px at 1366). */
html[lang="en"] .nav-item.has-sub ~ .nav-item.has-sub .mega-panel{left:auto;right:0;transform:translate(0,8px)}
html[lang="en"] .nav-item.has-sub ~ .nav-item.has-sub:hover > .mega-panel,
html[lang="en"] .nav-item.has-sub ~ .nav-item.has-sub:focus-within > .mega-panel,
html[lang="en"] .nav-item.has-sub ~ .nav-item.has-sub.open > .mega-panel{transform:translate(0,0)}

/* Mega-menu grid: let link columns shrink below min-content so long EN
   descriptions ellipsize instead of forcing the panel grid wider than
   920px and spilling the offer column past the header (was EN +13px
   at 1366, +146px at 1100). Offer price may wrap in EN. */
.mega-col, .mega-grid, .mega-grid a, .mega-grid a .mi{min-width:0}
html[lang="en"] .mega-offer b{white-space:normal}

/* Skip link: the classic margin:-1px pulls the 1px clip box 1px outside
   the viewport and inflates document scrollWidth by 1px (1100px EN).
   clip already hides it, so margin 0 keeps it hidden with no overflow. */
.visually-hidden{margin:0}

/* ===== hub-v3 hero fixes (27 Nov) — hub-scoped; other pages keep their own pill spots ===== */
/* Defect 1: pill spots measured clear of every character (group arc + all 5 solo slides) at
   desktop 1366 via PIL alpha-composite, float +/-8px included. Logical inset-inline-*
   (not physical left/right) so EN mirrors the pills with the layout. */
.hub-hero .hero-pill.p1{top:2%;bottom:auto;inset-inline-end:-6%;inset-inline-start:auto;font-size:12px;padding:7px 12px}
.hub-hero .hero-pill.p2{display:none}
.hub-hero .hero-pill.p3{top:1%;bottom:auto;inset-inline-start:0;inset-inline-end:auto;font-size:12px;padding:7px 12px;max-width:150px;text-align:center;line-height:1.45}
/* Defect 4: center the final-CTA box (was right-hugging in RTL: max-width without auto margins) */
#final .section-head{margin-inline:auto}
.final-char{text-align:center;margin-bottom:6px}
.final-char img{width:min(280px,64vw);height:auto;object-fit:contain;display:inline-block;filter:drop-shadow(0 18px 20px rgba(16,41,26,.25))}
/* Mobile: no pill position clears the arc at 390px (measured) — hide hub pills (p3 was already hidden) */
@media (max-width:640px){.hub-hero .hero-pill{display:none}.hub-hero .strip{flex-wrap:wrap;overflow-x:visible}}

/* ================= UI/UX audit fixes (27 Nov 2026) ================= */
/* LTR mobile panel: slides in from the right (inline-end in LTR). */
[dir="ltr"] .mobile-panel{transform:translateX(105%)}
/* LTR open state MUST follow it: [dir="ltr"] .mobile-panel is (0,2,0), equal to
   .mobile-panel.open (0,2,0) but later in the file, so without this rule the panel
   stayed at translateX(105%) in English and never slid in (found 28 Nov 2026). */
[dir="ltr"] .mobile-panel.open{transform:translateX(0)}
/* Focus outline: dark green in dark theme (the lime #7ED957 was 1.76:1 on white in light). */
[data-theme="dark"] button:focus-visible,[data-theme="dark"] a:focus-visible,[data-theme="dark"] [tabindex]:focus-visible,[data-theme="dark"] summary:focus-visible{outline-color:#7ED957}
/* Primary buttons in dark theme: white on #1FAA53 was 3.03:1; #0E7A34 is 5.45:1. */
[data-theme="dark"] .btn,[data-theme="dark"] .btn-accent{background:#0E7A34}
/* Active pagination dot in dark theme: white (the .stage.dark override is dead code). */
[data-theme="dark"] .dot-btn.active{background:#fff}
/* Partner names are invisible on touch until hover — always show on touch / narrow screens. */
@media (hover:none),(max-width:900px){.partner-name{opacity:1}}
/* Footer + author links: 24px+ tap targets. */
.site-footer .foot-grid ul a,.foot-bottom a{display:inline-block;padding:2px 0}
.author-line a{display:inline-block;padding:1px 0}
/* EN mega-menu descriptions: allow a second line instead of truncating. */
html[lang="en"] .mega-grid a.mi i{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* ---------- site-wide offer geo (Phase 5, 28 Nov 2026) ---------- */
/* .geo-hide: anything the visitor's country must not see (the Egypt
   launch-offer promo card .m-offer on non-EG visitors). !important:
   the promo card and other targets carry their own display. Was
   previously defined only in zaglool-page-pricing.css (pricing page). */
.geo-hide{display:none!important}

/* ---------- FIX 2026-11-28 — mega-menu CTA label (button colours) ----------
   The item-17 light panel added `.mega-offer span{color:var(--muted)}`
   (specificity 0,1,1). The "ابدأ دلوقتي" label is a <span> inside the green
   .btn-accent, so the muted colour beat the button's inherited white and
   painted the label #43564B (light) / #8FA89B (dark) on green — 1.22:1 /
   2.14:1, unreadable in both themes (user report 28/11 02:53, confirmed by
   browser pixel check + CSS cascade). Button labels must stay white.
   (0,2,2) beats (0,1,1) in both themes; no !important needed. The .m-offer
   lines cover the same latent trap (same broad span rule there). */
.mega-offer a.btn span,
.mega-offer a.btn-accent span,
.m-offer a.btn span,
.m-offer a.btn-accent span { color:#fff; }
