/* Intellexa — design tokens & base
   Converted from "Intellexa Website.dc.html" (Claude Design project). */

:root {
  --bg: #F6F5F3;
  --ink: #0B0B0C;
  --accent: #6C2BF5;
  --accent-soft: #9B6BFF;
  --pad: 40px;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Instrument Sans', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: #fff; }

.page { min-height: 100vh; overflow-x: hidden; }
.wrap { max-width: 1280px; margin: 0 auto; }

/* Animations */
@keyframes ix-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes ix-drift { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(4%, -6%, 0) scale(1.14); } 100% { transform: translate3d(0,0,0) scale(1); } }
@keyframes ix-drift2 { 0% { transform: translate3d(0,0,0) scale(1.05); } 50% { transform: translate3d(-6%, 5%, 0) scale(0.92); } 100% { transform: translate3d(0,0,0) scale(1.05); } }
@keyframes ix-spin { to { transform: rotate(360deg); } }
@keyframes ix-scan { 0% { transform: translateY(-100%); opacity: 0; } 20% { opacity: .9; } 80% { opacity: .9; } 100% { transform: translateY(900%); opacity: 0; } }
@keyframes ix-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ix-pulse { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.35); } }
@keyframes ix-bar { 0% { transform: scaleY(.35); } 50% { transform: scaleY(1); } 100% { transform: scaleY(.35); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Type helpers */
.kicker {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(11,11,12,.45);
}
.kicker--accent { color: var(--accent); }
.accent { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-block;
  border: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 15px 30px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--accent); color: var(--bg); }
.btn-dark--lift:hover { transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid rgba(11,11,12,.22); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--bg); color: var(--ink); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(246,245,243,.82);
  border-bottom: 1px solid rgba(11,11,12,.08);
}
.site-header .wrap {
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  gap: 48px;
}
.logo {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  cursor: pointer;
  flex: 0 0 auto;
}
.logo:hover { color: var(--ink); }
.logo-img { height: 22px; width: auto; display: block; }
/* CSS build of the mark in /img/logo.svg — same ratios, --s is the stroke. */
.logo-mark { --s: 7px; display: flex; align-items: flex-end; gap: calc(var(--s) * .5); }
.logo-mark .col { display: flex; flex-direction: column; align-items: center; gap: calc(var(--s) * .47); }
.logo-mark .dot { width: var(--s); height: var(--s); border-radius: 50%; background: var(--ink); }
.logo-mark .bar-s { width: var(--s); height: calc(var(--s) * 2.36); border-radius: 999px; background: var(--ink); }
.logo-mark .bar-l { width: var(--s); height: calc(var(--s) * 3.83); border-radius: 999px; background: var(--ink); }
.logo-mark .dot-accent { width: var(--s); height: var(--s); border-radius: 50%; background: var(--accent); }
.logo-word {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .176em;
  line-height: 1;
}
.site-nav { display: flex; gap: 32px; margin-inline-start: auto; align-items: center; }
.site-nav a.nav-link {
  font-size: 14.5px;
  letter-spacing: .01em;
  opacity: .75;
}
.site-nav a.nav-link:hover { opacity: 1; color: var(--accent); }
.site-nav a.nav-link.active { opacity: 1; color: var(--accent); }
.site-nav .btn { font-size: 14px; padding: 11px 22px; }
.site-nav .lang-switch {
  font-family: 'Outfit', 'IBM Plex Sans Arabic', sans-serif;
  font-size: 14px;
  padding: 7px 13px;
  border: 1px solid rgba(11,11,12,.18);
  border-radius: 999px;
  opacity: .8;
  transition: border-color .2s ease, color .2s ease, opacity .2s ease;
}
.site-nav .lang-switch:hover { opacity: 1; border-color: var(--accent); color: var(--accent); }

