/* NARSYSS × Liftline bridge.
 * Liftline markup lives inside .ll (styled by bridge/liftline.css, scoped);
 * NARSYSS chrome on Liftline pages lives inside .nx (styled by bridge/narsyss.css, scoped). */

/* ───────── Liftline pages: the content + quote list (the template's own header/footer aren't rendered) ───────── */
/* the "Your list" button sat above Liftline's mobile action bar, which isn't used */
html[data-ll-page] #__next button.fixed.z-40 { bottom: 1.25rem; }
/* NARSYSS header/footer copies sit above Liftline content, below its transition curtain */
html[data-ll-page] .nx-chrome header { z-index: 60; }
html[data-ll-page] .nx-chrome { background: transparent; }
html[data-ll-page] .nx-chrome footer { position: relative; }

/* ───────── Services hover menu (all pages) ───────── */
.nx-menu-host { position: absolute; left: 0; right: 0; top: 100%; z-index: 49; }
.ll.ll-menu.nx-menu-host[data-ll] { background: transparent; }
.nx-svc-chevron { width: .875rem; height: .875rem; margin-inline-start: .25rem; transition: transform .3s; }
.nx-svc-open .nx-svc-chevron { transform: rotate(180deg); }

/* ───────── Liftline services sections on the NARSYSS home page ───────── */
.ll .ll-home-hero { padding-top: 6rem; }
@media (min-width: 48rem) { .ll .ll-home-hero { padding-top: 8rem; } }
/* hold the load-in animations until the section scrolls into view */
.ll .ll-wait .animate-fade-up,
.ll .ll-wait .animate-word-up { animation-play-state: paused; }
/* SplitText line masks (AnimatedHeading) */
.ll .split-line { will-change: transform; }

/* ═════════ NARSYSS look for the Liftline components & pages ═════════
 * Same layout and animation; NARSYSS fonts, colours, backgrounds, type scale and radii.
 * [data-ll] = Liftline content root: #__next on the Liftline pages, .ll wrappers on NARSYSS pages. */

/* Fonts: Geist (Thmanyah in Arabic, via i18n/rtl.css) */
html[data-ll-page]:not([lang="ar"]) {
  --font-app-sans: 'Geist', 'Geist Fallback';
  --font-app-mono: 'Geist Mono', 'Geist Mono Fallback';
  --font-app-heading: 'Geist', 'Geist Fallback';
}

