/* The isometric cube from ACE's logo is the page's atom: the line drawings, the dot figures,
   the slide reveals and every small marker are built on its 30-degree geometry. */
:root {
  /* identity theme: colours sampled from the logo */
  --bg: #F4F8FA; --bg2: #FFFFFF; --bg3: #E5EEF3;
  --ink: #062A3D; --ink2: #47616F; --line: rgba(6, 42, 61, .12);
  --c1: #0A6496; --c2: #17A06B; --c3: #2A93A8; --c4: #F07A36;
  --c2t: #0B7A50; --c4t: #B4510F; --accent: #0A6496; --on-accent: #FFFFFF;
  --cube-t: #1EB37A; --cube-t2: #3D9E77; --cube-l: #FB9761; --cube-l2: #F07A36; --cube-r: #3CA5B4; --cube-r2: #27626E;
  --plate: #FFFFFF; --hl-edge: #7E98A6; --hl-lo: #CFDFE7;
  --band-bg: #062A3D; --band-fg: #F4F8FA; --band-2: #8FB5C8;
  --ld-bg: #04141E; --ld-ink: #E8F3F8;
  --chip-wait: #FFF1E8; --chip-gen: #E4F0F8; --chip-ok: #E2F5EC; --chip-post: #E3F1F4;
  --shadow: rgba(6, 42, 61, .22);
  --f-disp: 'Readex Pro', 'Alexandria', system-ui, sans-serif;
  --f-num: 'Readex Pro', system-ui, sans-serif;
  --f-body: 'Readex Pro', 'Alexandria', system-ui, sans-serif;
  --t-hero: clamp(2.1rem, 4.4vw, 3.9rem);
  --t-h2: clamp(1.55rem, 2.7vw, 2.5rem);
  --t-h3: clamp(1.15rem, 1.6vw, 1.45rem);
  --hh: 72px;
  --ease: cubic-bezier(.2, .8, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-ace]) {
    --bg: #04141E; --bg2: #0A2231; --bg3: #11314A; --ink: #E8F3F8; --ink2: #9DB6C4; --line: rgba(232, 243, 248, .12);
    --c1: #3BA7E0; --c2: #34C98A; --c3: #43BED2; --c4: #FF9A5C; --c2t: #4ED79B; --c4t: #FFB283; --accent: #3BA7E0; --on-accent: #04141E;
    --plate: #071C29; --hl-edge: #55717F; --hl-lo: #183544; --band-bg: #3BA7E0; --band-fg: #04141E; --band-2: #0B3B54;
    --chip-wait: rgba(255, 154, 92, .14); --chip-gen: rgba(59, 167, 224, .16); --chip-ok: rgba(52, 201, 138, .16); --chip-post: rgba(67, 190, 210, .16);
    --shadow: rgba(0, 0, 0, .55); color-scheme: dark;
  }
}
:root[data-theme="dark"]:not([data-ace]), :root[data-ace="dark"] {
  --bg: #04141E; --bg2: #0A2231; --bg3: #11314A; --ink: #E8F3F8; --ink2: #9DB6C4; --line: rgba(232, 243, 248, .12);
  --c1: #3BA7E0; --c2: #34C98A; --c3: #43BED2; --c4: #FF9A5C; --c2t: #4ED79B; --c4t: #FFB283; --accent: #3BA7E0; --on-accent: #04141E;
  --plate: #071C29; --hl-edge: #55717F; --hl-lo: #183544; --band-bg: #3BA7E0; --band-fg: #04141E; --band-2: #0B3B54;
  --chip-wait: rgba(255, 154, 92, .14); --chip-gen: rgba(59, 167, 224, .16); --chip-ok: rgba(52, 201, 138, .16); --chip-post: rgba(67, 190, 210, .16);
  --shadow: rgba(0, 0, 0, .55); color-scheme: dark;
}
:root[data-ace="light"] { color-scheme: light; }
:root[lang="ar"] { --f-disp: 'Alexandria', 'Readex Pro', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.62 var(--f-body);
  overflow-x: hidden; transition: background-color .5s, color .5s;
}
html.is-loading body { overflow: hidden; }
html.no-intro .loader { display: none; }
/* an Arabic visitor never sees the English text written into the page file before the script translates it */
html[lang="ar"] #page[data-pre] { opacity: 0; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 8px; inset-inline-start: 8px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--bg); transform: translateY(-160%); }
.skip:focus { transform: none; }
.wrap {
  width: 100%; max-width: 1320px; margin-inline: auto;
  padding-left: max(clamp(16px, 4vw, 48px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 4vw, 48px), env(safe-area-inset-right, 0px));
}
.sec { padding-block: clamp(44px, 4.6vw, 76px); position: relative; }
/* the services track already ends with breathing room */
.svc + .sec { padding-top: 8px; }
.h2 { font: 600 var(--t-h2)/1.12 var(--f-disp); letter-spacing: -.02em; text-wrap: balance; max-width: 22ch; }
.h3 { font: 600 var(--t-h3)/1.22 var(--f-disp); letter-spacing: -.01em; text-wrap: balance; }
:root[lang="ar"] .h2, :root[lang="ar"] .h3 { letter-spacing: 0; line-height: 1.4; font-weight: 700; }
.lead { font-size: clamp(1rem, 1.15vw, 1.125rem); line-height: 1.65; color: var(--ink2); max-width: 56ch; }
.head { display: flex; flex-direction: column; gap: 16px; }
.head-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
@media (max-width: 860px) { .head-row { grid-template-columns: minmax(0, 1fr); } }

/* cube glyph: three faces of the logo cube */
.cube {
  --s: 22px; display: inline-block; flex: none; width: calc(var(--s) * .866); height: var(--s);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: conic-gradient(from -60deg, var(--cube-t) 0 60deg, var(--cube-t2) 60deg 120deg, var(--cube-r) 120deg 180deg, var(--cube-r2) 180deg 240deg, var(--cube-l2) 240deg 300deg, var(--cube-l) 300deg 360deg);
}

/* logo: the original artwork, with a light-on-dark variant for the dark theme */
.logo { display: block; height: 100%; width: auto; }
.logo-d { display: none; }
:root[data-ace="dark"] .logo-l { display: none; }
:root[data-ace="dark"] .logo-d { display: block; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 600 .95rem/1 var(--f-body); text-decoration: none; white-space: nowrap;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.btn-solid { background: var(--accent); color: var(--on-accent); }
.btn-solid:hover { background: var(--ink); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.mag { will-change: transform; }
.link { font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 3px; transition: background-size .4s var(--ease); }
.link:hover { background-size: 0 1.5px; background-position: 100% 100%; }

/* ---------------- loader ---------------- */
.loader { position: fixed; inset: 0; z-index: 150; background: var(--ld-bg); color: var(--ld-ink); overflow: hidden; clip-path: inset(0 0 0 0); }
.loader.out { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease-io); }
.ld-canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .6s; }
.ld-logo { position: absolute; left: 50%; top: 47%; width: min(64vw, 520px); transform: translate(-50%, -50%); opacity: 0; transition: opacity .7s ease, filter .9s ease; filter: blur(8px); }
.ld-logo img { width: 100%; height: auto; }
.loader.logo-in .ld-logo { opacity: 1; filter: blur(0); }
.loader.logo-in .ld-canvas { opacity: 0; }
.ld-ui {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(28px + env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px));
  pointer-events: none; transition: opacity .4s;
}
.loader.out .ld-ui { opacity: 0; }
.ld-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.ld-line { font: 400 clamp(.85rem, 1.3vw, 1rem)/1.3 var(--f-body); opacity: .75; }
.ld-line[lang="ar"] { font-family: 'Alexandria', 'Readex Pro', sans-serif; }
.ld-ticks { display: flex; align-items: flex-end; gap: 4px; height: 20px; }
.ld-ticks i { width: 2px; height: 9px; background: currentColor; opacity: .2; transition: opacity .2s, height .2s; }
.ld-ticks i.on { opacity: 1; }
.ld-ticks i.now { height: 20px; opacity: 1; }
.ld-pct { display: flex; align-items: flex-start; font: 600 clamp(2.4rem, 6vw, 4.6rem)/1 var(--f-num); letter-spacing: -.03em; }
.ld-pct .roll .col { transition-duration: .32s; }
.ld-pct > span:last-child { font-size: .38em; margin-top: .15em; opacity: .7; }