/* Hero */
.hero { position: relative; padding: 132px var(--pad) 96px; overflow: hidden; }
.hero-blobs { position: absolute; inset: -20% -10%; pointer-events: none; opacity: .85; }
.hero-blob1 {
  position: absolute; top: 6%; left: 46%;
  width: 46vw; height: 46vw; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(108,43,245,.42), rgba(108,43,245,0) 66%);
  filter: blur(14px);
  animation: ix-drift 19s ease-in-out infinite;
}
.hero-blob2 {
  position: absolute; top: 24%; left: 22%;
  width: 36vw; height: 36vw; border-radius: 50%;
  background: radial-gradient(circle at 55% 45%, rgba(11,11,12,.16), rgba(11,11,12,0) 62%);
  filter: blur(10px);
  animation: ix-drift2 24s ease-in-out infinite;
}
.hero-blob3 {
  position: absolute; top: 4%; right: 8%;
  width: 30vw; height: 30vw; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(108,43,245,.30), rgba(108,43,245,0) 38%, rgba(108,43,245,.18) 72%, rgba(108,43,245,0));
  filter: blur(26px);
  animation: ix-spin 40s linear infinite;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(11,11,12,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,11,12,.055) 1px, transparent 1px);
  background-size: 92px 92px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 78%);
}
.hero .wrap { position: relative; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 7px;
  padding-inline: 11px 15px;
  border: 1px solid rgba(11,11,12,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.6);
  font-size: 12.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  animation: ix-rise .7s cubic-bezier(.2,.7,.2,1) both;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: ix-pulse 2.4s ease-in-out infinite;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(46px, 7.4vw, 106px);
  line-height: .96;
  letter-spacing: -.035em;
  margin: 30px 0 0;
  max-width: 17ch;
  text-wrap: balance;
}
.hero-title .line { display: block; animation: ix-rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-title .line:nth-child(1) { animation-delay: .08s; }
.hero-title .line:nth-child(2) { animation-delay: .2s; }
.hero-title .line:nth-child(3) { animation-delay: .32s; font-weight: 500; }
.hero-sub {
  max-width: 54ch;
  font-size: 19px;
  line-height: 1.6;
  color: rgba(11,11,12,.7);
  margin: 34px 0 0;
  animation: ix-rise .8s cubic-bezier(.2,.7,.2,1) .46s both;
}
.hero-sub strong { font-weight: 600; color: var(--ink); }
.hero-ctas {
  display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap;
  animation: ix-rise .8s cubic-bezier(.2,.7,.2,1) .58s both;
}
.stat-grid {
  margin-top: 92px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(11,11,12,.1);
  border: 1px solid rgba(11,11,12,.1);
  border-radius: 18px;
  overflow: hidden;
  animation: ix-rise .9s cubic-bezier(.2,.7,.2,1) .7s both;
}
.stat-cell { background: rgba(255,255,255,.66); padding: 26px 24px; }
.stat-label {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(11,11,12,.45);
}
.stat-label--accent { color: var(--accent); }
.stat-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-top: 10px;
  letter-spacing: -.01em;
}

/* Marquee */
.marquee {
  padding: 26px 0;
  border-top: 1px solid rgba(11,11,12,.08);
  border-bottom: 1px solid rgba(11,11,12,.08);
  overflow: hidden;
  background: rgba(255,255,255,.4);
}
.marquee-track { display: flex; width: max-content; animation: ix-marq 34s linear infinite; }
.marquee-group {
  display: flex;
  gap: 56px;
  padding-inline-end: 56px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(11,11,12,.5);
  white-space: nowrap;
}
.marquee-group .diamond { color: var(--accent); }

/* Clients logo marquee — single-tone (soft black) logos */
.marquee-clients { padding: 30px 0; }
.marquee-clients .marquee-track { direction: ltr; animation-duration: 40s; }
.marquee-clients:hover .marquee-track { animation-play-state: paused; }
.marquee-clients .marquee-group { gap: 80px; padding-inline-end: 80px; align-items: center; }
.client-logo {
  display: block;
  height: 40px;
  width: auto;
  opacity: .55;
  filter: grayscale(1);
  transition: opacity .3s ease;
  user-select: none;
  -webkit-user-drag: none;
}
.client-logo:hover { opacity: .85; }
.client-tarbiya { height: 56px; }
.client-mu { height: 52px; }
.client-imamu, .client-mc { height: 50px; }
@media (max-width: 720px) {
  .marquee-clients .marquee-group { gap: 48px; padding-inline-end: 48px; }
  .client-logo { height: 30px; }
  .client-tarbiya { height: 42px; }
  .client-mu { height: 40px; }
  .client-imamu, .client-mc { height: 38px; }
}

/* Section headings */
.h2 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 0;
}

