/* Zamam marketing site. One stylesheet. Tokens follow frontend/src/styles/tokens.css (--ds-petrol-*). */
:root {
  --petrol-300: #5ccbdb;
  --petrol-400: #37b6c9;
  --petrol-600: #0b6e7f;
  --petrol-700: #095d6b;
  --petrol-ink: #06181c;
  --signal: #3ddc97;
  --amber: #f5b544;
  --r-1: 8px;
  --r-2: 12px;
  --r-3: 20px;
  --r-4: 28px;
  --r-pill: 999px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(96px, 12vw, 168px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Inter Tight", system-ui, sans-serif;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #030c0f;
  --bg-2: #061419;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-solid: #0a1d22;
  --glass: rgba(8, 26, 31, 0.62);
  --line: rgba(160, 230, 240, 0.1);
  --line-2: rgba(160, 230, 240, 0.18);
  --text: #eaf6f8;
  --text-2: #a9bfc4;
  --muted: #8aa3a9;
  --brand: #37b6c9;
  --brand-text: #6fd6e5;
  --brand-soft: rgba(55, 182, 201, 0.12);
  --on-brand: #04161a;
  --btn-bg: linear-gradient(180deg, #6fd6e5 0%, #37b6c9 100%);
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --shadow-2: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 40px 80px -30px rgba(0, 0, 0, 0.85);
  --map-bg: #061519;
  --map-glow: #0b2a31;
  --ill-stroke: #6fd6e5;
  --ill-dim: rgba(160, 230, 240, 0.16);
  --ill-fill: rgba(255, 255, 255, 0.03);
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f8f9;
  --bg-2: #eaf1f3;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-2: #ffffff;
  --surface-solid: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --line: rgba(6, 24, 28, 0.09);
  --line-2: rgba(6, 24, 28, 0.16);
  --text: #071a1f;
  --text-2: #33494f;
  --muted: #4d6268;
  --brand: #0b6e7f;
  --brand-text: #095d6b;
  --brand-soft: rgba(11, 110, 127, 0.08);
  --on-brand: #ffffff;
  --btn-bg: linear-gradient(180deg, #13849a 0%, #0b6e7f 100%);
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 18px 40px -22px rgba(6, 40, 48, 0.28);
  --shadow-2: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 40px 80px -36px rgba(6, 40, 48, 0.35);
  --map-bg: #e3eef1;
  --map-glow: #f7fbfc;
  --ill-stroke: #0b6e7f;
  --ill-dim: rgba(6, 24, 28, 0.12);
  --ill-fill: rgba(255, 255, 255, 0.85);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html[lang="ar"] body {
  font-family: var(--font-ar);
  line-height: 1.75;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--brand-text);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}
.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--brand);
  color: var(--on-brand);
  border-radius: var(--r-2);
  text-decoration: none;
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html[data-theme="light"] .grain {
  opacity: 0.03;
}

/* ---------- Type ---------- */
.display {
  margin: 0;
  font-weight: 700;
  font-size: clamp(46px, 7.4vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.display .line {
  display: block;
}
html[lang="ar"] .display {
  letter-spacing: 0;
  line-height: 1.18;
  font-size: clamp(48px, 7vw, 98px);
}
.grad {
  background: linear-gradient(100deg, var(--petrol-300) 0%, #a7f0f8 45%, var(--petrol-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="light"] .grad {
  background-image: linear-gradient(100deg, #0b6e7f 0%, #13a0b5 55%, #095d6b 100%);
}
.h2 {
  margin: 0;
  font-weight: 650;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
html[lang="ar"] .h2 {
  letter-spacing: 0;
  line-height: 1.3;
  font-weight: 700;
}
h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 600;
}
html[lang="ar"] h3 {
  letter-spacing: 0;
}
p {
  margin: 0 0 1em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-text);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}
html[lang="ar"] .eyebrow {
  letter-spacing: 0;
  font-size: 15px;
}
.lede,
.section-lede {
  color: var(--text-2);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  max-width: 34em;
}
.note {
  color: var(--muted);
  font-size: 14px;
}
.muted {
  color: var(--muted);
}
.center {
  text-align: center;
  margin-inline: auto;
}
.section-head.center .section-lede {
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  --mx: 0px;
  --my: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 20px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--on-brand);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 10px 30px -10px rgba(55, 182, 201, 0.6);
  transform: translate(var(--mx), var(--my));
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.2s;
}
.btn:hover {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 16px 40px -12px rgba(55, 182, 201, 0.75);
  transform: translate(var(--mx), calc(var(--my) - 2px));
}
.btn-sm {
  min-height: 38px;
  padding: 7px 16px;
  font-size: 14px;
}
.btn-lg {
  min-height: 56px;
  padding: 14px 26px;
  font-size: 16px;
}
.btn-sub {
  padding-inline-start: 10px;
  border-inline-start: 1px solid rgba(4, 22, 26, 0.25);
  font-weight: 500;
  opacity: 0.8;
  font-size: 14px;
}
html[data-theme="light"] .btn-sub {
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line-2);
  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: var(--surface-2);
  box-shadow: none;
  border-color: var(--brand);
}
.btn-block {
  width: 100%;
}
.btn svg,
.link-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}
[dir="rtl"] .btn svg.arrow,
[dir="rtl"] .link-arrow svg {
  transform: scaleX(-1);
}
.btn:hover svg.arrow,
.link-arrow:hover svg {
  transform: translateX(3px);
}
[dir="rtl"] .btn:hover svg.arrow,
[dir="rtl"] .link-arrow:hover svg {
  transform: scaleX(-1) translateX(3px);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-text);
  font-weight: 600;
  text-decoration: none;
  padding: 6px 0;
}
.link-arrow:hover span {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.linkbtn {
  background: none;
  border: 0;
  padding: 6px 0;
  color: var(--text-2);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.iconbtn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: var(--surface);
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s;
}
.iconbtn:hover {
  border-color: var(--brand);
  background: var(--surface-2);
}
.iconbtn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
html[data-theme="dark"] .i-moon,
html[data-theme="light"] .i-sun {
  display: none;
}
#lang span {
  font-family: var(--font-ar);
  line-height: 1;
}
html[lang="ar"] #lang span {
  font-family: var(--font);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom-color: var(--line);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.brand img {
  width: 30px;
  height: 30px;
}
.navlinks {
  display: flex;
  gap: 4px;
  margin-inline-start: auto;
}
.navlinks > a {
  padding: 8px 12px;
  border-radius: var(--r-pill);
  text-decoration: none;
  font-size: 15px;
  color: var(--text-2);
  transition: color 0.2s, background 0.2s;
}
.navlinks > a:hover {
  color: var(--text);
  background: var(--surface-2);
}
.tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.menu-btn {
  display: none;
}
.mobile-nav {
  display: grid;
  gap: 4px;
  padding: 12px var(--gutter) 24px;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.mobile-nav[hidden] {
  display: none;
}
.mobile-nav a:not(.btn) {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: 18px;
}
.mobile-nav .btn {
  margin-top: 12px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(760px, 100svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 120px 0 80px;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-art canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero-art.ready canvas {
  opacity: 1;
}
.hero-poster {
  position: absolute;
  inset: 0;
  background: var(--poster) center / cover no-repeat;
  transition: opacity 1s var(--ease);
}
html[data-theme="dark"] .hero-poster {
  --poster: url("assets/hero-poster-dark.webp"), radial-gradient(80% 70% at 70% 45%, #0c2e35 0%, #030c0f 70%);
}
html[data-theme="light"] .hero-poster {
  --poster: url("assets/hero-poster-light.webp"), radial-gradient(80% 70% at 70% 45%, #ffffff 0%, #e6eff1 70%);
}
[dir="rtl"] .hero-poster {
  transform: scaleX(-1);
}
.hero-art.ready .hero-poster {
  opacity: 0;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 82%, transparent) 30%, transparent 62%),
    linear-gradient(0deg, var(--bg) 0%, transparent 26%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 70%, transparent) 0%, transparent 18%);
}
[dir="rtl"] .hero-scrim {
  background:
    linear-gradient(-90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 82%, transparent) 30%, transparent 62%),
    linear-gradient(0deg, var(--bg) 0%, transparent 26%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 70%, transparent) 0%, transparent 18%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: 40px;
}
.hero-copy {
  max-width: 680px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 7px 14px 7px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 14px;
  color: var(--text-2);
}
.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--signal);
  animation: ping 2s var(--ease) infinite;
}
@keyframes ping {
  from {
    transform: scale(0.6);
    opacity: 1;
  }
  to {
    transform: scale(2.2);
    opacity: 0;
  }
}
.hero .lede {
  margin: 28px 0 36px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
.hero-facts li {
  display: grid;
  gap: 2px;
  padding-inline: 0 28px;
  margin-inline-end: 28px;
  border-inline-end: 1px solid var(--line-2);
  font-size: 14px;
  color: var(--muted);
}
.hero-facts li:last-child {
  border: 0;
  margin: 0;
}
.hero-facts b {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero-phone {
  position: relative;
  justify-self: end;
  margin: 0;
  width: min(290px, 100%);
  perspective: 1200px;
}
.phone-frame {
  position: relative;
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 40%, rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 50px 100px -30px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 0 80px -20px rgba(55, 182, 201, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform-style: preserve-3d;
}
html[data-theme="light"] .phone-frame {
  background: linear-gradient(160deg, #ffffff, #e8f0f2 60%, #ffffff);
  border-color: rgba(6, 24, 28, 0.12);
  box-shadow: 0 50px 90px -40px rgba(6, 40, 48, 0.45), 0 0 0 1px rgba(6, 24, 28, 0.06);
}
.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 34px;
  background: #fff;
}
.phone-glare {
  position: absolute;
  inset: 10px;
  border-radius: 34px;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.28) 0%, transparent 28%);
  mix-blend-mode: soft-light;
}
.hero-phone .phone-frame {
  transform: rotateY(-14deg) rotateX(6deg) rotateZ(2deg);
  animation: float 7s ease-in-out infinite;
}
[dir="rtl"] .hero-phone .phone-frame {
  transform: rotateY(14deg) rotateX(6deg) rotateZ(-2deg);
}
@keyframes float {
  50% {
    translate: 0 -12px;
  }
}
.toast {
  position: absolute;
  z-index: 2;
  transform: translateZ(80px);
  inset-inline-start: -96px;
  top: 58%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: var(--shadow-2);
  font-size: 14px;
  line-height: 1.3;
}
.toast b {
  display: block;
  font-weight: 600;
}
.toast small {
  color: var(--muted);
  font-size: 12px;
}
.toast-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px var(--brand-soft);
}
.toast.pop {
  animation: pop 0.6s var(--ease);
}
@keyframes pop {
  0% {
    transform: scale(0.94);
  }
  40% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}