/* ---------------- header ---------------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.hdr { position: fixed; top: env(safe-area-inset-top, 0px); inset-inline: 0; z-index: 50; transition: transform .6s var(--ease), background-color .4s, box-shadow .4s; }
.hdr.solid { background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.hdr.hide { transform: translateY(-115%); }
html.is-loading .hdr { transform: translateY(-115%); }
.hdr-in { height: var(--hh); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; flex: none; height: 36px; direction: ltr; }
.tools { display: flex; align-items: center; gap: 8px; }
/* light / dark: one round button that matches the language switch */
.theme-btn { position: relative; width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); display: grid; place-items: center; overflow: hidden; transition: box-shadow .25s; }
.theme-btn:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.theme-btn svg { grid-area: 1 / 1; width: 19px; height: 19px; transition: transform .5s var(--ease), opacity .3s; }
.theme-btn .ic-sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
:root[data-ace="dark"] .theme-btn .ic-sun { opacity: 1; transform: none; }
:root[data-ace="dark"] .theme-btn .ic-moon { opacity: 0; transform: rotate(90deg) scale(.5); }
.lang { min-height: 42px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: .9rem; }
.lang:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.lang[lang="ar"] { font-family: 'Alexandria', 'Readex Pro', sans-serif; }
.hdr-cta { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.menu-btn { display: none; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--ink); color: var(--bg); font-weight: 600; }
.mnav {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  padding: calc(var(--hh) + 28px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; gap: 2px; visibility: hidden;
  clip-path: circle(0 at var(--mx, 90%) var(--my, 40px)); transition: clip-path .7s var(--ease-io), visibility 0s .7s;
}
.mnav.open { visibility: visible; clip-path: circle(150% at var(--mx, 90%) var(--my, 40px)); transition: clip-path .8s var(--ease-io), visibility 0s; }
.mnav a { font: 600 clamp(1.6rem, 7vw, 2.4rem)/1.25 var(--f-disp); text-decoration: none; padding-block: 6px; }
.mnav .mnav-tools a { font: 600 .95rem/1 var(--f-body); padding-block: 0; }
.mnav .mnav-tools { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 1180px) { .nav { display: none; } .menu-btn { display: inline-flex; align-items: center; } }
@media (max-width: 640px) {
  .hdr-cta { display: none; } .brand { height: 30px; }
  .tools { gap: 6px; }
  .lang, .menu-btn { min-height: 38px; padding: 0 12px; font-size: .86rem; }
  .theme-btn { width: 38px; height: 38px; }
}
@media (max-width: 360px) { .brand { height: 24px; } .lang, .menu-btn { padding: 0 10px; } }

/* ---------------- hero ---------------- */
.hero { position: relative; min-height: min(100svh, 1000px); display: flex; align-items: center; padding-block: calc(var(--hh) + var(--tb) + 40px) clamp(48px, 6vw, 80px); overflow: hidden; }
.hero-art { position: absolute; top: 50%; inset-inline-end: 2vw; width: min(44vw, 620px); aspect-ratio: 1; transform: translateY(-52%); pointer-events: none; z-index: 1; }
.hero-core { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* moving colour field: four blurred blobs in the logo colours */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob { position: absolute; width: 52vmax; aspect-ratio: 1; border-radius: 50%; filter: blur(80px); opacity: var(--bo, .2); will-change: transform; }
.blob.b1 { background: var(--c1); top: -22vmax; inset-inline-start: -14vmax; animation: drift1 26s ease-in-out infinite alternate; }
.blob.b2 { background: var(--c2); top: -10vmax; inset-inline-end: -18vmax; animation: drift2 31s ease-in-out infinite alternate; }
.blob.b3 { background: var(--c3); bottom: -28vmax; inset-inline-end: 8vmax; animation: drift3 24s ease-in-out infinite alternate; }
.blob.b4 { background: var(--c4); bottom: -30vmax; inset-inline-start: 10vmax; width: 40vmax; --bo: .14; animation: drift4 29s ease-in-out infinite alternate; }
:root[data-ace="dark"] .blob { --bo: .26; }
:root[data-ace="dark"] .blob.b4 { --bo: .16; }
@keyframes drift1 { to { transform: translate(18vmax, 12vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-16vmax, 16vmax) scale(.9); } }
@keyframes drift3 { to { transform: translate(-20vmax, -14vmax) scale(1.2); } }
@keyframes drift4 { to { transform: translate(16vmax, -10vmax) scale(1.1); } }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; z-index: 0; }
/* floating product cards around the cube */
@keyframes bob { 50% { transform: translateY(-9px); } }
.fc-row { display: flex; align-items: center; gap: 10px; }
.fc-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--chip-gen); color: var(--c1); flex: none; }
.fc-ic svg { width: 16px; height: 16px; }
.fc-t { font-weight: 600; font-size: .84rem; color: var(--ink); }
.fc-s { color: var(--ink2); direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.fc-v { font: 600 1.35rem/1.1 var(--f-num); letter-spacing: -.02em; direction: ltr; unicode-bidi: isolate; text-align: start; }
.fc-d { color: var(--ink2); font-size: .78rem; line-height: 1.4; }
.fc-prog { display: flex; gap: 2px; height: 6px; border-radius: 6px; overflow: hidden; background: var(--bg3); }
.fc-prog i { width: var(--w); background: var(--c2); transform-origin: var(--o, left); transition: transform 1s var(--ease) 1.3s; }
.fc-prog i.w { background: var(--c4); transition-delay: 1.6s; }
:root[dir="rtl"] .fc-prog i { --o: right; }
html.is-loading .fc-prog i { transform: scaleX(0); }
.fc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fc-chips .chip { font-size: .7rem; padding: 3px 9px; }
.fc-q { align-self: flex-end; max-width: 92%; padding: 7px 11px; border-radius: 12px 12px 3px 12px; background: var(--accent); color: var(--on-accent); font-size: .76rem; line-height: 1.35; }
:root[dir="rtl"] .fc-q { border-radius: 12px 12px 12px 3px; }
.fc-a { display: flex; gap: 8px; align-items: flex-start; }
.fc-a .cube { --s: 16px; margin-top: 2px; }
.fc-bars { display: flex; align-items: flex-end; gap: 5px; height: 38px; direction: ltr; }
.fc-bars i { flex: 1; border-radius: 3px 3px 1px 1px; background: var(--fc); height: var(--h); transform-origin: bottom; transition: transform 1s var(--ease) calc(1.2s + var(--k) * 80ms); }
html.is-loading .fc-bars i { transform: scaleY(0); }
.hero-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; }
.hero-foot { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; margin-top: clamp(22px, 2.8vw, 34px); }
.hero-acts { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hero-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.hlink { display: inline-flex; align-items: center; gap: 8px; padding-block: 4px; font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--ease); }
:root[dir="rtl"] .hlink { background-position: 100% 100%; }
.hlink:hover { background-size: 100% 1.5px; }
.hlink svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
.hero-note { display: flex; align-items: center; gap: 14px; font-size: .86rem; line-height: 1.5; color: var(--ink2); max-width: min(58ch, 48vw); }
@media (max-width: 860px) { .hero-note { max-width: none; } }
.cc { display: flex; direction: ltr; flex: none; }
.cc i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin-left: -4px; font: 600 .6rem/1 var(--f-body); font-style: normal; color: #FFFFFF; background: var(--fc); box-shadow: 0 0 0 2px var(--bg); }
.cc i:first-child { margin-left: 0; }
:root[data-ace="dark"] .cc i { color: #04141E; }
.hero-scroll { position: absolute; inset-inline-end: max(clamp(16px, 4vw, 48px), env(safe-area-inset-right, 0px)); bottom: 26px; z-index: 2; display: flex; align-items: center; gap: 12px; font-size: .8rem; color: var(--ink2); }
.hs-line { width: 56px; height: 1.5px; background: var(--line); position: relative; overflow: hidden; }
.hs-line::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: hs 2.2s var(--ease-io) infinite; }
@keyframes hs { 0% { transform: translateX(-101%); } 55% { transform: translateX(0); } 100% { transform: translateX(101%); } }
.iso-grid { position: absolute; inset: 0 0 auto; height: 72%; pointer-events: none; color: var(--ink); opacity: .07; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); font-size: .86rem; text-decoration: none; margin-bottom: 16px; max-width: 100%; }
:root[dir="rtl"] .badge { padding: 5px 5px 5px 14px; }
.badge b { padding: 3px 10px; border-radius: 999px; background: var(--c2); color: #FFFFFF; font-weight: 600; font-size: .78rem; }
:root[data-ace="dark"] .badge b { color: #04141E; }
.badge span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-h { font: 600 var(--t-hero)/1.07 var(--f-disp); letter-spacing: -.03em; text-wrap: balance; max-width: min(46vw, 11em); }
:root[lang="ar"] .hero-h { letter-spacing: 0; line-height: 1.4; font-weight: 700; max-width: min(52vw, 10em); }
.h-word { display: inline-block; white-space: nowrap; }
.h-unit { display: inline-block; will-change: transform; }
.h-in { display: inline-block; transition: transform 1.1s var(--ease) var(--d, 0s), opacity .7s ease var(--d, 0s); }
html.is-loading .h-in { transform: translateY(85%) rotate(6deg); opacity: 0; }
.hero-p { color: var(--ink2); font-size: clamp(1rem, 1.15vw, 1.1rem); max-width: min(46ch, 50vw); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.reveal-late { transition: opacity .9s ease .6s, transform 1s var(--ease) .6s; }
html.is-loading .reveal-late { opacity: 0; transform: translateY(20px); }
html.intro-done .reveal-late, html.intro-done .h-in { transition: none; }
@media (max-width: 860px) {
  .hero { padding-top: calc(var(--hh) + min(84vw, 480px)); }
  .hero-art { width: min(84vw, 480px); top: calc(var(--hh) + 8px); inset-inline-end: 50%; transform: translateX(50%); }
  :root[dir="rtl"] .hero-art { transform: translateX(-50%); }
  .hero-h, :root[lang="ar"] .hero-h, .hero-p { max-width: none; }
  .hero-scroll { display: none; }
}

/* banner stage */
.stage { position: relative; margin-top: clamp(28px, 3vw, 40px); }
.stage-frame { position: relative; width: 100vw; margin-inline: calc(50% - 50vw); height: calc(min(100vw, 1320px) * .5625); overflow: hidden; background: var(--bg3); }

.slide { position: absolute; inset: 0; margin: 0; z-index: 0; clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%); }
.slide .bnr-host { height: 100%; transform: scale(1.06); }
.slide.was { z-index: 1; clip-path: polygon(50% -80%, 168% -14%, 168% 114%, 50% 180%, -68% 114%, -68% -14%); }
.slide.was .bnr-host { transform: scale(1); }
.slide.on { z-index: 2; clip-path: polygon(50% -80%, 168% -14%, 168% 114%, 50% 180%, -68% 114%, -68% -14%); transition: clip-path 1.15s var(--ease-io); }
.slide.on .bnr-host { transform: scale(1); transition: transform 1.6s var(--ease); }
.slide:not(.on) .bnr-host .flow { animation: none; }
@media (max-width: 700px) { .stage-frame { height: 100vw; } }
.stage-ui { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: clamp(12px, 2vw, 28px); margin-top: 18px; align-items: start; }
.stab { display: flex; flex-direction: column; gap: 4px; padding: 14px 0 0; border: 0; background: none; text-align: start; position: relative; color: var(--ink2); transition: color .3s; }
.stab::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--line); }
.stab i { position: absolute; inset: 0 0 auto; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: var(--o, left); }
:root[dir="rtl"] .stab i { --o: right; }
.stab b { font-weight: 600; font-size: .95rem; color: var(--ink2); transition: color .3s; }
.stab span { font-size: .85rem; line-height: 1.45; }
.stab[aria-selected="true"] b { color: var(--ink); }
.stab:hover b { color: var(--ink); }
.st-play { width: 42px; height: 42px; margin-top: 8px; border-radius: 50%; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; }
.st-play svg { width: 14px; height: 14px; }
@media (max-width: 700px) {
  .stage-ui { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 10px; }
  .stab span { display: none; }
  .stab b { font-size: .8rem; line-height: 1.3; }
}