/* Flagship product (home) */
.product-section { padding: 110px var(--pad) 0; }
.product-section .wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: start;
}
.product-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 4.6vw, 66px);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 22px 0 0;
}
.product-lede { font-size: 20px; line-height: 1.55; margin: 24px 0 0; max-width: 42ch; }
.product-body { font-size: 17px; line-height: 1.65; color: rgba(11,11,12,.66); margin: 18px 0 0; max-width: 46ch; }
.feature-list {
  display: grid;
  gap: 1px;
  background: rgba(11,11,12,.12);
  margin-top: 38px;
  border-top: 1px solid rgba(11,11,12,.12);
}
.feature-row {
  background: var(--bg);
  padding: 18px 0;
  display: flex;
  gap: 18px;
  align-items: baseline;
}
.feature-num { font-family: var(--font-display); color: var(--accent); font-size: 14px; width: 26px; flex: 0 0 auto; }
.feature-title { font-weight: 600; font-size: 16px; }
.feature-desc { font-size: 15px; color: rgba(11,11,12,.6); margin-top: 4px; }
.product-cta { margin-top: 34px; }

/* Product frame (image-slot stand-in) */
.frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(11,11,12,.12);
  background: var(--ink);
}
.frame--product { aspect-ratio: 4 / 3.4; }
.frame--wide { aspect-ratio: 16 / 8; margin-top: 24px; }
.frame-art { position: absolute; inset: 0; opacity: .55; }
.frame-tint {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(108,43,245,.34), transparent 55%);
}
.frame-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(108,43,245,.9), transparent);
  animation: ix-scan 6s ease-in-out infinite;
  pointer-events: none;
}
.frame-caption {
  position: absolute; bottom: 22px; left: 22px; right: 22px;
  pointer-events: none;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.frame-caption-kicker {
  font-family: var(--font-display);
  color: rgba(255,255,255,.55);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.frame-caption-title {
  font-family: var(--font-display);
  color: #fff;
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -.02em;
  margin-top: 6px;
}
.eq { display: flex; align-items: flex-end; gap: 5px; height: 42px; }
.eq span { width: 5px; height: 100%; border-radius: 3px; transform-origin: bottom; animation: ix-bar 1.4s ease-in-out infinite; }
.eq span:nth-child(1) { background: rgba(108,43,245,.9); }
.eq span:nth-child(2) { background: rgba(108,43,245,.7); animation-delay: .2s; }
.eq span:nth-child(3) { background: rgba(108,43,245,.9); animation-delay: .4s; }
.eq span:nth-child(4) { background: rgba(255,255,255,.4); animation-delay: .6s; }

/* Mock case UI inside frames */
.mock-ui {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 88px 1fr;
  font-family: var(--font-display);
}
.mock-rail { border-inline-end: 1px solid rgba(255,255,255,.09); padding: 18px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mock-rail i { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.07); }
.mock-rail i.on { background: rgba(108,43,245,.55); }
.mock-main { padding: 22px 24px 96px; display: flex; flex-direction: column; gap: 12px; }
.mock-line { height: 12px; border-radius: 6px; background: rgba(255,255,255,.12); }
.mock-line.w60 { width: 60%; }
.mock-line.w80 { width: 80%; }
.mock-line.w45 { width: 45%; }
.mock-bubble {
  align-self: flex-start;
  max-width: 72%;
  padding: 12px 14px;
  border-radius: 14px;
  border-end-start-radius: 4px;
  background: rgba(255,255,255,.09);
  display: grid;
  gap: 7px;
}
.mock-bubble.me {
  align-self: flex-end;
  border-radius: 14px;
  border-end-end-radius: 4px;
  background: rgba(108,43,245,.4);
}
.mock-bubble i { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,.32); }
.mock-bubble i:last-child { width: 62%; }
.mock-vitals { margin-top: auto; display: flex; gap: 10px; }
.mock-vitals b {
  flex: 1;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
}
.mock-vitals b.hot { background: rgba(108,43,245,.3); border-color: rgba(108,43,245,.5); }

/* Sectors */
.sectors { padding: 120px var(--pad); }
.sectors-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.sectors-head .h2 { font-size: clamp(32px, 3.6vw, 50px); max-width: 22ch; }
.sectors-head p { font-size: 16px; color: rgba(11,11,12,.62); max-width: 40ch; margin: 0; }
.cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.sectors .cards3 { margin-top: 48px; }
.sector-card {
  border: 1px solid rgba(11,11,12,.12);
  border-radius: 20px;
  padding: 38px;
  background: rgba(255,255,255,.6);
  transition: border-color .2s ease, transform .2s ease;
}
.sector-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.sector-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -.02em;
  margin: 16px 0 0;
}
.sector-card p { font-size: 16px; line-height: 1.65; color: rgba(11,11,12,.66); margin: 14px 0 0; }
.dev-strip {
  margin-top: 20px;
  border: 1px dashed rgba(11,11,12,.2);
  border-radius: 20px;
  padding: 34px 38px;
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}
.dev-strip-copy { flex: 1 1 320px; }
.dev-strip h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -.02em;
  margin: 12px 0 0;
}
.dev-strip p { font-size: 15.5px; line-height: 1.6; color: rgba(11,11,12,.6); margin: 10px 0 0; max-width: 52ch; }
.dev-tiles { display: flex; gap: 10px; }
.dev-tile {
  width: 86px; height: 86px; border-radius: 14px;
  background: rgba(11,11,12,.05);
  border: 1px solid rgba(11,11,12,.08);
  display: grid; place-items: center;
  font-family: var(--font-display);
  color: rgba(11,11,12,.3);
  font-size: 26px;
}
.dev-tile--accent {
  background: rgba(108,43,245,.08);
  border-color: rgba(108,43,245,.3);
  color: var(--accent);
}

