/* ==========================================================================
   Code & Canvas — shared design system
   Modern-classic · glassmorphism · violet / teal / pink on deep navy.
   Used by the homepage (/) and the CanvasOne ERP proposal (/erp/).
   Page-specific styles live in home.css and erp.css.
   Fonts are self-hosted; see fonts.css and assets/fonts/SOURCES.md.
   ========================================================================== */

/* ---------- Tokens ---------- */
/* ---------- Fonts (self-hosted): Signate Grotesk = headings · Raleway = titles · Poppins = subtitles & body ---------- */
@font-face { font-family: 'Signate Grotesk'; src: url('../fonts/signategrotesk-black.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-ExtraBold.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-SemiBoldItalic.woff2') format('woff2'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-BoldItalic.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --navy: #00001e;
  --bg: #07071c;
  --bg-2: #0b0b22;
  --panel: #0d0d28;
  --panel-2: #12122f;
  --ink: #f5f4ff;
  --ink-2: rgba(231, 229, 250, .78);
  --ink-3: #a9a5c6;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);

  --indigo: #4f3fd8;
  --violet: #8b6cff;
  --purple: #7a55e0;
  --teal: #3fd6c4;
  --pink: #ee5ba3;
  --gold: #f3c77a;

  --grad: linear-gradient(120deg, #3fd6c4 0%, #8b6cff 45%, #ee5ba3 100%);
  --grad-brand: linear-gradient(135deg, #4f3fd8 0%, #7a55e0 55%, #9b6cf0 100%);

  --glass: rgba(255, 255, 255, .04);
  --glass-2: rgba(255, 255, 255, .07);
  --glass-border: rgba(255, 255, 255, .1);
  --blur: 16px;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --shadow: 0 26px 64px -34px rgba(0, 0, 0, .8), 0 8px 24px -18px rgba(20, 8, 70, .6);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  /* Arabic: Alexandria (headings / titles), IBM Plex Sans Arabic (body) */
  --f-head: 'Alexandria', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --f-title: 'Alexandria', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --f-body: 'IBM Plex Sans Arabic', 'Alexandria', system-ui, sans-serif;
  --f-display: var(--f-title);
  --f-accent: 'Alexandria', sans-serif;
  --f-num: 'Raleway', 'Alexandria', sans-serif;
  --f-mark: 'Comfortaa', 'Raleway', sans-serif;

  --container: 1240px;
  --nav-h: 76px;
}
html[lang='en'] {
  --f-head: 'Signate Grotesk', 'Raleway', system-ui, sans-serif;   /* headings   */
  --f-title: 'Raleway', system-ui, sans-serif;                     /* titles     */
  --f-body: 'Poppins', system-ui, sans-serif;                      /* subtitles + body */
  --f-display: var(--f-title);
  --f-accent: 'Raleway', system-ui, sans-serif;                    /* italic accent words */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.85;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: opacity .35s var(--ease);
}
html[lang='en'] body { line-height: 1.7; font-size: 16px; }
body.is-loading { overflow: hidden; }
body.is-switching main, body.is-switching .nav__links { opacity: 0; transform: translateY(6px); filter: blur(4px); }
main, .nav__links { transition: opacity .3s var(--ease), transform .3s var(--ease), filter .3s var(--ease); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(139, 108, 255, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; }
h1, h2 { font-family: var(--f-head); }
h3, h4 { font-family: var(--f-title); }
.btn, .nav__links a, .kicker, .eyebrow, .tab, .pill, .text-link, .lang-btn, .seg button, .chips button, .compare__switch button, .market-switch button, .stat__label, .step__time { font-family: var(--f-title); }
html[lang='en'] h1, html[lang='en'] h2 { letter-spacing: .005em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }

/* Icons */
.ico { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[dir='rtl'] .flip .ico, [dir='rtl'] .ico.flip { transform: scaleX(-1); }

/* Gradient text */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-block: .14em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
html[lang='en'] .grad-text { font-family: var(--f-accent); font-style: italic; font-weight: 600; letter-spacing: -.01em; padding-inline-end: .06em; }
@keyframes shimmer { to { background-position: 200% center; } }

/* ---------- Surfaces ----------
   v3 "editorial canvas": solid panels carry the layout; glass is reserved for the
   header pill and the few panels that sit over the ambient background. */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 2.4vw, 30px); }
.panel--deep { background: var(--panel-2); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px); }
/* v3: surfaces are solid. Blur is reserved for things that actually overlap
   content (nav pill, mobile menu, sticky sub-nav, toasts) and is declared there. */
.glass {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--glass-border);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.glass--deep { background: linear-gradient(180deg, rgba(122, 85, 224, .12), rgba(13, 13, 40, .92) 62%), var(--panel); }
.ds-grid-rule { border-block-start: 1px solid var(--line); }

/* ---------- Ambient background ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(1100px 640px at 82% -14%, #150f4d 0%, transparent 62%), radial-gradient(760px 520px at -8% 22%, #0d0940 0%, transparent 62%), var(--bg); }
.blob { position: absolute; border-radius: 50%; filter: blur(96px); opacity: .3; will-change: transform; }
.blob--1 { width: 40vw; height: 40vw; background: #4f3fd8; top: -16vw; inset-inline-end: -12vw; animation: drift1 30s var(--ease-in-out) infinite alternate; }
.blob--2 { width: 30vw; height: 30vw; background: #7a55e0; top: 46vh; inset-inline-start: -14vw; opacity: .22; animation: drift2 34s var(--ease-in-out) infinite alternate; }
.blob--3 { width: 24vw; height: 24vw; background: #3fd6c4; bottom: -10vw; inset-inline-end: 20vw; opacity: .12; animation: drift3 38s var(--ease-in-out) infinite alternate; }
.blob--4 { display: none; }
@keyframes drift1 { to { transform: translate3d(-8vw, 10vh, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(10vw, -12vh, 0) scale(.9); } }
@keyframes drift3 { to { transform: translate3d(-12vw, -16vh, 0) scale(1.25); } }
.ambient__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%); }
.ambient__grain { position: absolute; inset: -50%; opacity: .09; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } }

.cursor-glow { position: fixed; z-index: 0; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; left: 0; top: 0; transform: translate3d(-50%, -50%, 0); background: radial-gradient(circle, rgba(139,108,255,.16) 0%, rgba(63,214,196,.06) 40%, transparent 70%); opacity: 0; transition: opacity .4s; mix-blend-mode: screen; }
body.has-pointer .cursor-glow { opacity: 1; }
.scroll-progress { position: fixed; inset-inline: 0; top: 0; height: 3px; z-index: 120; }
.scroll-progress i { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
[dir='rtl'] .scroll-progress i { transform-origin: right; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #14104a, var(--navy) 70%); transition: clip-path 1s var(--ease-in-out), opacity .6s; clip-path: inset(0 0 0 0); }
.preloader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.preloader__inner { display: grid; justify-items: center; gap: 18px; }
.preloader__mark { width: 96px; height: 96px; overflow: visible; }
.preloader__mark path { fill: transparent; stroke: #fff; stroke-width: 6; stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 1.4s var(--ease) forwards, fillIn .5s ease forwards 1.1s; }
.preloader__mark .pl-b { animation-delay: 0s, 1s; }
.preloader__mark .pl-a { stroke: var(--teal); animation-delay: .25s, 1.1s; }
.preloader__mark .pl-c { stroke: var(--pink); animation-delay: .45s, 1.2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillIn { to { fill: #fff; stroke-width: 0; } }
.preloader__word { font-family: var(--f-mark); font-size: 28px; font-weight: 700; letter-spacing: .01em; direction: ltr; opacity: 0; animation: fadeUp .8s var(--ease) .6s forwards; }
.preloader__word b, .wordmark b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.preloader__bar { width: 180px; height: 2px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; animation: load 1.6s var(--ease) forwards .2s; }
.preloader__text { font-size: 13px; color: var(--ink-3); }
@keyframes load { to { transform: scaleX(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Wordmark ---------- */
.wordmark { font-family: var(--f-mark); font-weight: 700; direction: ltr; display: inline-flex; letter-spacing: .005em; }
.wordmark--sm { font-size: 18px; }

/* ---------- Buttons ---------- */
.btn { --pad: 14px 24px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: var(--pad); border-radius: 999px; font-weight: 600; font-size: 15.5px; line-height: 1.2; white-space: nowrap; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s; will-change: transform; }
.btn .ico { font-size: 18px; transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
[dir='rtl'] .btn:hover .flip .ico { transform: scaleX(-1) translateX(4px); }
.btn--sm { --pad: 10px 18px; font-size: 14px; }
.btn--lg { --pad: 17px 30px; font-size: 16px; }
.btn--primary { color: #fff; background: var(--grad-brand); box-shadow: 0 12px 36px -10px rgba(122, 85, 224, .8), inset 0 1px 0 rgba(255,255,255,.3); }
.btn--primary::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; z-index: -1; background: var(--grad); opacity: 0; transition: opacity .35s var(--ease); }
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover { box-shadow: 0 18px 46px -10px rgba(238, 91, 163, .55), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--primary::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); background-size: 250% 100%; background-position: 150% 0; transition: background-position .9s var(--ease); pointer-events: none; }
.btn--primary:hover::after { background-position: -50% 0; }
.btn--glass { background: rgba(255,255,255,.06); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn--glass:hover { background: rgba(255,255,255,.12); }
.icon-btn, .lang-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.04); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.icon-btn .ico { font-size: 18px; }
.lang-btn { font-family: 'Raleway', 'IBM Plex Sans Arabic', sans-serif !important; font-weight: 700; font-size: 14px; }
.icon-btn:hover, .lang-btn:hover { background: rgba(255,255,255,.1); border-color: var(--line-2); transform: translateY(-2px); }

/* ---------- Navigation — floating pill ---------- */
.nav { position: fixed; inset-inline: 0; top: 0; z-index: 100; height: var(--nav-h); display: flex; align-items: flex-start; padding-top: 12px; pointer-events: none; }
.nav__pill { pointer-events: auto; display: flex; align-items: center; gap: 18px; height: 64px; padding: 0 8px 0 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(90deg, rgba(20,16,52,.86), rgba(10,10,36,.86) 40%, rgba(12,10,40,.86)); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); box-shadow: 0 24px 60px -28px rgba(0,0,0,.85), 0 0 0 1px rgba(139,108,255,.06) inset, 0 1px 0 rgba(255,255,255,.07) inset; transition: background .4s, border-color .4s, box-shadow .4s, transform .5s var(--ease); }
.nav.is-scrolled .nav__pill { border-color: rgba(255,255,255,.14); background: linear-gradient(90deg, rgba(16,13,44,.94), rgba(8,8,30,.94) 40%, rgba(10,8,36,.94)); box-shadow: 0 28px 70px -24px rgba(0,0,0,.9), 0 0 40px -10px rgba(139,108,255,.25), 0 1px 0 rgba(255,255,255,.08) inset; }
.nav__brand { display: flex; align-items: center; flex: none; padding-inline: 10px 6px; }
.nav__brand .nav__logo { display: block; width: 40px; height: 40px; filter: drop-shadow(0 4px 14px rgba(139,108,255,.35)); transition: transform .4s var(--ease), filter .4s; }
.nav__brand:hover .nav__logo { transform: scale(1.06); filter: drop-shadow(0 6px 18px rgba(63,214,196,.45)); }
.nav__links { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav__links a { position: relative; padding: 10px 13px; font-family: var(--f-title); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); border-radius: 999px; transition: color .25s, background .25s; white-space: nowrap; }
html[lang='ar'] .nav__links a { letter-spacing: 0; text-transform: none; font-size: 14px; font-weight: 600; }
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after { content: ''; position: absolute; inset-inline: 36%; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad); }
.nav__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.nav__round { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.035); color: var(--ink-2); transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease); }
.nav__round:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.22); color: #fff; transform: translateY(-1px); }
.nav__round .ico { font-size: 17px; }
.nav__round.lang-btn { font-family: 'Raleway', 'IBM Plex Sans Arabic', sans-serif !important; font-weight: 700; font-size: 15px; }
.nav__cta { height: 46px; padding: 0 22px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; gap: 8px; box-shadow: 0 10px 30px -12px rgba(122,85,224,.9); }
html[lang='ar'] .nav__cta { letter-spacing: 0; text-transform: none; font-size: 14.5px; }
.nav__cta .ico { font-size: 13px; }
.burger { display: none; position: relative; }
.burger span { position: absolute; inset-inline: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded='true'] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Typography helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13.5px; color: var(--ink-2); }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(63,214,196,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63,214,196,.55); } 70% { box-shadow: 0 0 0 10px rgba(63,214,196,0); } 100% { box-shadow: 0 0 0 0 rgba(63,214,196,0); } }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--teal); margin-bottom: 18px; }
html[lang='en'] .kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; }
.kicker__num { font-family: var(--f-num); font-style: italic; font-weight: 400; font-size: 15px; color: var(--ink-3); letter-spacing: 0; display: inline-flex; align-items: center; gap: 12px; }
.kicker__num::after { content: ''; width: 36px; height: 1px; background: linear-gradient(90deg, var(--ink-3), transparent); }
[dir='rtl'] .kicker__num::after { background: linear-gradient(-90deg, var(--ink-3), transparent); }