/* ---------------- Beema ---------------- */
.bm-reveal { position: relative; margin: clamp(40px, 5vw, 72px) auto 0; overflow: hidden; clip-path: inset(0 var(--ix, 0px) round var(--ir, 0px)); }
.bm-reveal .bnr-host { transform-origin: 50% 40%; }
.bm-flow { position: relative; }
.bm-pin { min-height: 100svh; display: flex; align-items: center; padding-block: clamp(56px, 7vw, 96px); }
.bm-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.bm-steps { display: flex; flex-direction: column; counter-reset: s; }
.bm-step { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; padding: 18px 0; border: 0; border-top: 1px solid var(--line); background: none; text-align: start; color: var(--ink2); transition: color .4s; }
.bm-step:last-child { border-bottom: 1px solid var(--line); }
.bm-step .n { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 .85rem var(--f-num); box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .4s, color .4s, box-shadow .4s; }
.bm-step b { font: 600 1.05rem/1.35 var(--f-disp); color: var(--ink2); transition: color .4s; }
.bm-step p { font-size: .92rem; line-height: 1.55; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s; }
.bm-step .bar { position: absolute; inset: -1px 0 auto; height: 2px; background: var(--accent); transform: scaleX(var(--sp, 0)); transform-origin: var(--o, left); }
:root[dir="rtl"] .bm-step .bar { --o: right; }
.bm-step.on b { color: var(--ink); }
.bm-step.on p { max-height: 7em; opacity: 1; }
.bm-step.on .n, .bm-step.done .n { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.win { position: relative; border-radius: 22px; background: var(--bg2); box-shadow: 0 0 0 1px var(--line), 0 50px 90px -60px var(--shadow); overflow: hidden; font-size: .88rem; }
.win-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.win-dots { display: flex; gap: 6px; direction: ltr; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--bg3); }
.win-top b { font-weight: 600; }
.file { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; padding: 5px 12px; border-radius: 999px; background: var(--bg); font-size: .8rem; color: var(--ink2); direction: ltr; max-width: 52%; }
.file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file .up { width: 46px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; flex: none; }
.file .up i { display: block; height: 100%; background: var(--c2); transform: scaleX(var(--u, 0)); transform-origin: left; transition: transform .9s var(--ease); }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { font-weight: 500; font-size: .76rem; color: var(--ink2); text-align: start; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .mono { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.tbl tbody tr { transition: opacity .5s, transform .6s var(--ease); transition-delay: calc(var(--r) * 70ms); }
.win[data-step="-1"] .tbl tbody tr { opacity: 0; transform: translateY(10px); }
.ipn { display: inline-block; min-width: 9ch; color: var(--ink2); }
.ipn.has { color: var(--ink); font-weight: 500; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .76rem; font-weight: 600; white-space: nowrap; transition: background-color .4s, color .4s; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip[data-s="wait"] { background: var(--chip-wait); color: var(--c4t); }
.chip[data-s="gen"] { background: var(--chip-gen); color: var(--c1); }
.chip[data-s="ok"] { background: var(--chip-ok); color: var(--c2t); }
.chip[data-s="post"] { background: var(--chip-post); color: var(--c3); }
:root[data-ace="light"] .chip[data-s="post"] { color: #1D6E7E; }
.win-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--bg); color: var(--ink2); }
.win-foot b { color: var(--ink); font: 600 1.05rem var(--f-num); direction: ltr; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .5s; }
.win[data-step="3"] .win-foot b { opacity: 1; }
@media (max-width: 1000px) { .bm-grid { grid-template-columns: minmax(0, 1fr); } .bm-pin { min-height: 0; } }
@media (max-width: 640px) { .tbl .c-veh, .tbl .c-cid { display: none; } .tbl th, .tbl td { padding: 10px 10px; } }

/* ---------------- AI assistant ---------------- */
.ai-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.try { margin-top: 12px; font-size: .85rem; color: var(--ink2); }
.prompts { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.pbtn { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; border: 0; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); text-align: start; font-size: .92rem; transition: box-shadow .3s, background-color .3s; }
.pbtn:hover { box-shadow: inset 0 0 0 1.5px var(--ink2); }
.pbtn[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); }
.pbtn svg { flex: none; width: 16px; height: 16px; color: var(--accent); }
:root[dir="rtl"] .pbtn svg { transform: scaleX(-1); }
.note { font-size: .8rem; color: var(--ink2); }
.chat { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr); border-radius: 22px; background: var(--bg2); box-shadow: 0 0 0 1px var(--line), 0 50px 90px -60px var(--shadow); overflow: hidden; height: clamp(520px, 44vw, 600px); }
.chat-side { border-inline-end: 1px solid var(--line); background: var(--bg); padding: 16px 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.chat-side h3 { font: 500 .76rem var(--f-body); color: var(--ink2); padding: 0 8px 6px; }
.rc { display: block; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px; background: transparent; text-align: start; font-size: .8rem; line-height: 1.4; color: var(--ink2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rc:hover { background: var(--bg3); }
.rc.on { background: var(--bg2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.chat-main { display: flex; flex-direction: column; min-width: 0; }
.chat-top { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 600; }
.chat-top .cube { --s: 20px; }
.chat-top .note { margin-inline-start: auto; font-weight: 400; }
.chat-log { flex: 1; overflow: hidden; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.msg-u { align-self: flex-end; max-width: 80%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--accent); color: var(--on-accent); font-size: .9rem; animation: pop .5s var(--ease); }
:root[dir="rtl"] .msg-u { border-radius: 16px 16px 16px 4px; }
.msg-a { display: flex; gap: 10px; align-items: flex-start; animation: pop .5s var(--ease); min-width: 0; }
.msg-a > .cube { --s: 22px; margin-top: 2px; }
.msg-a .body { display: flex; flex-direction: column; gap: 10px; min-width: 0; flex: 1; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.think { display: flex; flex-direction: column; gap: 6px; font-size: .84rem; color: var(--ink2); }
.think li { display: flex; align-items: center; gap: 8px; opacity: .4; transition: opacity .3s; }
.think li.run, .think li.ok { opacity: 1; }
.think .st { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); position: relative; flex: none; }
.think li.run .st { box-shadow: inset 0 0 0 1.5px var(--line); border: 1.5px solid transparent; border-top-color: var(--accent); animation: spin .7s linear infinite; }
.think li.ok .st { background: var(--c2); box-shadow: none; }
.think li.ok .st::after { content: ""; position: absolute; left: 4px; top: 2px; width: 3px; height: 6px; border: solid #FFFFFF; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.ans { font-size: .9rem; }
.rtab { border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.rtab-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 8px 8px 14px; border-bottom: 1px solid var(--line); font-size: .82rem; font-weight: 600; }
:root[dir="rtl"] .rtab-h { padding: 8px 14px 8px 8px; }
.rtab-h div { display: flex; gap: 2px; }
.ibtn { width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; display: grid; place-items: center; color: var(--ink2); }
.ibtn:hover { background: var(--bg3); color: var(--ink); }
.ibtn svg { width: 16px; height: 16px; }
.rtab table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.rtab th { font-weight: 500; font-size: .74rem; color: var(--ink2); text-align: start; padding: 8px 14px; }
.rtab td { padding: 7px 14px; border-top: 1px solid var(--line); }
.rtab td.v { direction: ltr; text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
:root[dir="rtl"] .rtab td.v { text-align: start; }
.rtab tr.in { animation: pop .45s var(--ease) both; }
.sh { display: flex; align-items: center; gap: 8px; min-width: 90px; }
.sh i { flex: 1; height: 6px; border-radius: 6px; background: var(--bg3); overflow: hidden; position: relative; }
.sh i::after { content: ""; position: absolute; inset: 0; background: var(--fc, var(--c1)); transform: scaleX(var(--w, 0)); transform-origin: var(--o, left); transition: transform 1s var(--ease) .2s; }
:root[dir="rtl"] .sh i::after { --o: right; }
.sh em { font-style: normal; font-size: .74rem; color: var(--ink2); width: 4ch; direction: ltr; text-align: end; font-variant-numeric: tabular-nums; }
.chat-in { display: flex; gap: 8px; align-items: center; margin: 0 18px 18px; padding: 6px 6px 6px 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); background: var(--bg); }
:root[dir="rtl"] .chat-in { padding: 6px 16px 6px 6px; }
.chat-in .typed { flex: 1; min-width: 0; font-size: .9rem; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-in .typed.has { color: var(--ink); }
.caret { display: inline-block; width: 1.5px; height: 1.1em; background: var(--accent); vertical-align: -3px; margin-inline-start: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.send { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); flex: none; }
.send svg { width: 16px; height: 16px; }
:root[dir="rtl"] .send svg { transform: scaleX(-1); }
@media (max-width: 1000px) { .ai-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .chat { grid-template-columns: minmax(0, 1fr); height: 560px; } .chat-side { display: none; } .chat-top .note { display: none; } }

/* ---------------- reel ---------------- */
.reel { margin-top: clamp(36px, 4vw, 56px); overflow: hidden; direction: ltr; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.reel.drag { cursor: grabbing; }
.reel-track { display: flex; gap: clamp(12px, 1.6vw, 20px); width: max-content; will-change: transform; padding-block: 8px 24px; }
.ritem { flex: none; height: clamp(200px, 30vw, 380px); padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--bg3); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -44px var(--shadow); transition: transform .6s var(--ease); }
.ritem .bnr-host { height: 100%; pointer-events: none; }
.ritem:hover { transform: translateY(-6px); }
.lb { width: min(1400px, 94vw); max-width: none; max-height: 92svh; padding: 0; border: 0; border-radius: 18px; background: var(--bg2); overflow: hidden; }
.lb::backdrop { background: color-mix(in srgb, var(--ld-bg) 82%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lb[open] { animation: lbIn .5s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.94); } }
.lb .bnr-host { width: 100%; }
.lb-x { position: absolute; top: 12px; inset-inline-end: 12px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--bg2); color: var(--ink); font-weight: 600; box-shadow: 0 8px 20px -10px var(--shadow); }

/* ---------------- about ---------------- */
.about-in { display: block; }
.about-k { font-size: .95rem; font-weight: 600; color: var(--c2t); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.man-p { font: 500 clamp(1.5rem, 3.4vw, 3rem)/1.24 var(--f-disp); letter-spacing: -.02em; max-width: 26ch; text-wrap: balance; }
:root[lang="ar"] .man-p { letter-spacing: 0; line-height: 1.55; font-weight: 600; }
.m-word { display: inline-block; }

/* ---------------- services ---------------- */
.svc { position: relative; overflow: hidden; padding-block: 0; }
.svc-pin { position: relative; min-height: min(100svh, calc(min(70svh, 560px) + 150px)); display: flex; align-items: center; }
.svc-track { display: flex; gap: clamp(18px, 2.4vw, 32px); width: max-content; padding-inline: max(clamp(16px, 5vw, 72px), env(safe-area-inset-left, 0px)); align-items: stretch; will-change: transform; }
.svc-intro { width: min(440px, 34vw); display: flex; flex-direction: column; justify-content: center; gap: 18px; flex: none; }
.svc-card {
  --fc: var(--c1); position: relative; overflow: hidden; flex: none;
  width: min(940px, 74vw); height: min(70svh, 560px);
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(18px, 2.6vw, 36px); align-items: center;
  padding: clamp(22px, 3vw, 44px); border-radius: 28px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line);
}
.svc-text { position: relative; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; min-width: 0; }
.svc-text .k { display: inline-block; width: 36px; height: 4px; border-radius: 4px; background: var(--fc); }
.svc-text p { color: var(--ink2); max-width: 40ch; font-size: .95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); background: var(--bg); }
.fig { position: relative; width: 100%; max-height: 100%; aspect-ratio: 5 / 4; --hi: var(--fc); touch-action: pan-y; cursor: crosshair; }
.fig svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.fig path, .fig ellipse, .fig circle { fill: var(--plate); stroke: var(--hl-edge); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; transition: stroke .26s, fill .26s; }
.fig .cr { fill: none; stroke: var(--hl-lo); }
.fig path.hi { stroke: var(--hi); }
.fig .ant { fill: none; stroke: var(--hl-edge); stroke-width: 2.2; }
.fig .ant.hi { stroke: var(--hi); }
.fig .dot { fill: var(--hi); stroke: none; }
.fig .dot.off { fill: var(--hl-lo); }
.fig .ring { fill: none; stroke: var(--hi); stroke-dasharray: 2 5; }
.fig .led { stroke: none; }
.svc-prog { position: absolute; top: calc(50% + min(35svh, 280px) + 22px); left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.svc-prog i { display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--line); transition: background-color .4s; }
.svc-prog i.on { background: var(--fc); }
@media (max-width: 899px) {
  .svc { padding-block: clamp(72px, 11vw, 120px) 40px; }
  .svc-pin { min-height: 0; display: block; }
  .svc-track { width: auto; flex-direction: column; padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
  .svc-intro, .svc-card { width: auto; height: auto; }
  .svc-card { grid-template-columns: minmax(0, 1fr); border-radius: 22px; }
  .svc-card .fig { order: -1; max-width: 480px; margin-inline: auto; }
  .svc-prog { display: none; }
}

/* ---------------- numbers ---------------- */
.numbers { padding-block: 0; }
.band { background: var(--band-bg); color: var(--band-fg); padding-block: clamp(80px, 10vw, 140px); clip-path: circle(150% at 50% 100%); transition: background-color .5s, color .5s; }
.band .h2 { max-width: none; }
.num-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); margin-top: clamp(40px, 5vw, 72px); }
.num { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 1.5px solid currentColor; }
.num-v { display: flex; align-items: flex-start; font: 600 clamp(2.6rem, 5.6vw, 5.2rem)/1 var(--f-num); letter-spacing: -.03em; }
.num-v .plus { font-size: .45em; margin-top: .08em; color: var(--band-2); }
.num p { font-size: .98rem; font-weight: 500; }
.roll { display: inline-flex; direction: ltr; height: 1em; overflow: hidden; line-height: 1; }
.roll .col { display: flex; flex-direction: column; width: .64em; text-align: center; transition: transform 1.3s cubic-bezier(.16, 1, .3, 1) var(--rd, 0s); }
.roll .col span { display: block; height: 1em; line-height: 1; }
@media (max-width: 960px) { .num-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------- technologies ---------------- */
.tech .h2 { max-width: none; }
.mq { margin-top: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; }
.mq-row { direction: ltr; overflow: hidden; border-top: 1px solid var(--line); padding-block: clamp(14px, 1.8vw, 22px); }
.mq-row:last-child { border-bottom: 1px solid var(--line); }
.mq-track { display: flex; width: max-content; direction: ltr; will-change: transform; }
.mq-item { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 18px); padding-inline: clamp(16px, 2vw, 30px); }
.mq-name { font: 500 clamp(1.3rem, 3vw, 2.6rem)/1.15 var(--f-disp); letter-spacing: -.015em; white-space: nowrap; transition: color .3s; }
.mq-item:hover .mq-name { color: var(--fc); }
.mq-d { font-size: .8rem; line-height: 1.35; color: var(--ink2); max-width: 15ch; }
.mq-item .cube { --s: 18px; }

/* ---------------- industries ---------------- */
.stack { display: flex; flex-direction: column; gap: 22px; margin-top: clamp(40px, 5vw, 64px); }
.sector {
  --fc: var(--c1); position: sticky; top: calc(var(--hh) + var(--tb) + 16px + var(--i) * 12px);
  min-height: min(50svh, 420px); padding: clamp(22px, 3.4vw, 44px); border-radius: 28px;
  background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line), 0 -24px 60px -48px var(--shadow);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 20px 44px;
  transform-origin: 50% 0; overflow: hidden;
}
.sector::after { content: ""; position: absolute; inset: 0; background: var(--bg); opacity: var(--dim, 0); pointer-events: none; }
.sector-top { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.sector-name { font: 600 clamp(1.8rem, 4.2vw, 3.6rem)/1.05 var(--f-disp); letter-spacing: -.025em; }
:root[lang="ar"] .sector-name { letter-spacing: 0; line-height: 1.3; font-weight: 700; }
.sector-alt { font-size: 1rem; color: var(--ink2); }
.sector-alt[lang="ar"] { font-family: 'Alexandria', sans-serif; }
.sector-d { align-self: end; color: var(--ink2); max-width: 42ch; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.sector-d .link { color: var(--ink); }
.heat { grid-column: 2; grid-row: 1 / span 2; display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: clamp(4px, .5vw, 7px); align-content: center; }
.heat i { display: block; aspect-ratio: 1; border-radius: 50%; background: var(--fc); opacity: calc(.08 + var(--h, 0) * .92); transform: scale(calc(.3 + var(--h, 0) * .7)); }
@media (max-width: 800px) {
  .sector { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; min-height: 0; }
  .heat { grid-column: 1; grid-row: auto; }
}

/* ---------------- why ---------------- */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); perspective: 1000px; }
.why-card {
  --fc: var(--c1); position: relative; overflow: hidden; min-height: 290px; padding: 26px;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); border-radius: 22px;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); transform-style: preserve-3d;
}
.why-card .face { width: 44px; height: 44px; margin-bottom: auto; }
.why-card .face path { stroke: var(--fc); fill: color-mix(in srgb, var(--fc) 12%, transparent); stroke-width: 1.5; stroke-linejoin: round; }
.why-card .face path.on { fill: var(--fc); }
.why-card .face.all path { stroke: var(--bg2); stroke-width: 1.2; }
.why-card .face.all path:nth-child(1) { fill: var(--cube-t); } .why-card .face.all path:nth-child(2) { fill: var(--cube-l2); } .why-card .face.all path:nth-child(3) { fill: var(--cube-r); }
.why-card h3 { font: 600 1.15rem/1.25 var(--f-disp); letter-spacing: -.01em; }
:root[lang="ar"] .why-card h3 { letter-spacing: 0; font-weight: 700; }
.why-card p { color: var(--ink2); font-size: .94rem; }
.why-card.moving { transition: transform .12s linear; }
.glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 50%), color-mix(in srgb, var(--fc) 20%, transparent), transparent 60%); opacity: 0; transition: opacity .4s; }
.why-card:hover .glare { opacity: 1; }
@media (max-width: 1100px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: minmax(0, 1fr); } .why-card { min-height: 220px; } }