/* Why us (dark) */
.dark-section { background: var(--ink); color: var(--bg); padding: 118px var(--pad); }
.dark-section .kicker { color: rgba(246,245,243,.45); }
.dark-section .h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.04; margin-top: 22px; max-width: 24ch; }
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(246,245,243,.14);
  margin-top: 60px;
  border: 1px solid rgba(246,245,243,.14);
  border-radius: 18px;
  overflow: hidden;
}
.grid4-cell { background: var(--ink); padding: 34px 28px 40px; }
.grid4-figure { font-family: var(--font-display); color: var(--accent-soft); font-size: 30px; font-weight: 300; }
.grid4-title { font-family: var(--font-display); font-size: 19px; margin-top: 14px; }
.grid4-cell p { font-size: 15px; line-height: 1.6; color: rgba(246,245,243,.6); margin: 10px 0 0; }

/* Company */
.company { padding: 118px var(--pad); }
.company .wrap {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 72px;
  align-items: center;
}
.photo-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(11,11,12,.12);
  aspect-ratio: 4 / 5;
  position: relative;
  background:
    radial-gradient(120% 90% at 85% 8%, rgba(108,43,245,.5), transparent 55%),
    radial-gradient(110% 90% at 12% 96%, rgba(155,107,255,.42), transparent 58%),
    linear-gradient(165deg, #171519, #0B0B0C 70%);
}
.photo-frame .photo-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(246,245,243,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(246,245,243,.06) 1px, transparent 1px);
  background-size: 56px 56px;
}
.photo-mark {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 22px;
}
.photo-mark .logo-mark { --s: 20px; }
.photo-mark .dot, .photo-mark .bar-s, .photo-mark .bar-l { background: rgba(246,245,243,.85); }
.photo-mark .dot-accent { background: var(--accent-soft); }
.photo-mark > span:last-child {
  font-family: var(--font-display);
  color: rgba(246,245,243,.55);
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-top: 12px;
}
.company .h2 { font-size: clamp(32px, 3.8vw, 54px); margin-top: 22px; max-width: 24ch; }
.company p { font-size: 18px; line-height: 1.65; color: rgba(11,11,12,.7); margin: 18px 0 0; max-width: 52ch; }
.company p.first { margin-top: 26px; }
.fact-row { display: flex; gap: 40px; margin-top: 36px; flex-wrap: wrap; }
.fact-figure { font-family: var(--font-display); font-size: 34px; font-weight: 300; letter-spacing: -.02em; }
.fact-label { font-size: 14px; color: rgba(11,11,12,.55); margin-top: 4px; }