.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  translate: -50% 0;
  width: 26px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--brand-text);
  animation: cue 2s var(--ease) infinite;
}
@keyframes cue {
  60% {
    transform: translateY(12px);
    opacity: 0;
  }
}

/* ---------- Proof ---------- */
.proof {
  position: relative;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, var(--brand-soft));
}
.proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.proof-item {
  display: grid;
  gap: 4px;
  padding: 34px 28px;
  border-inline-start: 1px solid var(--line);
}
.proof-item:first-child {
  border-inline-start: 0;
  padding-inline-start: 0;
}
.proof-item b {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 650;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
html[lang="ar"] .proof-item b {
  letter-spacing: 0;
}
.proof-item span {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding-block: var(--section);
}
.section-head {
  max-width: 820px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head .section-lede {
  margin-top: 22px;
}
.card {
  position: relative;
  border-radius: var(--r-3);
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 7%, var(--surface-2)), var(--surface) 70%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  padding: 32px;
  transform-style: preserve-3d;
  transition: border-color 0.3s, transform 0.5s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(92, 203, 219, 0.14), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover {
  border-color: var(--line-2);
}
.card:hover::before {
  opacity: 1;
}

/* Pillars bento */
.pillars::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(50% 40% at 85% 20%, rgba(55, 182, 201, 0.09), transparent 70%);
}
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pillar-xl {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}
.pillar-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 14px;
  background: var(--brand-soft);
  border: 1px solid var(--line-2);
}
.pillar-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--ill-stroke);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pillar p {
  color: var(--text-2);
  margin: 0;
}
.pillar-xl h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.025em;
}
.draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.js .pillar .draw {
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.2s var(--ease) 0.2s;
}
.js .pillar.in .draw,
.js .pillar:hover .draw {
  stroke-dashoffset: 0;
}
.pillar:hover .pillar-icon {
  border-color: var(--brand);
}
.pillar-visual {
  position: relative;
  flex: 1;
  min-height: 220px;
  margin-top: 32px;
  border-radius: var(--r-2);
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 80% at 50% 50%, var(--brand-soft), transparent 70%),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 40px);
  overflow: hidden;
}
.pillar-visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--ill-stroke);
  stroke-width: 1.5;
  opacity: 0.7;
}
.pillar-visual .flow {
  stroke-dasharray: 0.02 0.015;
  stroke-dashoffset: 0;
  animation: flow 6s linear infinite;
}
@keyframes flow {
  to {
    stroke-dashoffset: -1;
  }
}
.node {
  position: absolute;
  z-index: 1;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--glass);
  border: 1px solid var(--line-2);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.n1 {
  top: 16%;
  inset-inline-start: 4%;
}
.n2 {
  bottom: 16%;
  inset-inline-start: 4%;
}
.n3 {
  top: 16%;
  inset-inline-end: 4%;
}
.n4 {
  bottom: 16%;
  inset-inline-end: 4%;
}
.hub {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--surface-solid);
  border: 1px solid var(--line-2);
  box-shadow: 0 0 0 10px var(--brand-soft), 0 0 50px rgba(55, 182, 201, 0.35);
}

