/* LABYO public website v2.1 (design prototype, 29 Sep 2026, Muscat). v2.1 colour pass: black stays for TEXT; accents, buttons, tabs, steppers, hand-over marks = violet; Ahmed's bubbles = lavender tint; closing band = deep violet. Tokens: brand-tokens/tokens.css + BRAND (Plex). Logical properties only.
   @font-face rules are per page (inline in <head>): AR loads the Arabic subset + one Latin weight, EN the Latin subset + one Arabic weight. */
:root{
  --white:#FFFFFF;--lavender:#B8ACEA;--violet:#6554B8;--plum:#302C40;--saffron:#F2A33A;--saffron-hover:#E8982C;
  /* v2.1: sky/frost cyan retired (not in the logo). ONE neutral grey scale, shared by the site and the dashboard mocks (dashboard v1 tokens) */
  --g-50:#F7F7F7;--g-100:#F2F2F2;--g-150:#EFEFEF;--g-200:#E3E3E3;--g-300:#CFCFCF;--g-600:#5E5E5E;
  --line:var(--g-200);
  --lav-50:#F6F4FD;           /* section tints (logo family): plum 13.3:1, grey-600 6.1:1 */
  --muted:var(--g-600);       /* 6.47:1 on white */
  --lav-tint:#ECE7FA;         /* Ahmed's bubbles + hand-over notes: plum 11.14:1, muted 5.52:1, violet 4.95:1 on it */
  --band:#554894;             /* closing band (deep violet): white 7.66:1, saffron CTA 3.68:1 (non-text) */
  --on-band-2:#E6E1F7;        /* secondary text on the band, 6.01:1 */
  --font-ar:"IBM Plex Sans Arabic","IBM Plex Sans",system-ui,"Segoe UI",Tahoma,sans-serif;
  --font-en:"IBM Plex Sans","IBM Plex Sans Arabic",system-ui,"Segoe UI",Tahoma,sans-serif;
  /* dashboard pane only: the dashboard v1 neutral set; text-2 darkened to #5E5E5E (5.64:1 on the #EFEFEF band) */
  --d-text-2:var(--g-600);--d-line:var(--g-200);--d-page:var(--g-50);--d-band:var(--g-150);--d-hover:var(--g-100);--d-r:8px;
  --ease-move:cubic-bezier(0.2,0,0,1);
  --fast:120ms;--base:200ms;--slow:280ms;
  --pad:40px;--sec:120px;--hdr:72px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-block-start:88px}
body{margin:0;background:var(--white);color:var(--plum);font-size:15px;line-height:24px;font-weight:400;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
html[lang=ar] body{font-family:var(--font-ar)}
html[lang=en] body{font-family:var(--font-en)}
html[lang=ar] [lang=en]{font-family:var(--font-en);font-synthesis:none}
html[lang=en] [lang=ar]{font-family:var(--font-ar);font-synthesis:none}
h1,h2,h3,p,ul,ol,figure{margin:0}ul,ol{padding:0;list-style:none}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;margin:0;padding:0;cursor:pointer;text-align:start}
img,svg{display:block}
bdi{unicode-bidi:isolate}
.num{font-variant-numeric:tabular-nums}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
/* focus: 2px violet ring + 2px white gap (brief §9), shape unchanged */
:focus-visible{outline:2px solid var(--violet);outline-offset:2px;box-shadow:0 0 0 2px var(--white)}
.skip{position:absolute;inset-inline-start:16px;inset-block-start:-100px;z-index:50;background:var(--violet);color:#fff;padding:0 16px;min-height:44px;display:inline-flex;align-items:center;border-radius:12px}
.skip:focus{inset-block-start:12px}
.wrap{max-width:calc(1200px + 2 * var(--pad));margin-inline:auto;padding-inline:var(--pad)}
.ico{display:inline-flex;flex:none}
[dir=rtl] .flip svg{transform:scaleX(-1)}

/* type */
.eyebrow{font-size:13px;line-height:20px;font-weight:500;color:var(--violet)}
.h1{font-size:52px;line-height:68px;font-weight:600;letter-spacing:0;text-wrap:balance}
.h1 .l1,.h1 .l2{display:block}   /* the two clauses always start on their own line (Co-Founder, MF4) */
[lang=en] .h1{line-height:60px;letter-spacing:-0.01em}
.h2{font-size:40px;line-height:48px;font-weight:600;text-wrap:balance}
[lang=en] .h2{letter-spacing:-0.01em}
.lead{font-size:20px;line-height:30px;color:var(--plum);max-width:48ch;text-wrap:pretty}
[lang=en] .lead{max-width:56ch}
.sub{font-size:18px;line-height:28px;color:var(--muted);max-width:56ch;text-wrap:pretty}
.small{font-size:13px;line-height:20px;color:var(--muted)}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 24px;border-radius:14px;font-size:16px;line-height:24px;font-weight:500;border:1px solid transparent;white-space:nowrap;transition:background-color var(--base) var(--ease-move),border-color var(--base) var(--ease-move),color var(--base) var(--ease-move)}
.btn-primary{background:var(--saffron);border-color:var(--saffron);color:var(--plum)}
.btn-primary:hover{background:var(--saffron-hover);border-color:var(--saffron-hover)}
.btn-outline{background:var(--white);border-color:var(--violet);color:var(--violet)}
.btn-outline:hover{background:var(--lav-tint)}
.tlink{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding-inline:4px;font-size:16px;line-height:24px;font-weight:500;color:var(--violet)}
.tlink.sm{min-height:44px;font-size:15px}
.tlink span.u{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.35em;text-decoration-color:rgb(101 84 184 / .4);transition:text-decoration-color var(--base)}
.tlink:hover span.u{text-decoration-color:var(--violet)}