.section { padding-block: clamp(52px, 6.2vw, 88px); position: relative; }
.section--tight { padding-block: clamp(38px, 4.4vw, 62px); }
.section--narrow { max-width: 900px; }
.section__head { max-width: 760px; margin-bottom: clamp(28px, 3.6vw, 44px); }
.section__head--center { text-align: center; margin-inline: auto; }
.section__head--center .kicker { justify-content: center; }
.section__title { font-size: clamp(30px, 4.2vw, 54px); font-weight: 700; }
.section__title--xl { font-size: clamp(36px, 5.6vw, 76px); }
.section__lead { margin-top: 18px; font-size: clamp(16.5px, 1.4vw, 19px); color: var(--ink-2); max-width: 680px; }
.section__head--center .section__lead { margin-inline: auto; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s), filter 1s var(--ease) var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: clamp(32px, 5vw, 72px); padding-top: calc(var(--nav-h) + 48px); padding-bottom: 64px; }
.hero__title { font-size: clamp(38px, 4.6vw, 66px); font-weight: 800; margin: 26px 0 24px; line-height: 1.25; }
html[lang='en'] .hero__title { font-size: clamp(40px, 5.2vw, 76px); }
html[lang='en'] .hero__title { line-height: 1.02; font-weight: 800; }
.hero__title .line { display: block; }
.line--accent { position: relative; display: inline-block !important; padding-bottom: .12em; }
.split .w { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(2deg); filter: blur(8px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i) * 70ms + .15s); }
.is-ready .split .w { opacity: 1; transform: none; filter: none; }
.grad-text .w { background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; }
.split.grad-text { animation: none; }
.split.grad-text .w { padding-block: .14em; background: var(--grad); background-size: 300% auto; -webkit-background-clip: text; background-clip: text; animation: shimmer 8s linear infinite; }
.brush { position: absolute; inset-inline: 0; bottom: -.08em; width: 100%; height: .32em; overflow: visible; }
.brush path { fill: none; stroke: var(--teal); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 1.4s var(--ease) 1s; opacity: .85; }
.is-ready .brush path { stroke-dashoffset: 0; }
.hero__lead { font-size: clamp(16.5px, 1.35vw, 19px); color: var(--ink-2); max-width: 590px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__ctas--center { justify-content: center; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.hero__chips .ico { color: var(--teal); font-size: 15px; }

/* ---------- Stats ---------- */
.stats { margin-top: -10px; }
.stats__inner { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-lg); }
.stat { padding: 30px 26px; text-align: center; position: relative; }
.stat + .stat::before { content: ''; position: absolute; inset-inline-start: 0; top: 24%; bottom: 24%; width: 1px; background: linear-gradient(transparent, var(--line-2), transparent); }
.stat__num { font-family: var(--f-head); font-size: clamp(36px, 4vw, 56px); font-weight: 800; line-height: 1; font-variant-numeric: lining-nums tabular-nums; background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.55)); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; display: inline-block; }
html[lang='ar'] .stat__num { font-family: 'Alexandria', sans-serif; direction: rtl; }
.stat__label { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }

/* ---------- Marquee ---------- */
.marquee { margin-top: clamp(60px, 8vw, 100px); overflow: hidden; border-block: 1px solid var(--line); padding: 20px 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); direction: ltr; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-display); font-size: clamp(18px, 2vw, 26px); font-weight: 600; color: var(--ink-3); white-space: nowrap; transition: color .3s; }
.marquee__item:hover { color: #fff; }
.marquee__item .ico { color: var(--violet); font-size: 1em; }
.marquee__item::after { content: '✦'; margin-inline-start: 34px; color: rgba(255,255,255,.2); font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards (tilt + spotlight) ---------- */
.card { position: relative; padding: 30px; border-radius: var(--r); overflow: hidden; transform-style: preserve-3d; transition: transform .5s var(--ease), border-color .4s, background .4s; }
.card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(139,108,255,.18), transparent 45%); opacity: 0; transition: opacity .4s; }
.card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.55), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; }
.card:hover::before, .card:hover::after { opacity: 1; }
.card__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; color: #fff; background: linear-gradient(135deg, rgba(139,108,255,.35), rgba(63,214,196,.18)); border: 1px solid var(--line-2); margin-bottom: 22px; box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- Platform / orbit ---------- */
/* rotating rings/nodes must never widen the page (mobile zoom-out) */
main, .footer { overflow-x: clip; }
.platform { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.checklist { display: grid; gap: 12px; margin-top: 30px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.checklist .ico { color: var(--teal); font-size: 14px; width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: rgba(63,214,196,.12); box-sizing: border-box; }
.orbit { --size: min(520px, 80vw); position: relative; width: var(--size); height: var(--size); margin-inline: auto; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px solid var(--line); inset: 0; }
.orbit__ring--2 { inset: 15%; border-style: dashed; border-color: rgba(139,108,255,.25); animation: spin 60s linear infinite reverse; }
.orbit__ring--3 { inset: 30%; background: radial-gradient(circle, rgba(122,85,224,.25), transparent 70%); border-color: rgba(63,214,196,.2); }
.orbit__ring--1::before { content: ''; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); top: -5px; left: calc(50% - 5px); box-shadow: 0 0 20px var(--teal); }
.orbit__ring--1 { animation: spin 22s linear infinite; }
.orbit__core { position: absolute; inset: 36%; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 6px; text-align: center; font-size: 13px; font-weight: 600; color: var(--ink-2); background: radial-gradient(circle at 30% 25%, rgba(139,108,255,.55), rgba(20,16,70,.8)); box-shadow: 0 0 80px -10px rgba(122,85,224,.8), inset 0 1px 0 rgba(255,255,255,.25); }
.orbit__core img { width: 30%; height: auto; }
.orbit__spin { position: absolute; inset: 0; animation: spin 70s linear infinite; }
.orbit:hover .orbit__spin, .orbit:hover .orbit__node span { animation-play-state: paused; }
.orbit__node { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.orbit__node span { position: absolute; width: 54px; height: 54px; margin: -27px; display: grid; place-items: center; border-radius: 16px; font-size: 22px; color: #fff; transform: rotate(var(--a)) translate(calc(var(--size) / 2 - 8px)) rotate(calc(var(--a) * -1)); animation: counter 70s linear infinite; background: rgba(20,16,60,.7); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); transition: background .3s, box-shadow .3s; cursor: default; }
.orbit__node span:hover { background: var(--grad-brand); box-shadow: 0 0 30px rgba(139,108,255,.7); }
.orbit__node span[data-tip]:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 10px); padding: 6px 12px; border-radius: 10px; background: rgba(10,10,40,.92); border: 1px solid var(--line-2); font-size: 12.5px; font-family: var(--f-body); white-space: nowrap; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes counter { from { transform: rotate(var(--a)) translate(calc(var(--size) / 2 - 8px)) rotate(calc(var(--a) * -1)) rotate(0deg); } to { transform: rotate(var(--a)) translate(calc(var(--size) / 2 - 8px)) rotate(calc(var(--a) * -1)) rotate(-360deg); } }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; font-size: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); }
.pill .ico { color: var(--violet); }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 22px; padding-inline-start: 0; }
.timeline__rail { position: absolute; top: 10px; bottom: 10px; inset-inline-start: 50%; width: 2px; margin-inline-start: -1px; background: var(--line); border-radius: 2px; overflow: hidden; }
.timeline__rail i { display: block; width: 100%; height: 100%; background: linear-gradient(180deg, var(--teal), var(--violet), var(--pink)); transform-origin: top; transform: scaleY(0); }
.step { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.step__card { padding: 28px; border-radius: var(--r); }
.step__dot { position: absolute; inset-inline-start: 50%; top: 28px; width: 46px; height: 46px; margin-inline-start: -23px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-num); font-style: italic; font-size: 18px; background: var(--bg-2); border: 1px solid var(--line-2); transition: all .6s var(--ease); z-index: 1; }
.step.is-lit .step__dot { background: var(--grad-brand); border-color: transparent; box-shadow: 0 0 0 6px rgba(122,85,224,.18), 0 0 30px rgba(122,85,224,.7); }
.step__time { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--teal); padding: 4px 12px; border-radius: 999px; background: rgba(63,214,196,.1); border: 1px solid rgba(63,214,196,.25); margin-bottom: 14px; }
.step__card h3 { font-size: 22px; margin-bottom: 8px; }
.step__card p { color: var(--ink-2); font-size: 15.5px; }
.step__deliv { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 14px; font-weight: 600; }
.step__deliv .ico { color: var(--violet); font-size: 17px; }