/* Modules tabs */
.tabs {
  display: flex;
  gap: 6px;
  padding: 6px;
  margin-bottom: 28px;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  scrollbar-width: none;
}
.tabs [role="tab"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: 44px;
  padding: 8px 18px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--text-2);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s;
}
.tabs [role="tab"]:hover {
  color: var(--text);
}
.tabs [aria-selected="true"] {
  background: var(--surface-2);
  color: var(--text);
  box-shadow: var(--shadow-1), 0 0 0 1px var(--line-2);
}
.tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-2);
  transition: background 0.3s, box-shadow 0.3s;
}
[aria-selected="true"] .tab-dot {
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.panels {
  position: relative;
  border-radius: var(--r-4);
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 90% at 100% 0%, var(--brand-soft), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
}
.panel[hidden] {
  display: none;
}
.panel h3 {
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
html[lang="ar"] .panel h3 {
  letter-spacing: 0;
  line-height: 1.35;
}
.panel-copy > p {
  color: var(--text-2);
  font-size: 18px;
}
.ticks {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.ticks li {
  position: relative;
  padding-inline-start: 30px;
  color: var(--text);
}
.ticks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.2em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%2337b6c9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 18px no-repeat,
    var(--brand-soft);
}
html[lang="ar"] .ticks li::before {
  top: 0.4em;
}
.panel-art svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.panel-art svg text {
  font: 600 14px var(--font);
  fill: var(--text-2);
  text-anchor: middle;
}
.panel-art svg text.th {
  font-size: 15px;
  fill: var(--text);
}
.panel-art svg text.start {
  text-anchor: start;
}
.panel-art svg text.end {
  text-anchor: end;
  fill: var(--muted);
}
.panel-art svg text.big {
  font-size: 40px;
  font-weight: 700;
  fill: var(--text);
}
.ill-surface {
  fill: var(--ill-fill);
  stroke: var(--line-2);
}
.panel-art g > rect,
.panel-art g > circle,
.panel-art g > path,
.ill-bubble rect,
.ill-sheet rect {
  fill: var(--ill-fill);
  stroke: var(--ill-dim);
  stroke-width: 1.5;
}
.panel-art .draw,
.panel-art .ill-route {
  fill: none !important;
  stroke: var(--ill-stroke) !important;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.panel-art .ill-route {
  stroke-width: 5;
  filter: drop-shadow(0 0 8px rgba(55, 182, 201, 0.6));
}
.ill-grid path {
  fill: none !important;
  stroke: var(--line) !important;
}
.ill-pin {
  fill: var(--brand) !important;
  stroke: none !important;
}
.ill-pin.hot {
  filter: drop-shadow(0 0 10px var(--brand));
}
.ill-truck circle {
  fill: var(--surface-solid) !important;
  stroke: var(--ill-stroke) !important;
  stroke-width: 2.5 !important;
}
.st {
  fill: var(--ill-fill) !important;
}
.st.on,
.cells .on,
.cta {
  fill: var(--brand-soft) !important;
  stroke: var(--brand) !important;
}
.cells .on {
  fill: var(--brand) !important;
}
.tag {
  fill: var(--brand-soft) !important;
  stroke: transparent !important;
}
.rule {
  fill: none !important;
  stroke: var(--line-2) !important;
}
.qr rect {
  fill: #fff !important;
  stroke: var(--line-2) !important;
}
.qr .qr-fill {
  fill: #06181c !important;
  stroke: none !important;
}
.ill-warn {
  fill: var(--amber) !important;
  stroke: none !important;
}
.ill-stamp circle {
  fill: var(--brand-soft) !important;
  stroke: var(--brand) !important;
}
.hd {
  fill: var(--surface-2) !important;
}
.js .panel .draw {
  stroke-dashoffset: 1;
}
.js .panel.is-active .draw {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.4s var(--ease) 0.15s;
}
.js .panel.is-active .ill-route {
  transition-duration: 2.2s;
}
.js .panel.is-active .panel-art g,
.js .panel.is-active .panel-copy > * {
  animation: rise 0.7s var(--ease) both;
}
.js .panel.is-active .panel-copy > *:nth-child(2) {
  animation-delay: 0.05s;
}
.js .panel.is-active .panel-copy > *:nth-child(3) {
  animation-delay: 0.1s;
}
.js .panel.is-active .panel-art g:nth-of-type(2) {
  animation-delay: 0.1s;
}
.js .panel.is-active .panel-art g:nth-of-type(3) {
  animation-delay: 0.2s;
}
.js .panel.is-active .panel-art g:nth-of-type(4) {
  animation-delay: 0.3s;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
[dir="rtl"] .panel-art svg {
  transform: scaleX(-1);
}
[dir="rtl"] .panel-art svg text {
  transform: scaleX(-1);
  transform-box: fill-box;
  transform-origin: center;
}

/* Live map */
.live {
  position: relative;
  background:
    radial-gradient(60% 60% at 70% 50%, rgba(55, 182, 201, 0.12), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg));
  border-block: 1px solid var(--line);
}
.live-pin {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 100px 60px;
}
.live-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: center;
}
.captions {
  list-style: none;
  padding: 0;
  margin: 36px 0;
  display: grid;
  gap: 4px;
}
.caption {
  display: flex;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--r-2);
  border: 1px solid transparent;
  opacity: 0.45;
  transition: opacity 0.4s, background 0.4s, border-color 0.4s;
}
.caption.is-on {
  opacity: 1;
  background: var(--surface);
  border-color: var(--line);
}
.caption h3 {
  font-size: 18px;
  margin-bottom: 4px;
}
.caption p {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
}
.cap-n {
  font: 600 13px var(--font);
  color: var(--brand-text);
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}
.scrubber label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
html[lang="ar"] .scrubber label {
  letter-spacing: 0;
  text-transform: none;
}
.scrubber input[type="range"] {
  --p: 0%;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.scrubber input::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand) var(--p), var(--line-2) var(--p));
}
[dir="rtl"] .scrubber input::-webkit-slider-runnable-track {
  background: linear-gradient(-90deg, var(--brand) var(--p), var(--line-2) var(--p));
}
.scrubber input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--brand);
  box-shadow: 0 0 0 6px var(--brand-soft);
}
.scrubber input::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: var(--line-2);
}
.scrubber input::-moz-range-progress {
  height: 6px;
  border-radius: 3px;
  background: var(--brand);
}
.scrubber input::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--brand);
}
.scrub-times {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
[dir="rtl"] .scrub-times {
  flex-direction: row-reverse;
}
.map-stage {
  position: relative;
  perspective: 1400px;
  perspective-origin: 50% 20%;
  aspect-ratio: 10 / 8;
}
.map-plane {
  --tilt: 48deg;
  --rot: -18deg;
  --zoom: 0.92;
  --tx: 0%;
  --ty: 0%;
  position: absolute;
  inset: 6% 0 0;
  transform: rotateX(var(--tilt)) rotateZ(var(--rot)) scale(var(--zoom)) translate(var(--tx), var(--ty));
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  will-change: transform;
}
.map-svg {
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--line-2);
}
html[data-theme="light"] .map-svg {
  box-shadow: 0 60px 120px -50px rgba(6, 40, 48, 0.45), 0 0 0 1px var(--line-2);
}
.map-svg .lot {
  fill: color-mix(in srgb, var(--text) 5%, transparent);
  stroke: color-mix(in srgb, var(--brand) 18%, transparent);
  stroke-width: 1;
}
.map-svg .lot.hi {
  fill: color-mix(in srgb, var(--brand) 16%, transparent);
}
html[data-theme="light"] .map-svg .lot {
  fill: #ffffff;
  stroke: rgba(11, 110, 127, 0.14);
}
html[data-theme="light"] .map-svg .lot.hi {
  fill: #d6eef2;
}
.map-svg .park {
  fill: rgba(61, 220, 151, 0.08);
  stroke: rgba(61, 220, 151, 0.2);
}
.m-roads line {
  stroke: color-mix(in srgb, var(--text) 7%, transparent);
  stroke-width: 14;
}
.m-arterial {
  stroke: color-mix(in srgb, var(--text) 11%, transparent);
  stroke-width: 22;
}
.m-ghost path {
  fill: none;
  stroke: var(--brand);
  stroke-opacity: 0.22;
  stroke-width: 3;
  stroke-dasharray: 2 8;
  stroke-linecap: round;
}
.m-route-bg {
  fill: none;
  stroke: var(--brand);
  stroke-opacity: 0.12;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.m-route {
  fill: none;
  stroke: url(#rg);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 6px rgba(55, 182, 201, 0.8));
}
.m-veh circle {
  fill: var(--brand);
}
.m-veh .m-veh-halo {
  fill: var(--brand);
  opacity: 0.18;
}
.m-start circle {
  fill: var(--surface-solid);
  stroke: var(--brand);
  stroke-width: 3;
}
.m-start .dot {
  fill: var(--brand);
  stroke: none;
}
.m-end rect {
  fill: var(--surface-solid);
  stroke: var(--text);
  stroke-width: 3;
}
.m-alert {
  opacity: 0;
  transition: opacity 0.3s;
}
.m-alert.on {
  opacity: 1;
}
.m-alert circle {
  fill: var(--amber);
}
.m-alert .m-alert-halo {
  opacity: 0.25;
  transform-box: fill-box;
  transform-origin: center;
  animation: halo 1.4s ease-out infinite;
}
.m-alert path {
  stroke: #1d1405;
  stroke-width: 3;
  stroke-linecap: round;
}
.m-label rect {
  fill: var(--glass);
  stroke: var(--line-2);
}
.m-label text {
  font: 700 12px var(--font);
  fill: var(--text);
  letter-spacing: 0.08em;
}
.m-driver .m-driver-core {
  fill: #fff;
  stroke: var(--brand);
  stroke-width: 5;
}
.m-driver .m-driver-halo {
  fill: var(--brand);
  opacity: 0.3;
}
.m-driver .m-ping {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: halo 2s ease-out infinite;
}
.m-driver.off .m-driver-core {
  stroke: var(--amber);
}
.m-driver.off .m-driver-halo,
.m-driver.off .m-ping {
  fill: var(--amber);
  stroke: var(--amber);
}
@keyframes halo {
  from {
    transform: scale(0.5);
    opacity: 0.9;
  }
  to {
    transform: scale(1.6);
    opacity: 0;
  }
}
.map-hud {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: min(320px, 90%);
  padding: 18px;
  border-radius: var(--r-3);
  background: var(--glass);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: var(--shadow-2);
}
.hud-driver {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.3;
}
.hud-driver small {
  display: block;
  color: var(--signal);
  font-weight: 600;
}
.hud-driver small.off {
  color: var(--amber);
}
html[data-theme="light"] .hud-driver small {
  color: #0a7a4c;
}
html[data-theme="light"] .hud-driver small.off {
  color: #8a5a00;
}
.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  background: var(--btn-bg);
  color: var(--on-brand);
  font-weight: 700;
  font-size: 13px;
}
.hud-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin: 0;
}
.hud-stats dt {
  font-size: 12px;
  color: var(--muted);
}
.hud-stats dd {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
[dir="rtl"] .hud-stats {
  direction: rtl;
}
[dir="rtl"] .hud-stats dd {
  direction: ltr;
  text-align: end;
}
.map-tag {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line-2);
  background: var(--glass);
}

