/* Arsel landing page (arselapp.com). Built from the design handoff, section 11
   "Landing page", and its reference artboards (English LTR, Arabic RTL).
   Logical properties only, so the same rules mirror under dir="rtl". */

/* Fonts: self-hosted Google Fonts subsets (SIL Open Font License 1.1). */
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("fonts/baloo-2-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Baloo Bhaijaan 2";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("fonts/baloo-bhaijaan-2-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Baloo Bhaijaan 2";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("fonts/baloo-bhaijaan-2-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Readex Pro";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/readex-pro-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Readex Pro";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/readex-pro-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/rubik-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/rubik-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokens: handoff sections 02 (color) and 03 (type, spacing, shape, motion). */
:root {
  --blue: #1268e5;
  --blue-deep: #0c45b5;
  --blue-light: #3a86f5;
  --blue-soft: #edf3fe;
  --blue-tint: #e0ebfb;
  --ink: #0a0a0b;
  --muted: #4d4d56;
  --faint: #6e6e6e;
  --line: #e6e6e9;
  --line-strong: #d1d3d6;
  --outline: #858585;
  --canvas: #ffffff;
  --canvas-alt: #f4f7fc;
  --navy: #061836;
  --orange: #f85008;
  --orange-ink: #b33a00;
  --orange-soft: #fff0e7;
  --green: #1e9e57;

  /* Product components (Tracking Card, Payment Summary Card). */
  --c-ink: #09101a;
  --c-muted: #3d485a;
  --c-line: #dee3ed;
  --c-tint: #ecf0f7;
  --c-surface: #fcfdff;
  --c-chip: #f2f6fd;

  /* WhatsApp chrome. */
  --wa-out: #d9fdd3;
  --wa-time: #667781;
  --wa-bar: #f7f7f7;
  --wa-wall: #efe7dc;

  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Readex Pro", system-ui, sans-serif;
  --font-ui: "Rubik", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --fast: 120ms;
  --base: 220ms;
  --slow: 400ms;

  --gutter: clamp(20px, 8.34vw, 120px);
  --nav-h: 88px;
}

:lang(ar) {
  --font-display: "Baloo Bhaijaan 2", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.trust :focus-visible,
.cta :focus-visible {
  outline-color: #ffffff;
}

.ico {
  width: 24px;
  height: 24px;
  flex: none;
  fill: currentColor;
}

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), 1200px);
  margin-inline: auto;
}

.ltr {
  direction: ltr;
  unicode-bidi: isolate;
}

/* Launch switch (assets/site.js): until the WhatsApp number is live every
   "Start a delivery" button is replaced by the launch status chip. */
html:not([data-launch="live"]) [data-when="live"],
html[data-launch="live"] [data-when="soon"] {
  display: none !important;
}

/* Shared pieces */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-ink);
  font: 700 14px/18px var(--font-body);
  white-space: nowrap;
}

.chip::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--orange);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--fast) var(--ease),
    border-color var(--fast) var(--ease),
    transform var(--fast) var(--ease);
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--blue);
  color: #ffffff;
}

.btn--primary:hover {
  background: var(--blue-deep);
}

.btn--glow {
  box-shadow:
    0 8px 20px #1268e559,
    inset 0 1px 1px #ffffff59;
}

.btn--outline {
  gap: 8px;
  border: 1px solid var(--outline);
  background: transparent;
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--ink);
  background: #f6f6f7;
}

.btn--light {
  background: #ffffff;
  color: var(--blue-deep);
  box-shadow: 0 10px 24px #06183640;
}

.btn--light:hover {
  background: var(--blue-soft);
}

.btn--sm {
  gap: 8px;
  padding: 12px 22px;
  font-size: 15px;
  line-height: 24px;
}

.btn--lg {
  height: 60px;
  padding-inline: 30px;
  font-size: 19px;
}

.btn--outline.btn--lg {
  padding-inline: 26px;
}

.btn--xl {
  height: 64px;
  padding-inline: 36px;
  font-size: 20px;
}

.lang {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f6f6f7;
}

.lang a,
.lang span {
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--muted);
  font: 500 13px/16px var(--font-body);
  text-decoration: none;
  transition: color var(--fast) var(--ease);
}

.lang a:hover {
  color: var(--ink);
}

.lang [aria-current] {
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 1px 3px #1b346420;
}