/* header */
.hdr{position:sticky;inset-block-start:0;z-index:30;background:var(--white);border-block-end:1px solid transparent;transition:border-color var(--base) var(--ease-move)}
.hdr.scrolled{border-block-end-color:var(--line)}
.hdr .in{display:flex;align-items:center;height:var(--hdr);gap:24px}
.brand{display:inline-flex;align-items:center;min-height:44px;flex:none}
.brand img{height:36px;width:auto}
.nav{display:flex;align-items:center;gap:4px;margin-inline-start:16px}
.nav a{display:inline-flex;align-items:center;min-height:44px;padding-inline:12px;font-size:15px;line-height:24px;font-weight:500;color:var(--plum);white-space:nowrap}
.nav a span{text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:1px;text-underline-offset:6px;transition:text-decoration-color var(--base)}
.nav a:hover span{text-decoration-color:var(--plum)}
.hdr .end{display:flex;align-items:center;gap:8px;margin-inline-start:auto}
.qlink{display:inline-flex;align-items:center;min-height:44px;padding-inline:12px;font-size:15px;line-height:24px;font-weight:500;white-space:nowrap}
.qlink span{text-decoration:underline;text-decoration-color:transparent;text-underline-offset:6px;text-decoration-thickness:1px;transition:text-decoration-color var(--base)}
.qlink:hover span{text-decoration-color:var(--plum)}
.hdr .cta{min-height:44px;padding:0 20px;font-size:15px}
.hdr .cta.is-on{background:var(--saffron);border-color:var(--saffron)}
.hdr .cta.is-on:hover{background:var(--saffron-hover);border-color:var(--saffron-hover)}
.menu-btn{display:none;width:44px;height:44px;align-items:center;justify-content:center;border-radius:12px;color:var(--violet)}
.sheet{position:fixed;inset:0;z-index:40;background:var(--white);display:flex;flex-direction:column;padding:0 22px 24px;opacity:0;transform:translateY(8px);transition:opacity var(--base) var(--ease-move),transform var(--base) var(--ease-move)}
.sheet[hidden]{display:none}
.sheet.open{opacity:1;transform:none;transition:opacity var(--slow) var(--ease-move),transform var(--slow) var(--ease-move)}
.sheet .top{display:flex;align-items:center;justify-content:space-between;height:64px}
.sheet nav{display:flex;flex-direction:column;margin-block-start:16px}
.sheet nav a{display:flex;align-items:center;min-height:56px;font-size:20px;line-height:30px;font-weight:500;border-block-end:1px solid var(--line)}
.sheet .foot{margin-block-start:auto;display:flex;flex-direction:column;gap:8px}
.sheet .foot .btn{width:100%}
.sheet .foot .qlink{justify-content:center;display:flex;min-height:48px}

/* hero */
.hero{padding-block:48px 96px}
.hero .grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;align-items:start}
.hero .copy{grid-column:1 / span 7;grid-row:1;padding-block-start:40px;padding-inline-end:24px}
.hero .demo{grid-column:8 / span 5;grid-row:1 / span 2;display:flex;flex-direction:column;align-items:center}
.hero .trust{grid-column:1 / span 7;grid-row:2;align-self:start;margin-block-start:40px;padding-inline-end:24px}
.hero .eyebrow{margin-block-end:12px}
.hero .lead{margin-block-start:20px}
.hero .acts{display:flex;align-items:center;flex-wrap:wrap;gap:12px 16px;margin-block-start:36px}
.trust{display:flex;flex-direction:column;gap:12px;border-block-start:1px solid var(--line);padding-block-start:24px}
.trust li{display:flex;align-items:flex-start;gap:10px;font-size:15px;line-height:24px;color:var(--muted)}
.trust li .ico{color:var(--violet);margin-block-start:2px}
.trust li.key{color:var(--plum);font-weight:500;font-size:16px}
/* phones: the key trust line sits under the CTA on the first screen (the rest of the list stays under the phone) */
.trust-m{display:none;align-items:flex-start;gap:8px;margin-block-start:12px;font-size:13px;line-height:20px;font-weight:500;color:var(--plum)}
.trust-m .ico{color:var(--violet);margin-block-start:1px}

/* O2 symbol moment (v4c symbol part), in the closing band: plays once per session when the band is in view */
.o2{height:64px;width:auto;overflow:visible}
.o2 .front,.o2 .back{transform-box:view-box;transform-origin:420px 400px}
html.js-motion .o2 .front{animation:o2-front 1200ms linear both;animation-play-state:paused}
html.js-motion .o2 .back{animation:o2-back 1200ms linear both;animation-play-state:paused}
html.js-motion.anim-v4b .o2 .front{animation-name:o2b-front;animation-duration:800ms}
html.js-motion.anim-v4b .o2 .back{animation-name:o2b-back;animation-duration:800ms}
html.js-motion .o2.play .front,html.js-motion .o2.play .back{animation-play-state:running}
html.o2-done .o2 .front,html:not(.js-motion) .o2 .front{display:none}
html.o2-done .o2 .back,html:not(.js-motion) .o2 .back{animation:none;opacity:1;transform:none}