/* Driver phones */
.driver {
  overflow: hidden;
}
.phones {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  perspective: 1600px;
  padding-block: 20px 40px;
}
.phone {
  margin: 0;
  width: clamp(150px, 17vw, 236px);
  flex: none;
  transform-style: preserve-3d;
  text-align: center;
}
.phone figcaption {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.phone .phone-frame {
  border-radius: 36px;
  padding: 8px;
}
.phone .phone-frame img {
  border-radius: 28px;
}
.phone.p1,
.phone.p5 {
  transform: translateZ(-120px) rotateY(var(--ry, 0deg));
  opacity: 0.85;
}
.phone.p1 {
  --ry: 18deg;
}
.phone.p5 {
  --ry: -18deg;
}
.phone.p2 {
  transform: translateZ(-50px) rotateY(9deg) translateY(-24px);
}
.phone.p4 {
  transform: translateZ(-50px) rotateY(-9deg) translateY(-24px);
}
.phone.p3 {
  transform: translateZ(30px) translateY(-48px);
}
.phone.p3 .phone-frame {
  box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.7), 0 0 120px -20px rgba(55, 182, 201, 0.55);
}
.store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 20px;
  margin-top: 24px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  line-height: 1.2;
}
.store svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.store small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.store b {
  font-size: 15px;
  font-weight: 600;
}
.driver .note {
  margin-top: 20px;
}

/* How */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.steps-line {
  position: absolute;
  top: 24px;
  inset-inline-start: 28px;
  width: calc(66.667% + 16px);
  height: 8px;
  overflow: visible;
}
.steps-line path {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  vector-effect: non-scaling-stroke;
}
[dir="rtl"] .steps-line {
  transform: scaleX(-1);
}
.step {
  position: relative;
}
.step-n {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  border-radius: 18px;
  background: var(--surface-solid);
  border: 1px solid var(--line-2);
  box-shadow: 0 0 0 8px var(--bg), var(--shadow-1);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-text);
}
.step h3 {
  font-size: 22px;
}
.step p {
  color: var(--text-2);
  max-width: 30ch;
}