/* VCliniq page */
.vc-main { padding: 96px var(--pad) 118px; }
.vc-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: .98;
  letter-spacing: -.035em;
  margin: 22px 0 0;
}
.vc-lede { font-size: 21px; line-height: 1.55; margin: 26px 0 0; max-width: 50ch; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vc-main .cards3 { margin-top: 56px; }
.audience-card {
  border: 1px solid rgba(11,11,12,.12);
  border-radius: 18px;
  padding: 32px;
  background: rgba(255,255,255,.6);
}
.audience-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 25px;
  margin: 14px 0 0;
  letter-spacing: -.02em;
}
.audience-card p { font-size: 15.5px; line-height: 1.65; color: rgba(11,11,12,.65); margin: 12px 0 0; }
.vc-cta { margin-top: 40px; }

/* Careers page */
.careers-hero { position: relative; padding: 110px var(--pad) 70px; overflow: hidden; }
.careers-blob {
  position: absolute; top: -30%; right: -10%;
  width: 46vw; height: 46vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(108,43,245,.3), rgba(108,43,245,0) 65%);
  filter: blur(16px);
  animation: ix-drift 22s ease-in-out infinite;
  pointer-events: none;
}
.careers-hero .wrap { position: relative; }
.careers-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(42px, 6vw, 88px);
  line-height: .99;
  letter-spacing: -.035em;
  margin: 22px 0 0;
  max-width: 20ch;
}
.careers-sub { font-size: 19px; line-height: 1.6; color: rgba(11,11,12,.7); margin: 28px 0 0; max-width: 56ch; }
.careers-values { padding: 30px var(--pad) 40px; }
.value-card {
  border: 1px solid rgba(11,11,12,.12);
  border-radius: 18px;
  padding: 30px;
  background: rgba(255,255,255,.6);
}
.value-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  margin: 0;
  letter-spacing: -.01em;
}
.value-card p { font-size: 15.5px; line-height: 1.6; color: rgba(11,11,12,.65); margin: 10px 0 0; }
.roles-section { padding: 60px var(--pad) 118px; }
.roles-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.roles-head .h2 { font-size: clamp(30px, 3.4vw, 46px); }
.roles-head .aside { font-size: 15px; color: rgba(11,11,12,.55); }
.roles-list { margin-top: 34px; border-top: 1px solid rgba(11,11,12,.14); }
.role-row {
  border-bottom: 1px solid rgba(11,11,12,.14);
  padding: 26px 8px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr auto;
  gap: 24px;
  align-items: center;
  cursor: pointer;
  transition: background .18s ease, padding-inline-start .18s ease;
  color: var(--ink);
}
.role-row:hover { background: rgba(108,43,245,.05); padding-inline-start: 18px; color: var(--ink); }
.role-title { font-family: var(--font-display); font-size: 24px; font-weight: 400; letter-spacing: -.015em; }
.role-meta { font-size: 15px; color: rgba(11,11,12,.6); }
.role-apply {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

/* Contact page */
.contact-main { padding: 104px var(--pad) 118px; }
.contact-main .wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 5.2vw, 74px);
  line-height: 1;
  letter-spacing: -.035em;
  margin: 22px 0 0;
  max-width: 16ch;
}
.contact-sub { font-size: 18px; line-height: 1.6; color: rgba(11,11,12,.7); margin: 24px 0 0; max-width: 44ch; }
.contact-channels { margin-top: 44px; display: grid; gap: 22px; }
.channel-label {
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(11,11,12,.45);
}
.channel-value, .contact-channels a { font-size: 18px; }
.contact-card {
  border: 1px solid rgba(11,11,12,.14);
  border-radius: 22px;
  padding: 40px;
  background: rgba(255,255,255,.72);
}
.form-grid { display: grid; gap: 22px; }
.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(11,11,12,.5);
  margin-bottom: 9px;
}
.chip-row { display: flex; gap: 9px; flex-wrap: wrap; }
.chip {
  border: 1px solid rgba(11,11,12,.18);
  background: #fff;
  color: rgba(11,11,12,.72);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 9px 17px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .16s ease;
}
.chip[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field {
  width: 100%;
  border: 1px solid rgba(11,11,12,.18);
  border-radius: 11px;
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 15px;
  background: #fff;
  outline: none;
}
.field:focus { border-color: var(--accent); }
textarea.field { resize: vertical; }
.form-grid .btn { justify-self: start; padding: 16px 30px; }
.form-error { font-size: 14.5px; color: #B4231F; margin: -8px 0 0; display: none; }
.form-error.show { display: block; }
.form-success { padding: 60px 0; text-align: center; }
.success-check {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  margin: 0 auto;
  font-size: 24px;
}
.form-success h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -.02em;
  margin: 22px 0 0;
}
.form-success p { font-size: 16px; color: rgba(11,11,12,.65); margin: 10px 0 0; }
[hidden] { display: none !important; }

/* Footer */
.site-footer { background: var(--ink); color: var(--bg); padding: 84px var(--pad) 40px; }
.footer-cta {
  display: flex; justify-content: space-between; align-items: end;
  gap: 40px; flex-wrap: wrap;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(246,245,243,.16);
}
.footer-cta .h2 { font-size: clamp(32px, 4vw, 58px); line-height: 1.03; max-width: 22ch; }
.footer-cta .btn { padding: 16px 32px; }
.footer-base { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-top: 34px; }
.footer-logo { display: flex; align-items: flex-end; gap: 5px; }
.footer-logo .logo-mark { --s: 4.5px; margin-bottom: 2.5px; } /* sit on the wordmark baseline, not its descender */
.footer-logo .dot, .footer-logo .bar-s, .footer-logo .bar-l { background: var(--bg); }
.footer-logo .dot-accent { background: var(--accent-soft); }
.footer-logo .logo-word { font-size: 19px; }
.footer-links { display: flex; gap: 30px; font-size: 14px; color: rgba(246,245,243,.6); flex-wrap: wrap; }
.footer-links a { color: rgba(246,245,243,.6); }
.footer-links a:hover { color: var(--bg); }

/* 404 */
.notfound { padding: 160px var(--pad); text-align: center; }
.notfound h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 110px);
  letter-spacing: -.035em;
  margin: 0;
}
.notfound p { font-size: 18px; color: rgba(11,11,12,.65); margin: 18px 0 34px; }