/* Palette → NARSYSS tokens */
[data-ll][data-ll] {
  --background: #f0f0f0;   /* page            (was cream #f4f1ea) */
  --foreground: #1a1a1a;
  --paper: #ffffff;        /* cards           (was #fbfaf6) */
  --card: #ffffff;
  --sand: #e4e4e4;         /* soft fills      (was #ece7de) */
  --cream: #ffffff;        /* text on dark    (was #f4f1ea) */
  --line: #dcdcdc;         /* hairlines       (was #e2dbcf) */
  --border: #dcdcdc;
  --ink: #1a1a1a;
  --ink-deep: #1a1a1a;
  --graphite: #262626;     /* ink-raise */
  --slate: #6b6b6b;        /* muted text: NARSYSS ink/62 */
  --muted-foreground: #6b6b6b;
  --steel: #a3a3a3;
  --ember: #1a1a1a;        /* primary buttons: NARSYSS black pills */
  --primary: #1a1a1a;
  --ember-deep: #262626;   /* button hover: ink-raise */
  --ember-soft: #b27fdc;   /* accents on dark: volt-soft */
  --ember-tint: #f0e6f8;   /* accent tint: volt */
  --ring: #6600b9;
  background-color: var(--background);
  color: var(--foreground);
}
html[data-ll-page] body { background: #f0f0f0; }
/* Liftline resolves its --color-* tokens at :root, so override the resolved tokens too */
[data-ll][data-ll] {
  --color-background: var(--background); --color-foreground: var(--foreground);
  --color-paper: var(--paper); --color-card: var(--card); --color-sand: var(--sand); --color-cream: var(--cream);
  --color-line: var(--line); --color-border: var(--border); --color-ink: var(--ink); --color-ink-deep: var(--ink-deep);
  --color-graphite: var(--graphite); --color-slate: var(--slate); --color-muted-foreground: var(--muted-foreground);
  --color-steel: var(--steel); --color-ember: var(--ember); --color-primary: var(--primary);
  --color-ember-deep: var(--ember-deep); --color-ember-soft: var(--ember-soft); --color-ember-tint: var(--ember-tint);
  --color-ring: var(--ring);
}


/* Eyebrows: NARSYSS label style (muted ink, volt marker) */
[data-ll] .tracking-\[0\.2em\].text-ember { color: rgb(26 26 26 / .64); letter-spacing: .06em; }
[data-ll] .tracking-\[0\.2em\] > .rotate-45.bg-ember,
[data-ll] .tracking-\[0\.2em\] > .rotate-45 { background: #6600b9; }
/* Accent words in headings: NARSYSS two-tone headline (ink/50) */
[data-ll] .text-h1 .text-ember, [data-ll] .text-h2 .text-ember, [data-ll] .text-display .text-ember,
[data-ll] h1 .text-ember, [data-ll] h2 .text-ember { color: rgb(26 26 26 / .5); }

/* Type scale and weights → NARSYSS */
[data-ll][data-ll] {
  --text-display: clamp(2.75rem, 1.9rem + 3vw, 4.375rem);
  --text-display--line-height: 1;
  --text-display--letter-spacing: -.035em;
  --text-h1: clamp(2.75rem, 1.9rem + 3vw, 4.375rem);
  --text-h1--line-height: 1;
  --text-h1--letter-spacing: -.035em;
  --text-h2: clamp(2.25rem, 1.75rem + 1.9vw, 3.5rem);
  --text-h2--line-height: 1.1;
  --text-h2--letter-spacing: -.03em;
  --text-h3: clamp(1.25rem, 1.12rem + .5vw, 1.5rem);
  --text-h3--line-height: 1.28;
  --text-h3--letter-spacing: -.02em;
  --text-lead: clamp(.9375rem, .9rem + .2vw, 1.0625rem);
  --text-lead--line-height: 1.65;
  --font-weight-semibold: 500;
  --font-weight-bold: 600;
}
[data-ll] h1, [data-ll] h2, [data-ll] h3, [data-ll] h4, [data-ll] .font-heading { font-weight: 500; }

/* Backgrounds: drop Liftline's textures and colour glows */
[data-ll] .door-grooves, [data-ll] .bg-noise,
[data-ll] [class*="blur-3xl"], [data-ll] [class*="blur-[120px]"] { display: none !important; }

/* Radii: NARSYSS cards are 20px */
[data-ll] .rounded-\[22px\], [data-ll] .rounded-\[24px\], [data-ll] .rounded-\[26px\], [data-ll] .rounded-\[28px\],
[data-ll] .rounded-\[30px\], [data-ll] .rounded-\[32px\], [data-ll] .rounded-\[36px\], [data-ll] .rounded-\[40px\] { border-radius: 20px; }
@media (min-width: 48rem) { [data-ll] .md\:rounded-\[32px\], [data-ll] .md\:rounded-\[36px\], [data-ll] .md\:rounded-\[40px\] { border-radius: 20px; } }


/* ───────── Services menu: no "Door check" eyebrow on the dark card ───────── */
[data-ll] .door-grooves + .relative > p.text-ember-soft:first-child,
.ll .door-grooves + .relative > p.text-ember-soft:first-child { display: none; }
[data-ll] .door-grooves + .relative > p.text-ember-soft:first-child + p,
.ll .door-grooves + .relative > p.text-ember-soft:first-child + p { margin-top: 0; }

/* ───────── Mobile menu: Services expands the service list ───────── */
.nx-msvc-end { display: inline-flex; align-items: center; gap: .5rem; }
.nx-msvc-end .nx-svc-chevron { margin: 0; }
.nx-msvc-open .nx-msvc-end .nx-svc-chevron { transform: rotate(180deg); }
/* the phone menu sits in the fixed header while the page is scroll-locked: keep it within the screen and scroll inside it */
#mobile-navigation { max-height: calc(100dvh - 5.5rem); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.nx-msvc { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s cubic-bezier(.16,1,.3,1), opacity .4s; }
.nx-msvc-open > .nx-msvc { grid-template-rows: 1fr; opacity: 1; }
.nx-msvc-inner { overflow: hidden; min-height: 0; display: flex; flex-direction: column; gap: .125rem; padding: 0 .25rem; }
.nx-msvc-open .nx-msvc-inner { padding: .25rem .25rem .5rem; }
.nx-msvc-item { display: flex; align-items: center; gap: .75rem; border-radius: 1rem; padding: .5rem .75rem; color: rgb(26 26 26 / .8); font-size: .9375rem; transition: background-color .3s; }
.nx-msvc-item:hover, .nx-msvc-item:focus-visible { background: rgb(26 26 26 / .05); }
.nx-msvc-thumb { position: relative; flex-shrink: 0; width: 2.5rem; height: 2.5rem; overflow: hidden; border-radius: .75rem; background: rgb(26 26 26 / .06); }
.nx-msvc-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ───────── Home manifesto stats (214% · 91% · 38ms · 48): 2×2 on phones ───────── */
#manifesto .grid.border-t.pt-8.sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; }
@media (min-width: 64rem) { #manifesto .grid.border-t.pt-8.sm\:grid-cols-2 { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2rem; } }

/* ───────── Home: FAQ follows the testimonials on the same paper background — don't double the gap ───────── */
#clients + #faq { padding-top: 0; } /* FAQ right after the testimonials: one section gap, not two */

/* ───────── FAQ accordion: open item's "×" chip is white ───────── */
#faq .space-y-2\.5 > .rounded-\[20px\].bg-ink .bg-volt { background-color: #fff; color: #6600b9; }

/* ───────── Buttons: NARSYSS purple instead of black (hover: deeper purple) ─────────
 * NARSYSS action buttons, Liftline buttons ("Request a price", "My price"), form submit.
 * Not the phone-menu toggle, active nav item, active filter tab or dark service cards. */
a.group\/action.bg-ink,
button.group\/action.bg-ink,
[data-ll] .group\/button.bg-ember,
[data-ll] a.bg-ember.text-white,
form button[type="submit"].bg-ink { background-color: #6600b9; color: #fff; }
a.group\/action.bg-ink:hover,
button.group\/action.bg-ink:hover,
[data-ll] .group\/button.bg-ember:hover,
[data-ll] a.bg-ember.text-white:hover,
form button[type="submit"].bg-ink:hover:not(:disabled) { background-color: #4c008b; }
/* the arrow circle inside action buttons turned black on hover — purple on the deeper-purple button */
a.group\/action.bg-ink:hover .group-hover\/action\:bg-ink,
button.group\/action.bg-ink:hover .group-hover\/action\:bg-ink { background-color: #6600b9; color: #fff; }

/* ───────── Asterisk stars: always the logo purple ───────── */
.lucide-asterisk.text-volt { color: #6600b9; }

/* ───────── Service list (all screen sizes) — no photos; row nearest the middle of the screen is "active" (set by bridge.js) ───────── */
@media all {
  li > a.group.grid[href^="/services/"] .size-14,
  .ll-home li > .group.grid .size-14 { display: none; }
  li > a.group.grid[href^="/services/"],
  li > a.group.grid[href^="/pricing?select="],
  .ll-home li > .group.grid {
    transition: background-color .5s cubic-bezier(.16,1,.3,1), box-shadow .5s cubic-bezier(.16,1,.3,1);
    box-shadow: 0 0 0 100vmax transparent;
    clip-path: inset(0 -100vmax); /* the shadow only widens the band sideways, never taller */
  }
  li > a.group.grid[href^="/services/"] .font-heading,
  li > a.group.grid[href^="/pricing?select="] .font-heading,
  .ll-home li > .group.grid .font-heading {
    transition: color .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1);
    transform-origin: left center;
  }
  [dir="rtl"] li > a.group.grid[href^="/services/"] .font-heading,
  [dir="rtl"] li > a.group.grid[href^="/pricing?select="] .font-heading,
  [dir="rtl"] .ll-home li > .group.grid .font-heading { transform-origin: right center; }
  li > a.group.grid[href^="/services/"] span,
  li > a.group.grid[href^="/pricing?select="] span,
  .ll-home li > .group.grid span { transition: color .5s cubic-bezier(.16,1,.3,1); }
  /* active: full-width, square, black (site ink) band (shadow carries it to both screen edges without moving the layout) */
  li[data-nx-inview] > a.group.grid { background-color: #1a1a1a; box-shadow: 0 0 0 100vmax #1a1a1a; border-bottom-color: transparent; }
  li[data-nx-inview] > a.group.grid .font-heading { color: #fff; transform: scale(1.06); }
  li[data-nx-inview] > a.group.grid .text-slate { color: rgb(255 255 255 / .68); }
  li[data-nx-inview] > a.group.grid .text-ink { color: #fff; }
  li[data-nx-inview] > a.group.grid .rounded-full.border { background-color: #fff; border-color: #fff; color: #1a1a1a; rotate: 45deg; }
  /* home quality list: no band — the active row's title just turns NARSYSS purple and grows */
  .ll-home li[data-nx-inview] > .group.grid { background-color: transparent; box-shadow: 0 0 0 100vmax transparent; border-bottom-color: rgb(26 26 26 / .1); }
  .ll-home li[data-nx-inview] > .group.grid .font-heading { color: #6600b9; transform: scale(1.12); }
  .ll-home li[data-nx-inview] > .group.grid .text-slate { color: var(--color-slate, #6b6b6b); }
  .ll-home li[data-nx-inview] > .group.grid .text-ink { color: #6600b9; }
  .ll-home li[data-nx-inview] > .group.grid .nx-quality-ico { color: #6600b9; }
}
@media (prefers-reduced-motion: reduce) {
  li[data-nx-inview] > a.group.grid .font-heading { transform: none; }
  li[data-nx-inview] > a.group.grid .rounded-full.border { rotate: none; }
}

/* ───────── Section title tickers (Our Works / Experiences / Pricing / Insights …): smaller on tablet & laptop ─────────
 * Was 7rem (sm) and 11rem (lg); asterisks scaled to match. Phones unchanged (3.75rem). */
@media (min-width: 40rem) {
  span.sm\:text-\[7rem\].lg\:text-\[11rem\] { font-size: 4.5rem; gap: 1.75rem; padding-right: 1.75rem; }
  .lucide-asterisk.sm\:size-16.lg\:size-24 { width: 2.75rem; height: 2.75rem; }
}
@media (min-width: 64rem) {
  span.sm\:text-\[7rem\].lg\:text-\[11rem\] { font-size: 6rem; gap: 2.25rem; padding-right: 2.25rem; }
  .lucide-asterisk.sm\:size-16.lg\:size-24 { width: 3.5rem; height: 3.5rem; }
}

/* ───────── Back to black: "Request service" (header, phone menu, home hero) and "Contact support" (FAQ) ───────── */
header a.group\/action.bg-ink,
#faq a.group\/action.bg-ink,
#main > section:first-child a.group\/action.bg-ink { background-color: var(--color-ink); color: #fff; }
header a.group\/action.bg-ink:hover,
#faq a.group\/action.bg-ink:hover,
#main > section:first-child a.group\/action.bg-ink:hover { background-color: var(--color-ink-raise); }
header a.group\/action.bg-ink:hover .group-hover\/action\:bg-ink,
#faq a.group\/action.bg-ink:hover .group-hover\/action\:bg-ink,
#main > section:first-child a.group\/action.bg-ink:hover .group-hover\/action\:bg-ink { background-color: var(--color-ink); color: #fff; }

/* ───────── Home hero: credential badges ("Freelance licence" ✓, "Verified" ✓ → popup, "Saudi developers" with the palm and swords) ───────── */
.nx-creds { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.nx-cred {
  display: inline-flex; align-items: center; gap: .5rem; height: 2.5rem; padding: 0 1rem 0 .5rem;
  border-radius: 999px; background: rgb(255 255 255 / .14); color: #fff;
  border: 1px solid rgb(255 255 255 / .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .875rem; font-weight: 500; line-height: 1; white-space: nowrap; font-family: inherit;
}
[dir="rtl"] .nx-cred { padding: 0 .5rem 0 1rem; }
.nx-cred-check { width: 1.5rem; height: 1.5rem; padding: .3rem; border-radius: 999px; background: #6600b9; color: #fff; flex-shrink: 0; }
/* palm and two swords (images/icons/palm-swords.svg), drawn in white on the purple circle */
.nx-cred-palm { padding: .2rem; background: #006c35; }
.nx-cred-palm::before { content: ""; display: block; width: 100%; height: 100%; background: #fff;
  -webkit-mask: url(/images/icons/palm-swords.svg) center / contain no-repeat; mask: url(/images/icons/palm-swords.svg) center / contain no-repeat; }
.nx-cred-btn { cursor: pointer; transition: background-color .3s, border-color .3s; }
.nx-cred-btn:hover { background: rgb(255 255 255 / .24); border-color: rgb(255 255 255 / .4); }
.nx-cred-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* phones: keep the three badges on one row, sized off the viewport width so they always fit */
@media (max-width: 39.99rem) {
  .nx-creds { flex-wrap: nowrap; gap: 1.5vw; }
  .nx-cred { font-size: 2.75vw; height: 2.6em; gap: .4em; padding: 0 .85em 0 .35em; }
  [dir="rtl"] .nx-cred { padding: 0 .35em 0 .85em; }
  .nx-cred-check { width: 1.75em; height: 1.75em; padding: .32em; }
  .nx-cred-palm { padding: .22em; }
}

/* "Verified" popup — content to come */
.nx-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1.25rem;
  background: rgb(0 0 0 / .5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.nx-modal[data-open] { opacity: 1; visibility: visible; }
.nx-modal-panel { position: relative; width: 100%; max-width: 32rem; min-height: 14rem; border-radius: 20px; background: #fff; color: #1a1a1a;
  padding: 1.5rem; box-shadow: 0 40px 90px -40px rgb(0 0 0 / .6); transform: translateY(12px) scale(.98); transition: transform .4s cubic-bezier(.16,1,.3,1); }
.nx-modal[data-open] .nx-modal-panel { transform: none; }
.nx-modal-close { position: absolute; top: .75rem; right: .75rem; width: 2.25rem; height: 2.25rem; display: flex; align-items: center; justify-content: center;
  border-radius: 999px; background: #f0f0f0; color: #1a1a1a; border: 0; cursor: pointer; }
[dir="rtl"] .nx-modal-close { right: auto; left: .75rem; }
.nx-modal-close svg { width: 1rem; height: 1rem; }
/* page doesn't scroll behind an open pop-up (NX.modal) */
html.nx-modal-lock { overflow: hidden; }

/* ───────── Home: less empty space before "Our approach" ─────────
 * Hero was 108vh / 104vh (room for the removed Neural core card) → one screen tall;
 * manifesto top padding 6 / 8 / 10rem → 4 / 5 / 6rem. */
/* Hero sizes to its content, so the credential badges sit a fixed distance below "Request service"
 * (was one screen tall, which left ~200–330px of empty space above the badges). */
#main > section:first-child.min-h-\[108vh\] { min-height: 0; }
#main > section:first-child div:has(> .nx-creds) { padding-top: 0; }
#main > section:first-child .nx-creds { margin-top: 2.5rem; }
@media (min-width: 40rem) { #main > section:first-child .nx-creds { margin-top: 3rem; } }
#manifesto { padding-top: 4rem; }
@media (min-width: 40rem) { #manifesto { padding-top: 5rem; } }
@media (min-width: 64rem) { #manifesto { padding-top: 6rem; } }
/* less space between the stats and the "Our Services" ticker below them (was 6 / 8 / 10rem) */
#manifesto { padding-bottom: 3rem; }
@media (min-width: 40rem) { #manifesto { padding-bottom: 4rem; } }
@media (min-width: 64rem) { #manifesto { padding-bottom: 5rem; } }

/* ───────── Home: "Our Services" ticker (copy of the Our Works one) sits above the service list ─────────
 * Same 4rem gap below it as the Our Works ticker (mt-16) at every size. */
.nx-svc-ticker + .ll-home > section:first-child { padding-top: 4rem; }
/* services carousel under the ticker: same spacing as the "Our Works" carousel under its ticker */
.nx-svc-all-row { margin-top: 2rem; display: flex; justify-content: flex-end; }
.nx-svc-all { display: inline-flex; align-items: center; gap: .5rem; font-size: 15px; font-weight: 500; color: var(--color-ink, #0a0a0a); transition: color .3s; }
.nx-svc-all:hover { color: var(--color-ember, #6600b9); }
.nx-svc-all svg { width: 1rem; height: 1rem; transition: transform .3s; }
.nx-svc-all:hover svg { transform: translate(2px, -2px); }
.nx-svc-carousel { margin-top: 1.5rem; }


/* ───────── No sideways page panning on phones (iPhone Safari lets the page drag left/right) ─────────
 * clip (not hidden) keeps position: sticky working; older browsers without clip fall back to hidden. */
html, body { overflow-x: clip; }
@supports not (overflow-x: clip) { html, body { overflow-x: hidden; } }

/* ───────── Home quality list: plain rows (no link) with a thin line icon where the arrow was ───────── */
.nx-quality-row { cursor: default; }
.nx-quality-ico { display: inline-flex; color: rgb(26 26 26 / .55); transition: color .5s cubic-bezier(.16,1,.3,1); }
.nx-quality-ico svg { width: 1.75rem; height: 1.75rem; stroke-width: 1.5; }

/* ───────── Home "Our Works": looping carousel (works/carousel.js) ───────── */
.nx-works-viewport { overflow: hidden; touch-action: pan-y; cursor: grab; outline: none; opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.nx-works-viewport.is-in { opacity: 1; transform: none; }
.nx-works-viewport.is-dragging { cursor: grabbing; }
.nx-works-viewport:focus-visible { outline: 2px solid var(--color-volt, #6600b9); outline-offset: 4px; }
.nx-works-track { display: flex; gap: 16px; direction: ltr; will-change: transform; }
.nx-work-slide { flex: 0 0 auto; user-select: none; -webkit-user-select: none; transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); opacity: .55; transform: scale(.94); }
.nx-work-slide.is-center { opacity: 1; transform: none; }
/* All services page: the work cards as a grid, one group per category (/works/carousel.js grid()) */
.nx-cards { display: flex; flex-direction: column; gap: 4rem; opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.nx-cards.is-in { opacity: 1; transform: none; }
.nx-cards-title { font-size: 1.75rem; padding-top: 1.5rem; border-top: 1px solid rgb(0 0 0 / .1); }
.nx-cards-grid { margin-top: 1.75rem; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .nx-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nx-cards-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .nx-cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .nx-cards { transition: none; opacity: 1; transform: none; } }
.nx-work-slide img { -webkit-user-drag: none; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .nx-works-viewport, .nx-work-slide { transition: none; } .nx-works-viewport { opacity: 1; transform: none; } }

/* ───────── Header Services menu: while closed, its (invisible) box must not catch clicks/drags on the page below ───────── */
.nx-menu-host { pointer-events: none; }
.nx-menu-host [data-ll-menu]:not(.pointer-events-none) { pointer-events: auto; }

/* ───────── Process timeline (components/steps.js) — same geometry as the Templates page "The process" ───────── */
.nx-steps-list { position: relative; display: grid; gap: 2.5rem; margin-top: 4rem; padding-inline-start: 3.5rem; list-style: none; }
.nx-steps-line, .nx-steps-progress { position: absolute; inset-inline-start: 19px; top: .5rem; bottom: .5rem; width: 1px; background: rgb(26 26 26 / .1); }
.nx-steps-progress { background: var(--color-volt, #6600b9); transform-origin: top; }
.nx-steps-item { position: relative; }
.nx-steps-dot { position: absolute; inset-inline-start: -3.5rem; top: 0; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgb(26 26 26 / .15); background: #6600b9; color: #fff; border-color: #6600b9; font-family: var(--font-mono, ui-monospace, monospace); font-size: 12px; }
.nx-steps-anim .nx-steps-dot { background: #f4f1ea; color: #5c6570; border-color: rgb(26 26 26 / .15); transition: background-color .4s, color .4s, border-color .4s; }
.nx-steps-anim .nx-steps-dot.is-on { background: #6600b9; color: #fff; border-color: #6600b9; }
.nx-steps-wait .nx-steps-progress { transform: scale(0); }
.nx-steps-wait .nx-steps-body { opacity: 0; }
@media (min-width: 64rem) {
  .nx-steps-list { grid-template-columns: repeat(var(--nx-steps, 4), minmax(0, 1fr)); gap: 2rem; padding-inline-start: 0; padding-top: 4rem; margin-top: 5rem; }
  .nx-steps-line, .nx-steps-progress { inset-inline: 0; top: 19px; bottom: auto; width: auto; height: 1px; }
  .nx-steps-progress { transform-origin: left; }
  [dir="rtl"] .nx-steps-progress { transform-origin: right; }
  .nx-steps-dot { inset-inline-start: 0; top: -4rem; }
}


/* "// Why NARSYSS" above the quality section: clear of the consultation banner, then the title and list */
.nx-quality-eyebrow { margin-top: 5rem; margin-bottom: 2.5rem; }
@media (min-width: 640px) { .nx-quality-eyebrow { margin-top: 7rem; margin-bottom: 3.5rem; } }

/* quality rows without numbers: title then icon on one line at every size */
.nx-quality-row > :first-child { grid-column: span 10 / span 10; }
.nx-quality-row > :last-child { grid-column: span 2 / span 2; justify-content: flex-end; }
@media (min-width: 768px) { .nx-quality-row > :first-child { grid-column: span 9 / span 9; } .nx-quality-row > :last-child { grid-column: span 3 / span 3; } }


/* ───────── "All services" entry in the Services menu (desktop + phone) ───────── */
.nx-all-thumb { display: flex; align-items: center; justify-content: center; color: var(--color-ink, #0a0a0a); }
.nx-all-ico { width: 1.25rem; height: 1.25rem; }
.nx-msvc-thumb.nx-all-thumb .nx-all-ico { width: 1rem; height: 1rem; }

/* ───────── Contact "Send message" stays black (the purple submit-button rule above is for the request forms); Arabic footer stamp line height ───────── */
form button[type="submit"].nx-send.bg-ink { background-color: var(--color-ink, #1a1a1a); }
form button[type="submit"].nx-send.bg-ink:hover { background-color: var(--color-ink-raise, #2a2a2a); }
html[lang="ar"] .nx-stamp { line-height: 1.25; }