/* ---------- Pillars & promises ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillars .card { padding: 36px 32px; min-height: 300px; }
.pillars .card__icon { width: 60px; height: 60px; font-size: 28px; border-radius: 18px; }
.pillars .card h3 { font-size: 26px; }
html[lang='en'] .pillars .card h3 { font-family: var(--f-accent); font-style: italic; font-weight: 600; font-size: 28px; }
.pillars .card__big { position: absolute; inset-inline-end: -10px; bottom: -30px; font-family: var(--f-num); font-style: italic; font-size: 160px; line-height: 1; color: rgba(255,255,255,.04); pointer-events: none; }
.promises { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-lg); }
.promises li { display: flex; align-items: center; gap: 12px; padding: 22px 24px; font-size: 15px; font-weight: 500; }
.promises li + li { border-inline-start: 1px solid var(--line); }
.promises .ico { flex: none; color: var(--teal); font-size: 15px; width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: rgba(63,214,196,.12); box-sizing: border-box; }

/* ---------- Closing ---------- */
.closing { position: relative; border-radius: var(--r-lg); padding: 0; overflow: hidden; isolation: isolate; border: 1px solid var(--line-2); background: var(--panel); }
.closing__border { position: absolute; inset-block-start: 0; inset-inline: 0; height: 3px; z-index: 1; background: var(--grad); opacity: .9; }
.closing__inner { border-radius: 0; padding: clamp(40px, 5.4vw, 72px) clamp(22px, 4vw, 64px); text-align: center; background: radial-gradient(680px 320px at 50% 0%, rgba(122, 85, 224, .22), transparent 72%), var(--panel); }
.closing__icon { width: 72px; height: 72px; margin: 0 auto 28px; filter: drop-shadow(0 0 30px rgba(139,108,255,.8)); animation: bob 6s ease-in-out infinite; }
.closing__title { font-size: clamp(32px, 5vw, 66px); font-weight: 800; }
html[lang='ar'] .closing__title { font-size: clamp(28px, 4vw, 54px); line-height: 1.4; }
.closing__text { max-width: 640px; margin: 22px auto 0; color: var(--ink-2); font-size: clamp(16px, 1.3vw, 18.5px); }
.closing__contact { margin-top: 30px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; font-size: 14.5px; color: var(--ink-2); }
.closing__contact a { display: inline-flex; align-items: center; gap: 8px; transition: color .3s; direction: ltr; }
.closing__contact a:hover { color: #fff; }
.closing__contact .ico { color: var(--teal); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0 50px; margin-top: 40px; background: linear-gradient(180deg, transparent, rgba(0,0,30,.6)); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer__brand { display: grid; gap: 12px; }
.footer__brand img { height: 46px; width: auto; }
.footer__brand p { color: var(--ink-3); font-size: 14px; }
.footer__meta { display: grid; gap: 4px; font-size: 13.5px; color: var(--ink-2); }
.footer__muted { color: var(--ink-3); }
.to-top { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-size: 20px; transition: transform .4s var(--ease), background .3s; }
.to-top:hover { transform: translateY(-4px); background: var(--grad-brand); }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 26px; left: 50%; z-index: 150; transform: translate(-50%, 30px); opacity: 0; padding: 12px 22px; border-radius: 14px; background: rgba(15,12,50,.92); border: 1px solid var(--line-2); backdrop-filter: blur(14px); font-size: 14.5px; transition: all .45s var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Magnetic ---------- */
.magnetic { transition: transform .45s var(--ease), box-shadow .35s var(--ease); }

/* ---------- Hero visual wrapper ---------- */
.hero__visual { position: relative; perspective: 1400px; }

/* ---------- Skip link & utilities ---------- */
.skip-link { position: fixed; z-index: 300; top: 12px; inset-inline-start: 12px; padding: 12px 18px; transform: translateY(-180%); border-radius: 12px; background: var(--teal); color: #05051a; font-weight: 700; transition: transform .25s var(--ease); }
.skip-link:focus { transform: none; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--teal); font-weight: 600; font-size: 15.5px; transition: gap .3s var(--ease), color .25s; }
.text-link:hover { gap: 16px; color: #8af4e3; }
.text-link .ico { font-size: 17px; }
[dir='rtl'] .rtl-flip { transform: scaleX(-1); }

/* ---------- Nav additions ---------- */
.nav__links a.is-ext { display: inline-flex; align-items: center; gap: 7px; }
.nav__links a.is-ext::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px rgba(139,108,255,.8); }

/* ---------- Full footer (columns) ---------- */
.footer--full { padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(130px, 1fr)) minmax(190px, 1.2fr); gap: 34px 28px; padding-bottom: 46px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__col h3 { margin: 4px 0 6px; font-size: 12.5px; font-weight: 700; color: var(--teal); letter-spacing: .16em; text-transform: uppercase; font-family: var(--f-body); }
html[lang='ar'] .footer__col h3 { letter-spacing: 0; font-size: 14.5px; text-transform: none; }
.footer__col a, .footer__col .footer__note { font-size: 14px; line-height: 1.5; color: var(--ink-2); transition: color .25s; }
.footer__col a:hover { color: #fff; }
.footer__col .footer__note { color: var(--violet); font-size: 12.5px; }
.footer__about { margin: 16px 0 14px; font-size: 14px; line-height: 1.75; color: var(--ink-3); max-width: 330px; }
.footer__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.footer__tags span { padding: 4px 10px; border-radius: 8px; background: rgba(63,214,196,.1); border: 1px solid rgba(63,214,196,.2); color: var(--teal); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; direction: ltr; }
.footer__loc { font-size: 13.5px; color: var(--ink-3); }
.footer__loc b { color: var(--teal); margin-inline: 4px; font-weight: 400; }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer__contact .ltr { direction: ltr; unicode-bidi: isolate; }
.footer__contact small { color: var(--ink-3); font-size: 11.5px; }
.footer__contact .ico { color: var(--teal); font-size: 15px; }
.footer__contact .btn { margin-top: 6px; color: #fff; font-size: 14px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.footer__bottom div { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__bottom a { transition: color .25s; }
.footer__bottom a:hover { color: #fff; }

/* Floating back-to-top (home) */
.to-top--fixed { position: fixed; z-index: 70; inset-inline-end: 22px; bottom: 22px; background: rgba(8,8,32,.8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease), background .3s; }
.to-top--fixed.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top--fixed:hover { transform: translateY(-4px); }

/* ==========================================================================
   Shared responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__links a { padding: 10px 9px; font-size: 11px; letter-spacing: .1em; }
  .promises { grid-template-columns: repeat(2, 1fr); }
  .promises li:nth-child(3) { border-inline-start: 0; }
  .promises li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: minmax(200px, 1.3fr) repeat(3, minmax(130px, 1fr)); }
  .footer__contact { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
  .footer__contact .btn { justify-self: start; }
}
@media (max-width: 1024px) {
  .nav { padding-top: 10px; }
  .nav__pill { height: 60px; gap: 10px; padding: 0 7px; }
  .nav__brand .nav__logo { width: 36px; height: 36px; }
  .nav__links { position: fixed; top: 80px; inset-inline: 12px; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; border-radius: 24px; background: rgba(8,8,32,.96); border: 1px solid var(--line-2); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .4s var(--ease); margin: 0; }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 13px 16px; font-size: 13px; letter-spacing: .14em; }
  html[lang='ar'] .nav__links a { font-size: 16px; }
  .nav__links a.is-active::after { display: none; }
  .nav__links a.is-active { background: rgba(139,108,255,.14); }
  .burger { display: grid; }
  .nav__cta { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: calc(var(--nav-h) + 40px); min-height: auto; }
  .hero__lead { margin-inline: auto; }
  .hero__ctas, .hero__chips { justify-content: center; }
  .hero__visual { max-width: 640px; margin: 30px auto 0; width: 100%; }
  .platform { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillars .card { min-height: 0; }
  .timeline__rail { inset-inline-start: 23px; }
  .step { grid-template-columns: 1fr; gap: 0; padding-inline-start: 70px; }
  .step .step__card { grid-column: 1 !important; }
  .step__dot { inset-inline-start: 23px; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brandcol { grid-column: 1 / -1; }
  .footer__contact { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav__pill { gap: 8px; }
  .nav__round { width: 42px; height: 42px; }
  .nav__brand .nav__logo { width: 34px; height: 34px; }
  body { font-size: 16px; }
  .container { width: min(var(--container), 100% - 32px); }
  #printBtn { display: none; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .promises { grid-template-columns: 1fr; }
  .promises li + li { border-inline-start: 0; border-top: 1px solid var(--line); }
  .step { padding-inline-start: 62px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__brand img { margin-inline: auto; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; }
  .footer__col--studio { grid-column: 1; }
  .footer__contact { grid-template-columns: 1fr; gap: 12px; }
  .footer__bottom { flex-direction: column; }
  .to-top--fixed { inset-inline-end: 14px; bottom: 14px; width: 42px; height: 42px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .split .w { opacity: 1 !important; transform: none !important; filter: none !important; }
  .cursor-glow, .ambient__grain { display: none; }
}

/* ---------- Boot states (set by the inline <head> script) ---------- */
html.no-pre .preloader { display: none; }
html.i18n-pending body { visibility: hidden; animation: cc-unhide 0s 2.5s forwards; }
@keyframes cc-unhide { to { visibility: visible; } }
.only-mobile { display: none; }
@media (max-width: 1024px) { .only-mobile { display: block; } }
.back .ico { transform: scaleX(-1); }
[dir='rtl'] .back .ico { transform: none; }
.footer__brand .text-link { margin-top: 4px; }

/* ---------- Glass window panel (dashboard / board) + floating chips ---------- */
.dash { border-radius: var(--r-lg); overflow: hidden; transform-style: preserve-3d; transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 6deg)); transition: transform .8s var(--ease); background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03) 50%), rgba(12, 10, 42, .55); }
[dir='rtl'] .dash { --ry: 8deg; }
.dash__bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dash__dots { display: flex; gap: 6px; } .dash__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.dash__dots i:nth-child(1) { background: #ee5ba3; } .dash__dots i:nth-child(2) { background: #f3c77a; } .dash__dots i:nth-child(3) { background: #3fd6c4; }
.dash__title { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.float-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 16px; font-size: 13px; font-weight: 500; white-space: nowrap; transition: transform .6s var(--ease); animation: bob 6s ease-in-out infinite; }
.float-chip i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; font-size: 15px; flex: none; }
.float-chip--1 { top: -22px; inset-inline-start: 8%; } .float-chip--1 i { background: rgba(63,214,196,.18); color: var(--teal); }
.float-chip--2 { bottom: -26px; inset-inline-end: 4%; animation-delay: -2s; } .float-chip--2 i { background: rgba(243,199,122,.16); color: var(--gold); }
.float-chip--3 { bottom: 16%; inset-inline-start: -44px; animation-delay: -4s; } .float-chip--3 i { background: rgba(238,91,163,.16); color: var(--pink); }
@keyframes bob { 50% { translate: 0 -10px; } }

/* ==========================================================================
   Shared components used by several pages (moved here from home.css / erp.css)
   ========================================================================== */
/* utilities */
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.kicker--center { justify-content: center; display: flex; }
.btn--ghost { color: var(--ink-2); border: 1px solid transparent; }
.btn--ghost:hover { color: #fff; background: rgba(255,255,255,.06); }
.btn--ghost .ico { transition: transform .35s var(--ease); }
.btn--ghost:hover .ico { transform: translateY(3px); }
.section--sm { padding-block: clamp(40px, 6vw, 80px); }
.stat__num--ltr { direction: ltr !important; }

/* round arrow */
.round-arrow { margin-inline-start: auto; flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 16px; transition: background .35s, border-color .35s, color .35s, transform .35s var(--ease); }
a:hover > .round-arrow, a:hover .round-arrow { background: var(--grad-brand); border-color: transparent; color: #fff; }

/* ---------- Services ---------- */
.head-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 90px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.head-split .section__head { margin-bottom: 0; max-width: none; }
.head-aside > p { margin-bottom: 18px; color: var(--ink-2); font-size: 16.5px; }
.head-aside > p strong { color: #fff; font-weight: 600; }
.head-aside .pill { padding: 6px 13px; font-size: 13px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 22px; padding: 14px 0; border-block: 1px solid var(--line); }
.toolbar > p { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 14.5px; }
.toolbar > p .ico { color: var(--teal); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { display: inline-flex; align-items: center; gap: 9px; padding: 9px 17px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.035); color: var(--ink-2); font-size: 14.5px; font-weight: 600; transition: background .3s, border-color .3s, color .3s, box-shadow .35s, transform .3s var(--ease); }
.filter b { color: var(--ink-3); font-family: 'Raleway', sans-serif; font-size: 12px; font-weight: 700; transition: color .3s; }
.filter:hover { border-color: var(--line-2); color: #fff; transform: translateY(-2px); }
.filter.is-active { background: var(--grad-brand); border-color: transparent; color: #fff; box-shadow: 0 10px 26px -10px rgba(122,85,224,.9); }
.filter.is-active b { color: rgba(255,255,255,.8); }

.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc { --acc: var(--teal); display: flex; flex-direction: column; min-height: 310px; padding: 24px; }
.svc[hidden] { display: none; }
.svc--creative { --acc: #b8a9ff; }
.svc--health { --acc: var(--pink); }
.svc--combined { --acc: var(--gold); }
.svc h3 i { color: var(--gold); font-style: normal; }
.svc__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 22px; }
.svc__no { color: var(--ink-3); font-family: var(--f-num); font-style: italic; font-size: 14.5px; direction: ltr; }
.svc__tag { padding: 4px 11px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--acc) 38%, transparent); background: color-mix(in srgb, var(--acc) 9%, transparent); color: var(--acc); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
html[lang='ar'] .svc__tag { letter-spacing: 0; text-transform: none; font-size: 12px; }
.svc h3 { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.3; }
.svc > p { margin-bottom: 22px; font-size: 14.5px; line-height: 1.7; }
.svc__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.svc__price { display: grid; gap: 3px; min-width: 0; }
.svc__price strong { color: var(--acc); font-family: 'Raleway', 'Alexandria', sans-serif; font-size: 19px; font-weight: 800; line-height: 1.2; }
html[lang='ar'] .svc__price strong { font-family: 'Alexandria', sans-serif; font-size: 17.5px; }
.svc__price > span { color: var(--ink-3); font-size: 13px; }
.svc .round-arrow { opacity: .55; }
.svc:hover .round-arrow { opacity: 1; }
.svc-note { margin-top: 26px; color: var(--ink-3); font-size: 14.5px; }
.svc-note .text-link { margin-inline-start: 8px; font-size: 14.5px; }

/* ---------- Statement ---------- */
.statement { padding-block: clamp(70px, 9vw, 130px); text-align: center; }
.statement__text { font-family: var(--f-head); font-size: clamp(36px, 6.6vw, 96px); font-weight: 800; line-height: 1.12; text-wrap: balance; }
html[lang='ar'] .statement__text { line-height: 1.35; }
html[lang='en'] .statement__text { letter-spacing: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact-card { display: flex; flex-direction: column; min-height: 330px; padding: 28px; }
.contact-card--featured { background: linear-gradient(160deg, rgba(122,85,224,.3), rgba(63,214,196,.06) 70%), var(--glass); border-color: rgba(139,108,255,.4); }
.contact-card__eyebrow { margin-bottom: 10px; color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: .16em; }
html[lang='ar'] .contact-card__eyebrow { letter-spacing: 0; font-size: 14px; }
.contact-card h3 { font-size: clamp(21px, 1.9vw, 25px); }
.contact-card > p { margin-bottom: 20px; }
.contact-card__meta { margin-top: auto; padding-inline-end: 52px; color: var(--ink-2); font-size: 13.5px; }
.contact-card__arrow { position: absolute; inset-inline-end: 22px; bottom: 22px; margin: 0; }
.callout { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; align-items: center; gap: 32px; margin-top: 20px; padding: clamp(24px, 3vw, 38px); border-radius: var(--r-lg); }
.callout .kicker { margin-bottom: 12px; color: #f199d1; }
.callout h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; margin-bottom: 12px; }
.callout p:not(.kicker) { max-width: 680px; color: var(--ink-2); font-size: 15.5px; }
.callout__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.callout__actions .btn { white-space: normal; text-align: center; }
.promises { margin-top: 20px; }

/* ---------- Priority cards (.pri) ---------- */
.pri { --acc: var(--teal); }
.pri--violet { --acc: #b8a9ff; }
.pri--gold { --acc: var(--gold); }
.pri--pink { --acc: var(--pink); }
.pri__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 24px; color: var(--ink-3); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; position: relative; }
html[lang='ar'] .pri__top { letter-spacing: 0; font-size: 13px; }
.pri__pill { padding: 4px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--acc) 40%, transparent); color: var(--acc); font-size: 10.5px; letter-spacing: .08em; white-space: nowrap; }
html[lang='ar'] .pri__pill { letter-spacing: 0; font-size: 12px; }
.pri__shift { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--ink-3); font-size: 14px; position: relative; }
.pri__shift del { opacity: .7; text-decoration-color: rgba(238,91,163,.75); }
.pri__shift strong { color: var(--acc); font-weight: 700; }
.pri__shift .ico { color: var(--acc); font-size: 15px; }
.pillars--4 .card > p:not(.pri__shift) { font-size: 14.5px; line-height: 1.7; position: relative; }
.pri h3 { position: relative; }
.pri__note { position: relative; margin-top: auto; padding: 12px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--acc) 22%, transparent); background: color-mix(in srgb, var(--acc) 7%, transparent); color: color-mix(in srgb, var(--acc), white 22%); font-size: 13.5px; line-height: 1.55; }

/* ---------- RTL touches ---------- */
[dir='rtl'] .round-arrow .ico, [dir='rtl'] .nav__actions .btn .ico { transform: scaleX(-1); }
[dir='rtl'] .btn:hover .flip .ico { transform: scaleX(-1) translateX(4px); }
[dir='rtl'] .step__card, [dir='rtl'] .card { text-align: start; }
[dir='rtl'] .eyebrow { direction: rtl; }
.footer__brandcol .nav__brand { display: inline-flex; }

@media (max-width: 1180px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { min-height: 0; }
  .head-split { grid-template-columns: 1fr; align-items: start; }
  .callout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .toolbar { flex-direction: column; align-items: flex-start; }
  .callout__actions .btn { width: 100%; }
}

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: background .35s, border-color .35s; overflow: hidden; }
.faq__item.is-open { background: rgba(255,255,255,.06); border-color: rgba(139,108,255,.4); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; text-align: start; font-family: var(--f-display); font-size: 17.5px; font-weight: 600; }
.faq__q .pm { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .5s var(--ease), background .3s; }
.faq__q .pm::before, .faq__q .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: #fff; border-radius: 2px; transition: transform .5s var(--ease); }
.faq__q .pm::after { transform: rotate(90deg); }
.faq__item.is-open .pm { transform: rotate(180deg); background: var(--grad-brand); border-color: transparent; }
.faq__item.is-open .pm::after { transform: rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 24px 22px; color: var(--ink-2); font-size: 15.5px; }