/* Pricing */
.pricing::before {
  content: "";
  position: absolute;
  inset: 10% 0 auto;
  height: 70%;
  pointer-events: none;
  background:
    radial-gradient(40% 50% at 25% 50%, rgba(55, 182, 201, 0.14), transparent 70%),
    radial-gradient(30% 40% at 80% 30%, rgba(61, 220, 151, 0.06), transparent 70%);
}
[dir="rtl"] .pricing::before {
  transform: scaleX(-1);
}
.plans {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: var(--r-4);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-1);
  transform-style: preserve-3d;
}
.plan-featured {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-solid) 92%, #37b6c9), var(--surface-solid)) padding-box,
    linear-gradient(160deg, #6fd6e5, rgba(55, 182, 201, 0.15) 45%, #37b6c9) border-box;
  box-shadow: 0 40px 100px -40px rgba(55, 182, 201, 0.55), var(--shadow-2);
}
.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.plan h3 {
  font-size: 22px;
  margin: 0;
}
.badge {
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--brand-soft);
  border: 1px solid var(--brand);
  color: var(--brand-text);
  font-size: 13px;
  font-weight: 600;
}
.plan-for {
  color: var(--muted);
  margin: 8px 0 24px;
  font-size: 15px;
}
.price {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin: 0 0 28px;
  min-height: 84px;
}
.price b {
  font-size: 84px;
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.06em;
}
.price > span {
  display: grid;
  line-height: 1.2;
  padding-bottom: 6px;
  font-weight: 600;
  font-size: 20px;
}
.price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.price-text {
  font-size: 34px;
  font-weight: 650;
  letter-spacing: -0.03em;
  align-items: flex-end;
  padding-bottom: 6px;
}
html[lang="ar"] .price-text {
  letter-spacing: 0;
}
.plan .ticks {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.pricing-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.pricing-foot .note {
  margin: 0;
}

/* Security */
.security-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}
.sticky-head {
  position: sticky;
  top: 120px;
  margin: 0;
}
.sec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
}
.sec {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 32px 28px;
  border-bottom: 1px solid var(--line);
  border-inline-end: 1px solid var(--line);
  transition: background 0.3s;
}
.sec:hover {
  background: var(--surface);
}
.sec svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--brand-text);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sec h3 {
  font-size: 18px;
}
.sec p {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 64px;
  align-items: start;
}
.faq .section-head {
  position: sticky;
  top: 120px;
}
.faq .section-lede a {
  color: var(--brand-text);
  font-weight: 600;
}
.accordion {
  border-top: 1px solid var(--line);
}
.accordion details {
  border-bottom: 1px solid var(--line);
}
.accordion summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 24px 0;
  padding-inline-end: 48px;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 550;
  transition: color 0.2s;
}
.accordion summary::-webkit-details-marker {
  display: none;
}
.accordion summary::after {
  content: "";
  position: absolute;
  inset-inline-end: 4px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--text), var(--text)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 1.5px 10px no-repeat;
  transition: transform 0.35s var(--ease), background-color 0.3s;
}
.accordion details[open] summary::after {
  transform: rotate(135deg);
  background-color: var(--brand-soft);
}
.accordion summary:hover {
  color: var(--brand-text);
}
.acc-body p {
  margin: 0;
  padding: 0 0 26px;
  padding-inline-end: 48px;
  color: var(--text-2);
}
.accordion details[open] .acc-body {
  animation: rise 0.45s var(--ease);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 40px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
}
.about-facts div {
  padding: 20px 22px;
  background: var(--bg);
}
.about-facts dt {
  font-size: 13px;
  color: var(--muted);
}
.about-facts dd {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.kafd-card {
  position: relative;
  border-radius: var(--r-4);
  border: 1px solid var(--line);
  background: radial-gradient(80% 80% at 50% 40%, var(--bg-2), var(--bg));
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.kafd-card svg {
  width: 100%;
  height: auto;
}
.k-roads path {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 10;
}
.k-towers path {
  fill: color-mix(in srgb, var(--brand) 22%, var(--surface-solid));
  stroke: var(--brand-text);
  stroke-width: 1.5;
}
.k-base {
  fill: var(--brand-soft);
}
.k-pin circle {
  fill: var(--brand);
  opacity: 0.25;
  transform-box: fill-box;
  transform-origin: center;
  animation: halo 2.4s ease-out infinite;
}
.k-pin .dot {
  fill: var(--brand-text);
  opacity: 1;
  animation: none;
}
.kafd-label {
  position: absolute;
  inset-inline-start: 20px;
  bottom: 20px;
  display: grid;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  line-height: 1.35;
}
.kafd-label span {
  color: var(--muted);
  font-size: 14px;
}

/* Contact */
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 36px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(55, 182, 201, 0.18), transparent 60%),
    radial-gradient(50% 70% at 100% 100%, rgba(11, 110, 127, 0.22), transparent 60%),
    var(--bg-2);
  box-shadow: var(--shadow-2);
}
[dir="rtl"] .contact-card {
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(55, 182, 201, 0.18), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(11, 110, 127, 0.22), transparent 60%),
    var(--bg-2);
}
.contact-lines {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.contact-lines li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-lines svg,
.wa {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: var(--brand-text);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-lines a {
  text-decoration: none;
}
.contact-lines a:hover {
  text-decoration: underline;
}
.form {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: var(--r-4);
  background: var(--glass);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}
.field.full {
  grid-column: 1 / -1;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--r-2);
  border: 1px solid var(--line-2);
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  color: var(--text);
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
[dir="rtl"] .field input[dir="ltr"] {
  text-align: right;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.field input[aria-invalid="true"] {
  border-color: #f07a7a;
}
.form .note {
  margin: 0;
}
.form-success {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px;
  text-align: center;
  border-radius: inherit;
  background: var(--surface-solid);
  animation: rise 0.5s var(--ease);
}
.form-success[hidden] {
  display: none;
}
.form-success svg {
  width: 64px;
  height: 64px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.form-success .draw {
  stroke-dashoffset: 1;
  animation: drawin 0.9s var(--ease) 0.2s forwards;
}
@keyframes drawin {
  to {
    stroke-dashoffset: 0;
  }
}
.form-success b {
  display: block;
  font-size: 22px;
  margin-bottom: 6px;
}
.form-success span {
  color: var(--text-2);
}

/* Footer */
.site-footer {
  position: relative;
  padding-top: 96px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}
.footer-brand p {
  margin: 16px 0 4px;
  color: var(--text-2);
}
.footer-col {
  display: grid;
  align-content: start;
  gap: 4px;
}
.footer-col h2 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
html[lang="ar"] .footer-col h2 {
  letter-spacing: 0;
  font-size: 15px;
}
.footer-col a {
  padding: 6px 0;
  color: var(--text-2);
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--text);
}
.footer-word {
  margin: 64px 0 -0.18em;
  font-size: clamp(90px, 21vw, 300px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  text-align: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 40%, transparent), transparent 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
html[lang="ar"] .footer-word {
  letter-spacing: 0;
  margin-bottom: -0.05em;
}
.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  background: var(--bg);
}

/* Sub-pages */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 180px 0 72px;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 120%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40% 50% at 80% 30%, rgba(55, 182, 201, 0.16), transparent 70%),
    radial-gradient(30% 40% at 10% 10%, rgba(11, 110, 127, 0.18), transparent 70%);
}
.page-hero .display {
  font-size: clamp(42px, 6vw, 80px);
  max-width: 15ch;
}
html[lang="ar"] .page-hero .display {
  max-width: 16ch;
}
.page-hero .lede {
  margin-top: 24px;
}
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-3);
  border: 1px solid var(--line);
  background: var(--surface);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 15px;
}
th,
td {
  padding: 18px 22px;
  text-align: start;
  border-bottom: 1px solid var(--line);
}
thead th {
  background: var(--surface-solid);
  font-size: 15px;
}
thead th.hl {
  color: var(--brand-text);
}
tbody th {
  font-weight: 500;
  color: var(--text-2);
}
tbody tr:hover {
  background: var(--surface);
}
td .yes,
td .no {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
td .yes::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%2337b6c9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 18px no-repeat,
    var(--brand-soft);
}
td .no {
  color: var(--muted);
}
.table-group th {
  padding-top: 28px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-text);
  background: transparent;
}
html[lang="ar"] .table-group th {
  letter-spacing: 0;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.legal {
  max-width: 760px;
  padding-bottom: 120px;
}
.legal h2 {
  margin: 48px 0 12px;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.legal p {
  color: var(--text-2);
}
.draft-flag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--amber);
  color: var(--amber);
  font-size: 13px;
  font-weight: 600;
}
html[data-theme="light"] .draft-flag {
  color: #8a5a00;
  border-color: #c88a12;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .navlinks {
    display: none;
  }
  .menu-btn {
    display: inline-grid;
  }
  .tools {
    margin-inline-start: auto;
  }
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .pillar-xl {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .security-grid,
  .faq-grid,
  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sticky-head,
  .faq .section-head {
    position: static;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 900px) {
  .live-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .live-pin {
    min-height: auto;
    padding-block: 88px;
  }
  .map-hud {
    position: relative;
    width: 100%;
    margin-top: 12px;
  }
  .map-stage {
    aspect-ratio: auto;
  }
  .map-plane {
    position: relative;
    inset: auto;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-phone {
    display: none;
  }
  .panel {
    grid-template-columns: 1fr;
  }
  .panel-art {
    order: -1;
  }
  .plans {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }
  .proof-row {
    grid-template-columns: 1fr 1fr;
  }
  .proof-item:nth-child(3) {
    border-inline-start: 0;
    padding-inline-start: 0;
  }
  .proof-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .grid3 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  body {
    font-size: 16px;
  }
  .hide-sm {
    display: none;
  }
  .hero {
    min-height: auto;
    padding: 108px 0 64px;
    align-items: flex-end;
  }
  .hero-art {
    bottom: auto;
    height: 62%;
  }
  .hero-scrim,
  [dir="rtl"] .hero-scrim {
    background: linear-gradient(0deg, var(--bg) 42%, color-mix(in srgb, var(--bg) 60%, transparent) 62%, transparent 85%),
      linear-gradient(180deg, color-mix(in srgb, var(--bg) 70%, transparent) 0%, transparent 18%);
  }
  .hero-copy {
    padding-top: 30vh;
  }
  .hero-facts {
    margin-top: 36px;
  }
  .hero-facts li {
    padding-inline-end: 14px;
    margin-inline-end: 14px;
  }
  .hero-facts b {
    font-size: 18px;
  }
  .actions .btn {
    flex: 1 1 100%;
  }
  .scroll-cue {
    display: none;
  }
  .bento,
  .steps,
  .sec-list {
    grid-template-columns: 1fr;
  }
  .steps-line {
    display: none;
  }
  .card,
  .plan {
    padding: 24px;
  }
  .pillar-visual {
    min-height: 180px;
  }
  .proof-item {
    padding: 22px 16px;
  }
  .phones {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    perspective: none;
  }
  .phone,
  .phone.p1,
  .phone.p2,
  .phone.p3,
  .phone.p4,
  .phone.p5 {
    width: 64vw;
    transform: none;
    opacity: 1;
    scroll-snap-align: center;
  }
  .live-pin {
    min-height: auto;
    padding-block: 88px;
  }
  .map-hud {
    position: relative;
    width: 100%;
    margin-top: 12px;
  }
  .map-stage {
    aspect-ratio: auto;
  }
  .map-plane {
    position: relative;
    inset: auto;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form {
    padding: 20px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .tabs {
    border-radius: var(--r-3);
  }
  .about-facts dd {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
.h2 + .section-lede {
  margin-top: 22px;
}
.live-pin {
  overflow: hidden;
}
.live-copy {
  position: relative;
  z-index: 2;
}
.live-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -60vh;
  bottom: -60vh;
  inset-inline-start: -50vw;
  inset-inline-end: -72px;
  background: linear-gradient(to left, transparent, var(--bg-2) 72px);
  pointer-events: none;
}
[dir="rtl"] .live-copy::before {
  background: linear-gradient(to right, transparent, var(--bg-2) 72px);
}
.live {
  background:
    radial-gradient(50% 60% at 75% 50%, rgba(55, 182, 201, 0.1), transparent 70%),
    var(--bg-2);
}
@media (max-width: 900px) {
  .live-copy::before {
    display: none;
  }
}
@media (max-width: 1100px) {
  .hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-facts li {
    font-size: 12px;
    line-height: 1.35;
  }
}
/* Sub-page blocks */
.page-section {
  padding-block: clamp(56px, 8vw, 112px);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-grid .card h3 {
  margin-top: 4px;
}
.feature-grid .card p {
  margin: 0;
  color: var(--text-2);
}
.feature-grid .pillar-icon {
  margin-bottom: 22px;
}
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 32px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(60% 120% at 0% 0%, rgba(55, 182, 201, 0.2), transparent 60%),
    var(--bg-2);
  margin-bottom: clamp(64px, 8vw, 120px);
}
.cta-band .h2 {
  font-size: clamp(28px, 3.4vw, 44px);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  counter-reset: s;
}
.flow-steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px;
  border-radius: var(--r-3);
  border: 1px solid var(--line);
  background: var(--surface);
}
.flow-steps li::before {
  content: counter(s);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-text);
  font-weight: 700;
}
.flow-steps h3 {
  font-size: 18px;
  margin: 0 0 4px;
}
.flow-steps p {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
}
.page-phone {
  width: min(300px, 80%);
  margin-inline: auto;
  perspective: 1200px;
}
.page-phone .phone-frame {
  transform: rotateY(-12deg) rotateX(4deg);
}
[dir="rtl"] .page-phone .phone-frame {
  transform: rotateY(12deg) rotateX(4deg);
}
.nav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-2);
}
@media (max-width: 900px) {
  .feature-grid,
  .split {
    grid-template-columns: 1fr;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* =====================================================================
   Multi-page system (31 Oct 2026): dropdown nav, page headers, diagrams,
   framed screenshots, module rows, pager. Shared by every page.
   ===================================================================== */
.navlinks {
  align-items: center;
}
.nav-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--r-pill);
  background: none;
  text-decoration: none;
  font-size: 15px;
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-top:hover,
.dd.open .nav-top,
.nav-top[aria-current="page"],
.nav-top.is-current {
  color: var(--text);
  background: var(--surface-2);
}
.nav-top .chev {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  transition: transform 0.3s var(--ease);
}
.dd.open .chev {
  transform: rotate(180deg);
}
.dd {
  position: relative;
}
.dd-panel {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-start: 50%;
  translate: -50% 0;
  min-width: 380px;
  padding: 10px;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(22px);
  -webkit-backdrop-filter: saturate(1.4) blur(22px);
  box-shadow: var(--shadow-2);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.22s var(--ease), transform 0.3s var(--ease);
}
[dir="rtl"] .dd-panel {
  translate: 50% 0;
}
.dd-panel::before {
  content: "";
  position: absolute;
  inset: -14px 0 auto;
  height: 14px;
}
.dd.open .dd-panel {
  opacity: 1;
  transform: none;
}
.dd-panel.has-feature {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 10px;
  min-width: 640px;
}
.dd-panel.has-feature[hidden],
.dd-panel[hidden] {
  display: none;
}
.dd-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.dd-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.2s;
}
.dd-item:hover,
.dd-item:focus-visible,
.dd-item[aria-current="page"] {
  background: var(--surface-2);
}
.dd-item b {
  display: block;
  font-weight: 600;
  font-size: 15px;
}
.dd-item small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.dd-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--brand-soft);
  border: 1px solid var(--line);
  color: var(--brand-text);
}
.dd-ic svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dd-feature {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 18px;
  border-radius: 16px;
  text-decoration: none;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(55, 182, 201, 0.35), transparent 70%),
    linear-gradient(160deg, var(--bg-2), var(--surface-solid));
  border: 1px solid var(--line-2);
  min-height: 200px;
}
.dd-feature b {
  font-size: 17px;
}
.dd-feature small {
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.45;
}
.dd-feature .arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--brand-text);
  stroke-width: 1.8;
  stroke-linecap: round;
}
[dir="rtl"] .dd-feature .arrow {
  transform: scaleX(-1);
}
/* Mobile nav groups */
.m-group summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  cursor: pointer;
  list-style: none;
}
.m-group summary::-webkit-details-marker {
  display: none;
}
.m-group summary .chev {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform 0.3s var(--ease);
}
.m-group[open] summary .chev {
  transform: rotate(180deg);
}
.m-group a {
  display: block;
  padding: 11px 16px;
  text-decoration: none;
  color: var(--text-2);
  font-size: 16px;
  border-inline-start: 2px solid var(--line);
  margin-inline-start: 6px;
}
.m-group a[aria-current="page"],
.mobile-nav a[aria-current="page"] {
  color: var(--brand-text);
  border-color: var(--brand);
}
.mobile-nav .m-link {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: 18px;
}
.mobile-nav {
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}
.noscript-nav {
  padding-top: 90px;
  font-size: 14px;
}
@media (max-width: 1240px) {
  .nav-top {
    padding: 8px 9px;
    font-size: 14px;
  }
  .nav {
    gap: 16px;
  }
}