.kicker {
  color: var(--orange-ink);
  font: 700 13px/16px var(--font-body);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.h2 {
  font: 800 56px/1.05 var(--font-display);
  letter-spacing: -1px;
}

.sub {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

:lang(ar) .kicker,
:lang(ar) .h2,
:lang(ar) .hero__title,
:lang(ar) .cta h2,
:lang(ar) .footer__group h3,
:lang(ar) .footer__lang h3 {
  letter-spacing: 0;
}

:lang(ar) .h2,
:lang(ar) .cta h2,
:lang(ar) .card h3 {
  line-height: 1.3;
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: #ffffffeb;
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}

.nav__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--nav-h);
}

.logo {
  display: block;
  flex: none;
}

.logo img {
  width: 118px;
  height: 44px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__links a {
  color: var(--muted);
  font: 500 15px/19px var(--font-body);
  text-decoration: none;
  transition: color var(--fast) var(--ease);
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hero */

.hero {
  padding-block: 56px 88px;
  overflow: hidden;
}

.hero__in {
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero__copy {
  display: flex;
  flex: 0 1 520px;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  min-width: 0;
  animation: rise var(--slow) var(--ease) both;
}

.hero__title {
  font: 800 80px/0.95 var(--font-display);
  letter-spacing: -2px;
}

:lang(ar) .hero__title {
  line-height: 1.2;
}

.hero__title span {
  display: block;
}

.hero__title .accent {
  color: var(--blue);
}

.hero__lead {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.proof li {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 500 15px/19px var(--font-body);
}

.proof .ico {
  color: var(--green);
}

.hero__visual {
  display: flex;
  flex: 1 1 624px;
  justify-content: flex-end;
  min-width: 0;
  animation: rise var(--slow) var(--ease) 80ms both;
}

/* The visual is drawn at its 1440 size and zoomed down on smaller screens. */
.stage {
  position: relative;
  width: 624px;
  height: 620px;
  flex: none;
}

.stage__bubble {
  position: absolute;
  inset-inline-start: 180px;
  top: 40px;
  width: 444px;
  height: 560px;
  border-radius: 56px;
  border-end-start-radius: 14px;
  background: linear-gradient(200deg, var(--blue-light), var(--blue));
}

.phone {
  position: absolute;
  inset-inline-start: 324px;
  top: 0;
  width: 300px;
  height: 600px;
  padding: 10px;
  border-radius: 52px;
  background: #0b0b0d;
  box-shadow: 0 30px 60px #0a1e4a40;
}

.phone__screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 42px;
  background: var(--wa-wall);
}

.phone__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 14px 26px 6px;
  background: var(--wa-bar);
  font: 700 13px/16px var(--font-body);
}

.phone__status i {
  width: 90px;
  height: 24px;
  border-radius: 999px;
  background: #0b0b0d;
}

.phone__status small {
  font-size: 11px;
  font-weight: 700;
}

.wa-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 12px;
  border-bottom: 1px solid #e3e3e3;
  background: var(--wa-bar);
}

.wa-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: var(--blue);
  color: var(--c-surface);
}

.wa-avatar .ico {
  width: 20px;
  height: 20px;
}

.wa-head b {
  display: block;
  font: 700 15px/19px var(--font-body);
}

.wa-head small {
  display: block;
  color: var(--green);
  font-size: 11px;
  line-height: 14px;
}

.wa-msgs {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 16px 12px;
}

.msg {
  position: relative;
  display: flex;
}

.msg--out {
  justify-content: flex-end;
}

.bubble {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 228px;
  padding: 8px 10px 6px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 1px 1px #0000001a;
  font-size: 12.5px;
  line-height: 1.45;
}

.msg--out .bubble {
  border-end-end-radius: 4px;
  background: var(--wa-out);
}

.msg--in .bubble {
  border-end-start-radius: 4px;
}

.bubble time {
  color: var(--wa-time);
  font-size: 10px;
  line-height: 13px;
}

.wa-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--c-chip);
}

.wa-link::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
}

.wa-link b {
  display: block;
  color: var(--blue-deep);
  font-size: 12px;
  line-height: 15px;
}

.wa-link small {
  display: block;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 13px;
}

.wa-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 22px;
  background: var(--wa-bar);
}

.wa-input span {
  display: flex;
  flex: 1;
  align-items: center;
  height: 36px;
  padding-inline: 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #8a8a8a;
  font-size: 12px;
}

.wa-input i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
}

