/* home only: the sections under the live opening, in its style (numbers, outline headings). The opening's own CSS follows. */
.feat { display: block; padding: 0; text-align: start; border-top: 1px solid var(--line); min-height: 0; }
.feat-in { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; padding-block: 64px; }
.feat-txt { display: flex; flex-direction: column; align-items: flex-start; }
.no { font-size: 13px; font-weight: 700; color: #6E6E73; margin-bottom: 18px; }
.feat h2 { line-height: 0; }
.feat p { margin-top: 18px; font-size: 17px; color: var(--grey); }
.feat-dev { align-self: center; }
.promise { margin-top: 8px; }
.end { height: 380px; display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 56px; margin-top: 56px; }
.end h2 { line-height: 0; }
@media (min-width: 900px) {
  .feat { padding: 0; min-height: 0; }
  .feat-in { flex-direction: row; justify-content: space-between; align-items: center; min-height: 680px; padding-block: 0; }
  .feat:nth-of-type(even) .feat-dev { order: 0; }
  .feat:nth-of-type(even) .feat-in { flex-direction: row-reverse; }
  .feat-dev { align-self: auto; }
  .feat p { font-size: 20px; margin-top: 24px; }
  .promise { margin: 40px 100px 0; }
  .end { height: 500px; padding-top: 90px; margin-top: 80px; }
}

/* Layout: one 1200 px column. Top bar: wordmark at the start, links at the end. Hero: the words on the start side (right),
   the runner on the other half seen from the side, running toward them. Phone: words on top, runner under them.
   Type: big headings are Thmanyah drawn as outlines (the font file never ships, like the wordmark), with the long last
   letter on the page title; body text is the system font. */
:root{
  --bg:#080809; --fg:#FFFFFF; --muted:#A8A8AD; --dim:#6E6E73; --line:#1C1C1E; --tag:#FCC33A;
  --sys:-apple-system,system-ui,"SF Arabic","Geeza Pro",sans-serif; --gut:max(20px,env(safe-area-inset-right,0px));
  color-scheme:dark;
}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--fg)}
body{font-family:var(--sys);direction:rtl;-webkit-font-smoothing:antialiased}
.wrap{max-width:1200px;margin:0 auto;padding-inline:var(--gut)}
.top{position:absolute;top:0;left:0;right:0;z-index:4}
.top .wrap{display:flex;align-items:center;justify-content:space-between;height:76px}
.top .wm{height:30px;width:auto;color:var(--fg);display:block}
.top nav{display:flex;gap:28px}
.top nav a{color:var(--muted);text-decoration:none;font-size:15px;font-weight:600}
.top nav a:hover{color:var(--fg)}
.hero{position:relative;height:clamp(640px,100svh,880px);overflow:hidden;background:var(--bg)}
#stage{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:pan-y}
.fine #stage{cursor:grab}.fine #stage:active{cursor:grabbing}
.words{position:absolute;z-index:2;inset:0;pointer-events:none}
.words .wrap{height:100%;display:flex;flex-direction:column;align-items:flex-start;padding-top:112px}
h1{margin:0;width:min(330px,84vw);line-height:0}
h1 svg{width:100%;height:auto;display:block}
.sub{margin:18px 0 0;font-size:17px;font-weight:400;color:var(--muted);line-height:1.6;max-width:21em}
.cta{display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin-top:26px}
.badge{pointer-events:auto;height:52px;padding:0 22px;border-radius:14px;background:var(--fg);color:#120F0F;display:inline-flex;align-items:center;
  font-size:15px;font-weight:700;border:0;font-family:var(--sys);cursor:pointer}
.badge:focus-visible{outline:2px solid var(--tag);outline-offset:3px}
.facts{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 16px}
.facts li{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--muted);white-space:nowrap}
.facts svg{width:16px;height:16px;fill:none;stroke:var(--muted);stroke-width:2.2}
@media (min-width:900px){
  .words .wrap{justify-content:center;padding-top:40px}
  .words .col{width:46%}
  h1{width:min(500px,100%)}
  .sub{font-size:20px;margin-top:24px}
  .cta{margin-top:34px;gap:20px}
}
.hint{position:absolute;z-index:3;left:30%;bottom:calc(26px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);display:none;
  font-size:12px;font-weight:600;color:var(--dim);transition:opacity .6s;pointer-events:none;white-space:nowrap}