/* Responsive */
@media (max-width: 1023px) {
  .stat-grid, .grid4 { grid-template-columns: repeat(2, 1fr); }
  .product-section .wrap, .company .wrap, .contact-main .wrap { grid-template-columns: 1fr; gap: 48px; }
  .cards3 { grid-template-columns: 1fr; }
  .company .photo-frame { max-width: 440px; }
}
@media (max-width: 767px) {
  :root { --pad: 20px; }
  .site-header .wrap { gap: 20px; flex-wrap: wrap; padding-block: 14px; }
  .site-nav { gap: 18px; flex-wrap: wrap; }
  .hero { padding-top: 84px; }
  .stat-grid { grid-template-columns: 1fr 1fr; margin-top: 60px; }
  .cards2, .grid4 { grid-template-columns: 1fr; }
  .form-2col { grid-template-columns: 1fr; }
  .role-row { grid-template-columns: 1fr auto; row-gap: 8px; }
  .role-row .role-meta { grid-column: 1 / -1; }
  .contact-card { padding: 26px 20px; }
}


/* Arabic / RTL
   Pages under /ar/ set <html lang="ar" dir="rtl">. Layout mirrors through the
   logical properties above; this block swaps the typefaces and undoes the
   Latin-only tracking and tight leading. */
[dir="rtl"] {
  --font-display: 'IBM Plex Sans Arabic', 'Outfit', sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Instrument Sans', sans-serif;
}
[dir="rtl"] *:not(.logo-word) { letter-spacing: 0; }
[dir="rtl"] .hero-title { line-height: 1.12; font-weight: 300; }
[dir="rtl"] .hero-title .line:nth-child(3) { font-weight: 500; }
[dir="rtl"] .h2, [dir="rtl"] .product-title, [dir="rtl"] .careers-title,
[dir="rtl"] .contact-title, [dir="rtl"] .vc-title { line-height: 1.22; }
[dir="rtl"] .sector-card h3, [dir="rtl"] .dev-strip h3, [dir="rtl"] .value-card h3,
[dir="rtl"] .audience-card h3, [dir="rtl"] .form-success h3, [dir="rtl"] .frame-caption-title,
[dir="rtl"] .role-title, [dir="rtl"] .fact-figure, [dir="rtl"] .grid4-figure { line-height: 1.35; }
[dir="rtl"] .hero-sub, [dir="rtl"] .careers-sub, [dir="rtl"] .contact-sub,
[dir="rtl"] .company p, [dir="rtl"] .product-body, [dir="rtl"] .sector-card p { line-height: 1.85; }
[dir="rtl"] .kicker, [dir="rtl"] .stat-label, [dir="rtl"] .channel-label,
[dir="rtl"] .form-label, [dir="rtl"] .frame-caption-kicker, [dir="rtl"] .badge,
[dir="rtl"] .marquee-group, [dir="rtl"] .role-apply,
[dir="rtl"] .photo-mark > span:last-child { text-transform: none; font-size: 14px; }
[dir="rtl"] .badge { font-size: 13.5px; }
[dir="rtl"] .marquee-group { font-size: 16px; }
/* The track starts flush right in RTL and overflows to the left, so it scrolls the other way. */
@keyframes ix-marq-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
[dir="rtl"] .marquee-track { animation-name: ix-marq-rtl; }
/* Email addresses and URLs read left-to-right inside Arabic copy (opt in with .ltr). */
[dir="rtl"] .ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
/* The mark and the Latin wordmark keep their left-to-right order. */
[dir="rtl"] .logo-mark, [dir="rtl"] .footer-logo { direction: ltr; }
[dir="rtl"] .field[type="email"] { direction: ltr; text-align: end; }
[dir="rtl"] .field[type="email"]::placeholder { direction: ltr; text-align: right; }

