/* Flow — company site. Dark by design: the network is the hero.
   Tokens → base → layout → components. Logical properties throughout (ar rtl / en ltr). */

@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex Arabic"; font-weight: 700; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Inter"; font-weight: 300 800; font-display: swap; src: url(fonts/inter.woff2) format("woff2"); }
/* display: Readex Pro — geometric, confident, one face for Arabic and Latin headings */
@font-face { font-family: "Readex"; font-weight: 500; font-display: swap; src: url(fonts/readex-pro-arabic-500-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Readex"; font-weight: 700; font-display: swap; src: url(fonts/readex-pro-arabic-700-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Readex"; font-weight: 500; font-display: swap; src: url(fonts/readex-pro-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Readex"; font-weight: 700; font-display: swap; src: url(fonts/readex-pro-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122; }

:root {
  --ink: #07111f;
  --navy: #0b1b36;
  --navy-2: #0f2446;
  --blue: #1a6aff;
  --blue-soft: #3d8bff;
  --cyan: #0ea5e9;
  --mist: #e6edf7;
  --slate: #8ea0bb;
  --flame: #f59e0b;
  --ok: #10b981;
  --line: rgba(142, 160, 187, .16);
  --line-strong: rgba(142, 160, 187, .28);

  --font: "Plex Arabic", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-latin: "Inter", "Plex Arabic", system-ui, sans-serif;
  --font-display: "Readex", "Plex Arabic", "Inter", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --r-panel: 20px;
  --r-ctl: 12px;
}
:lang(en) { --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ink); color: var(--mist); font: 400 17px/1.8 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:lang(en) body, body:lang(en) { line-height: 1.65; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.num { font-family: var(--font-latin); font-variant-numeric: tabular-nums; unicode-bidi: plaintext; }
/* big figures stay aligned with their labels (isolate, not plaintext: plaintext made them LTR → left-aligned in Arabic) */
[data-stat] { font-family: var(--font-latin); font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, .prod__name, .work__name, .brand__word, .ft__word { font-family: var(--font-display); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: var(--r-ctl); background: var(--blue); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: var(--r-ctl); border: 1px solid transparent; font: 700 15px/1 var(--font); white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 58px; padding: 0 28px; font-size: 16px; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: #0d5cf0; }
.btn--ghost { border-color: var(--line-strong); color: var(--mist); }
.btn--ghost:hover { border-color: var(--slate); }
.btn--flame { background: var(--flame); color: #1c1200; }
.btn--flame:hover { background: #fbb534; }

/* ── Header ── */
.hd { position: sticky; top: 0; z-index: 40; background: rgba(7, 17, 31, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.hd__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 32px; height: 32px; }
.brand__word { font: 700 21px/1 var(--font-display); letter-spacing: -.02em; }
.hd__nav { display: none; gap: 26px; font-size: 15px; color: var(--slate); }
.hd__nav a:hover { color: var(--mist); }
.hd__end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: var(--r-ctl); color: var(--slate); font-size: 14px; font-weight: 500; }
.lang:hover { color: var(--mist); background: rgba(142, 160, 187, .08); }
@media (min-width: 900px) { .hd__nav { display: flex; } }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding-block: 40px 56px; background:
  radial-gradient(1200px 520px at 70% 20%, rgba(26, 106, 255, .16), transparent 60%),
  radial-gradient(800px 480px at 10% 90%, rgba(14, 165, 233, .08), transparent 60%), var(--ink); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: center; }
.hero__h { font-family: var(--font-display); font-size: clamp(32px, 7.6vw, 62px); line-height: 1.3; font-weight: 700; letter-spacing: -.01em; max-width: 17ch; text-wrap: balance; }
:lang(en) .hero__h { letter-spacing: -.025em; line-height: 1.1; max-width: 19ch; }
.hero__lead { margin-top: 20px; font-size: clamp(16px, 2.2vw, 19px); color: var(--slate); max-width: 38ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.net { order: -1; margin-inline: calc(-1 * var(--gutter) / 2); }
.net__svg { width: 100%; height: auto; max-height: 300px; }
.net__towers circle { fill: var(--ink); stroke: var(--slate); stroke-opacity: .6; stroke-width: 1.5; }
.net__routers rect { fill: var(--navy-2); stroke: var(--blue-soft); stroke-width: 1.5; }
.net__ring { fill: none; stroke: var(--blue-soft); stroke-opacity: .35; stroke-width: 1; }
.net__ring--2 { stroke-opacity: .16; stroke-dasharray: 3 7; }
.net__p { fill: #7cc4ff; }
.net__p--halo { fill: #0ea5e9; fill-opacity: .22; }
@media (min-width: 900px) {
  .hero { padding-block: 56px 72px; }
  .hero__in { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 24px; min-height: 560px; }
  .hero__h { font-size: clamp(40px, 4.3vw, 58px); max-width: 16ch; }
  /* the network bleeds past the column toward the page edge */
  .net { order: 0; margin-block: -40px; margin-inline-end: calc(-1 * var(--gutter) - max(0px, (100vw - var(--wrap)) / 2 - 40px)); }
  .net__svg { max-height: 660px; width: 112%; max-width: none; }
}

/* live board */
.live { margin-top: 36px; border: 1px solid var(--line); border-radius: var(--r-panel); background: linear-gradient(180deg, rgba(15, 36, 70, .72), rgba(11, 27, 54, .5)); padding: 18px 20px; }
.live__label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--slate); }
.live__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(16, 185, 129, .18); }
.live__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-top: 14px; }
.live__grid > div { display: flex; flex-direction: column-reverse; gap: 2px; }
.live__grid dd { font-size: clamp(26px, 6vw, 38px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.live__grid dt { font-size: 13px; color: var(--slate); }
.live__updated { margin-top: 14px; font-size: 12px; color: var(--slate); opacity: .8; }
@media (min-width: 720px) { .live { padding: 22px 28px; } }
.live__body { display: grid; gap: 22px; }
@media (min-width: 1000px) { .live__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; } }
.spark { display: grid; gap: 8px; }
.spark__cap { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--slate); }
.spark__peak { font-family: var(--font-latin); font-variant-numeric: tabular-nums; }
.spark__bars { display: flex; align-items: flex-end; gap: 3px; height: 92px; border-bottom: 1px solid var(--line-strong); }
.spark__bars span { flex: 1; min-height: 2px; border-radius: 4px 4px 0 0; background: rgba(61, 139, 255, .5); }
.spark__bars span:last-child { background: var(--cyan); }
.spark__bars span:hover { background: #7cc4ff; }
.spark__axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--slate); }
/* the tech we build on — quiet, one line */
.stack { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 28px; }
.stack__label { font-size: 13px; color: var(--slate); }
.stack__list { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 600 15px/1 var(--font-latin); color: rgba(230, 237, 247, .55); letter-spacing: -.01em; }

/* ── Sections ── */
.sec { padding-block: 72px; border-top: 1px solid var(--line); }
.sec--tight { padding-block: 60px; }
.sec--panel { background: linear-gradient(180deg, var(--navy), var(--ink)); }
.sec__head { max-width: 640px; margin-bottom: 36px; }
.sec__head h2 { font-size: clamp(26px, 4.4vw, 40px); line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
:lang(en) .sec__head h2 { letter-spacing: -.02em; line-height: 1.15; }
.sec__head p { margin-top: 10px; color: var(--slate); font-size: 17px; }
@media (min-width: 900px) { .sec { padding-block: 104px; } .sec--tight { padding-block: 80px; } .sec__head { margin-bottom: 48px; } }

/* services */
.sec__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; max-width: none; }
.sec__head--row > div { max-width: 640px; }
.badge247 { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 99px; border: 1px solid rgba(16, 185, 129, .35); background: rgba(16, 185, 129, .08); font: 700 15px/1 var(--font); color: #6ee7b7; white-space: nowrap; }
.svcs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.svc { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-content: start; padding: 22px; background: var(--ink); transition: background-color .2s; }
.svc svg { grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(26, 106, 255, .12); fill: none; stroke: #7cb4ff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: 17px; color: var(--mist); font-weight: 700; line-height: 1.45; padding-top: 1px; }
.svc p { margin-top: 4px; font-size: 14.5px; color: var(--slate); line-height: 1.7; }
.svc--hot svg { background: rgba(16, 185, 129, .14); stroke: #6ee7b7; }
@media (hover: hover) { .svc:hover { background: var(--navy); } }
.svcg + .svcg { margin-top: 28px; }
.svcg__t { font-size: 15px; font-weight: 700; color: var(--blue-soft); margin-bottom: 12px; }
.svcs__cta { margin-top: 28px; display: flex; justify-content: center; }
@media (min-width: 640px) { .svcs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .svcs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .svc { grid-template-columns: minmax(0, 1fr); padding: 30px 26px 32px; }
  .svc svg { grid-row: auto; margin-bottom: 22px; }
}

/* products */
.prods { display: grid; gap: 20px; }
.prod { display: grid; gap: 26px; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(160deg, var(--navy-2), var(--navy) 55%); position: relative; overflow: hidden; }
.prod::before { content: ""; position: absolute; inset-inline-end: -120px; top: -140px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(26, 106, 255, .22), transparent); pointer-events: none; }
.prod--gas::before { background: radial-gradient(closest-side, rgba(245, 158, 11, .09), transparent); }
.prod__copy { position: relative; }
.prod__live { display: flex; align-items: center; gap: 8px; margin: -8px 0 22px; font-size: 14px; color: var(--slate); }
.prod__live b { color: var(--mist); font-size: 16px; }
/* a soft light that follows the pointer across the panel (hover devices only) */
.prod::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(61, 139, 255, .12), transparent 60%); }
.prod--gas::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(245, 158, 11, .10), transparent 60%); }
@media (hover: hover) { .prod:hover::after { opacity: 1; } }
.prod:hover { border-color: var(--line-strong); }
.prod__tag { font-size: 14px; font-weight: 500; color: var(--blue-soft); }
.prod--gas .prod__tag { color: var(--flame); }
.prod__name { margin-top: 8px; display: flex; align-items: center; gap: 14px; font: 700 clamp(30px, 5vw, 44px)/1.05 var(--font-display); letter-spacing: -.03em; }
.prod__mark { width: 44px; height: 44px; flex: none; }
.prod__line { margin-top: 12px; font-size: 18px; max-width: 30ch; }
.prod__points { margin-block: 20px 26px; display: grid; gap: 10px; color: var(--slate); font-size: 15px; }
.prod__points li { display: flex; gap: 10px; align-items: baseline; }
.prod__points li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 2px; background: var(--blue-soft); transform: translateY(-2px); }
.prod--gas .prod__points li::before { background: var(--flame); }
@media (min-width: 900px) {
  .prod { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 40px; padding: 44px; }
  .prod--gas .prod__copy { order: 2; }
}

/* product mock (illustration, sample data) */
.mock { position: relative; border: 1px solid var(--line-strong); border-radius: 16px; background: #f4f7fb; color: #0f1d33; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #e8eef6; border-bottom: 1px solid #dbe3ee; }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: #c6d1df; }
.mock__bar span { margin-inline-start: 8px; flex: 1; font: 500 11px/24px var(--font-latin); color: #52627a; background: #fff; border-radius: 7px; padding-inline: 10px; direction: ltr; text-align: start; }
.mock__body { padding: 16px; }
.mock__title { font-weight: 700; font-size: 15px; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.mock__kpis div { background: #fff; border: 1px solid #e3e9f1; border-radius: 10px; padding: 8px 10px; }
.mock__kpis span { display: block; font-size: 11px; color: #52627a; }
.mock__kpis b { font: 800 17px/1.3 var(--font-latin); }
.mock__chart { width: 100%; height: 76px; margin-top: 12px; }
.mock__rows { margin-top: 10px; display: grid; gap: 6px; font-size: 12px; }
.mock__rows li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; background: #fff; border: 1px solid #e3e9f1; border-radius: 9px; padding: 7px 10px; }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot--ok { background: var(--ok); }
.mock__bars { display: grid; gap: 10px; margin-top: 12px; padding: 12px; background: #fff; border: 1px solid #e3e9f1; border-radius: 10px; }
.mock__bars div { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 12px; font-weight: 700; }
.mock__bars em { font-style: normal; color: #52627a; }
.mock__bars i { grid-column: 1 / -1; height: 6px; border-radius: 9px; background: linear-gradient(to var(--bar-dir, left), var(--c) var(--w), color-mix(in srgb, var(--c) 16%, #fff) var(--w)); }
:lang(en) .mock__bars i { --bar-dir: right; }
.mock__rows--gas li { grid-template-columns: auto 1fr auto; font-weight: 700; }
.mock__n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #eef2f7; font-size: 11px; color: #52627a; }
.chip { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.chip--ok { background: #d9f5ea; color: #047857; }
.chip--pick { background: #dbeefe; color: #0369a1; }

/* client work: a browser frame with the phone overlapping its corner */
.work { display: grid; gap: 32px; align-items: center; }
.work__shots { position: relative; padding-bottom: 28px; padding-inline-end: 14%; }
.work__desk { border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.work__desk img { width: 100%; height: auto; aspect-ratio: 1440 / 900; object-fit: cover; }
.work__phone { position: absolute; inset-inline-end: 0; bottom: 0; width: 26%; height: auto; aspect-ratio: 390 / 780; object-fit: cover; object-position: top; border-radius: 22px; border: 6px solid #111a2b; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.work__live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--slate); }
.work__name { margin-top: 10px; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.35; font-weight: 700; }
.work__line { margin-top: 12px; color: var(--slate); max-width: 42ch; }
.work__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 20px 26px; }
.work__tags li { font-size: 13px; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--mist); }
@media (min-width: 900px) { .work { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; } }

/* network chain: a real sequence, numbered */
.chain { display: grid; gap: 0; counter-reset: none; }
.chain li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-content: start; padding-bottom: 28px; }
.chain li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 21px; top: 46px; bottom: 6px; width: 2px; background: linear-gradient(var(--blue), rgba(14, 165, 233, .15)); }
.chain__n { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--blue-soft); color: var(--mist); font-weight: 700; font-size: 16px; background: var(--ink); }
.chain h3 { font-size: 19px; font-weight: 700; padding-top: 7px; }
.chain p { margin-top: 4px; color: var(--slate); font-size: 15.5px; line-height: 1.75; }
@media (min-width: 1000px) {
  .chain { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
  .chain li { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }
  .chain li:not(:last-child)::after { inset-inline-start: 56px; inset-inline-end: -12px; top: 21px; bottom: auto; width: auto; height: 2px; background: linear-gradient(to var(--chain-dir, left), var(--blue), rgba(14, 165, 233, .15)); }
  :lang(en) .chain li:not(:last-child)::after { --chain-dir: right; }
  .chain__n { grid-row: auto; margin-bottom: 14px; }
  .chain h3 { padding-top: 0; }
}

/* numbers */
.figs { display: grid; gap: 28px; }
.figs__group h3 { font: 700 15px/1 var(--font-latin); color: var(--blue-soft); margin-bottom: 14px; letter-spacing: -.01em; }
.figs__group--gas h3 { color: var(--flame); }
.figs dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; }
.fig { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--ink); }
.fig dd { font-size: clamp(28px, 6vw, 44px); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.fig dt { font-size: 14px; color: var(--slate); line-height: 1.5; }
.fig dt small { display: block; font-size: 12px; opacity: .8; }
.fig--lead, .figs__group--gas .fig:first-child { grid-column: 1 / -1; }
.fig--lead dd { font-size: clamp(40px, 10vw, 72px); background: linear-gradient(90deg, #fff, #9fd4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.figs__updated { margin-top: 18px; font-size: 13px; color: var(--slate); }
@media (min-width: 900px) {
  .figs { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .fig { padding: 26px; }
  .figs__group--gas dl { grid-template-columns: minmax(0, 1fr); }
}

/* operations */
.ops { margin-top: 28px; }
.ops h3 { font: 700 15px/1 var(--font-latin); color: var(--ok); margin-bottom: 14px; }
:lang(ar) .ops h3 { font-family: var(--font); }
.ops__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; }
.ops__list li { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--ink); }
.ops__list b { font: 700 clamp(20px, 3.4vw, 28px)/1.15 var(--font-display); }
.ops__list b[data-stat] { font-family: var(--font-latin); font-size: clamp(28px, 5vw, 40px); letter-spacing: -.03em; }
.ops__list span { font-size: 14px; color: var(--slate); line-height: 1.5; }
.ops__list small { display: block; margin-top: 4px; font-size: 12px; color: var(--ok); }
@media (min-width: 900px) { .ops__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ops__list li { padding: 26px; } }

/* how we work: four steps, big light numerals */
.steps { display: grid; gap: 14px; }
.steps li { position: relative; padding: 24px; border-top: 1px solid var(--line-strong); }
.steps__n { display: block; font: 300 56px/1 var(--font-latin); color: transparent; -webkit-text-stroke: 1px rgba(142, 160, 187, .55); margin-bottom: 18px; }
.steps h3 { font-size: 20px; font-weight: 700; }
.steps p { margin-top: 8px; font-size: 15.5px; color: var(--slate); line-height: 1.75; }
.steps li:hover .steps__n { -webkit-text-stroke-color: var(--blue-soft); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; } .steps li { padding: 28px 0 0; } }

/* team: card = who + how long + top certifications; the full record opens in a dialog */
.team { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.person { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-panel); background: linear-gradient(180deg, rgba(15, 36, 70, .6), rgba(11, 27, 54, .3)); }
.person__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.person__avatar { width: 72px; height: 72px; flex: none; border-radius: 22px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(140deg, var(--blue), var(--cyan)); }
.person__avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar__initials { font: 700 26px/1 var(--font-display); color: #fff; }
.person__years { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 12px; line-height: 1.2; color: var(--slate); text-align: end; }
.pf .person__years { flex-direction: row; align-items: baseline; gap: 6px; text-align: start; }
.person__years b { font-size: 26px; font-weight: 700; color: var(--mist); letter-spacing: -.02em; }
.person__name { margin-top: 18px; font: 700 19px/1.4 var(--font-display); }
.person__role { margin-top: 2px; font-size: 14px; color: var(--slate); line-height: 1.5; }
.person__certs { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 16px 18px; }
.person__certs li { font: 600 12px/1 var(--font-latin); padding: 7px 10px; border-radius: 8px; background: rgba(61, 139, 255, .12); color: #a9ccff; }
.person__certs li.more { background: transparent; border: 1px solid var(--line-strong); color: var(--slate); font-family: var(--font); }
.person__open { margin-top: auto; align-self: flex-start; min-height: 40px; padding: 0 16px; border-radius: var(--r-ctl); border: 1px solid var(--line-strong); background: transparent; color: var(--mist); font: 700 14px/1 var(--font); cursor: pointer; }
.person__open:hover { border-color: var(--blue-soft); color: #fff; }
/* phones: one swipeable row instead of eight stacked cards */
@media (max-width: 639px) {
  .team { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 10px; scrollbar-width: thin; }
  .person { scroll-snap-align: start; }
}
@media (min-width: 640px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .team { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }

/* profile dialog */
.pf { width: min(640px, calc(100vw - 24px)); max-height: min(86vh, 900px); padding: 0; border: 1px solid var(--line-strong); border-radius: 24px; background: var(--navy); color: var(--mist); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8); }
.pf::backdrop { background: rgba(4, 10, 20, .72); backdrop-filter: blur(4px); }
.pf__in { padding: 26px; overflow-y: auto; max-height: inherit; }
.pf__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.pf__avatar { width: 84px; height: 84px; border-radius: 24px; }
.pf__name { font-size: 24px; line-height: 1.3; }
.pf__role { color: var(--slate); font-size: 15px; margin-bottom: 6px; }
.pf__close { align-self: start; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; color: var(--mist); cursor: pointer; }
.pf__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pf__bio { margin-top: 20px; font-size: 16px; line-height: 1.85; }
.pf__sec { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.pf__sec h3 { font-size: 13px; font-weight: 700; color: var(--blue-soft); margin-bottom: 14px; }
.pf__tl { display: grid; gap: 16px; }
.pf__tl li { position: relative; display: grid; gap: 2px; padding-inline-start: 22px; }
.pf__tl li::before { content: ""; position: absolute; inset-inline-start: 3px; top: 7px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--blue-soft); background: var(--navy); }
.pf__tl li:first-child::before { background: var(--blue-soft); }
.pf__tl li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 7px; top: 20px; bottom: -14px; width: 1px; background: var(--line-strong); }
.pf__when { font: 500 12px/1.4 var(--font-latin); color: var(--slate); }
:lang(ar) .pf__when { font-family: var(--font); }
.pf__tl b { font-size: 16px; }
.pf__tl span:last-child { font-size: 14px; color: var(--slate); }
.pf__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf__chips li { font-size: 13px; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line-strong); }
.pf__chips--cert li { font-family: var(--font-latin); font-weight: 600; border-color: rgba(61, 139, 255, .35); background: rgba(61, 139, 255, .1); color: #bcd6ff; }
@media (max-width: 520px) { .pf__head { grid-template-columns: auto minmax(0, 1fr); } .pf__close { grid-column: 2; grid-row: 1; justify-self: end; } .pf__head > div:nth-child(2) { grid-column: 1 / -1; } }

/* footer: columns, then the wordmark as the last typographic moment */
.ft { border-top: 1px solid var(--line); padding-top: 56px; overflow: hidden; }
.ft__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.ft__about { grid-column: 1 / -1; }
.ft__about p { margin-top: 14px; color: var(--slate); font-size: 15px; max-width: 34ch; }
.ft__cols h2 { font: 700 13px/1 var(--font); color: var(--mist); margin-bottom: 14px; }
.ft__cols nav, .ft__cols > div:not(.ft__about) { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.ft__cols a:not(.brand) { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; font-size: 15px; color: var(--slate); }
.ft__cols a:not(.brand):hover { color: var(--mist); }
.ft__word { margin-top: 40px; font: 700 clamp(96px, 28vw, 360px)/.8 var(--font-display); letter-spacing: -.06em; text-align: center;
  background: linear-gradient(180deg, rgba(230, 237, 247, .16), rgba(230, 237, 247, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.ft__legal { padding-block: 18px 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--slate); }
@media (min-width: 900px) { .ft__cols { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); } .ft__about { grid-column: auto; } }

.ft__cols .num { white-space: nowrap; }

.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* header: section you are in, reading progress, phone menu */
.hd__nav a[aria-current="true"] { color: var(--mist); }
.hd__nav a { position: relative; }
.hd__nav a[aria-current="true"]::after { content: ""; position: absolute; inset-inline: 0; bottom: -23px; height: 2px; border-radius: 2px; background: var(--blue-soft); }
.hd__progress { position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: linear-gradient(to var(--prog-dir, left), var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: var(--prog-origin, right); display: none; }
:lang(en) .hd__progress { --prog-dir: right; --prog-origin: left; }
@supports (animation-timeline: scroll()) {
  .hd__progress { display: block; animation: prog linear both; animation-timeline: scroll(root); }
  @keyframes prog { to { transform: scaleX(1); } }
}
@media (prefers-reduced-motion: reduce) { .hd__progress { display: none; } }
.hd__menu { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-ctl); border: 1px solid var(--line-strong); background: transparent; color: var(--mist); cursor: pointer; }
.hd__menu svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (min-width: 900px) { .hd__menu { display: none; } }
@media (max-width: 420px) { .hd__end .lang { display: none; } .hd__end { gap: 8px; } }

.menu { width: 100%; max-width: 100%; height: auto; max-height: 100dvh; margin: 0 0 auto; padding: 0; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0 0 24px 24px; background: var(--navy); color: var(--mist); }
.menu::backdrop { background: rgba(4, 10, 20, .72); backdrop-filter: blur(4px); }
.menu__in { padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 22px; }
.menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 40px; }
.menu__nav { display: grid; margin-top: 14px; }
.menu__nav a { display: flex; align-items: center; min-height: 54px; font: 700 20px/1.3 var(--font-display); border-bottom: 1px solid var(--line); }
.menu__end { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.menu__end .btn { flex: 1; }
@media (prefers-reduced-motion: no-preference) {
  .menu[open] { animation: sheet .22s ease-out; }
  @keyframes sheet { from { transform: translateY(-16px); opacity: 0; } }
}

/* hero: the live count sits on the network itself; the core pulses as traffic arrives */
.net__pulse { fill: none; stroke: #7cc4ff; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.net__pulse.is-on { animation: pulse 1.4s ease-out; }
@keyframes pulse { from { opacity: .55; transform: scale(1); } to { opacity: 0; transform: scale(2.3); } }
.net__tag { display: none; }
.net__tag rect { fill: rgba(11, 27, 54, .85); stroke: var(--line-strong); stroke-width: 1.5; }
.net__tag-dot { fill: var(--ok); }
.net__tag-n { fill: #fff; font: 700 52px/1 var(--font-latin); letter-spacing: -.02em; }
.net__tag-l { fill: var(--slate); font: 500 22px/1 var(--font); }
@media (min-width: 900px) {
  .net__tag { display: inline; }
  /* in English the core sits at the page edge, so the drawing stays inside the column and the tag is not clipped */
  :lang(en) .net { margin-inline-end: 0; }
  :lang(en) .net__svg { width: 100%; }
  .hero { padding-block: 32px 64px; }
  .hero__in { min-height: 500px; }
  .hero__h { font-size: clamp(40px, 4vw, 54px); max-width: 18ch; }
  .live { margin-top: 20px; }
}

/* services: every card leads to the request form with that need picked */
.svc__ask { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--blue-soft); grid-column: 2; justify-self: start; }
.svc__ask::after { content: ""; position: absolute; inset: 0; }
.svc:has(.svc__ask:focus-visible) { outline: 2px solid var(--cyan); outline-offset: -2px; }
.svc__ask:focus-visible { outline: none; }
@media (min-width: 1100px) { .svc__ask { grid-column: auto; } }
@media (hover: hover) and (min-width: 1100px) {
  .svc__ask { opacity: 0; transform: translateY(4px); transition: opacity .18s, transform .18s; }
  .svc:hover .svc__ask, .svc:has(.svc__ask:focus-visible) .svc__ask { opacity: 1; transform: none; }
}
.prod__cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* the Flow family: two lit, six waiting */
.fam { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fam > li, .fam a { display: grid; align-content: start; gap: 4px; }
.fam > li { padding: 18px; border: 1px dashed var(--line-strong); border-radius: 16px; background: rgba(11, 27, 54, .35); }
.fam > li > svg { width: 26px; height: 26px; fill: none; stroke: var(--slate); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.fam b { font: 700 17px/1.2 var(--font-latin); letter-spacing: -.01em; }
.fam span { font-size: 14px; color: var(--slate); line-height: 1.5; }
.fam em { justify-self: start; margin-top: 8px; font-style: normal; font-size: 12px; font-weight: 500; color: var(--slate); border: 1px solid var(--line-strong); border-radius: 99px; padding: 2px 10px; }
.fam > li:not(.fam__on) b { color: rgba(230, 237, 247, .72); }
.fam__on { position: relative; border-style: solid !important; border-color: rgba(61, 139, 255, .45) !important; background: linear-gradient(160deg, rgba(26, 106, 255, .18), rgba(11, 27, 54, .6)) !important; }
.fam__on--gas { border-color: rgba(245, 158, 11, .4) !important; background: linear-gradient(160deg, rgba(245, 158, 11, .12), rgba(11, 27, 54, .6)) !important; }
.fam__on a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.fam__on:hover { border-color: var(--blue-soft) !important; }
.fam__on--gas:hover { border-color: var(--flame) !important; }
.fam__mark { width: 30px; height: 30px; margin-bottom: 6px; }
.fam .fam__live { display: inline-flex; align-items: center; gap: 7px; border-color: rgba(16, 185, 129, .4); color: #6ee7b7; }
.fam__live .live__dot { width: 6px; height: 6px; box-shadow: 0 0 0 3px rgba(16, 185, 129, .18); }
@media (min-width: 900px) { .fam { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .fam > li { padding: 22px; } }

/* closing: the request form */
.cta-end { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-block: 80px; background:
  radial-gradient(900px 420px at 50% 115%, rgba(26, 106, 255, .26), transparent 70%), var(--ink); }
.contact { display: grid; gap: 36px; }
.contact__copy h2 { font-size: clamp(30px, 5.4vw, 52px); line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
:lang(en) .contact__copy h2 { letter-spacing: -.03em; line-height: 1.1; }
.contact__copy > p { margin-top: 14px; color: var(--slate); max-width: 44ch; }
.contact__facts { display: grid; gap: 16px; margin-top: 28px; }
.contact__facts li { display: grid; gap: 2px; padding-inline-start: 16px; border-inline-start: 2px solid var(--blue); }
.contact__facts b { font-size: 16px; }
.contact__facts span { font-size: 14.5px; color: var(--slate); line-height: 1.6; }
.contact__direct { margin-top: 26px; font-size: 15px; color: var(--slate); }
.contact__direct a { color: var(--mist); font-weight: 600; border-bottom: 1px solid var(--line-strong); }
.contact__direct a:hover { border-color: var(--mist); }
.ask { display: grid; gap: 18px; padding: 22px; border: 1px solid var(--line-strong); border-radius: 24px; background: linear-gradient(180deg, rgba(15, 36, 70, .8), rgba(11, 27, 54, .7)); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8); }
.ask__needs { margin: 0; padding: 0; border: 0; min-width: 0; }
.ask__needs legend { padding: 0; font: 700 18px/1.4 var(--font-display); margin-bottom: 12px; }
.ask__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.need { position: relative; cursor: pointer; }
.need input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.need span { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-strong); font-size: 14px; color: var(--mist); transition: background-color .15s, border-color .15s; }
.need span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--slate); flex: none; }
.need input:checked + span { background: rgba(26, 106, 255, .2); border-color: var(--blue-soft); }
.need input:checked + span::before { border-color: var(--blue-soft); background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2 6 9.6l4.6-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.need input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
@media (hover: hover) { .need:hover span { border-color: var(--slate); } }
.ask__row { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 500; }
.field small { font-size: 12px; color: var(--slate); font-weight: 400; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-ctl); border: 1px solid var(--line-strong); background: rgba(7, 17, 31, .7); color: var(--mist); font: 400 16px/1.5 var(--font); resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-soft); box-shadow: 0 0 0 3px rgba(61, 139, 255, .25); }
.field textarea::placeholder { color: rgba(142, 160, 187, .7); }
.ask__send { width: 100%; }
.ask__note { font-size: 13px; color: var(--slate); text-align: center; }
@media (min-width: 640px) { .ask { padding: 30px; } .ask__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cta-end { padding-block: 120px; } .contact { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; } }
.ask.is-flash { animation: flash .9s ease-out; }
@keyframes flash { from { box-shadow: 0 0 0 3px var(--blue-soft), 0 40px 90px -40px rgba(0, 0, 0, .8); } }

/* FlowClinic — third product: a real screenshot instead of a drawn mock */
.mock--shot { padding: 0; overflow: hidden; }
.mock--shot img { display: block; width: 100%; height: auto; }
.prod--clinic .prod__tag { color: #10b981; }
.prod--clinic .prod__points li::before { background: #10b981; }
.fam__on--clinic { border-color: rgba(16, 185, 129, .4) !important; background: linear-gradient(160deg, rgba(16, 185, 129, .12), rgba(11, 27, 54, .6)) !important; }
.fam__on--clinic:hover { border-color: #10b981 !important; }
