/* ───────────────────────────────────────────────────────────────
   TADALAL — marketing site.
   Layout, size and spacing come from the original Claude Design file;
   colours and type from the TADALAL brand kit (teal, gold, cream;
   Poppins + Cairo). The design's
   inline styles are expressed as classes here; hover states that the
   design wrote as style-hover="…" become :hover rules.
   ─────────────────────────────────────────────────────────────── */

:root {
  --ink: #073F37;        /* deep teal: text, dark sections */
  --paper: #F6F1E8;      /* brand cream: page */
  --accent: #0C6B5D;     /* brand teal: actions, links, emphasis (6.4:1 with white) */
  --gold: #F0A63C;       /* brand gold: the smile's dots — markers, underlines, never text on light */
  --accent-dark: #084940; /* pressed teal */
  --muted: #45524F;      /* body copy on light */
  --muted-2: #5B6764;    /* small labels */
  --line: #E6E0D4;
  --card-line: #E4DED2;
  --rule: #DCD5C7;
  --on-dark: #BCCFCA;    /* body copy on dark */
  --dark-line: #125F54;
  --accent-light: #F6C67E; /* gold text on dark */
  --display: Poppins, system-ui, sans-serif;
  --body: Poppins, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --arabic: Cairo, system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.ar { font-family: var(--arabic); }

@keyframes glPulse {
  0% { box-shadow: 0 0 0 0 rgba(240,166,60,.45); }
  70% { box-shadow: 0 0 0 12px rgba(240,166,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(240,166,60,0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none !important; }
}
.pulse { animation: glPulse 2s infinite; }

/* ── Shared type ── */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.h2 {
  font-family: var(--display); font-weight: 700; font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1; letter-spacing: -.02em; margin: 0; text-wrap: balance;
}
.h2-sm { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.02; letter-spacing: -.02em; margin: 0; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0; text-wrap: pretty; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: end; }

/* ── Buttons ── */
.btn { display: inline-block; border-radius: 999px; font-weight: 700; transition: background-color .15s, color .15s; }
.btn-accent { background: var(--accent); color: #FFFFFF; }
.btn-accent:hover { background: var(--accent-dark); color: #FFFFFF; }
.btn-outline { background: #FFFFFF; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #FFFFFF; }
.btn-lg { padding: 18px 28px; font-size: 16px; }

/* ── Announcement ── */
.announce {
  background: var(--ink); color: var(--paper); font-size: 13px; line-height: 1.5; font-weight: 500;
  padding: 10px 24px; display: flex; justify-content: center; gap: 10px; text-align: center; position: relative; z-index: 21;
}
.announce b { color: #F6C67E; font-weight: 700; }

/* ── Header ──
   Design: "About Page Before After" 7b. The links sit in one white pill;
   the current page is the dark segment; the primary action is ink with an
   up-right arrow. No announcement bar above it. */
.site-header {
  position: sticky; top: 0; z-index: 20; background: rgba(246,241,232,.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.header-row { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 44px; width: auto; display: block; }
.main-nav {
  display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: #FFFFFF;
  box-shadow: 0 1px 0 rgba(7,63,55,.04), 0 8px 24px -16px rgba(7,63,55,.25);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  overflow-x: auto; min-width: 0; flex: 0 1 auto; scrollbar-width: none;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { padding: 9px 16px; border-radius: 999px; transition: background-color .15s ease, color .15s ease; }
.main-nav a:hover { background: #EAF4F1; color: var(--accent); }
.main-nav a.current, .main-nav a.current:hover { background: var(--ink); color: #FFFFFF; }
.header-actions { display: flex; align-items: center; gap: 18px; white-space: nowrap; flex-shrink: 0; font-size: 14px; font-weight: 600; }
.header-actions .lang { font-family: var(--arabic); }
[lang="ar"] .header-actions .lang { font-family: var(--body); }
.btn-nav { padding: 12px 20px; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.btn-ink { background: var(--ink); color: #FFFFFF; }
.btn-ink:hover { background: var(--accent); color: #FFFFFF; }
.nav-arrow { width: 16px; height: 16px; }
[dir="rtl"] .nav-arrow { transform: scaleX(-1); }

/* ── Hero ── */
.hero {
  padding-top: 88px; padding-bottom: 72px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 64px; align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-kicker { display: flex; align-items: center; gap: 10px; color: var(--muted-2); }
.hero-kicker .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.hero h1 {
  font-family: var(--display); font-weight: 700; font-size: clamp(48px, 6.4vw, 88px); line-height: .96;
  letter-spacing: -.02em; margin: 0; text-wrap: balance;
}
.hero h1 span { color: var(--accent); }
.hero-lead { font-size: 20px; line-height: 1.55; color: var(--muted); margin: 0; max-width: 540px; text-wrap: pretty; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-facts {
  display: flex; gap: 28px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid #E3DCCE;
  font-size: 14px; font-weight: 600; color: var(--muted);
}

/* Live order card */
.order-card-wrap { position: relative; }
.order-card { background: var(--ink); border-radius: 32px; padding: 14px; box-shadow: 0 40px 80px -30px rgba(12,107,93,.55); }
.order-map { border-radius: 22px; overflow: hidden; height: 300px; background: #0A4F45; position: relative; }
.order-map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map-customer {
  position: absolute; top: 38%; left: 30%; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); border: 3px solid #FFFFFF; transform: translate(-50%, -50%);
}
.map-store {
  position: absolute; top: 22%; right: 22%; width: 14px; height: 14px; border-radius: 4px;
  background: #FFFFFF; transform: translate(50%, -50%); box-shadow: 0 0 0 4px rgba(255,255,255,.14);
}
.order-body { padding: 22px 12px 10px; display: flex; flex-direction: column; gap: 18px; color: var(--paper); }
.order-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.order-ref { font-family: var(--mono); font-size: 12px; color: #95A09D; }
.order-title { font-family: var(--display); font-size: 24px; font-weight: 700; margin-top: 6px; }
.order-eta { background: var(--accent); color: #FFFFFF; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.order-steps, .order-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.order-steps span { height: 5px; border-radius: 3px; background: #1F6B60; }
.order-steps span.on { background: #F0A63C; }
.order-labels { font-size: 12px; color: #B4C2BE; font-weight: 600; }
.toast {
  position: absolute; left: -28px; bottom: -30px; background: #FFFFFF; border-radius: 20px; padding: 16px 20px;
  box-shadow: 0 20px 40px -18px rgba(12,107,93,.35); display: flex; gap: 14px; align-items: center; border: 1px solid #EFE9DD;
}
[dir="rtl"] .toast { left: auto; right: -28px; }
.toast-icon {
  width: 40px; height: 40px; border-radius: 50%; background: #D3E6E1; display: flex; align-items: center;
  justify-content: center; font-family: var(--display); font-weight: 700; color: var(--accent); flex-shrink: 0;
}
.toast small { display: block; font-size: 13px; color: var(--muted-2); font-weight: 600; }
.toast strong { display: block; font-size: 15px; font-weight: 700; }

/* ── Three links ── */
.section { padding-top: 96px; padding-bottom: 96px; }
.section-lg { padding-top: 112px; padding-bottom: 112px; }
.links-head { margin-bottom: 56px; }
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.link-card {
  background: #FFFFFF; border: 1px solid var(--card-line); border-radius: 28px; padding: 36px;
  display: flex; flex-direction: column; gap: 18px; min-height: 340px;
}
.link-card-top { display: flex; justify-content: space-between; align-items: center; }
.link-card-top .num { font-family: var(--mono); font-size: 13px; color: #7A8683; }
.link-card-top .app { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.link-card h3 { font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: -.02em; margin: 0; }
.link-card p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: #F1ECE2; color: #10544A; }

/* ── Merchants (dark) ── */
.dark { background: var(--ink); color: var(--paper); }
.dark .eyebrow { color: var(--accent-light); margin-bottom: 20px; }
.dark .h2 { margin: 0 0 20px; max-width: 880px; }
.dark .intro { font-size: 18px; line-height: 1.6; color: var(--on-dark); margin: 0 0 64px; max-width: 640px; }
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1px;
  background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: 28px; overflow: hidden;
}
.feature { background: var(--ink); padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; min-height: 240px; transition: background-color .15s; }
.feature:hover { background: #0B5248; }
.feature .bar { width: 28px; height: 4px; border-radius: 2px; background: #0C6B5D; }
.feature h3 { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; margin: 0; }
.feature p { font-size: 15px; line-height: 1.6; color: var(--on-dark); margin: 0; }

/* ── Steps ── */
.steps-title { margin: 0 0 56px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 2px solid var(--ink); }
.step .n { font-family: var(--display); font-weight: 700; font-size: 56px; line-height: 1; color: var(--accent); letter-spacing: -.02em; }
.step h3 { font-family: var(--display); font-weight: 700; font-size: 22px; margin: 0; }
.step p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ── Restaurant vs retail ── */
.duo { padding-bottom: 112px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 20px; }
.duo-card { border-radius: 28px; padding: 44px; display: flex; flex-direction: column; gap: 20px; }
.duo-light { background: #FFFFFF; border: 1px solid var(--card-line); }
.duo-accent { background: var(--accent); color: #FFFFFF; }
.duo-card .eyebrow { letter-spacing: .12em; }
.duo-light .eyebrow { color: var(--accent); }
.duo-card h3 { font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: -.02em; margin: 0; line-height: 1.1; }
.duo-card p { font-size: 16px; line-height: 1.6; margin: 0; }
.duo-light p { color: var(--muted); }
.duo-list { display: flex; flex-direction: column; gap: 12px; font-size: 15px; font-weight: 600; }

/* ── Themes ── */
.themes { background: #EFE9DD; }
.themes .eyebrow { color: var(--accent-dark); margin-bottom: 20px; }
.themes-head { margin-bottom: 56px; }
.theme-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 20px; }
.theme { display: flex; flex-direction: column; gap: 14px; }
.theme-shot {
  aspect-ratio: 4 / 3; border-radius: 22px; border: 1px solid #D8D0C1; overflow: hidden; background: #E1DACC;
  box-shadow: 0 1px 0 rgba(12,107,93,.04); transition: transform .25s ease, box-shadow .25s ease;
}
.theme-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.theme:hover .theme-shot { transform: translateY(-3px); box-shadow: 0 24px 40px -24px rgba(12,107,93,.4); }
.theme-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.theme-meta b { font-family: var(--display); font-weight: 700; font-size: 22px; }
.theme-meta span { font-size: 14px; font-weight: 600; color: var(--muted-2); }

/* ── Drivers ── */
.drivers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 64px; align-items: center; }
.driver-visual {
  aspect-ratio: 4 / 5; max-height: 620px; border-radius: 32px; border: 1px solid #DCD5C7;
  background: repeating-linear-gradient(135deg, #E4DED2 0 12px, #EFE9DD 12px 24px);
  display: flex; align-items: center; justify-content: center; padding: 24px; overflow: hidden;
}
.phone {
  width: min(78%, 300px); aspect-ratio: 9 / 18.5; background: var(--ink); border-radius: 40px; padding: 10px;
  box-shadow: 0 40px 70px -30px rgba(12,107,93,.6);
}
.phone-screen { height: 100%; border-radius: 31px; overflow: hidden; background: #F6F1E8; display: flex; flex-direction: column; }
.phone-map { flex: 1; background: #0A4F45; position: relative; min-height: 0; }
.phone-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.phone-status { display: flex; justify-content: space-between; padding: 12px 18px 0; font-size: 10px; font-weight: 700; color: #F6F1E8; position: relative; z-index: 1; }
.phone-online {
  position: absolute; top: 34px; left: 50%; transform: translateX(-50%); background: #FFFFFF; color: var(--ink);
  font-size: 11px; font-weight: 700; border-radius: 999px; padding: 6px 12px; display: flex; gap: 6px; align-items: center; white-space: nowrap;
}
.phone-online i { width: 7px; height: 7px; border-radius: 50%; background: #16A34A; display: block; }
.phone-sheet { background: #FFFFFF; border-radius: 22px 22px 0 0; margin-top: -22px; position: relative; padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.phone-sheet .tag { align-self: flex-start; background: #D3E6E1; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 5px 9px; }
.phone-sheet .route { display: grid; grid-template-columns: 12px 1fr; gap: 4px 10px; font-size: 11.5px; line-height: 1.35; }
.phone-sheet .route i { width: 10px; height: 10px; border-radius: 3px; background: var(--ink); margin-top: 2px; display: block; }
.phone-sheet .route i.to { border-radius: 50%; background: var(--gold); }
.phone-sheet .route b { display: block; font-size: 12.5px; }
.phone-sheet .route span { color: var(--muted-2); }
.phone-sheet .fee { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #EFE9DD; padding-top: 10px; font-size: 11px; color: var(--muted-2); font-weight: 600; }
.phone-sheet .fee b { font-family: var(--display); font-size: 18px; color: var(--ink); }
.phone-sheet .accept { background: var(--accent); color: #FFFFFF; text-align: center; border-radius: 999px; padding: 11px; font-size: 13px; font-weight: 700; }
.drivers-copy { display: flex; flex-direction: column; gap: 24px; }
.drivers-copy .eyebrow { color: var(--accent); }
.points { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.point { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.point b { font-weight: 700; font-size: 16px; }
.point span { font-size: 15px; line-height: 1.55; color: var(--muted); }
.driver-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-dark { background: var(--ink); color: #FFFFFF; padding: 16px 24px; font-size: 15px; }
.btn-dark:hover { background: #000000; color: #FFFFFF; }
.link-underline { padding: 16px 8px; font-size: 15px; font-weight: 700; border-bottom: 2px solid var(--gold); }

/* ── Developers ── */
.dev-wrap { padding-bottom: 112px; }
.dev {
  background: var(--ink); border-radius: 36px; padding: clamp(32px, 5vw, 72px); display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: center; color: var(--paper);
}
.dev-copy { display: flex; flex-direction: column; gap: 22px; }
.dev-copy .eyebrow { color: var(--accent-light); }
.dev-copy .h2-sm { font-size: clamp(32px, 3.8vw, 52px); }
.dev-copy p { font-size: 17px; line-height: 1.6; color: var(--on-dark); margin: 0; }
.dev-list { display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 600; color: #E7E0D3; }
.dev-link { align-self: flex-start; color: #FFFFFF; font-weight: 700; font-size: 15px; border-bottom: 2px solid #0C6B5D; padding-bottom: 4px; }
.dev-link:hover { color: var(--accent-light); }
.code {
  background: #042E28; border: 1px solid var(--dark-line); border-radius: 22px; padding: 28px; font-family: var(--mono);
  font-size: 14px; line-height: 1.8; color: #D9D1C2; overflow-x: auto; direction: ltr; text-align: left;
}
.code .dots { display: flex; gap: 7px; margin-bottom: 18px; }
.code .dots i { width: 11px; height: 11px; border-radius: 50%; background: #45524F; display: block; }
.code .dots i:first-child { background: #0C6B5D; }
.code .k { color: var(--accent-light); }
.code .c { color: #87928F; }
.code .s { color: #F6C67E; }
.code .ok { color: #7FD3A0; margin-top: 14px; }
.code .in { padding-left: 20px; }
.code .gap { margin-top: 14px; }
.code div { white-space: nowrap; }

/* ── Coverage ── */
.coverage { padding-bottom: 112px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: start; }
.gov-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.gov { background: #FFFFFF; border: 1px solid var(--card-line); border-radius: 16px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.gov b { font-weight: 700; font-size: 16px; }
.gov span { font-family: var(--arabic); font-size: 15px; color: var(--muted-2); }

/* ── FAQ ── */
.faq { padding-bottom: 112px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; }
.faq .h2-sm { margin: 0 0 18px; }
.faq-intro { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0; }
.faq-intro a { font-weight: 700; border-bottom: 2px solid var(--gold); }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 20px; padding: 22px 0; font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink);
}
.faq-q:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.faq-q .icon { font-size: 24px; font-weight: 500; color: var(--accent); flex-shrink: 0; width: 18px; text-align: center; }
.faq-a { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 0 0 24px; max-width: 640px; }

/* ── CTA ── */
.cta-wrap { padding-bottom: 96px; }
.cta {
  background: var(--accent); border-radius: 36px; padding: clamp(40px, 6vw, 88px); color: #FFFFFF; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: end;
}
.cta h2 { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5.4vw, 76px); line-height: .98; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.cta-copy { display: flex; flex-direction: column; gap: 24px; }
.cta-copy p { font-size: 18px; line-height: 1.6; margin: 0; }
.btn-white { background: #FFFFFF; color: var(--ink); }
.btn-white:hover { background: var(--ink); color: #FFFFFF; }
.btn-ghost { color: #FFFFFF; border: 1.5px solid #FFFFFF; }
.btn-ghost:hover { background: var(--accent-dark); color: #FFFFFF; }

/* ── Contact page ── */
.contact-hero { padding-top: 88px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 22px; }
.contact-hero .eyebrow { color: var(--accent); }
.contact-hero .h2 { font-size: clamp(44px, 5.6vw, 76px); max-width: 880px; }
.contact-hero .lead { max-width: 640px; }
.contact-grid {
  padding-bottom: 112px; display: grid; gap: 40px; align-items: start;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.contact-aside { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 130px; }
.contact-aside h2 { font-family: var(--display); font-weight: 700; font-size: 24px; margin: 0; }
.aside-links { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.aside-email { margin: 0; font-size: 15px; color: var(--muted); }
.aside-email a { font-weight: 700; border-bottom: 2px solid var(--gold); }
.contact-card { background: #FFFFFF; border: 1px solid var(--card-line); border-radius: 28px; padding: clamp(24px, 4vw, 44px); }
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.contact-form h2, .contact-done h2 { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -.02em; margin: 0 0 4px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 22px; }
.field label { font-size: 14px; font-weight: 700; }
.field .opt { font-weight: 500; color: var(--muted-2); font-size: 13px; }
.field input:not([type="checkbox"]), .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; transition: border-color .15s, background-color .15s;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); background: #FFFFFF; }
.field [aria-invalid="true"] { border-color: var(--accent); background: #FFFFFF; }
.field input[dir="ltr"] { text-align: start; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-inline-end: 44px; cursor: pointer; }
.select::after {
  content: ""; position: absolute; top: 50%; inset-inline-end: 18px; width: 8px; height: 8px; pointer-events: none;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg);
}
.hint { font-size: 13px; color: var(--muted-2); margin: 0; }
.err { font-size: 13px; font-weight: 600; color: var(--accent); margin: 0; }
.err:empty { display: none; }
.topic-hint { margin: 0; font-size: 14px; line-height: 1.5; background: #D3E6E1; color: #0D5A4F; border-radius: 12px; padding: 12px 14px; }
.topic-hint a { font-weight: 700; color: var(--accent-dark); border-bottom: 1.5px solid currentColor; }
.consent { display: grid !important; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px !important; font-weight: 500 !important; line-height: 1.6; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.consent a { font-weight: 700; border-bottom: 1.5px solid var(--gold); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-error { margin: 0; background: #FDECEA; color: #8A1410; border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 600; }
.contact-form .btn { align-self: flex-start; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 16px; }
.contact-form .btn:disabled { opacity: .6; cursor: progress; }
.contact-done { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 12px 0; }
.contact-done:focus { outline: none; }
.contact-done p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.done-icon { width: 52px; height: 52px; border-radius: 50%; background: #D3E6E1; color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 22px; }
.contact-done .again { background: none; border: 0; border-bottom: 2px solid var(--gold); padding: 8px 2px; font: inherit; font-weight: 700; cursor: pointer; color: var(--ink); }
[lang="ar"] .contact-form h2, [lang="ar"] .contact-done h2, [lang="ar"] .contact-aside h2 { letter-spacing: 0; }
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; order: 2; }
}

/* ── Footer ── */
.site-footer { background: var(--ink); color: var(--on-dark); }
.footer-inner { padding-top: 72px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 56px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; grid-column: span 2; min-width: 0; }
.footer-logo { align-self: flex-start; }
.footer-logo img { height: 48px; width: auto; display: block; }
.footer-brand p { font-size: 15px; line-height: 1.6; margin: 0; max-width: 340px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-col .head { color: #FFFFFF; font-weight: 700; margin-bottom: 4px; }
.footer-col a { color: var(--on-dark); }
.footer-col a:hover { color: #FFFFFF; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--dark-line); font-size: 14px; }

/* ── Arabic: the Arabic face for everything, no negative tracking ── */
[lang="ar"] body, [lang="ar"] .faq-q, [lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3,
[lang="ar"] .order-title, [lang="ar"] .step .n, [lang="ar"] .theme-meta b, [lang="ar"] .toast-icon {
  font-family: var(--arabic);
}
[lang="ar"] h1, [lang="ar"] .h2, [lang="ar"] .h2-sm, [lang="ar"] .cta h2, [lang="ar"] h3 { letter-spacing: 0; line-height: 1.25; font-weight: 700; }
[lang="ar"] .eyebrow, [lang="ar"] .link-card-top .app { letter-spacing: 0; }
[lang="ar"] .code { font-family: var(--mono); }

/* ── Laptops and tablets: the link pill takes its own centred row ── */
@media (max-width: 1180px) {
  .header-row { flex-wrap: wrap; gap: 10px 16px; padding-bottom: 10px; }
  .main-nav { order: 3; margin-inline: auto; max-width: 100%; }
}
/* ── Small screens ── */
@media (max-width: 860px) {
  .header-row { flex-wrap: wrap; gap: 8px 16px; }
  .main-nav { order: 3; flex-basis: 100%; justify-content: flex-start; }
  .header-actions .signin { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .brand img { height: 36px; }
  .btn-nav { padding: 10px 16px; font-size: 14px; }
  .hero { padding-top: 48px; gap: 72px; }
  .toast { left: 12px; right: 12px; bottom: -44px; }
  [dir="rtl"] .toast { left: 12px; right: 12px; }
  .link-card, .duo-card { padding: 28px; }
  .point { grid-template-columns: 1fr; gap: 6px; }
  .footer-brand { grid-column: span 1; }
  .section, .section-lg { padding-top: 72px; padding-bottom: 72px; }
}

/* ── Motion (src/motion.js) ──────────────────────────────────
   The hidden starting state only applies once motion.js has added
   .motion-ready to <html>, so without script or with reduced motion every
   element is simply shown. Enter is a soft ease-out, never a bounce. */
:root { --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1); }

.motion-ready .rv {
  opacity: 0;
  translate: 0 26px;
  transition: opacity .7s var(--ease-out-soft), translate .7s var(--ease-out-soft);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.motion-ready .rv.rv-hero { translate: 0 18px; transition-duration: .8s; transition-delay: calc(120ms + var(--i, 0) * 110ms); }
.motion-ready .rv.in { opacity: 1; translate: 0 0; }

/* The courier's route on the hero map keeps moving, like the order card says. */
@keyframes routeFlow { to { stroke-dashoffset: -26; } }
.hero path[stroke-dasharray] { animation: routeFlow 1.4s linear infinite; }

/* Cards lift a little under the pointer. */
.link-card, .duo-card, .step, .faq-item {
  transition: translate .3s var(--ease-out-soft), box-shadow .3s var(--ease-out-soft), opacity .7s var(--ease-out-soft);
}
@media (hover: hover) {
  .link-card:hover, .duo-card:hover { translate: 0 -4px; box-shadow: 0 22px 40px -28px rgba(12,107,93,.45); }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .rv { opacity: 1 !important; translate: none !important; transition: none !important; }
  .hero path[stroke-dasharray] { animation: none; }
  .link-card:hover, .duo-card:hover { translate: none; }
}

/* ───────────────────────────────────────────────────────────────
   Home page. Design: Claude Design "Home Page Before After" 8b,
   "live dispatch". Dark hero with a live order, the three links on one
   gold route, a merchants bento, steps rail, restaurant/retail switcher,
   theme mosaic, driver phone, API card, governorates marquee, inline FAQ
   and a brand-gold close. Motion is purposeful and stops for reduced motion.
   ─────────────────────────────────────────────────────────────── */
.hm-mono { font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }
[lang="ar"] .hm-mono { font-family: var(--arabic); letter-spacing: 0; text-transform: none; }
.hm-eyebrow { margin: 0; font-size: 12px; color: var(--accent); letter-spacing: .1em; }
.hm-eyebrow.on-dark { color: var(--accent-light); }
[lang="ar"] .hm-eyebrow { font-size: 14px; font-weight: 700; }
.hm-h2 {
  margin: 0; font-family: var(--display); font-weight: 800; color: inherit;
  font-size: clamp(34px, 4.8vw, 60px); line-height: .98; letter-spacing: -.04em; text-wrap: balance;
}
.hm-eyebrow + .hm-h2 { margin-top: 16px; }
.hm-h2-sm { font-size: clamp(30px, 3.8vw, 48px); line-height: 1; }
[lang="ar"] .hm-h2, [lang="ar"] .hm-hero h1, [lang="ar"] .hm-cta h2, [lang="ar"] .hm-link-card h3 { font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.hm-lead { margin: 0; font-size: 17px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.hm-lead.on-dark { color: var(--on-dark); }
.hm-sec { padding-top: 120px; }
.hm-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
[dir="rtl"] .hm-flip { transform: scaleX(-1); }
.hm-ico, .hm-btn .ab-ico { width: 18px; height: 18px; }

/* Buttons */
.hm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 24px;
  border-radius: 999px; font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.hm-btn:hover { transform: translateY(-2px); }
.hm-btn-gold { background: var(--gold); color: var(--ink); font-weight: 700; }
.hm-btn-gold:hover { color: var(--ink); box-shadow: 0 14px 30px -12px rgba(240,166,60,.7); }
.hm-btn-ghost { color: #FFFFFF; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.hm-btn-ghost:hover { color: #FFFFFF; background: rgba(255,255,255,.08); }
.hm-btn-ink { background: var(--ink); color: #FFFFFF; }
.hm-btn-ink:hover { color: #FFFFFF; background: #000000; }
.hm-btn-white { background: #FFFFFF; color: var(--ink); }
.hm-btn-white:hover { color: var(--ink); box-shadow: 0 14px 30px -18px rgba(7,63,55,.5); }
.hm-btn-soft { background: rgba(255,255,255,.5); color: var(--ink); }
.hm-btn-soft:hover { color: var(--ink); background: #FFFFFF; }
.hm-btn-block { width: 100%; min-height: 60px; }

/* ── Dark header (home page) ── */
.site-header.is-dark { background: #052E28; color: #D6E3DF; }
.site-header.is-dark .main-nav { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); font-weight: 500; }
.site-header.is-dark .main-nav a { color: #D6E3DF; }
.site-header.is-dark .main-nav a:hover { background: rgba(255,255,255,.1); color: #FFFFFF; }
.site-header.is-dark .header-actions a:not(.btn) { color: #D6E3DF; }
.site-header.is-dark .header-actions a:not(.btn):hover { color: #FFFFFF; }
.site-header.is-dark .btn-ink { background: var(--gold); color: var(--ink); }
.site-header.is-dark .btn-ink:hover { background: var(--accent-light); color: var(--ink); }
.header-announce { display: flex; justify-content: center; padding-top: 14px; }
.announce-pill {
  margin: 0; display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  font-size: 13px; color: #D6E3DF; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); text-align: center;
}
[dir="rtl"] .announce-pill { padding: 7px 8px 7px 14px; }
.announce-pill b { background: var(--gold); color: var(--ink); font-weight: 700; font-size: 11px; padding: 3px 9px; border-radius: 999px; flex: none; }

/* ── Hero ── */
.hm-hero { position: relative; overflow: hidden; color: #FFFFFF; background: #052E28; }
.hm-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 500px at 82% 30%, rgba(12,107,93,.55), transparent 65%), radial-gradient(600px 400px at 10% 110%, rgba(240,166,60,.14), transparent 60%);
}
[dir="rtl"] .hm-hero::before { transform: scaleX(-1); }
.hm-hero-grid { position: relative; padding-top: 56px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hm-hero-copy { display: flex; flex-direction: column; gap: 30px; }
.hm-kicker { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 12px; color: #9FC2BA; }
.hm-live { position: relative; width: 10px; height: 10px; flex: none; }
.hm-live i { position: absolute; inset: 0; border-radius: 50%; background: #5DCAA5; }
.hm-live i + i { animation: hmPing 1.8s ease-out infinite; }
.hm-hero h1 { margin: 0; font-family: var(--display); font-size: clamp(48px, 7.4vw, 96px); line-height: .92; letter-spacing: -.05em; font-weight: 800; color: #FFFFFF; }
.hm-h1-gold { color: var(--gold); position: relative; display: inline-block; }
.hm-h1-gold svg { position: absolute; inset-inline: 2% 2%; bottom: -16px; width: 96%; height: 22px; }
.hm-hero-lead { margin: 6px 0 0; font-size: 19px; line-height: 1.6; color: var(--on-dark); max-width: 540px; text-wrap: pretty; }
.hm-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hm-hero-visual { position: relative; padding: 10px 0 60px; }
.hm-facts { position: relative; margin-top: 24px; border-top: 1px solid rgba(255,255,255,.08); }
.hm-facts-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hm-facts-row > div { padding: 22px 0; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: #D6E3DF; }
.hm-facts-row > div + div { border-inline-start: 1px solid rgba(255,255,255,.08); padding-inline-start: 40px; }
.hm-facts-row span { width: 34px; height: 34px; border-radius: 11px; background: rgba(240,166,60,.12); color: var(--accent-light); display: grid; place-items: center; flex: none; }
.hm-facts-row .ab-ico { width: 17px; height: 17px; }

/* Live order card */
.hm-order { position: relative; }
.hm-order-card { background: var(--ink); border-radius: 34px; padding: 14px; box-shadow: 0 50px 90px -30px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.06); transform: rotate(-1.2deg); }
[dir="rtl"] .hm-order-card { transform: rotate(1.2deg); }
.hm-map { border-radius: 24px; overflow: hidden; height: 320px; background: #0A4F45; position: relative; }
.hm-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hm-route-ghost { fill: none; stroke: rgba(246,198,126,.35); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 10; }
.hm-route-done { fill: none; stroke: var(--gold); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
/* Without script the route reads as already driven to the halfway point. */
.hm-order:not(.is-live) .hm-route-done { stroke-dasharray: 2 0; opacity: .9; }
.hm-ping { transform-box: fill-box; transform-origin: center; animation: hmPing 2s ease-out infinite; }
.hm-ring { opacity: 0; transition: opacity .3s ease; }
.hm-map-tag { position: absolute; inset-inline-start: 14px; top: 14px; background: rgba(5,46,40,.75); color: #D6E3DF; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; display: flex; align-items: center; gap: 6px; }
.hm-map-tag i { width: 7px; height: 7px; border-radius: 50%; background: #5DCAA5; }
.hm-order-body { padding: 22px 12px 10px; display: flex; flex-direction: column; gap: 16px; color: var(--paper); }
.hm-order-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.hm-order-ref { font-size: 12px; color: #95A09D; }
.hm-order-title { font-size: 24px; font-weight: 700; margin-top: 6px; }
.hm-eta { background: var(--accent); color: #FFFFFF; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; transition: background-color .3s ease, color .3s ease; }
.hm-order.is-delivered .hm-eta { background: var(--gold); color: var(--ink); }
.hm-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.hm-bars i { height: 6px; border-radius: 3px; background: #1F6B60; transition: background-color .35s ease; }
.hm-bars i.on { background: var(--gold); }
.hm-bar-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; font-size: 12px; color: #B4C2BE; font-weight: 600; }
.hm-toast {
  position: absolute; inset-inline-start: -36px; bottom: 18px; background: #FFFFFF; color: var(--ink); border-radius: 20px; padding: 14px 18px;
  display: flex; gap: 14px; align-items: center; box-shadow: 0 24px 44px -18px rgba(0,0,0,.45);
  transition: opacity .35s cubic-bezier(.22,1,.36,1), transform .35s cubic-bezier(.22,1,.36,1);
}
.hm-order.is-live .hm-toast { opacity: 0; transform: translateY(14px); }
.hm-order.is-live .hm-toast.is-shown { opacity: 1; transform: none; }
.hm-toast > span { width: 40px; height: 40px; border-radius: 50%; background: #D3E6E1; display: grid; place-items: center; color: var(--accent); font-weight: 800; flex: none; }
.hm-toast small { display: block; font-size: 13px; color: var(--muted-2); font-weight: 600; }
.hm-toast b { font-size: 15px; }

/* ── Three links ── */
.hm-links { position: relative; margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hm-links-route { position: absolute; inset-inline: 0; top: 0; width: 100%; height: 120px; pointer-events: none; }
.hm-links-route path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-dasharray: 2 12; stroke-linecap: round; animation: hmFlow 1.4s linear infinite; }
.hm-link { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hm-node { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--accent-light); box-shadow: 0 0 0 8px var(--paper); }
.hm-node .ab-ico { width: 24px; height: 24px; }
.hm-link.is-mid .hm-node { margin-top: 52px; }
.hm-link.is-door .hm-node { background: var(--gold); color: var(--ink); }
.hm-link-card {
  align-self: stretch; border-radius: 30px; background: #FFFFFF; color: var(--ink); padding: 30px 30px 28px; display: flex; flex-direction: column; gap: 14px; min-height: 320px;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}
.hm-link-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(7,63,55,.45); }
.hm-link-top { display: flex; justify-content: space-between; align-items: center; }
.hm-link-top .hm-mono { font-size: 12px; color: var(--muted); }
.hm-pill { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: #EAF4F1; color: var(--accent); }
.hm-link-card h3 { margin: 8px 0 0; font-size: 36px; letter-spacing: -.03em; font-weight: 800; }
.hm-link-card p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); flex: 1; }
.hm-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hm-tags span { font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: #F1ECE2; color: #10544A; }
.hm-link.is-mid .hm-link-card { background: var(--ink); color: #FFFFFF; }
.hm-link.is-mid .hm-link-card p, .hm-link.is-mid .hm-link-top .hm-mono { color: var(--on-dark); }
.hm-link.is-mid .hm-pill { background: rgba(240,166,60,.16); color: var(--accent-light); }
.hm-link.is-mid .hm-tags span { background: rgba(255,255,255,.08); color: #E7E0D3; }

/* ── Merchants bento ── */
.hm-panel { border-radius: 40px; padding: 64px 56px 56px; }
.hm-panel-ink { background: var(--ink); color: #FFFFFF; }
.hm-panel-deep { background: #052E28; color: #FFFFFF; }
.hm-bento { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: 12px; }
.hm-feature {
  border-radius: 26px; background: rgba(255,255,255,.05); color: #FFFFFF; padding: 26px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .35s cubic-bezier(.22,1,.36,1), background-color .25s ease;
}
.hm-feature:hover { transform: translateY(-4px); }
.hm-feature.is-big, .hm-feature.is-wide { grid-column: span 2; }
.hm-feature-icon { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: rgba(240,166,60,.14); color: var(--accent-light); }
.hm-feature-icon .ab-ico { width: 21px; height: 21px; }
.hm-feature > div { margin-top: auto; }
.hm-feature h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.02em; font-weight: 700; }
.hm-feature.is-big h3 { font-size: 28px; }
.hm-feature.is-wide h3 { font-size: 22px; }
.hm-feature p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--on-dark); max-width: 460px; }
.hm-feature.is-gold { background: var(--gold); color: var(--ink); }
.hm-feature.is-gold p { color: #3D3420; }
.hm-feature.is-gold .hm-feature-icon { background: var(--ink); }
.hm-feature.is-teal { background: var(--accent); }

/* ── Steps rail ── */
.hm-steps { list-style: none; margin: 56px 0 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.hm-steps::before { content: ""; position: absolute; inset-inline: 0; top: 27px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent) 70%, var(--gold)); }
[dir="rtl"] .hm-steps::before { background: linear-gradient(270deg, var(--accent), var(--accent) 70%, var(--gold)); }
.hm-step { position: relative; display: flex; flex-direction: column; gap: 12px; }
.hm-step-n { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 18px; background: var(--accent); color: #FFFFFF; box-shadow: 0 0 0 8px var(--paper); font-family: var(--display); }
.hm-step.is-last .hm-step-n { background: var(--gold); color: var(--ink); }
.hm-step h3 { margin: 14px 0 0; font-size: 22px; letter-spacing: -.01em; }
.hm-step p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ── Restaurants / retail switcher ── */
.hm-duo { border-radius: 40px; background: #FFFFFF; padding: 14px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.hm-duo-copy { padding: 42px 40px; display: flex; flex-direction: column; gap: 22px; }
.hm-switch { display: flex; flex-wrap: wrap; padding: 5px; border-radius: 999px; background: #F1ECE2; align-self: flex-start; gap: 2px; }
.hm-switch button {
  font: inherit; border: 0; cursor: pointer; padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: transparent; color: var(--muted); display: flex; align-items: center; gap: 8px; min-height: 44px;
  transition: background-color .25s ease, color .25s ease;
}
.hm-switch button .ab-ico { width: 16px; height: 16px; }
.hm-switch button[aria-selected="true"] { background: var(--ink); color: #FFFFFF; }
.hm-duo-pane h3 { margin: 10px 0 0; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
[lang="ar"] .hm-duo-pane h3 { letter-spacing: 0; line-height: 1.3; font-weight: 700; }
.hm-duo-pane > p { margin: 22px 0 0; font-size: 17px; line-height: 1.65; color: var(--muted); }
.hm-checks { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.hm-checks li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #EFE9DD; font-size: 15px; font-weight: 600; }
.hm-checks span { width: 26px; height: 26px; border-radius: 50%; background: #E4F2E9; color: var(--accent); display: grid; place-items: center; flex: none; }
.hm-checks .ab-ico { width: 14px; height: 14px; }
.hm-duo-visual { border-radius: 30px; background: #FEF5E7; padding: 34px; display: flex; flex-direction: column; justify-content: center; transition: background-color .4s ease; }
.hm-duo[data-mode="retail"] .hm-duo-visual { background: var(--ink); }
.hm-tickets { display: flex; flex-direction: column; gap: 12px; }
.hm-tickets > p { margin: 0; font-size: 12px; color: var(--gold-700, #8A5A12); }
.hm-duo[data-mode="retail"] .hm-tickets > p { color: var(--accent-light); }
.hm-ticket {
  border-radius: 20px; background: #FFFFFF; padding: 16px 18px; display: flex; align-items: center; gap: 14px;
  box-shadow: 0 10px 24px -16px rgba(7,63,55,.4); margin-inline-start: calc(var(--i, 0) * 28px);
}
.hm-ticket-icon { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: #EAF4F1; color: var(--accent); flex: none; }
.hm-ticket-icon .ab-ico { width: 19px; height: 19px; }
.hm-ticket > div { flex: 1; min-width: 0; }
.hm-ticket b { display: block; font-size: 14px; font-weight: 700; }
.hm-ticket small { display: block; font-size: 12px; color: var(--muted-2); }
.hm-ticket-pill { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #E4F2E9; color: var(--accent); white-space: nowrap; }
.hm-ticket-assigned .hm-ticket-icon { background: #FEF5E7; color: #8A5A12; }
.hm-ticket-picked .hm-ticket-pill { background: #FEF5E7; color: #8A5A12; }
.hm-ticket-placed .hm-ticket-icon, .hm-ticket-placed .hm-ticket-pill { background: #F1ECE2; color: var(--muted); }
.hm-ticket-door .hm-ticket-icon { background: #FEF5E7; color: #8A5A12; }

/* ── Themes mosaic ── */
.hm-themes { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
.hm-theme { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.hm-theme-shot { position: relative; height: 260px; border-radius: 24px; overflow: hidden; background: #E1DACC; transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s ease; }
.hm-theme-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.hm-theme:hover .hm-theme-shot { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 34px 50px -30px rgba(7,63,55,.55); }
.hm-theme figcaption { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px; }
.hm-theme b { font-size: 19px; }
.hm-theme span { font-size: 13px; color: var(--muted-2); }

/* ── Drivers ── */
.hm-drivers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hm-driver-visual { position: relative; border-radius: 40px; background: var(--accent); height: 640px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hm-driver-mark { position: absolute; width: 560px; height: 350px; left: 50%; top: 50%; transform: translate(-50%, -40%); opacity: .14; }
.hm-phone { position: relative; width: 290px; height: 590px; background: #052E28; border-radius: 46px; padding: 10px; box-shadow: 0 50px 80px -30px rgba(0,0,0,.5); transform: rotate(-4deg); }
[dir="rtl"] .hm-phone { transform: rotate(4deg); }
.hm-phone-screen { height: 100%; border-radius: 37px; overflow: hidden; background: var(--paper); display: flex; flex-direction: column; }
.hm-phone-map { flex: 1; background: #0A4F45; position: relative; }
.hm-phone-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hm-flow { animation: hmFlow 1.2s linear infinite; }
.hm-phone-online { position: absolute; top: 36px; left: 50%; transform: translateX(-50%); background: #FFFFFF; color: var(--ink); font-size: 11px; font-weight: 700; border-radius: 999px; padding: 7px 12px; white-space: nowrap; display: flex; gap: 6px; align-items: center; }
.hm-phone-online i { width: 7px; height: 7px; border-radius: 50%; background: #16A34A; }
.hm-phone-sheet { background: #FFFFFF; border-radius: 24px 24px 0 0; margin-top: -24px; position: relative; padding: 18px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.hm-phone-tag { align-self: flex-start; background: #FEF5E7; color: #8A5A12; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 5px 10px; }
.hm-phone-route { display: grid; grid-template-columns: 12px 1fr; gap: 6px 10px; font-size: 12px; line-height: 1.35; }
.hm-phone-route i { width: 10px; height: 10px; border-radius: 3px; background: var(--ink); margin-top: 3px; }
.hm-phone-route i.to { border-radius: 50%; background: var(--gold); }
.hm-phone-route b { display: block; }
.hm-phone-route span { color: var(--muted-2); }
.hm-phone-fee { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #EFE9DD; padding-top: 10px; font-size: 11px; color: var(--muted-2); font-weight: 600; }
.hm-phone-fee b { font-size: 19px; color: var(--ink); }
.hm-phone-accept { background: var(--accent); color: #FFFFFF; text-align: center; border-radius: 16px; padding: 13px; font-size: 14px; font-weight: 700; }
.hm-earn { position: absolute; inset-inline-end: 36px; top: 70px; background: #FFFFFF; color: var(--ink); border-radius: 20px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.4); }
.hm-earn > span { width: 38px; height: 38px; border-radius: 12px; background: #FEF5E7; color: #8A5A12; display: grid; place-items: center; }
.hm-earn small { display: block; font-size: 11px; color: var(--muted-2); }
.hm-earn b { font-size: 16px; font-weight: 800; }
.hm-drivers-copy { display: flex; flex-direction: column; gap: 24px; }
.hm-drivers-copy .hm-eyebrow + .hm-h2 { margin-top: 0; }
.hm-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hm-point { border-radius: 22px; background: #FFFFFF; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.hm-point > span { width: 38px; height: 38px; border-radius: 12px; background: #EAF4F1; color: var(--accent); display: grid; place-items: center; }
.hm-point b { font-size: 15px; }
.hm-point small { font-size: 13px; line-height: 1.55; color: var(--muted); }
.hm-driver-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ── API ── */
.hm-dev { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding: 64px 56px; }
.hm-dev-copy { display: flex; flex-direction: column; gap: 22px; }
.hm-dev-copy .hm-eyebrow + .hm-h2 { margin-top: 0; }
.hm-dev-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hm-dev-list li { display: flex; gap: 12px; align-items: center; font-size: 14px; color: #E7E0D3; }
.hm-dev-list .ab-ico { width: 17px; height: 17px; color: #5DCAA5; }
.hm-dev-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-light); padding: 10px 0; border-bottom: 2px solid var(--gold); }
.hm-dev-link:hover { color: #FFFFFF; }
.hm-dev-link .ab-ico { width: 16px; height: 16px; }
.hm-code { border-radius: 26px; background: #021F1B; border: 1px solid var(--dark-line); overflow: hidden; text-align: left; }
.hm-code-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--dark-line); }
.hm-code-bar i { width: 11px; height: 11px; border-radius: 50%; background: #45524F; }
.hm-code-bar i:first-child { background: var(--gold); }
.hm-code-bar span { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: #87928F; }
.hm-code-body { padding: 24px 26px; font-family: var(--mono); font-size: 14px; line-height: 1.85; color: #D9D1C2; overflow-x: auto; }
.hm-code-body .k { background: var(--gold); color: var(--ink); font-weight: 700; padding: 2px 8px; border-radius: 6px; font-size: 12px; }
.hm-code-body .c { color: #87928F; }
.hm-code-body .gap { margin-top: 14px; }
.hm-code-body .in { padding-left: 20px; }
.hm-code-body .s { color: var(--accent-light); }
.hm-code-body .ok { margin-top: 16px; padding: 10px 14px; border-radius: 12px; background: rgba(93,202,165,.1); color: #7FD3A0; }
.hm-code-body .cursor { display: inline-block; width: 8px; height: 16px; background: #7FD3A0; margin-left: 6px; vertical-align: -2px; animation: hmBlink 1s steps(1) infinite; }

/* ── Coverage marquee ── */
.hm-cov-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.hm-cov-head .hm-h2 { max-width: 720px; }
.hm-cov-head > span { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.hm-cov-head > span i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hm-marquee { margin-top: 44px; overflow: hidden; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 22px 0; direction: ltr; }
.hm-marquee-track { display: flex; width: max-content; animation: hmMarquee 28s linear infinite; }
.hm-marquee-track > div { display: flex; align-items: center; gap: 18px; padding: 0 28px; }
.hm-marquee-track b { font-size: 44px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); font-family: var(--display); }
[lang="ar"] .hm-marquee-track b { font-family: var(--arabic); font-weight: 700; letter-spacing: 0; }
.hm-marquee-track span { font-family: var(--arabic); font-size: 30px; font-weight: 700; color: var(--accent); }
.hm-marquee-track span[lang="en"] { font-family: var(--display); font-size: 26px; }
.hm-marquee-track i { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); margin-left: 28px; }

/* ── FAQ ── */
.hm-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.hm-faq-head { display: flex; flex-direction: column; gap: 18px; }
.hm-faq-head p { margin: 0; font-size: 16px; color: var(--muted); }
.hm-faq-head a { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--gold); }
.hm-faq-list { display: flex; flex-direction: column; gap: 10px; }
.hm-faq-item { border-radius: 22px; background: #FFFFFF; transition: background-color .3s ease; }
.hm-faq-item h3 { margin: 0; }
.hm-faq-item button {
  width: 100%; font: inherit; border: 0; background: none; cursor: pointer; text-align: start;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; font-weight: 700; font-size: 17px; color: var(--ink);
}
.hm-faq-icon { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #F1ECE2; color: var(--ink); transition: transform .3s cubic-bezier(.22,1,.36,1); }
.hm-faq-icon .ab-ico { width: 17px; height: 17px; }
.hm-faq-a p { margin: 0; padding: 0 22px 22px; font-size: 15px; line-height: 1.7; color: var(--on-dark); max-width: 620px; }
.hm-faq-item.is-open { background: var(--ink); }
.hm-faq-item.is-open button { color: #FFFFFF; }
.hm-faq-item.is-open .hm-faq-icon { background: var(--gold); transform: rotate(45deg); }
/* Without script every answer is readable. */
html:not(.hm-js) .hm-faq-item .hm-faq-a[hidden] { display: block !important; }
html:not(.hm-js) .hm-faq-item:not(.is-open) .hm-faq-a p { color: var(--muted); }

/* ── Call to action ── */
.hm-cta-wrap { padding-bottom: 96px; }
.hm-cta {
  border-radius: 44px; background: var(--gold); color: var(--ink); padding: 72px 64px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: end;
}
.hm-cta-mark { position: absolute; right: -40px; top: -60px; width: 420px; height: 262px; opacity: .18; pointer-events: none; }
[dir="rtl"] .hm-cta-mark { right: auto; left: -40px; }
.hm-cta h2 { position: relative; margin: 0; font-family: var(--display); font-size: clamp(40px, 6vw, 76px); line-height: .94; letter-spacing: -.05em; font-weight: 800; color: var(--ink); text-wrap: balance; }
.hm-cta-side { position: relative; display: flex; flex-direction: column; gap: 22px; }
.hm-cta-side p { margin: 0; font-size: 17px; line-height: 1.65; }
.hm-cta-btns { display: flex; flex-direction: column; gap: 10px; }

@keyframes hmPing { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes hmFlow { to { stroke-dashoffset: -26; } }
@keyframes hmBlink { 50% { opacity: 0; } }
@keyframes hmMarquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .hm-live i + i, .hm-ping, .hm-links-route path, .hm-flow, .hm-code-body .cursor { animation: none; }
  .hm-marquee-track { animation: none; flex-wrap: wrap; width: auto; row-gap: 12px; }
  .hm-marquee-track > div:nth-child(n+7) { display: none; }
  .hm-btn:hover, .hm-link-card:hover, .hm-feature:hover, .hm-theme:hover .hm-theme-shot { transform: none; }
}

/* ── Tablet ── */
@media (max-width: 1024px) {
  .hm-hero-grid, .hm-split, .hm-duo, .hm-drivers, .hm-dev, .hm-faq, .hm-cta { grid-template-columns: 1fr; }
  .hm-split { gap: 18px; align-items: start; }
  .hm-hero-visual { max-width: 620px; padding-bottom: 40px; }
  .hm-links { grid-template-columns: 1fr; gap: 28px; }
  .hm-links-route { display: none; }
  .hm-link { align-items: flex-start; }
  .hm-link.is-mid .hm-node { margin-top: 0; }
  .hm-link-card { min-height: 0; }
  .hm-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .hm-steps::before { display: none; }
  .hm-themes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-driver-visual { height: 600px; }
  .hm-dev { gap: 36px; }
  .hm-faq { gap: 28px; }
  .hm-cta { gap: 28px; align-items: start; }
}

/* ── Phone ── */
@media (max-width: 760px) {
  .hm-sec { padding-top: 80px; }
  .header-announce { display: none; }
  .hm-hero-grid { padding-top: 32px; gap: 32px; }
  .hm-hero-copy { gap: 22px; }
  .hm-hero-ctas .hm-btn { width: 100%; }
  .hm-map { height: 220px; }
  .hm-order-card, [dir="rtl"] .hm-order-card { transform: none; border-radius: 28px; }
  .hm-order-title { font-size: 19px; }
  .hm-toast { inset-inline-start: 8px; inset-inline-end: 8px; bottom: -6px; }
  .hm-facts-row { grid-template-columns: 1fr; }
  .hm-facts-row > div { padding: 14px 0; }
  .hm-facts-row > div + div { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .hm-link-card { padding: 24px; }
  .hm-link-card h3 { font-size: 28px; }
  .hm-panel { padding: 40px 22px 24px; border-radius: 30px; }
  .hm-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .hm-feature.is-big, .hm-feature.is-wide { grid-column: auto; }
  .hm-feature { min-height: 0; }
  .hm-steps { grid-template-columns: 1fr; }
  .hm-duo { padding: 10px; border-radius: 30px; }
  .hm-duo-copy { padding: 26px 18px; }
  .hm-switch button { padding: 10px 14px; }
  .hm-duo-visual { padding: 22px 16px; border-radius: 24px; }
  .hm-ticket { margin-inline-start: 0; }
  .hm-themes { grid-template-columns: 1fr; }
  .hm-driver-visual { height: 560px; border-radius: 30px; }
  .hm-phone { transform: scale(.88) rotate(-4deg); }
  [dir="rtl"] .hm-phone { transform: scale(.88) rotate(4deg); }
  .hm-earn { inset-inline-end: 14px; top: 20px; }
  .hm-points { grid-template-columns: 1fr; }
  .hm-driver-ctas .hm-btn { width: 100%; }
  .hm-dev { padding: 36px 20px; }
  .hm-code-body { font-size: 12px; padding: 18px; }
  .hm-cov-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hm-marquee-track b { font-size: 32px; }
  .hm-marquee-track span { font-size: 22px; }
  .hm-cta { padding: 40px 24px; border-radius: 30px; }
  .hm-cta-mark { width: 240px; height: 150px; }
  .hm-cta-wrap { padding-bottom: 72px; }
}

/* ───────────────────────────────────────────────────────────────
   About / company profile (about/, ar/about/).
   Design: Claude Design "About Page Before After" 7b, "the waybill".
   The page reads like a delivery: a shipping label in the hero, figures on
   a dark ribbon, the fleet as a proportional bar, the six governorates on
   one gold route, the journey as a tracker, and a brand-gold close.
   Mono labels (JetBrains Mono) carry the label vocabulary; Arabic swaps
   them for Cairo. Logical properties throughout so Arabic mirrors.
   ─────────────────────────────────────────────────────────────── */
.ab-wait .about { opacity: 0; }
.about { transition: opacity .25s ease; overflow-x: clip; }
.footer-parent { margin-top: 14px; font-size: 14px; line-height: 1.55; color: var(--on-dark); }
.footer-parent a { color: var(--accent-light); font-weight: 600; white-space: nowrap; }
.footer-parent a:hover { color: #FFFFFF; }

.ab-ico { width: 18px; height: 18px; flex: none; display: block; }
[dir="rtl"] .ab-flip { transform: scaleX(-1); }
.ab-mono { font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }
[lang="ar"] .ab-mono { font-family: var(--arabic); letter-spacing: 0; text-transform: none; }
.ab-eyebrow { margin: 0; font-size: 12px; color: var(--accent); letter-spacing: .1em; }
.ab-eyebrow.on-dark { color: var(--accent-light); }
[lang="ar"] .ab-eyebrow { font-size: 14px; font-weight: 700; }
.ab-h2 {
  margin: 14px 0 0; font-family: var(--display); font-weight: 800; color: var(--ink);
  font-size: clamp(34px, 4.6vw, 54px); line-height: 1; letter-spacing: -.035em; text-wrap: balance;
}
.ab-h2-sm { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; }
[lang="ar"] .ab-h2, [lang="ar"] .ab-hero h1, [lang="ar"] .ab-cta h2 { font-weight: 700; letter-spacing: 0; line-height: 1.3; }

.ab-sec { padding-top: 120px; }
.ab-head { margin-bottom: 44px; }
.ab-head-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.ab-lead { margin: 0; font-size: 17px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }

/* Buttons */
.ab-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px;
  border-radius: 999px; font-weight: 600; font-size: 15px; transition: background-color .15s ease, color .15s ease, translate .15s ease;
}
.ab-btn:active { translate: 0 1px; }
.ab-btn-teal { background: var(--accent); color: #FFFFFF; }
.ab-btn-teal:hover { background: var(--accent-dark); color: #FFFFFF; }
.ab-btn-outline { background: #FFFFFF; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.ab-btn-outline:hover { background: var(--ink); color: #FFFFFF; }
.ab-btn-ink { background: var(--ink); color: #FFFFFF; min-height: 60px; font-size: 16px; }
.ab-btn-ink:hover { background: #000000; color: #FFFFFF; }
.ab-btn-soft { background: rgba(255,255,255,.55); color: var(--ink); min-height: 60px; }
.ab-btn-soft:hover { background: #FFFFFF; color: var(--ink); }

/* ── Hero ── */
.ab-hero { padding-top: 40px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.ab-hero-copy { display: flex; flex-direction: column; gap: 28px; padding-top: 24px; }
.ab-kicker { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.ab-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }
.ab-slash { color: #B9B0A0; }
.ab-hero h1 {
  margin: 0; font-family: var(--display); font-weight: 800; color: var(--ink);
  font-size: clamp(46px, 7.2vw, 92px); line-height: .94; letter-spacing: -.045em; text-wrap: balance;
}
.ab-hl { position: relative; color: var(--accent); white-space: nowrap; }
.ab-hl svg { position: absolute; inset-inline: 0; bottom: -7px; width: 100%; height: 14px; }
.ab-hero-lead { margin: 6px 0 0; max-width: 600px; font-size: 19px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.ab-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* The waybill */
.ab-waybill-wrap { position: relative; padding-top: 8px; }
.ab-waybill-shadow { position: absolute; inset: 30px -14px -14px 14px; border-radius: 26px; background: var(--ink); }
[dir="rtl"] .ab-waybill-shadow { inset: 30px 14px -14px -14px; }
.ab-waybill {
  position: relative; background: #FFFDF8; border-radius: 26px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(7,63,55,.45); transform: rotate(1.6deg);
}
[dir="rtl"] .ab-waybill { transform: rotate(-1.6deg); }
.ab-wb-top { background: var(--ink); color: #FFFFFF; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ab-wb-top img { height: 30px; width: auto; display: block; }
.ab-wb-top .ab-mono { font-size: 12px; color: var(--accent-light); }
.ab-wb-route { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1.5px dashed var(--rule); }
.ab-wb-route > div { padding: 16px 24px; }
.ab-wb-route > div + div { border-inline-start: 1.5px dashed var(--rule); }
.ab-wb-route .ab-mono { display: block; font-size: 11px; color: var(--muted-2); }
.ab-wb-route b { display: block; margin-top: 4px; font-size: 15px; font-weight: 700; }
.ab-wb-rows { margin: 0; }
.ab-wb-rows > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 12px 24px; border-bottom: 1px solid #EFE8DA; align-items: baseline; }
.ab-wb-rows dt { font-size: 11px; color: var(--muted-2); letter-spacing: .06em; }
.ab-wb-rows dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.ab-wb-foot { padding: 16px 24px 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.ab-barcode { display: flex; gap: 2px; height: 44px; direction: ltr; overflow: hidden; min-width: 0; }
.ab-barcode i { display: block; flex: none; background: var(--ink); }
.ab-wb-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; flex: none;
  background: #E4F2E9; color: var(--accent); font-size: 12px; font-weight: 700; white-space: nowrap;
}
.ab-wb-badge .ab-ico { width: 14px; height: 14px; }

/* ── Parent strip ── */
.ab-parent-wrap { padding-top: 72px; }
.ab-parent { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 24px 28px; border-radius: 24px; background: #EFE8DA; }
.ab-parent-mark { width: 64px; height: 64px; border-radius: 20px; background: var(--ink); display: grid; place-items: center; }
.ab-smile { width: 40px; height: 25px; }
.ab-parent-line { margin: 0; font-size: 13px; color: var(--muted); }
.ab-parent-line b { color: var(--ink); }
.ab-parent-body { margin: 6px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 860px; }
.ab-parent-tag { font-size: 12px; color: var(--accent); white-space: nowrap; }

/* ── Stats ribbon ── */
.ab-ribbon { margin-top: 72px; background: var(--ink); color: #FFFFFF; }
.ab-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ab-stat { padding: 44px 28px 40px; display: flex; flex-direction: column; gap: 10px; }
.ab-stat + .ab-stat { border-inline-start: 1px solid var(--dark-line); }
.ab-stat .ab-mono { font-size: 11px; letter-spacing: .1em; color: var(--accent-light); }
.ab-stat-v { font-family: var(--display); font-size: clamp(44px, 5.6vw, 72px); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
[dir="rtl"] .ab-stat-v { text-align: end; }
.ab-stat-l { font-size: 15px; color: var(--on-dark); }

/* ── Who we are ── */
.ab-who { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding-top: 110px; }
.ab-who-body { margin: 28px 0 0; font-size: 18px; line-height: 1.75; color: var(--muted); text-wrap: pretty; }
.ab-mv { display: flex; flex-direction: column; gap: 16px; padding-top: 30px; }
.ab-mv-card { border-radius: 28px; background: #FFFFFF; padding: 32px 34px; display: flex; flex-direction: column; gap: 14px; }
.ab-mv-card > span { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--accent); }
.ab-mv-card p { margin: 0; font-size: clamp(20px, 2vw, 26px); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.ab-mv-teal { background: var(--accent); color: #FFFFFF; }
.ab-mv-teal > span { color: var(--accent-light); }
[lang="ar"] .ab-mv-card p { letter-spacing: 0; line-height: 1.55; }

/* ── Fleet ── */
.ab-fleet-bar { display: flex; height: 72px; border-radius: 22px; overflow: hidden; gap: 4px; }
.ab-fleet-bar > div { min-width: 110px; display: flex; align-items: center; gap: 12px; padding: 0 20px; }
.ab-fleet-bar .ab-ico { width: 24px; height: 24px; }
.ab-fleet-bar span { font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.ab-fleet { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ab-fleet-card { border-radius: 24px; background: #FFFFFF; padding: 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.ab-fleet-top { display: flex; align-items: center; gap: 10px; }
.ab-swatch { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.ab-fleet-top h3 { margin: 0; font-size: 19px; }
.ab-share { margin-inline-start: auto; font-size: 12px; color: var(--muted-2); white-space: nowrap; }
.ab-fleet-card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 15px; }
.ab-highlight { margin-top: 16px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; border-radius: 24px; padding: 26px 30px; background: #EFE8DA; }
.ab-highlight-n { font-family: var(--display); font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--accent); }
.ab-highlight h3 { margin: 0 0 4px; font-size: 20px; }
.ab-highlight p { margin: 0; color: var(--muted); line-height: 1.6; }

/* ── Coverage route ── */
.ab-coverage { border-radius: 36px; background: var(--ink); color: #FFFFFF; padding: 56px 56px 60px; position: relative; overflow: hidden; }
.ab-coverage .ab-h2 { color: #FFFFFF; font-size: clamp(32px, 4vw, 48px); line-height: 1.02; max-width: 640px; }
.ab-cov-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.ab-cov-badge { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--on-dark); white-space: nowrap; }
.ab-cov-badge span { width: 8px; height: 8px; border-radius: 50%; background: #5DCAA5; }
.ab-route { list-style: none; margin: 56px 0 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.ab-route::before {
  content: ""; position: absolute; top: 27px; inset-inline: calc(50% / var(--n)); height: 4px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 20px);
}
.ab-route li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; font-size: 17px; font-weight: 600; }
.ab-pin { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); box-shadow: 0 0 0 6px var(--ink); }
.ab-pin .ab-ico { width: 22px; height: 22px; }
.ab-route li.is-start .ab-pin { background: #5DCAA5; }
.ab-route li.is-end .ab-pin { background: var(--gold); }

/* ── Services ── */
.ab-services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ab-service { border-radius: 26px; background: #FFFFFF; color: var(--ink); padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 18px; min-height: 230px; }
.ab-svc-icon { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: #EAF4F1; color: var(--accent); }
.ab-svc-icon .ab-ico { width: 22px; height: 22px; }
.ab-service > div { margin-top: auto; }
.ab-service h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
.ab-service p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.ab-service.is-dark { background: var(--ink); color: #FFFFFF; }
.ab-service.is-dark p { color: var(--on-dark); }
.ab-service.is-dark .ab-svc-icon { background: var(--gold); color: var(--ink); }
.ab-service.is-teal { background: var(--accent); color: #FFFFFF; }
.ab-service.is-teal p { color: #D3E6E1; }
.ab-service.is-teal .ab-svc-icon { background: rgba(255,255,255,.14); color: var(--accent-light); }

/* ── Journey tracker ── */
.ab-tracker { border-radius: 32px; background: #FFFFFF; padding: 40px 40px 36px; position: relative; }
.ab-track {
  position: absolute; top: 66px; inset-inline-start: 69px; height: 6px; border-radius: 999px; background: #EFE8DA;
  /* from the first step's icon centre to the last one's */
  width: calc((var(--n) - 1) * ((100% - 80px - 16px * (var(--n) - 1)) / var(--n) + 16px));
}
.ab-track i { display: block; height: 100%; border-radius: inherit; background: var(--accent); width: calc(var(--p) * 100%); }
.ab-steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 16px; }
.ab-step { display: flex; flex-direction: column; gap: 8px; }
.ab-step-icon { width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center; box-shadow: 0 0 0 6px #FFFFFF; margin-bottom: 12px; }
.ab-step-icon .ab-ico { width: 24px; height: 24px; }
.ab-step.is-done .ab-step-icon { background: var(--accent); color: #FFFFFF; }
.ab-step.is-now .ab-step-icon { background: var(--gold); color: var(--ink); }
.ab-step.is-next .ab-step-icon { background: #EFE8DA; color: var(--ink); }
.ab-step-n { font-size: 11px; color: var(--muted-2); }
.ab-step b { font-size: 17px; }
.ab-step-body { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ── Service levels ── */
.ab-sla { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.ab-sla-card { border-radius: 26px; background: #FFFFFF; padding: 24px 22px; display: flex; flex-direction: column; gap: 16px; border-top: 6px solid var(--accent); }
.ab-sla-card.is-gold { border-top-color: var(--gold); }
.ab-sla-metric { font-size: 13px; font-weight: 600; color: var(--accent); }
.ab-sla-target { font-family: var(--display); font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -.035em; color: var(--ink); min-height: 44px; display: flex; align-items: flex-end; }
.ab-sla-target.is-long { font-size: 24px; letter-spacing: -.01em; }
[lang="ar"] .ab-sla-target { letter-spacing: 0; }
.ab-sla-measure { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ── Sectors ── */
.ab-sectors-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.ab-sectors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ab-sectors li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: #FFFFFF; font-weight: 600; font-size: 15px; }
.ab-sectors li > span { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: #EAF4F1; color: var(--accent); flex: none; }
.ab-sectors .ab-ico { width: 19px; height: 19px; }

/* ── Call to action ── */
.ab-cta-wrap { padding-bottom: 112px; }
.ab-cta {
  border-radius: 40px; background: var(--gold); color: var(--ink); padding: 64px 64px 60px;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; position: relative; overflow: hidden;
}
.ab-cta-mark { position: absolute; right: -60px; bottom: -110px; width: 440px; height: 275px; opacity: .16; pointer-events: none; }
[dir="rtl"] .ab-cta-mark { right: auto; left: -60px; }
.ab-cta-copy { position: relative; }
.ab-cta h2 { margin: 0; font-family: var(--display); font-size: clamp(38px, 5vw, 64px); line-height: .98; letter-spacing: -.04em; font-weight: 800; color: var(--ink); }
.ab-cta-copy p { margin: 20px 0 0; font-size: 18px; line-height: 1.6; max-width: 520px; }
.ab-cta-actions { position: relative; display: flex; flex-direction: column; gap: 12px; }
.ab-cta-actions p { margin: 4px 0 0; text-align: center; font-size: 15px; }
.ab-cta-actions p a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (hover: hover) {
  .ab-service, .ab-fleet-card, .ab-sla-card { transition: translate .2s ease, box-shadow .2s ease; }
  .ab-service:hover, .ab-fleet-card:hover, .ab-sla-card:hover { translate: 0 -4px; box-shadow: 0 24px 40px -24px rgba(7,63,55,.35); }
}

/* ── Tablet ── */
@media (max-width: 1024px) {
  .ab-hero { grid-template-columns: 1fr; gap: 48px; }
  .ab-waybill-wrap { max-width: 560px; }
  .ab-who, .ab-head-split, .ab-sectors-wrap, .ab-cta { grid-template-columns: 1fr; }
  .ab-who { gap: 24px; }
  .ab-head-split { gap: 16px; align-items: start; }
  .ab-mv { padding-top: 0; }
  .ab-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-stat:nth-child(3) { border-inline-start: 0; }
  .ab-stat:nth-child(n+3) { border-top: 1px solid var(--dark-line); }
  .ab-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-route { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .ab-route::before { display: none; }
  .ab-track { display: none; }
  .ab-steps { grid-template-columns: 1fr; gap: 0; }
  .ab-step { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 18px; padding-bottom: 20px; }
  .ab-step-icon { grid-row: span 3; margin: 0; }
}

/* ── Phone ── */
@media (max-width: 760px) {
  .ab-sec { padding-top: 80px; }
  .ab-hero { padding-top: 24px; }
  .ab-hero-copy { padding-top: 8px; gap: 22px; }
  .ab-hero-actions .ab-btn { width: 100%; }
  .ab-waybill { transform: none; }
  [dir="rtl"] .ab-waybill { transform: none; }
  .ab-waybill-shadow { inset: 22px -8px -8px 8px; }
  [dir="rtl"] .ab-waybill-shadow { inset: 22px 8px -8px -8px; }
  .ab-wb-rows > div { grid-template-columns: 1fr; gap: 2px; }
  .ab-parent { grid-template-columns: auto minmax(0, 1fr); padding: 20px; }
  .ab-parent-tag { display: none; }
  .ab-ribbon { margin-top: 56px; }
  .ab-stat { padding: 28px 16px; }
  .ab-who { padding-top: 80px; }
  .ab-fleet { grid-template-columns: 1fr; }
  .ab-fleet-bar > div { min-width: 0; padding: 0 12px; gap: 6px; }
  .ab-fleet-bar span { font-size: 20px; }
  .ab-highlight { grid-template-columns: 1fr; gap: 10px; }
  .ab-coverage { padding: 36px 22px 40px; border-radius: 28px; }
  .ab-cov-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ab-route { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; }
  .ab-services { grid-template-columns: 1fr; }
  .ab-service { min-height: 0; }
  .ab-tracker { padding: 28px 22px 12px; border-radius: 26px; }
  .ab-sectors { grid-template-columns: 1fr; }
  .ab-cta { padding: 40px 24px 36px; border-radius: 30px; gap: 28px; }
  .ab-cta-mark { width: 260px; height: 162px; bottom: -70px; }
  .ab-cta-wrap { padding-bottom: 80px; }
}

/* ───────────────────────────────────────────────────────────────
   Terms of service and privacy policy (terms/, privacy/).
   A reading layout: title block, a sticky contents list, numbered sections.
   ─────────────────────────────────────────────────────────────── */
.lg { padding-top: 64px; padding-bottom: 112px; }
.lg-head { max-width: 820px; }
.lg-eyebrow { margin: 0; font-size: 12px; color: var(--accent); }
.lg-head h1 { margin: 14px 0 0; font-family: var(--display); font-size: clamp(40px, 5.6vw, 72px); line-height: 1; letter-spacing: -.04em; font-weight: 800; }
[lang="ar"] .lg-head h1 { letter-spacing: 0; line-height: 1.3; font-weight: 700; }
.lg-lead { margin: 22px 0 0; font-size: 19px; line-height: 1.65; color: var(--muted); }
.lg-date { margin: 18px 0 0; font-size: 14px; color: var(--muted-2); }
.lg-body { margin-top: 64px; display: grid; grid-template-columns: 260px minmax(0, 760px); gap: 64px; align-items: start; }
.lg-toc { position: sticky; top: 110px; background: #FFFFFF; border-radius: 22px; padding: 22px 22px 18px; }
.lg-toc p { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
[lang="ar"] .lg-toc p { letter-spacing: 0; font-size: 13px; }
.lg-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.lg-toc li { counter-increment: toc; }
.lg-toc a { display: flex; gap: 10px; padding: 7px 0; font-size: 14px; font-weight: 500; color: var(--muted); }
.lg-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 2px; }
.lg-toc a:hover { color: var(--accent); }
.lg-text section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--rule); scroll-margin-top: 110px; }
.lg-text h2 { margin: 0 0 14px; display: flex; gap: 14px; align-items: baseline; font-size: 24px; letter-spacing: -.01em; }
.lg-text h2 span { font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 500; }
.lg-text p { margin: 0 0 12px; font-size: 16px; line-height: 1.8; color: var(--ink); }
.lg-contact { margin-top: 8px; font-weight: 600; }
.lg-contact a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .lg-body { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
  .lg-toc { position: static; }
}