/* phone (flat outline, no device art) */
.demo-label{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;max-width:360px;margin-block-end:12px}
.s5-chip{display:none!important}
.chip-sample{display:inline-flex;align-items:center;height:28px;padding:0 10px;background:var(--lav-tint);border-radius:12px;font-size:13px;line-height:20px;font-weight:500;color:var(--plum);white-space:nowrap}
.pane-cap{font-size:13px;line-height:20px;font-weight:500;color:var(--muted)}
.wa{width:100%;max-width:360px;height:600px;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:var(--white);display:flex;flex-direction:column}
/* LABYO chat frame (not WhatsApp trade dress): lavender-tint header, white body, no wallpaper, no ticks, no composer */
.wa-hd{flex:none;display:flex;align-items:center;gap:12px;height:64px;padding-inline:20px;border-block-end:1px solid var(--line);background:var(--lav-50)}
.wa-disc{flex:none;width:40px;height:40px;border-radius:50%;background:var(--g-150);color:var(--plum);display:inline-flex;align-items:center;justify-content:center;font-size:17px;line-height:24px;font-weight:600}
.wa-hd .nm{font-size:16px;line-height:24px;font-weight:500}
.wa-hd .st{font-size:13px;line-height:20px;color:var(--muted);min-height:20px}
.wa-body{flex:1;min-height:0;overflow:hidden;background:var(--white);padding:16px 14px;display:flex;flex-direction:column}
.wa-body .scroll{margin-block-start:auto;display:flex;flex-direction:column;gap:8px}
.wa-day{align-self:center;font-size:13px;line-height:20px;color:var(--muted);background:var(--white);border:1px solid var(--line);border-radius:10px;padding:2px 10px;margin-block-end:4px}
.b{max-width:82%;padding:6px 12px 6px;border-radius:14px;font-size:15px;line-height:24px;overflow-wrap:anywhere}
.b .meta{float:inline-end;display:inline-flex;align-items:center;gap:4px;margin-block:8px 0;margin-inline-start:10px;font-size:13px;line-height:16px;color:var(--muted)}
.b .tx{display:inline}
.b::after{content:"";display:block;clear:both}
[lang=en] .b .meta{font-size:13px}
.b.g{align-self:flex-end;background:var(--g-100)}
.b.o{align-self:flex-start;background:var(--lav-tint);border:1px solid var(--lav-tint)}
.b.o.st{background:var(--white);border-color:var(--line)}   /* staff's reply from the same number: plain white, Ahmed = lavender */
.b .ok{display:flex;width:fit-content;align-items:center;gap:6px;margin-block-end:4px;font-size:13px;line-height:20px;font-weight:500}
.b .ok i{width:8px;height:8px;border-radius:50%;background:var(--violet)}
.b .ok{color:var(--violet)}
.b.typing{padding:12px 14px;display:inline-flex;gap:4px}
.b.typing i{width:6px;height:6px;border-radius:50%;background:var(--muted);opacity:.35;animation:dot 900ms steps(1,end) infinite}
.b.typing i:nth-child(2){animation-delay:150ms}.b.typing i:nth-child(3){animation-delay:300ms}
@keyframes dot{0%{opacity:.35}33%{opacity:.9}66%{opacity:.35}}
html:not(.js-motion) .b.typing i{animation:none;opacity:.6}
.wa-ft{display:none!important;flex:none;display:flex;align-items:center;gap:8px;padding:10px 14px 14px;background:var(--lav-50)}
.wa-ft .f{flex:1;height:40px;border-radius:20px;background:var(--white);border:1px solid var(--line);display:flex;align-items:center;padding-inline:16px;font-size:14px;color:var(--muted)}
.wa-ft .s{flex:none;width:40px;height:40px;border-radius:50%;background:var(--violet);color:#fff;display:inline-flex;align-items:center;justify-content:center}
.rp-trim{display:none!important}
.hd-chip{display:none;margin-inline-start:auto}

/* replay entry: 200 ms opacity + 6 px rise */
.rp-in{animation:rp-in var(--base) var(--ease-move) both}
@keyframes rp-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.rp-row-in{animation:rp-row var(--slow) var(--ease-move) both}
@keyframes rp-row{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
.instant .rp-in,.instant .rp-row-in{animation:none}
.ctrls{display:flex;align-items:center;gap:4px}
.ctrl{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;height:44px;padding-inline:10px;border-radius:12px;font-size:14px;line-height:20px;font-weight:500;color:var(--violet);transition:background-color var(--fast)}
.ctrl:hover{background:var(--lav-tint)}
.ctrl[aria-disabled=true]{color:var(--muted);cursor:default}
.ctrl[hidden]{display:none}
.hero .ctrls{margin-block-start:8px}
html:not(.js-motion) .ctrls{display:none}

/* sections */
.sec{padding-block:var(--sec)}
.sec-hd{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.sec-hd .t{max-width:760px}
.sec-hd .sub{margin-block-start:12px}
.sec-2{border-block-start:1px solid var(--line)}

/* tabs: quiet pills, active outlined. No border transition, so two pills are never outlined in the same frame */
.rp-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-block:48px 24px}
.tabs{display:flex;gap:4px}
.tab{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border-radius:12px;border:1px solid transparent;font-size:15px;line-height:24px;font-weight:500;color:var(--muted);white-space:nowrap;transition:color var(--base),background-color var(--base)}
.tab:hover{color:var(--plum);background:var(--lav-50)}
.tab[aria-selected=true]{color:var(--white);border-color:var(--violet);background:var(--violet)}
.tab .ico{color:currentColor}
.rp-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;align-items:start}
.rp-grid .dcol{grid-column:span 7;min-width:0}
.rp-grid .pcol{grid-column:span 5;display:flex;flex-direction:column;align-items:center;min-width:0}
.pcol .cap-row{width:100%;max-width:360px}
.cap-row{display:flex;align-items:center;justify-content:space-between;min-height:28px;margin-block-end:12px}
.rp-caption{margin-block-start:20px;min-height:24px;font-size:15px;line-height:24px;color:var(--muted);text-wrap:balance}
.tpanel[hidden]{display:none}
.transcript-link{position:absolute}
.transcript-link:focus{position:static;width:auto;height:auto;clip:auto;clip-path:none;white-space:normal;display:inline-flex;align-items:center;min-height:44px;padding-inline:12px;margin-block-end:12px;border:1px solid var(--violet);border-radius:12px;background:var(--white)}

/* dashboard pane (matches dashboard-v1-screens) */
.dash{height:600px;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:var(--white);display:flex;flex-direction:column}
.d-band{flex:none;background:var(--d-band);font-size:13px;line-height:20px;font-weight:500;text-align:center;padding:4px 16px}
.d-hd{flex:none;display:flex;align-items:center;gap:10px;height:52px;padding-inline:20px;border-block-end:1px solid var(--d-line)}
.sym{height:20px;width:auto}
.d-hd .r{font-size:15px;line-height:24px;font-weight:600;padding-inline-start:10px;border-inline-start:1px solid var(--d-line)}
.d-hd .pg{font-size:13px;line-height:20px;color:var(--d-text-2);margin-inline-start:auto}
.d-split{flex:1;min-height:0;display:grid;grid-template-columns:232px minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
.d-split>*{min-height:0}
.d-list{border-inline-end:1px solid var(--d-line);display:flex;flex-direction:column;min-height:0;overflow:hidden}
.d-list .lt{font-size:16px;line-height:24px;font-weight:600;padding:16px 16px 10px}
.d-rows{position:relative}
.d-row,.h-row{display:flex;gap:10px;align-items:flex-start;padding:10px 16px;border-block-start:1px solid var(--d-line);background:var(--white)}
.d-row[aria-current=true]{background:var(--d-band)}
.disc{flex:none;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;font-size:14px;line-height:20px;font-weight:500}
.disc.g{background:#fff;border:1px solid var(--g-300);color:var(--d-text-2)}
.disc.s{background:var(--g-150);color:var(--plum)}
.disc.a{background:var(--lav-tint);color:var(--violet);font-size:13px;font-weight:600}
.disc.a img{width:18px;height:auto}   /* Ahmed = the flat violet O2 (logo-o2-final/symbols/o2-flat-violet.svg, byte-identical) */
.mn{flex:1;min-width:0}
.mn .top{display:flex;justify-content:space-between;gap:6px;align-items:baseline}
.mn .nm{font-size:15px;line-height:22px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mn .tm{flex:none;font-size:13px;line-height:20px;color:var(--d-text-2)}
.mn .pv{display:block;font-size:13px;line-height:20px;color:var(--d-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mn .stt{display:flex;align-items:center;gap:4px;margin-block-start:2px;font-size:13px;line-height:20px;color:var(--d-text-2)}
.mn .stt.w{color:var(--violet);font-weight:500}
.d-row .new{width:8px;height:8px;border-radius:50%;background:var(--violet);flex:none;margin-block-start:7px}
.d-main{min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--d-page)}
.d-main .mt{display:flex;align-items:baseline;justify-content:space-between;padding:20px 20px 12px}
.mh{font-size:18px;line-height:26px;font-weight:600}
.d-main .mt span{font-size:13px;line-height:20px;color:var(--d-text-2)}
.d-card{margin-inline:20px;background:#fff;border:1px solid var(--d-line);border-radius:var(--d-r);overflow:hidden}
.d-card.flat{margin:0;border:0;border-radius:0}
.bk{display:flex;align-items:center;gap:12px;min-height:60px;padding:10px 16px;border-block-start:1px solid var(--d-line);background:#fff}
.bk:first-child{border-block-start:0}
.bk .when{flex:none;width:64px;font-size:15px;line-height:24px;font-weight:600}
.bk .who{flex:1;min-width:0}
.bk .who b{display:block;font-size:15px;line-height:22px;font-weight:500}
.bk .who span{display:block;font-size:13px;line-height:20px;color:var(--d-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pill{flex:none;display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:13px;font-size:13px;line-height:20px;font-weight:500;border:1px solid var(--d-line);color:var(--plum);background:#fff}
.pill.sf{background:var(--white);border-color:var(--violet);color:var(--violet)}
.od{padding:14px 16px;border-block-start:1px solid var(--d-line);background:#fff}
.od:first-child{border-block-start:0}
.od .h{display:flex;align-items:center;justify-content:space-between;gap:8px}
.od .h b{font-size:15px;line-height:22px;font-weight:500}
.od .h .tm{font-size:13px;line-height:20px;color:var(--d-text-2);margin-inline-start:auto}
.od ul{margin-block-start:8px;display:flex;flex-direction:column;gap:2px}
.od li{display:flex;justify-content:space-between;gap:12px;font-size:14px;line-height:22px}
.od li.tot{margin-block-start:6px;padding-block-start:6px;border-block-start:1px solid var(--d-line);font-weight:600}
/* conversation view inside the pane */
.d-conv{flex:1;min-height:0;display:flex;flex-direction:column;background:#fff}
.d-chd{flex:none;display:flex;align-items:center;gap:10px;min-height:56px;padding:8px 20px;border-block-end:1px solid var(--d-line)}
.d-chd .t{font-size:15px;line-height:22px;font-weight:500}
.d-chd .s{font-size:13px;line-height:20px;color:var(--d-text-2)}
.hold{flex:none;display:flex;align-items:center;gap:8px;padding:8px 20px;border-block-end:1px solid var(--d-line);font-size:14px;line-height:22px;font-weight:500}
.hold.wait{background:var(--lav-tint)}
.hold.mine{background:var(--g-100)}
.hold .ico{color:var(--violet)}
.d-thread{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;padding:16px 20px 12px}
.d-thread .tin{margin-block-start:auto;display:flex;flex-direction:column;gap:10px}
.m{display:flex;gap:8px;max-width:88%}
.m .bub{padding:6px 10px;border-radius:var(--d-r);font-size:14px;line-height:22px;overflow-wrap:anywhere}
.m .lb{font-size:13px;line-height:20px;color:var(--d-text-2);margin-block-end:2px}
.m.g{align-self:flex-start}.m.g .bub{background:#fff;border:1px solid var(--d-line)}
.m.o{align-self:flex-end;flex-direction:row-reverse;align-items:flex-start}
.m.o .disc{margin-block-start:22px;width:28px;height:28px;font-size:13px}
.m.o .lb{text-align:end}
.m.a .bub{background:var(--lav-tint)}
.m.s .bub{background:var(--violet);color:var(--white)}   /* staff (you): violet, white text 5.98:1; no longer near-black */
.d-note{align-self:center;width:100%;max-width:420px;border:1px solid var(--lavender);border-radius:var(--d-r);padding:10px 12px;display:flex;gap:8px;background:var(--lav-tint)}
.d-note .ico{color:var(--violet)}
.d-note b{display:block;font-size:13px;line-height:20px;font-weight:500}
.d-note span{font-size:13px;line-height:20px;color:var(--d-text-2)}
.sysl{align-self:center;font-size:13px;line-height:20px;color:var(--d-text-2);text-align:center}
.comp{flex:none;border-block-start:1px solid var(--d-line);padding:10px 20px 12px;display:flex;flex-direction:column;gap:8px;background:#fff}
.comp .field{min-height:40px;border:1px solid var(--muted);border-radius:var(--d-r);padding:8px 12px;font-size:14px;line-height:22px;color:var(--plum);overflow-wrap:anywhere}
.comp .field.ph{color:var(--d-text-2)}
.comp .field.focus{border:2px solid var(--violet);padding:7px 11px}
.comp .row{display:flex;align-items:center;gap:8px}
.comp .hint{flex:1;min-width:0;font-size:13px;line-height:20px;color:var(--d-text-2)}
.dbtn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;padding:0 14px;border-radius:var(--d-r);font-size:14px;line-height:20px;font-weight:500;border:1px solid var(--violet);background:#fff;color:var(--violet);transition:background-color 120ms,transform 120ms;white-space:nowrap}
.dbtn.off{background:var(--d-hover);color:var(--d-text-2)}
.dbtn.off{border-color:var(--d-line)}
.dbtn.send.on{background:var(--violet);border-color:var(--violet);color:var(--white)}
.dbtn.pressed{background:var(--d-band);transform:scale(.97)}
.caret{display:inline-block;width:1.5px;height:16px;background:var(--violet);vertical-align:-3px;margin-inline-start:1px}
.rp-hide{display:none!important}

/* section 3: what Ahmed does */
.jobs{margin-block-start:48px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.job{border:1px solid var(--line);border-radius:22px;padding:24px;display:flex;flex-direction:column;background:var(--white)}
.job .ji{width:40px;height:40px;border-radius:12px;background:var(--lav-50);color:var(--violet);display:inline-flex;align-items:center;justify-content:center;margin-block-end:16px}
.job h3{font-size:18px;line-height:26px;font-weight:600}
.job p{margin-block-start:4px;font-size:15px;line-height:24px;color:var(--muted);text-wrap:pretty}
.job .mini{margin-block-start:20px;background:var(--g-50);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:8px;flex:1;justify-content:flex-end}
.job .mini .b{max-width:88%}
.channels{margin-block-start:32px;display:flex;align-items:center;gap:10px;font-size:15px;line-height:24px;color:var(--muted)}
.channels .ico{color:var(--violet)}

.jobs.jobs-3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:1023px){.jobs.jobs-3{grid-template-columns:1fr}}

/* section 4: the hand-over loop */
.sec-4{background:var(--lav-50);border-block:1px solid var(--line)}
.loop{margin-block-start:48px;display:flex;flex-direction:column}
.step{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;position:relative;padding-block:0 32px}
.step:last-child{padding-block-end:0}
.step .n{grid-column:span 5;display:flex;gap:16px;align-items:flex-start;position:relative}
.k{flex:none;width:32px;height:32px;border-radius:50%;border:1px solid var(--violet);background:var(--white);color:var(--violet);display:inline-flex;align-items:center;justify-content:center;font-size:14px;line-height:20px;font-weight:600;position:relative;z-index:1}
.step:not(:last-child) .n::before{content:"";position:absolute;inset-inline-start:15.5px;inset-block:32px -32px;width:1px;background:var(--lavender)}
.step .n h3{font-size:18px;line-height:26px;font-weight:600;margin-block-start:3px}
.step .n p{font-size:15px;line-height:24px;color:var(--muted);margin-block-start:4px;max-width:40ch;text-wrap:pretty}
.step .n p.key{color:var(--plum);font-weight:500}
.step .v{grid-column:span 7}
.shot{background:var(--white);border:1px solid var(--line);border-radius:22px;padding:20px 24px;display:flex;flex-direction:column;gap:10px}
.shot .col{display:flex;flex-direction:column;gap:8px}
.shot .lbl{font-size:13px;line-height:20px;font-weight:500;color:var(--muted);display:flex;align-items:center;gap:6px}
.shot .hold{border:0;border-radius:var(--d-r);padding:8px 12px}
.shot .row2{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.shot .b{max-width:85%!important}
.shot .m{max-width:92%!important}
.facts{margin-block-start:64px;display:grid;grid-template-columns:1fr;border-block-start:1px solid var(--line);padding-block-start:32px}
.facts li{text-wrap:pretty;display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:24px}
.facts li .ico{color:var(--violet);margin-block-start:2px}

/* section 5: the dashboard home */
.s5-grid{margin-block-start:48px;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;align-items:center}
.s5-desk{grid-column:span 8;min-width:0}
.s5-phone{grid-column:span 4;display:flex;justify-content:center;min-width:0}
.dash.home{height:auto}
.h-body{background:var(--d-page);padding:20px}
.h-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.h-col{display:flex;flex-direction:column;gap:16px;min-width:0}
.h-card{background:#fff;border:1px solid var(--d-line);border-radius:var(--d-r);overflow:hidden}
.h-t{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:12px 16px}
.h-t .mh{font-size:15px;line-height:22px}
.h-t .n{font-size:13px;line-height:20px;color:var(--d-text-2)}
.h-card.hot .h-row{background:var(--lav-50)}
.h-od{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:baseline;gap:4px 12px;padding:10px 16px;border-block-start:1px solid var(--d-line);font-size:14px;line-height:22px}
.h-od b{font-weight:500}
.h-od span{color:var(--d-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}
.h-od .tot{color:var(--plum);font-weight:600;font-size:14px}
.h-q{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;border-block-start:1px solid var(--d-line)}
.h-q .q{font-size:14px;line-height:22px;min-width:0}
.h-note{padding:8px 16px 12px;font-size:13px;line-height:20px;color:var(--d-text-2);border-block-start:1px solid var(--d-line)}
.wks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-block-start:1px solid var(--d-line)}
.wk{display:flex;flex-direction:column;gap:2px;padding:12px 16px}
.wk+.wk{border-inline-start:1px solid var(--d-line)}
.wk .ico-w{color:var(--violet)}
.wk b{font-size:24px;line-height:32px;font-weight:600}
.wk span:last-child{font-size:13px;line-height:20px;color:var(--d-text-2)}
.pdash{width:100%;max-width:300px;border:1px solid var(--line);border-radius:32px;overflow:hidden;background:var(--d-page);display:flex;flex-direction:column}
.p-hd{display:flex;align-items:center;gap:10px;height:56px;padding-inline:18px;background:#fff;border-block-end:1px solid var(--d-line)}
.p-hd .r{font-size:15px;line-height:22px;font-weight:600}
.p-body{padding:12px;display:flex;flex-direction:column;gap:12px}
.p-body .bk{padding-inline:12px;gap:8px;min-height:52px}.p-body .bk .when{width:52px;font-size:14px}.p-body .h-row{padding-inline:12px}
.p-tabs{display:grid;grid-template-columns:repeat(4,1fr);border-block-start:1px solid var(--d-line);background:#fff}
.p-tabs span{display:flex;align-items:center;justify-content:center;min-height:48px;font-size:13px;line-height:20px;color:var(--d-text-2);border-block-start:2px solid transparent}
.p-tabs span.on{color:var(--violet);font-weight:500;border-block-start-color:var(--violet)}

/* section 6: setup stepper */
.sec-6{border-block-start:1px solid var(--line)}
.setup{margin-block-start:48px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;position:relative}
.setup .st{position:relative;display:flex;flex-direction:column;gap:16px}
.setup .st:not(:last-child)::before{content:"";position:absolute;inset-block-start:15.5px;inset-inline-start:40px;inset-inline-end:-16px;height:1px;background:var(--lavender)}
.setup h3{font-size:18px;line-height:26px;font-weight:600}
.setup p{margin-block-start:4px;font-size:15px;line-height:24px;color:var(--muted);text-wrap:pretty}


/* section 7 (hidden until consent) */
.ph-box{margin-block-start:24px;border:1px solid var(--line);border-radius:22px;padding:32px;color:var(--muted)}

/* section 8: FAQ accordion */
.sec-8{background:var(--lav-50);border-block:1px solid var(--line)}
.s8{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px}
.s8 .sec-hd{grid-column:span 4;align-self:start}
.faq{grid-column:span 8;border-block-start:1px solid var(--line)}
.qa{border-block-end:1px solid var(--line);background:transparent}
.q-btn{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:64px;padding-block:16px;font-size:18px;line-height:26px;font-weight:500}
.q-btn .ico{color:var(--muted);transition:transform var(--base) var(--ease-move)}
.q-btn[aria-expanded=true] .ico{transform:rotate(180deg)}
.qa .a{padding-block:0 24px;max-width:60ch}
.qa .a p{font-size:16px;line-height:26px;color:var(--plum);text-wrap:pretty}
html.js .qa .a[hidden]{display:none}
.faq-contact{margin-block-start:16px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.mail{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:16px;line-height:24px;font-weight:500;color:var(--violet)}
.mail bdi{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.35em;text-decoration-color:rgb(101 84 184 / .4)}

/* section 9: the closing band */
.sec-9{padding-block:96px}
.band{background:var(--band);border-radius:22px;padding:64px 40px;display:flex;flex-direction:column;align-items:center;text-align:center;color:var(--white)}
/* the gradient O2 shown LARGE (104 px tall) on a lavender-tint card; the gradient lives only inside the logo */
.band-sym{width:168px;height:168px;border-radius:32px;background:var(--lav-50);display:flex;align-items:center;justify-content:center;margin-block-end:32px}
.band-sym .o2{width:133px;height:104px}
.band :focus-visible{outline-color:var(--white)}
.band .h2{color:var(--white)}
.band .sub{color:var(--on-band-2);margin-block-start:12px}
.band-acts{margin-block-start:32px;display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:center;gap:16px}
.band-trust{margin-block-start:12px;display:flex;align-items:center;gap:8px;font-size:13px;line-height:20px;color:var(--on-band-2)}

.walink{display:inline-flex;align-items:center;flex-wrap:wrap;gap:0 6px;min-height:44px;font-size:16px;line-height:24px;font-weight:500;color:var(--violet)}
.walink .num{white-space:nowrap;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.35em;text-decoration-color:rgb(101 84 184 / .4)}
.walink.on-plum{color:var(--white)}
.band-wa{margin-block-start:16px;font-size:15px;line-height:24px}
.band-wa .walink{font-size:15px;font-weight:400}
.walink.on-plum .wl{color:var(--on-band-2)}
.faq-more{margin-block-start:24px}
.ftr .walink.ft{font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;min-height:44px}
.ftr .walink.ft .num{text-decoration:none}
.walink.on-plum .num{text-decoration-color:rgb(255 255 255 / .5)}

/* footer */
.ftr{border-block-start:1px solid var(--line);padding-block:12px}
.ftr .in{display:flex;align-items:center;justify-content:space-between;gap:8px 24px;flex-wrap:wrap}
.ftr ul{display:flex;align-items:center;flex-wrap:wrap}
.ftr li{display:flex;align-items:center}
.ftr li+li::before{content:"·";color:var(--muted);padding-inline:2px}
.ftr a{display:inline-flex;align-items:center;min-height:44px;padding-inline:8px;font-size:13px;line-height:20px;color:var(--muted)}
.ftr li:first-child a{padding-inline-start:0}
.ftr a:hover{color:var(--plum);text-decoration:underline;text-underline-offset:.35em}
.ftr .legal{font-size:13px;line-height:20px;color:var(--muted)}

/* ---------- >=1200: copy 8 columns / phone 4 (384 px >= the 360 px phone), so each H1 clause sits on ONE line (AR 675 px, EN 770 px at 52 px) ---------- */
@media (min-width:1200px){
  .hero .copy{grid-column:1 / span 8;padding-inline-end:0}
  .hero .demo{grid-column:9 / span 4}
  .hero .trust{grid-column:1 / span 8;padding-inline-end:0}
}
/* ---------- 1024-1199: tighter header so the EN nav never wraps ---------- */
@media (max-width:1199px) and (min-width:1024px){
  [lang=en] .h1{font-size:48px;line-height:56px}   /* 'You run the restaurant.' = 502 px, fits the 517 px column */
  .hdr .in{gap:12px}.nav{margin-inline-start:4px;gap:0}.nav a{padding-inline:10px}.qlink{padding-inline:10px}
}
/* ---------- tablet 768-1023 ---------- */
@media (max-width:1023px){
  :root{--pad:32px;--sec:96px;--hdr:64px}
  .nav{display:none}
  .menu-btn{display:inline-flex}
  .hdr .end{gap:4px}
  .hero{padding-block:32px 80px}
  .hero .copy{grid-column:1 / span 7;padding-block-start:16px;padding-inline-end:0}
  .hero .demo{grid-column:8 / span 5}
  .hero .trust{grid-column:1 / span 7;padding-inline-end:0}
  .h1{font-size:40px;line-height:56px}
  [lang=en] .h1{font-size:37px;line-height:46px}   /* second clause 386 px, fits the 401 px column at 768 */
  .h2{font-size:32px;line-height:40px}
  .lead{font-size:18px;line-height:28px}
  .sub{font-size:16px;line-height:26px}
  .wa{height:540px}
  .rp-grid .dcol{grid-column:span 7}.rp-grid .pcol{grid-column:span 5}
  .dash{height:540px}
  .d-split{grid-template-columns:minmax(0,1fr)}
  .d-list{display:none}
  .d-thread{padding:12px 14px}
  .d-chd,.hold,.comp,.d-hd{padding-inline:14px}
  .d-main .mt{padding:16px 14px 10px}
  .d-card{margin-inline:14px}
  .comp .hint{display:none}
  .step .n{grid-column:span 12;margin-block-end:16px}
  .step .v{grid-column:span 12}
  .step:not(:last-child) .n::before{display:none}
  .s5-desk{grid-column:span 12}.s5-phone{display:none}
  .setup{grid-template-columns:1fr;gap:0}
  .setup .st{flex-direction:row;gap:16px;padding-block-end:28px}
  .setup .st:not(:last-child)::before{inset-block:32px -0px;inset-inline-start:15.5px;inset-inline-end:auto;width:1px;height:auto}
  .s8 .sec-hd{grid-column:span 12;margin-block-end:32px}.faq{grid-column:span 12}
}
/* ---------- phone < 768 ---------- */
@media (max-width:767px){
  :root{--pad:22px;--sec:80px}
  .hdr .cta{display:none}
  .hero{padding-block:20px 64px}
  .hero .grid{display:flex;flex-direction:column}
  .hero .copy{padding:0}
  .hero .eyebrow{margin-block-end:8px}
  /* fluid phone H1: the second clause («وأنت مشغول بمطعمك.» 9.35 em, 'You run the restaurant.' 10.44 em) always fits ONE line, ~3.5 % spare */
  .h1{font-size:min(34px,calc((100vw - 2 * var(--pad)) / 9.7));line-height:1.42}
  [lang=en] .h1{font-size:min(34px,calc((100vw - 2 * var(--pad)) / 10.8));line-height:1.25}
  .hero .lead{margin-block-start:12px}
  .hero .m-later{display:none}   /* phones start earlier in the booking (AI intro on the first screen) */

  .hero .acts{margin-block-start:20px;flex-direction:column;align-items:stretch;gap:4px}
  .hero .acts .btn{width:100%}
  .hero .acts .tlink{display:none}
  .hero .demo{margin-block-start:24px;width:100%}
  .hero .demo-label{display:none}
  .hero .hd-chip{display:inline-flex}
  .hero .wa-day{display:inline-block}   /* v2.2: the thread scrolls, so the day chip stays (it fills the first-paint top space) */
  .hero .wa{height:auto;max-width:none}
  .hero .wa-hd{height:52px}
  .hero .wa-body{padding:10px 12px}
  .hero .wa-body .scroll{margin-block-start:0}
  .hero .wa.fit .wa-body .scroll{margin-block-start:auto}
  .hero .wa-ft{display:none!important;display:none}
  .hero .trust{margin-block-start:32px;padding-inline-end:0}
  .sec-hd{display:block}
  .sec-hd .chip-sample{margin-block-start:16px}
  .rp-bar{flex-direction:column;align-items:stretch;margin-block:28px 16px;gap:8px}
  .tabs{justify-content:space-between}
  .tab{padding:0 8px;flex:1;justify-content:center}
  .tab .ico{display:none}
  .ctrls{justify-content:center}
  /* phone and dashboard stacked AND in view together: the whole watch area fits one screen under the header */
  .sec-2 .rp-watch{--stage:min(780px,calc(100svh - 64px - 16px))}
  .rp-grid{display:flex;flex-direction:column-reverse;gap:12px}
  .rp-grid .dcol,.rp-grid .pcol{width:100%}
  .cap-row{min-height:20px;margin-block-end:4px}
  .pcol .cap-row{max-width:none}
  .sec-2 .wa{max-width:none;height:calc((var(--stage) - 124px) * .42);border-radius:24px}
  .sec-2 .wa-hd{height:48px;padding-inline:14px;gap:10px}.sec-2 .wa-disc{width:32px;height:32px;font-size:15px}
  .sec-2 .wa-hd .nm{font-size:15px;line-height:22px}.sec-2 .wa-hd .st{font-size:13px}
  .sec-2 .wa-body{padding:10px 12px}
  .sec-2 .wa-ft{display:none!important;display:none}
  .sec-2 .dash{height:calc((var(--stage) - 124px) * .58);border-radius:16px}
  .sec-2 #p-A .dash{height:276px}
  .s5-chip{display:inline-flex!important}   /* phones: the §5 mock has no sample band, so the one label sits in the header */   /* booking tab: fits its end state (3 bookings); no empty slab, no growth during play */
  .sec-2 .d-hd{display:none}
  .sec-2 .d-chd{min-height:48px;padding-block:4px}
  .sec-2 .comp{flex-direction:row;align-items:center;padding:8px 12px}
  .sec-2 .comp .field{flex:1;min-width:0;min-height:36px;padding:6px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .sec-2 .comp .field.focus{padding:5px 9px}
  .sec-2 .comp .row{flex:none}
  .sec-2 .dbtn{padding:0 10px}
  .sec-2 .hold{padding:6px 12px;font-size:13px;line-height:20px}
  .sec-2 .d-main .mt{padding:12px 12px 8px}
  .sec-2 .d-card{margin-inline:12px}
  .sec-2 .bk{padding-inline:12px;gap:10px;min-height:52px}.sec-2 .bk .when{width:58px}
  .rp-caption{margin-block-start:12px;min-height:48px}
  .jobs{grid-template-columns:1fr;gap:16px;margin-block-start:32px}
  .job{padding:20px}
  .s5-grid{margin-block-start:32px}
  .s5-desk{display:none}.s5-phone{display:flex;grid-column:span 12}
  .pdash{max-width:360px}
  .setup{margin-block-start:32px}
  .band{padding:48px 22px}
  .band-acts{flex-direction:column;align-items:stretch;width:100%}
  .band-acts .btn{width:100%}
  .sec-9{padding-block:64px}
  .ftr .in{flex-direction:column;align-items:flex-start;gap:0;padding-block:4px}
  .ftr .lsep{display:none}.ftr .lg{display:block}
  .ftr li:nth-child(-n+2){flex-basis:100%}.ftr li:nth-child(-n+3)::before{content:none}.ftr li:nth-child(-n+3) a{padding-inline-start:0}
  .q-btn{font-size:17px;line-height:26px}
}
/* the key trust line joins the phone's first screen only where it fits without pushing the chat below the fold (measured: 390x844 yes, 360x740 no) */
@media (max-width:767px) and (min-height:800px){
  .hero .trust-m{display:flex}
  .hero .trust li.key{display:none}
}
@media (max-width:359px){
  :root{--pad:16px}
  .hdr .brand img{height:30px;width:auto}.hdr .qlink{padding-inline:8px}
  .tab{font-size:14px;padding:0 4px}
  .d-row .nm,.bk .who b{font-size:14px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition-duration:1ms!important}
  .o2 .front{display:none}
  .o2 .back{opacity:1!important;transform:none!important}
}

/* no JS: all three scenarios stacked with their names, no tabs, no replay controls; all FAQ answers open */
.nojs-h{display:none}
html:not(.js) [role=tablist]{display:none}
html:not(.js) .tpanel[hidden]{display:block}
html:not(.js) .tpanel+.tpanel{margin-block-start:48px}
html:not(.js) .nojs-h{display:block;font-size:18px;line-height:28px;font-weight:600;margin-block-end:12px}
html:not(.js) .q-btn .ico{display:none}

/* ===== v2.2 (recheck of v2.1) ===== */
/* MF5: «قريب» / "Coming soon" chip: violet family (violet text + border on white, 5.98:1); never saffron, never cyan */
.chip-soon{display:inline-flex;align-items:center;flex:none;height:24px;padding:0 10px;border:1px solid var(--violet);border-radius:12px;background:var(--white);font-size:13px;line-height:20px;font-weight:500;color:var(--violet);white-space:nowrap}
.st-h{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px}
.lbl-row{display:flex;align-items:center;gap:8px}
.dcol .cap-row{justify-content:flex-start;gap:10px}
/* MF2: the chat frames SCROLL (bottom-anchored, newest at the bottom); nothing is removed */
.wa-body,.d-thread{overflow-y:auto;overscroll-behavior:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.wa-body::-webkit-scrollbar,.d-thread::-webkit-scrollbar{width:6px}
.wa-body::-webkit-scrollbar-thumb,.d-thread::-webkit-scrollbar-thumb{background:var(--line);border-radius:3px}
.wa-body .scroll,.d-thread .tin{flex:none}
/* threads start at the top; once they overflow, the engine keeps them scrolled to the newest message (no empty band above or below the stack) */
.wa-body .scroll,.hero .wa-body .scroll,.hero .wa.fit .wa-body .scroll,.d-thread .tin{margin-block-start:0}
/* MF1: header text block; the name never wraps (ellipsis as the guard); on phones the sample chip sits on the status row, so the name has the full width */
.wa-hd .hd-t{flex:1;min-width:0}
.wa-hd .nm,.wa-hd .st{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero .hd-t{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;align-items:center}
.hero .hd-t .nm{grid-column:1 / span 2;grid-row:1}
.hero .hd-t .st{grid-column:1;grid-row:2}
.hero .hd-t .hd-chip{grid-column:2;grid-row:2;margin:0;height:22px;padding:0 8px}
/* minor 2: the trust line never leaves one word alone (plus a no-break space before «موافقتك») */
.trust li span,.trust-m span,.band .sub{text-wrap:pretty}
/* minor 12: EN phones: the bookings sub-line wraps instead of being cut */
@media (max-width:400px){.bk .who span{white-space:normal}}
@media (min-width:768px) and (max-width:899px){.wa-hd{padding-inline:14px;gap:10px}}   /* MF1: 'Cardamom Island Kitchen' fits one line in the 277 px frame */
/* ===== v2.3 (UI recheck of v2.2) ===== */
/* MF-A: a 10 px strip in the frame white under the chat header; bubbles scroll beneath it, so none ever touches the header */
.wa-body,.hero .wa-body,.sec-2 .wa-body{padding-block-start:0}
.wa-body::before{content:"";display:block;flex:none;position:sticky;top:0;height:10px;background:var(--white);z-index:2}
/* MF-A: 768-1023 start from the short first paint too (guest opener at the top of the thread; no swap flash) */
@media (max-width:1023px){.hero .m-later{display:none}}
/* MF-A: narrow phones get ~24 px more frame height, so guest + AI intro both fit whole under the strip */
@media (max-width:389px){.hero{padding-block-start:12px}.hero .eyebrow{margin-block-end:6px}.hero .acts{margin-block-start:16px}.hero .demo{margin-block-start:14px}}
/* MF-C + minor 7: the §2 booking card grows to its content at <=1023 px (end height reserved by replay.js, no growth during play) */
@media (max-width:1023px){.sec-2 #p-A .dash{height:auto}}
/* minor 4: the band's WhatsApp line stays centred when it wraps */
.band-wa .walink{justify-content:center;text-align:center}
/* ===== v2.4 (UI recheck of v2.3) ===== */
/* MF-1: the §2 dashboard conversation pane gets the same 10 px strip (pane white) under its header / hold banner; settle() handles it too */
.d-thread,.sec-2 .d-thread{padding-block-start:0}
.d-thread::before{content:"";display:block;flex:none;position:sticky;top:0;height:10px;background:#fff;z-index:2}
/* MF-2: real phone-browser heights (Safari/Chrome bars): drop the day chip and reuse the narrow-phone hero spacing */
@media (max-width:767px) and (max-height:720px){.hero .wa-day,.hero .wa.fit .wa-day{display:none}.hero{padding-block-start:12px}.hero .eyebrow{margin-block-end:6px}.hero .acts{margin-block-start:16px}.hero .demo{margin-block-start:14px}
  /* + a denser lead on short screens (16/24, still >=13 px) and tighter gaps, so the phone frame holds the guest question + AI intro whole */
  .hero{padding-block-start:8px}.hero .eyebrow{margin-block-end:4px}.hero .lead{margin-block-start:8px;font-size:16px;line-height:24px}.hero .acts{margin-block-start:12px}.hero .demo{margin-block-start:10px}[lang=en] .hero .h1{line-height:1.15}.hero .wa-hd{height:48px}}
/* minor 2: the bookings list gets a 12 px inset at the bottom, like its sides (reserve() re-measures, no jump) */
.sec-2 #p-A .d-main{padding-block-end:12px}
/* minor 6: 1024-1100 px (desktop dashboard): the booking sub-line wraps instead of «…واتس…» */
@media (max-width:1100px){.bk .who span{white-space:normal}}
/* claim rule: «قريب» chip at the start of a caption that shows the unbuilt dashboard */
.rp-caption .chip-soon{margin-inline-end:6px;vertical-align:middle}