.typing {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  display: none;
  gap: 5px;
  padding: 12px 14px;
  border-radius: 14px;
  border-end-start-radius: 4px;
  background: #ffffff;
  box-shadow: 0 1px 1px #0000001a;
}

.dots {
  display: inline-flex;
  gap: 5px;
}

.dots i,
.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c2c2c2;
}

.dots i:first-child,
.typing i:first-child {
  background: #8a8a8a;
}

/* Tracking Card (component, EN and AR) */

.track-card {
  position: absolute;
  inset-inline-start: 0;
  top: 250px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 360px;
  padding: 20px;
  border: 1px solid var(--c-line);
  border-radius: 24px;
  background: var(--c-surface);
  box-shadow:
    0 24px 48px #0a1e4a33,
    0 2px 6px #0a1e4a14;
  color: var(--c-ink);
  font-family: var(--font-ui);
}

.tc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tc-rider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tc-avatar {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--c-surface);
  font: 700 22px/1.35 var(--font-ui);
}

.tc-rider b {
  display: block;
  font-size: 18px;
  line-height: 1.35;
}

.tc-rider small {
  display: block;
  margin-top: 4px;
  white-space: nowrap;
  color: var(--c-muted);
  font-size: 13px;
  line-height: 15px;
}

.tc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--c-chip);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 600;
  line-height: 14px;
  white-space: nowrap;
}

.tc-chip .ico {
  width: 14px;
  height: 14px;
}

.tc-eta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: var(--c-tint);
}

.tc-eta div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--c-muted);
  font-size: 14px;
}

.tc-eta strong {
  color: var(--blue-deep);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.35;
}

.bar {
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--c-line);
}

.bar i {
  display: block;
  width: var(--w, 90%);
  height: 100%;
  border-radius: 3px;
  background: var(--blue);
}

.bar--90 i {
  --w: 90%;
}

.bar--65 i {
  --w: 65%;
}

.tc-phone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--c-muted);
  font-size: 13px;
}

.tc-phone span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tc-phone .ico {
  width: 16px;
  height: 16px;
}

.tc-phone b {
  color: var(--c-ink);
  font-size: 15px;
  font-weight: 600;
}

.tc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 52px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--c-surface);
  font-size: 16px;
  font-weight: 700;
}

.tc-btn .ico {
  width: 20px;
  height: 20px;
}

.tc-note {
  color: var(--c-muted);
  font-size: 12px;
  line-height: 14px;
  text-align: center;
}

/* How it works */

.how {
  padding-block: 112px;
  background: var(--canvas-alt);
}

.how .wrap {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step__track {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
}

.step__num {
  display: grid;
  width: 44px;
  height: 44px;
  flex: none;
  place-items: center;
  border-radius: 22px;
  border-end-start-radius: 6px;
  background: var(--blue);
  color: #ffffff;
  font: 700 15px/20px var(--font-mono);
}

.step__line {
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--blue-tint);
}

.step__line::after {
  content: "";
  display: block;
  height: 100%;
  border-radius: 2px;
  background: var(--blue);
  transform-origin: left;
}

[dir="rtl"] .step__line::after {
  transform-origin: right;
}

.step__visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  height: 300px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  border-end-start-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px #1b346410;
}

.step__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-inline-end: 8px;
}

.step__text h3 {
  font: 700 24px/1.2 var(--font-display);
}

.step__text p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.bubble--lg {
  width: auto;
  max-width: 280px;
  padding: 10px 14px 8px;
  border-radius: 16px;
  box-shadow: none;
  font-size: 14px;
  line-height: 1.5;
}

.bubble--lg time {
  font-size: 11px;
  line-height: 14px;
}

.bubble--map {
  width: 200px;
  gap: 6px;
  padding: 6px;
  border-radius: 16px;
  box-shadow: none;
}

.map {
  display: grid;
  height: 72px;
  place-items: center;
  border-radius: 10px;
  background: #e3eaf3;
  color: var(--orange);
}

.bubble--map b {
  font-size: 12.5px;
}

.typing--static {
  position: static;
  display: inline-flex;
  align-self: flex-start;
  border-radius: 16px;
  border-end-start-radius: 4px;
  background: #f2f2f2;
  box-shadow: none;
}

.quote {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote__shop {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.tile {
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  border-radius: 14px;
  border-end-start-radius: 4px;
  background: var(--blue-soft);
  color: var(--blue);
}

.quote__shop b,
.mini__rider b {
  display: block;
  font-size: 15px;
  line-height: 19px;
}

.quote__shop small,
.mini__rider small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 16px;
}

.quote__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 17px;
}