/* Page header: lighter, animated route lines */
.page-hero {
  padding: 150px 0 64px;
}
.page-hero .hero-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}
.hero-lines path {
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.4;
  stroke-dasharray: 0.012 0.018;
  animation: lines-flow 26s linear infinite;
  opacity: 0.6;
}
.hero-lines path:nth-child(2) {
  animation-duration: 34s;
  animation-direction: reverse;
  opacity: 0.35;
}
.hero-lines path:nth-child(3) {
  animation-duration: 40s;
  opacity: 0.3;
}
.hero-lines circle {
  fill: var(--brand);
  opacity: 0.7;
  transform-box: fill-box;
  transform-origin: center;
  animation: pin-pulse 3.2s var(--ease) infinite;
}
.hero-lines circle:nth-of-type(2) { animation-delay: 0.8s; }
.hero-lines circle:nth-of-type(3) { animation-delay: 1.6s; }
.hero-lines circle.hot {
  fill: var(--signal);
}
[dir="rtl"] .hero-lines {
  transform: scaleX(-1);
}
@keyframes lines-flow {
  to { stroke-dashoffset: -1; }
}
@keyframes pin-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.8); opacity: 0.25; }
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}
.page-hero.has-side .display {
  font-size: clamp(40px, 5vw, 68px);
}
.hero-shot {
  perspective: 1600px;
}
.hero-shot .shot {
  transform: rotateY(-10deg) rotateX(4deg);
  transform-origin: left center;
}
[dir="rtl"] .hero-shot .shot {
  transform: rotateY(10deg) rotateX(4deg);
  transform-origin: right center;
}
.hero-phones {
  display: flex;
  justify-content: center;
  gap: 18px;
  perspective: 1400px;
}
.hero-phones .phone-shot {
  width: min(230px, 44%);
}
.hero-phones .phone-shot:first-child .phone-frame {
  transform: rotateY(14deg) translateY(30px);
}
.hero-phones .phone-shot:last-child .phone-frame {
  transform: rotateY(-14deg);
}
[dir="rtl"] .hero-phones .phone-shot:first-child .phone-frame {
  transform: rotateY(-14deg) translateY(30px);
}
[dir="rtl"] .hero-phones .phone-shot:last-child .phone-frame {
  transform: rotateY(14deg);
}

/* Breadcrumbs and on-page chips */
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}
.crumbs li + li::before {
  content: "/";
  margin-inline-end: 6px;
  opacity: 0.6;
}
.crumbs a {
  color: var(--text-2);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.crumbs [aria-current] {
  color: var(--text);
}
.toc ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.toc a {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: var(--surface);
  text-decoration: none;
  font-size: 14px;
  color: var(--text-2);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.toc a:hover {
  border-color: var(--brand);
  color: var(--text);
  background: var(--brand-soft);
}

/* Framed web screenshot */
.shot {
  margin: 0;
  border-radius: 18px;
  border: 1px solid var(--line-2);
  background: var(--surface-solid);
  box-shadow: var(--shadow-2), 0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.shot-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.shot-chrome i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-2);
}
.shot-chrome span {
  margin-inline-start: 12px;
  padding: 3px 12px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  flex: 1;
  max-width: 280px;
}
.shot img {
  width: 100%;
  height: auto;
  background: #f4f7f8;
}
.shot figcaption,
.phone-shot figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.phone-shot {
  margin: 0;
  text-align: center;
}
.phone-shot figcaption {
  border: 0;
  margin-top: 10px;
}
.phone-shot .phone-frame {
  border-radius: 36px;
  padding: 8px;
}
.phone-shot .phone-frame img {
  border-radius: 28px;
  width: 100%;
  height: auto;
}

/* Module rows */
.module-row {
  padding-block: clamp(48px, 7vw, 96px);
}
.module-row + .module-row {
  border-top: 1px solid var(--line);
}
.module-row .split {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}
.module-row.flip .module-copy {
  order: 2;
}
.h3x {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 650;
  text-wrap: balance;
}
html[lang="ar"] .h3x {
  letter-spacing: 0;
  line-height: 1.35;
}
.eb-ic {
  width: 18px;
  height: 18px;
}
.eyebrow .ic + span {
  margin-inline-start: -2px;
}
.eyebrow:has(.ic)::before {
  display: none;
}
.ic {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.module-copy .ticks {
  margin-top: 8px;
}
.module-media {
  perspective: 1600px;
}
.js .module-row .module-media > * {
  opacity: 0;
  transform: translateY(40px) rotateX(8deg);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
}
.js .module-row.in .module-media > * {
  opacity: 1;
  transform: none;
}
.mini-steps .flow-steps li {
  background: var(--surface);
}
.card-link {
  margin-top: 14px !important;
}
.card-ic .ic {
  width: 26px;
  height: 26px;
  stroke-dasharray: 80;
  stroke-dashoffset: 0;
}
.js .card-ic:not(.in) .ic {
  stroke-dashoffset: 80;
}
.card-ic .ic {
  transition: stroke-dashoffset 1.4s var(--ease);
}

/* Signal card (location events) */
.signal-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: linear-gradient(160deg, var(--bg-2), var(--surface-solid));
  box-shadow: var(--shadow-2);
  display: grid;
  gap: 10px;
}
.sig-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 500;
}
.sig-row small {
  margin-inline-start: auto;
  color: var(--muted);
}
.sig-row.warn {
  border-color: rgba(239, 83, 80, 0.5);
  background: rgba(239, 83, 80, 0.08);
}
.sig-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: none;
}
.sig-dot.on {
  background: var(--signal);
  box-shadow: 0 0 0 5px rgba(61, 220, 151, 0.18);
}
.sig-dot.off {
  background: #ef5350;
  box-shadow: 0 0 0 5px rgba(239, 83, 80, 0.2);
  animation: pin-pulse 1.6s infinite;
}