/* ---------- Tabs ---------- */
.tabs { position: relative; display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.03); margin-bottom: 20px; width: fit-content; max-width: 100%; }
.tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 16px; font-size: 14.5px; font-weight: 600; color: var(--ink-3); transition: color .3s; }
.tab .ico { font-size: 17px; }
.tab:hover { color: #fff; }
.tab.is-active { color: #fff; }
.tabs__ind { position: absolute; z-index: 0; border-radius: 16px; background: var(--grad-brand); box-shadow: 0 10px 26px -10px rgba(122,85,224,.9); transition: all .5s var(--ease); }


/* ==========================================================================
   v3 · legacy component alignment
   Older pages still use .card / .tile / .section__head / .kicker / .stats.
   These rules pull them onto the editorial canvas instead of rewriting every
   generator at once. Reduce here rather than stacking new overrides later.
   ========================================================================== */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.card:hover { border-color: var(--line-2); }
.art { border-radius: var(--r); }
.art__mark { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--f-num); font-weight: 800; }
.art__cap { color: var(--ink-3); font-family: var(--f-num); font-size: 11.5px; letter-spacing: .14em; }
.section__head { max-width: 760px; margin-bottom: clamp(26px, 3.2vw, 40px); padding-block-end: 0; }
.section__title { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.02em; }
html[lang='ar'] .section__title { letter-spacing: 0; line-height: 1.42; }
.section__lead { margin-top: 14px; color: var(--ink-2); font-size: clamp(15.5px, 1.05vw, 17px); }
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--ink-3); font-family: var(--f-num); font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
html[lang='ar'] .kicker { letter-spacing: 0; text-transform: none; font-size: 13.5px; }
.kicker__num { color: var(--teal); }
.kicker__num::after { content: ''; width: 26px; height: 1px; background: var(--line-2); display: inline-block; margin-inline-start: 10px; vertical-align: middle; }
.stats__inner { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.tile { padding: clamp(18px, 2vw, 24px); min-height: 0; }
.tile__foot { margin-top: auto; padding-top: 14px; border-block-start: 1px dashed var(--line-2); color: var(--ink-3); font-size: 13px; }
.promises { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.tag-soft--warn, .badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; color: var(--ink-2); }

/* ==========================================================================
   v3 · Editorial canvas components
   Numbered section rules, solid panels, decision-first cards and service rows.
   Shared by the homepage and every generated inner page.
   ========================================================================== */
.sec-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(18px, 3.4vw, 52px); align-items: end;
  padding-block-end: clamp(16px, 2vw, 24px);
  border-block-end: 1px solid var(--line);
  margin-block-end: clamp(24px, 3vw, 40px);
}
.sec-head--stack { grid-template-columns: minmax(0, 1fr); }
.sec-head--center { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.sec-head--center .lead { margin-inline: auto; }
.sec-head__no { display: flex; align-items: center; gap: 10px; font-family: var(--f-num); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.sec-head__no b { color: var(--teal); font-weight: 700; }
html[lang='ar'] .sec-head__no { letter-spacing: 0; font-size: 13.5px; }
.sec-head h2 { font-size: clamp(27px, 3.3vw, 42px); letter-spacing: -.02em; margin-block: 12px 12px; }
html[lang='ar'] .sec-head h2 { letter-spacing: 0; line-height: 1.4; }
.sec-head .lead { color: var(--ink-2); font-size: clamp(16px, 1.1vw, 17.5px); max-width: 64ch; }
.sec-head__aside { display: grid; gap: 14px; justify-items: start; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 22px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 22px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }

/* Decision card — a challenge, its symptoms and the recommended first step */
.chal { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.2vw, 26px); border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); transition: border-color .3s, background .3s; }
.chal:hover { border-color: var(--line-2); background: var(--panel-2); }
.chal__k { color: var(--teal); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
html[lang='ar'] .chal__k { letter-spacing: 0; font-size: 13px; }
.chal h3 { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.35; }
.chal__sym { display: grid; gap: 8px; color: var(--ink-3); font-size: 14px; }
.chal__sym li { display: flex; gap: 9px; }
.chal__sym li::before { content: '—'; color: var(--pink); flex: none; }
.chal__fix { margin-top: auto; padding-top: 14px; border-block-start: 1px dashed var(--line-2); display: grid; gap: 8px; }
.chal__code { display: flex; align-items: baseline; gap: 10px; font-family: var(--f-num); font-size: 13px; letter-spacing: .08em; color: var(--pink); }
.chal__code b { color: var(--ink); font-family: var(--f-title); font-size: 14.5px; letter-spacing: 0; }
.chal__price { color: var(--ink-3); font-size: 13.5px; }

/* Fact strip */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts > div { background: var(--panel); padding: 16px 18px; display: grid; gap: 6px; }
.facts span { color: var(--ink-3); font-size: 12.5px; }
.facts b { font-family: var(--f-title); font-size: 16px; font-weight: 700; }

/* Service rows — one decision per service instead of a card grid */
.svc-rows { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.svc-row { display: grid; grid-template-columns: 76px minmax(0, 1.55fr) minmax(0, 1fr) minmax(140px, auto); gap: clamp(14px, 2vw, 28px); align-items: start; background: var(--panel); padding: clamp(18px, 2.2vw, 26px) clamp(18px, 2.4vw, 28px); transition: background .3s; }
.svc-row:hover { background: var(--panel-2); }
.svc-row__code { font-family: var(--f-num); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--teal); }
.svc-row h3 { font-size: clamp(17px, 1.5vw, 20px); margin-block-end: 8px; }
.svc-row__body p { color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }
.svc-row__fit { display: grid; gap: 10px; color: var(--ink-3); font-size: 13.5px; }
.svc-row__fit b { display: block; color: var(--ink-2); font-weight: 600; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; margin-block-end: 3px; }
html[lang='ar'] .svc-row__fit b { letter-spacing: 0; font-size: 13.5px; }
.svc-row__out { color: var(--ink-2); font-size: 13.5px; }
.svc-row__out b { color: var(--teal); font-weight: 600; }
.svc-row__act { display: grid; gap: 12px; justify-items: start; }
.svc-row__price { display: grid; gap: 3px; }
.svc-row__price strong { font-family: var(--f-num); font-size: 18px; font-weight: 800; color: #fff; }
html[lang='ar'] .svc-row__price strong { font-size: 16.5px; }
.svc-row__price span { color: var(--ink-3); font-size: 13px; }
.svc-row--alt { --acc: var(--pink); }
.svc-row--alt .svc-row__code { color: var(--pink); }

/* Three-step process band */
.steps3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.steps3 > div { padding: clamp(22px, 2.6vw, 32px) clamp(18px, 2vw, 26px); background: transparent; }
.steps3 .stepno { font-family: var(--f-num); font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--teal); }
.steps3 h3 { font-size: clamp(18px, 1.6vw, 21px); margin-block: 12px 8px; }
.steps3 p { color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }
.steps3 .step__deliv { margin-top: 14px; padding-top: 12px; border-block-start: 1px dashed var(--line-2); font-size: 13.5px; color: var(--ink-3); display: flex; gap: 9px; align-items: center; }
.steps3 .step__deliv .ico { color: var(--teal); font-size: 15px; }

/* Comparison table */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.tbl caption { text-align: start; padding: 16px 18px 0; color: var(--ink-3); font-size: 13.5px; }
.tbl th, .tbl td { text-align: start; padding: 13px 16px; border-block-end: 1px solid var(--line); vertical-align: top; }
.tbl thead th { color: var(--teal); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
html[lang='ar'] .tbl thead th { letter-spacing: 0; font-size: 13px; }
.tbl tbody tr:last-child td { border-block-end: 0; }
.tbl tbody tr:hover { background: rgba(255, 255, 255, .025); }
.tbl td strong { font-family: var(--f-num); }

/* Utility bits */
.note-quiet { color: var(--ink-3); font-size: 13.5px; line-height: 1.75; }
.note-quiet a { color: var(--teal); text-decoration: underline; text-underline-offset: .2em; }
.tag-soft { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-size: 12px; color: var(--ink-2); }
.tag-soft--warn { border-color: rgba(238, 91, 163, .4); color: #f5b3d4; }
.rule { height: 1px; background: var(--line); border: 0; margin-block: clamp(30px, 4vw, 56px); }
.section--band { background: linear-gradient(180deg, rgba(122, 85, 224, .06), transparent 65%); border-block-start: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-title); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
html[lang='ar'] .eyebrow { letter-spacing: 0; font-size: 14px; }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px rgba(63, 214, 196, .9); flex: none; }

@media (max-width: 1024px) {
  .sec-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .steps3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-row { grid-template-columns: 66px minmax(0, 1fr); }
  .svc-row__fit, .svc-row__act { grid-column: 2; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .svc-row { grid-template-columns: minmax(0, 1fr); }
  .svc-row__fit, .svc-row__act { grid-column: 1; }
  .svc-row__act { justify-items: stretch; }
  .svc-row__act .btn { width: 100%; }
}

/* ==========================================================================
   v3 · folded-in completion rules (previously completion.css)
   ========================================================================== */
[hidden] { display: none !important; }
main > section[id], main > nav + section[id] { scroll-margin-top: calc(var(--nav-h) + 90px); }
.btn { max-width: 100%; white-space: normal; text-align: center; }
.btn:disabled { cursor: not-allowed; opacity: .65; }
.form .check { flex-wrap: wrap; align-items: flex-start; }
.form .check > input { flex: 0 0 auto; margin-top: .4em; }
.form .check > span:not(.field__err) { flex: 1; min-width: 0; }
.check .field__err { flex-basis: 100%; margin-inline-start: 26px; }
.is-invalid .field__err:not([hidden]) { display: block; color: #ffb2ca; }
input[aria-invalid='true'], textarea[aria-invalid='true'], select[aria-invalid='true'] { border-color: #ffb2ca; }
.form__status a { text-decoration: underline; text-underline-offset: .22em; }
.form__status:empty { display: none; }
.consent-bar { position: fixed; bottom: 18px; inset-inline: 18px; margin-inline: auto; max-width: 620px; z-index: 160; padding: 24px; background: #12122f; border-radius: var(--r-lg); box-shadow: 0 8px 50px #0008; }
.consent-bar p { margin-bottom: 16px; }
@media (max-width: 560px) {
  .consent-bar { padding: 18px; }
  .btn { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) { .consent-bar { transition: none; } }

/* Compact service index (hub page) */
.idx { list-style: none; margin: 0; padding: 0; border-block-start: 1px solid var(--line); }
.idx li { border-block-end: 1px solid var(--line); }
.idx a { display: grid; grid-template-columns: 74px minmax(0, 1.15fr) minmax(0, 1.35fr) 128px 150px 22px; gap: clamp(12px, 1.8vw, 24px); align-items: center; padding: 15px 6px; transition: background .3s, padding .3s; border-radius: var(--r-sm); }
.idx a:hover { background: rgba(255, 255, 255, .035); padding-inline: 12px; }
.idx__code { font-family: var(--f-num); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--teal); }
.idx__title { font-family: var(--f-title); font-size: 15.5px; font-weight: 700; color: #fff; }
.idx__who { color: var(--ink-3); font-size: 13.5px; line-height: 1.55; }
.idx__price { font-family: var(--f-num); font-size: 14.5px; font-weight: 700; color: var(--ink-2); }
.idx__dur { color: var(--ink-3); font-size: 12.5px; }
.idx a > .ico { color: var(--ink-3); font-size: 16px; }
.idx a:hover > .ico { color: var(--teal); }
.svc-row__list { display: grid; gap: 6px; margin-top: 8px; }
.svc-row__list li { display: flex; gap: 9px; color: var(--ink-2); font-size: 13.5px; }
.svc-row__list li::before { content: '·'; color: var(--teal); flex: none; font-weight: 700; }
.svc-row__out { margin-top: 14px; }
.svc-row__out b { display: block; margin-bottom: 6px; color: var(--ink-3); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
html[lang='ar'] .svc-row__out b { letter-spacing: 0; font-size: 13px; }
.svc-row__fit > div { display: grid; gap: 5px; justify-items: start; }
.svc-row__fit .tag-soft { justify-self: start; }
.svc-row__fit span { line-height: 1.6; }
@media (max-width: 1024px) {
  .idx a { grid-template-columns: 66px minmax(0, 1fr) 22px; }
  .idx__who { grid-column: 2; }
  .idx__price, .idx__dur { grid-column: 2; }
  .idx a > .ico { grid-row: 1; grid-column: 3; }
}
@media (max-width: 720px) {
  .idx a { grid-template-columns: 58px minmax(0, 1fr) 20px; padding-inline: 4px; }
}

/* Compact panel used by inner pages (credentials, depth, evidence) */
.mini { display: flex; flex-direction: column; gap: 10px; padding: clamp(18px, 2vw, 24px); }
.mini h3 { font-size: clamp(16.5px, 1.35vw, 19px); }
.mini p { color: var(--ink-2); font-size: 14px; line-height: 1.7; }
.mini__code { font-family: var(--f-num); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--teal); }
.mini__num { font-family: var(--f-num); font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.mini__foot { margin-top: auto; padding-top: 12px; border-block-start: 1px dashed var(--line-2); color: var(--ink-3); font-size: 12.5px; line-height: 1.6; }
.mini__tags { margin-top: auto; padding-top: 12px; }
.mini .card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(63, 214, 196, .1); border: 1px solid rgba(63, 214, 196, .24); color: var(--teal); font-size: 19px; }
.person { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: clamp(20px, 2.6vw, 36px); align-items: center; padding: clamp(20px, 2.6vw, 32px); }
.person h3 { font-family: var(--f-title); font-size: clamp(20px, 1.9vw, 25px); margin-block: 6px; }
.person p { color: var(--ink-2); font-size: 14.5px; line-height: 1.75; }
.person__role { font-family: var(--f-num); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--teal); }
.person__tag { color: var(--ink-3) !important; font-size: 13.5px !important; }
.person .creds { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 14px; }
.person .creds span { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; color: var(--ink-2); }
.person__links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.person__links a { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-size: 14px; font-weight: 600; }
.person__links .ico { font-size: 15px; }
@media (max-width: 860px) { .person { grid-template-columns: minmax(0, 1fr); } .person .art { max-width: 220px; } }
.anchor-alias { display: block; position: relative; top: calc(-1 * (var(--nav-h) + 90px)); visibility: hidden; height: 0; }

/* problem-first entry cards: link the title, keep the inquiry CTA separate */
.chal__link { color: var(--ink); font-family: var(--f-title); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.35; font-weight: 700; }
.chal__link:hover { color: var(--teal); }
.chal__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--teal); font-size: 13.5px; font-weight: 600; }
.chal__cta .ico { font-size: 15px; }
.chal__cta:hover { gap: 12px; }
.chal { transition: border-color .3s, background .3s, transform .4s var(--ease); }
.chal:hover { transform: translateY(-3px); }

/* contrast fixes: form links inside body copy and locked reader parts */
.check a, .form__hint a, .field a, .consent a, .check span a { text-decoration: underline; text-underline-offset: 2px; }