.quote__row b {
  color: var(--ink);
}

.money {
  font-family: var(--font-mono);
}

:lang(ar) .money {
  font-family: var(--font-body);
}

.quote__row--fee b {
  font-size: 15px;
}

.replies {
  display: flex;
  gap: 8px;
  padding-top: 6px;
}

.replies span {
  display: grid;
  flex: 1;
  height: 40px;
  place-items: center;
  border: 1px solid var(--outline);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: pre;
}

.replies span:first-child {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.mini {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mini__rider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mini__rider > div {
  flex: 1;
}

.mini__avatar {
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  border-radius: 20px;
  border-end-start-radius: 8px;
  background: var(--blue);
  color: #ffffff;
  font: 700 18px/1 var(--font-display);
}

.mini__eta {
  color: var(--blue-deep);
  font: 700 22px/29px var(--font-mono);
}

:lang(ar) .mini__eta {
  font-family: var(--font-body);
}

.mini .bar {
  background: #eeeef0;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.timeline li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  line-height: 17px;
}

.timeline li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
}

.timeline span {
  flex: 1;
}

.timeline time {
  color: var(--faint);
  font-size: 12px;
  line-height: 15px;
}

.timeline .is-now {
  color: var(--blue-deep);
  font-weight: 700;
}

.timeline .is-now::before {
  background: var(--blue);
}

.timeline .is-next {
  color: var(--faint);
}

.timeline .is-next::before {
  background: #eeeef0;
}

.timeline .is-now time {
  font-weight: 400;
}

/* Services */

.services {
  padding-block: 112px;
}

.services .wrap {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.services__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 64px;
}

.services__head .section-head {
  max-width: 640px;
}

.services__head .sub {
  max-width: 400px;
  font-size: 17px;
}

.cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 456px;
  grid-template-rows: 288px 288px;
  gap: 24px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 32px;
  overflow: hidden;
  border-radius: 32px;
  border-end-start-radius: 8px;
  color: #ffffff;
  isolation: isolate;
}

.card--big {
  grid-row: span 2;
  padding: 40px;
}

.card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--base) var(--ease);
}

.card:hover img {
  transform: scale(1.03);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #06183600 30%, #061836e6);
}

.tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  padding: 6px 12px;
  padding-inline-start: 8px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue-deep);
  font: 700 13px/16px var(--font-body);
}

.tag .ico {
  color: var(--blue);
}

.card h3 {
  font: 800 28px/1.1 var(--font-display);
}

.card--big h3 {
  font-size: 40px;
}

.card p {
  max-width: 520px;
  color: #ffffffd9;
  font-size: 15px;
  line-height: 1.55;
}

.card--big p {
  font-size: 18px;
}

/* Trust */

.trust {
  padding-block: 112px;
  background: var(--navy);
  color: #ffffff;
}

.trust .wrap {
  display: flex;
  align-items: center;
  gap: 80px;
}

.trust__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
}

.trust .kicker {
  color: #ffb27a;
}

.trust .sub {
  color: #b9c8e0;
}

.assure li {
  display: flex;
  gap: 20px;
  padding-block: 20px;
  border-bottom: 1px solid #ffffff1f;
}

.assure li:last-child {
  border-bottom: 0;
}

.assure .tile {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border-end-start-radius: 5px;
  background: #ffffff14;
  color: #9cc2ff;
}

.assure h3 {
  font: 700 18px/23px var(--font-body);
}

.assure p {
  margin-top: 4px;
  color: #b9c8e0;
  font-size: 15px;
  line-height: 1.55;
}

.trust__visual {
  display: flex;
  flex: 0 1 540px;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.approval {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(400px, 100%);
  padding: 12px;
  border-radius: 20px;
  border-end-start-radius: 6px;
  background: #ffffff;
  color: var(--ink);
}

.approval__photo {
  position: relative;
  height: 150px;
  overflow: hidden;
  border-radius: 12px;
}

.approval__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.approval__photo span {
  position: absolute;
  inset-inline-start: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #061836b3;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
}

.approval p {
  font-size: 14px;
  line-height: 1.5;
}

.approval__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.approval__meta span {
  padding: 4px 10px;
  border-radius: 999px;
  background: #e6f6ed;
  color: #146b3a;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 14px;
}

.approval__meta time {
  color: var(--wa-time);
  font-size: 11px;
}

/* Payment Summary Card (component) */

.pay-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--c-line);
  border-radius: 24px;
  background: var(--c-surface);
  box-shadow: 0 24px 48px #00000059;
  color: var(--c-ink);
  font-family: var(--font-ui);
}

