/* =========================================================
   Nanovate design system — built from the 2025 Brand Guidelines
   Primary: Caribbean Green #1ACC96 · Rebecca Purple #662D91
            Dark Blue #050626 · Dark Grey #484E54 · Iron #DBDEE3
   Type: Bricolage Grotesque (display) · Inter (text) · Almarai (Arabic)
   ========================================================= */
@font-face{ font-family:"Bricolage"; src:url("../fonts/bricolage-latin.woff2") format("woff2"); font-weight:200 800; font-display:swap; unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face{ font-family:"Bricolage"; src:url("../fonts/bricolage-latin-ext.woff2") format("woff2"); font-weight:200 800; font-display:swap; unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face{ font-family:"Inter"; src:url("../fonts/inter-latin.woff2") format("woff2"); font-weight:100 900; font-display:swap; unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face{ font-family:"Almarai"; src:url("../fonts/Almarai-Light.woff2") format("woff2"); font-weight:300; font-display:swap; unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F; }
@font-face{ font-family:"Almarai"; src:url("../fonts/Almarai-Regular.woff2") format("woff2"); font-weight:400; font-display:swap; unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F; }
@font-face{ font-family:"Almarai"; src:url("../fonts/Almarai-Bold.woff2") format("woff2"); font-weight:700; font-display:swap; unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F; }
@font-face{ font-family:"Almarai"; src:url("../fonts/Almarai-ExtraBold.woff2") format("woff2"); font-weight:800; font-display:swap; unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F; }

:root{
  color-scheme:dark;
  /* brand */
  --green:#1ACC96; --green-rgb:26,204,150; --green-ink:#03251a;
  --purple:#662D91; --purple-rgb:102,45,145;
  --navy:#050626; --grey:#484E54; --iron:#DBDEE3;
  --cyan:#00FFFF; --magenta:#FF66FF; --lime:#DDF9BC; --yellow:#FCE272;
  --sea:#3B8B6D; --teal:#1F5A57; --indigo:#222266; --petrol:#033346;
  /* surfaces (dark) */
  --bg:#000; --bg-2:#0b0d0d; --card:#0b0d0d; --card-2:#111414;
  --line:rgba(255,255,255,.08); --line-2:rgba(255,255,255,.14);
  --text:#f3f3f3; --muted:#b0b3b3; --dim:#878c8c; --mono:ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,monospace;
  --display:"Bricolage", "Inter", system-ui, sans-serif;
  --body:"Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ar:"Almarai", "Inter", system-ui, sans-serif;
  --max:1200px; --gut:40px; --r:20px;
  --ease:cubic-bezier(.22,.8,.24,1);
}
*,*::before,*::after{ box-sizing:border-box; }
html{ background:var(--bg); -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{ margin:0; background:var(--bg); color:var(--text); font-family:var(--body); font-size:17px; line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:clip; }
html[lang="ar"] body{ font-family:var(--ar); }
img,svg,video{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; }
:focus-visible{ outline:2px solid var(--green); outline-offset:3px; border-radius:8px; }
.sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.skip{ position:absolute; inset-inline-start:16px; top:-60px; z-index:100; background:#fff; color:var(--navy); padding:10px 16px; border-radius:8px; }
.skip:focus{ top:12px; }
[dir="ltr"] .ltr-only{ } [dir="rtl"] .flip{ transform:scaleX(-1); }
.wrap{ max-width:var(--max); margin:0 auto; padding:0 var(--gut); }

/* ---------- Type ---------- */
h1,h2,h3,h4{ font-family:var(--display); font-weight:700; margin:0; letter-spacing:-.03em; line-height:1.04; text-wrap:balance; }
html[lang="ar"] :is(h1,h2,h3,h4){ font-family:var(--ar); font-weight:800; letter-spacing:0; line-height:1.32; }
.h-xl{ font-size:clamp(44px,6.4vw,92px); letter-spacing:-.045em; line-height:.98; }
.h-l{ font-size:clamp(36px,4.6vw,64px); }
.h-m{ font-size:clamp(26px,2.6vw,36px); letter-spacing:-.02em; line-height:1.12; }
.h-s{ font-size:20px; letter-spacing:-.01em; line-height:1.25; }
html[lang="ar"] .h-xl{ line-height:1.2; }
.lead{ font-size:clamp(17px,1.45vw,20px); color:var(--muted); line-height:1.6; max-width:640px; margin:22px 0 0; }
.t-green{ color:var(--green); }
.t-grad{ background:linear-gradient(100deg,var(--green) 0%,#7CF3D3 38%,#9CA7FF 70%,#E59CF0 100%); -webkit-background-clip:text; background-clip:text; color:transparent; padding-bottom:.08em; }
.lbl{ display:inline-flex; align-items:center; gap:10px; font-family:var(--body); font-size:13px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin:0 0 18px; }
html[lang="ar"] .lbl{ letter-spacing:0; font-size:15px; font-family:var(--ar); }
.lbl b{ color:var(--green); font-weight:600; font-family:var(--display); letter-spacing:.02em; }
.lbl::before{ content:""; width:18px; height:10px; background:url("../img/stroke.svg") center/contain no-repeat; }
.crumb{ display:flex; gap:8px; align-items:center; font-size:14px; color:var(--dim); margin:0 0 26px; }
.crumb a:hover{ color:var(--text); }
.crumb span[aria-hidden]{ opacity:.5; }

/* ---------- Buttons ---------- */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:12px 24px; border-radius:999px; font-family:var(--display); font-size:16px; font-weight:600; letter-spacing:.01em; border:1px solid transparent; cursor:pointer; white-space:nowrap; transition:transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s; }
html[lang="ar"] .btn{ font-family:var(--ar); font-weight:700; letter-spacing:0; }
.btn svg{ width:16px; height:16px; }
.btn-primary{ background:var(--green); color:var(--navy); }
.btn-primary:hover{ transform:translateY(-1px); box-shadow:0 10px 34px rgba(var(--green-rgb),.35); }
.btn-line{ border-color:var(--line-2); color:var(--text); background:transparent; }
.btn-line:hover{ border-color:rgba(var(--green-rgb),.7); background:rgba(var(--green-rgb),.08); }
.btn-white{ background:#fff; color:var(--navy); }
.btn-white:hover{ transform:translateY(-1px); }
.btn-row{ display:flex; flex-wrap:wrap; gap:12px; margin-top:32px; }
.link-arrow{ display:inline-flex; align-items:center; gap:8px; color:var(--green); font-weight:600; font-family:var(--display); }
html[lang="ar"] .link-arrow{ font-family:var(--ar); }
.link-arrow svg{ width:14px; height:14px; transition:transform .25s var(--ease); }
.link-arrow:hover svg{ transform:translateX(3px); }
[dir="rtl"] .link-arrow:hover svg{ transform:scaleX(-1) translateX(3px); }

/* ---------- Nav ---------- */
.nav{ position:fixed; inset:0 0 auto; z-index:60; border-bottom:1px solid transparent; transition:background .3s, border-color .3s; }
.nav.scrolled, .nav.open-dd{ background:rgba(0,0,0,.72); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); border-bottom-color:var(--line); }
.nav-in{ max-width:1320px; margin:0 auto; padding:14px var(--gut); display:flex; align-items:center; gap:28px; }
.brand{ display:inline-flex; color:#fff; line-height:0; }
.brand svg{ height:28px; width:auto; }
.menu{ display:flex; align-items:center; gap:4px; margin-inline-start:auto; list-style:none; padding:0; margin-block:0; }
.menu > li{ position:relative; }
.menu > li > a, .menu > li > button{ display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:0 14px; border:0; background:none; cursor:pointer; color:#d6d8d8; font-size:15.5px; border-radius:999px; transition:color .2s, background .2s; }
.menu > li > a:hover, .menu > li > button:hover, .menu > li > button[aria-expanded="true"]{ color:#fff; background:rgba(219,222,227,.06); }
.menu > li > a[aria-current="page"]{ color:#fff; }
.menu button svg{ width:12px; height:12px; transition:transform .25s; }
.menu button[aria-expanded="true"] svg{ transform:rotate(180deg); }
.dd{ position:absolute; top:calc(100% + 10px); inset-inline-start:-12px; min-width:340px; padding:10px; border-radius:18px; border:1px solid var(--line-2); background:#0b0d0d; box-shadow:0 30px 80px rgba(0,0,0,.5); opacity:0; visibility:hidden; transform:translateY(-6px); transition:opacity .2s, transform .2s var(--ease), visibility .2s; }
.dd.wide{ min-width:560px; display:grid; grid-template-columns:1fr 1fr; gap:2px; }
.dd.open{ opacity:1; visibility:visible; transform:none; }
.dd a{ display:flex; gap:12px; padding:12px; border-radius:12px; transition:background .2s; }
.dd a:hover{ background:rgba(219,222,227,.06); }
.dd .ic{ flex:none; width:38px; height:38px; border-radius:10px; display:grid; place-items:center; background:rgba(var(--green-rgb),.12); color:var(--green); }
.dd .ic svg{ width:18px; height:18px; }
.dd b{ display:block; font-family:var(--display); font-weight:600; font-size:15px; color:#fff; }
html[lang="ar"] .dd b{ font-family:var(--ar); font-weight:700; }
.dd small{ display:block; color:var(--dim); font-size:13px; line-height:1.4; margin-top:2px; }
.nav-act{ display:flex; align-items:center; gap:10px; }
.lang{ background:transparent; color:inherit; cursor:pointer; font:inherit; min-height:44px; min-width:44px; padding:0 14px; display:inline-grid; place-items:center; border-radius:999px; border:1px solid var(--line-2); font-size:15px; transition:border-color .2s, background .2s; }
.lang:hover{ border-color:rgba(var(--green-rgb),.6); }
.lang[lang="ar"]{ font-family:var(--ar); }
.nav .btn{ min-height:44px; padding:10px 20px; font-size:15px; }
.burger{ display:none; width:44px; height:44px; border-radius:999px; border:1px solid var(--line-2); background:none; cursor:pointer; place-items:center; }
.burger svg{ width:20px; height:20px; }
.mnav{ position:fixed; inset:0; z-index:59; background:rgba(0,0,0,.97); padding:96px 24px 32px; overflow:auto; opacity:0; visibility:hidden; transition:opacity .25s, visibility .25s; }
.mnav.open{ opacity:1; visibility:visible; }
.mnav h4{ font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--dim); margin:24px 0 6px; font-family:var(--body); font-weight:600; }
html[lang="ar"] .mnav h4{ letter-spacing:0; font-size:14px; }
.mnav a{ display:block; padding:12px 0; font-size:22px; font-family:var(--display); font-weight:600; border-bottom:1px solid var(--line); }
html[lang="ar"] .mnav a{ font-family:var(--ar); font-weight:700; }
.mnav .btn{ display:flex; margin-top:28px; border:0; font-size:17px; }

/* ---------- Page hero ---------- */
.hero{ position:relative; padding:150px 0 90px; overflow:clip; isolation:isolate; }
.hero .wrap{ position:relative; z-index:2; }
.hero-grid{ display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:56px; align-items:center; }
.hero.center{ text-align:center; } .hero.center .lead{ margin-inline:auto; } .hero.center .btn-row, .hero.center .crumb{ justify-content:center; }
.hero.center h1{ margin-inline:auto; max-width:16ch; }
.aurora{ position:absolute; inset:0; z-index:-1; pointer-events:none; background:
  radial-gradient(38% 46% at 82% 18%, rgba(26,204,150,.34), transparent 70%),
  radial-gradient(30% 40% at 66% 4%, rgba(0,230,255,.22), transparent 70%),
  radial-gradient(34% 44% at 96% 52%, rgba(102,45,145,.55), transparent 72%),
  radial-gradient(24% 30% at 74% 46%, rgba(255,102,255,.14), transparent 70%),
  linear-gradient(180deg, #050626 0%, #050626 100%); }
.aurora::after{ content:""; position:absolute; inset:0; background:url("../img/waves.svg") center/cover no-repeat; mix-blend-mode:screen; opacity:.9; }
.hero.center .aurora{ background:
  radial-gradient(40% 50% at 50% 0%, rgba(26,204,150,.32), transparent 70%),
  radial-gradient(30% 40% at 20% 10%, rgba(102,45,145,.45), transparent 72%),
  radial-gradient(30% 40% at 82% 12%, rgba(0,220,255,.2), transparent 72%),
  #050626; }
.hero .blob{ position:absolute; z-index:-1; width:min(440px,40vw); opacity:.95; pointer-events:none; }
.stats{ display:flex; flex-wrap:wrap; gap:14px 40px; margin-top:44px; padding-top:26px; border-top:1px solid var(--line); }
.hero.center .stats{ justify-content:center; }
.stat b{ display:block; font-family:var(--display); font-size:34px; font-weight:700; letter-spacing:-.03em; line-height:1; }
html[lang="ar"] .stat b{ font-family:var(--display); }
.stat span{ display:block; color:var(--muted); font-size:14px; margin-top:6px; }

/* ---------- Screenshot frame ---------- */
.frame{ position:relative; border-radius:16px; overflow:hidden; border:1px solid var(--line-2); background:#0b0d0d; box-shadow:0 40px 100px rgba(0,0,0,.45), 0 0 0 6px rgba(219,222,227,.03); direction:ltr; }
.frame-bar{ display:flex; align-items:center; gap:6px; height:34px; padding:0 14px; border-bottom:1px solid var(--line); background:#0b0d0d; }
.frame-bar i{ width:10px; height:10px; border-radius:50%; background:#2A2E5A; }
.frame-bar b{ margin-inline:auto; font-weight:500; font-size:12px; color:var(--dim); font-family:var(--body); }
.frame img{ width:100%; height:auto; }
.media{ position:relative; }
.media .blob{ position:absolute; z-index:-1; width:62%; inset-inline-end:-14%; top:-18%; opacity:.9; pointer-events:none; }

/* ---------- Sections ---------- */
.sec{ position:relative; padding:120px 0; }
.sec + .sec{ border-top:1px solid var(--line); }
.sec-head{ max-width:760px; margin-bottom:56px; }
.sec-head.center{ margin-inline:auto; text-align:center; }
.sec-head .lead{ margin-top:18px; }
.sec-head.center .lead{ margin-inline:auto; }
.sec-head.split{ max-width:none; display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:end; }
.sec-head.split .lead{ margin:0; }

/* light brand section (Iron + pastel gradients from the light-mode guideline) */
.sec.light{ --text:#050626; --muted:#484E54; --dim:#6B7280; --line:rgba(5,6,38,.10); --line-2:rgba(5,6,38,.16); --card:#fff; --card-2:#fff;
  color:var(--text); background:
  radial-gradient(40% 60% at 8% 10%, rgba(221,249,188,.85), transparent 70%),
  radial-gradient(40% 60% at 96% 20%, rgba(170,236,255,.75), transparent 70%),
  radial-gradient(40% 50% at 80% 100%, rgba(214,200,245,.65), transparent 70%),
  #EEF0F4; border-top:0 !important; }
.sec.light + .sec{ border-top:0; }
.sec.light .lbl{ color:#484E54; }
.sec.light .lbl b{ color:var(--purple); }
.sec.light .lbl::before{ background-image:url("../img/stroke-purple.svg"); }
.sec.light .t-green{ color:#0E9C72; }
.sec.light .btn-line{ color:var(--navy); }
.sec.light .card{ box-shadow:0 1px 0 rgba(5,6,38,.04), 0 20px 50px -30px rgba(5,6,38,.25); }
.sec.light .ic-box{ background:rgba(102,45,145,.1); color:var(--purple); }
.sec.light .link-arrow{ color:var(--purple); }

/* ---------- Grids & cards ---------- */
.g2,.g3,.g4{ display:grid; gap:18px; }
.g2{ grid-template-columns:repeat(2,minmax(0,1fr)); }
.g3{ grid-template-columns:repeat(3,minmax(0,1fr)); }
.g4{ grid-template-columns:repeat(4,minmax(0,1fr)); }
.card{ position:relative; border:1px solid var(--line); border-radius:var(--r); background:var(--card); padding:30px 28px; transition:border-color .3s, transform .3s var(--ease), background .3s; }
a.card:hover, .card.hover:hover{ border-color:rgba(var(--green-rgb),.45); transform:translateY(-3px); }
.card h3{ margin:18px 0 10px; }
.card p{ margin:0; color:var(--muted); font-size:16px; line-height:1.6; }
.card .tag{ position:absolute; top:22px; inset-inline-end:22px; }
.card .link-arrow{ margin-top:20px; }
.ic-box{ width:48px; height:48px; border-radius:14px; display:grid; place-items:center; background:rgba(var(--green-rgb),.12); color:var(--green); }
.ic-box svg{ width:22px; height:22px; }
.tag{ display:inline-flex; align-items:center; gap:6px; padding:4px 10px; border-radius:999px; font-size:12px; font-weight:600; letter-spacing:.02em; border:1px solid var(--line-2); color:var(--muted); background:transparent; }
html[lang="ar"] .tag{ letter-spacing:0; font-size:13px; }
.tag.on{ color:var(--green); border-color:rgba(var(--green-rgb),.45); background:rgba(var(--green-rgb),.08); }
.tag.on::before{ content:""; width:6px; height:6px; border-radius:50%; background:currentColor; }
.tag.purple{ color:#C9A3EA; border-color:rgba(var(--purple-rgb),.6); background:rgba(var(--purple-rgb),.18); }
.sec.light .tag.on{ color:#0B7F5C; border-color:rgba(26,204,150,.6); background:rgba(26,204,150,.12); }
.sec.light .tag{ color:#484E54; }
.bullets{ list-style:none; padding:0; margin:20px 0 0; display:grid; gap:12px; }
.bullets li{ position:relative; padding-inline-start:30px; color:var(--muted); line-height:1.5; }
.bullets li::before{ content:""; position:absolute; inset-inline-start:0; top:6px; width:18px; height:10px; background:url("../img/stroke.svg") center/contain no-repeat; }
.sec.light .bullets li::before{ background-image:url("../img/stroke-purple.svg"); }
.bullets b{ color:var(--text); font-weight:600; }

/* feature rows */
.frow{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:64px; align-items:center; }
.frow + .frow{ margin-top:110px; }
.frow.rev > :first-child{ order:2; }
.frow h3{ margin-bottom:6px; }
.frow .lead{ font-size:18px; }

/* numbered steps with brand-stroke connector */
.steps{ list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; counter-reset:s; }
.steps li{ position:relative; border:1px solid var(--line); border-radius:var(--r); padding:30px 28px; background:var(--card); }
.steps .n{ display:flex; align-items:center; gap:12px; font-family:var(--display); font-size:15px; font-weight:600; color:var(--green); }
.steps .n::after{ content:""; flex:1; height:1px; background:linear-gradient(90deg,rgba(var(--green-rgb),.6),transparent); }
[dir="rtl"] .steps .n::after{ background:linear-gradient(270deg,rgba(var(--green-rgb),.6),transparent); }
.steps h3{ margin:22px 0 10px; }
.steps p{ margin:0; color:var(--muted); font-size:16px; }

/* use cases */
.uc{ border:1px solid var(--line); border-radius:var(--r); padding:26px; background:var(--card); }
.uc .tag{ margin-bottom:16px; }
.uc h3{ font-size:19px; margin-bottom:8px; }
.uc p{ margin:0; color:var(--muted); font-size:15.5px; }

/* chips */
.chips{ list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:10px; }
.chips li{ padding:9px 16px; border-radius:999px; border:1px solid var(--line-2); font-size:15px; background:var(--card); }
.chips li.first{ background:var(--green); color:var(--navy); border-color:var(--green); font-weight:600; }
.chips li.more{ color:var(--green); border-style:dashed; border-color:rgba(var(--green-rgb),.6); }

/* comparison table */
.cmp{ width:100%; border-collapse:separate; border-spacing:0; border:1px solid var(--line); border-radius:var(--r); overflow:hidden; font-size:16px; }
.cmp th,.cmp td{ padding:18px 22px; text-align:start; border-bottom:1px solid var(--line); vertical-align:top; }
.cmp tr:last-child td{ border-bottom:0; }
.cmp thead th{ font-family:var(--display); font-weight:600; font-size:15px; color:var(--muted); background:var(--card); }
html[lang="ar"] .cmp thead th{ font-family:var(--ar); }
.cmp thead th.us{ color:var(--green); }
.cmp td:first-child{ color:var(--text); font-weight:600; width:26%; }
.cmp td.us{ background:rgba(var(--green-rgb),.05); color:var(--text); }
.cmp td{ color:var(--muted); }

/* FAQ */
.faq{ max-width:860px; margin:0 auto; }
.faq details{ border-bottom:1px solid var(--line); }
.faq summary{ list-style:none; cursor:pointer; padding:24px 0; display:flex; justify-content:space-between; gap:20px; font-family:var(--display); font-size:20px; font-weight:600; letter-spacing:-.01em; }
html[lang="ar"] .faq summary{ font-family:var(--ar); font-weight:700; letter-spacing:0; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; flex:none; width:32px; height:32px; border-radius:50%; border:1px solid var(--line-2); display:grid; place-items:center; color:var(--green); font-weight:400; transition:transform .25s; }
.faq details[open] summary::after{ transform:rotate(45deg); }
.faq details p{ margin:0 0 24px; color:var(--muted); max-width:720px; }

/* CTA band */
.cta{ position:relative; margin:0 var(--gut) 100px; border-radius:32px; overflow:hidden; isolation:isolate; padding:90px 60px; border:1px solid var(--line-2); }
.cta .bg{ position:absolute; inset:0; z-index:-1; background:
  radial-gradient(50% 80% at 10% 100%, rgba(26,204,150,.45), transparent 70%),
  radial-gradient(40% 70% at 95% 0%, rgba(102,45,145,.7), transparent 70%),
  radial-gradient(30% 60% at 60% 120%, rgba(0,220,255,.25), transparent 70%),
  #0b0d0d; }
.cta .bg::after{ content:""; position:absolute; inset:0; background:url("../img/waves.svg") center/cover; mix-blend-mode:screen; }
.cta .mark{ position:absolute; inset-inline-end:-40px; bottom:-60px; width:min(460px,46%); opacity:.14; color:#fff; }
.cta-in{ max-width:var(--max); margin:0 auto; position:relative; }
.cta h2{ max-width:16ch; }
.cta .lead{ color:#c9cbcb; }

/* ---------- Integrations ---------- */
.legend{ display:flex; flex-wrap:wrap; gap:12px 22px; align-items:center; color:var(--muted); font-size:15px; }
.toolbar{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; margin:0 0 36px; }
.filters{ display:flex; flex-wrap:wrap; gap:8px; }
.filters button{ min-height:40px; padding:0 16px; border-radius:999px; border:1px solid var(--line-2); background:transparent; cursor:pointer; font-size:14.5px; color:var(--muted); transition:all .2s; }
.filters button[aria-pressed="true"]{ background:var(--text); color:var(--navy); border-color:var(--text); }
.search{ display:flex; align-items:center; gap:10px; min-height:44px; padding:0 16px; border-radius:999px; border:1px solid var(--line-2); min-width:260px; }
.search svg{ width:16px; height:16px; color:var(--dim); }
.search input{ flex:1; border:0; background:none; color:var(--text); font:inherit; font-size:15px; outline:none; }
.icat{ margin-bottom:56px; }
.icat-h{ display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:10px 24px; margin-bottom:20px; padding-bottom:14px; border-bottom:1px solid var(--line); }
.icat-h h3{ font-size:24px; }
.icat-h p{ margin:0; color:var(--muted); font-size:15px; max-width:560px; }
.tiles{ display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:12px; }
.tile{ display:flex; align-items:center; gap:14px; padding:16px; border-radius:16px; border:1px solid var(--line); background:var(--card); transition:border-color .25s, background .25s; }
.tile:hover{ border-color:var(--line-2); background:var(--card-2); }
.tile .lg{ flex:none; width:44px; height:44px; border-radius:12px; display:grid; place-items:center; background:rgba(219,222,227,.06); color:#e2e4e4; transition:color .25s, background .25s; }
.tile:hover .lg{ color:var(--brand,#fff); background:rgba(255,255,255,.95); }
.tile .lg svg{ width:22px; height:22px; fill:currentColor; }
.tile b{ display:block; font-weight:600; font-size:15px; line-height:1.25; }
.tile small{ display:inline-flex; align-items:center; gap:5px; margin-top:4px; font-size:12px; color:var(--dim); }
.tile small::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--dim); }
.tile.native small{ color:var(--green); } .tile.native small::before{ background:var(--green); }
.tile[hidden]{ display:none; }
.logo-strip{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin-top:44px; }
.logo-strip span{ width:56px; height:56px; border-radius:16px; display:grid; place-items:center; border:1px solid var(--line); background:var(--card); color:#e2e4e4; }
.logo-strip svg{ width:24px; height:24px; fill:currentColor; }

/* ---------- Footer ---------- */
.foot{ position:relative; border-top:1px solid var(--line); background:#000; overflow:hidden; }
.foot-top{ display:grid; grid-template-columns:1.3fr repeat(3,1fr); gap:40px; padding-top:80px; }
.foot .brand svg{ height:34px; }
.foot-desc{ color:var(--muted); margin:20px 0 0; max-width:360px; font-size:15.5px; }
.foot h4{ font-family:var(--body); font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--dim); margin:0 0 16px; font-weight:600; }
html[lang="ar"] .foot h4{ letter-spacing:0; font-size:14px; font-family:var(--ar); }
.foot ul{ list-style:none; padding:0; margin:0; display:grid; gap:10px; font-size:15.5px; }
.foot ul a{ color:#c9cbcb; transition:color .2s; }
.foot ul a:hover{ color:var(--green); }
.press{ margin-top:64px; }
.press-list{ list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.press-list a{ display:block; height:100%; padding:16px 18px; border:1px solid var(--line); border-radius:14px; transition:border-color .2s; }
.press-list a:hover{ border-color:rgba(var(--green-rgb),.4); }
.press-list b{ display:block; color:var(--green); font-size:13px; margin-bottom:6px; }
.press-list span{ display:block; color:#c9cbcb; font-size:14.5px; line-height:1.45; text-align:left; }
.foot-bot{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px 24px; margin-top:56px; padding:22px 0 30px; border-top:1px solid var(--line); color:var(--dim); font-size:14px; }
.foot-bot nav{ display:flex; flex-wrap:wrap; gap:8px 20px; }
.foot-bot a:hover{ color:var(--text); }
.foot-word{ font-family:var(--display); font-weight:700; font-size:clamp(90px,19vw,280px); letter-spacing:-.06em; line-height:.8; color:transparent; -webkit-text-stroke:1px rgba(219,222,227,.08); text-align:center; margin:10px 0 -.12em; user-select:none; direction:ltr; }

/* ---------- Motion ---------- */
.rv{ opacity:0; transform:translateY(26px); transition:opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } .rv{ opacity:1; transform:none; transition:none; } *{ animation:none !important; } }
.float{ animation:float 9s ease-in-out infinite; }
@keyframes float{ 50%{ transform:translateY(-14px) rotate(2deg); } }

/* ---------- Responsive ---------- */
@media (max-width:1080px){
  .menu{ display:none; } .burger{ display:grid; } .nav-act{ margin-inline-start:auto; }
  .nav-act .btn{ display:none; }
  .g4{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .foot-top{ grid-template-columns:1fr 1fr; }
}
@media (max-width:900px){
  :root{ --gut:20px; }
  .hero{ padding:120px 0 70px; }
  .hero-grid, .frow, .sec-head.split{ grid-template-columns:1fr; gap:40px; }
  .frow.rev > :first-child{ order:0; }
  .g3, .steps{ grid-template-columns:1fr; }
  .sec{ padding:90px 0; }
  .cta{ padding:60px 26px; margin:0 12px 70px; border-radius:24px; }
  .press-list{ grid-template-columns:1fr 1fr; }
  .cmp{ font-size:14.5px; } .cmp th,.cmp td{ padding:14px; }
  .search{ min-width:0; width:100%; }
}
@media (max-width:560px){
  body{ font-size:16px; }
  .g2,.g4{ grid-template-columns:1fr; }
  .foot-top{ grid-template-columns:1fr; }
  .press-list{ grid-template-columns:1fr; }
  .tiles{ grid-template-columns:1fr 1fr; }
  .tile{ flex-direction:column; align-items:flex-start; gap:10px; }
  .stat b{ font-size:28px; }
  .cmp-wrap{ overflow-x:auto; }
  .cmp{ min-width:560px; }
}

/* screenshot stacks (crossfade) */
.stack{ position:relative; }
.stack img{ width:100%; height:auto; }
.stack[data-cycle] img{ position:absolute; inset:0; opacity:0; transition:opacity .8s var(--ease); }
.stack[data-cycle] img.on{ position:relative; opacity:1; }
/* logo rows (clients / backers) */
.logo-row{ list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; align-items:center; gap:28px 48px; }
.logo-row li{ display:flex; align-items:center; min-height:48px; opacity:.82; transition:opacity .2s; }
.logo-row li:hover{ opacity:1; }
.logo-row img{ width:auto; max-width:180px; }
.sec.light .logo-row img{ filter:invert(1) brightness(.2); }

/* refinements */
.hero-grid{ grid-template-columns:minmax(0,.92fr) minmax(0,1.18fr); }
@media (min-width:1200px){ .hero-grid .media{ margin-inline-end:-40px; } }
.media .blob{ width:52%; inset-inline-end:-8%; top:-24%; }
.stats{ gap:14px 34px; }
.stat{ min-width:0; }
#library{ padding-top:40px; }
.legend{ display:flex; flex-wrap:wrap; gap:10px 26px; font-size:14.5px; color:var(--muted); }
.legend span{ display:inline-flex; align-items:center; gap:8px; }
.legend i{ font-style:normal; display:inline-flex; align-items:center; gap:6px; padding:3px 10px; border-radius:999px; border:1px solid var(--line-2); font-size:12.5px; font-weight:600; }
.legend i::before{ content:""; width:6px; height:6px; border-radius:50%; background:currentColor; }
.legend i.on{ color:var(--green); border-color:rgba(var(--green-rgb),.45); }
.legend i.api{ color:var(--muted); }
.logo-strip{ margin-top:52px; }
.logo-strip span{ transition:color .25s, border-color .25s; }
.hero-grid h1.h-xl{ font-size:clamp(42px,5.2vw,76px); }
.hero:not(.center) .wrap > div[data-rv]{ max-width:780px; }
.stats{ display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,max-content)); }
.hero-grid h1.h-xl{ font-size:clamp(40px,4.8vw,70px); }
@media (max-width:900px){ .hero .blob{ opacity:.5; width:60vw; } }
@media (max-width:900px){ .hero-grid{ grid-template-columns:1fr; } .hero-grid .media{ margin:0; } }
.legend i{ white-space:nowrap; }
@media (max-width:700px){ .filters{ flex-wrap:nowrap; overflow-x:auto; margin-inline:calc(var(--gut)*-1); padding-inline:var(--gut); scrollbar-width:none; } .filters::-webkit-scrollbar{ display:none; } .filters button{ flex:none; } }
.sec{ overflow-x:clip; }
@media (max-width:900px){ .media .blob{ inset-inline-end:-4%; width:46%; } }

/* ---------- Cropped screenshots (no browser chrome, animated zoom-in on reveal) ---------- */
.shot{ position:relative; margin:0; overflow:hidden; border-radius:16px; background:#111113; direction:ltr; isolation:isolate;
  box-shadow:0 40px 90px -30px rgba(0,0,0,.75), 0 0 60px -10px rgba(var(--green-rgb),.10); }
.shot img{ position:absolute; top:0; left:0; width:var(--iw); max-width:none; height:auto; transform-origin:0 0;
  transform:translate(var(--tx),var(--ty)); transition:transform 1.8s cubic-bezier(.22,.8,.24,1), opacity .9s var(--ease); will-change:transform; }
.rv:not(.in) .shot img{ transform:scale(var(--s0)) translate(var(--tx0),var(--ty0)); }
.shot[data-cycle] img{ opacity:0; }
.shot[data-cycle] img.on{ opacity:1; }
.sec.light .shot{ box-shadow:0 40px 80px -36px rgba(5,6,38,.45); }
@media (prefers-reduced-motion: reduce){ .shot img{ transition:none; } }

/* =========================================================
   Calm layer — one continuous black background, brand colour
   only inside contained cards, quieter type, a steady grid.
   ========================================================= */
body{ font-size:16px; }
.h-xl, .hero-grid h1.h-xl{ font-size:clamp(36px,4.2vw,56px); letter-spacing:-.035em; line-height:1.04; }
.h-l{ font-size:clamp(28px,3vw,42px); letter-spacing:-.03em; line-height:1.08; }
.h-m{ font-size:clamp(22px,2vw,28px); }
.h-s{ font-size:18px; }
.lead{ font-size:17px; line-height:1.65; max-width:600px; }
.btn{ min-height:44px; padding:10px 20px; font-size:15px; }
.btn-primary{ color:#04130e; }

/* labels: "/ 01 — Label" in mono, like an index */
.lbl{ font-family:var(--mono); font-size:12px; font-weight:500; letter-spacing:.1em; color:var(--dim); gap:8px; margin:0 0 16px; }
.lbl::before{ content:"/"; width:auto; height:auto; background:none; color:var(--green); }
.lbl b{ font-family:var(--mono); font-weight:500; color:var(--text); letter-spacing:.1em; }
.lbl b::after{ content:" —"; color:var(--dim); }
html[lang="ar"] .lbl, html[lang="ar"] .lbl b{ font-family:var(--ar); letter-spacing:0; font-size:14px; }

/* sections: same background everywhere, rhythm from spacing not colour */
.sec{ padding:100px 0; }
.sec + .sec{ border-top:0; }
.sec-head{ margin-bottom:52px; }
.sec-head.row{ max-width:none; display:grid; grid-template-columns:220px minmax(0,1fr); gap:0 48px; align-items:start; }
.sec-head.row > .lbl{ margin:0; padding-top:10px; }
.sec-head.row h2{ max-width:20ch; }
.sec-head.row .lead{ margin-top:16px; }
.sec-head.center .lbl::before{ content:"—"; color:var(--dim); }
.sec-head.center .lbl::after{ content:"—"; color:var(--dim); }
.sec-head.center h2{ max-width:22ch; margin-inline:auto; }

/* hero: brand gradient lives inside one contained card */
.hero{ padding:96px 0 0; overflow:visible; }
.hero-card{ position:relative; isolation:isolate; overflow:hidden; border-radius:28px; border:1px solid var(--line); padding:64px 56px; background:#0b0d0d; }
.hero-in{ position:relative; z-index:2; }
.aurora{ background:
  radial-gradient(60% 80% at 100% 0%, rgba(102,45,145,.55), transparent 70%),
  radial-gradient(50% 70% at 0% 100%, rgba(26,204,150,.22), transparent 70%),
  #0b0d0d; }
.aurora::after{ opacity:.35; }
.hero.center .aurora{ background:
  radial-gradient(55% 70% at 50% 0%, rgba(102,45,145,.5), transparent 72%),
  radial-gradient(40% 50% at 50% 100%, rgba(26,204,150,.16), transparent 72%),
  #0b0d0d; }
.hero .blob{ width:min(300px,28vw); opacity:.55; }
.hero.center h1{ max-width:18ch; }
.crumb{ font-family:var(--mono); font-size:12px; letter-spacing:.06em; margin-bottom:22px; }
html[lang="ar"] .crumb{ font-family:var(--ar); letter-spacing:0; font-size:13px; }
.stats{ margin-top:36px; padding-top:22px; }
.stat b{ font-size:28px; }
.stat span{ font-size:13px; }
.hero-grid{ gap:48px; }
@media (min-width:1200px){ .hero-grid .media{ margin-inline-end:0; } }
.media .blob{ display:none; }

/* cards: quiet surfaces, brand colour only as accent */
.card, .steps li, .uc{ background:var(--card); border-color:var(--line); border-radius:18px; padding:28px 26px; }
a.card:hover, .card.hover:hover{ border-color:rgba(var(--green-rgb),.35); transform:none; background:var(--card-2); }
.ic-box{ width:42px; height:42px; border-radius:12px; }
.ic-box svg{ width:20px; height:20px; }
.card p, .steps p, .uc p{ font-size:15px; }
.frow{ gap:56px; }
.frow + .frow{ margin-top:96px; }
.frow .lead{ font-size:16.5px; }
.shot{ border:1px solid var(--line); box-shadow:0 30px 70px -40px rgba(0,0,0,.9); border-radius:14px; }
.tile, .chips li{ background:var(--card); }
.tile .lg{ background:rgba(255,255,255,.05); }
.faq summary{ font-size:18px; padding:22px 0; }

/* CTA: one contained brand card */
.cta{ max-width:calc(var(--max) - 2*var(--gut)); margin:20px auto 100px; padding:72px 56px; border-radius:28px; border-color:var(--line); }
.cta .bg{ background:
  radial-gradient(60% 90% at 100% 0%, rgba(102,45,145,.6), transparent 70%),
  radial-gradient(50% 80% at 0% 100%, rgba(26,204,150,.28), transparent 70%),
  #0b0d0d; }
.cta .bg::after{ opacity:.3; }
.cta .lead{ color:#c9cbcb; }

/* footer on the same black */
.foot{ background:transparent; }
.foot-word{ -webkit-text-stroke:1px rgba(255,255,255,.06); }
.dd{ background:#0b0d0d; border-color:var(--line-2); }

@media (max-width:900px){
  .sec{ padding:80px 0; }
  .sec-head.row{ grid-template-columns:1fr; }
  .sec-head.row > .lbl{ padding:0; margin-bottom:14px; }
  .hero{ padding-top:84px; }
  .hero-card{ padding:44px 22px; border-radius:22px; }
  .cta{ margin:10px var(--gut) 70px; padding:52px 24px; }
}
/* hero: copy on top, product shot below, bleeding off the card's bottom edge */
.hero-card .hero-grid{ grid-template-columns:1fr; gap:0; }
.hero-card .hero-grid > div[data-rv]{ max-width:760px; }
.hero-card .hero-grid .media{ margin:56px 0 -65px; }
.hero-card .hero-grid .shot{ border-radius:14px 14px 0 0; border-bottom:0; box-shadow:0 -20px 60px -30px rgba(0,0,0,.8); }
.hero-card:has(.hero-grid){ padding-bottom:64px; }
@media (max-width:900px){ .hero-card .hero-grid .media{ margin:40px -6px -45px; } }
.cta .mark{ opacity:.06; }
/* ---------- Flat header: no dropdowns. Slim company bar + product row ---------- */
.topbar{ border-bottom:1px solid rgba(255,255,255,.06); }
.topbar ul{ list-style:none; margin:0 auto; padding:0 40px; max-width:1320px; height:34px; display:flex; justify-content:flex-end; align-items:center; gap:22px; }
.topbar a{ font-size:13px; color:#878c8c; transition:color .2s; }
.topbar a:hover, .topbar a[aria-current="page"]{ color:#f3f3f3; }
.nav .nav-in{ gap:20px; padding-top:10px; padding-bottom:10px; }
.nav .brand svg{ height:24px; }
.nav .menu{ gap:0; }
.nav .menu > li > a{ min-height:40px; padding:0 11px; font-size:14.5px; color:#c9cbcb; white-space:nowrap; }
.nav .menu > li > a[aria-current="page"]{ color:#fff; background:rgba(255,255,255,.06); }
.nav .lang{ min-height:40px; font-size:14px; }
.nav .nav-act .btn{ min-height:40px; padding:8px 18px; font-size:14.5px; }
html[lang="ar"] .nav .menu > li > a{ font-size:15px; padding:0 10px; }
@media (max-width:1240px){ .nav .menu > li > a{ padding:0 8px; font-size:14px; } .nav .nav-in{ gap:14px; } }
@media (max-width:1140px){ .topbar{ display:none; } .nav .menu{ display:none; } .nav .burger{ display:grid; } .nav .nav-act{ margin-inline-start:auto; } .nav .nav-act .btn{ display:none; } }
.hero{ padding-top:124px; }
@media (max-width:1140px){ .hero{ padding-top:84px; } }
/* brand mark inside the hero card, same treatment as the closing card */
.cta .mark{ opacity:.14; }
.hero-card::after{ content:""; position:absolute; z-index:0; pointer-events:none; top:56px; right:-30px; width:min(440px,40%); aspect-ratio:320/180; background:url("../img/stroke-white.svg") center/contain no-repeat; opacity:.1; }
[dir="rtl"] .hero-card::after{ right:auto; left:-30px; }
.hero-card .blob{ display:none; }
@media (max-width:900px){ .hero-card::after{ width:55%; top:24px; opacity:.07; } }
.hero-card::after{ width:min(360px,30%); top:40px; right:-24px; } [dir="rtl"] .hero-card::after{ left:-24px; }
[dir="rtl"] .hero:not(.center) .aurora{ background:radial-gradient(60% 80% at 0% 0%, rgba(102,45,145,.55), transparent 70%), radial-gradient(50% 70% at 100% 100%, rgba(26,204,150,.22), transparent 70%), #0b0d0d; }
[dir="rtl"] .cta .bg{ background:radial-gradient(60% 90% at 0% 0%, rgba(102,45,145,.6), transparent 70%), radial-gradient(50% 80% at 100% 100%, rgba(26,204,150,.28), transparent 70%), #0b0d0d; }
[dir="rtl"] .cta .mark{ inset-inline-end:auto; left:-40px; }

/* =========================================================
   Illustrated product scenes (crisp HTML/SVG, replaces detail screenshots)
   ========================================================= */
.ill{ position:relative; margin:0; isolation:isolate; overflow:hidden; border:1px solid var(--line); border-radius:20px; padding:24px;
  background:radial-gradient(70% 55% at 100% 0%, rgba(102,45,145,.24), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgba(26,204,150,.08), transparent 70%), #0b0d0d;
  font-size:14px; line-height:1.45; color:var(--text); display:grid; gap:16px; }
[dir="rtl"] .ill{ background:radial-gradient(70% 55% at 0% 0%, rgba(102,45,145,.24), transparent 70%), radial-gradient(60% 50% at 100% 100%, rgba(26,204,150,.08), transparent 70%), #0b0d0d; }
.ill-mark{ position:absolute; z-index:-1; inset-inline-end:-26px; bottom:-34px; width:42%; color:#fff; opacity:.05; pointer-events:none; }
.ill b{ font-weight:600; }
.ill small{ display:block; color:var(--dim); font-size:12px; margin-top:1px; }
.ill-h{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.ill-h > b{ font-family:var(--display); font-size:16px; letter-spacing:-.01em; }
html[lang="ar"] .ill-h > b{ font-family:var(--ar); }
.ill-pill{ display:inline-flex; align-items:center; gap:6px; padding:4px 10px; border-radius:999px; border:1px solid var(--line-2); font-size:12px; color:var(--muted); white-space:nowrap; }
.ill-pill svg{ width:13px; height:13px; color:var(--green); }
.ill-pill.ok{ color:var(--green); border-color:rgba(var(--green-rgb),.4); background:rgba(var(--green-rgb),.08); }
.ill-k{ margin:0 0 6px; font-size:12px; color:var(--dim); }
.ill-grow{ flex:1; min-width:0; }
.ill-grow b{ display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ill-ic{ flex:none; width:34px; height:34px; border-radius:10px; display:grid; place-items:center; background:rgba(var(--green-rgb),.1); color:var(--green); }
.ill-ic svg{ width:17px; height:17px; }
.ill-ok{ flex:none; display:inline-flex; align-items:center; gap:5px; font-size:12px; color:var(--green); }
.ill-ok svg{ width:14px; height:14px; }
.ill-list, .ill-pick, .ill-steps, .ill-bars{ list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.ill-list li, .ill-pick li, .ill-steps li, .ill-file, .ill-brand, .ill-node, .ill-call{ display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:12px; background:#111414; border:1px solid var(--line); }
.ill-pick li{ padding:9px 12px; }
.ill-pick li.on{ border-color:rgba(var(--green-rgb),.5); background:rgba(var(--green-rgb),.06); }
.ill-radio{ flex:none; width:16px; height:16px; border-radius:50%; border:1.5px solid var(--line-2); }
.ill-pick li.on .ill-radio{ border-color:var(--green); box-shadow:inset 0 0 0 3.5px #111414; background:var(--green); }
.ill-sel{ display:flex; align-items:center; justify-content:space-between; gap:8px; padding:9px 12px; border-radius:10px; background:#111414; border:1px solid var(--line); font-size:13.5px; }
.ill-sel svg{ width:13px; height:13px; color:var(--dim); flex:none; }
.ill-g2{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.ill-g3{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.ill-slider{ position:relative; height:38px; display:flex; align-items:center; }
.ill-slider::before{ content:""; position:absolute; inset-inline:0; height:4px; border-radius:4px; background:rgba(255,255,255,.1); }
.ill-slider::after{ content:""; position:absolute; inset-inline-start:0; width:var(--v); height:4px; border-radius:4px; background:var(--green); }
.ill-slider i{ position:absolute; z-index:1; inset-inline-start:calc(var(--v) - 8px); width:16px; height:16px; border-radius:50%; background:#fff; box-shadow:0 0 0 4px rgba(var(--green-rgb),.25); }
.ill-seg{ display:flex; flex-wrap:wrap; gap:6px; }
.ill-seg span{ padding:6px 12px; border-radius:999px; border:1px solid var(--line); font-size:12.5px; color:var(--muted); }
.ill-seg span.on{ background:var(--text); color:#000; border-color:var(--text); }
.ill-seg span.more{ color:var(--green); border-style:dashed; border-color:rgba(var(--green-rgb),.5); }
.ill-seg.sm span{ padding:3px 10px; font-size:11.5px; }
/* chat */
.ill-chat{ display:grid; gap:8px; padding:14px; border-radius:14px; background:#070808; border:1px solid var(--line); }
.ill-chat p{ margin:0; max-width:86%; padding:10px 13px; border-radius:14px; font-size:13.5px; line-height:1.55; }
.ill-chat .me{ justify-self:start; background:#1b1d1e; border-start-start-radius:4px; }
.ill-chat .ai{ justify-self:end; background:rgba(var(--green-rgb),.13); border:1px solid rgba(var(--green-rgb),.3); border-start-end-radius:4px; }
.ill-chat[lang="ar"] p{ font-family:var(--ar); }
.ill-chat small{ margin-top:6px; color:var(--green); font-family:var(--mono); font-size:11px; }
.ill-chat em{ display:block; font-style:normal; font-size:11px; color:var(--dim); margin-bottom:2px; font-family:var(--body); }
html[lang="ar"] .ill-chat em{ font-family:var(--ar); }
/* table */
.ill-tbl{ width:100%; border-collapse:collapse; font-size:13px; }
.ill-tbl th{ text-align:start; font-weight:500; color:var(--dim); font-size:11.5px; padding:0 10px 8px; }
.ill-tbl td{ padding:8px 10px; border-top:1px solid var(--line); }
.ill-tbl td small{ display:inline; margin-inline-start:8px; }
.ill-tbl td b{ font-weight:600; }
.ill-tbl tr.on td{ background:rgba(var(--green-rgb),.07); }
.ill-tbl tr.on td:first-child{ border-start-start-radius:8px; border-end-start-radius:8px; box-shadow:inset 2px 0 0 var(--green); }
[dir="rtl"] .ill-tbl tr.on td:first-child{ box-shadow:inset -2px 0 0 var(--green); }
.ill-dots{ display:inline-flex; gap:4px; }
.ill-dots i{ width:16px; height:5px; border-radius:3px; background:rgba(255,255,255,.1); }
.ill-dots i.on{ background:var(--green); }
.ill-note{ margin:0; font-size:12px; color:var(--dim); }
/* chart + scores */
.ill-chart{ width:100%; height:130px; overflow:visible; }
.ill-chart .gl{ stroke:rgba(255,255,255,.06); stroke-width:1; vector-effect:non-scaling-stroke; }
.ill-axis{ display:flex; justify-content:space-between; font-size:10.5px; color:var(--dim); margin-top:-8px; font-family:var(--mono); }
.ill-score{ display:grid; grid-template-columns:auto 1fr; gap:20px; align-items:center; padding:14px; border-radius:14px; background:#111414; border:1px solid var(--line); }
.ill-ring{ width:86px; height:86px; border-radius:50%; display:grid; place-content:center; text-align:center; background:radial-gradient(closest-side,#111414 78%,transparent 80% 100%), conic-gradient(var(--green) calc(var(--v)*1%), rgba(255,255,255,.08) 0); }
.ill-ring b{ font-family:var(--display); font-size:24px; line-height:1; }
.ill-ring small{ margin:2px 0 0; font-size:10.5px; }
.ill-bars li{ display:grid; grid-template-columns:minmax(0,1.2fr) 1fr auto; gap:10px; align-items:center; font-size:12.5px; color:var(--muted); }
.ill-bars b{ font-size:12px; color:var(--text); }
.ill-bar{ height:5px; border-radius:3px; background:rgba(255,255,255,.08); overflow:hidden; }
.ill-bar i{ display:block; height:100%; border-radius:3px; background:linear-gradient(90deg,#3B8B6D,var(--green)); }
[dir="rtl"] .ill-bar i{ margin-inline-start:0; }
/* waveform */
.ill-wave{ display:flex; align-items:center; gap:3px; height:54px; direction:ltr; }
.ill-wave i{ flex:1; height:var(--h); min-height:3px; border-radius:2px; background:linear-gradient(180deg,var(--green),#3B8B6D); opacity:.9; }
.ill-wave.sm{ height:34px; }
.ill-wave.live i{ animation:illw 1.6s ease-in-out infinite; animation-delay:calc(var(--h) * -0.03s); transform-origin:center; }
@keyframes illw{ 50%{ transform:scaleY(.45); } }
.ill-player{ display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:14px; background:#111414; border:1px solid var(--line); }
.ill-player .ill-wave{ flex:1; height:36px; }
.ill-play{ flex:none; width:38px; height:38px; border-radius:50%; display:grid; place-items:center; background:var(--green); color:#04130e; }
.ill-play svg{ width:15px; height:15px; margin-inline-start:2px; }
[dir="rtl"] .ill-play svg{ transform:scaleX(-1); margin:0 2px 0 0; }
.ill-time{ font-family:var(--mono); font-size:12px; color:var(--dim); }
.ill-text{ padding:14px 16px; border-radius:12px; background:#111414; border:1px solid var(--line); font-family:var(--ar); font-size:15px; line-height:1.8; min-height:92px; }
/* call */
.ill-av{ flex:none; width:40px; height:40px; border-radius:50%; display:grid; place-items:center; background:var(--green); color:#04130e; }
.ill-av svg{ width:18px; height:18px; }
.ill-live{ display:inline-flex; align-items:center; gap:7px; font-family:var(--mono); font-size:12px; color:var(--muted); }
.ill-live i{ width:8px; height:8px; border-radius:50%; background:#ff5a5a; box-shadow:0 0 0 4px rgba(255,90,90,.18); }
.ill-tags{ display:flex; flex-wrap:wrap; gap:6px; }
.ill-tags span{ padding:4px 10px; border-radius:999px; border:1px solid var(--line); font-size:11.5px; color:var(--muted); }
/* steps / nodes */
.ill-steps li{ padding:9px 12px; }
.ill-n{ flex:none; width:24px; height:24px; border-radius:50%; display:grid; place-items:center; font-size:12px; font-weight:600; background:rgba(var(--green-rgb),.14); color:var(--green); }
.ill-steps small, .ill-node small{ margin:0 0 1px; }
.ill-act{ display:flex; gap:8px; }
.ill-btn{ padding:8px 16px; border-radius:999px; background:var(--green); color:#04130e; font-weight:600; font-size:13px; }
.ill-btn.ghost{ background:transparent; color:var(--text); border:1px solid var(--line-2); }
.ill-canvas{ padding:18px; border-radius:14px; border:1px solid var(--line); background:#070808 radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px) 0 0/18px 18px; }
.ill-node{ background:#000; }
.ill-node .ill-ok{ font-family:var(--mono); font-size:11px; }
.ill-node small[dir="ltr"]{ font-family:var(--mono); font-size:11px; }
.ill-link{ width:2px; height:20px; margin-inline-start:28px; background:repeating-linear-gradient(180deg,var(--green) 0 4px,transparent 4px 8px); }
/* stt */
.ill-tr{ display:grid; gap:8px; padding:12px 14px; border-radius:12px; background:#111414; border:1px solid var(--line); font-family:var(--ar); font-size:14px; line-height:1.7; }
.ill-tr p{ margin:0; display:flex; gap:10px; }
.ill-tr em{ flex:none; font-style:normal; font-family:var(--mono); font-size:11px; color:var(--green); padding-top:4px; }
.ill-sum{ padding:12px 14px; border-radius:12px; border:1px solid rgba(var(--green-rgb),.3); background:rgba(var(--green-rgb),.06); }
.ill-sum b{ display:flex; align-items:center; gap:6px; font-size:12.5px; color:var(--green); }
.ill-sum b svg{ width:14px; height:14px; }
.ill-sum p{ margin:4px 0 0; font-size:13.5px; color:var(--muted); }
/* enterprise */
.ill-logo{ flex:none; width:52px; height:52px; border-radius:12px; display:grid; place-items:center; text-align:center; font-size:10.5px; line-height:1.2; color:var(--dim); border:1.5px dashed var(--line-2); }
@media (max-width:560px){ .ill{ padding:16px; } .ill-g3{ grid-template-columns:1fr 1fr; } .ill-g3 > :last-child{ grid-column:1/-1; } .ill-score{ grid-template-columns:1fr; justify-items:center; } .ill-bars{ width:100%; } .ill-tbl small{ display:none !important; } }
@media (prefers-reduced-motion: reduce){ .ill-wave.live i{ animation:none; } }
/* brand skin on every box, matching the hero card */
.ill{ text-align:start; }
.card, .steps li, .uc{ background:url("../img/waves.svg") center/cover no-repeat, radial-gradient(90% 80% at 100% 0%, rgba(102,45,145,.30), transparent 62%), radial-gradient(80% 70% at 0% 100%, rgba(26,204,150,.12), transparent 62%), #0b0d0d;
  background-blend-mode:soft-light, normal, normal, normal; border-color:rgba(255,255,255,.08); }
[dir="rtl"] :is(.card, .steps li, .uc){ background:url("../img/waves.svg") center/cover no-repeat, radial-gradient(90% 80% at 0% 0%, rgba(102,45,145,.30), transparent 62%), radial-gradient(80% 70% at 100% 100%, rgba(26,204,150,.12), transparent 62%), #0b0d0d; background-blend-mode:soft-light, normal, normal, normal; }
a.card:hover, .card.hover:hover{ border-color:rgba(var(--green-rgb),.4); }

/* =========================================================
   Page identities: each product gets an accent from the brand's secondary palette
   ========================================================= */
body{ --acc:#1ACC96; --acc-rgb:26,204,150; --acc2-rgb:102,45,145; }
body[data-theme="chat"]{ --acc:#3EE6F2; --acc-rgb:62,230,242; }
body[data-theme="voice"]{ --acc:#FF66FF; --acc-rgb:255,102,255; }
body[data-theme="auto"]{ --acc:#FCE272; --acc-rgb:252,226,114; }
body[data-theme="speech"]{ --acc:#DDF9BC; --acc-rgb:221,249,188; }
body[data-theme="tpl"]{ --acc:#4FD1C0; --acc-rgb:79,209,192; }
/* hero + box skins pick up the page accent in the top corner, purple underneath */
body:not([data-theme="brand"]) .aurora{ background:radial-gradient(60% 80% at 100% 0%, rgba(var(--acc-rgb),.30), transparent 70%), radial-gradient(50% 70% at 70% 0%, rgba(102,45,145,.45), transparent 70%), radial-gradient(50% 70% at 0% 100%, rgba(26,204,150,.16), transparent 70%), #0b0d0d; }
[dir="rtl"] body:not([data-theme="brand"]) .aurora{ background:radial-gradient(60% 80% at 0% 0%, rgba(var(--acc-rgb),.30), transparent 70%), radial-gradient(50% 70% at 30% 0%, rgba(102,45,145,.45), transparent 70%), radial-gradient(50% 70% at 100% 100%, rgba(26,204,150,.16), transparent 70%), #0b0d0d; }
body:not([data-theme="brand"]) :is(.card, .steps li, .uc, .pb, .tp, .wf, .at, .nl, .fact-wrap){ background:url("../img/waves.svg") center/cover no-repeat, radial-gradient(90% 80% at 100% 0%, rgba(var(--acc-rgb),.16), transparent 60%), radial-gradient(80% 70% at 0% 100%, rgba(102,45,145,.18), transparent 62%), #0b0d0d; background-blend-mode:soft-light, normal, normal, normal; }
[dir="rtl"] body:not([data-theme="brand"]) :is(.card, .steps li, .uc, .pb, .tp, .wf, .at, .nl){ background:url("../img/waves.svg") center/cover no-repeat, radial-gradient(90% 80% at 0% 0%, rgba(var(--acc-rgb),.16), transparent 60%), radial-gradient(80% 70% at 100% 100%, rgba(102,45,145,.18), transparent 62%), #0b0d0d; background-blend-mode:soft-light, normal, normal, normal; }
body:not([data-theme="brand"]) .lbl::before, body:not([data-theme="brand"]) .lbl b{ color:var(--acc); }
body:not([data-theme="brand"]) .ic-box{ background:rgba(var(--acc-rgb),.12); color:var(--acc); }
body:not([data-theme="brand"]) .bullets li::before{ background:var(--acc); -webkit-mask:url("../img/stroke.svg") center/contain no-repeat; mask:url("../img/stroke.svg") center/contain no-repeat; }
body:not([data-theme="brand"]) .stat b{ color:var(--acc); }
body:not([data-theme="brand"]) .ill-wave i{ background:linear-gradient(180deg,var(--acc),rgba(var(--acc-rgb),.35)); }
body:not([data-theme="brand"]) .ill{ background:radial-gradient(70% 55% at 100% 0%, rgba(var(--acc-rgb),.16), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgba(102,45,145,.16), transparent 70%), #0b0d0d; }
body:not([data-theme="brand"]) .cta .bg{ background:radial-gradient(60% 90% at 100% 0%, rgba(var(--acc-rgb),.30), transparent 70%), radial-gradient(50% 80% at 70% 0%, rgba(102,45,145,.5), transparent 70%), radial-gradient(50% 80% at 0% 100%, rgba(26,204,150,.25), transparent 70%), #0b0d0d; }
body:not([data-theme="brand"]) .hero-card::after, body:not([data-theme="brand"]) .cta .mark{ filter:none; }
.sec.tight{ padding:40px 0; }

/* ---------- facts strip ---------- */
.facts{ display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); border:1px solid var(--line); border-radius:22px; overflow:hidden;
  background:url("../img/waves.svg") center/cover no-repeat, radial-gradient(60% 120% at 100% 0%, rgba(var(--acc-rgb),.16), transparent 60%), radial-gradient(60% 120% at 0% 100%, rgba(102,45,145,.22), transparent 60%), #0b0d0d; background-blend-mode:soft-light, normal, normal, normal; }
.fact{ padding:30px 24px 26px; border-inline-start:1px solid var(--line); }
.fact:first-child{ border-inline-start:0; }
.fact b{ display:block; font-family:var(--display); font-weight:700; font-size:clamp(34px,3.4vw,48px); letter-spacing:-.04em; line-height:1; color:var(--acc); }
.fact span{ display:block; margin-top:10px; font-weight:600; font-size:15px; }
.fact small{ display:block; margin-top:4px; color:var(--dim); font-size:13px; line-height:1.4; }
.facts-note{ margin:12px 0 0; color:var(--dim); font-size:13px; }
@media (max-width:1080px){ .facts{ grid-template-columns:repeat(3,1fr); } .fact:nth-child(3n+1){ border-inline-start:0; } .fact:nth-child(n+4){ border-top:1px solid var(--line); } }
@media (max-width:560px){ .facts{ grid-template-columns:repeat(2,1fr); } .fact{ border-inline-start:0 !important; border-top:1px solid var(--line); padding:22px 18px; } .fact:nth-child(-n+2){ border-top:0; } .fact:nth-child(2n){ border-inline-start:1px solid var(--line) !important; } }

/* ---------- tabbed demos ---------- */
.demo{ border:1px solid var(--line); border-radius:24px; overflow:hidden; background:radial-gradient(60% 90% at 100% 0%, rgba(var(--acc-rgb),.12), transparent 60%), #070808; }
.demo-tabs{ display:flex; gap:6px; padding:12px; border-bottom:1px solid var(--line); overflow-x:auto; scrollbar-width:none; }
.demo-tabs::-webkit-scrollbar{ display:none; }
.demo-tabs button{ flex:none; min-height:40px; padding:0 16px; border-radius:999px; border:1px solid transparent; background:none; color:var(--muted); font-size:14px; cursor:pointer; transition:background .2s, color .2s, border-color .2s; }
.demo-tabs button:hover{ color:var(--text); border-color:var(--line-2); }
.demo-tabs button[aria-selected="true"]{ background:var(--acc); color:#05060a; font-weight:600; }
.demo-body{ padding:28px; }
.demo-note{ margin:12px 0 0; font-size:13px; color:var(--dim); }
.tab-p.on .cv-list > *, .tab-p.on .ch-n, .tab-p.on .cp-out{ animation:cvIn .5s var(--ease) both; animation-delay:calc(var(--d,0) * .45s + .1s); }
.tab-p.on .ch-n{ animation-delay:calc(var(--i,0) * .18s + .5s); }
@keyframes cvIn{ from{ opacity:0; transform:translateY(8px); } }
@media (prefers-reduced-motion: reduce){ .tab-p.on *{ animation:none !important; } }
/* conversation */
.cv{ max-width:760px; margin:0 auto; display:grid; gap:14px; }
.cv-h{ display:flex; align-items:center; gap:12px; padding-bottom:14px; border-bottom:1px solid var(--line); }
.cv-h b{ display:block; } .cv-h small{ display:block; color:var(--dim); font-size:12.5px; }
.cv-av{ flex:none; width:40px; height:40px; border-radius:50%; display:grid; place-items:center; background:rgba(var(--acc-rgb),.16); color:var(--acc); }
.cv-av svg{ width:18px; height:18px; }
.cv-live{ margin-inline-start:auto; display:inline-flex; align-items:center; gap:7px; font-family:var(--mono); font-size:12px; color:var(--muted); }
.cv-live i{ width:8px; height:8px; border-radius:50%; background:#ff5a5a; box-shadow:0 0 0 4px rgba(255,90,90,.18); }
.cv-list{ display:grid; gap:10px; }
.cv-list p{ margin:0; max-width:78%; padding:12px 15px; border-radius:16px; font-size:15px; line-height:1.6; }
.cv-list span[lang="ar"]{ font-family:var(--ar); font-size:16px; }
.cv-me{ justify-self:start; background:#1b1d1e; border-start-start-radius:4px; }
.cv-ai{ justify-self:end; background:rgba(var(--acc-rgb),.12); border:1px solid rgba(var(--acc-rgb),.3); border-start-end-radius:4px; }
.cv-list .tr{ display:block; margin-top:6px; font-size:12.5px; color:var(--dim); font-style:italic; }
.cv-sys{ justify-self:center; max-width:100% !important; display:flex; align-items:center; gap:8px; padding:7px 14px !important; border-radius:999px !important; font-size:12.5px !important; color:var(--green); border:1px solid rgba(var(--green-rgb),.3); background:rgba(var(--green-rgb),.06); }
.cv-sys svg{ width:14px; height:14px; flex:none; }
.cv-f{ display:flex; flex-wrap:wrap; gap:8px 18px; padding-top:14px; border-top:1px solid var(--line); font-size:12.5px; color:var(--dim); }
.cv-f span{ display:inline-flex; align-items:center; gap:6px; }
.cv-f svg{ width:13px; height:13px; color:var(--green); }
.cv-f code{ font-family:var(--mono); font-size:12px; color:var(--text); }
.cv .ill-wave{ height:44px; }
/* copilot demo */
.cp{ display:grid; gap:16px; max-width:880px; margin:0 auto; }
.cp-in, .cp-out{ padding:16px 18px; border-radius:16px; border:1px solid var(--line); }
.cp-in{ background:#111414; }
.cp-out{ border-color:rgba(var(--acc-rgb),.35); background:rgba(var(--acc-rgb),.05); display:grid; gap:14px; }
.cp-who{ display:inline-flex; align-items:center; gap:6px; font-size:12px; color:var(--dim); font-family:var(--mono); text-transform:uppercase; letter-spacing:.08em; }
.cp-who svg{ width:13px; height:13px; color:var(--acc); }
.cp p{ margin:6px 0 0; font-size:16px; line-height:1.6; }
.cp-out p{ margin:0; }
/* node chain */
.chain{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.ch-n{ display:inline-flex; align-items:center; gap:8px; padding:8px 12px 8px 8px; border-radius:12px; border:1px solid var(--line-2); background:#0b0d0d; font-size:13px; font-weight:500; }
[dir="rtl"] .ch-n{ padding:8px 8px 8px 12px; }
.ch-n i{ width:26px; height:26px; border-radius:8px; display:grid; place-items:center; background:rgba(var(--acc-rgb),.14); color:var(--acc); }
.ch-n i svg{ width:14px; height:14px; }
.ch-n.k-trigger i, .ch-n.k-web i{ background:rgba(26,204,150,.14); color:var(--green); }
.ch-n.k-ai i{ background:rgba(180,120,240,.16); color:#C9A3EA; }
.ch-arr{ color:var(--dim); display:inline-grid; }
.ch-arr svg{ width:16px; height:16px; }
/* speech demo */
.sp-demo{ max-width:860px; margin:0 auto; display:grid; gap:16px; }
.sp-txt{ padding:22px 24px; border-radius:16px; background:#111414; border:1px solid var(--line); font-size:22px; line-height:1.7; }
.sp-txt[lang="ar"]{ font-family:var(--ar); font-size:24px; }
.sp-ctl{ display:flex; flex-wrap:wrap; gap:8px; }
.sp-demo .ill-player{ padding:14px 16px; }
.sp-demo .ill-wave{ height:48px; }

/* ---------- journey ---------- */
.journey{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(var(--n),minmax(0,1fr)); gap:14px; position:relative; }
.journey::before{ content:""; position:absolute; top:27px; inset-inline:6%; height:1px; background:linear-gradient(90deg,transparent,rgba(var(--acc-rgb),.6) 10%,rgba(var(--acc-rgb),.6) 90%,transparent); }
.journey li{ position:relative; text-align:center; padding:0 6px; }
.j-ic{ position:relative; z-index:1; width:56px; height:56px; margin:0 auto; border-radius:50%; display:grid; place-items:center; background:#0b0d0d; border:1px solid rgba(var(--acc-rgb),.45); color:var(--acc); box-shadow:0 0 0 6px #000; }
.j-ic svg{ width:22px; height:22px; }
.j-n{ display:block; margin-top:14px; font-family:var(--mono); font-size:11.5px; color:var(--dim); }
.journey b{ display:block; margin-top:4px; font-family:var(--display); font-size:17px; }
html[lang="ar"] .journey b{ font-family:var(--ar); }
.journey p{ margin:6px 0 0; color:var(--muted); font-size:14px; line-height:1.55; }
@media (max-width:900px){ .journey{ grid-template-columns:1fr; gap:0; } .journey::before{ top:0; bottom:0; inset-inline-start:27px; inset-inline-end:auto; width:1px; height:auto; background:linear-gradient(180deg,rgba(var(--acc-rgb),.6),rgba(var(--acc-rgb),.1)); }
  .journey li{ display:grid; grid-template-columns:56px 1fr; column-gap:16px; text-align:start; padding:0 0 22px; } .j-ic{ grid-row:span 3; margin:0; } .j-n{ margin:4px 0 0; } }

/* ---------- works with ---------- */
.ww{ margin-top:28px; }
.ww-l{ margin:0 0 12px; font-family:var(--mono); font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--dim); }
.ww ul{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:10px; }
.ww li{ display:flex; align-items:center; gap:10px; padding:8px 14px 8px 8px; border-radius:14px; border:1px solid var(--line); background:#0b0d0d; }
[dir="rtl"] .ww li{ padding:8px 8px 8px 14px; }
.ww .lg{ width:34px; height:34px; border-radius:10px; display:grid; place-items:center; background:rgba(255,255,255,.05); color:#e2e4e4; }
.ww .lg svg{ width:18px; height:18px; fill:currentColor; }
.ww li:hover .lg{ background:#fff; color:var(--brand); }
.ww b{ font-weight:600; font-size:14px; }
.ww small{ font-size:11.5px; color:var(--dim); padding:2px 8px; border-radius:999px; border:1px solid var(--line); }
.ww small.on{ color:var(--green); border-color:rgba(var(--green-rgb),.35); }
.ww + .spec-wrap{ margin-top:28px; }

/* ---------- spec table ---------- */
.spec-wrap{ overflow-x:auto; border:1px solid var(--line); border-radius:20px; background:#0b0d0d; }
.spec{ width:100%; border-collapse:collapse; font-size:15px; min-width:560px; }
.spec th, .spec td{ padding:16px 20px; text-align:start; border-bottom:1px solid var(--line); vertical-align:middle; }
.spec tr:last-child th, .spec tr:last-child td{ border-bottom:0; }
.spec thead th{ font-family:var(--mono); font-size:12px; font-weight:500; letter-spacing:.08em; text-transform:uppercase; color:var(--dim); background:#070808; }
html[lang="ar"] .spec thead th{ font-family:var(--ar); letter-spacing:0; font-size:13px; }
.spec tbody th{ font-weight:600; color:var(--text); }
.spec td{ color:var(--muted); }
.spec .hl{ background:rgba(var(--acc-rgb),.06); color:var(--text); }
.spec thead .hl{ color:var(--acc); }
.sp-y{ display:inline-grid; place-items:center; width:24px; height:24px; border-radius:50%; background:rgba(var(--green-rgb),.14); color:var(--green); }
.sp-y svg{ width:14px; height:14px; }
.sp-n{ color:var(--dim); }

/* ---------- anatomy ---------- */
.anatomy{ display:grid; grid-template-columns:1fr minmax(260px,.8fr) 1fr; gap:24px; align-items:center; }
.an-col{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.an-col li{ display:flex; gap:12px; align-items:flex-start; padding:12px 14px; border-radius:14px; border:1px solid var(--line); background:#0b0d0d; }
.an-n{ flex:none; font-family:var(--mono); font-size:12px; color:var(--acc); padding-top:2px; }
.an-col b{ display:block; font-size:15px; }
.an-col small{ display:block; color:var(--dim); font-size:13px; margin-top:2px; }
.an-card{ position:relative; padding:34px 26px; border-radius:24px; text-align:center; border:1px solid rgba(var(--acc-rgb),.4);
  background:radial-gradient(80% 60% at 50% 0%, rgba(var(--acc-rgb),.22), transparent 70%), radial-gradient(70% 60% at 50% 100%, rgba(102,45,145,.3), transparent 70%), #0b0d0d; box-shadow:0 0 80px -20px rgba(var(--acc-rgb),.35); }
.an-av{ width:72px; height:72px; margin:0 auto 14px; border-radius:50%; display:grid; place-items:center; background:var(--acc); color:#05060a; }
.an-av svg{ width:30px; height:30px; }
.an-card b{ display:block; font-family:var(--display); font-size:24px; }
html[lang="ar"] .an-card b{ font-family:var(--ar); }
.an-card small{ display:block; color:var(--muted); margin-top:2px; }
.an-dots{ margin:18px 0 14px; }
.an-dots span{ display:inline-flex; align-items:center; gap:8px; padding:5px 12px; border-radius:999px; border:1px solid var(--line-2); font-size:12.5px; color:var(--muted); }
.an-dots span::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--green); }
.an-meter{ text-align:start; font-size:12.5px; color:var(--dim); }
.an-meter i{ display:block; height:6px; margin-top:6px; border-radius:4px; background:linear-gradient(90deg,var(--acc) var(--v),rgba(255,255,255,.08) var(--v)); }
[dir="rtl"] .an-meter i{ background:linear-gradient(270deg,var(--acc) var(--v),rgba(255,255,255,.08) var(--v)); }
@media (max-width:900px){ .anatomy{ grid-template-columns:1fr; } .an-mid{ order:-1; } }

/* ---------- playbooks ---------- */
.pb, .wf{ display:flex; flex-direction:column; gap:14px; padding:24px; border-radius:18px; border:1px solid var(--line); }
.pb-top{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.pb .h-s, .wf .h-s{ margin:0; }
.pb-flow{ display:flex; flex-wrap:wrap; align-items:center; gap:6px; font-size:13.5px; color:var(--muted); }
.pb-flow > span:not(.pb-arr){ padding:5px 10px; border-radius:10px; background:rgba(255,255,255,.04); border:1px solid var(--line); }
.pb-arr{ color:var(--acc); display:inline-grid; } .pb-arr svg{ width:14px; height:14px; }
.pb-w{ margin:auto 0 0; padding-top:12px; border-top:1px dashed var(--line-2); font-size:13.5px; color:var(--text); display:flex; gap:8px; align-items:baseline; }
.pb-w span{ font-family:var(--mono); font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--acc); }
html[lang="ar"] .pb-w span{ font-family:var(--ar); letter-spacing:0; font-size:12.5px; }
.wf .chain{ font-size:12px; } .wf .ch-n{ font-size:12.5px; }
.wf .link-arrow{ margin-top:auto; color:var(--acc); }
.wf-n{ margin-inline-start:auto; font-family:var(--mono); font-size:12px; color:var(--dim); }

/* ---------- node library ---------- */
.nlib{ display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.nl{ padding:20px; border-radius:18px; border:1px solid var(--line); }
.nl-h{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.nl-h .ic-box{ width:36px; height:36px; border-radius:10px; } .nl-h .ic-box svg{ width:17px; height:17px; }
.nl-h b{ font-family:var(--display); font-size:16px; }
html[lang="ar"] .nl-h b{ font-family:var(--ar); }
.nl-h bdi{ margin-inline-start:auto; font-family:var(--display); font-weight:700; font-size:22px; color:var(--acc); }
.nl ul{ list-style:none; margin:0; padding:0; display:grid; gap:6px; }
.nl li{ font-size:13.5px; color:var(--muted); padding:7px 10px; border-radius:9px; background:rgba(255,255,255,.035); }
@media (max-width:1080px){ .nlib{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:640px){ .nlib{ grid-template-columns:1fr 1fr; } }

/* ---------- dialect atlas ---------- */
.atlas{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.at{ padding:20px; border-radius:18px; border:1px solid var(--line); display:flex; flex-direction:column; gap:12px; }
.at:nth-child(2){ grid-row:span 2; }
.at-h{ display:flex; align-items:baseline; justify-content:space-between; gap:10px; }
.at-h b{ font-family:var(--display); font-size:18px; }
html[lang="ar"] .at-h b{ font-family:var(--ar); }
.at-h span{ font-family:var(--display); font-weight:700; font-size:34px; line-height:1; color:var(--acc); }
.at ul{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:6px; }
.at li{ padding:6px 11px; border-radius:999px; border:1px solid var(--line-2); font-size:13.5px; }
.at small{ margin-top:auto; color:var(--dim); font-size:12.5px; }
.atlas .at:first-child li:first-child{ background:var(--acc); color:#05060a; border-color:var(--acc); font-weight:600; }
.langs{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:16px; padding:16px 18px; border-radius:16px; border:1px dashed var(--line-2); }
.langs b{ margin-inline-end:8px; font-size:14px; }
.langs span{ padding:5px 11px; border-radius:999px; background:rgba(255,255,255,.05); font-size:13px; color:var(--muted); }
@media (max-width:1080px){ .atlas{ grid-template-columns:repeat(2,1fr); } .at:nth-child(2){ grid-row:auto; } }
@media (max-width:560px){ .atlas{ grid-template-columns:1fr; } }

/* ---------- templates ---------- */
.tp{ display:flex; flex-direction:column; gap:16px; padding:26px; border-radius:20px; border:1px solid var(--line); }
.tp-h{ display:flex; gap:14px; align-items:flex-start; }
.tp-h .h-s{ margin:0 0 4px; } .tp-h p{ margin:0; color:var(--muted); font-size:15px; }
.tp-dl{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:0; }
.tp-dl div{ padding:12px 14px; border-radius:12px; background:rgba(255,255,255,.035); border:1px solid var(--line); }
.tp-dl dt{ font-family:var(--mono); font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--acc); }
html[lang="ar"] .tp-dl dt{ font-family:var(--ar); letter-spacing:0; font-size:12.5px; }
.tp-dl dd{ margin:4px 0 0; font-size:14px; }
.tp-msg{ padding:14px 16px; border-radius:16px; border-start-end-radius:4px; background:rgba(var(--acc-rgb),.1); border:1px solid rgba(var(--acc-rgb),.3); }
.tp-msg small{ color:var(--dim); font-size:12px; } .tp-msg p{ margin:4px 0 0; font-size:15px; }
.tp .link-arrow{ margin-top:auto; color:var(--acc); }
@media (max-width:560px){ .tp-dl{ grid-template-columns:1fr; } }

/* ---------- platform architecture ---------- */
.arch{ display:grid; grid-template-columns:1fr 1.5fr 1fr; gap:18px; align-items:stretch; position:relative; }
.ar-l{ margin:0 0 12px; font-family:var(--mono); font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--dim); }
html[lang="ar"] .ar-l{ font-family:var(--ar); letter-spacing:0; font-size:13px; }
.ar-col{ padding:20px; border-radius:20px; border:1px solid var(--line); background:#0b0d0d; }
.ar-col ul{ list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.ar-col li{ display:flex; align-items:center; gap:10px; padding:9px 11px; border-radius:11px; background:rgba(255,255,255,.035); font-size:14px; }
.ar-ic{ flex:none; width:28px; height:28px; border-radius:8px; display:grid; place-items:center; background:rgba(26,204,150,.12); color:var(--green); }
.ar-ic svg{ width:15px; height:15px; }
.ar-mid{ position:relative; padding:20px; border-radius:20px; border:1px solid rgba(26,204,150,.4);
  background:url("../img/waves.svg") center/cover no-repeat, radial-gradient(70% 70% at 100% 0%, rgba(102,45,145,.45), transparent 65%), radial-gradient(70% 70% at 0% 100%, rgba(26,204,150,.2), transparent 65%), #0b0d0d; background-blend-mode:soft-light, normal, normal, normal;
  box-shadow:0 0 80px -30px rgba(26,204,150,.5); }
.ar-mid::before, .ar-mid::after{ content:""; position:absolute; top:50%; width:18px; height:2px; background:repeating-linear-gradient(90deg,var(--green) 0 4px,transparent 4px 7px); }
.ar-mid::before{ inset-inline-start:-19px; } .ar-mid::after{ inset-inline-end:-19px; }
.ar-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.ar-core{ display:flex; flex-direction:column; gap:6px; padding:16px; border-radius:14px; background:rgba(0,0,0,.45); border:1px solid var(--line); transition:border-color .2s; }
.ar-core:hover{ border-color:rgba(26,204,150,.5); }
.ar-core .ar-ic{ width:34px; height:34px; } .ar-core b{ font-family:var(--display); font-size:16px; }
html[lang="ar"] .ar-core b{ font-family:var(--ar); }
.ar-core small{ color:var(--dim); font-size:13px; }
.ar-base{ grid-column:1/-1; display:flex; align-items:center; justify-content:center; gap:10px; padding:14px; border-radius:14px; border:1px dashed rgba(26,204,150,.4); color:var(--muted); font-size:14px; text-align:center; }
.ar-base svg{ width:18px; height:18px; color:var(--green); flex:none; }
@media (max-width:900px){ .arch{ grid-template-columns:1fr; } .ar-mid::before, .ar-mid::after{ display:none; } }

/* outbound list */
.ob{ list-style:none; margin:0; padding:0; display:grid; gap:6px; }
.ob li{ display:flex; align-items:center; gap:12px; padding:9px 12px; border-radius:12px; background:#111414; border:1px solid var(--line); font-size:13px; }
.ob-av{ flex:none; width:30px; height:30px; border-radius:50%; display:grid; place-items:center; background:rgba(255,255,255,.07); font-weight:600; font-size:12.5px; }
.ob-st{ font-size:12px; padding:3px 9px; border-radius:999px; border:1px solid var(--line-2); color:var(--muted); white-space:nowrap; }
.ob-ok .ob-st{ color:var(--green); border-color:rgba(var(--green-rgb),.4); }
.ob-wait .ob-st{ color:#FCE272; border-color:rgba(252,226,114,.4); }
.ob-live .ob-st{ color:var(--acc); border-color:rgba(var(--acc-rgb),.5); }
.ob-t{ font-family:var(--mono); font-size:11.5px; color:var(--dim); min-width:36px; text-align:end; }
.ob-bar{ height:6px; border-radius:4px; background:rgba(255,255,255,.08); overflow:hidden; }
.ob-bar i{ display:block; height:100%; background:linear-gradient(90deg,rgba(var(--acc-rgb),.5),var(--acc)); }

/* ---------- contact form ---------- */
.contact-grid{ display:grid; grid-template-columns:minmax(0,1.55fr) minmax(0,1fr); gap:18px; align-items:start; }
.contact-side{ display:grid; gap:12px; }
.contact-side .card{ padding:22px; } .contact-side .card h3{ margin:12px 0 6px; }
.cform{ position:relative; padding:30px; border-radius:24px; border:1px solid var(--line); scroll-margin-top:120px;
  background:url("../img/waves.svg") center/cover no-repeat, radial-gradient(70% 60% at 100% 0%, rgba(102,45,145,.32), transparent 65%), radial-gradient(60% 60% at 0% 100%, rgba(26,204,150,.12), transparent 65%), #0b0d0d; background-blend-mode:soft-light, normal, normal, normal; }
.cf-h{ display:flex; gap:14px; align-items:flex-start; margin-bottom:22px; }
.cf-h .h-m{ margin:0 0 4px; } .cf-h p{ margin:0; color:var(--muted); font-size:15px; }
.cf-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.cf-f{ display:grid; gap:7px; }
.cf-f span{ font-size:13.5px; font-weight:600; color:var(--text); }
.cf-f i{ font-style:normal; color:var(--green); }
.cf-wide{ grid-column:1/-1; }
.cf-f input, .cf-f select, .cf-f textarea{ width:100%; min-height:48px; padding:12px 14px; border-radius:12px; border:1px solid var(--line-2); background:rgba(0,0,0,.55); color:var(--text); font:inherit; font-size:15px; transition:border-color .2s, box-shadow .2s; }
.cf-f textarea{ resize:vertical; min-height:140px; line-height:1.6; }
.cf-f select{ appearance:none; background-image:linear-gradient(45deg,transparent 50%,var(--dim) 50%),linear-gradient(135deg,var(--dim) 50%,transparent 50%); background-position:calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size:5px 5px; background-repeat:no-repeat; padding-inline-end:40px; }
[dir="rtl"] .cf-f select{ background-position:20px 21px, 15px 21px; }
.cf-f select option{ background:#0b0d0d; }
.cf-f input:focus, .cf-f select:focus, .cf-f textarea:focus{ outline:none; border-color:rgba(var(--green-rgb),.7); box-shadow:0 0 0 4px rgba(var(--green-rgb),.15); }
.cf-f input::placeholder, .cf-f textarea::placeholder{ color:var(--dim); }
.cf-f.bad input, .cf-f.bad textarea{ border-color:#ff6b6b; }
.cf-hp{ position:absolute !important; left:-9999px; width:1px; height:1px; overflow:hidden; }
.cf-foot{ display:flex; flex-wrap:wrap; align-items:center; gap:12px 18px; margin-top:20px; }
.cf-note{ margin:0; font-size:13px; color:var(--dim); }
.cform button[disabled]{ opacity:.6; cursor:progress; }
.cf-status{ margin:14px 0 0; padding:12px 14px; border-radius:12px; font-size:14px; border:1px solid rgba(255,107,107,.4); background:rgba(255,107,107,.08); color:#ffb3b3; }
.cf-done{ text-align:center; padding:40px 10px; }
.cf-done .h-m{ margin:16px 0 8px; } .cf-done p{ margin:0; color:var(--muted); }
.cf-tick{ display:inline-grid; place-items:center; width:64px; height:64px; border-radius:50%; background:var(--green); color:#04130e; }
.cf-tick svg{ width:28px; height:28px; }
.cform.sent > :not(.cf-done){ display:none; } .cform.sent .cf-done{ display:block; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }
@media (max-width:560px){ .cform{ padding:20px; } .cf-grid{ grid-template-columns:1fr; } }
/* careers form */
.apply-wrap{ max-width:860px; margin:0 auto; }
#apply{ scroll-margin-top:110px; }
.cf-file input[type="file"]{ padding:10px; min-height:auto; cursor:pointer; }
.cf-file input[type="file"]::file-selector-button{ margin-inline-end:12px; padding:8px 14px; border-radius:999px; border:0; background:var(--green); color:#04130e; font:inherit; font-weight:600; font-size:14px; cursor:pointer; }
.cf-file small{ color:var(--dim); font-size:12.5px; }
.cf-f.bad input[type="file"]{ border-color:#ff6b6b; }