/* Process diagram (draws on scroll) */
.flowchart {
  margin: 8px 0 0;
  padding: clamp(20px, 3vw, 36px);
  border-radius: 28px;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(80% 100% at 50% 0%, rgba(55, 182, 201, 0.1), transparent 70%),
    var(--bg-2);
  box-shadow: var(--shadow-1);
}
.flow-title {
  margin: 0 0 22px;
  font-weight: 600;
  color: var(--brand-text);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html[lang="ar"] .flow-title {
  letter-spacing: 0;
  font-size: 15px;
}
.flow-track {
  position: relative;
}
.flow-line {
  position: absolute;
  top: 8px;
  inset-inline: 0;
  width: 100%;
  height: 48px;
  overflow: visible;
}
[dir="rtl"] .flow-line {
  transform: scaleX(-1);
}
.flow-line path {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.flow-line .base {
  stroke: var(--line-2);
  stroke-width: 2;
  stroke-dasharray: 4 6;
}
.flow-line .draw-line {
  stroke: var(--brand);
  stroke-width: 2.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 2.2s var(--ease) 0.2s;
}
.js .flowchart:not(.in) .draw-line {
  stroke-dashoffset: 1;
}
.flow-line .pulse {
  stroke: var(--signal);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 0.04 0.96;
  stroke-dashoffset: 0.04;
  opacity: 0;
}
.flowchart.in .pulse {
  opacity: 1;
  animation: flow-pulse 4.5s linear 2.4s infinite;
}
@keyframes flow-pulse {
  from { stroke-dashoffset: 0.04; }
  to { stroke-dashoffset: -1; }
}
.flow-line .chev {
  stroke: var(--brand-text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flow-nodes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.flow-node {
  text-align: center;
  padding: 0 4px;
  transition: opacity 0.7s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--i) * 0.16s + 0.2s);
}
.js .flowchart:not(.in) .flow-node {
  opacity: 0;
  transform: translateY(18px);
}
.flow-dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--surface-solid), var(--bg-2));
  border: 1px solid var(--line-2);
  box-shadow: 0 0 0 6px var(--bg-2), 0 18px 30px -16px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--brand-text);
}
.flow-dot .ic {
  width: 26px;
  height: 26px;
}
.flow-dot b {
  position: absolute;
  top: -8px;
  inset-inline-end: -8px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 12px;
  font-weight: 700;
}
.flow-node h3 {
  font-size: 16px;
  margin: 0 0 6px;
}
.flow-node p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-2);
}
.flow-who {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--brand-soft);
  color: var(--brand-text);
  font-size: 12px;
  font-weight: 600;
}
.flow-branch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 8px;
}
.flow-branch span {
  padding: 2px 8px;
  border-radius: 8px;
  border: 1px dashed var(--line-2);
  font-size: 12px;
  color: var(--muted);
}
.flowchart figcaption {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 900px) {
  .flow-line {
    display: none;
  }
  .flow-nodes {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .flow-node {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 16px;
    text-align: start;
    padding: 0 0 22px;
    position: relative;
  }
  .flow-node::before {
    content: "";
    position: absolute;
    top: 56px;
    bottom: 0;
    inset-inline-start: 27px;
    width: 2px;
    background: linear-gradient(var(--brand), var(--line-2));
  }
  .flow-node:last-child::before {
    display: none;
  }
  .flow-dot {
    grid-row: span 4;
    width: 56px;
    height: 56px;
    margin: 0;
    border-radius: 18px;
  }
  .flow-node h3 {
    margin-top: 4px;
  }
  .flow-branch {
    justify-content: flex-start;
  }
  .flow-who {
    justify-self: start;
  }
}

/* Pager, CTA, pills */
.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-bottom: 40px;
}
.pager-link {
  display: grid;
  gap: 2px;
  padding: 20px 24px;
  border-radius: var(--r-3);
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.3s var(--ease);
}
.pager-link:hover {
  border-color: var(--brand);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.pager-link small {
  color: var(--muted);
  font-size: 13px;
}
.pager-link b {
  font-size: 18px;
  font-weight: 600;
}
.pager-link.prev small::before {
  content: "← ";
}
.pager-link.next {
  text-align: end;
}
.pager-link.next small::after {
  content: " →";
}
[dir="rtl"] .pager-link.prev small::before {
  content: "→ ";
}
[dir="rtl"] .pager-link.next small::after {
  content: " ←";
}
.cta-sub {
  margin: 10px 0 0;
  color: var(--text-2);
}
.pill {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
}
.pill.ok {
  border-color: rgba(61, 220, 151, 0.45);
  color: var(--signal);
}
html[data-theme="light"] .pill.ok {
  color: #08744a;
}
.pill.wait {
  border-color: var(--amber);
  color: var(--amber);
}
html[data-theme="light"] .pill.wait {
  color: #8a5a00;
}
.js .shot:not(.in),
.js .phone-shot:not(.in) {
  opacity: 0;
  transform: translateY(30px);
}
.shot,
.phone-shot {
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
}
.hero-shot .shot,
.hero-phones .phone-shot {
  opacity: 1 !important;
}
@media (max-width: 1100px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-shot .shot,
  [dir="rtl"] .hero-shot .shot {
    transform: none;
  }
}
@media (max-width: 900px) {
  .module-row .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .module-row.flip .module-copy {
    order: 0;
  }
  .page-hero {
    padding: 112px 0 48px;
  }
}
@media (max-width: 700px) {
  .pager {
    grid-template-columns: 1fr;
  }
  .pager-link.next {
    text-align: start;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-lines path,
  .hero-lines circle,
  .flowchart .pulse {
    animation: none !important;
  }
}
.footer-top {
  grid-template-columns: 1.4fr repeat(4, 1fr);
}
@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 700px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-delay: 0s !important;
    animation-delay: 0s !important;
  }
}
/* HTML illustrations (synthetic) */
.board {
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background: linear-gradient(160deg, var(--bg-2), var(--surface-solid));
  box-shadow: var(--shadow-2);
  overflow: hidden;
  font-size: 14px;
}
.board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.board-head small {
  color: var(--muted);
  font-weight: 500;
}
.board-row {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}
.board-row:last-of-type {
  border-bottom: 0;
}
.board-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--brand-text);
}
.board-row span {
  color: var(--text-2);
}
.board-foot {
  padding: 10px 18px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.st {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--surface-2);
  color: var(--text-2) !important;
}
.st.g { background: rgba(61, 220, 151, 0.14); color: #3ddc97 !important; }
.st.b { background: var(--brand-soft); color: var(--brand-text) !important; }
.st.a { background: rgba(245, 181, 68, 0.14); color: #f5b544 !important; }
.st.r { background: rgba(239, 83, 80, 0.14); color: #ff7a77 !important; }
html[data-theme="light"] .st.g { color: #08744a !important; }
html[data-theme="light"] .st.a { color: #8a5a00 !important; }
html[data-theme="light"] .st.r { color: #b3261e !important; }
@media (max-width: 700px) {
  .board-row {
    grid-template-columns: 1fr auto;
  }
  .board-row > :nth-child(2),
  .board-row > :nth-child(3) {
    display: none;
  }
}
.three-tall {
  margin-bottom: 40px;
}
.three-tall .card p {
  color: var(--text-2);
  margin: 0;
}
.cl-row {
  grid-template-columns: 1fr auto auto !important;
}
.damage-map {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
}
.damage-map svg {
  width: 100%;
  max-width: 320px;
  fill: none;
  stroke: var(--line-2);
  stroke-width: 2;
}
.damage-map .mark {
  fill: rgba(239, 83, 80, 0.25);
  stroke: #ef5350;
}
.damage-map small {
  color: var(--muted);
  font-size: 12px;
}
.timeline-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: linear-gradient(160deg, var(--bg-2), var(--surface-solid));
  box-shadow: var(--shadow-2);
  position: relative;
}
.tl-step {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  padding: 22px 8px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.tl-step b {
  font-size: clamp(28px, 3vw, 40px);
  color: var(--brand-text);
  line-height: 1;
}
.tl-step span {
  font-size: 13px;
  color: var(--text-2);
}
.tl-step.late b {
  color: #ff7a77;
}
html[data-theme="light"] .tl-step.late b {
  color: #b3261e;
}
@media (max-width: 700px) {
  .timeline-card {
    grid-template-columns: 1fr 1fr;
  }
}
.feature-grid.tight {
  margin-top: 24px;
}
.feature-grid.tight .card p {
  color: var(--text-2);
  margin: 0;
}
table.compact {
  min-width: 0;
}
table.compact th,
table.compact td {
  padding: 14px 18px;
  vertical-align: top;
}
table.compact td {
  color: var(--text-2);
  font-size: 14px;
}
.h3x.small {
  font-size: clamp(22px, 2.2vw, 28px);
}
.settle {
  margin-top: 40px;
  align-items: start;
}
.flow-line .draw-line,
.flow-line .pulse {
  vector-effect: none;
}
.invoice-card,
.iban-card,
.mask-card {
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background: linear-gradient(160deg, var(--bg-2), var(--surface-solid));
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.inv-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.inv-top b {
  display: block;
  font-size: 22px;
}
.inv-top small {
  color: var(--muted);
  font-family: ui-monospace, Menlo, monospace;
}
.qr {
  width: 92px;
  height: 92px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  color: #06181c;
  fill: #06181c;
}
.inv-lines > div {
  display: flex;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
}
.inv-lines .tot {
  color: var(--text);
  font-weight: 600;
  background: var(--brand-soft);
}
.iban-card,
.mask-card {
  padding: 24px;
  display: grid;
  gap: 12px;
}
.iban-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.iban-card code {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 15px;
  letter-spacing: 0.06em;
}
.mask-card > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.mask-card code {
  color: var(--brand-text);
}
.mask-card span {
  color: var(--text-2);
}
.mask-card b {
  letter-spacing: 0.2em;
}
/* Solutions */
.sol-art {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}
.sol-orb {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.18), transparent 45%),
    radial-gradient(circle at 50% 60%, var(--petrol-400), var(--petrol-700) 70%);
  box-shadow: 0 50px 100px -30px rgba(11, 110, 127, 0.7), inset 0 -20px 40px rgba(0, 0, 0, 0.25), 0 0 0 18px var(--brand-soft), 0 0 0 40px color-mix(in srgb, var(--brand-soft) 50%, transparent);
  animation: orb-float 7s ease-in-out infinite;
}
.sol-ic {
  width: 96px;
  height: 96px;
  color: #eafcff;
  stroke-width: 1.2;
}
@keyframes orb-float {
  50% { transform: translateY(-12px) rotate(-3deg); }
}
.sol-chip {
  position: absolute;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 16px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-1);
  font-size: 14px;
  font-weight: 500;
  animation: orb-float 8s ease-in-out infinite;
}
.sol-chip b {
  color: var(--brand-text);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 13px;
}
.sol-chip.c0 { top: 8%; inset-inline-start: 0; }
.sol-chip.c1 { top: 46%; inset-inline-end: 0; animation-delay: -2s; }
.sol-chip.c2 { bottom: 6%; inset-inline-start: 10%; animation-delay: -4s; }
.daylog {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.daylog li {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: var(--r-3);
  border: 1px solid var(--line);
  background: var(--surface);
  position: relative;
}
.daylog time {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 14px;
  color: var(--brand-text);
  font-weight: 600;
}
.daylog h3 {
  font-size: 18px;
  margin: 0 0 4px;
}
.daylog p {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
}
.outcomes {
  align-items: start;
}
.outcome-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.outcome-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-3);
  border: 1px solid var(--line);
  background: var(--surface);
}
.outcome-list .ic {
  width: 26px;
  height: 26px;
  color: var(--signal);
}
html[data-theme="light"] .outcome-list .ic {
  color: #08744a;
}
.outcome-list h3 {
  font-size: 17px;
  margin: 0 0 4px;
}
.outcome-list p {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
}
@media (max-width: 900px) {
  .daylog {
    grid-template-columns: 1fr;
  }
  .sol-art {
    min-height: 320px;
  }
  .sol-orb {
    width: 160px;
    height: 160px;
  }
  .sol-ic {
    width: 70px;
    height: 70px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sol-orb,
  .sol-chip {
    animation: none !important;
  }
}
/* How it works */
.process-block + .process-block {
  border-top: 1px solid var(--line);
}
.process-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
}
.process-n {
  font-size: clamp(56px, 8vw, 120px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, var(--brand-text), transparent 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.process-detail {
  margin-top: 36px;
  align-items: start;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.6fr);
}
.process-links {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 4px;
  padding: 22px;
  border-radius: var(--r-3);
  border: 1px solid var(--line);
  background: var(--surface);
}
.process-links h3 {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 6px;
}
@media (max-width: 900px) {
  .process-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .process-links {
    position: static;
  }
}
/* Driver app screen groups */
.screen-group + .screen-group {
  border-top: 1px solid var(--line);
}
.screen-group.flip .module-copy {
  order: 2;
}
.screen-phones {
  display: flex;
  justify-content: center;
  gap: 24px;
  perspective: 1400px;
}
.screen-phones .phone-shot {
  width: min(250px, 46%);
}
.screen-phones.n1 .phone-shot {
  width: min(280px, 70%);
}
.screen-phones.n2 .phone-shot:last-child {
  margin-top: 60px;
}
.arabic-phone {
  width: min(240px, 70%);
  margin-top: 24px;
}
@media (max-width: 900px) {
  .screen-group.flip .module-copy {
    order: 0;
  }
}
.sec-card p {
  color: var(--text-2);
}
.ticks.small li {
  font-size: 14px;
}
.support-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 18px;
  border: 1px solid var(--amber);
  background: rgba(245, 181, 68, 0.1);
  box-shadow: var(--shadow-2);
}
.support-banner .ic {
  width: 28px;
  height: 28px;
  color: var(--amber);
  flex: none;
}
html[data-theme="light"] .support-banner .ic {
  color: #8a5a00;
}
.support-banner b {
  display: block;
}
.support-banner span:not(.btn) {
  font-size: 14px;
  color: var(--text-2);
}
.support-banner .btn {
  margin-inline-start: auto;
  pointer-events: none;
}
.host-card {
  display: grid;
  gap: 12px;
}
.host-card > div {
  padding: 22px;
  border-radius: var(--r-3);
  border: 1px solid var(--line);
  background: var(--surface);
}
.host-card h3 {
  margin-top: 8px;
}
.host-card p {
  margin: 0;
  color: var(--text-2);
}
.faq-group {
  padding-block: clamp(32px, 4vw, 56px);
}
.faq-group + .faq-group {
  border-top: 1px solid var(--line);
}
.faq-h {
  font-size: clamp(26px, 3vw, 38px);
}
.about-facts.wide {
  grid-template-columns: repeat(4, 1fr);
}
.feature-grid.four {
  grid-template-columns: repeat(4, 1fr);
}
.feature-grid.four .card p {
  color: var(--text-2);
  margin: 0;
}
.prose p {
  color: var(--text-2);
  font-size: 18px;
}
@media (max-width: 1100px) {
  .feature-grid.four {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .about-facts.wide,
  .feature-grid.four {
    grid-template-columns: 1fr 1fr;
  }
}
/* Home: solutions grid */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sol-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  min-height: 280px;
}
.sol-card p {
  color: var(--text-2);
  margin: 0;
  flex: 1;
}
.sol-k {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 18px;
  background: linear-gradient(180deg, var(--brand-text), transparent 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sol-card:hover {
  border-color: var(--brand);
}
.how-more {
  margin-top: 36px;
}
@media (max-width: 1100px) {
  .sol-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .sol-grid {
    grid-template-columns: 1fr;
  }
  .sol-card {
    min-height: 0;
  }
}
.flowchart.gsap-draw .draw-line {
  transition: none;
}
.dd-feature {
  border-radius: 16px;
}
.mobile-nav .m-group a {
  padding: 11px 16px;
  border-bottom: 0;
  font-size: 16px;
}
.mobile-nav .m-group[open] {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .m-group a[aria-current="page"] {
  border-inline-start-color: var(--brand);
}
.dd-panel {
  background: color-mix(in srgb, var(--bg) 96%, transparent);
}
.sol-media {
  max-width: 960px;
}
.wrap.legal {
  max-width: none;
}
.wrap.legal > * {
  max-width: 760px;
}