.pay-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pay-card__head b {
  font-size: 20px;
  line-height: 1.35;
}

.pay-card__head span {
  color: var(--c-muted);
  font-size: 13px;
  font-weight: 500;
}

.pay-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
}

.pay-line span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-muted);
}

.pay-line span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--marker, var(--c-muted));
}

.pay-line--fee span::before {
  background: var(--blue);
}

.pay-line--item span::before {
  background: var(--c-ink);
}

.pay-line b {
  font-size: 16px;
  font-weight: 600;
}

.pay-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--c-line);
  font-size: 16px;
  font-weight: 600;
}

.pay-total b {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
}

.notice {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid #931e24;
  border-radius: 16px;
  background: #fdf3f2;
}

.notice__icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #ad262d;
  color: #f8faff;
}

.notice__icon .ico {
  width: 22px;
  height: 22px;
}

.notice b {
  display: block;
  color: #931e24;
  font-size: 16px;
}

.notice p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
}

.pay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 54px;
  border-radius: 999px;
  background: #c35013;
  color: var(--c-surface);
  font-size: 17px;
  font-weight: 700;
}

.pay-btn .ico {
  width: 20px;
  height: 20px;
}

[dir="rtl"] .pay-btn .ico {
  transform: scaleX(-1);
}

/* Final CTA */

.final {
  padding-block: 112px 80px;
}

.cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 88px 80px;
  overflow: hidden;
  border-radius: 48px;
  border-end-start-radius: 12px;
  background: linear-gradient(200deg, var(--blue-light), var(--blue));
  box-shadow: 0 8px 20px #1268e540;
  color: #ffffff;
  isolation: isolate;
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}

.cta::before {
  inset-inline-end: -80px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-end-start-radius: 40px;
  background: #ffffff12;
}

.cta::after {
  inset-inline-end: 40px;
  bottom: -34px;
  width: 160px;
  height: 160px;
  border-end-start-radius: 16px;
  background: #ffffff0d;
}

.cta__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 20px;
}

.cta h2 {
  font: 800 60px/1.02 var(--font-display);
  letter-spacing: -1px;
}

.cta p {
  max-width: 732px;
  color: #ffffffe0;
  font-size: 19px;
  line-height: 1.55;
}

