/* Super Bab home page (superbab.com), 1.2.6: an introduction to the app (1.3.6: moving parts at the end).
   Brand: green #00574F / deep #003F39, orange #FF8A00, Cairo (self-hosted). */
@font-face { font-family: Cairo; src: url(/fonts/cairo-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Cairo; src: url(/fonts/cairo-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: Cairo; src: url(/fonts/cairo-ExtraBold.woff2) format('woff2'); font-weight: 800; font-display: swap; }

:root {
  color-scheme: light;
  --g: #00574F; --g2: #0B7A6F; --deep: #003F39; --ink-deep: #062925; --mint: #E6F2EF;
  --o: #FF8A00; --o2: #E07000; --o-soft: #FFF1E0; --o-on-dark: #FFB45C;
  --ink: #14211F; --mut: #56665F; --line: #E2E8E6; --bg: #FBFAF7; --card: #FFFFFF; --tint: #F2F6F4;
  --r: 18px;
  --sh: 0 1px 2px rgba(16, 40, 36, .06), 0 8px 24px rgba(16, 40, 36, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 400 16px/1.75 Cairo, "Segoe UI", Tahoma, system-ui, sans-serif; background: var(--bg); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.3; }
.i { width: 20px; height: 20px; flex: none; }
.big { width: 34px; height: 34px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; top: -60px; right: 16px; background: var(--deep); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--o); outline-offset: 3px; border-radius: 8px; }
.kicker { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; color: var(--o2); font-weight: 800; font-size: 14px; }
.kicker .i { width: 16px; height: 16px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: 15.5px; transition: filter .15s, background .15s, transform .15s; cursor: pointer; }
.btn:active { transform: scale(.98); }
.btn-o { background: var(--o); color: #fff; }
.btn-o:hover { filter: brightness(1.06); }
.btn-w { background: #fff; color: var(--g); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-w:hover { background: #F4FAF8; }
.btn-line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn-line:hover { background: rgba(255, 255, 255, .1); }
.btn-lg { min-height: 60px; padding: 0 26px 0 24px; border-radius: 18px; text-align: start; }
.btn-lg .i { width: 26px; height: 26px; }
.btn-lg span { display: grid; line-height: 1.25; font-size: 18px; }
.btn-lg small { font-size: 12px; font-weight: 700; opacity: .85; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ctas-sm { margin-top: 18px; }
.ctas-c { justify-content: center; }

/* ---------- top bar ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(251, 250, 247, .9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(0, 63, 57, .08); }
.nav .wrap { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { width: 44px; height: 44px; border-radius: 12px; }
.logo span { display: grid; line-height: 1.2; }
.logo b { font-size: 21px; font-weight: 800; color: var(--g); }
.logo small { font-size: 12px; color: var(--o2); font-weight: 700; }
.links { display: flex; gap: 4px; margin-inline-start: auto; }
.links a { padding: 8px 14px; border-radius: 10px; font-weight: 700; font-size: 15px; color: var(--mut); }
.links a:hover { color: var(--g); background: var(--mint); }
.nav-cta { min-height: 44px; font-size: 14.5px; padding: 0 18px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(90% 120% at 15% 0%, #0E7D71 0%, var(--g) 35%, var(--deep) 70%, var(--ink-deep) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.4px); background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 0, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60%); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 40px; padding-block: 48px 56px; }
.hero .kicker { color: var(--o-on-dark); }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--o-on-dark); }
.lead { margin: 18px 0 0; font-size: 18.5px; line-height: 1.9; color: #D5EAE5; max-width: 34em; }
.hero .btn-w { box-shadow: none; }
.ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; color: #CFE6E1; font-size: 14.5px; }
.ticks li { display: inline-flex; align-items: center; gap: 6px; }
.ticks .i { width: 17px; height: 17px; color: var(--o-on-dark); }

.hero-art { position: relative; justify-self: center; width: min(262px, 100%); }
.phone { position: relative; border-radius: 44px; padding: 10px; background: #0B1715; box-shadow: 0 30px 60px rgba(0, 0, 0, .35), inset 0 0 0 2px rgba(255, 255, 255, .08); transform: rotate(-3deg); }
.phone img { width: 100%; aspect-ratio: 520 / 1124; object-fit: cover; border-radius: 34px; }
.phone::after { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 99px; background: #0B1715; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; background: #fff; color: var(--ink); font-weight: 800; font-size: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, .22); white-space: nowrap; }
.chip .i { color: var(--o2); }
.chip-1 { top: 22%; right: -36%; }
.chip-2 { bottom: 16%; left: -30%; }

.markets { background: var(--ink-deep); color: #9FC2BB; }
.markets .wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 22px; padding-block: 16px; font-weight: 800; font-size: 17px; }
.markets span { color: #fff; }
.markets i { color: var(--o); font-style: normal; }

/* ---------- sections ---------- */
.sec { padding-block: 80px; }
.sec-tint { background: var(--tint); }
.sec-h { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.sec-h h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { position: relative; background: var(--card); border-radius: var(--r); padding: 28px 24px 26px; box-shadow: var(--sh); }
.steps .num { position: absolute; top: 18px; left: 20px; font-size: 44px; font-weight: 800; line-height: 1; color: var(--mint); }
.steps .big { color: var(--g); margin-bottom: 14px; }
.steps h3 { font-size: 20px; font-weight: 800; }
.steps p { margin: 6px 0 0; color: var(--mut); }

.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feat { background: var(--card); border-radius: var(--r); padding: 24px; box-shadow: var(--sh); transition: transform .2s, box-shadow .2s; }
.feat:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(16, 40, 36, .06), 0 16px 36px rgba(16, 40, 36, .1); }
.f-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--o-soft); color: var(--o2); margin-bottom: 14px; }
.f-ic .i { width: 26px; height: 26px; }
.feat h3 { font-size: 18.5px; font-weight: 800; }
.feat p { margin: 6px 0 0; color: var(--mut); font-size: 15.5px; }

.door { background: #F3EDE2; }
.door-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 48px; }
.door img { width: 100%; max-width: 420px; justify-self: center; border-radius: 6px; }
.door h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; color: var(--deep); }
.door p { color: #45554F; font-size: 17px; margin: 12px 0 0; max-width: 32em; }

.join { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.join-card { border-radius: 22px; padding: 32px; display: grid; align-content: start; gap: 12px; }
.join-card h2 { font-size: 25px; font-weight: 800; }
.join-card .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.join-m { background: linear-gradient(140deg, var(--g), var(--deep)); color: #fff; }
.join-m .big { color: var(--o-on-dark); }
.join-m ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; color: #D3E9E4; }
.join-m li { display: flex; gap: 8px; align-items: flex-start; }
.join-m li .i { color: var(--o-on-dark); margin-top: 4px; width: 18px; height: 18px; }
.join-m .btn-w { box-shadow: none; }
.join-c { background: var(--card); box-shadow: var(--sh); }
.join-c .big { color: var(--o2); }
.join-c p { margin: 0; color: var(--mut); }

.faq-in { max-width: 860px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 14px; box-shadow: var(--sh); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px; padding: 0 22px; font-weight: 800; font-size: 17px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--o2); transition: transform .2s; }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--mut); }

.final { background: radial-gradient(80% 140% at 50% 0%, #0E7D71, var(--deep) 70%); color: #fff; text-align: center; padding-block: 72px; }
.final h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.final p { color: #CFE6E1; margin: 8px 0 0; font-size: 17px; }
.final .btn-w { box-shadow: none; }

/* ---------- footer ---------- */
.foot { background: #0B1F1C; color: #A9BDB9; padding-top: 44px; }
.foot .wrap { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.foot .logo b { color: #fff; }
.foot p { font-size: 14px; line-height: 1.8; }
.foot h3 { color: #fff; font-size: 15px; margin: 4px 0 10px; }
.foot nav { display: grid; align-content: start; }
.foot nav a { min-height: 36px; display: flex; align-items: center; font-size: 14.5px; }
.foot nav a:hover { color: #fff; }
.copy { text-align: center; font-size: 13px; border-top: 1px solid #1B322E; margin: 32px 0 0; padding: 18px; }
.copy a { color: #CFE0DC; }

.appbar { display: none; }

/* ---------- policy pages ---------- */
.head { background: var(--card); border-bottom: 1px solid var(--line); }
.head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.web-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--mint); color: var(--g); font-weight: 800; font-size: 14px; }
.paper { max-width: 760px; margin: 28px auto; background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 30px; font-size: 16.5px; line-height: 1.95; }
.paper h1 { margin: 0 0 4px; color: var(--g); font-size: 27px; }
.upd { color: var(--mut); font-size: 13px; margin: 0 0 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .links { display: none; }
  .nav-cta { margin-inline-start: auto; }
  .hero-in { grid-template-columns: 1fr; text-align: center; padding-block: 44px 56px; gap: 36px; }
  .lead { margin-inline: auto; }
  .ctas, .ticks { justify-content: center; }
  .hero-art { width: min(260px, 70%); }
  .chip-1 { right: -28%; }
  .chip-2 { left: -26%; }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .door-in { grid-template-columns: 1fr; text-align: center; }
  .door p { margin-inline: auto; }
  .door .ctas { justify-content: center; }
  .door img { max-width: 280px; }
  .join { grid-template-columns: 1fr; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; padding-bottom: 76px; }
  .wrap { padding-inline: 16px; }
  .nav .wrap { min-height: 62px; }
  .logo img { width: 38px; height: 38px; }
  .logo b { font-size: 18px; }
  .nav-cta span { display: none; }
  .nav-cta { width: 44px; padding: 0; }
  .hero h1 { font-size: 34px; }
  .lead { font-size: 16.5px; }
  .ctas { flex-direction: column; align-items: stretch; }
  .btn-lg { justify-content: flex-start; }
  .hero-art { width: min(200px, 56%); }
  .chip { font-size: 12.5px; padding: 8px 12px; }
  .chip-1 { right: -18%; top: 14%; }
  .chip-2 { left: -16%; bottom: 10%; }
  .markets .wrap { font-size: 15px; gap: 4px 14px; }
  .sec { padding-block: 56px; }
  .sec-h { margin-bottom: 28px; }
  .steps, .feats { grid-template-columns: 1fr; gap: 12px; }
  .feat { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 18px; }
  .f-ic { grid-row: span 2; margin: 0; width: 46px; height: 46px; }
  .join-card { padding: 24px; }
  .join-card h2 { font-size: 21px; }
  .faq summary { font-size: 15.5px; padding: 0 16px; }
  .faq details p { padding: 0 16px 16px; }
  .foot .wrap { grid-template-columns: 1fr; gap: 20px; }
  .appbar {
    display: flex; align-items: center; gap: 8px; position: fixed; inset: auto 10px calc(10px + env(safe-area-inset-bottom)) 10px; z-index: 30;
    background: var(--deep); color: #fff; border-radius: 18px; padding: 10px 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  }
  .appbar img { border-radius: 10px; }
  .appbar span { flex: 1; display: grid; line-height: 1.3; }
  .appbar small { color: #BFD6D1; font-size: 12px; }
  .appbar a { background: var(--o); color: #fff; font-weight: 800; padding: 0 16px; min-height: 42px; display: grid; place-items: center; border-radius: 999px; }
  .appbar .ab-w { background: rgba(255, 255, 255, .12); }
  .doc { padding-bottom: 0; }
  .paper { padding: 20px; margin: 14px 0; }
}

/* =====================================================================
   1.3.6 moving parts (home.js adds .js on <html>; without JS / with
   «reduce motion» everything simply shows, nothing moves)
   ===================================================================== */

/* 3) rotating market name */
.rotline { margin: 14px 0 0; font-size: clamp(19px, 2.2vw, 24px); font-weight: 800; color: #E8F4F1; }
.rot { display: inline-grid; vertical-align: bottom; overflow: hidden; height: 1.45em; color: var(--o-on-dark); }
.rot > span { grid-area: 1 / 1; display: block; line-height: 1.45em; white-space: nowrap; }
.rot > span.in { animation: rotIn .45s cubic-bezier(.2, .8, .2, 1) both; }
.rot > span.out { animation: rotOut .35s ease-in both; }
@keyframes rotIn { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rotOut { from { transform: none; opacity: 1; } to { transform: translateY(-100%); opacity: 0; } }

/* 1) the courier rides along the road to «باب بيتك» */
.road { position: relative; height: 64px; max-width: 1180px; margin: -18px auto 0; padding-inline: 20px; }
.road-line { position: absolute; inset: auto 20px 20px 20px; height: 4px; border-radius: 4px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .55) 0 18px, transparent 18px 34px); }
.rider { position: absolute; bottom: 22px; left: 20px; display: flex; align-items: flex-end; gap: 2px; color: #fff; }
.rider img { width: 30px; height: 30px; border-radius: 9px; box-shadow: 0 4px 10px rgba(0, 0, 0, .3); }
.rider .i { width: 34px; height: 34px; color: var(--o-on-dark); }
.home-door { position: absolute; bottom: 14px; right: 20px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--deep); font-weight: 800; font-size: 13.5px; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.home-door .i { width: 18px; height: 18px; color: var(--o2); }
.js .rider { animation: ride 3.4s cubic-bezier(.45, .05, .25, 1) .4s both; }
.js .rider .i { animation: bump .32s ease-in-out .4s 10 alternate; }
.js .home-door { animation: arrive .5s cubic-bezier(.2, 1.4, .4, 1) 3.6s both; }
@keyframes ride { from { left: 20px; } to { left: calc(100% - 210px); } }
@keyframes bump { to { transform: translateY(-3px) rotate(-3deg); } }
@keyframes arrive { 0% { transform: scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* 2) the phone leans with the mouse / the phone's tilt (home.js sets --rx --ry) */
.hero-art { perspective: 900px; }
.tilt { position: relative; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .25s ease-out; }
.tilt .chip { transform: translateZ(40px); }
.js .chip-1 { animation: float 4s ease-in-out infinite; }
.js .chip-2 { animation: float 4.6s ease-in-out .8s infinite; }
@keyframes float { 50% { translate: 0 -8px; } }

/* 5) live numbers */
.stats { background: var(--card); border-bottom: 1px solid var(--line); }
.stats-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-block: 26px; text-align: center; }
.stat b { display: block; font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; color: var(--g); line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat b .i { width: 38px; height: 38px; color: var(--o2); margin: 2px auto 0; display: block; }
.stat span { color: var(--mut); font-weight: 700; font-size: 14.5px; }

/* 7) moving strip of real stores */
.ticker { overflow: hidden; background: var(--tint); padding-block: 14px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 12px; width: max-content; animation: tick 40s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.tk { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 8px; border-radius: 999px; background: #fff; box-shadow: var(--sh); font-weight: 800; font-size: 14.5px; white-space: nowrap; }
.tk img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--mint); }
@keyframes tick { to { transform: translateX(50%); } }

/* 4) steps appear one by one, a line joins them */
.steps { position: relative; }
.steps::before { content: ""; position: absolute; top: 50%; inset-inline: 8%; height: 3px; border-radius: 3px; background: linear-gradient(270deg, var(--o), var(--g)); transform-origin: right; z-index: 0; }
.steps li { z-index: 1; }
.js .reveal::before { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.3, .7, .2, 1) .2s; }
.js .reveal.in::before { transform: scaleX(1); }
.js .reveal li { opacity: 0; transform: translateY(24px); transition: opacity .55s ease-out, transform .55s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in li { opacity: 1; transform: none; }
.js .reveal.in li:nth-child(2) { transition-delay: .25s; }
.js .reveal.in li:nth-child(3) { transition-delay: .5s; }
.js .feats .feat { opacity: 0; transform: translateY(18px); transition: opacity .5s ease-out, transform .5s ease-out, box-shadow .2s; }
.js .feats.in .feat { opacity: 1; transform: none; }

/* 6) mini map of the markets */
.mapsec { background: var(--bg); }
.map-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.map-txt h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.map-txt > p { color: var(--mut); font-size: 17px; margin: 10px 0 0; }
.map-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.mp { font: inherit; font-weight: 800; font-size: 15px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.mp:hover { border-color: var(--g); }
.mp.on { background: var(--g); border-color: var(--g); color: #fff; }
.map-card { position: relative; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, #EAF4F1, #DCEDE8); box-shadow: var(--sh); }
.bmap { display: block; width: 100%; height: auto; }
.river { fill: none; stroke: #9FD0E6; stroke-width: 26; stroke-linecap: round; }
.river-hi { fill: none; stroke: #C7E6F3; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 10 18; }
.js .river-hi { animation: flow 3s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -56; } }
.rlabel { fill: #3D7D96; font: 700 13px Cairo, sans-serif; }
.spot { cursor: pointer; }
.spot .dot { fill: var(--g); stroke: #fff; stroke-width: 3; transition: fill .2s; }
.spot.on .dot { fill: var(--o); }
.spot .pulse { fill: var(--o); opacity: 0; transform-box: fill-box; transform-origin: center; }
.js .spot .pulse { animation: ping 2.2s ease-out infinite; }
.js .spot:nth-of-type(2) .pulse { animation-delay: .4s; } .js .spot:nth-of-type(3) .pulse { animation-delay: .8s; }
.js .spot:nth-of-type(4) .pulse { animation-delay: 1.2s; } .js .spot:nth-of-type(5) .pulse { animation-delay: 1.6s; }
@keyframes ping { 0% { transform: scale(.8); opacity: .55; } 100% { transform: scale(3); opacity: 0; } }
.map-tip { padding: 0 14px 14px; }
.tip { display: none; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: 0 10px 26px rgba(0, 0, 0, .14); }
.tip.on { display: grid; animation: tipIn .3s ease-out; }
.tip b { font-size: 17px; color: var(--deep); }
.tip span { color: var(--mut); font-size: 14.5px; }
.tip small { color: var(--o2); font-weight: 800; font-size: 13.5px; }
@keyframes tipIn { from { opacity: 0; transform: translateY(8px); } }

/* 8) the merchant card turns over */
.flip { perspective: 1400px; display: grid; padding: 0; background: none; }
.flip .face { border-radius: 22px; padding: 32px; display: grid; align-content: start; gap: 12px;
  background: linear-gradient(140deg, var(--g), var(--deep)); color: #fff; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transition: transform .7s cubic-bezier(.3, .7, .2, 1); }
.flip { gap: 12px; }
.js .flip { gap: 0; }
.js .flip .face { grid-area: 1 / 1; }
.js .flip .back { transform: rotateY(-180deg); }
.js .flip.turned .front { transform: rotateY(180deg); }
.js .flip.turned .back { transform: none; }
html:not(.js) .flip-go, html:not(.js) .flip-back { display: none; }
.jm-lead { margin: 0; color: #D3E9E4; font-size: 16.5px; }
.flip .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.flip button.btn { font: inherit; font-weight: 800; border: 0; }
.flip .btn-w { box-shadow: none; }

/* 9) questions open smoothly (home.js animates the height) */
.faq details { overflow: hidden; }

/* 10) the last «download» button breathes */
.js .pulse-cta .btn-o { animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 138, 0, .55); } 50% { box-shadow: 0 0 0 14px rgba(255, 138, 0, 0); } }

@media (max-width: 1000px) {
  .map-in { grid-template-columns: 1fr; }
  .stats-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .road { height: 56px; margin-top: -10px; }
  .rider .i { width: 28px; height: 28px; } .rider img { width: 26px; height: 26px; }
  @keyframes ride { from { left: 16px; } to { left: calc(100% - 150px); } }
  .home-door { font-size: 12.5px; padding: 5px 10px; }
  .steps::before { display: none; }
  .flip .face { padding: 24px; }
  .tk { font-size: 13.5px; } .tk img { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal li, .js .feats .feat { opacity: 1; transform: none; }
  .js .reveal::before { transform: none; }
  .rider { left: calc(100% - 210px); }
  .ticker-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .ticker-track > [aria-hidden="true"] { display: none; }
}
