/* ============================================================
   QuantOps — "Signal Desk" aesthetic
   Paper canvas · graph-grid · ink borders · hard shadows ·
   mono annotations · signal-orange · highlighter marks. RTL-ready.
   ============================================================ */

:root {
  /* paper + ink */
  --paper: #f4f1e9;
  --paper-2: #eae5d8;
  --card: #fcfbf7;
  --ink: #15243a;
  --ink-soft: #45556b;
  --muted: #6c7a8c;
  --hair: rgba(21,36,58,.14);
  --hair-soft: rgba(21,36,58,.08);
  --dot: rgba(21,36,58,.10);

  /* dark band */
  --navy: #0b1c30;
  --navy-2: #07121f;

  /* accents */
  --orange: #ff5a2c;
  --orange-2: #e8451b;
  --orange-soft: #ffe6dd;
  --blue: #2b5bf0;
  --blue-2: #1c46cf;
  --blue-soft: #e3e9ff;
  --yellow: #ffd23f;
  --whatsapp: #25d366;
  --whatsapp-deep: #128c7e;
  --sand: #c8a36a;

  /* type */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", monospace;
  --font-ar: "IBM Plex Sans Arabic", "Manrope", system-ui, sans-serif;

  /* shape */
  --bd: 2px solid var(--ink);
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 26px;
  --hard: 3px 3px 0 var(--ink);
  --hard-md: 5px 5px 0 var(--ink);
  --hard-lg: 8px 8px 0 var(--ink);

  --maxw: 1220px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[lang="ar"] body, body[dir="rtl"] { font-family: var(--font-ar); }
[dir="rtl"] { letter-spacing: 0 !important; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; color: var(--ink); line-height: 1.05; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { font-family: var(--font-ar); letter-spacing: 0; }
p { margin: 0; text-wrap: pretty; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }

/* highlighter marker for emphasis words */
.grad, .mark-hl { position: relative; color: var(--ink); -webkit-text-fill-color: var(--ink); background: none; padding: 0 .06em; white-space: nowrap; }
.grad::before, .mark-hl::before { content: ""; position: absolute; inset-inline: -.05em; inset-block-end: .04em; height: .42em; background: var(--yellow); z-index: -1; transform: skewX(-9deg) rotate(-.6deg); }
[dir="rtl"] .grad, [dir="rtl"] .mark-hl { white-space: normal; }

/* ---------- mono eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink);
}
[dir="rtl"] .eyebrow { text-transform: none; }
.eyebrow::before { content: ""; width: 12px; height: 12px; background: var(--orange); border: 2px solid var(--ink); border-radius: 3px; }

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); }
.section-head p { margin-top: 18px; color: var(--ink-soft); font-size: 19px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15.5px;
  padding: 13px 24px; border-radius: 100px; border: var(--bd); background: var(--card); color: var(--ink);
  box-shadow: var(--hard); transition: transform .12s ease, box-shadow .12s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
[dir="rtl"] .btn svg { transform: scaleX(-1); }
.btn:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-2); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #0c1a2c; color: #fff; }
.btn-ghost { background: var(--card); color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-lg { padding: 15px 30px; font-size: 16.5px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,241,233,.86);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 2px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.scrolled { border-bottom-color: var(--ink); background: rgba(244,241,233,.95); }
.nav-inner { display: flex; align-items: center; gap: 26px; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -.03em; color: var(--ink); }
.brand .logo {
  width: 36px; height: 36px; border-radius: 9px; flex: none;
  background: var(--orange); border: 2px solid var(--ink); box-shadow: var(--hard);
  position: relative;
}
.brand .logo::before { content: ""; position: absolute; inset: 7px; border: 2.5px solid var(--ink); border-radius: 50%; border-inline-end-color: transparent; }
.brand .logo::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); inset-block-start: 14px; inset-inline-start: 14px; }
.brand b { color: var(--orange); }

.nav-links { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav-links a {
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--ink-soft);
  padding: 8px 12px; border-radius: 8px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--orange-soft); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: 10px; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  border: var(--bd); background: var(--card); border-radius: 100px;
  padding: 8px 14px; font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: var(--ink);
  box-shadow: var(--hard); transition: transform .12s, box-shadow .12s, background .15s;
}
.lang-toggle:hover { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); background: var(--yellow); }
.lang-toggle svg { width: 15px; height: 15px; }

.nav-burger { display: none; width: 44px; height: 44px; border: var(--bd); border-radius: 11px; background: var(--card); box-shadow: var(--hard); align-items: center; justify-content: center; }
.nav-burger span { display: block; width: 18px; height: 2.4px; background: var(--ink); position: relative; }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2.4px; background: var(--ink); }
.nav-burger span::before { top: -6px; } .nav-burger span::after { top: 6px; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(52px, 7vw, 96px) clamp(56px, 7vw, 100px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-loc { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); background: var(--card); border: var(--bd); border-radius: 100px; padding: 7px 14px; box-shadow: var(--hard); margin-bottom: 24px; }
[dir="rtl"] .hero-loc { text-transform: none; }
.hero-loc .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--whatsapp); box-shadow: 0 0 0 3px rgba(37,211,102,.25); }
.hero h1 { font-size: clamp(42px, 6.2vw, 72px); line-height: 1.0; }
.hero-sub { margin-top: 26px; font-size: 20px; color: var(--ink-soft); max-width: 530px; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { margin-top: 40px; display: flex; gap: 0; flex-wrap: wrap; border: var(--bd); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--hard-md); background: var(--card); width: fit-content; }
.hero-trust .stat { padding: 16px 24px; border-inline-end: 2px solid var(--ink); }
.hero-trust .stat:last-child { border-inline-end: none; }
.hero-trust .stat .n { font-family: var(--font-display); font-weight: 700; font-size: 32px; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.hero-trust .stat .n b { color: var(--orange); }
.hero-trust .stat .l { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
[dir="rtl"] .hero-trust .stat .l { text-transform: none; }

.hero-visual { position: relative; }
.hero-visual::before { content: "// LIVE FEED"; position: absolute; inset-block-start: -16px; inset-inline-start: 14px; z-index: 4; font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: #fff; background: var(--ink); padding: 5px 10px; border-radius: 6px; transform: rotate(-2deg); }

/* ---------- marquee ticker ---------- */
.marquee { background: var(--ink); border-block: 2px solid var(--ink); overflow: hidden; }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 32s linear infinite; }
[dir="rtl"] .marquee-track { animation-direction: reverse; }
.marquee-track span { font-family: var(--font-mono); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--paper); padding: 13px 26px; display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--orange); font-size: 12px; }
[dir="rtl"] .marquee-track span { text-transform: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- logo strip ---------- */
.logos { padding-block: 30px; border-block: 2px solid var(--ink); background: var(--paper-2); }
.logos-row { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.logos-row .lbl { font-family: var(--font-mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); white-space: nowrap; }
[dir="rtl"] .logos-row .lbl { text-transform: none; }
.logo-mark { display: flex; align-items: center; gap: 9px; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 17px; opacity: .55; transition: opacity .2s, transform .2s; }
.logo-mark:hover { opacity: 1; transform: translateY(-2px); }
.logo-mark .gl { width: 20px; height: 20px; border: 2px solid currentColor; border-radius: 5px; }

/* ---------- section shells ---------- */
.band { padding-block: clamp(64px, 9vw, 110px); }
.band-soft { background: var(--paper-2); border-block: 2px solid var(--ink); }
.band-navy { background: var(--navy); color: #fff; border-block: 2px solid var(--ink); background-image: radial-gradient(rgba(255,255,255,.05) 1.2px, transparent 1.2px); background-size: 24px 24px; }
.band-navy h2, .band-navy h3, .band-navy h4 { color: #fff; }
.band-navy .eyebrow { color: #fff; }
.band-navy .eyebrow::before { border-color: #fff; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  background: var(--card); border: var(--bd); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--hard-md); transition: transform .14s ease, box-shadow .14s ease;
  position: relative; overflow: hidden;
}
.svc:hover { transform: translate(-2px, -3px); box-shadow: 7px 9px 0 var(--ink); }
.svc-ico { width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-2); border: 2px solid var(--ink); margin-bottom: 22px; }
.svc-ico svg { width: 26px; height: 26px; }
.svc h3 { font-size: 22px; margin-bottom: 11px; letter-spacing: -.02em; }
.svc p { color: var(--ink-soft); font-size: 15.5px; }
.svc .more { margin-top: 18px; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--orange-2); }
[dir="rtl"] .svc .more { text-transform: none; }
.svc .more svg { width: 15px; height: 15px; transition: transform .2s; }
[dir="rtl"] .svc .more svg { transform: scaleX(-1); }
.svc:hover .more svg { transform: translateX(4px); }
[dir="rtl"] .svc:hover .more svg { transform: scaleX(-1) translateX(4px); }
.svc.featured { background: var(--navy); color: #fff; }
.svc.featured h3 { color: #fff; }
.svc.featured p { color: rgba(255,255,255,.8); }
.svc.featured .svc-ico { background: var(--orange); color: #fff; border-color: #fff; }
.svc.featured .more { color: var(--yellow); }
.svc .tag { position: absolute; inset-block-start: 20px; inset-inline-end: 20px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); background: var(--yellow); padding: 5px 11px; border-radius: 100px; border: 2px solid var(--ink); transform: rotate(4deg); }
[dir="rtl"] .svc .tag { text-transform: none; }

/* ---------- feature split ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.feature.rev .feature-copy { order: 2; }
.feature-copy .eyebrow { margin-bottom: 18px; }
.feature-copy h2 { font-size: clamp(30px, 3.8vw, 46px); }
.feature-copy .lead { margin-top: 20px; font-size: 19px; color: var(--ink-soft); }
.feature-list { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; padding: 0; }
.feature-list li { list-style: none; display: flex; gap: 13px; align-items: flex-start; font-size: 16px; color: var(--ink); }
.feature-list .ck { flex: none; width: 26px; height: 26px; border-radius: 7px; background: var(--orange); color: #fff; border: 2px solid var(--ink); display: grid; place-items: center; margin-top: 1px; }
.feature-list .ck svg { width: 14px; height: 14px; }
.band-navy .feature-list li { color: rgba(255,255,255,.9); }
.feature-cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Tawasel WhatsApp mockup ---------- */
.chat-app {
  width: 100%; border-radius: var(--r-lg); overflow: hidden; background: #fff;
  border: var(--bd); box-shadow: var(--hard-lg); font-family: var(--font-body);
  display: grid; grid-template-columns: 38% 1fr; min-height: 440px;
}
.chat-side { background: #fff; border-inline-end: 2px solid var(--ink); display: flex; flex-direction: column; }
.chat-side-top { padding: 16px 16px 12px; border-bottom: 1px solid var(--hair); }
.chat-side-top .ttl { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); }
.chat-side-top .ttl .wa { width: 22px; height: 22px; border-radius: 6px; background: var(--whatsapp); display: grid; place-items: center; }
.chat-side-top .ttl .wa svg { width: 13px; height: 13px; color: #fff; }
.chat-search { margin-top: 12px; height: 32px; border-radius: 8px; background: #f1f3f6; display: flex; align-items: center; gap: 8px; padding-inline: 11px; color: #9aa6b4; font-size: 12.5px; }
.chat-search svg { width: 13px; height: 13px; }
.chat-list { flex: 1; overflow: hidden; }
.chat-row { display: flex; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--hair-soft); align-items: center; }
.chat-row.active { background: var(--orange-soft); }
.chat-av { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px; border: 2px solid var(--ink); }
.chat-meta { flex: 1; min-width: 0; }
.chat-meta .nm { font-weight: 700; font-size: 13.5px; color: var(--ink); display: flex; justify-content: space-between; gap: 8px; }
.chat-meta .nm time { font-family: var(--font-mono); font-weight: 700; font-size: 10px; color: #9aa6b4; }
.chat-meta .pv { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.chat-badge { background: var(--whatsapp); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 100px; display: grid; place-items: center; padding-inline: 5px; border: 1.5px solid var(--ink); }
.pipe-tag { font-family: var(--font-mono); font-size: 9.5px; font-weight: 700; padding: 2px 7px; border-radius: 100px; margin-top: 5px; display: inline-block; border: 1.5px solid var(--ink); text-transform: uppercase; }
[dir="rtl"] .pipe-tag { text-transform: none; }
.pipe-new { background: var(--blue-soft); color: var(--blue-2); }
.pipe-won { background: #d7f5e3; color: #11804b; }
.pipe-foll { background: var(--yellow); color: #6b4e00; }

.chat-main { background: #efeae1; display: flex; flex-direction: column; }
.chat-head { background: #fff; border-bottom: 1px solid var(--hair); padding: 12px 16px; display: flex; align-items: center; gap: 11px; }
.chat-head .chat-av { width: 34px; height: 34px; font-size: 13px; }
.chat-head .info { flex: 1; }
.chat-head .info .nm { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink); }
.chat-head .info .st { font-family: var(--font-mono); font-size: 11px; color: var(--whatsapp-deep); font-weight: 700; }
.chat-head .assign { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; color: var(--blue-2); background: var(--blue-soft); padding: 4px 9px; border-radius: 100px; border: 1.5px solid var(--ink); }
.chat-body { flex: 1; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.bub { max-width: 76%; padding: 9px 13px; border-radius: 14px; font-size: 13px; line-height: 1.5; border: 1.5px solid var(--ink); }
.bub.in { background: #fff; align-self: flex-start; border-start-start-radius: 4px; color: var(--ink); }
.bub.out { background: #d9fdd3; align-self: flex-end; border-start-end-radius: 4px; color: #0b2e1c; }
.bub .tm { display: block; font-family: var(--font-mono); font-size: 9.5px; color: rgba(0,0,0,.4); margin-top: 4px; text-align: end; }
.bub.bot { background: var(--yellow); align-self: flex-start; }
.bub.bot .bt { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: var(--ink); margin-bottom: 4px; text-transform: uppercase; }
[dir="rtl"] .bub.bot .bt { text-transform: none; }
.chat-input { background: #fff; border-top: 1px solid var(--hair); padding: 11px 14px; display: flex; align-items: center; gap: 10px; }
.chat-input .field { flex: 1; height: 36px; border-radius: 100px; background: #f1f3f6; display: flex; align-items: center; padding-inline: 14px; color: #9aa6b4; font-size: 12.5px; }
.chat-input .send { width: 36px; height: 36px; border-radius: 50%; background: var(--whatsapp); display: grid; place-items: center; flex: none; border: 2px solid var(--ink); }
.chat-input .send svg { width: 16px; height: 16px; color: #fff; }
[dir="rtl"] .chat-input .send svg { transform: scaleX(-1); }

/* ---------- Market Intel panel (homepage) ---------- */
.mi-panel {
  background: var(--navy); border: var(--bd); border-radius: var(--r-lg); padding: 26px; color: #fff;
  box-shadow: var(--hard-lg); position: relative; overflow: hidden;
  background-image: radial-gradient(rgba(255,255,255,.05) 1.2px, transparent 1.2px); background-size: 22px 22px;
}
.mi-top { display: flex; align-items: center; justify-content: space-between; position: relative; }
.mi-top .t { font-family: var(--font-mono); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; display: flex; align-items: center; gap: 9px; }
[dir="rtl"] .mi-top .t { text-transform: none; }
.mi-top .t .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--whatsapp); box-shadow: 0 0 0 4px rgba(37,211,102,.22); }
.mi-top .src { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.5); }
.mi-score { margin-top: 22px; display: flex; align-items: flex-end; gap: 16px; position: relative; }
.mi-score .big { font-family: var(--font-display); font-weight: 700; font-size: 58px; line-height: 1; letter-spacing: -.03em; }
.mi-score .big small { font-size: 22px; color: rgba(255,255,255,.5); font-weight: 600; }
.mi-score .delta { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--whatsapp); display: flex; align-items: center; gap: 4px; padding-bottom: 7px; }
.mi-score .cap { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.55); padding-bottom: 9px; text-transform: uppercase; }
[dir="rtl"] .mi-score .cap { text-transform: none; }
.mi-bars { margin-top: 24px; display: flex; flex-direction: column; gap: 13px; position: relative; }
.mi-bar .lbl { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 6px; color: rgba(255,255,255,.82); }
.mi-bar .lbl b { font-family: var(--font-mono); font-weight: 700; }
.mi-track { height: 9px; border-radius: 100px; background: rgba(255,255,255,.12); overflow: hidden; border: 1.5px solid rgba(255,255,255,.25); }
.mi-fill { height: 100%; border-radius: 100px; }
.mi-tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.mi-chip { font-family: var(--font-mono); font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 100px; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.25); color: rgba(255,255,255,.9); display: flex; align-items: center; gap: 6px; }
.mi-chip .pos { color: var(--whatsapp); } .mi-chip .neg { color: #ff8a8a; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding-top: 8px; }
.step .num { font-family: var(--font-mono); font-weight: 700; font-size: 16px; color: var(--ink); width: 50px; height: 50px; border-radius: 13px; border: var(--bd); display: grid; place-items: center; background: var(--orange); box-shadow: var(--hard); }
.band-navy .step .num { background: var(--orange); border-color: #fff; color: var(--ink); box-shadow: 3px 3px 0 rgba(0,0,0,.4); }
.step h3 { font-size: 20px; margin: 22px 0 10px; }
.step p { font-size: 15px; color: var(--ink-soft); }
.band-navy .step p { color: rgba(255,255,255,.7); }
.step .conn { position: absolute; inset-block-start: 24px; inset-inline-start: 62px; inset-inline-end: -8px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 7px, transparent 7px 13px); }
.band-navy .step .conn { background: repeating-linear-gradient(90deg, rgba(255,255,255,.4) 0 7px, transparent 7px 13px); }
[dir="rtl"] .step .conn { background: repeating-linear-gradient(270deg, var(--ink) 0 7px, transparent 7px 13px); }
.step:last-child .conn { display: none; }

/* ---------- industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ind { background: var(--card); border: var(--bd); border-radius: var(--r-md); padding: 26px 24px; box-shadow: var(--hard); transition: transform .14s, box-shadow .14s; }
.ind:hover { transform: translate(-2px,-3px); box-shadow: var(--hard-md); }
.ind .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); display: grid; place-items: center; margin-bottom: 18px; }
.ind .ico svg { width: 23px; height: 23px; }
.ind h3 { font-size: 18px; margin-bottom: 9px; }
.ind p { font-size: 14px; color: var(--ink-soft); }

/* ---------- stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats-band .s { text-align: center; padding: 22px 14px; border: 2px solid rgba(255,255,255,.25); border-radius: var(--r-md); background: rgba(255,255,255,.04); }
.stats-band .s .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5vw, 58px); letter-spacing: -.04em; line-height: 1; color: var(--yellow); }
.stats-band .s .l { font-family: var(--font-mono); margin-top: 14px; color: rgba(255,255,255,.72); font-size: 12.5px; text-transform: uppercase; letter-spacing: .02em; }
[dir="rtl"] .stats-band .s .l { text-transform: none; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.value-cards { display: grid; gap: 16px; }
.value { display: flex; gap: 16px; background: var(--card); border: var(--bd); border-radius: var(--r-md); padding: 22px; box-shadow: var(--hard); }
.value .ico { flex: none; width: 46px; height: 46px; border-radius: 11px; background: var(--blue-soft); color: var(--blue-2); border: 2px solid var(--ink); display: grid; place-items: center; }
.value .ico svg { width: 22px; height: 22px; }
.value h4 { font-size: 17px; margin-bottom: 5px; }
.value p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- testimonial ---------- */
.quote-wrap { max-width: 900px; margin-inline: auto; text-align: center; }
.quote-wrap .mark { font-family: var(--font-display); font-size: 80px; line-height: 0; color: var(--orange); height: 40px; }
.quote-wrap blockquote { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(23px, 3.1vw, 33px); line-height: 1.3; color: var(--ink); letter-spacing: -.02em; }
.quote-author { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 13px; }
.quote-author .av { width: 50px; height: 50px; border-radius: 50%; background: var(--orange); color: #fff; border: 2px solid var(--ink); box-shadow: var(--hard); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.quote-author .who { text-align: start; }
.quote-author .who .n { font-weight: 700; font-size: 15px; color: var(--ink); }
.quote-author .who .r { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }

/* ---------- contact ---------- */
.contact-card {
  background: var(--navy); border: var(--bd); border-radius: var(--r-xl); padding: clamp(30px, 5vw, 56px); color: #fff;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px);
  box-shadow: var(--hard-lg); position: relative; overflow: hidden;
  background-image: radial-gradient(rgba(255,255,255,.05) 1.2px, transparent 1.2px); background-size: 24px 24px;
}
.contact-copy { position: relative; }
.contact-copy h2 { color: #fff; font-size: clamp(30px, 3.8vw, 46px); }
.contact-copy .lead { margin-top: 18px; color: rgba(255,255,255,.74); font-size: 18px; }
.contact-meta { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.contact-meta .row { display: flex; align-items: center; gap: 14px; }
.contact-meta .ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.3); display: grid; place-items: center; color: var(--yellow); flex: none; }
.contact-meta .ico svg { width: 20px; height: 20px; }
.contact-meta .k { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .03em; }
[dir="rtl"] .contact-meta .k { text-transform: none; }
.contact-meta .v { font-size: 16px; font-weight: 600; }
.form { position: relative; background: rgba(255,255,255,.05); border: 2px solid rgba(255,255,255,.25); border-radius: var(--r-lg); padding: 26px; }
.field-group { margin-bottom: 16px; }
.field-group label { display: block; font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: rgba(255,255,255,.7); margin-bottom: 8px; }
[dir="rtl"] .field-group label { text-transform: none; }
.field-group input, .field-group textarea {
  width: 100%; background: rgba(255,255,255,.07); border: 2px solid rgba(255,255,255,.25);
  border-radius: 11px; padding: 13px 15px; color: #fff; font-family: var(--font-body); font-size: 15px; transition: border-color .2s, background .2s;
}
[dir="rtl"] .field-group input, [dir="rtl"] .field-group textarea { font-family: var(--font-ar); }
.field-group input::placeholder, .field-group textarea::placeholder { color: rgba(255,255,255,.4); }
.field-group input:focus, .field-group textarea:focus { outline: none; border-color: var(--orange); background: rgba(255,90,44,.1); }
.field-group textarea { resize: vertical; min-height: 96px; }
.form .btn { width: 100%; }
.form-note { margin-top: 14px; font-family: var(--font-mono); font-size: 11.5px; color: rgba(255,255,255,.45); text-align: center; }

/* ---------- footer ---------- */
.footer { background: var(--navy-2); color: rgba(255,255,255,.7); padding-block: 64px 30px; border-top: 2px solid var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer-about { font-size: 14.5px; color: rgba(255,255,255,.55); max-width: 300px; }
.footer-col h5 { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px; }
[dir="rtl"] .footer-col h5 { text-transform: none; }
.footer-col a { display: block; font-size: 14.5px; color: rgba(255,255,255,.6); padding: 6px 0; transition: color .15s, transform .15s; }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
[dir="rtl"] .footer-col a:hover { transform: translateX(-3px); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12.5px; color: rgba(255,255,255,.45); }
.footer-bottom a { color: rgba(255,255,255,.6); }

/* ---------- reveal anim ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- mobile menu ---------- */
.mobile-menu { display: none; position: fixed; inset-block-start: 76px; inset-inline: 0; inset-block-end: 0; z-index: 49; background: var(--paper); padding: 24px var(--gutter); flex-direction: column; gap: 4px; border-top: 2px solid var(--ink); }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ink); padding: 14px 0; border-bottom: 2px solid var(--hair); }
.mobile-menu .btn { margin-top: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .feature, .feature.rev .feature-copy, .about-grid, .contact-card { grid-template-columns: 1fr; }
  .feature.rev .feature-copy { order: 0; }
  .feature .feature-media { order: -1; }
  .svc-grid, .steps, .ind-grid, .stats-band { grid-template-columns: repeat(2, 1fr); }
  .step .conn { display: none; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .hero-visual { max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .svc-grid, .steps, .ind-grid, .stats-band, .footer-grid { grid-template-columns: 1fr; }
  .chat-app { grid-template-columns: 1fr; min-height: 0; }
  .chat-side { display: none; }
  .nav-actions .btn { display: none; }
  .hero-trust { width: 100%; }
  .hero-trust .stat { flex: 1; }
}


/* ============================================================
   Shared components for content / service / legal / blog pages
   (added for full-site redesign — Signal Desk vocabulary)
   ============================================================ */
.page-hero { padding-block: clamp(40px,5.5vw,72px) clamp(34px,4.5vw,56px); }
.page-hero .wrap { max-width: 880px; }
.page-hero .crumb { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing:.03em; margin-bottom: 18px; display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.page-hero .crumb a { color: var(--orange-2); }
.page-hero .crumb .sep { color: var(--hair); }
.page-hero h1 { font-size: clamp(36px,5.2vw,60px); line-height:1.04; }
.page-hero .lead { margin-top: 22px; font-size: 20px; color: var(--ink-soft); max-width: 700px; }
.page-hero .hero-cta { margin-top: 30px; display:flex; gap:14px; flex-wrap:wrap; }

.card-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:20px; }
.card-grid.two { grid-template-columns: repeat(2,1fr); }
.card-grid.four { grid-template-columns: repeat(4,1fr); }
.card { background: var(--card); border: var(--bd); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--hard-md); transition: transform .14s, box-shadow .14s; }
.card:hover { transform: translate(-2px,-3px); box-shadow: 7px 9px 0 var(--ink); }
.card .dn { font-family: var(--font-mono); font-weight:700; font-size:12px; color: var(--orange-2); letter-spacing:.04em; }
.card .ico { width:50px; height:50px; border-radius:13px; background: var(--blue-soft); color: var(--blue-2); border:2px solid var(--ink); display:grid; place-items:center; margin:14px 0 16px; }
.card .ico svg { width:24px; height:24px; }
.card h3 { font-size:19px; margin-bottom:9px; letter-spacing:-.02em; }
.card p { font-size:14.5px; color: var(--ink-soft); }
.card .ico.y { background: var(--yellow); color: var(--ink); }
.card .ico.o { background: var(--orange); color:#fff; border-color: var(--ink); }
.band-navy .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.25); }
.band-navy .card p { color: rgba(255,255,255,.7); }

.checklist { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:13px; }
.checklist li { display:flex; gap:13px; align-items:flex-start; font-size:16px; color: var(--ink); }
.checklist .ck { flex:none; width:26px; height:26px; border-radius:7px; background: var(--orange); color:#fff; border:2px solid var(--ink); display:grid; place-items:center; margin-top:1px; }
.checklist .ck svg { width:14px; height:14px; }
.band-navy .checklist li { color: rgba(255,255,255,.9); }

.faq { max-width: 820px; margin-inline:auto; display:flex; flex-direction:column; gap:14px; }
.faq details { background: var(--card); border: var(--bd); border-radius: var(--r-md); box-shadow: var(--hard); overflow:hidden; }
.faq summary { list-style:none; cursor:pointer; padding:18px 22px; font-family: var(--font-display); font-weight:700; font-size:17px; color: var(--ink); display:flex; justify-content:space-between; align-items:center; gap:14px; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary .pl { flex:none; width:24px; height:24px; border-radius:7px; background: var(--yellow); border:2px solid var(--ink); display:grid; place-items:center; font-family: var(--font-mono); font-weight:700; transition: transform .2s; }
.faq details[open] summary .pl { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--ink-soft); font-size:15.5px; line-height:1.6; }

.prose { max-width: 760px; margin-inline:auto; }
.prose > p:first-of-type { font-size: 20px; color: var(--ink); }
.prose h2 { font-size: clamp(26px,3vw,36px); margin: 44px 0 16px; }
.prose h3 { font-size: 22px; margin: 30px 0 12px; }
.prose p { font-size: 17px; color: var(--ink-soft); margin-bottom: 18px; }
.prose ul, .prose ol { color: var(--ink-soft); font-size:17px; margin:0 0 20px; padding-inline-start: 22px; }
.prose li { margin-bottom: 9px; }
.prose a { color: var(--orange-2); text-decoration: underline; text-underline-offset:3px; }
.prose blockquote { margin: 24px 0; padding: 16px 22px; border-inline-start: 4px solid var(--orange); background: var(--paper-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-style: italic; color: var(--ink); }
.prose .callout { background: var(--card); border: var(--bd); border-radius: var(--r-md); box-shadow: var(--hard); padding: 20px 24px; margin: 26px 0; }
.prose .callout strong { color: var(--orange-2); }
.prose img { border:var(--bd); border-radius: var(--r-md); box-shadow: var(--hard-md); margin: 26px 0; }

.toc { background: var(--paper-2); border: var(--bd); border-radius: var(--r-md); box-shadow: var(--hard); padding: 22px 26px; margin-bottom: 34px; }
.toc h5 { font-family: var(--font-mono); font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color: var(--orange-2); margin:0 0 12px; }
[dir="rtl"] .toc h5 { text-transform:none; }
.toc ol { margin:0; padding-inline-start: 20px; color: var(--ink-soft); font-size:15px; }
.toc a { color: var(--ink-soft); }
.toc a:hover { color: var(--orange-2); }

.post-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
.post-card { display:flex; flex-direction:column; background: var(--card); border: var(--bd); border-radius: var(--r-lg); box-shadow: var(--hard-md); overflow:hidden; transition: transform .14s, box-shadow .14s; }
.post-card:hover { transform: translate(-2px,-3px); box-shadow: 7px 9px 0 var(--ink); }
.post-card .pc-top { height: 8px; background: var(--orange); border-bottom:2px solid var(--ink); }
.post-card .pc-body { padding: 24px; display:flex; flex-direction:column; flex:1; }
.post-card .pc-cat { font-family: var(--font-mono); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color: var(--orange-2); }
[dir="rtl"] .post-card .pc-cat { text-transform:none; }
.post-card h3 { font-size:20px; margin:12px 0 10px; letter-spacing:-.02em; }
.post-card p { font-size:14.5px; color: var(--ink-soft); flex:1; }
.post-card .pc-meta { margin-top:16px; display:flex; align-items:center; gap:8px; font-family: var(--font-mono); font-size:12px; color: var(--muted); }
.post-card .pc-more { margin-top:14px; display:inline-flex; align-items:center; gap:7px; font-family: var(--font-mono); font-weight:700; font-size:13px; color: var(--orange-2); }
.post-card .pc-more svg { width:15px; height:15px; }
[dir="rtl"] .post-card .pc-more svg { transform: scaleX(-1); }
.post-card.feat { grid-column: 1 / -1; }
.post-card.feat .pc-body { padding: 32px; }
.post-card.feat h3 { font-size: clamp(24px,3vw,32px); }

.metric-row { display:grid; grid-template-columns: repeat(4,1fr); gap:18px; }
.metric { background: var(--card); border: var(--bd); border-radius: var(--r-md); box-shadow: var(--hard); padding: 22px; text-align:center; }
.band-navy .metric { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.25); }
.metric .n { font-family: var(--font-display); font-weight:700; font-size: clamp(34px,4vw,46px); letter-spacing:-.03em; color: var(--ink); line-height:1; }
.band-navy .metric .n { color: var(--yellow); }
.metric .n b { color: var(--orange); }
.metric .l { font-family: var(--font-mono); font-size:11.5px; color: var(--muted); margin-top:10px; text-transform:uppercase; letter-spacing:.02em; }
.band-navy .metric .l { color: rgba(255,255,255,.72); }
[dir="rtl"] .metric .l { text-transform:none; }

.simple-cta { text-align:center; max-width:680px; margin-inline:auto; }
.simple-cta h2 { font-size: clamp(28px,3.6vw,44px); }
.simple-cta p { margin-top:16px; font-size:18px; color: var(--ink-soft); }
.simple-cta .actions { margin-top:28px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

.pills { display:flex; flex-wrap:wrap; gap:10px; }
.pill { font-family: var(--font-mono); font-weight:700; font-size:13px; color: var(--ink); background: var(--card); border:2px solid var(--ink); border-radius:100px; padding:8px 15px; box-shadow: var(--hard); }

@media (max-width: 980px) {
  .card-grid, .card-grid.four, .post-grid, .metric-row { grid-template-columns: repeat(2,1fr); }
  .card-grid.two { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .card-grid, .card-grid.four, .post-grid, .metric-row { grid-template-columns: 1fr; }
}
.card .more { margin-top:16px; display:inline-flex; align-items:center; gap:7px; font-family: var(--font-mono); font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:.03em; color: var(--orange-2); }
[dir="rtl"] .card .more { text-transform:none; }
.card .more svg { width:15px; height:15px; transition: transform .2s; }
[dir="rtl"] .card .more svg { transform: scaleX(-1); }
.card:hover .more svg { transform: translateX(4px); }
[dir="rtl"] .card:hover .more svg { transform: scaleX(-1) translateX(4px); }