.cta__actions {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Footer */

.footer {
  padding-block: 72px 32px;
  border-top: 1px solid var(--line);
  background: var(--canvas-alt);
}

.footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer__top {
  display: flex;
  gap: 48px;
}

.footer__brand {
  display: flex;
  flex: 0 1 400px;
  flex-direction: column;
  gap: 20px;
}

.footer__brand p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.footer__groups {
  display: flex;
  flex: 1;
  gap: 32px;
}

.footer__group,
.footer__lang {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
}

.footer__lang {
  flex: none;
}

.footer__lang .lang {
  align-self: flex-start;
}

.footer__group h3,
.footer__lang h3 {
  color: var(--faint);
  font: 700 12px/15px var(--font-body);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer__group a {
  align-self: flex-start;
  font: 500 15px/19px var(--font-body);
  text-decoration: none;
}

.footer__group a:hover {
  color: var(--blue);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 16px;
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #ffffff;
  font: 700 13px/16px var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  transition:
    border-color var(--fast) var(--ease),
    transform var(--fast) var(--ease);
}

.to-top:hover {
  border-color: var(--ink);
}

.to-top:active {
  transform: scale(0.97);
}

.to-top .ico {
  width: 20px;
  height: 20px;
  transform: rotate(180deg);
}

/* Motion (handoff section 11, "Motion"). The chat and the steps only wait for
   their cue when motion is allowed; otherwise they are shown complete. */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

@keyframes blink {
  50% {
    opacity: 0.35;
  }
}

@keyframes failsafe {
  to {
    visibility: visible;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .js [data-chat] .bubble {
    visibility: hidden;
    animation: failsafe 0s linear 6s forwards;
  }

  .js [data-chat] .is-shown .bubble {
    visibility: visible;
    animation: pop var(--base) var(--ease) both;
  }

  .js [data-chat] .is-typing .typing {
    display: inline-flex;
  }

  .typing i {
    animation: blink 900ms ease-in-out infinite;
  }

  .typing i:nth-child(2) {
    animation-delay: 150ms;
  }

  .typing i:nth-child(3) {
    animation-delay: 300ms;
  }

  .js [data-steps]:not(.is-on) .step__num {
    background: var(--blue-tint);
    color: var(--blue-deep);
  }

  .js [data-steps]:not(.is-on) .step__line::after {
    transform: scaleX(0);
  }

  [data-steps].is-on .step__num {
    transition:
      background-color var(--base) var(--ease),
      color var(--base) var(--ease);
  }

  [data-steps].is-on .step__line::after {
    transition: transform var(--slow) linear;
  }

  [data-steps].is-on .step:nth-child(2) .step__num,
  [data-steps].is-on .step:nth-child(2) .step__line::after {
    transition-delay: var(--slow);
  }

  [data-steps].is-on .step:nth-child(3) .step__num {
    transition-delay: calc(2 * var(--slow));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__copy,
  .hero__visual {
    animation: fade var(--fast) linear both;
  }

  .btn:active,
  .to-top:active,
  .card:hover img {
    transform: none;
  }
}

/* Breakpoints: handoff section 03 (bp-sm 640, bp-md 768, bp-lg 1024, bp-xl 1280). */

@media (max-width: 1279px) {
  .hero__in {
    gap: 32px;
  }

  .hero__title {
    font-size: 68px;
  }

  .stage {
    zoom: 0.84;
  }

  .h2 {
    font-size: 48px;
  }

  .cards {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
  }

  .trust .wrap {
    gap: 56px;
  }

  .cta {
    padding: 72px 56px;
  }

  .cta h2 {
    font-size: 52px;
  }
}

@media (max-width: 1023px) {
  :root {
    --nav-h: 72px;
  }

  .nav__links {
    display: none;
  }

  .hero {
    padding-block: 40px 72px;
  }

  .hero__in {
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
  }

  .hero__copy {
    flex-basis: auto;
    max-width: 640px;
  }

  .hero__visual {
    flex-basis: auto;
    justify-content: center;
  }

  .stage {
    zoom: 1;
  }

  .how,
  .services,
  .trust {
    padding-block: 88px;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    gap: 48px;
  }

  .step__line {
    display: none;
  }

  .services__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 480px 300px;
  }

  .card--big {
    grid-column: span 2;
    grid-row: auto;
  }

  .trust .wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .trust__visual {
    flex-basis: auto;
    align-self: center;
    width: min(540px, 100%);
  }

  .final {
    padding-block: 88px 64px;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .cta__actions {
    align-items: flex-start;
  }

  .footer__top {
    flex-wrap: wrap;
  }

  .footer__brand {
    flex-basis: 100%;
  }
}

@media (max-width: 767px) {
  :root {
    --nav-h: 64px;
  }

  .logo img {
    width: 94px;
    height: 35px;
  }

  .nav__actions .chip {
    display: none;
  }

  .hero__title {
    font-size: 52px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__copy {
    gap: 24px;
  }

  .stage {
    zoom: 0.56;
  }

  .h2 {
    font-size: 36px;
  }

  .sub {
    font-size: 16px;
  }

  .how,
  .services,
  .trust {
    padding-block: 72px;
  }

  .how .wrap {
    gap: 40px;
  }

  .services .wrap {
    gap: 32px;
  }

  .step__visual {
    height: auto;
    min-height: 280px;
    padding: 20px;
  }

  .cards {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-rows: 360px;
    gap: 16px;
  }

  .card--big {
    grid-column: auto;
  }

  .card,
  .card--big {
    padding: 24px;
  }

  .card--big h3 {
    font-size: 32px;
  }

  .card--big p {
    font-size: 16px;
  }

  .assure li {
    gap: 16px;
  }

  .pay-card {
    padding: 20px;
  }

  .final {
    padding-block: 72px 48px;
  }

  .cta {
    padding: 48px 24px;
    border-radius: 32px;
    border-end-start-radius: 10px;
  }

  .cta h2 {
    font-size: 38px;
  }

  .cta p {
    font-size: 17px;
  }

  .footer {
    padding-block: 56px 24px;
  }

  .footer__lang {
    flex-basis: 100%;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .hero__title {
    font-size: 44px;
  }

  .stage {
    zoom: 0.5;
  }
}