/* ---------------- partners ---------------- */
.partners { overflow-x: clip; }
.par-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 88px); align-items: center; }
.par-ctrl { display: flex; align-items: center; gap: 18px; margin-top: 10px; }
.par-idx { font: 500 .95rem var(--f-num); color: var(--ink2); direction: ltr; }
.par-stack { position: relative; height: 500px; }
.pcard {
  --fc: var(--c1); position: absolute; inset: 0 0 auto; margin-inline: auto; width: min(100%, 500px); min-height: 440px;
  padding: clamp(22px, 2.6vw, 34px); border-radius: 28px; background: var(--bg2);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -50px var(--shadow);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .75s var(--ease), opacity .5s;
}
.pcard-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pcard-role { padding: 5px 12px; border-radius: 999px; background: var(--fc); color: #FFFFFF; font-size: .8rem; font-weight: 600; }
:root[data-ace="dark"] .pcard-role { color: #04141E; }
.pcard .cube { --s: 30px; }
.pcard-name { font: 600 clamp(1.35rem, 2vw, 1.75rem)/1.2 var(--f-disp); letter-spacing: -.015em; }
:root[lang="ar"] .pcard-name { letter-spacing: 0; line-height: 1.4; }
.pcard-line { color: var(--ink2); font-size: .95rem; }
.pcard-list { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; font-size: .95rem; }
.pcard-list li { display: flex; gap: 12px; align-items: baseline; }
.pcard-list li::before { content: ""; width: 7px; height: 8px; flex: none; background: var(--fc); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transform: translateY(-1px); }
.pcard .link { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .par-in { grid-template-columns: minmax(0, 1fr); } .par-stack { height: 540px; } .pcard { min-height: 480px; } }

/* ---------------- presence ---------------- */
.pres-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 88px); align-items: center; }
.branches { display: flex; flex-direction: column; margin-top: 20px; }
.branches li { display: flex; align-items: center; gap: 14px; padding-block: 14px; border-top: 1px solid var(--line); font: 500 clamp(1.05rem, 1.5vw, 1.3rem)/1.2 var(--f-disp); cursor: default; transition: padding .4s var(--ease); }
.branches li:last-child { border-bottom: 1px solid var(--line); }
.branches li:hover, .branches li.on { padding-inline-start: 12px; }
.branches .b-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--fc); flex: none; }
.branches .hq { margin-inline-start: auto; font: 500 .8rem var(--f-body); color: var(--ink2); }
.branches .b-site { font: 600 .8rem var(--f-body); color: var(--accent); text-decoration: none; padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s; }
.branches .b-site:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.globe-wrap { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1; margin-inline: auto; }
.globe { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.globe.drag { cursor: grabbing; }
@media (max-width: 900px) { .pres-in { grid-template-columns: minmax(0, 1fr); } }

/* ---------------- contact ---------------- */
.cta-h { font-family: var(--f-disp); font-size: clamp(2rem, 5.4vw, 5rem); line-height: 1.04; font-weight: var(--w, 600); letter-spacing: -.03em; text-wrap: balance; max-width: 16ch; }
:root[lang="ar"] .cta-h { letter-spacing: 0; line-height: 1.35; }
.cta-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 5vw, 88px); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.contact-lines { display: flex; flex-direction: column; margin-top: 24px; }
.cl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-block: 14px; border-top: 1px solid var(--line); }
.cl:last-child { border-bottom: 1px solid var(--line); }
.cl > span:first-child { width: 100%; font-size: .8rem; color: var(--ink2); }
.cl-v { font: 500 clamp(1rem, 1.4vw, 1.2rem)/1.3 var(--f-num); user-select: all; overflow-wrap: anywhere; }
.copy { min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--bg3); font-size: .8rem; font-weight: 600; }
.cta-form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .82rem; color: var(--ink2); }
.field input, .field textarea { width: 100%; padding: 10px 0; border: 0; border-bottom: 1.5px solid var(--line); background: transparent; font-size: 1.05rem; outline: none; transition: border-color .3s; border-radius: 0; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.slide-s { --p: 0; position: relative; height: 60px; border-radius: 999px; background: var(--bg3); overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: none; margin-top: 6px; }
.slide-fill { position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(60px + var(--p) * (100% - 60px)); background: var(--accent); border-radius: 999px; }
.slide-label { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 600; font-size: .95rem; color: var(--ink2); opacity: calc(1 - var(--p) * 1.6); pointer-events: none; }
.slide-knob { position: absolute; top: 4px; inset-inline-start: 4px; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--bg2); color: var(--ink); display: grid; place-items: center; transform: translateX(calc(var(--p) * var(--max, 0px) * var(--sx, 1))); box-shadow: 0 6px 18px -8px var(--shadow); cursor: grab; }
.slide-knob:active { cursor: grabbing; }
.slide-s.snap .slide-fill, .slide-s.snap .slide-knob, .slide-s.snap .slide-label { transition: all .5s var(--ease); }
:root[dir="rtl"] .slide-knob svg { transform: scaleX(-1); }
.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
@media (max-width: 900px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .row2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------------- footer ---------------- */
.foot { position: relative; padding-block: clamp(64px, 8vw, 104px) 0; background: var(--bg2); box-shadow: inset 0 1px 0 var(--line); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; font-size: .94rem; }
.foot-grid h3 { font: 600 .88rem/1.3 var(--f-body); color: var(--ink2); margin-bottom: 14px; }
.foot-grid ul { display: flex; flex-direction: column; gap: 9px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-logo { height: 50px; direction: ltr; display: flex; }
.foot-tag { color: var(--ink2); max-width: 34ch; margin-top: 16px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding-block: 22px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink2); }
.foot-bottom a { text-decoration: none; font-weight: 600; color: var(--ink); }
.foot-mark { display: flex; justify-content: center; direction: ltr; font: 700 clamp(6rem, 26vw, 22rem)/.8 var(--f-num); letter-spacing: -.05em; padding-top: 16px; overflow: hidden; user-select: none; }
.foot-mark span { display: inline-block; color: var(--bg3); transition: color .5s; }
.foot-mark span:nth-child(1):hover { color: var(--cube-t); } .foot-mark span:nth-child(2):hover { color: var(--cube-l2); } .foot-mark span:nth-child(3):hover { color: var(--cube-r); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------------- progress ruler, cursor, toasts ---------------- */
.prog { position: fixed; z-index: 40; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); inset-inline-start: max(18px, env(safe-area-inset-left, 0px)); display: flex; align-items: flex-end; gap: 12px; color: #FFFFFF; mix-blend-mode: difference; pointer-events: none; transition: opacity .6s; }
html.is-loading .prog { opacity: 0; }
.prog-ticks { display: flex; align-items: flex-end; gap: 3px; height: 16px; direction: ltr; }
:root[dir="rtl"] .prog-ticks { transform: scaleX(-1); }
.prog-ticks i { width: 1.5px; height: 6px; background: currentColor; opacity: .3; transition: height .25s, opacity .25s; }
.prog-ticks i.on { opacity: .9; }
.prog-ticks i.now { height: 16px; opacity: 1; }
.prog-label { font-size: .76rem; font-weight: 600; min-width: 9ch; }
.prog .roll { font: 600 .76rem/1 var(--f-num); }
.prog .roll .col { width: .64em; transition-duration: .5s; }
@media (max-width: 899px) { .prog { display: none; } }
.toasts { position: fixed; z-index: 160; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); width: min(420px, calc(100vw - 32px)); transform: translateX(-50%); height: 0; }
.toast { position: absolute; bottom: 0; inset-inline: 0; padding: 13px 18px; border-radius: 16px; background: var(--ink); color: var(--bg); font-size: .9rem; line-height: 1.45; box-shadow: 0 20px 40px -20px var(--shadow); transform: translateY(calc(var(--k, 0) * -12px)) scale(calc(1 - var(--k, 0) * .05)); opacity: calc(1 - var(--k, 0) * .28); transition: transform .5s var(--ease), opacity .4s; }
.toast.enter { transform: translateY(120%); opacity: 0; }
.toast.leave { transform: translateY(40%) scale(.9); opacity: 0; }


/* ---------------- navbar: utility bar, main bar, dropdown panels ---------------- */
:root { --tb: 0px; }
.hdr.mega-open { background: var(--mega-bg); backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
:root { --mega-bg: color-mix(in srgb, #E2EDF3 90%, transparent); --mega-item: rgba(255, 255, 255, .75); }
:root[data-ace="dark"] { --mega-bg: color-mix(in srgb, #0A2333 92%, transparent); --mega-item: rgba(255, 255, 255, .06); }
.mega-scrim { position: fixed; inset: 0; z-index: 45; background: color-mix(in srgb, #04141E 30%, transparent); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.mega-scrim.on { opacity: 1; pointer-events: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav-i { display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border: 0; border-radius: 999px; background: transparent; color: var(--ink2); font: 500 .92rem/1 var(--f-body); text-decoration: none; position: relative; transition: color .25s, background-color .25s; }
.nav-i:hover, .nav-i[aria-expanded="true"] { color: var(--ink); background: var(--bg3); }
.nav-i.is-cur { color: var(--ink); font-weight: 600; }
/* the logo cube's colours, green to teal-blue to orange, mirrored in Arabic */
:root { --ink-grad: linear-gradient(90deg, #1EB37A, #3CA5B4 45%, #0A6496 68%, #F07A36); }
:root[data-ace="dark"] { --ink-grad: linear-gradient(90deg, #34C98A, #43BED2 45%, #3BA7E0 68%, #FF9A5C); }
:root[dir="rtl"] { --ink-grad: linear-gradient(270deg, #1EB37A, #3CA5B4 45%, #0A6496 68%, #F07A36); }
:root[dir="rtl"][data-ace="dark"] { --ink-grad: linear-gradient(270deg, #34C98A, #43BED2 45%, #3BA7E0 68%, #FF9A5C); }
.nav { position: relative; }
.nav-i .nt { position: relative; }
.nav-i .nt::after { content: ""; position: absolute; inset-inline: 0; top: calc(100% + 4px); height: 2.5px; border-radius: 2px; background: var(--ink-grad); opacity: 0; transform: scaleX(.3); transition: opacity .25s, transform .35s var(--ease); }
.nav-i:not(.is-cur):hover .nt::after { opacity: .4; transform: none; }
.nav-ink { position: absolute; left: 0; top: 0; height: 2.5px; border-radius: 2px; background: var(--ink-grad); pointer-events: none; opacity: 0; transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; }
@media (prefers-reduced-motion: reduce) { .nav-ink, .nav-i .nt::after { transition: none; } }
.nav-i .chev-d { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav-i[aria-expanded="true"] .chev-d { transform: rotate(180deg); }
.megas { position: absolute; top: 100%; inset-inline: 0; }
.mega { padding-top: 10px; }
.mega:not([hidden]) .mega-card { animation: megaIn .32s var(--ease) both; }
@keyframes megaIn { from { opacity: 0; transform: translateY(-8px); } }
.mega-card { display: grid; gap: 0; padding: 28px 30px 22px; border-radius: 22px; background: var(--mega-bg); backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px var(--shadow); max-height: calc(100svh - var(--hh) - var(--tb) - 30px); overflow-y: auto; }
.mega-card.mc3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-card.mc1 { grid-template-columns: minmax(0, 1fr); }
.mg-row { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 4px 22px; }
.mg-col { display: flex; flex-direction: column; gap: 2px; padding-inline: 22px; min-width: 0; }
.mg-col:first-child { padding-inline-start: 0; }
.mg-col + .mg-col { box-shadow: inset 1px 0 0 var(--line); }
:root[dir="rtl"] .mg-col + .mg-col { box-shadow: inset -1px 0 0 var(--line); }
.mg-span2 { grid-column: span 2; }
.mg-gap { height: 18px; }
.mg-h { font-size: .84rem; font-weight: 600; color: var(--c4t); text-decoration: none; padding: 4px 0 10px; }
.mg-h:hover { text-decoration: underline; text-underline-offset: 3px; }
.mg-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 22px; }
.mg-a { --fc: var(--accent); display: flex; align-items: flex-start; gap: 12px; padding: 9px 10px; margin-inline: -10px; border-radius: 12px; color: var(--ink); text-decoration: none; font-size: .9rem; line-height: 1.35; transition: background-color .2s; }
.mg-a:hover, .mg-a:focus-visible { background: var(--mega-item); }
.mg-ic { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; color: var(--fc); background: color-mix(in srgb, var(--fc) 12%, transparent); }
.mg-ic svg { width: 16px; height: 16px; }
.mg-tx { display: flex; flex-direction: column; gap: 2px; padding-top: 5px; min-width: 0; }
.mg-a:not(:has(.mg-ic)) .mg-tx { padding-top: 0; }
.mg-tx span { font-weight: 500; }
.mg-tx small { font-size: .8rem; color: var(--ink2); }
.mg-all { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin-top: 18px; padding-top: 14px; font-weight: 600; font-size: .88rem; color: var(--accent); text-decoration: none; width: 100%; box-shadow: inset 0 1px 0 var(--line); }
.arr { width: 15px; height: 15px; flex: none; transition: transform .3s var(--ease); }
:root[dir="rtl"] .arr { transform: scaleX(-1); }
a:hover > .arr, a:hover .arr { transform: translateX(3px); }
:root[dir="rtl"] a:hover .arr { transform: scaleX(-1) translateX(3px); }
/* mobile drawer with expandable groups */
.mnav { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.mn-list { display: flex; flex-direction: column; }
.mnav .mn-top { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 0; border: 0; background: none; color: var(--ink); text-align: start; text-decoration: none; font: 600 clamp(1.3rem, 5.6vw, 1.9rem)/1.25 var(--f-disp); box-shadow: inset 0 -1px 0 var(--line); }
.mnav .mn-top .chev-d { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.mnav .mn-top[aria-expanded="true"] .chev-d { transform: rotate(180deg); }
.mn-sub { display: flex; flex-direction: column; padding: 8px 0 14px; }
.mn-sub[hidden] { display: none; }
.hdr.menu-open { background: var(--bg); box-shadow: 0 1px 0 var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
.mnav .mn-sub a { font: 500 1rem/1.4 var(--f-body); padding: 7px 0; color: var(--ink2); text-decoration: none; }
.mnav .mn-sub a.mn-h { font-size: .82rem; font-weight: 600; color: var(--c4t); padding-top: 14px; }
.mnav .mn-sub a.mn-all { color: var(--accent); font-weight: 600; padding-top: 12px; }
.mnav .mnav-tools { padding-top: 20px; }
@media (max-width: 1180px) { .nav, .megas { display: none; } }

/* ---------------- inner pages ---------------- */
.page { display: block; }
.page[hidden] { display: none; }
.pg-hero { position: relative; overflow: hidden; padding-block: calc(var(--hh) + var(--tb) + clamp(36px, 5vw, 72px)) clamp(48px, 6vw, 88px); }
.pg-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 100px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.pg-bg .blob { width: 40vmax; }
.pg-bg .blob.b3 { bottom: -34vmax; }
.pg-hero-in { position: relative; z-index: 2; }
.pg-hero.pg-hero-tight { padding-bottom: clamp(8px, 1.4vw, 20px); }
.pg-hero.pg-hero-tight::after { height: 60px; }
.pg-hero-tight + .pg-sec { padding-top: clamp(28px, 3.6vw, 52px); }
.pg-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 20px; font-size: .84rem; color: var(--ink2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs .sep { opacity: .45; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.pg-h1 { font: 600 clamp(2rem, 4.4vw, 3.5rem)/1.08 var(--f-disp); letter-spacing: -.03em; text-wrap: balance; max-width: 18ch; }
:root[lang="ar"] .pg-h1 { letter-spacing: 0; line-height: 1.35; font-weight: 700; }
.pg-lead { margin-top: 18px; font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.65; color: var(--ink2); max-width: 58ch; }
.pg-hero .btns { margin-top: 28px; }
.page.pg-enter .pg-in { animation: pgIn .9s var(--ease) both; animation-delay: calc(.05s + var(--k, 0) * 90ms); }
@keyframes pgIn { from { opacity: 0; transform: translateY(22px); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chipl { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 999px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-size: .88rem; font-weight: 500; transition: box-shadow .25s; }
.chipl:hover { box-shadow: inset 0 0 0 1.5px var(--fc); }
.chipl i { width: 9px; height: 9px; border-radius: 50%; background: var(--fc); }
.pg-sec { position: relative; padding-block: clamp(56px, 7vw, 104px); }
.pg-sec.alt { background: var(--bg2); box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.pg-head { margin-bottom: clamp(28px, 3.5vw, 44px); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 16px; }
.prc { --fc: var(--c1); display: flex; flex-direction: column; gap: 10px; min-height: 230px; padding: 24px; border-radius: 22px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: box-shadow .3s, transform .45s var(--ease); }
.pg-sec.alt .prc { background: var(--bg); }
.prc:hover { box-shadow: inset 0 0 0 1.5px var(--fc), 0 24px 50px -36px var(--shadow); transform: translateY(-3px); }
.prc-ic { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; color: var(--fc); background: color-mix(in srgb, var(--fc) 13%, transparent); margin-bottom: 6px; }
.prc-ic svg { width: 23px; height: 23px; }
.prc h3 { font: 600 1.1rem/1.3 var(--f-disp); }
.prc p { color: var(--ink2); font-size: .92rem; }
.prc-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--accent); }
.pv { --fc: var(--c1); display: flex; flex-direction: column; gap: 18px; max-width: 520px; margin-inline-start: auto; padding: 26px; border-radius: 26px; background: var(--bg2); box-shadow: 0 0 0 1px var(--line), 0 50px 90px -60px var(--shadow); }
.pv-top { display: flex; align-items: center; gap: 14px; }
.pv-top .prc-ic { margin: 0; width: 54px; height: 54px; }
.pv-top b { display: block; font: 600 1.1rem/1.3 var(--f-disp); }
.pv-top div > span { font-size: .84rem; color: var(--ink2); }
.pv ul { display: flex; flex-direction: column; gap: 8px; }
.pv li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg); font-size: .92rem; font-weight: 500; }
.pv-ck { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--c2); color: #FFFFFF; }
:root[data-ace="dark"] .pv-ck { color: #04141E; }
.pv-ck svg { width: 13px; height: 13px; }
.pv-sk { display: flex; gap: 8px; }
.pv-sk i { height: 8px; border-radius: 6px; background: var(--bg3); flex: 1; }
.pv-sk i:nth-child(2) { flex: 2; background: color-mix(in srgb, var(--fc) 30%, var(--bg3)); }
.pv-frame { border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 50px 90px -60px var(--shadow); }
.capg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.capg.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.capc { --fc: var(--c1); display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 22px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.pg-sec:not(.alt) .capc { background: var(--bg2); }
.capc .face { width: 40px; height: 40px; margin-bottom: 8px; }
.capc .face path { stroke: var(--fc); fill: color-mix(in srgb, var(--fc) 12%, transparent); stroke-width: 1.5; stroke-linejoin: round; }
.capc .face path.on { fill: var(--fc); }
.capc .face.all path { stroke: var(--bg2); }
.capc .face.all path:nth-child(1) { fill: var(--cube-t); } .capc .face.all path:nth-child(2) { fill: var(--cube-l2); } .capc .face.all path:nth-child(3) { fill: var(--cube-r); }
.capc h3 { font: 600 1.08rem/1.3 var(--f-disp); }
.capc p { color: var(--ink2); font-size: .93rem; }
@media (max-width: 1000px) { .capg, .capg.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pg-split { grid-template-columns: minmax(0, 1fr); } .pv { margin-inline: 0; } }
@media (max-width: 560px) { .capg, .capg.c3 { grid-template-columns: minmax(0, 1fr); } }
.pg-band-sec { padding-top: 0; }
.pg-sec.alt + .pg-band-sec { padding-top: clamp(56px, 7vw, 104px); }
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: var(--band-bg); color: var(--band-fg); }
.cta-band h2 { font: 600 clamp(1.45rem, 2.6vw, 2.2rem)/1.15 var(--f-disp); letter-spacing: -.02em; }
:root[lang="ar"] .cta-band h2 { letter-spacing: 0; line-height: 1.4; }
.cta-band p { margin-top: 10px; opacity: .8; max-width: 52ch; }
.cta-band.slim { margin-top: 36px; }
.btn-inv { background: var(--band-fg); color: var(--band-bg); }
.btn-inv:hover { background: color-mix(in srgb, var(--band-fg) 88%, var(--band-bg)); }
.btn-onband { background: transparent; color: var(--band-fg); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--band-fg) 40%, transparent); }
.btn-onband:hover { box-shadow: inset 0 0 0 1.5px var(--band-fg); }
.btn-s { min-height: 40px; padding: 0 16px; font-size: .88rem; }
@media (max-width: 760px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }
/* partners */
.pcar { display: block; }
.pc-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .pc-pair { grid-template-columns: minmax(0, 1fr); } }
.pcar-main { min-width: 0; }
.pcar-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding: 6px 4px 10px; margin: -6px -4px 0; scroll-padding-inline: 4px; }
.pcar-track::-webkit-scrollbar { display: none; }
.pcar-track.drag { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.pcar-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 26px; }
.pcar-track .pc2 { flex: none; width: min(600px, 86%); scroll-snap-align: start; opacity: .45; transform: scale(.94); transition: opacity .45s, transform .55s var(--ease), box-shadow .3s; cursor: pointer; }
.pcar-track .pc2.on { opacity: 1; transform: none; cursor: auto; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -44px var(--shadow); }
/* room after the last card so it can also come to the start */
.pcar-track .pc2:last-child { margin-inline-end: calc(100% - min(600px, 86%)); }
.pcar-ctl { display: flex; align-items: center; gap: 10px; margin-top: 18px; width: min(600px, 86%); }
.pcar-dots { display: flex; gap: 8px; margin-inline-end: auto; }
.pcar-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 6px; background: var(--hl-edge); opacity: .45; transition: width .4s var(--ease), opacity .3s, background-color .3s; }
.pcar-dots button[aria-current="true"] { width: 26px; opacity: 1; background: var(--accent); }
.pcar-n { font-size: .84rem; color: var(--ink2); font-variant-numeric: tabular-nums; min-width: 4.5em; text-align: center; }
.pcar-b { width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--bg2); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .3s, opacity .3s; }
.pcar-b:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pcar-b:disabled { opacity: .35; cursor: default; }
.pcar-b .arr { width: 18px; height: 18px; }
#pcPrev .arr { transform: scaleX(-1); }
:root[dir="rtl"] #pcPrev .arr { transform: none; }
:root[dir="rtl"] #pcNext .arr { transform: scaleX(-1); }
.pcar-b:hover .arr { transform: none; }
#pcPrev:hover .arr { transform: scaleX(-1); }
:root[dir="rtl"] #pcNext:hover .arr { transform: scaleX(-1); }
:root[dir="rtl"] #pcPrev:hover .arr { transform: none; }
@media (max-width: 700px) { .pcar-ctl { width: auto; } }
@media (prefers-reduced-motion: reduce) { .pcar-track .pc2, .pcar-dots button { transition: none; } }
.pc2 { --fc: var(--c1); display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 24px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.pc2 .cube { --s: 28px; }
.pc2 .link { margin-top: auto; align-self: flex-start; }
.logo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.logo-tile { --fc: var(--c1); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 150px; padding: 20px; border-radius: 20px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.logo-tile .cube { --s: 30px; margin-bottom: 4px; }
.logo-tile b { font: 600 1rem/1.3 var(--f-disp); }
.logo-tile span:last-child { font-size: .8rem; color: var(--ink2); }
.bp-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 88px); align-items: start; }
.ben { display: flex; flex-direction: column; gap: 18px; margin-top: 18px; }
.ben li { --fc: var(--c1); display: flex; gap: 14px; align-items: flex-start; }
.ben .face { width: 34px; height: 34px; flex: none; }
.ben .face path { stroke: var(--fc); fill: color-mix(in srgb, var(--fc) 12%, transparent); stroke-width: 1.5; stroke-linejoin: round; }
.ben .face path.on { fill: var(--fc); }
.ben b { display: block; font-weight: 600; }
.ben span { color: var(--ink2); font-size: .93rem; }
.pg-form { display: flex; flex-direction: column; gap: 20px; padding: clamp(22px, 3vw, 36px); border-radius: 24px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.pg-sec.alt .pg-form { background: var(--bg); }
.pg-form .btn { align-self: flex-start; }
.field select { width: 100%; padding: 10px 0; border: 0; border-bottom: 1.5px solid var(--line); border-radius: 0; background: transparent; font-size: 1.05rem; color: var(--ink); outline: none; }
.field select:focus { border-bottom-color: var(--accent); }
.field select option { background: var(--bg2); color: var(--ink); }
@media (max-width: 1000px) { .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bp-grid { grid-template-columns: minmax(0, 1fr); } }
/* company */
.ov-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 5vw, 88px); align-items: start; }
.mini-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ms { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 18px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.ms b { font: 600 2rem/1 var(--f-num); letter-spacing: -.02em; color: var(--accent); direction: ltr; text-align: start; }
.ms span { font-size: .88rem; color: var(--ink2); }
.sub-h { font: 600 1.15rem/1.3 var(--f-disp); margin: 32px 0 6px; }
.branches .hq.link { text-decoration: none; color: var(--accent); }
.vis-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.vis-card { display: flex; flex-direction: column; gap: 12px; padding: clamp(26px, 4vw, 48px); border-radius: 26px; background: var(--band-bg); color: var(--band-fg); }
.vis-card span { font-size: .88rem; font-weight: 600; opacity: .75; }
.vis-card p { font: 500 clamp(1.25rem, 2.3vw, 1.85rem)/1.3 var(--f-disp); letter-spacing: -.01em; }
.vis-card.vis-alt { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 900px) { .ov-grid, .vis-grid { grid-template-columns: minmax(0, 1fr); } }
/* careers */
.roles { display: flex; flex-direction: column; }
.roles li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 12px 28px; align-items: center; padding: 18px 0; box-shadow: inset 0 -1px 0 var(--line); }
.roles li:first-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.roles b { font: 600 1.1rem/1.3 var(--f-disp); }
.rl { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--ink2); }
.ic-s svg { width: 15px; height: 15px; display: block; }
@media (max-width: 700px) { .roles li { grid-template-columns: minmax(0, 1fr) auto; } .roles b { grid-column: 1 / -1; } }
/* contact */
.rate { border: 0; padding: 0; margin: 0; min-width: 0; }
.rate legend { font-size: .82rem; color: var(--ink2); margin-bottom: 10px; padding: 0; }
.rate-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.rate label { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; text-align: center; padding: 12px 6px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); font-size: .8rem; color: var(--ink2); cursor: pointer; transition: box-shadow .25s, color .25s; }
.rate label:hover { box-shadow: inset 0 0 0 1.5px var(--ink2); }
.rate label.on { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--ink); }
.rate label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.rate-cubes { display: flex; gap: 2px; height: 18px; align-items: center; }
.rate-cubes .cube { --s: 16px; filter: grayscale(1); opacity: .45; transition: filter .25s, opacity .25s; }
.rate label.on .cube { filter: none; opacity: 1; }
.fb-one { display: flex; flex-direction: column; align-items: center; gap: clamp(24px, 3vw, 36px); }
.fb-one .head { align-items: center; text-align: center; }
.fb-one .h2 { margin-inline: auto; }
.fb-one .pg-form { width: min(100%, 720px); }
.cl-plain { user-select: auto; }
@media (max-width: 480px) { .rate label { font-size: .72rem; padding: 10px 2px; } .rate-cubes { gap: 1px; } .rate-cubes .cube { --s: 9px; } }

/* ---------------- GIMS: lifecycle, modules and screens ---------------- */
.gims { --gpad: max(clamp(16px, 4vw, 48px), calc((100vw - 1320px) / 2 + 48px)); }
.gf { position: relative; margin-top: clamp(32px, 4vw, 56px); padding: clamp(20px, 3vw, 40px); border-radius: 28px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.gf::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 80% at 100% 100%, color-mix(in srgb, var(--c3) 9%, transparent), transparent 70%), radial-gradient(40% 60% at 0% 0%, color-mix(in srgb, var(--c2) 7%, transparent), transparent 70%); }
.gf > * { position: relative; }
/* the rail */
.gf-rail { position: relative; padding-top: 6px; }
.gf-nodes { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); }
.gf-node { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 4px; border: 0; background: none; color: var(--ink2); font: 500 .86rem/1.25 var(--f-body); cursor: pointer; text-align: center; transition: color .3s; }
.gf-node:hover { color: var(--ink); }
.gf-dot { position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg2); box-shadow: inset 0 0 0 1.5px var(--hl-edge); color: var(--on-accent); transition: background-color .4s, box-shadow .4s; }
.gf-dot svg { width: 13px; height: 13px; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease); }
.gf-node.done .gf-dot { background: var(--c2); box-shadow: none; }
.gf-node.done .gf-dot svg { opacity: 1; transform: none; }
.gf-node.on { color: var(--ink); font-weight: 600; }
.gf-node.on .gf-dot { background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 16%, transparent); }
.gf-node.on:not(.done) .gf-dot::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--accent); animation: gfPulse 1.8s ease-out infinite; }
@keyframes gfPulse { from { transform: scale(.8); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.gf-line { position: absolute; top: calc(6px + 12px); inset-inline: calc(100% / (2 * var(--n, 5))); height: 2px; background: var(--line); }
.gf-line i { display: block; height: 100%; background: linear-gradient(90deg, var(--c2), var(--accent)); transform: scaleX(0); transform-origin: left center; transition: transform 1s var(--ease); }
:root[dir="rtl"] .gf-line i { transform-origin: right center; background: linear-gradient(270deg, var(--c2), var(--accent)); }
/* the reinsurance layer: a band under the rail, tied to Policy and Claims by two connectors */
.gf-ri { position: relative; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); align-items: center; margin-top: 48px; padding: 18px 0 14px; border-radius: 16px; background: color-mix(in srgb, var(--c1) 5%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c1) 20%, transparent); transition: background-color .5s, box-shadow .5s; }
.gf-ri::before { content: ''; position: absolute; top: 50%; inset-inline: 18px; margin-top: 2px; border-top: 1.5px dashed color-mix(in srgb, var(--c1) 30%, transparent); }
.gf.ri-on .gf-ri { background: color-mix(in srgb, var(--c1) 9%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c1) 45%, transparent); }
.gf-ri-tag { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 7px; max-width: calc(100% - 32px); padding: 4px 12px 4px 9px; border-radius: 999px; background: var(--bg2); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c1) 30%, transparent); font-size: .78rem; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-ri-tag svg { width: 15px; height: 15px; flex: none; color: var(--c1); }
.gf-ri-tag b { color: var(--ink); font-weight: 600; }
.gf-rin { position: relative; z-index: 1; grid-row: 1; justify-self: center; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 6px; border: 0; border-radius: 999px; background: var(--bg2); color: var(--ink2); font: 500 .84rem var(--f-body); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c1) 32%, transparent); cursor: pointer; transition: box-shadow .4s, color .3s; }
.gf-rin:hover { color: var(--ink); }
.gf-rid { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--c1); background: color-mix(in srgb, var(--c1) 13%, transparent); transition: background-color .4s, color .4s; }
.gf-rid svg { width: 14px; height: 14px; }
.gf-rin.done .gf-rid { background: var(--c2); color: #FFFFFF; }
.gf-rin.on { color: var(--ink); font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--c1), 0 0 0 5px color-mix(in srgb, var(--c1) 14%, transparent); }
.gf-rin.on .gf-rid { background: var(--c1); color: var(--on-accent); }
/* the connector climbs from the chip to the stage it belongs to */
.gf-ric { position: absolute; bottom: 100%; left: 50%; width: 0; height: 58px; border-left: 1.5px dashed color-mix(in srgb, var(--c1) 45%, transparent); transition: border-color .4s; }
.gf-ric i { position: absolute; left: -4.25px; top: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--c1); opacity: 0; }
.gf-rin.on .gf-ric { border-left-style: solid; border-color: var(--c1); }
.gf-rin.on .gf-ric i { animation: gfDown 1.3s ease-in infinite; }
@keyframes gfDown { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(52px); opacity: 0; } }
.gf-node.near { color: var(--ink); }
.gf-node.near .gf-dot { box-shadow: 0 0 0 5px color-mix(in srgb, var(--c1) 16%, transparent); }
.gf-win.ri .gw-crumb { color: var(--c1); font-weight: 600; }
/* the stage copy and the acting window */
.gf-body { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(28px, 3.4vw, 44px); }
.gf-copy { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.gf-k { font-size: .82rem; color: var(--ink2); }
.gf-h { font: 600 var(--t-h3)/1.2 var(--f-disp); letter-spacing: -.01em; }
.gf-d { color: var(--ink2); max-width: 44ch; min-height: 3.3em; }
.gf-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.gf-rec { font-size: .82rem; color: var(--ink2); padding: 6px 12px; border-radius: 999px; background: var(--bg3); }
.gf-rec b { color: var(--ink); font-weight: 600; }
.gf-pp { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px 0 10px; border-radius: 999px; border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); font: 500 .82rem var(--f-body); cursor: pointer; }
.gf-pp:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.gf-pp svg { width: 14px; height: 14px; }
.gf-win { display: grid; grid-template-columns: 52px minmax(0, 1fr); min-height: 320px; border-radius: 18px; overflow: hidden; background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -34px var(--shadow); }
.gw-side { background: #062A3D; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 0; }
:root[data-ace="dark"] .gw-side { background: #021019; }
.gw-side svg { width: 22px; height: 22px; margin-bottom: 8px; }
.gw-side i { width: 20px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .16); }
.gw-side i:nth-of-type(2) { background: rgba(255, 255, 255, .42); }
.gw-main { display: flex; flex-direction: column; gap: 14px; padding: 18px clamp(16px, 2vw, 24px) 20px; min-width: 0; }
.gw-top { display: flex; align-items: baseline; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); min-width: 0; }
.gw-crumb { font-size: .78rem; color: var(--ink2); }
.gw-crumb::after { content: '/'; margin-inline-start: 8px; color: var(--hl-edge); }
.gw-scr { font-weight: 600; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-win.run .gw-top { animation: gwIn .5s var(--ease); }
@keyframes gwIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.gw-fields { display: grid; gap: 10px; }
.gw-f { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 12px; align-items: center; }
.gw-f label { font-size: .8rem; color: var(--ink2); }
.gw-v { display: flex; align-items: center; height: 38px; padding: 0 12px; border-radius: 9px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); font-size: .88rem; white-space: nowrap; overflow: hidden; transition: box-shadow .3s; }
.gw-v span { clip-path: inset(0 100% 0 0); transition: clip-path .5s linear; overflow: hidden; text-overflow: ellipsis; }
:root[dir="rtl"] .gw-v span { clip-path: inset(0 0 0 100%); }
/* system values are English, so they type in left to right on Arabic pages too */
:root[dir="rtl"] .gw-v[dir="ltr"] span { clip-path: inset(0 100% 0 0); }
:root[dir="rtl"] .gw-f.on .gw-v span { clip-path: inset(0 0 0 0); }
.gw-f.on .gw-v span { clip-path: inset(0 0 0 0); }
.gw-f.gw-cur .gw-v { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.gw-act { display: flex; justify-content: flex-end; }
.gw-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: .84rem; }
.gw-btn.press { animation: gwPress .55s var(--ease); }
@keyframes gwPress { 0% { transform: scale(1); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 35% { transform: scale(.93); } 100% { transform: scale(1); box-shadow: 0 0 0 12px transparent; } }
.gw-res { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--c2) 11%, var(--bg2)); font-size: .88rem; font-weight: 500; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); }
.gw-res.show { opacity: 1; transform: none; }
.gw-ok { width: 22px; height: 22px; border-radius: 50%; background: var(--c2); color: #fff; display: grid; place-items: center; flex: none; }
.gw-ok svg { width: 12px; height: 12px; }
/* modules */
.gfeat { margin-top: clamp(48px, 6vw, 80px); }
.gfeat > h3, .gscr-head h3 { font: 600 var(--t-h3)/1.2 var(--f-disp); letter-spacing: -.01em; }
.gf-grid { list-style: none; margin-top: 22px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.gf-grid > li { border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gfc { position: relative; display: flex; flex-direction: column; gap: 7px; height: 100%; padding: 22px 20px 24px; color: var(--ink); text-decoration: none; transition: background-color .3s; }
.gfc::before { content: ''; position: absolute; inset-inline: -1px; top: -1px; height: 2px; background: var(--fc); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
:root[dir="rtl"] .gfc::before { transform-origin: right; }
.gfc:hover, .gfc:focus-visible { background: var(--bg2); }
.gfc:hover::before, .gfc:focus-visible::before { transform: scaleX(1); }
.gfc-i { width: 38px; height: 38px; margin-bottom: 6px; border-radius: 11px; display: grid; place-items: center; color: var(--fc); background: color-mix(in srgb, var(--fc) 12%, transparent); }
.gfc-i svg { width: 20px; height: 20px; }
.gfc b { font-weight: 600; font-size: 1rem; }
.gfc-t { font-size: .88rem; font-weight: 500; }
.gfc-d { font-size: .84rem; color: var(--ink2); line-height: 1.55; }
/* screens */
.gscr { margin-top: clamp(56px, 7vw, 96px); }
.gscr-head { display: flex; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; }
.gscr-head p { color: var(--ink2); margin-top: 6px; font-size: .92rem; }
.gscr-ctl { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.gscr-ctl button { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--bg2); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: box-shadow .3s, opacity .3s; }
.gscr-ctl button:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.gscr-ctl button:disabled { opacity: .35; cursor: default; }
.gscr-ctl svg { width: 18px; height: 18px; }
:root[dir="rtl"] .gscr-ctl svg { transform: scaleX(-1); }
.gscr-ctl span { min-width: 4.2em; text-align: center; font-size: .86rem; color: var(--ink2); font-variant-numeric: tabular-nums; }
.gscr-track { display: flex; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gpad); padding: 24px var(--gpad) 12px; scrollbar-width: none; overscroll-behavior-x: contain; }
.gscr-track::-webkit-scrollbar { display: none; }
.gscr-track.drag { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.gscr-track:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.gs { flex: none; width: min(900px, 86vw); scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; }
.gs-shot { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--bg2); box-shadow: 0 0 0 1px var(--line), 0 26px 50px -30px var(--shadow); cursor: zoom-in; transition: transform .6s var(--ease), box-shadow .4s; }
.gs-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; -webkit-user-drag: none; }
.gs:not(.on) .gs-shot { transform: scale(.97); }
.gs-shot:hover { box-shadow: 0 0 0 1.5px var(--accent), 0 26px 50px -30px var(--shadow); }
.gs-zoom { position: absolute; bottom: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg2); color: var(--ink); box-shadow: 0 6px 18px -8px var(--shadow); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease); }
.gs-zoom svg { width: 18px; height: 18px; }
.gs-shot:hover .gs-zoom, .gs-shot:focus-visible .gs-zoom { opacity: 1; transform: none; }
.gs figcaption { display: flex; flex-direction: column; gap: 3px; padding-inline: 4px; }
.gs figcaption b { font-weight: 600; }
.gs figcaption span { color: var(--ink2); font-size: .9rem; }
.glb { width: min(1500px, 96vw); }
.glb img { display: block; width: 100%; height: auto; max-height: 92svh; object-fit: contain; background: #F2F6F9; }
@media (max-width: 1100px) {
  .gf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .gf-body { grid-template-columns: minmax(0, 1fr); }
  .gf-d { min-height: 0; }
  .gf-n { font-size: .74rem; }
}
@media (max-width: 560px) {
  .gf { padding: 18px 14px 20px; border-radius: 22px; }
  .gf-node .gf-n { display: none; }
  .gf-node.on .gf-n { display: block; position: absolute; top: 100%; white-space: nowrap; }
  .gf-node { position: relative; }
  .gf-rail { padding-bottom: 22px; }
  .gf-rk { display: none; }
  .gf-rin { padding: 0 5px; }
  .gf-ri { margin-top: 44px; padding: 20px 0 12px; }
  .gf-ri-tag span { display: none; }
  .gf-ric { height: 54px; }
  .gf-node.on .gf-n { background: var(--bg2); padding: 2px 6px; border-radius: 6px; z-index: 2; }
  .gw-f { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .gf-win { grid-template-columns: 34px minmax(0, 1fr); }
  .gw-side svg { width: 18px; height: 18px; }
  .gw-side i { width: 14px; }
  .gf-grid { grid-template-columns: minmax(0, 1fr); }
  .gscr-ctl { margin-inline-start: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .gf-line i, .gw-v span, .gw-res, .gs-shot, .gfc::before { transition: none; }
  .gf-node.on .gf-dot::after, .gf-rin.on .gf-ric i, .gw-btn.press, .gf-win.run .gw-top { animation: none; }
}

/* ---------------- product pages from content records ---------------- */
.cms-kids { margin-top: clamp(28px, 3.4vw, 44px); }
.pp-win .gw-act[hidden], .pp-win .gw-res[hidden] { display: none; }
.cms-split { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; }
.cms-meta { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: .86rem; color: var(--ink2); }
.cms-num { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 7px; border-radius: 8px; background: var(--bg3); color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.cms-tag { color: var(--ink); font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.45; font-weight: 500; }
.cms-desc { margin-top: 14px; color: var(--ink2); line-height: 1.7; max-width: 56ch; }
.cms-hero .btns { margin-top: 26px; }
.cms-solo > div { max-width: 820px; }
.cms-solo .pg-h1 { max-width: none; }
/* summary player */
.pp { position: relative; padding: clamp(18px, 2.2vw, 26px); border-radius: 24px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -50px var(--shadow); }
.pp-rail { --n: 4; position: relative; list-style: none; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin-bottom: 20px; }
.pp-rail::before, .pp-rail::after { content: ''; position: absolute; top: 11px; height: 2px; inset-inline-start: calc(50% / var(--n)); width: calc(100% - 100% / var(--n)); background: var(--line); }
.pp-rail::after { background: linear-gradient(90deg, var(--c2), var(--accent)); transform: scaleX(var(--p, 0)); transform-origin: left center; transition: transform .9s var(--ease); }
:root[dir="rtl"] .pp-rail::after { transform-origin: right center; background: linear-gradient(270deg, var(--c2), var(--accent)); }
.pp-node { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 4px; border: 0; background: none; color: var(--ink2); font: 500 .8rem/1.25 var(--f-body); text-align: center; cursor: pointer; }
.pp-node:hover { color: var(--ink); }
.pp-dot { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bg2); box-shadow: inset 0 0 0 1.5px var(--hl-edge); color: var(--on-accent); transition: background-color .4s, box-shadow .4s; }
.pp-dot svg { width: 12px; height: 12px; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease); }
.pp-node.done .pp-dot { background: var(--c2); box-shadow: none; }
.pp-node.done .pp-dot svg { opacity: 1; transform: none; }
.pp-node.on { color: var(--ink); font-weight: 600; }
.pp-node.on .pp-dot { background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 16%, transparent); }
.pp-node.on:not(.done) .pp-dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--accent); animation: gfPulse 1.8s ease-out infinite; }
.pp-win { min-height: 0; } .pp-win .gw-main { min-height: 372px; }
.pp-win .gw-top { flex-wrap: wrap; }
.pp-k { margin-inline-start: auto; font-size: .76rem; color: var(--ink2); white-space: nowrap; }
.pp-fields { gap: 9px; }
.pp .gw-f { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.pp .gw-f label { font-size: .78rem; }
.pp .gw-v { height: auto; min-height: 36px; padding: 8px 12px; white-space: normal; line-height: 1.35; font-size: .84rem; }
.pp .gw-res { align-items: flex-start; font-weight: 400; line-height: 1.5; font-size: .84rem; }
.pp .gw-res .gw-ok { margin-top: 1px; }
.pp-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 16px; }
.pp-wf { border: 0; background-color: transparent; padding: 0 0 3px; color: var(--accent); font: 600 .86rem var(--f-body); cursor: pointer; }
/* features */
.cms-feats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.cms-feats li { display: flex; flex-direction: column; gap: 8px; padding: clamp(20px, 2.4vw, 30px); border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cms-fk { width: 26px; height: 4px; border-radius: 4px; background: var(--fc); margin-bottom: 8px; }
.cms-feats b { font-weight: 600; font-size: 1.05rem; }
.cms-feats p { color: var(--ink2); line-height: 1.65; font-size: .94rem; }
/* workflow explorer */
/* one workflow: no list, the walkthrough takes the full width */
.wx.wx-one { grid-template-columns: minmax(0, 1fr); }
.wx.wx-one .wx-list { display: none; }
.wx { display: grid; grid-template-columns: minmax(200px, .28fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.wx-list { display: flex; flex-direction: column; gap: 2px; position: sticky; top: calc(var(--hh) + var(--tb) + 20px); }
.wx-tab { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; border: 0; border-radius: 12px; background: transparent; color: var(--ink2); font: 500 .92rem/1.35 var(--f-body); text-align: start; cursor: pointer; transition: background-color .25s, color .25s; }
.wx-tab:hover { background: var(--bg2); color: var(--ink); }
.wx-tab[aria-selected="true"] { background: var(--bg2); color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--accent), inset 0 0 0 1px var(--line); }
:root[dir="rtl"] .wx-tab[aria-selected="true"] { box-shadow: inset -3px 0 0 var(--accent), inset 0 0 0 1px var(--line); }
.wx-tab b { font-weight: inherit; flex: 1; }
.wx-c { flex: none; min-width: 24px; height: 22px; border-radius: 11px; display: grid; place-items: center; font-size: .74rem; color: var(--ink2); background: var(--bg3); font-variant-numeric: tabular-nums; }
.wx-panel { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.wx-head h3 { font: 600 var(--t-h3)/1.25 var(--f-disp); letter-spacing: -.01em; }
.wx-head p { margin-top: 6px; color: var(--ink2); }
.wx-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.wx-step { display: inline-flex; align-items: center; gap: 9px; min-height: 38px; padding: 0 14px 0 6px; border: 0; border-radius: 999px; background: var(--bg2); color: var(--ink2); font: 500 .86rem var(--f-body); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .25s, color .25s; }
.wx-step:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink2); }
.wx-sn { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg3); color: var(--ink2); font-size: .78rem; font-weight: 600; }
.wx-step.done .wx-sn { background: var(--c2); color: #fff; }
.wx-step.on { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--accent); }
.wx-step.on .wx-sn { background: var(--accent); color: var(--on-accent); }
.wx-win { display: grid; grid-template-columns: 52px minmax(0, 1fr); border-radius: 18px; overflow: hidden; background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px var(--shadow); }
.wx-main { min-width: 0; padding: 18px clamp(16px, 2vw, 24px) 20px; display: flex; flex-direction: column; gap: 14px; }
.wx-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.wx-top b { font-weight: 600; }
.wx-demo { margin-inline-start: auto; font-size: .76rem; color: var(--ink2); }
.wx-tbl { border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: var(--bg2); }
.wx-tbl table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.wx-tbl th { text-align: start; font-weight: 500; font-size: .78rem; color: var(--ink2); padding: 10px 14px; background: var(--bg3); }
.wx-tbl td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.wx-tbl td:first-child { color: var(--ink2); width: 42%; }
.wx-tbl tr.spot td { background: color-mix(in srgb, var(--c4) 9%, var(--bg2)); }
.wx-tbl td[dir="ltr"] { text-align: start; }
:root[dir="rtl"] .wx-tbl td[dir="ltr"] { text-align: right; }
.wx-win.run tbody tr { animation: wxRow .5s var(--ease) both; animation-delay: calc(var(--r) * 80ms + 60ms); }
.wx-win.run .wx-top b { animation: gwIn .45s var(--ease); }
@keyframes wxRow { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wx-act { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.wx-go { border: 0; cursor: pointer; }
.wx-go:hover { filter: brightness(1.08); }
.wx-of { font-size: .8rem; color: var(--ink2); }
.wx-out { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--c2) 10%, var(--bg2)); line-height: 1.6; font-size: .95rem; }
.wx-out .gw-ok { margin-top: 2px; }
@media (max-width: 1000px) {
  .cms-split { grid-template-columns: minmax(0, 1fr); }
  .cms-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wx { grid-template-columns: minmax(0, 1fr); }
  .wx-list { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 6px; margin-inline: calc(-1 * clamp(16px, 4vw, 48px)); padding: 2px clamp(16px, 4vw, 48px) 6px; }
  .wx-list::-webkit-scrollbar { display: none; }
  .wx-tab { flex: none; width: auto; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line); }
  .wx-tab[aria-selected="true"], :root[dir="rtl"] .wx-tab[aria-selected="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); }
}
@media (max-width: 560px) {
  .cms-feats { grid-template-columns: minmax(0, 1fr); }
  .pp .gw-f { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .pp-n { font-size: .7rem; }
  .pp-win, .wx-win { grid-template-columns: 30px minmax(0, 1fr); }
  .wx-tbl td:first-child { width: 40%; }
  .wx-demo { margin-inline-start: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pp-rail::after, .pp-dot svg { transition: none; }
  .pp-node.on:not(.done) .pp-dot::after, .wx-win.run tbody tr, .wx-win.run .wx-top b { animation: none; }
}

/* ---------------- product banners (live page elements) ---------------- */
.bnr-host { position: relative; width: 100%; overflow: hidden; container-type: inline-size; }
.bnr-host[data-bleed] { background: var(--bn-bg); }
.bnr-host[data-bleed]::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='41.57' height='24'%3E%3Cpath d='M0%200%20L41.57%2024%20M41.57%200%20L0%2024%20M20.78%200%20V24' fill='none' stroke='%23062A3D' stroke-width='.7'/%3E%3C/svg%3E"); opacity: var(--bn-gridop); pointer-events: none; }
:root[data-ace="dark"] .bnr-host[data-bleed]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='41.57' height='24'%3E%3Cpath d='M0%200%20L41.57%2024%20M41.57%200%20L0%2024%20M20.78%200%20V24' fill='none' stroke='%23FFFFFF' stroke-width='.7'/%3E%3C/svg%3E"); }
.bnr-host[data-bleed] .bnr { overflow: visible; }
.bnr-host[data-bleed] .bnr > .bg, .bnr-host[data-bleed] .bnr > .grid { display: none; }
.bnr { position: absolute; top: 0; left: 0; transform-origin: 0 0; overflow: hidden; color: var(--bn-gt); font-family: 'Readex Pro', 'Alexandria', system-ui, sans-serif; text-align: start; }
.bnr-host {
  --ink: #062A3D; --ink2: #47616F; --line: #E3ECF1; --sk: #E7EFF4;
  /* light theme: the airy look of the original banners */
  --bn-bg:
    radial-gradient(60% 70% at 88% 8%, rgba(67, 190, 210, .30), transparent 62%),
    radial-gradient(55% 70% at 8% 105%, rgba(59, 167, 224, .26), transparent 62%),
    radial-gradient(40% 50% at 62% 112%, rgba(255, 154, 92, .24), transparent 64%),
    radial-gradient(35% 45% at 40% 0%, rgba(52, 201, 138, .18), transparent 62%),
    linear-gradient(160deg, #F4FAFD 0%, #E6F1F7 55%, #D9EAF3 100%);
  --bn-h: #062A3D; --bn-em: linear-gradient(90deg, #0A6496, #138F86 60%, #17A06B);
  --bn-sub: #3E5A69; --bn-gt: #062A3D; --bn-gt2: #2E4A59;
  --bn-gbg: linear-gradient(160deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .6)); --bn-gring: rgba(6, 42, 61, .1);
  --bn-gsk: rgba(6, 42, 61, .12); --bn-gsk2: rgba(6, 42, 61, .06);
  --bn-tagbg: rgba(255, 255, 255, .75); --bn-tagfg: #0A6496; --bn-tagring: rgba(10, 100, 150, .18);
  --bn-grid: #062A3D; --bn-gridop: .06; --bn-sky: #0A6496; --bn-skyk: .7; --bn-seam: #F4FAFD;
  --bn-ic1: #0A6496; --bn-ic2: #0B7A50; --bn-ic3: #C2560F; --bn-dash: #0A6496; --bn-glowk: .55;
  --bn-cshadow: 0 0 0 1px rgba(6, 42, 61, .07), 0 30px 60px -26px rgba(6, 42, 61, .4), 0 0 60px -14px rgba(67, 190, 210, .3);
}
:root[data-ace="dark"] .bnr-host {
  --bn-bg:
    radial-gradient(60% 70% at 88% 8%, rgba(42, 147, 168, .42), transparent 62%),
    radial-gradient(55% 70% at 8% 105%, rgba(10, 100, 150, .55), transparent 62%),
    radial-gradient(40% 50% at 62% 112%, rgba(240, 122, 54, .26), transparent 64%),
    radial-gradient(35% 45% at 40% 0%, rgba(23, 160, 107, .22), transparent 62%),
    linear-gradient(160deg, #08304A 0%, #052033 45%, #04141E 100%);
  --bn-h: #FFFFFF; --bn-em: linear-gradient(90deg, #5CC3F0, #4ED79B 70%, #9BE7C4);
  --bn-sub: rgba(226, 240, 247, .78); --bn-gt: #FFFFFF; --bn-gt2: rgba(234, 244, 249, .86);
  --bn-gbg: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); --bn-gring: rgba(255, 255, 255, .16);
  --bn-gsk: rgba(255, 255, 255, .2); --bn-gsk2: rgba(255, 255, 255, .08);
  --bn-tagbg: rgba(255, 255, 255, .07); --bn-tagfg: #D5E8F1; --bn-tagring: rgba(255, 255, 255, .16);
  --bn-grid: #FFFFFF; --bn-gridop: .07; --bn-sky: #BFE3F2; --bn-skyk: 1; --bn-seam: #04141E;
  --bn-ic1: #7FD0F5; --bn-ic2: #7FE8B8; --bn-ic3: #FFB98C; --bn-dash: #FFFFFF; --bn-glowk: .8;
  --bn-cshadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 30px 60px -18px rgba(0, 0, 0, .55), 0 0 60px -10px rgba(67, 190, 210, .35);
}
.bnr .bg { position: absolute; inset: 0; background: var(--bn-bg); }
.bnr .grid { position: absolute; inset: 0; opacity: var(--bn-gridop); }
.bnr .glow-line { position: absolute; inset: 0; pointer-events: none; }
.bnr .abs { position: absolute; }
.bnr[dir="rtl"] .flipx { transform: scaleX(-1); }
.bnr .bn-logo img { display: block; height: 100%; width: auto; }
.bnr .bn-logo .logo-d { display: none; }
:root[data-ace="dark"] .bnr .bn-logo .logo-l { display: none; }
:root[data-ace="dark"] .bnr .bn-logo .logo-d { display: block; }
.bnr .tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--bn-tagbg); box-shadow: inset 0 0 0 1px var(--bn-tagring); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--bn-tagfg); white-space: nowrap; }
.bnr[dir="rtl"] .tag { letter-spacing: 0; font-size: 15px; padding: 7px 10px 7px 14px; }
.bnr .bars { display: inline-flex; gap: 3px; direction: ltr; }
.bnr .bars i { width: 12px; height: 4px; border-radius: 4px; display: block; }
.bnr .bars i:nth-child(1) { background: #3BA7E0; } .bnr .bars i:nth-child(2) { background: #34C98A; } .bnr .bars i:nth-child(3) { background: #FF9A5C; } .bnr .bars i:nth-child(4) { background: #43BED2; }
.bnr .h { font-weight: 650; line-height: 1.04; letter-spacing: -.025em; color: var(--bn-h); }
.bnr[dir="rtl"] .h { font-family: 'Alexandria', 'Readex Pro', sans-serif; letter-spacing: 0; line-height: 1.3; font-weight: 700; }
.bnr .h em { font-style: normal; background: var(--bn-em); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bnr .sub { color: var(--bn-sub); line-height: 1.5; margin: 0; }
.bnr .card { position: absolute; background: #FFFFFF; color: var(--ink); border-radius: 18px; box-shadow: var(--bn-cshadow); }
.bnr .glass { position: absolute; background: var(--bn-gbg); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--bn-gring), 0 24px 50px -24px rgba(0, 0, 0, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.bnr .ct { font-weight: 600; font-size: 15px; color: var(--ink); }
.bnr .cs { font-size: 12px; color: var(--ink2); }
.bnr .sk { display: block; height: 8px; border-radius: 5px; background: var(--sk); }
.bnr .ic { display: grid; place-items: center; border-radius: 12px; flex: none; }
.bnr .ic svg { width: 55%; height: 55%; }
.bnr svg { overflow: visible; }
.bnr .row { display: flex; align-items: center; gap: 10px; }
.bnr .col { display: flex; flex-direction: column; }
.bnr .mono { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.bnr .btnx { display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; font-weight: 600; color: #fff; }
.bnr .node { position: absolute; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #5CE0B0 0%, #2A93A8 70%); box-shadow: 0 0 0 6px rgba(67, 190, 210, .18), 0 0 30px 6px rgba(67, 190, 210, .5); color: #04141E; }
.bnr .node svg { width: 16px; height: 16px; }
.bnr[dir="rtl"] .node svg { transform: scaleX(-1); }
.bnr .plat { position: absolute; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(92, 195, 240, .5), rgba(92, 195, 240, 0)); filter: blur(2px); }
.bnr .tile { position: absolute; width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--bn-gbg); box-shadow: inset 0 0 0 1px var(--bn-gring), 0 0 30px -4px var(--g); }
.bnr .tile svg { width: 30px; height: 30px; }
.bnr .chev { position: absolute; width: 18px; height: 18px; color: var(--bn-gt2); opacity: .6; }
.bnr[dir="rtl"] .chev { transform: scaleX(-1); }
.bnr .stepper { position: absolute; display: flex; align-items: center; padding: 0 22px; }
.bnr .st { display: flex; align-items: center; gap: 10px; flex: none; }
.bnr .st b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--bn-gsk); color: var(--bn-gt); flex: none; }
.bnr .st.on b { background: linear-gradient(135deg, #3BA7E0, #0A6496); color: #fff; box-shadow: 0 0 0 5px rgba(59, 167, 224, .22), 0 0 22px rgba(59, 167, 224, .7); }
.bnr .st span { font-size: 12px; line-height: 1.25; color: var(--bn-gt2); font-weight: 500; }
.bnr .st-line { flex: 1; height: 2px; margin: 0 12px; background: var(--bn-gsk); min-width: 14px; }
.bnr .cap { position: absolute; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bnr .cap b { padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #3BA7E0, #0A6496); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); white-space: nowrap; }
.bnr .cap span { font-size: 11.5px; line-height: 1.35; color: var(--bn-sub); }
.bnr table { border-collapse: collapse; width: 100%; }
.bnr th { font-size: 11px; font-weight: 500; color: var(--ink2); text-align: start; padding: 8px 12px; background: #F3F8FA; }
.bnr td { font-size: 12.5px; padding: 8px 12px; border-top: 1px solid var(--line); color: var(--ink); }
.bnr td.v { direction: ltr; text-align: end; font-variant-numeric: tabular-nums; }
.bnr[dir="rtl"] td.v { text-align: start; }
.bnr .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-inline-end: 8px; }
.bnr .shbar { display: flex; align-items: center; gap: 6px; }
.bnr .shbar i { flex: 1; height: 6px; border-radius: 6px; background: #E7EFF4; position: relative; overflow: hidden; }
.bnr .shbar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--c); border-radius: 6px; }
.bnr[dir="rtl"] .shbar i::after { inset: 0 0 0 auto; }
.bnr .shbar em { font-style: normal; font-size: 11px; color: var(--ink2); width: 30px; text-align: end; direction: ltr; }
/* motion: data streams along the connectors, nodes breathe, the cube floats, panels arrive */
.bnr-host.live .flow { animation: bnFlow 1.1s linear infinite; }
@keyframes bnFlow { to { stroke-dashoffset: -32; } }
.bnr-host.live .node { animation: bnPulse 2.4s ease-in-out infinite; }
@keyframes bnPulse { 50% { box-shadow: 0 0 0 10px rgba(67, 190, 210, .1), 0 0 40px 10px rgba(67, 190, 210, .55); } }
.bnr-host.live .cube-f { animation: bnFloat 6s ease-in-out infinite; }
@keyframes bnFloat { 50% { transform: translateY(-10px); } }
.bnr-host.enter .anim { animation: bnRise .9s cubic-bezier(.2, .8, .1, 1) both; animation-delay: calc(.15s + var(--i) * 90ms); }
@keyframes bnRise { from { opacity: 0; transform: translateY(26px); } }
@media (prefers-reduced-motion: reduce) { .bnr-host .flow, .bnr-host .node, .bnr-host .cube-f, .bnr-host .anim { animation: none !important; } }

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .h-in, .reveal-late, .stage-frame, .slide.on, .slide.on .bnr-host { transition: none !important; }
}
