/* Public page. Mobile first; motion is switched off for people who ask for less motion. */
:root {
  --ink: #14212b;
  --ink-2: #44525d;
  --ink-3: #6b7780;
  --paper: #f4f2ec;
  --paper-2: #ebe8df;
  --white: #fff;
  --brand: #0f3d3e;
  --brand-2: #155556;
  --brand-ink: #dbe9e7;
  --accent: #c27a1a;
  --accent-2: #a9640c;
  --ok: #1f7a4e;
  --line: #ddd8cc;
  --radius: 14px;
  --font: "IBM Plex Sans Arabic", "IBM Plex Sans Hebrew", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-lat: "Outfit", var(--font);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.l-body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.65; overflow-x: hidden; }
html[lang="en"] body.l-body { font-family: var(--font-lat); }
img, svg { max-width: 100%; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.l-skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.l-skip:focus { top: 12px; }
.l-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* buttons */
.l-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease; white-space: nowrap; }
.l-btn:hover { transform: translateY(-1px); }
.l-btn:active { transform: translateY(0); }
.l-btn-solid { background: var(--brand); color: #fff; }
.l-btn-solid:hover { background: var(--brand-2); }
.l-btn-accent { background: var(--accent); color: #fff; }
.l-btn-accent:hover { background: var(--accent-2); }
.l-btn-line { border-color: currentColor; color: var(--brand); background: transparent; }
.l-btn-ghost { background: rgba(15, 61, 62, .08); color: var(--brand); }
.l-btn-wide { width: 100%; }

/* header */
.l-head { position: sticky; top: 0; z-index: 20; background: rgba(244, 242, 236, .86); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.l-head.is-stuck { border-bottom-color: var(--line); }
.l-head-in { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.l-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-lat); font-weight: 800; letter-spacing: .06em; text-decoration: none; font-size: 1.1rem; color: var(--brand); }
.l-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--brand); position: relative; flex: none; }
.l-mark::before { content: ""; position: absolute; inset: 7px; border-radius: 4px; background: var(--accent); }
.l-mark::after { content: ""; position: absolute; left: 11px; top: 11px; width: 7px; height: 8px; border: 2px solid #fff; border-left: 0; border-radius: 0 5px 5px 0; }
.l-nav { display: none; gap: 22px; margin-inline-start: 18px; }
.l-nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.l-nav a:hover { color: var(--brand); }
.l-head-end { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.l-head-end .l-btn { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.l-lang { display: flex; gap: 2px; }
.l-lang button { border: 0; background: none; font: inherit; font-size: .85rem; color: var(--ink-2); padding: 8px 7px; cursor: pointer; border-radius: 8px; }
.l-lang button:hover { background: var(--paper-2); color: var(--brand); }

/* hero */
.l-hero { padding: 28px 0 44px; }
.l-hero-in { display: grid; gap: 28px; align-items: center; }
.l-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .88rem; font-weight: 600; color: var(--brand); background: #e3ebe6; padding: 5px 12px; border-radius: 999px; }
.l-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(31, 122, 78, .5); animation: l-ping 2.2s infinite; }
@keyframes l-ping { 0% { box-shadow: 0 0 0 0 rgba(31, 122, 78, .45); } 70% { box-shadow: 0 0 0 9px rgba(31, 122, 78, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 122, 78, 0); } }
.l-title { font-size: clamp(1.9rem, 7.2vw, 3.4rem); line-height: 1.22; margin: 0 0 14px; letter-spacing: -.01em; font-weight: 700; color: var(--brand); text-wrap: balance; }
html[lang="en"] .l-title { letter-spacing: -.02em; line-height: 1.08; font-weight: 800; }
.l-lead { font-size: 1.06rem; color: var(--ink-2); margin: 0 0 22px; max-width: 34em; }
.l-track { display: flex; gap: 6px; background: var(--white); padding: 6px; border-radius: 999px; border: 1px solid var(--line); box-shadow: 0 8px 24px -14px rgba(20, 33, 43, .35); max-width: 460px; }
.l-track input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1rem; padding: 0 14px; font-family: var(--font-lat); letter-spacing: .04em; }
.l-track input:focus { outline: none; }
.l-track:focus-within { border-color: var(--brand); }
.l-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* the moving scene */
.l-stage { position: relative; }
.l-scene { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(15, 61, 62, .16)); }
.l-panel { fill: #e7eee9; }
.l-dotgrid { fill: #c7d5cd; }
.l-road { fill: none; stroke: #d6e0da; stroke-width: 14; stroke-linecap: round; }
.l-route-base { fill: none; stroke: #bccbc3; stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; }
.l-route-live { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; }
.l-bld { fill: #fff; stroke: #b9c7bf; stroke-width: 1.5; }
.l-bld-hub { fill: var(--brand); stroke: none; }
.l-roof { fill: var(--brand); }
.l-roof-home { fill: var(--accent); }
.l-door { fill: var(--brand-2); }
.l-win { fill: #cfe0e6; }
.l-shutter { fill: #e9efe9; }
.l-shutter-line { stroke: #b9c7bf; stroke-width: 1.2; }
.l-hub-ring { fill: none; stroke: var(--accent); stroke-width: 2; }
.l-lbl { font: 700 17px var(--font); fill: var(--ink-2); paint-order: stroke; stroke: #e7eee9; stroke-width: 4px; }
.l-box { fill: #d9a45a; stroke: #a9640c; stroke-width: 1; }
.l-box-2 { fill: #e2b673; }
.l-tape { stroke: #a9640c; stroke-width: 1; opacity: .7; }
.l-van-body { fill: #fff; stroke: var(--brand); stroke-width: 1.6; }
.l-van-cab { fill: var(--brand); }
.l-van-glass { fill: #cfe0e6; }
.l-van-mark { fill: var(--accent); }
.l-wheel { fill: #1c2a33; stroke: #fff; stroke-width: 1.6; }
.l-done-c { fill: var(--ok); }
.l-done-t { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.l-coin-c { fill: #f2c14e; stroke: #b88a1d; stroke-width: 1.5; }
.l-coin-t { font: 700 11px var(--font-lat); fill: #7a5a0e; }
.l-card { position: absolute; background: var(--white); border-radius: 14px; box-shadow: 0 14px 34px -16px rgba(20, 33, 43, .45); border: 1px solid rgba(20, 33, 43, .06); font-size: .82rem; }
.l-card-track { position: relative; margin: -34px 14px 0; padding: 12px 14px; }
.l-card-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 8px; }
.l-mono { white-space: nowrap; font-family: var(--font-lat); font-weight: 600; letter-spacing: .03em; font-size: .8rem; color: var(--ink-2); }
.l-chip { white-space: nowrap; background: #e3ebe6; color: var(--brand); border-radius: 999px; padding: 2px 9px; font-weight: 600; font-size: .74rem; transition: background .3s ease, color .3s ease; }
.l-chip.is-done { background: #dff1e6; color: var(--ok); }
.l-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.l-steps li { display: flex; align-items: center; gap: 8px; color: var(--ink-3); transition: color .3s ease; }
.l-step-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #c9d3cd; flex: none; transition: all .3s ease; }
.l-steps li.is-past { color: var(--ink-2); }
.l-steps li.is-past .l-step-dot { background: var(--brand); border-color: var(--brand); }
.l-steps li.is-now { color: var(--ink); font-weight: 600; }
.l-steps li.is-now .l-step-dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 4px rgba(194, 122, 26, .2); }
.l-card-cash { left: 8px; top: 14px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .35s ease, transform .35s ease; }
.l-card-cash.is-on { opacity: 1; transform: none; }
.l-card-cash small { display: block; color: var(--ink-3); font-size: .72rem; }
.l-card-cash strong { font-family: var(--font-lat); color: var(--ok); font-size: 1rem; }
.l-cash-ico { width: 28px; height: 28px; border-radius: 8px; background: #fbeccb; position: relative; flex: none; }
.l-cash-ico::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #f2c14e; border: 1.5px solid #b88a1d; }

/* cities */
.l-cities { padding: 12px 0 28px; }
.l-cities-t { text-align: center; margin: 0 0 10px; color: var(--ink-3); font-size: .86rem; font-weight: 600; letter-spacing: .02em; }
.l-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.l-marquee-track { display: flex; width: max-content; animation: l-marquee 38s linear infinite; }
[dir="rtl"] .l-marquee-track { animation-name: l-marquee-rtl; }
.l-marquee:hover .l-marquee-track { animation-play-state: paused; }
.l-marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.l-marquee li { padding: 0 22px; font-size: 1.15rem; font-weight: 600; color: var(--brand); white-space: nowrap; position: relative; }
.l-marquee li::after { content: ""; position: absolute; inset-inline-end: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--accent); opacity: .6; }
@keyframes l-marquee { to { transform: translateX(-50%); } }
@keyframes l-marquee-rtl { to { transform: translateX(50%); } }

/* sections */
.l-sec { padding: 56px 0; }
.l-h2 { font-size: clamp(1.5rem, 5vw, 2.3rem); line-height: 1.3; margin: 0 0 10px; color: var(--brand); text-wrap: balance; }
.l-sub { color: var(--ink-2); margin: 0 0 28px; max-width: 40em; font-size: 1.02rem; }
.l-grid { display: grid; gap: 14px; }
.l-feat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.l-feat:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(15, 61, 62, .5); border-color: #c9d6cf; }
.l-feat h3 { margin: 12px 0 6px; font-size: 1.08rem; color: var(--ink); }
.l-feat p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.l-ico { width: 44px; height: 44px; fill: none; stroke: var(--brand); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; background: #e3ebe6; border-radius: 12px; padding: 6px; }
.l-ico path, .l-ico circle, .l-ico rect { stroke-dasharray: 120; stroke-dashoffset: 0; }
.l-feat.is-in .l-ico path, .l-feat.is-in .l-ico circle, .l-feat.is-in .l-ico rect { animation: l-draw 1.1s ease-out both; animation-delay: var(--d, 0ms); }
.l-feat:hover .l-ico-move { animation: l-nudge .9s ease-in-out infinite; }
@keyframes l-draw { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
@keyframes l-nudge { 50% { transform: translateX(3px); } }

/* how it works: the line fills as you scroll */
.l-sec-dark { background: var(--brand); color: var(--brand-ink); }
.l-sec-dark .l-h2 { color: #fff; }
.l-how { position: relative; margin-top: 26px; --p: 0; }
.l-how-line { position: absolute; inset-inline-start: 19px; top: 8px; bottom: 8px; width: 3px; background: rgba(255, 255, 255, .14); border-radius: 3px; }
.l-how-line span { position: absolute; inset: 0; bottom: auto; height: calc(var(--p) * 100%); background: var(--accent); border-radius: 3px; }
.l-how-box { position: absolute; inset-inline-start: -8px; top: calc(var(--p) * 100%); width: 19px; height: 17px; margin-top: -8px; background: #e2b673; border: 1.5px solid #a9640c; border-radius: 3px; }
.l-how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.l-how-steps li { position: relative; padding-inline-start: 58px; opacity: .45; transition: opacity .4s ease, transform .4s ease; transform: translateY(6px); }
.l-how-steps li.is-on { opacity: 1; transform: none; }
.l-how-n { position: absolute; inset-inline-start: 0; top: 0; width: 41px; height: 41px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-2); border: 2px solid rgba(255, 255, 255, .2); font-family: var(--font-lat); font-weight: 700; color: #fff; transition: background .3s ease, border-color .3s ease; }
.l-how-steps li.is-on .l-how-n { background: var(--accent); border-color: var(--accent); }
.l-how-steps h3 { margin: 6px 0 4px; color: #fff; font-size: 1.12rem; }
.l-how-steps p { margin: 0; font-size: .96rem; opacity: .85; }

/* merchants */
.l-split { display: grid; gap: 34px; align-items: center; }
.l-ticks { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.l-ticks li { position: relative; padding-inline-start: 30px; font-weight: 500; }
.l-ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #dff1e6; }
.l-ticks li::after { content: ""; position: absolute; inset-inline-start: 7px; top: 8px; width: 5px; height: 9px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.l-phone { justify-self: center; width: min(290px, 86vw); aspect-ratio: 9 / 16.5; background: #14212b; border-radius: 40px; padding: 12px; box-shadow: 0 30px 60px -30px rgba(15, 61, 62, .6); }
.l-phone-in { height: 100%; background: var(--paper); border-radius: 30px; padding: 16px 16px 18px; display: flex; flex-direction: column; overflow: hidden; }
.l-phone-bar { display: flex; justify-content: center; margin-bottom: 12px; }
.l-phone-bar span { width: 70px; height: 6px; border-radius: 6px; background: #d7d3c8; }
.l-phone-k { margin: 0; color: var(--ink-3); font-size: .8rem; }
.l-phone-v { margin: 0 0 12px; font-family: var(--font-lat); font-weight: 800; font-size: 1.7rem; color: var(--brand); }
.l-phone-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.l-phone-list li { display: flex; justify-content: space-between; align-items: center; gap: 6px; background: var(--white); border-radius: 12px; padding: 9px 10px; font-size: .78rem; box-shadow: 0 1px 2px rgba(20, 33, 43, .06); }
.l-phone-list b { font-family: var(--font-lat); font-weight: 600; display: block; font-size: .78rem; }
.l-phone-list small { color: var(--ink-3); }
.l-flip { height: 22px; overflow: hidden; display: inline-block; min-width: 76px; text-align: center; }
.l-flip-in { display: flex; flex-direction: column; animation: l-flip 9s cubic-bezier(.7, 0, .3, 1) infinite; animation-delay: calc(var(--n) * -2.2s); }
.l-flip-in i { font-style: normal; height: 22px; line-height: 22px; border-radius: 999px; padding: 0 8px; background: #e3ebe6; color: var(--brand); font-weight: 600; font-size: .72rem; margin: 0; }
.l-flip-in i.ok { background: #dff1e6; color: var(--ok); }
@keyframes l-flip { 0%, 26% { transform: translateY(0); } 33%, 59% { transform: translateY(-22px); } 66%, 92% { transform: translateY(-44px); } 100% { transform: translateY(-66px); } }
.l-phone-btn { margin-top: auto; text-align: center; background: var(--brand); color: #fff; border-radius: 999px; padding: 10px; font-weight: 600; font-size: .85rem; }

/* numbers */
.l-stats { background: var(--paper-2); padding: 34px 0; }
.l-stats-in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; text-align: center; }
.l-stats strong { display: block; font-family: var(--font-lat); font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 800; color: var(--brand); }
.l-stats span { color: var(--ink-2); font-size: .92rem; }

/* join */
.l-join { background: linear-gradient(180deg, var(--paper) 0, var(--paper-2) 100%); }
.l-split-join { align-items: start; }
.l-join-alt { color: var(--ink-2); }
.l-join-alt a { color: var(--brand); font-weight: 600; }
.l-form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 12px; box-shadow: 0 20px 40px -30px rgba(15, 61, 62, .45); }
.l-row { display: grid; gap: 12px; }
.l-field { display: grid; gap: 5px; min-width: 0; }
.l-field label { font-weight: 600; font-size: .9rem; }
.l-field small { color: var(--ink-3); font-weight: 400; }
.l-field input, .l-field select, .l-field textarea { width: 100%; font: inherit; font-size: 16px; padding: 11px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: #fcfbf8; color: var(--ink); }
.l-field textarea { resize: vertical; }
.l-field input:focus, .l-field select:focus, .l-field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(15, 61, 62, .12); }
.l-field [aria-invalid="true"] { border-color: #b03a2e; }
.l-err { margin: 0; color: #b03a2e; font-size: .84rem; }
.l-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.l-note { padding: 11px 14px; border-radius: 10px; font-weight: 500; }
.l-note-success { background: #dff1e6; color: #175c3b; }
.l-note-error { background: #f8e2df; color: #8d2b21; }
.l-fine { margin: 0; color: var(--ink-3); font-size: .82rem; text-align: center; }

/* footer */
.l-foot { background: #0c2f30; color: #b9cdca; padding: 40px 0 18px; }
.l-foot .l-logo { color: #fff; }
.l-foot-in { display: grid; gap: 24px; }
.l-foot-t { margin: 10px 0 0; max-width: 28em; font-size: .92rem; }
.l-foot-h { color: #fff; font-size: .95rem; margin: 0 0 8px; }
.l-foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .93rem; }
.l-foot-list a { text-decoration: none; }
.l-foot-list a:hover { color: #fff; text-decoration: underline; }
.l-copy { margin-top: 26px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: #87a19d; }

/* entrance */
/* hidden only once the script is running, so nothing stays invisible without it */
.js-motion [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }

@media (min-width: 640px) {
  .l-grid { grid-template-columns: repeat(2, 1fr); }
  .l-row { grid-template-columns: 1fr 1fr; }
  .l-row-3 { grid-template-columns: 1fr 1fr 1fr; }
  .l-stats-in { grid-template-columns: repeat(4, 1fr); }
  .l-foot-in { grid-template-columns: 2fr 1fr 1fr; }
  .l-form { padding: 24px; }
}
@media (min-width: 900px) {
  .l-nav { display: flex; }
  .l-hero { padding: 48px 0 72px; }
  .l-hero-in { grid-template-columns: 1.02fr 1fr; gap: 48px; }
  .l-grid { grid-template-columns: repeat(3, 1fr); }
  .l-sec { padding: 84px 0; }
  .l-split { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .l-split-join { grid-template-columns: .9fr 1.1fr; }
  .l-how { margin-top: 40px; }
  .l-how-line { inset-inline: 20px; top: 19px; bottom: auto; height: 3px; width: auto; }
  .l-how-line span { inset: 0; inset-inline-end: auto; height: 100%; width: calc(var(--p) * 100%); }
  .l-how-box { top: -7px; margin-top: 0; inset-inline-start: calc(var(--p) * 100% - 10px); }
  .l-how-steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .l-how-steps li { padding-inline-start: 0; padding-top: 58px; }
  .l-card-track { position: absolute; margin: 0; right: 4px; bottom: -26px; width: 236px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js-motion [data-reveal] { opacity: 1; transform: none; }
  .l-marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .l-marquee ul[aria-hidden] { display: none; }
  .l-marquee ul { flex-wrap: wrap; justify-content: center; }
  .l-marquee { -webkit-mask-image: none; mask-image: none; }
}
