/* Zayrin v3: light, calm and human. Figtree (English) / IBM Plex Sans Arabic (Arabic).
   Logical properties throughout so the Arabic tree (dir=rtl) mirrors without extra rules. */
:root {
  --bg: #F4F4F5; --surface: #FFFFFF; --line: #E4E4E7; --line-2: #D4D4D8;
  --ink: #0A0A0B; --text: #131313; --body: #3F3F46; --muted: #6B6B76; --faint: #A1A1AA;
  --accent: #7466CC; --accent-2: #C4BBF3; --accent-ink: #56479E; --accent-soft: #EEEBFB;
  --lav: #9C8FE0; --lav-dk: #C4BBF3; --acc-rgb: 116,102,204;   /* lavender mist: logo stroke, on-dark accent */
  --dark: #0A0A0B; --dark-2: #161618; --dark-3: #1C1C1F; --dark-line: rgba(255,255,255,.1); --dark-muted: #A1A1AA;
  --r: 16px; --r-sm: 12px; --pill: 999px;
  --wrap: 1200px; --pad: clamp(20px, 4vw, 48px); --edge: 12px; --hdr-h: 76px;
  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-1: 0 1px 2px rgba(10,10,11,.04), 0 6px 20px rgba(10,10,11,.05);
  --shadow-2: 0 2px 6px rgba(10,10,11,.05), 0 24px 60px rgba(70,60,130,.12);
  --ease: cubic-bezier(.2,.7,.2,1);
}
[lang="ar"] { --font: "IBM Plex Sans Arabic", "Figtree", ui-sans-serif, system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--pill); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.ic { width: 1.15em; height: 1.15em; flex: none; }
[dir="rtl"] .ic-dir { transform: scaleX(-1); }
.spark { width: 12px; height: 12px; flex: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ---------------------------------------------------------------- type */
h1 { font-size: clamp(42px, 6.2vw, 84px); line-height: 1.02; letter-spacing: -.045em; font-weight: 500; color: var(--ink); }
h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -.035em; font-weight: 500; color: var(--ink); }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.015em; font-weight: 600; color: var(--ink); }
[lang="ar"] :is(h1, h2, h3) { letter-spacing: 0; }
[lang="ar"] h1 { line-height: 1.22; }
[lang="ar"] h2 { line-height: 1.28; }
.lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: var(--body); }
.muted { color: var(--muted); }
.acc { color: var(--accent); }
.grad-text { background: linear-gradient(90deg, var(--accent-ink), var(--accent) 55%, var(--lav)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------------------------------------------------------- tags, buttons */
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--pill); background: #E7E7EA; color: var(--ink); font-size: 13px; font-weight: 500; line-height: 1.3; }
.tag-dark { background: #26262A; color: #fff; }
.tag-sample { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: var(--pill); font-size: 15px; font-weight: 500; line-height: 1.2; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.btn-ink:hover { background: #2A2A30; }
.btn-line { border: 1px solid var(--accent); color: var(--accent-ink); }
.btn-line:hover { background: var(--accent-soft); }
.btn-ghost { border: 1px solid rgba(10,10,11,.85); color: var(--ink); }
.btn-ghost:hover { background: rgba(10,10,11,.05); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #ECECEF; }
.btn-line-dark { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn-line-dark:hover { background: rgba(255,255,255,.08); }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); font-weight: 500; font-size: 15px; }
.link-arrow .ic { transition: translate .2s; }
.link-arrow:hover .ic { translate: 3px 0; }
[dir="rtl"] .link-arrow:hover .ic { translate: -3px 0; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: border-color .2s, opacity .2s; }
.icon-btn:hover:not(:disabled) { border-color: var(--ink); }
.icon-btn:disabled { opacity: .4; cursor: default; }

/* ---------------------------------------------------------------- header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; padding: calc(var(--edge) + 8px) calc(var(--edge) + 10px) 0; pointer-events: none; transition: padding .3s var(--ease), translate .55s var(--ease); }
.hdr.away { translate: 0 calc(-100% - 16px); }
.hdr-in { pointer-events: auto; display: flex; align-items: center; gap: 16px; max-width: calc(var(--wrap) + 72px); margin-inline: auto; height: 60px; padding-inline: clamp(12px, 3.4vw, 46px); border-radius: var(--pill); border: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s, max-width .4s var(--ease), padding .3s; }
.hdr.scrolled { padding-top: 10px; }
.hdr.scrolled .hdr-in { max-width: 1140px; padding-inline: 14px 10px; background: rgba(255,255,255,.8); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); border-color: rgba(10,10,11,.07); box-shadow: 0 10px 34px rgba(20,20,40,.09); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: 18px; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: var(--pill); font-size: 15px; color: var(--ink); transition: background .2s; }
.nav-link:hover, .has-menu.open > .nav-link { background: rgba(10,10,11,.06); }
.ic-chev { width: 14px; height: 14px; transition: transform .2s; }
.has-menu.open .ic-chev { transform: rotate(180deg); }
.hdr-cta { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.lang-sw { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 7px 15px; border-radius: var(--pill); border: 1px solid rgba(10,10,11,.85); color: var(--ink); font-size: 14px; font-weight: 500; transition: background .2s; }
.lang-sw:hover { background: rgba(10,10,11,.05); }
.lang-sw .ic { width: 16px; height: 16px; }
[lang="en"] .lang-sw span, .mnav-lang span { font-family: "IBM Plex Sans Arabic", var(--font); }
[lang="ar"] .lang-sw span { font-family: "Figtree", var(--font); }

.mega { position: absolute; top: calc(100% + 14px); inset-inline-start: -16px; width: min(900px, calc(100vw - 48px)); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-2); padding: 20px; opacity: 0; visibility: hidden; translate: 0 6px; transition: opacity .18s, translate .18s, visibility 0s .18s; }
.mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.has-menu.open .mega { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .18s, translate .18s; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mega-h { display: flex; align-items: center; gap: 8px; padding: 0 8px; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
[lang="ar"] .mega-h { text-transform: none; letter-spacing: 0; font-size: 13px; }
.mega-link { display: flex; gap: 10px; padding: 8px; border-radius: 12px; transition: background .15s; }
.mega-link:hover { background: var(--bg); }
.mega-ic { width: 32px; height: 32px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.mega-ic .ic { width: 17px; height: 17px; }
.mega-link b { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.mega-link small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.mega-sm { width: min(540px, calc(100vw - 48px)); }
.mega-ind { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-ind .mega-link { align-items: center; }
/* compact band under the main columns (education): short names, 4 across */
.mega-band { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.mega-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 16px; }
.mega-mini .mega-link { align-items: center; padding: 6px 8px; }
.mega-mini .mega-ic { width: 28px; height: 28px; border-radius: 9px; }
.mega-mini .mega-ic .ic { width: 15px; height: 15px; }
.mega-mini b { font-size: 14px; font-weight: 500; }
/* keep the services menu inside the window: two-line descriptions, none on shorter screens */
.mega-link small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
@media (max-height: 940px) { .mega-grid .mega-link small { display: none; } .mega-grid .mega-link { align-items: center; } }
.mega-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px; padding: 14px 8px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

.burger { display: none; position: relative; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); flex: none; }
.burger span { position: absolute; inset-inline: 13px; height: 1.75px; border-radius: 2px; background: #fff; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 24px; }

.mnav-bd { position: fixed; inset: 0; z-index: 80; background: rgba(10,10,11,.38); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
.mnav-bd.open { opacity: 1; visibility: visible; transition: opacity .25s; }
.mnav { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; z-index: 90; width: min(390px, 88vw); background: #fff; display: flex; flex-direction: column; translate: 100% 0; visibility: hidden; transition: translate .32s var(--ease), visibility 0s .32s; }
[dir="rtl"] .mnav { translate: -100% 0; }
.mnav.open { translate: 0 0; visibility: visible; transition: translate .32s var(--ease); }
.mnav-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.mnav-x { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); }
.mnav-body { flex: 1; overflow-y: auto; padding: 6px 14px; overscroll-behavior: contain; }
.mnav details { border-bottom: 1px solid var(--line); }
.mnav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 15px 6px; font-size: 17px; font-weight: 500; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary .ic { transition: transform .2s; }
.mnav details[open] summary .ic { transform: rotate(180deg); }
.mnav details[open] { padding-bottom: 8px; }
.mnav details a { display: flex; align-items: center; gap: 10px; padding: 10px 6px; font-size: 15px; color: var(--body); border-radius: 10px; }
.mnav details a .ic { color: var(--accent); }
.mnav-h { padding: 12px 6px 2px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
[lang="ar"] .mnav-h { text-transform: none; letter-spacing: 0; font-size: 13px; }
.mnav-top { display: flex; align-items: center; gap: 8px; padding: 15px 6px; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mnav-foot { padding: 16px 18px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- sections */
main { display: block; }
.sec { padding-block: clamp(64px, 8vw, 108px); }
.ruled > .wrap:first-child::before, .rule { content: ""; display: block; grid-column: 1 / -1; border-top: 1px solid var(--line-2); margin-bottom: 28px; }
.sec-head { max-width: 760px; }
.sec-head .tag { margin-bottom: 26px; }
.sec-head h2 + .sec-sub { margin-top: 18px; }
.sec-sub { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 620px; }
.sec-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.sec-row > .btn, .sec-row > .rail-nav { flex: none; }
.center { text-align: center; margin-inline: auto; }
.center .sec-sub { margin-inline: auto; }
.js .reveal { opacity: 0; translate: 0 18px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* ---------------------------------------------------------------- media helpers */
.mframe { position: relative; overflow: hidden; border-radius: var(--r); background: #E4E4E7; isolation: isolate; }
.mframe > img, .mframe > video { width: 100%; height: 100%; object-fit: cover; }
.img-missing { display: block; width: 100%; height: 100%; min-height: 120px; background: linear-gradient(135deg, #E4E4E7, #D4D4D8); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: var(--edge) var(--edge) 0; }
.hero-card { position: relative; display: flex; overflow: hidden; border-radius: var(--r); background: #D9D8DC; height: min(94vh, 880px); min-height: 640px; isolation: isolate; }
[lang="ar"] .hero-card { background: #CDD2D4; }
.hero-vid { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
[dir="rtl"] .hero-vid { object-position: 100% 50%; }
/* soft light rises from the bottom edge (headline + base row) and a little from the reading side */
.hero-haze { position: absolute; inset: 0; z-index: -1; --hz: 236,236,240; background: linear-gradient(0deg, rgba(var(--hz),.94) 0%, rgba(var(--hz),.62) 24%, rgba(var(--hz),0) 50%), linear-gradient(90deg, rgba(var(--hz),.5) 0%, rgba(var(--hz),0) 46%); }
[dir="rtl"] .hero-haze { --hz: 228,232,234; background: linear-gradient(0deg, rgba(var(--hz),.94) 0%, rgba(var(--hz),.62) 24%, rgba(var(--hz),0) 50%), linear-gradient(270deg, rgba(var(--hz),.5) 0%, rgba(var(--hz),0) 46%); }
/* editorial layout: one big headline anchored low, then a ruled base row (text | email box) */
.hero-copy { position: relative; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; padding: calc(var(--hdr-h) + 24px) clamp(24px, 3.9vw, 56px) clamp(26px, 3vw, 44px); }
.hero h1 { font-size: clamp(56px, 7.6vw, 118px); line-height: .9; letter-spacing: -.058em; }
.hero h1 span { display: block; }
[lang="ar"] .hero h1 { font-size: clamp(44px, 5vw, 78px); line-height: 1.16; letter-spacing: 0; }
.hero-base { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); align-items: end; gap: 24px 56px; margin-top: clamp(28px, 3.2vw, 46px); padding-top: 26px; border-top: 1px solid rgba(10,10,11,.16); }
.hero .lead { max-width: 39ch; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5; color: #2C2C33; }
.hero .capture-form { justify-self: end; }
.capture-form { width: 100%; max-width: 520px; }
.capture { display: flex; align-items: center; gap: 8px; padding: 6px; padding-inline-start: 24px; border-radius: var(--pill); background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.75); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 12px 40px rgba(30,30,60,.08); transition: border-color .2s; }
.capture input { flex: 1; width: 0; min-width: 0; border: 0; background: transparent; font-size: 16px; color: var(--ink); outline: 0; padding: 10px 0; }
.capture input::placeholder { color: #55555F; }
.capture .btn { flex: none; min-height: 46px; padding-inline: 22px; }
.capture-form.err .capture { border-color: #E5484D; }
.cap-err { display: none; margin: 8px 18px 0; font-size: 13.5px; font-weight: 500; color: #B42318; }
.capture-form.err .cap-err { display: block; }
/* the bubble floats just above the base rule, lined up with the email box */
.bubble { position: absolute; z-index: 2; inset-inline-end: 0; bottom: calc(100% + 30px); display: flex; align-items: center; gap: 12px; max-width: 350px; padding: 14px 20px 14px 14px; border-radius: 20px; background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 14px 44px rgba(30,25,90,.18); font-size: 15.5px; line-height: 1.35; color: #18181B; transition: opacity .45s var(--ease), translate .45s var(--ease); }
[dir="rtl"] .bubble { padding: 14px 14px 14px 20px; }
.bubble.out { opacity: 0; translate: 0 8px; }
.bubble-dot { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--lav)); color: #fff; }
.bubble-dot .spark { width: 16px; height: 16px; }
.bubble b { display: block; font-weight: 600; }
.bubble small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.hero-down { position: absolute; z-index: 3; left: 50%; bottom: -22px; translate: -50% 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); border: 4px solid var(--bg); color: var(--ink); transition: background .2s; }
.hero-down:hover { background: #fff; }
.hero-down .ic { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- tools */
.tools { padding-block: clamp(80px, 9vw, 112px) clamp(56px, 7vw, 88px); }
.tools-h { text-align: center; font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 40px; }
.tools-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1100px; margin-inline: auto; }
.tools-grid li { display: inline-flex; align-items: center; gap: 10px; padding-block: 9px; padding-inline: 12px 18px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface); font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; color: var(--ink); white-space: nowrap; }
.tl-logo { height: 24px; width: auto; max-width: 56px; flex: none; }
[lang="ar"] .tools-grid li { font-family: "Figtree", var(--font); }

/* ---------------------------------------------------------------- sample results (tabs) */
.res-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin: 52px 0 44px; }
.res-tab { position: relative; padding-top: 16px; border-top: 2px solid var(--line-2); text-align: start; font-size: 16px; font-weight: 600; color: var(--faint); transition: color .2s; }
.res-tab::before { content: ""; position: absolute; inset-inline-start: 0; top: -2px; height: 2px; width: 0; background: var(--accent); }
.res-tab:hover { color: var(--body); }
.res-tab.on { color: var(--ink); }
.res-tab.on::before { width: 100%; }
.auto .res-tab.on::before { animation: tabfill var(--auto, 7000ms) linear both; }
@keyframes tabfill { from { width: 0; } to { width: 100%; } }
.res-panel { display: none; grid-template-columns: 200px 1fr minmax(240px, 300px); gap: 44px; align-items: center; }
.res-panel.on { display: grid; animation: fadein .5s var(--ease); }
@keyframes fadein { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
.res-img { aspect-ratio: 1; }
.res-copy .tag { margin-bottom: 18px; }
.res-copy h3 { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.25; font-weight: 500; letter-spacing: -.02em; }
.res-client { margin-top: 14px; font-size: 15px; color: var(--muted); }
.res-stat { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding-inline-start: 40px; border-inline-start: 1px solid var(--line-2); }
.res-stat b { font-size: clamp(44px, 5vw, 72px); line-height: 1; font-weight: 500; letter-spacing: -.045em; }
[lang="ar"] .res-stat b { letter-spacing: -.01em; }
.res-stat span { margin: 14px 0 26px; font-size: 17px; color: var(--ink); }
.res-stat .link-arrow { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------------------------------------------------------------- difference + playbook card */
.diff { overflow-x: clip; }
.diff-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; margin-top: 36px; }
.diff-copy h2 { font-size: clamp(30px, 3.4vw, 44px); }
.diff-copy p { margin: 22px 0 32px; font-size: 18px; line-height: 1.6; color: var(--body); max-width: 520px; }
.pb { position: relative; display: grid; place-items: center; min-height: 460px; perspective: 1700px; }
.pb-glow { position: absolute; width: 74%; height: 56%; bottom: 8%; background: radial-gradient(closest-side, rgba(var(--acc-rgb),.3), rgba(196,187,243,.2) 62%, transparent); filter: blur(28px); }
.pb-stack { position: relative; width: min(390px, 84%); transform: rotateX(48deg) rotateZ(-26deg); transform-style: preserve-3d; }
[dir="rtl"] .pb-stack { transform: rotateX(48deg) rotateZ(26deg); }
.pb-ghost { position: absolute; inset: 0; border-radius: 20px; background: linear-gradient(180deg, rgba(196,187,243,.45), rgba(var(--acc-rgb),.14)); border: 1px dashed rgba(var(--acc-rgb),.45); transform: translateZ(-70px); }
.pb-ghost::before, .pb-ghost::after { content: ""; position: absolute; top: 18%; bottom: 18%; width: 0; border-inline-start: 1px dashed rgba(var(--acc-rgb),.4); }
.pb-ghost::before { inset-inline-start: 30%; }
.pb-ghost::after { inset-inline-start: 66%; }
.pb-card { position: relative; padding: 26px 28px 24px; border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(248,247,253,.9)); border: 1px solid #fff; box-shadow: 0 40px 70px rgba(70,60,130,.16), inset 0 1px 0 #fff; }
.pb-title { font-size: 17px; font-weight: 600; color: var(--accent-ink); margin-bottom: 14px; }
.pb-card ol { counter-reset: pb; display: grid; gap: 9px; }
.pb-card li { counter-increment: pb; display: flex; gap: 10px; font-size: 15px; line-height: 1.4; color: #2B2B52; }
.pb-card li::before { content: counter(pb) "."; min-width: 1.3em; font-weight: 600; color: var(--accent); }
.pb-chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 6px 12px; border-radius: var(--pill); background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; font-weight: 600; }
.pb-chip .ic { width: 15px; height: 15px; }

/* ---------------------------------------------------------------- dark timeline band */
.dark-band { padding: 0 var(--edge); }
.dark-in { border-radius: var(--r); background: var(--dark); color: #fff; padding-block: clamp(64px, 8vw, 110px) clamp(40px, 5vw, 70px); overflow: hidden; }
.dark-in .rule { border-color: var(--dark-line); }
.dark-in h2 { color: #fff; max-width: 760px; margin-top: 26px; }
.dark-in .sec-sub { color: var(--dark-muted); margin-top: 16px; }
.tl { position: relative; margin-top: clamp(40px, 6vw, 80px); }
.tl::before { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: 50%; width: 1px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.18) 8%, rgba(255,255,255,.18) 92%, transparent); }
.tl-row { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(48px, 8vw, 120px); align-items: center; min-height: 330px; padding-block: 24px; }
.tl-dot { position: absolute; inset-inline-start: 50%; top: 50%; width: 11px; height: 11px; margin-inline-start: -5px; margin-top: -5px; border-radius: 50%; background: var(--lav-dk); box-shadow: 0 0 0 6px rgba(196,187,243,.16); }
.tl-copy { max-width: 420px; }
.tl-copy h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; letter-spacing: -.02em; color: #fff; }
.tl-copy h3 .acc { color: var(--lav-dk); }
.tl-copy p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: #C9C9D1; }
.tl-art { position: relative; display: grid; place-items: center; }
.tl-art::before { content: ""; position: absolute; width: 80%; height: 90%; background: radial-gradient(closest-side, rgba(var(--acc-rgb),.42), rgba(var(--acc-rgb),.1) 60%, transparent); filter: blur(24px); }
.ui { position: relative; width: min(340px, 100%); padding: 20px 22px; border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(232,228,250,.92)); color: #1E1B3A; box-shadow: 0 30px 60px rgba(0,0,0,.4); font-size: 14px; }
.ui-h { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 15px; font-weight: 600; color: #1E1B3A; }
.ui-h .ic { width: 17px; height: 17px; color: var(--accent); }
.ui-bar { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; margin-top: 8px; border-radius: 10px; background: rgba(var(--acc-rgb),.07); overflow: hidden; }
.ui-bar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--w); background: rgba(var(--acc-rgb),.14); }
.ui-bar span, .ui-bar b { position: relative; }
.ui-bar b { font-weight: 600; color: var(--accent-ink); white-space: nowrap; }
.ui-foot { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--accent-ink); }
.ui-badge { position: absolute; top: -12px; inset-inline-end: -12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 0 0 4px rgba(var(--acc-rgb),.25); }
.ui-badge .ic { width: 17px; height: 17px; }
.ui dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(30,27,58,.1); }
.ui dt { color: #5B587A; }
.ui dd { font-weight: 600; text-align: end; }
.ui-ok { display: inline-flex; margin-top: 14px; padding: 5px 12px; border-radius: var(--pill); background: #DDF7E8; color: #0A7A43; font-size: 13px; font-weight: 600; }
.uf { display: grid; gap: 10px; }
.uf-node { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid rgba(var(--acc-rgb),.18); font-weight: 500; line-height: 1.3; }
.uf-node .ic, .uf-node .spark { width: 17px; height: 17px; color: var(--accent); }
.uf-ai { background: linear-gradient(90deg, var(--accent), var(--lav)); border-color: transparent; color: #fff; }
.uf-ai .spark { color: #fff; }
.uf-acts { display: grid; gap: 6px; padding-inline-start: 18px; border-inline-start: 2px dashed rgba(var(--acc-rgb),.3); margin-inline-start: 16px; }
.uf-acts .uf-node { font-size: 13.5px; padding: 8px 10px; }
.live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #16B364; box-shadow: 0 0 0 4px rgba(22,179,100,.18); }
.log-line { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(30,27,58,.09); font-size: 13.5px; line-height: 1.4; }
.log-line:last-child { border-bottom: 0; }
.log-line time { flex: none; font-variant-numeric: tabular-nums; color: #6E6A92; }

.ev { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(48px, 6vw, 88px); padding: clamp(24px, 3.5vw, 44px); border-radius: var(--r); background: var(--dark-3); }
.ev-media { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; align-items: end; }
.ev-media .mframe { aspect-ratio: 4 / 5; }
.ev-media .mframe:last-child { aspect-ratio: 1; margin-bottom: 40px; }
.ev-vid { object-position: 62% 50%; }
.ev-copy h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; color: #fff; }
.ev-copy h3 .acc { color: var(--lav-dk); display: block; }
.ev-copy p { margin: 18px 0 28px; color: #C9C9D1; font-size: 16px; line-height: 1.6; max-width: 440px; }

/* ---------------------------------------------------------------- channels */
.ch-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); align-items: center; margin-top: 36px; }
.ch-copy h2 span { display: block; }
.ch-copy .sec-sub { margin-top: 18px; max-width: 470px; }
.ch-words { display: flex; flex-direction: column; align-items: flex-start; margin: 34px 0 26px; }
.ch-word { font-size: clamp(40px, 4.6vw, 60px); line-height: 1.16; font-weight: 500; letter-spacing: -.035em; color: #C9C9D0; transition: color .3s; }
[lang="ar"] .ch-word { letter-spacing: 0; line-height: 1.35; }
.ch-word:hover { color: #9E9EA8; }
.ch-word.on { color: var(--accent); }
.ch-desc { position: relative; padding-top: 20px; border-top: 1px solid var(--line-2); max-width: 470px; min-height: 76px; }
.ch-desc p { display: none; font-size: 16px; line-height: 1.55; color: var(--body); }
.ch-desc p.on { display: block; animation: fadein .45s var(--ease); }
.ch-media { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: #DCD8D2; }
.ch-item { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.ch-item.on { opacity: 1; }
.ch-item video { width: 100%; height: 100%; object-fit: cover; }
.ch-voice video { object-position: 72% 50%; }
.ch-chat video { object-position: 40% 50%; }
.ch-email video { object-position: 44% 50%; }
.ch-docs video { object-position: 66% 50%; }
.ch-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(20deg, rgba(var(--acc-rgb),.55), rgba(var(--acc-rgb),.12) 36%, transparent 58%); pointer-events: none; }
[dir="rtl"] .ch-item::after { background: linear-gradient(-20deg, rgba(var(--acc-rgb),.55), rgba(var(--acc-rgb),.12) 36%, transparent 58%); }
.ch-ui { position: absolute; z-index: 2; inset-inline-start: 22px; bottom: 22px; display: flex; align-items: center; gap: 12px; max-width: min(360px, calc(100% - 44px)); padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 12px 40px rgba(20,10,80,.2); translate: 0 10px; opacity: 0; transition: opacity .5s .25s var(--ease), translate .5s .25s var(--ease); }
[dir="rtl"] .ch-ui { padding: 12px 12px 12px 18px; }
.ch-item.on .ch-ui { opacity: 1; translate: 0 0; }
.ch-ui-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: #fff; }
.ch-ui-ic .ic { width: 19px; height: 19px; }
.ch-ui small { display: block; font-size: 12.5px; color: var(--muted); }
.ch-ui b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.35; color: var(--ink); }

/* ---------------------------------------------------------------- services (category tabs + photo cards) */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 44px 0 14px; }
.pill-tab { min-height: 40px; padding: 8px 18px; border-radius: var(--pill); border: 1px solid var(--line-2); background: #fff; font-size: 15px; font-weight: 500; color: var(--body); transition: background .2s, color .2s, border-color .2s; }
.pill-tab:hover { border-color: var(--ink); }
.pill-tab.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab-panel { display: none; }
.tab-panel.on { display: block; animation: fadein .45s var(--ease); }
.cat-desc { margin-bottom: 26px; font-size: 16px; color: var(--muted); max-width: 640px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }
.mcard { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: #fff; overflow: hidden; box-shadow: var(--shadow-1); transition: box-shadow .3s, translate .3s var(--ease); }
.mcard:hover { box-shadow: var(--shadow-2); translate: 0 -3px; }
.mcard-media { display: block; aspect-ratio: 4 / 4.2; overflow: hidden; background: #E4E4E7; }
.mcard-media img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.mcard:hover .mcard-media img { scale: 1.04; }
.mcard-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.mcard-body b { font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.mcard-body span { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.mcard-go { position: absolute; top: 12px; inset-inline-end: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.85); color: var(--ink); opacity: 0; scale: .9; transition: opacity .25s, scale .25s; }
[dir="rtl"] .mcard-go .ic { transform: scaleX(-1); }
.mcard:hover .mcard-go, .mcard:focus-visible .mcard-go { opacity: 1; scale: 1; }

/* ---------------------------------------------------------------- rails (industries, stat cards) */
.rail-nav { display: flex; gap: 10px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: var(--card, 300px); gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 44px; padding-inline: max(var(--pad), calc((100% - var(--wrap)) / 2)); scroll-padding-inline: max(var(--pad), calc((100% - var(--wrap)) / 2)); padding-bottom: 6px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.icard { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: #E4E4E7; isolation: isolate; }
.icard img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.icard:hover img { scale: 1.04; }
.icard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,11,.5), transparent 46%); }
.icard-label { position: absolute; z-index: 1; inset-inline: 16px; bottom: 16px; color: #fff; }
.icard-label b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.icard-label span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.85); }
.stats .rail { --card: 264px; }
.scard { display: flex; flex-direction: column; min-height: 244px; padding: 20px 22px 22px; border-radius: var(--r); color: var(--ink); transition: translate .3s var(--ease); }
.scard:hover { translate: 0 -3px; }
.scard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.scard-top b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.scard-badge { flex: none; padding: 3px 9px; border-radius: var(--pill); background: rgba(10,10,11,.07); font-size: 11.5px; font-weight: 600; }
.scard-v { margin-top: auto; font-size: clamp(44px, 4.4vw, 56px); line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.scard-l { margin-top: 10px; font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--body); }
.sc-1 { background: #DCEBE1; }
.sc-2 { background: #DDE8F1; }
.sc-3 { background: #E4DFFA; }
.sc-4 { background: #F1E7DA; }
.sc-5 { background: #F4E1E5; }
.sc-6 { background: #E8E6E0; }
.rail-foot { display: flex; justify-content: flex-end; margin-top: 22px; }

/* ---------------------------------------------------------------- resource card */
.rg-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; margin-top: 36px; }
.rg-card { position: relative; display: block; aspect-ratio: 16 / 11; border-radius: var(--r); overflow: hidden; background: var(--dark); isolation: isolate; }
.rg-card img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.rg-card:hover img { scale: 1.03; }
.rg-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 40%, rgba(40,34,82,.55)); }
.rg-badge { position: absolute; z-index: 1; inset-inline-start: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--pill); background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 14px; font-weight: 600; }
.rg-copy h2 { font-size: clamp(28px, 3.2vw, 42px); }
.rg-copy .sec-sub { margin-top: 16px; }
.rg-list { margin: 26px 0 30px; border-top: 1px solid var(--line-2); }
.rg-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 16px; font-weight: 500; color: var(--ink); transition: color .2s; }
.rg-list a:hover { color: var(--accent-ink); }
.rg-list small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }

/* ---------------------------------------------------------------- FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-side p { margin-top: 20px; color: var(--muted); }
.link-inline { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.faq { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 500; color: var(--ink); cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-x { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); transition: transform .25s, background .2s; }
.faq-x .ic { width: 16px; height: 16px; }
.faq-item[open] .faq-x { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-a { padding: 0 0 22px; max-width: 680px; color: var(--body); line-height: 1.65; }

/* ---------------------------------------------------------------- dark CTA */
.cta-band { padding: clamp(24px, 4vw, 48px) var(--edge) 0; }
.cta-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; min-height: clamp(520px, 62vw, 680px); padding: 96px var(--pad); border-radius: var(--r); background: var(--dark); color: #fff; text-align: center; overflow: hidden; isolation: isolate; }
.cta-vid { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; opacity: .55; }
.cta-shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 45%, rgba(10,10,11,.55), rgba(10,10,11,.9)), linear-gradient(0deg, rgba(var(--acc-rgb),.25), transparent 50%); }
.cta-copy { width: 100%; max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.cta-copy h2 { color: #fff; font-size: clamp(36px, 5vw, 64px); }
.cta-copy > p { margin: 20px 0 34px; max-width: 580px; font-size: 18px; line-height: 1.55; color: #D4D4DA; }
.cta-cap { width: 100%; display: flex; justify-content: center; }
.cta-copy .capture { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
.cta-copy .capture input { color: #fff; }
.cta-copy .capture input::placeholder { color: #B4B4BE; }
.cta-copy .cap-err { color: #FF9C9F; }
.cta-copy .btn-ink { background: #fff; color: var(--ink); }
.cta-copy .btn-ink:hover { background: #ECECEF; }
.ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 28px; font-size: 14.5px; color: #C9C9D1; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks .ic { width: 16px; height: 16px; color: var(--lav-dk); }

/* ---------------------------------------------------------------- footer: white card, big email, links, live clocks, rising wordmark */
.ftr { padding: clamp(24px, 4vw, 48px) var(--edge) var(--edge); }
.ftr-in { position: relative; overflow: hidden; border-radius: var(--r); background: var(--surface); box-shadow: 0 1px 0 rgba(10,10,11,.04); padding-top: clamp(56px, 7vw, 96px); }
.ftr-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px 64px; align-items: end; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.ftr-blurb { margin-top: 22px; max-width: 400px; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; letter-spacing: -.01em; color: var(--body); }
.ftr-status { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 7px 15px 7px 12px; border-radius: var(--pill); background: var(--bg); font-size: 13.5px; font-weight: 500; color: var(--body); }
.ftr-status .live { width: 7px; height: 7px; box-shadow: 0 0 0 3px rgba(22,179,100,.16); }
.ftr-say { justify-self: end; text-align: end; }
.ftr-h { margin-bottom: 16px; font-size: 13px; font-weight: 500; color: var(--muted); }
.ftr-big { display: inline-flex; align-items: center; gap: .28em; padding-bottom: 6px; font-size: clamp(30px, 4.2vw, 58px); font-weight: 500; line-height: 1.08; letter-spacing: -.04em; color: var(--ink); background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .6s var(--ease), color .3s; }
[dir="rtl"] .ftr-big { background-position: 100% 100%; }
.ftr-big:hover { background-size: 100% 2px; color: var(--accent-ink); }
.ftr-big-ic { flex: none; width: .72em; height: .72em; color: var(--accent); transition: translate .45s var(--ease); }
.ftr-big:hover .ftr-big-ic { translate: 4px -4px; }
[dir="rtl"] .ftr-big:hover .ftr-big-ic { translate: -4px -4px; }
.ftr-acts { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 28px; }
.ftr-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.15fr); gap: 32px; padding-block: clamp(40px, 5vw, 64px); }
.ftr-cols a { display: block; width: fit-content; padding: 5px 0; font-size: 15px; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 calc(100% - 3px) / 0 1px no-repeat; transition: background-size .4s var(--ease), color .2s; }
[dir="rtl"] .ftr-cols a { background-position: 100% calc(100% - 3px); }
.ftr-cols a:hover { background-size: 100% 1px; color: var(--accent-ink); }
.ftr-tz li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; color: var(--body); }
.ftr-tz li:last-child { border-bottom: 0; }
.ftr-tz b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.ftr-bot { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; padding-block: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.ftr-legal { display: flex; gap: 20px; }
.ftr-legal a { transition: color .2s; }
.ftr-legal a:hover, .ftr-up:hover { color: var(--ink); }
.ftr-where { margin-inline-start: auto; }
.ftr-up { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.ftr-up-ic { width: 32px; height: 32px; padding: 7px; border-radius: 50%; border: 1px solid var(--line-2); transition: translate .35s var(--ease), background .3s, border-color .3s; }
.ftr-up:hover .ftr-up-ic { translate: 0 -3px; background: var(--accent-soft); border-color: var(--accent-2); }
.ftr-word { padding: clamp(4px, 1.5vw, 20px) clamp(10px, 1.6vw, 24px) 0; line-height: 0; }
.js .ftr-word.reveal { opacity: 1; translate: none; }
.fw { display: block; width: 100%; height: auto; }

/* ---------------------------------------------------------------- forms (contact, inner pages) */
.lead-form { display: grid; gap: 14px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: grid; gap: 6px; }
.f span { font-size: 14px; font-weight: 500; color: var(--ink); }
.f input, .f select, .f textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font-size: 15.5px; outline: 0; transition: border-color .2s, box-shadow .2s; }
.f textarea { resize: vertical; }
.f :is(input, select, textarea):focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--acc-rgb),.12); }
.f.err :is(input, textarea) { border-color: #E5484D; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.f-note { font-size: 13px; color: var(--muted); }
.f-msg { font-size: 14px; font-weight: 500; }
.f-msg.ok { color: #0A7A43; }
.f-msg.bad { color: #B42318; }

/* ================================================================ inner pages */
/* page hero: breadcrumbs, tag, headline; split variant puts a photo + floating UI card beside the copy */
.phero { padding: calc(var(--hdr-h) + clamp(40px, 6vw, 84px)) 0 clamp(48px, 6vw, 80px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 30px; font-size: 13.5px; color: var(--muted); }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--body); }
.tag .ic { width: 15px; height: 15px; }
.phero h1 { margin-top: 24px; font-size: clamp(40px, 5.2vw, 70px); line-height: 1.04; max-width: 17ch; }
[lang="ar"] .phero h1 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.3; }
.phero .lead { margin-top: 22px; max-width: 600px; }
.phero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.phero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.phero-split h1 { font-size: clamp(38px, 4.4vw, 60px); }
[lang="ar"] .phero-split h1 { font-size: clamp(32px, 3.6vw, 48px); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.facts dt { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.facts dt .ic { width: 15px; height: 15px; }
.facts dd { margin-top: 6px; font-size: 15px; line-height: 1.45; font-weight: 500; color: var(--ink); }
.phero-media { position: relative; padding-bottom: 40px; }
.phero-media > .mframe { aspect-ratio: 4 / 4.3; }
.phero-media > .ui { position: absolute; bottom: 0; inset-inline-start: -44px; width: min(340px, 82%); box-shadow: 0 28px 60px rgba(40,34,82,.22); }
.phero-media > .mframe + .mframe { position: absolute; bottom: 0; inset-inline-start: -44px; width: 42%; aspect-ratio: 1; border: 6px solid var(--bg); }
.ui-flow .uf-node > span { flex: 1; min-width: 0; }
.uf-node small { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.uf-ai small { color: rgba(255,255,255,.82); }
.uf-node .uf-ok { width: 16px; height: 16px; color: #16B364; }

/* quick answer */
.sec-qa { padding-top: 0; }
.qa { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); padding: clamp(28px, 4vw, 56px); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-1); }
.qa h2 { margin-top: 22px; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; }
.qa-a > p { font-size: 17px; line-height: 1.7; color: var(--body); }
.checks { display: grid; gap: 12px; margin-top: 24px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.checks .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }

/* use cases, principles, promises, drivers: white cards with an icon */
.uc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.uc-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.uc { position: relative; padding: 26px 26px 28px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-1); }
.uc-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.uc-ic .ic { width: 21px; height: 21px; }
.uc-n { position: absolute; top: 26px; inset-inline-end: 26px; font-size: 13px; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.uc h3 { margin-top: 22px; font-size: 19px; }
.uc p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* one channel clip beside its copy */
.vid-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.ch-media.ch-single { aspect-ratio: 4 / 3.1; }
.dark-in .vid-split .sec-sub { margin-top: 18px; }

/* before / after table */
.ba { margin-top: 44px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-1); overflow: hidden; }
.ba-h, .ba-row { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); align-items: center; gap: 20px; padding: 22px clamp(20px, 3vw, 40px); }
.ba-h { padding-block: 14px; background: #FAFAFB; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }
.ba-h span:last-child { color: var(--accent-ink); }
.ba-row + .ba-row { border-top: 1px solid var(--line); }
.ba-before { font-size: 16px; line-height: 1.55; color: var(--muted); }
.ba-after { font-size: 16px; line-height: 1.55; font-weight: 500; color: var(--ink); }
.ba-arrow { justify-self: center; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.ba-arrow .ic { width: 17px; height: 17px; }

/* numbered steps on the dark band */
.dark-in > .wrap > h2 { margin-top: 26px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: clamp(40px, 5vw, 64px); }
.step { position: relative; padding-top: 24px; border-top: 1px solid var(--dark-line); }
.step::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 44px; height: 2px; background: var(--lav-dk); }
.step-n { font-size: 14px; font-weight: 600; color: var(--lav-dk); font-variant-numeric: tabular-nums; }
.step h3 { margin-top: 16px; font-size: 20px; font-weight: 500; color: #fff; }
.step p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: #B9B9C3; }

/* long-form copy with a sticky side column */
.prose-grid { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.side { position: sticky; top: 100px; display: grid; gap: 16px; }
.side-card { padding: 22px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-1); }
.side-h { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.side-h .ic { width: 16px; height: 16px; color: var(--accent); }
.side-note > p:last-child { font-size: 14.5px; line-height: 1.6; color: var(--body); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { max-width: 100%; padding: 5px 11px; border-radius: var(--pill); background: var(--bg); border: 1px solid var(--line); font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--body); overflow-wrap: anywhere; }
[lang="ar"] .chip { font-family: "Figtree", var(--font); }
.side-link { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--ink); transition: color .2s; }
.side-h + .side-link { border-top: 0; padding-top: 0; }
.side-link .ic { color: var(--accent); }
.side-link .side-go { margin-inline-start: auto; width: 16px; height: 16px; color: var(--faint); }
.side-link:hover { color: var(--accent-ink); }
.prose { max-width: 720px; }
.prose > h2 { margin: 52px 0 16px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.prose > h2:first-child { margin-top: 0; }
.prose > p { font-size: 17px; line-height: 1.75; color: var(--body); }
.prose > p + p { margin-top: 16px; }

/* industry pain list */
.pain-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.pains { border-top: 1px solid var(--line-2); }
.pains li { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line-2); font-size: 18px; line-height: 1.5; font-weight: 500; color: var(--ink); }
.pains li span { flex: none; min-width: 28px; padding-top: 2px; font-size: 14px; font-weight: 600; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.three .mcard-media { aspect-ratio: 16 / 10.5; }

/* hubs */
.sec-top0 { padding-top: 0; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.jump .pill-tab { display: inline-flex; align-items: center; gap: 8px; }
.jump .ic { width: 17px; height: 17px; color: var(--accent); }
.hub-cat .card-grid { margin-top: 40px; }
.ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.note-line { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 36px; text-align: center; font-size: 15px; color: var(--muted); }
.note-line .ic { color: var(--accent); }

/* case studies */
.filters { margin: 0 0 32px; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.case-wrap.hide { display: none; }
.case { display: flex; flex-direction: column; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-1); overflow: hidden; scroll-margin-top: 100px; }
.case-media { aspect-ratio: 16 / 8.5; border-radius: 0; }
.case-badge { position: absolute; z-index: 1; top: 16px; inset-inline-start: 16px; background: rgba(255,255,255,.9); }
.case-in { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: clamp(22px, 2.6vw, 32px); }
.case-meta { font-size: 13.5px; color: var(--muted); }
.case h3 { margin-top: 10px; font-size: clamp(21px, 2vw, 25px); line-height: 1.25; font-weight: 500; letter-spacing: -.02em; }
.case-client { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.case-results { align-self: stretch; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.case-results > div { padding: 16px; border-radius: 12px; background: var(--accent-soft); }
.case-results > div:nth-child(2) { background: #DCEBE1; }
.case-results > div:nth-child(3) { background: #F1E7DA; }
.case-results b { display: block; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.1; font-weight: 500; letter-spacing: -.03em; color: var(--ink); unicode-bidi: plaintext; }
.case-results span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--body); }
.case-body { align-self: stretch; display: grid; gap: 16px; margin-bottom: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.case-h { margin-bottom: 4px; font-size: 13px; font-weight: 600; color: var(--accent-ink); }
.case-body p:not(.case-h) { font-size: 15px; line-height: 1.6; color: var(--body); }
.case .chips { margin-bottom: 20px; }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.price { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-1); }
.price-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; }
.price h3 { margin-top: 22px; font-size: 22px; font-weight: 600; }
.price-for { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.price-v { margin-top: 22px; font-size: clamp(30px, 3vw, 40px); line-height: 1.05; font-weight: 500; letter-spacing: -.035em; color: var(--ink); unicode-bidi: plaintext; }
.price-t { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.price-t .ic { width: 16px; height: 16px; }
.price .checks { margin: 24px 0 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.price .checks li { font-size: 15px; }
.price .btn { margin-top: auto; }
.price.featured { background: var(--dark); color: #fff; box-shadow: var(--shadow-2); }
.price.featured h3, .price.featured .price-v { color: #fff; }
.price.featured :is(.price-for, .price-t) { color: #B9B9C3; }
.price.featured .checks { border-color: var(--dark-line); }
.price.featured .checks li { color: #E4E4E8; }
.price.featured .checks .ic { background: rgba(196,187,243,.16); color: var(--lav-dk); }
.price.featured .uc-ic { background: rgba(196,187,243,.16); color: var(--lav-dk); }
.price.featured .tag-sample { background: var(--lav-dk); color: #1E1B3A; }
.incl { margin-top: 20px; padding: 24px 28px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-1); }
.incl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 24px; }
.incl-grid span { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink); }
.incl-grid .ic { width: 20px; height: 20px; color: var(--accent); }
.run-k { font-size: 13px; font-weight: 600; color: var(--accent-ink); }
.uc .run-k + h3 { margin-top: 12px; }

/* ROI calculator (dark band) */
.roi-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.roi-copy h2 { margin-top: 26px; }
.roi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r); background: var(--surface); color: var(--ink); overflow: hidden; }
.roi-in { display: grid; gap: 24px; padding: clamp(22px, 2.6vw, 32px); }
.roi-cur { display: flex; flex-wrap: wrap; gap: 6px; }
.roi-cur button { padding: 6px 12px; border-radius: var(--pill); border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; color: var(--body); transition: background .2s, color .2s, border-color .2s; }
.roi-cur button:hover { border-color: var(--ink); }
.roi-cur button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.rng { display: grid; gap: 12px; }
.rng > span { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--body); }
.rng b { font-weight: 600; color: var(--ink); white-space: nowrap; }
.rng input { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 8px 0; border-radius: 6px; background: linear-gradient(90deg, var(--accent) var(--fill, 50%), #E4E4E7 var(--fill, 50%)); cursor: pointer; }
[dir="rtl"] .rng input { background: linear-gradient(270deg, var(--accent) var(--fill, 50%), #E4E4E7 var(--fill, 50%)); }
.rng input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 2px 8px rgba(10,10,11,.18); }
.rng input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 2px 8px rgba(10,10,11,.18); }
.roi-out { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: clamp(22px, 2.6vw, 32px); background: var(--accent-soft); }
.roi-k { font-size: 13.5px; font-weight: 600; color: var(--accent-ink); }
.roi-big { margin-top: 6px; font-size: clamp(30px, 2.4vw, 36px); line-height: 1.1; font-weight: 500; letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; }   /* wraps only at the space after a currency code */
[dir="rtl"] .roi-big[dir="ltr"] { text-align: end; }
.roi-big.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { scale: 1.04; } }
.roi-note { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* about */
.about-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-split h2 { margin-top: 26px; font-size: clamp(30px, 3.4vw, 44px); }
.tz-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.tz-wrap h2 { margin-top: 26px; }
.tz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tz > div { padding: 20px; border-radius: 14px; background: var(--dark-3); border: 1px solid var(--dark-line); }
.tz span { display: block; font-size: 14px; color: #B9B9C3; }
.tz b { display: block; margin-top: 8px; font-size: clamp(28px, 2.8vw, 36px); line-height: 1; font-weight: 500; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact-copy h1 { font-size: clamp(38px, 4.4vw, 60px); }
.contact-img { margin-top: 34px; aspect-ratio: 16 / 9.5; }
.contact-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.cw { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-1); }
a.cw { transition: box-shadow .2s; }
a.cw:hover { box-shadow: var(--shadow-2); }
.cw .uc-ic { width: 40px; height: 40px; }
.cw b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.cw small { display: block; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.next { margin-top: 32px; }
.next ol { counter-reset: nx; display: grid; gap: 12px; }
.next li { counter-increment: nx; display: flex; gap: 12px; font-size: 15.5px; line-height: 1.55; color: var(--body); }
.next li::before { content: counter(nx); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
.next b { color: var(--ink); font-weight: 600; }
.contact-form { position: sticky; top: 100px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-2); }
.contact-form h2 { margin-bottom: 24px; font-size: clamp(26px, 2.4vw, 32px); }

/* guides */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.guide-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
.gcard { display: flex; flex-direction: column; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-1); overflow: hidden; transition: box-shadow .3s, translate .3s var(--ease); }
.gcard:hover { box-shadow: var(--shadow-2); translate: 0 -3px; }
.gcard-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #E4E4E7; }
.gcard-media img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.gcard:hover .gcard-media img { scale: 1.04; }
.gcard-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.gcard-cat { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent-ink); }
.gcard-cat .ic { width: 16px; height: 16px; }
.gcard b { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.gcard-ex { font-size: 15px; line-height: 1.55; color: var(--muted); }
.gcard-meta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 500; color: var(--ink); }
.guide-hero h1 { max-width: 22ch; }
.guide-cover { margin-top: clamp(36px, 5vw, 56px); aspect-ratio: 21 / 9; }
.article-grid { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: 2px; }
.toc > a { padding: 7px 0 7px 14px; border-inline-start: 2px solid var(--line-2); font-size: 14px; line-height: 1.4; color: var(--muted); transition: color .2s, border-color .2s; }
[dir="rtl"] .toc > a { padding: 7px 14px 7px 0; }
.toc > a:hover { color: var(--ink); }
.toc > a.on { color: var(--ink); border-color: var(--accent); }
.toc-cta { margin-top: 22px; padding: 18px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-1); }
.toc-cta p { margin-bottom: 12px; font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.tldr { margin-bottom: 40px; padding: 24px 26px; border-radius: var(--r); background: var(--accent-soft); }
.tldr .checks { margin-top: 0; }
.tldr .checks .ic { background: #fff; }
.article > h2 { scroll-margin-top: 100px; }
.prose .dots { display: grid; gap: 10px; margin: 18px 0 4px; }
.prose .dots li { position: relative; padding-inline-start: 22px; font-size: 16.5px; line-height: 1.65; color: var(--body); }
.prose .dots li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.tbl-wrap { margin: 22px 0 8px; overflow-x: auto; border-radius: var(--r-sm); background: var(--surface); box-shadow: var(--shadow-1); }
.tbl-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14.5px; }
.tbl-wrap th { padding: 12px 16px; background: #FAFAFB; border-bottom: 1px solid var(--line); text-align: start; font-weight: 600; color: var(--ink); }
.tbl-wrap td { padding: 12px 16px; border-bottom: 1px solid var(--line); line-height: 1.5; color: var(--body); vertical-align: top; }
.tbl-wrap tr:last-child td { border-bottom: 0; }
.article .faq { margin-top: 8px; }

/* legal + 404 */
.narrow { max-width: calc(780px + var(--pad) * 2); }
.lg-date { margin-top: 18px; font-size: 14px; color: var(--muted); }
.legal > h2 { margin-top: 40px; font-size: 24px; }
.nf-code { font-size: clamp(80px, 12vw, 160px); line-height: .9; font-weight: 500; letter-spacing: -.06em; }
.nf h1 { margin-top: 18px; }
.phero-media-plain { padding-bottom: 0; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr-cta .btn { display: none; }
  .res-panel { grid-template-columns: 160px 1fr; }
  .res-stat { grid-column: 1 / -1; padding: 28px 0 0; border-inline-start: 0; border-top: 1px solid var(--line-2); }
  .ftr-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-base { grid-template-columns: 1fr; gap: 22px; }
  .hero .capture-form { justify-self: start; }
  .uc-grid.four, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ftr-top { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .ftr-say { justify-self: start; text-align: start; }
  .ftr-acts { justify-content: flex-start; }
  .phero-split, .qa, .vid-split, .prose-grid, .pain-grid { grid-template-columns: minmax(0, 1fr); }
  .phero-media { max-width: 560px; }
  .phero-media > .ui, .phero-media > .mframe + .mframe { inset-inline-start: 16px; }
  .side { position: static; order: 2; }
  .uc-grid, .card-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-grid, .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid, .price-grid, .roi-wrap, .about-split, .tz-wrap, .contact-grid, .article-grid { grid-template-columns: minmax(0, 1fr); }
  .price-grid { max-width: 560px; }
  .incl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-form { position: static; }
  .toc { display: none; }
  .diff-grid, .ch-grid, .rg-grid, .faq-wrap, .ev { grid-template-columns: 1fr; }
  .pb { min-height: 380px; }
  .tl::before { inset-inline-start: 6px; }
  .tl-row { grid-template-columns: 1fr; gap: 28px; min-height: 0; padding-block: 36px; padding-inline-start: 36px; }
  .tl-dot { inset-inline-start: 6px; top: 46px; margin-top: 0; }
  .tl-art { justify-items: start; }
  .tl-art::before { width: 100%; }
  .ch-media { order: -1; aspect-ratio: 4 / 3.4; }
  .vid-split .ch-media { order: 0; }
  .ch-words { flex-direction: row; flex-wrap: wrap; gap: 4px 18px; margin: 26px 0 20px; }
  .ch-word { font-size: clamp(30px, 8vw, 40px); }
}
@media (max-width: 760px) {
  :root { --edge: 8px; --hdr-h: 64px; }
  body { font-size: 15.5px; }
  .hdr { padding: 16px 16px 0; }
  .hdr-in { height: 52px; padding-inline: 4px; gap: 10px; }
  .hdr.scrolled { padding-top: 8px; }
  .hdr.scrolled .hdr-in { padding-inline: 12px 6px; background: rgba(255,255,255,.96); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .brand img { height: 26px; }
  .lang-sw { min-height: 38px; padding: 6px 12px; }
  .lang-sw .ic { display: none; }
  .hero-card { flex-direction: column; height: auto; min-height: 0; }
  .hero-haze { display: none; }
  /* phone: clip on top, headline overlaps its faded foot; the bubble sits on the clip (card is its box) */
  .hero-copy { position: static; margin-top: -92px; padding: 0 20px 26px; }
  .hero h1 { position: relative; font-size: clamp(46px, 13.4vw, 62px); }
  [lang="ar"] .hero h1 { font-size: clamp(30px, 8.6vw, 44px); }
  .hero-base { position: static; margin-top: 20px; padding-top: 20px; }
  .hero .lead { font-size: 16px; }
  .hero .capture-form { justify-self: stretch; }
  .capture { padding-inline-start: 16px; }
  .capture input { font-size: 15.5px; }
  .capture .btn { min-height: 44px; padding-inline: 16px; font-size: 14px; }
  .hero-card { --vh: clamp(390px, 114vw, 510px); }
  .hero-vid { position: static; height: var(--vh); object-position: 80% 50%; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 97%); mask-image: linear-gradient(180deg, #000 60%, transparent 97%); }
  [dir="rtl"] .hero-vid { object-position: 20% 50%; }
  .bubble { inset-inline: 12px; top: auto; bottom: calc(100% - var(--vh) + 106px);   /* bottom edge fixed 14px above the H1, so a 2-line message grows upward */ max-width: none; font-size: 14.5px; }
  .tools-grid { gap: 8px; }
  .tools-grid li { gap: 7px; padding-block: 7px; padding-inline: 9px 13px; font-size: 13px; }
  .tl-logo { height: 18px; max-width: 42px; }
  .res-list { display: flex; overflow-x: auto; gap: 18px; margin: 36px calc(var(--pad) * -1) 30px; padding-inline: var(--pad); scrollbar-width: none; }
  .res-list::-webkit-scrollbar { display: none; }
  .res-tab { flex: none; min-width: 128px; }
  .res-panel { grid-template-columns: 1fr; gap: 22px; }
  .res-img { aspect-ratio: 16 / 9; }
  .pb-stack { transform: rotateX(38deg) rotateZ(-18deg); width: 92%; }
  [dir="rtl"] .pb-stack { transform: rotateX(38deg) rotateZ(18deg); }
  .ui { width: 100%; }
  .ev-media .mframe:last-child { margin-bottom: 24px; }
  .rail { --card: 78vw; gap: 14px; }
  .svc .card-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74vw; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad); padding-bottom: 8px; }
  .svc .card-grid::-webkit-scrollbar { display: none; }
  .svc .card-grid > * { scroll-snap-align: start; }
  .svc .mcard-media { aspect-ratio: 4 / 3.3; }
  .pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
  .pills::-webkit-scrollbar { display: none; }
  .pill-tab { flex: none; }
  .stats .rail { --card: 70vw; }
  .ch-ui { inset-inline-start: 14px; bottom: 14px; max-width: calc(100% - 28px); }
  .f-row { grid-template-columns: 1fr; }
  .phero { padding-top: calc(var(--hdr-h) + 40px); }
  .crumbs { margin-bottom: 22px; }
  .phero-btns .btn { flex: 1 1 auto; }
  .facts { grid-template-columns: 1fr; gap: 14px; }
  .facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; }
  .facts dd { margin-top: 0; }
  .phero-media { padding-bottom: 0; }
  .phero-media > .ui { position: relative; inset: auto; width: auto; margin: -64px 14px 0; }
  .uc-grid, .uc-grid.four, .steps, .card-grid.three { grid-template-columns: minmax(0, 1fr); }
  .uc { padding: 22px; }
  .uc h3 { margin-top: 18px; }
  .steps { gap: 30px; }
  .ba-h { display: none; }
  .ba-row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 20px; }
  .ba-arrow { display: none; }
  :is(.ba-before, .ba-after)::before { content: attr(data-k); display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
  .ba-after::before { color: var(--accent-ink); }
  .pains li { gap: 14px; padding: 18px 0; font-size: 16.5px; }
  .prose > p { font-size: 16px; }
  .icard-label span { display: none; }
  .icard-label { inset-inline: 12px; bottom: 12px; }
  .icard-label b { font-size: 16px; }
  .ind-grid { gap: 12px; }
  .case-results { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .case-results > div { display: flex; align-items: baseline; gap: 14px; padding: 12px 14px; }
  .case-results b { flex: none; min-width: 34%; font-size: 22px; }
  .case-results span { margin-top: 0; }
  .incl-grid, .contact-ways, .guide-grid, .guide-grid.two, .roi { grid-template-columns: minmax(0, 1fr); }
  .tz { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-cover { aspect-ratio: 16 / 10; }
  .price { padding: 24px; }
  .ftr-cols { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .ftr-tz { grid-column: 1 / -1; }
  .ftr-tz ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .ftr-tz li:nth-last-child(2) { border-bottom: 0; }
  .ftr-bot { gap: 10px 20px; }
  .ftr-where { margin-inline-start: 0; flex-basis: 100%; order: -1; }
  .faq-item summary { font-size: 16.5px; padding: 18px 0; }
  .ticks { flex-direction: column; align-items: flex-start; width: fit-content; margin-inline: auto; text-align: start; }
  .bubble, .capture, .ch-ui, .rg-badge { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .bubble { background: rgba(255,255,255,.92); }
  .capture { background: rgba(255,255,255,.7); }
  .ch-ui { background: rgba(255,255,255,.92); }
}

/* ---------------------------------------------------------------- scroll motion
   Calm and one-directional: things settle into place, nothing loops. Off for reduced motion and in ?noreveal QA shots.
   Scroll-linked parts use CSS view timelines on wide screens; phones and browsers without them get the one-shot effects only. */
@media (prefers-reduced-motion: no-preference) {
  /* headings: words rise and sharpen one after another */
  .js .split.reveal { opacity: 1; translate: none; }
  .js .split .w { display: inline-block; opacity: 0; translate: 0 .45em; filter: blur(7px); transition: opacity .9s var(--ease), translate 1s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i) * 40ms); }
  .js .split.in .w { opacity: 1; translate: 0 0; filter: blur(0); }

  /* photos open like a curtain, then settle */
  .js .unveil { clip-path: inset(100% 0 0 0 round var(--r)); transition: clip-path 1.25s cubic-bezier(.7, 0, .2, 1); }
  .js .unveil > img { scale: calc(var(--s-end, 1) + .18); transition: scale 1.9s var(--ease); }
  .js .unveil.in { clip-path: inset(0 0 0 0 round var(--r)); }
  .js .unveil.in > img { scale: var(--s-end, 1); }

  /* section rules draw across as the section arrives */
  .js .ruled > .wrap:first-child::before, .js .rule { scale: 0 1; transform-origin: 0 50%; transition: scale 1.5s var(--ease) .1s; }
  .js[dir="rtl"] .ruled > .wrap:first-child::before, .js[dir="rtl"] .rule { transform-origin: 100% 50%; }
  .js .seen > .wrap:first-child::before, .js .seen .rule { scale: 1 1; }

  /* the footer wordmark: letters rise out of the card edge */
  .js .ftr-word .fw-l { translate: 0 40px; transition: translate 1.4s var(--ease); transition-delay: calc(var(--i) * 75ms + .1s); }
  .js .ftr-word.in .fw-l { translate: 0 0; }

  /* scroll-linked parts: wide screens only (on phones they cost a repaint per frame) */
  @media (min-width: 901px) {
    @supports (animation-timeline: view()) {
      /* hero: the clip leans in and the words drift up as the page moves on */
      .hero-card { view-timeline: --hero block; }
      .hero-vid { animation: hero-zoom linear both; animation-timeline: --hero; animation-range: exit 0% exit 100%; }
      .hero-copy { animation: hero-lift linear both; animation-timeline: --hero; animation-range: exit 0% exit 85%; }
      /* dark bands open out to full width as they arrive */
      .dark-in, .cta-in { animation: band-in linear both; animation-timeline: view(); animation-range: entry 0% entry 60vh; }
      /* how-it-runs timeline: the line fills and each dot lights as you pass it */
      .tl { view-timeline: --tl block; }
      .tl::after { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: 50%; width: 1px; background: linear-gradient(180deg, transparent, var(--lav-dk) 6%, var(--lav-dk) 94%, transparent); transform-origin: 50% 0; animation: tl-fill linear both; animation-timeline: --tl; animation-range: cover 20% cover 80%; }
      .tl-dot { z-index: 1; background: #4A4A55; box-shadow: none; view-timeline: --dot block; }
      .tl-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--lav-dk); box-shadow: 0 0 0 6px rgba(196,187,243,.18), 0 0 22px rgba(196,187,243,.65); opacity: 0; animation: fade-to linear both; animation-timeline: --dot; animation-range: cover 40% cover 50%; }
      /* photos drift a little slower than the page */
      .para { --s-end: 1.12; }
      .para > img { animation: para linear both; animation-timeline: view(); animation-range: cover; }
    }
  }
}
@media (max-width: 760px) { .js .split .w { filter: none; } }
@keyframes hero-zoom { to { scale: 1.1; } }
@keyframes hero-lift { to { translate: 0 -80px; opacity: .15; } }
@keyframes band-in { from { scale: .94; } to { scale: 1; } }
@keyframes tl-fill { from { scale: 1 0; } to { scale: 1 1; } }
@keyframes fade-to { to { opacity: 1; } }
@keyframes para { from { translate: 0 -5%; } to { translate: 0 5%; } }
/* scroll-filled statement: each word darkens as the reader reaches it */
.fill .w { opacity: clamp(.16, calc(var(--p, 0) * (var(--n) + 4) - var(--i)), 1); transition: opacity .25s linear; }
/* QA screenshots (?noreveal) show the settled page */
.qa-still .hero-vid, .qa-still .hero-copy, .qa-still .dark-in, .qa-still .cta-in, .qa-still .tl::after, .qa-still .tl-dot::after, .qa-still .para > img { animation: none !important; }
.qa-still .tl-dot::after { opacity: 1; }