/* Content additions: section intro on dark, footer CTA sub-copy and button pair */
.dark-section .section-lede { font-size: 17px; line-height: 1.65; color: rgba(246,245,243,.6); margin: 22px 0 0; max-width: 62ch; }
.footer-cta-sub { font-size: 17px; line-height: 1.6; color: rgba(246,245,243,.6); margin: 18px 0 0; max-width: 52ch; }
.footer-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-cta .btn-outline { color: var(--bg); border-color: rgba(246,245,243,.3); }
.footer-cta .btn-outline:hover { color: var(--accent-soft); border-color: var(--accent-soft); }
[dir="rtl"] .dark-section .section-lede, [dir="rtl"] .footer-cta-sub { line-height: 1.85; }

/* Hero art — animated fan of frosted-glass panes on the empty side of the hero */
@keyframes ix-fan-in { from { opacity: 0; transform: translateY(40px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes ix-sway { 0%, 100% { transform: rotate(var(--r)); } 50% { transform: rotate(calc(var(--r) + var(--sw, 5deg))); } }
@keyframes ix-flow { from { background-position: 0% 0%; } to { background-position: 0% 100%; } }
@keyframes ix-shine { 0% { transform: translateY(-120%) rotate(18deg); opacity: 0; } 25% { opacity: .9; } 60% { opacity: .9; } 100% { transform: translateY(260%) rotate(18deg); opacity: 0; } }

.hero-art {
  position: absolute;
  top: 24px;
  inset-inline-end: 0;
  width: min(48vw, 720px);
  height: 860px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 55%, transparent 100%), linear-gradient(to bottom, #000 72%, transparent 98%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to left, #000 55%, transparent 100%), linear-gradient(to bottom, #000 72%, transparent 98%);
  mask-composite: intersect;
  animation: ix-fan-in 1.4s cubic-bezier(.2,.7,.2,1) .3s both;
}
.hero-fan { position: absolute; inset: 0; }
.pane {
  --r: 0deg;
  --c1: rgba(155,107,255,.75);
  --c2: rgba(108,43,245,.9);
  --c3: rgba(205,122,84,.85);
  position: absolute;
  bottom: -40px;
  right: 14%;
  width: 230px;
  height: 640px;
  border-radius: 38px;
  transform-origin: 50% 100%;
  transform: rotate(var(--r));
  overflow: hidden;
  background: linear-gradient(170deg,
      rgba(255,255,255,.85) 0%,
      var(--c1) 18%,
      var(--c2) 34%,
      rgba(22,20,58,.92) 46%,
      var(--c3) 60%,
      rgba(255,255,255,.75) 74%,
      var(--c1) 88%,
      var(--c2) 100%);
  background-size: 100% 260%;
  border: 1px solid rgba(255,255,255,.75);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.25),
    inset 0 30px 60px -20px rgba(255,255,255,.55),
    0 40px 70px -30px rgba(60,20,140,.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: ix-sway 11s ease-in-out infinite, ix-flow 14s ease-in-out infinite alternate;
}
.pane::after {
  content: "";
  position: absolute;
  inset-inline: -40%;
  top: 0;
  height: 26%;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.55), rgba(255,255,255,0));
  filter: blur(6px);
  animation: ix-shine 7s ease-in-out infinite;
}
.pane.p1 { --r: -66deg; --sw: 4deg; opacity: .55; animation-delay: -1s, -3s; }
.pane.p2 { --r: -52deg; --sw: 5deg; --c3: rgba(232,140,170,.8); opacity: .7; animation-delay: -2.5s, -7s; }
.pane.p3 { --r: -38deg; --sw: 6deg; --c2: rgba(78,52,190,.9); animation-delay: -4s, -1s; }
.pane.p4 { --r: -25deg; --sw: 5deg; --c1: rgba(215,140,100,.8); --c3: rgba(108,43,245,.85); animation-delay: -5.5s, -10s; }
.pane.p5 { --r: -12deg; --sw: 6deg; --c3: rgba(190,92,62,.9); animation-delay: -7s, -5s; }
.pane.p6 { --r: 1deg;   --sw: 5deg; --c1: rgba(232,140,170,.75); --c2: rgba(96,40,220,.9); animation-delay: -8.5s, -12s; }
.pane.p7 { --r: 14deg;  --sw: 4deg; --c2: rgba(40,44,110,.92); --c3: rgba(215,140,100,.85); animation-delay: -3s, -8s; }
.pane.p8 { --r: 27deg;  --sw: 3deg; opacity: .8; animation-delay: -6s, -2s; }
.pane.p2::after { animation-delay: -2s; }
.pane.p3::after { animation-delay: -4.5s; }
.pane.p4::after { animation-delay: -1s; }
.pane.p5::after { animation-delay: -5.5s; }
.pane.p6::after { animation-delay: -3s; }
.pane.p7::after { animation-delay: -6s; }
.pane.p8::after { animation-delay: -1.5s; }

[dir="rtl"] .hero-art {
  -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 100%), linear-gradient(to bottom, #000 72%, transparent 98%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, #000 55%, transparent 100%), linear-gradient(to bottom, #000 72%, transparent 98%);
  mask-composite: intersect;
}
[dir="rtl"] .hero-fan { transform: scaleX(-1); }

@media (max-width: 1023px) {
  .hero-art { display: none; }
}
/* Mirror the hero glow so it sits on the empty (inline-end) side in Arabic too */
[dir="rtl"] .hero-blobs { transform: scaleX(-1); }

/* Product icons on the product cards */
.product-icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(11,11,12,.1);
  box-shadow: 0 10px 24px -14px rgba(60,20,140,.35);
  display: grid; place-items: center;
  margin-bottom: 22px;
  transition: transform .2s ease, border-color .2s ease;
}
.product-icon img { width: 34px; height: 34px; object-fit: contain; display: block; }
.sector-card:hover .product-icon { border-color: rgba(108,43,245,.4); transform: translateY(-2px); }
.product-icon img.wide { width: 46px; height: 30px; }
.product-icon img.tile { width: 40px; height: 40px; }

/* Products: compact horizontal cards, links pinned to the bottom */
.product-grid { gap: 18px; margin-top: 40px; }
.product-grid .product-card { display: flex; gap: 22px; align-items: stretch; padding: 30px 32px; }
.product-grid .product-icon { margin: 0; flex: 0 0 auto; }
.product-grid .product-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.product-grid .product-card h3 { font-size: 26px; margin-top: 8px; }
.product-grid .product-card p { margin-top: 10px; }
.product-grid .product-card .card-links { margin-top: auto; padding-top: 16px; font-size: 15px; }
@media (max-width: 767px) {
  .product-grid .product-card { padding: 24px 22px; gap: 16px; }
  .product-grid .product-icon { width: 48px; height: 48px; border-radius: 13px; }
  .product-grid .product-icon img { width: 28px; height: 28px; }
  .product-grid .product-icon img.tile { width: 32px; height: 32px; }
  .product-grid .product-icon img.wide { width: 38px; height: 25px; }
}
.sectors#products { padding-top: 100px; padding-bottom: 10px; }