.fine .hint{display:block}
@media (max-width:899px){.hint{left:50%}}
.hint.gone{opacity:0}
.tag{position:absolute;z-index:3;bottom:14px;left:max(12px,env(safe-area-inset-left,0px));font-size:11px;font-weight:700;padding:3px 9px;border-radius:9px;background:var(--tag);color:#120F0F}
.fallback[hidden]{display:none}
.fallback{position:absolute;inset:0;z-index:0;display:flex;align-items:flex-end;justify-content:center;background:#080809;padding-bottom:40px}
.fallback img{width:auto;max-width:100%;max-height:50%;object-fit:contain;display:block}
@media (min-width:900px){.fallback{justify-content:flex-start;align-items:center;padding:0 0 0 10vw}.fallback img{max-height:72%}}
.hero:has(.fallback:not([hidden])) .hint{display:none}
.next{border-top:1px solid var(--line)}
.next .wrap{padding-block:80px 110px;display:flex;flex-direction:column;align-items:flex-start}
.next .num{font-size:13px;font-weight:700;color:var(--dim);margin-bottom:18px;font-variant-numeric:tabular-nums}
.next h2{margin:0;width:min(300px,78vw);line-height:0}
.next h2 svg{width:100%;height:auto;display:block}
.next p{margin:18px 0 0;color:var(--muted);font-size:17px;line-height:1.6}
@media (min-width:900px){.next h2{width:420px}}

/* phone («ب», approved 20 Nov, canvas v415–v419): the runner fills the top with the wordmark behind him, the words and a
   full-width button sit at the bottom over heat rising from the floor; the three facts get their own row. Laptop unchanged. */
.sub .sm{display:none}
.facts-row{display:none}
@media (max-width:899px){
 .sub .sd{display:none}.sub .sm{display:inline}
 .top a[aria-label]{visibility:hidden}
 .hero{height:100svh;min-height:680px;max-height:860px}
 .hero::after{content:"";position:absolute;inset:auto 0 0 0;height:48%;background:var(--heat);opacity:.7;mix-blend-mode:screen;pointer-events:none;z-index:1;
   -webkit-mask-image:linear-gradient(0deg,#000 0%,transparent 100%);mask-image:linear-gradient(0deg,#000 0%,transparent 100%)}
 .hero::before{content:"";position:absolute;inset:auto 0 0 0;height:46%;z-index:1;pointer-events:none;background:linear-gradient(0deg,rgba(8,8,9,.82) 0%,rgba(8,8,9,.55) 55%,rgba(8,8,9,0) 100%)}
 .words .wrap{justify-content:flex-end;padding-top:0;padding-bottom:calc(34px + env(safe-area-inset-bottom,0px))}
 h1{width:270px}
 .sub{font-size:16px;margin-top:12px;color:#D6D6DA}
 .cta{margin-top:20px;width:100%}
 .hero .badge{width:100%;justify-content:center;height:56px;border-radius:28px}
 .hero .facts{display:none}
 .facts-row{display:block;border-bottom:1px solid var(--line)}
 .facts-row .facts{justify-content:space-between;padding:22px 0;flex-wrap:nowrap;gap:8px}
 .facts-row .facts li{flex-direction:column;gap:8px;font-size:12px;flex:1;text-align:center;white-space:normal}
 .facts-row .facts li svg{width:22px;height:22px}
 .feat{position:relative;overflow:hidden;isolation:isolate}
 .feat::after{content:"";position:absolute;inset:auto 0 0 0;height:42%;background:var(--heat);opacity:.35;z-index:-1;
   -webkit-mask-image:linear-gradient(0deg,#000 0%,transparent 100%);mask-image:linear-gradient(0deg,#000 0%,transparent 100%)}
 .feat-in{padding-block:56px 64px;gap:28px;align-items:center;text-align:center}
 .feat-txt{align-items:center}
 .feat-dev{display:flex;gap:14px;align-items:center}
 .feat .dev.phone{--w:290px !important}
 .feat .dev.watch{--w:120px !important}
 .feat .dev.watch + .dev.phone{--w:200px !important}
}
