/* Colours from the mobile app's BRAND palette (mobile/src/jobby/brand.tsx) */
:root {
  --page-bg: #1270F0;     /* BRAND.blue */
  --ink: #0E1B2E;         /* BRAND.ink */
  --body: #4A5A72;        /* BRAND.body */
  --muted: #8A97AB;       /* BRAND.muted */
  --accent: #1270F0;      /* BRAND.blue */
  --accent-deep: #0B5FD9; /* BRAND.blueDark */
  --yellow: #FFC24B;      /* BRAND.yellow */
  --card: #ffffff;
  --page-light: #F3F6FB;  /* BRAND.page */
}

* { box-sizing: border-box; }

/* IBM Plex Sans Arabic, self-hosted. 400 covers weight 500; 700 covers 600 and 800. */
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-arabic-400-lat.woff2?v=20261024a") 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: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-arabic-400-ar.woff2?v=20261024a") 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: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-arabic-700-lat.woff2?v=20261024a") 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: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-arabic-700-ar.woff2?v=20261024a") 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;
}

html, body {
  margin: 0;
  background: var(--page-light);
  color: var(--ink);
  font-family: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
html { scroll-behavior: smooth; }

/* The opening screen: the map tour fills the first screen, and the page scrolls on below it */
.opening {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--page-bg);
}

/* Map fills the opening screen. Touches go to the page (so it scrolls); the tour drives the map itself. */
#map {
  position: absolute;
  inset: 0;
  background: var(--page-bg);
  pointer-events: none;
}

/* Map credits, in the opening screen's corner */
.credit {
  position: absolute;
  inset-inline-start: 8px;
  bottom: 6px;
  z-index: 10;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  pointer-events: none;
}

/* Browsers need a tap before they play sound */
/* Headline card at the top */
/* Blue header band that fades down into the map */
.intro {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: max(18px, env(safe-area-inset-top)) 18px 56px;
  background: linear-gradient(to bottom, var(--page-bg) 0%, var(--page-bg) 55%, rgba(28, 121, 246, 0) 100%);
  pointer-events: none;
}
/* The logo reads left to right in every language */
.brand { display: flex; width: fit-content; direction: ltr; align-items: center; gap: 10px; margin-bottom: 12px; }
.jmark { width: 22px; height: auto; flex: none; }
.logo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); margin-left: -6px; margin-top: -14px; flex: none; }
.wordmark { color: #fff; font-size: 26px; font-weight: 800; font-style: italic; letter-spacing: -0.5px; line-height: 1; }
.intro h1 { margin: 0; font-size: 18px; line-height: 1.25; color: #fff; }
.intro p { margin: 4px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.85); }

/* Finale: the three cards on the map are a little smaller, so they sit side by side without overlapping */
/* Finale: the button to vote for your district */
/* The page doesn't scroll until the visitor taps "What is Jobby?" (app.js releases it) */
html.tour-locked, html.tour-locked body { overflow: hidden; }

.vote-link {
  display: none;
  position: absolute;
  left: 50%;
  bottom: max(34px, env(safe-area-inset-bottom));
  z-index: 26;
  transform: translateX(-50%);
  padding: 14px 26px;
  border-radius: 999px;
  background: #fff;
  color: var(--accent-deep);
  font: 700 16px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(5, 20, 50, 0.35);
  white-space: nowrap;
}
body.showcase-on .vote-link { display: block; }

/* Finale: a tapped card lifts to the front; its feature description appears in bold below the cards */
body.showcase-on .tip-icon .tip {
  transition: transform 0.35s cubic-bezier(0.2, 1.3, 0.4, 1), scale 0.35s ease;
}
body.showcase-on .tip-icon.lifted { z-index: 20; }
/* A card held invisible while it is centred, then popped in */
body.showcase-on .tip-icon.hold .tip { animation: none; opacity: 0; transition: none; }
/* Only the selected card's icon bobs; the others stay still */
body.showcase-on .tip-icon:not(.lifted) .hero { animation: none; }
body.showcase-on .tip-icon.lifted .tip {
  animation: none;
  opacity: 1;
  transform: translateX(-50%) translateY(-34px) rotate(0deg);
  scale: calc(var(--finale-scale, 0.72) * 1.15);
}
.finale-caption {
  position: absolute;
  left: 50%;
  top: 74%;
  z-index: 25;
  width: min(460px, 86vw);
  transform: translateX(-50%);
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 8px rgba(5, 20, 50, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
body.caption-on .finale-caption { opacity: 1; }
.finale-caption.hint { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.finale-caption b { display: block; margin-bottom: 4px; font-size: 19px; font-weight: 800; }
.finale-caption span { display: block; font-size: 15px; font-weight: 500; line-height: 1.45; color: rgba(255, 255, 255, 0.92); }

/* No round pin dots in the finale, and no float bob, so the three cards stay level */
body.showcase-on .tip-icon .pin { display: none; }
body.showcase-on .tip-icon .float { animation: none; }
body.showcase-on .tip-icon .tip {
  scale: var(--finale-scale, 0.72);
  height: 440px; /* all three finale cards share the same height; content is spread evenly */
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  transform: translateX(-50%) rotate(var(--tilt, 0deg));
  animation: popFlat 0.35s cubic-bezier(0.2, 1.3, 0.4, 1) forwards;
}
@keyframes popFlat {
  0%   { opacity: 0; transform: translateX(-50%) rotate(var(--tilt, 0deg)) scale(0.2); }
  100% { opacity: 1; transform: translateX(-50%) rotate(var(--tilt, 0deg)); }
}

/* Showcase: the map and the blue header fade out, and the carousel of features fades in */
#map, .intro, .credit, .cta {
  transition: opacity 0.6s ease;
}
/* Finale: the map is a faint, still background that can't be used; its edges fade out.
   Only the cards take taps. */
body.showcase-on #map { pointer-events: none; }
body.showcase-on .tip-icon,
body.showcase-on .tip-icon * { pointer-events: auto; }
body.showcase-on .maplibregl-canvas {
  opacity: 0.3;
  transition: opacity 0.6s ease;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
}
body.showcase-on .credit,
body.showcase-on .cta {
  opacity: 0;
  pointer-events: none;
}
.showcase {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  background: transparent; /* the map stays visible underneath, with no gradient */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease 0.3s;
}
body.showcase-on .showcase {
  opacity: 1;
  pointer-events: auto;
}
.showcase .carousel {
  display: flex;
  gap: 20px;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  align-items: flex-start; /* cards keep their own height, so the captions line up across the row */
  padding: 24px max(24px, calc(50% - 130px));
  scrollbar-width: none;
}
.showcase .carousel::-webkit-scrollbar { display: none; }
.showcase .slide {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  scroll-snap-align: center;
  margin: 0;
}
/* The card, shown as a still card rather than pinned to the map */
.showcase .slide .tip {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  opacity: 1;
  animation: none;
  width: 232px;
  padding: 0 14px 16px;
  border-radius: 22px;
  text-align: center;
  background: linear-gradient(165deg, #ffffff 0%, #eaf3ff 100%);
  box-shadow: 0 18px 36px rgba(5, 20, 50, 0.18), 0 4px 10px rgba(5, 20, 50, 0.1);
}
.showcase .slide .tip::after { display: none; }
.showcase .slide figcaption {
  max-width: 250px;
  font-size: 15px;
  line-height: 1.45;
  color: #fff;
  text-shadow: 0 1px 6px rgba(5, 20, 50, 0.6);
  text-align: center;
}


/* Main call to action */
.cta {
  position: absolute;
  left: 50%;
  bottom: max(34px, env(safe-area-inset-bottom));
  z-index: 20;
  transform: translateX(-50%);
  padding: 14px 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--accent-deep);
  font: 700 16px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(5, 20, 50, 0.35);
  white-space: nowrap;
}

/* User position */
.you {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  animation: ping 1s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); }
  70%, 100% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); }
}

/* ---------- Store pin + deal card ----------
   The marker element is 0x0, so children position from its centre.
   perspective on the wrapper gives the card real 3D depth. */
.tip-icon { width: 0; height: 0; overflow: visible; }

/* Gentle float: the wrapper moves, the card keeps its own pop and fade animations */
.tip-icon .float {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 0;
  perspective: 700px;
  animation: float 1.7s ease-in-out 0.35s infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .tip-icon .float { animation: none; }
}

.tip-icon .pin {
  position: absolute;
  left: -8px;
  top: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  animation: dot 0.15s ease both;
}

.tip-icon .tip {
  position: absolute;
  left: 0;
  bottom: 26px;
  width: 176px;
  padding: 0 14px 16px;
  border-radius: 22px;
  text-align: center;
  background: linear-gradient(165deg, #ffffff 0%, #eaf3ff 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    0 22px 40px rgba(5, 20, 50, 0.35),
    0 4px 10px rgba(5, 20, 50, 0.2);
  transform-style: preserve-3d;
  transform-origin: 50% 100%;
  transform: translateX(-50%) rotateX(14deg);
  opacity: 0;
  animation: pop 0.35s cubic-bezier(0.2, 1.3, 0.4, 1) forwards;
  cursor: pointer;
}
.tip-icon .tip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom: 0;
  border-top-color: #eaf3ff;
}

/* Avatar floats above the card */
.tip .avatar {
  width: 68px;
  height: 68px;
  margin: -34px auto 8px;
  padding: 3px;
  border-radius: 50%;
  background: var(--fg, #1270F0);
  box-shadow: 0 12px 24px rgba(5, 20, 50, 0.3);
  transform: translateZ(36px);
}
/* Category icon, for shops without a logo */
.tip .avatar-icon {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #fff;
}
.tip .cat-icon { width: 60%; height: 60%; }
.tip .avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #fff;
  object-fit: cover;
  background: #dbe8ff;
}

.tip h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  transform: translateZ(20px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Promo badge with the percentage */
.tip .deal {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  margin: 10px 0 0;
  padding: 8px 16px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--fg, #1270F0);
  box-shadow: 0 10px 22px rgba(5, 20, 50, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateZ(40px);
}
.tip .deal .pct {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
}
.tip .deal .off {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Shops without a deal yet: a teaser, not an empty card */
/* Excitement: a sparkle burst when a deal appears, and a ripple when the pin lands */
.tip .deal { position: relative; }
.tip .deal .burst {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  pointer-events: none;
  box-shadow:
    0 -18px var(--fg), 13px -13px var(--fg), 18px 0 var(--fg), 13px 13px var(--fg),
    0 18px var(--fg), -13px 13px var(--fg), -18px 0 var(--fg), -13px -13px var(--fg);
}
.tip .deal .burst.once {
  opacity: 0;
  animation: burstOnce 0.45s ease-out 0.225s 1 forwards;
}
@keyframes burstOnce {
  0%   { opacity: 1; transform: scale(0.3); }
  100% { opacity: 0; transform: scale(2.2); }
}
.tip-icon .pin::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--fg, var(--accent));
  animation: ripple 0.5s ease-out 2;
}
@keyframes ripple {
  0%   { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(4); opacity: 0; }
}

/* Demo scenes: a wider card with an offer, a filling loyalty card, or a booking */
.tip-icon .tip.wide { width: 232px; }
.tip .item { margin: 6px 0 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.tip .reward {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--fg);
  animation: fadeUp 0.2s ease-out var(--d, 0s) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* Loyalty card: stamps fill one by one, the last one is the reward */
.tip .deal.stamps {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
  background: none;
  box-shadow: none;
  color: var(--fg);
  padding: 0;
}
.tip .stamp {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px dashed var(--fg);
  font-size: 13px;
  line-height: 22px;
  animation: stampIn 0.2s ease-out var(--d) both;
}
.tip .stamp.gift { border-style: solid; }
@keyframes stampIn {
  0%   { transform: scale(0); background-color: transparent; }
  70%  { transform: scale(1.2); background-color: var(--fg); }
  100% { transform: scale(1); background-color: var(--fg); }
}

/* Booking: slots appear, one gets picked */
.tip .deal.calendar {
  display: block;
  margin-top: 10px;
  padding: 0;
  background: none;
  box-shadow: none;
  color: var(--fg);
}
.tip .slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tip .slot {
  padding: 6px 4px;
  border-radius: 10px;
  border: 1.5px solid var(--fg);
  background: #fff;
  color: var(--fg);
  font-size: 12px;
  font-weight: 700;
  animation: slotIn 0.15s ease-out var(--d) both;
}
.tip .slot.picked {
  animation: slotIn 0.15s ease-out var(--d) both, pick 0.2s ease-out var(--pick) both;
}
@keyframes slotIn {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: none; }
}
@keyframes pick {
  from { background: #fff; color: var(--fg); }
  to   { background: var(--fg); color: #fff; transform: scale(1.08); }
}

/* Loyalty card: a card with a header, a stamp grid, and a tick in each filled stamp */
.tip .deal.stampcard {
  display: block;
  margin-top: 10px;
  padding: 10px;
  border-radius: 14px;
  border: 1.5px dashed var(--fg);
  background: #fff;
  color: var(--fg);
  box-shadow: 0 6px 14px rgba(5, 20, 50, 0.1);
}
.tip .stamp-head {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
}
.tip .stamps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
  justify-items: center;
}
.tip .stamp {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px dashed var(--fg);
  animation: stampIn 0.2s ease-out var(--d) both;
}
.tip .stamp.gift { border-style: solid; font-size: 17px; }
.tip .stamp svg { width: 18px; height: 18px; opacity: 0; animation: tickIn 0.15s ease-out forwards; }
@keyframes tickIn { to { opacity: 1; } }

/* Rich scene details: a floating 3D icon, prices, stock, days and info chips */
.tip .hero {
  display: block;
  margin: 6px auto 0;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(5, 20, 50, 0.25));
  animation: bob 1.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50%      { transform: translateY(-6px) rotate(4deg); }
}
.tip .prices { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.tip .prices s { margin-right: 8px; }
.tip .prices b { color: var(--fg); font-size: 16px; }
.tip .stock { height: 6px; margin-top: 10px; border-radius: 3px; background: #eef1f6; overflow: hidden; }
.tip .stock .fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: var(--fg);
  animation: fillBar 0.6s ease-out 0.3s forwards;
}
@keyframes fillBar { to { width: var(--w); } }
.tip .days { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.tip .day {
  padding: 4px 7px;
  border-radius: 999px;
  background: #f2f4f8;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.tip .day.on { background: var(--fg); color: #fff; }
.tip .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 10px; }
.tip .chip {
  padding: 4px 9px;
  border-radius: 999px;
  background: #f2f4f8;
  color: #4A5A72;
  font-size: 11px;
  font-weight: 600;
}

/* Shops without a deal: a "??%" pill that flies off, explodes into sparks, and comes back */
.tip .deal.teaser {
  position: relative;
  background: #fff;
  color: var(--fg, var(--accent-deep));
  box-shadow: inset 0 0 0 2px var(--fg, var(--accent)), 0 8px 18px rgba(5, 20, 50, 0.2);
  animation: tease 2s ease-in-out infinite;
}
.tip .deal.teaser .pct { font-size: 24px; }
.tip .deal.teaser .burst {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  pointer-events: none;
  box-shadow:
    0 -18px var(--fg), 13px -13px var(--fg), 18px 0 var(--fg), 13px 13px var(--fg),
    0 18px var(--fg), -13px 13px var(--fg), -18px 0 var(--fg), -13px -13px var(--fg);
  animation: burst 2s infinite;
}
@keyframes tease {
  0%, 55%  { transform: translateZ(40px) translate(0, 0) rotate(0) scale(1); opacity: 1; }
  70%      { transform: translateZ(40px) translate(40px, -70px) rotate(12deg) scale(1.08); opacity: 1; }
  78%      { transform: translateZ(40px) translate(60px, -90px) rotate(18deg) scale(0); opacity: 0; }
  85%      { transform: translateZ(40px) translate(0, 0) scale(0); opacity: 0; }
  100%     { transform: translateZ(40px) translate(0, 0) rotate(0) scale(1); opacity: 1; }
}
@keyframes burst {
  0%, 77%  { transform: scale(0.2); opacity: 0; }
  80%      { transform: scale(0.8); opacity: 1; }
  100%     { transform: scale(2); opacity: 0; }
}

/* Animations */
@keyframes pop {
  0%   { opacity: 0; transform: translateX(-50%) translateY(-60px) rotateX(-70deg) scale(0.6); }
  60%  { opacity: 1; transform: translateX(-50%) translateY(4px) rotateX(20deg) scale(1.04); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0) rotateX(14deg) scale(1); }
}
/* Leaving: the deal label floats up first, then the card fades out */
.tip-icon .tip.leaving .deal {
  animation: dealFloat 0.12s ease-out forwards;
}
.tip-icon .tip.leaving {
  animation: fadeout 0.1s ease 0.12s forwards;
}
@keyframes dealFloat {
  to { transform: translateZ(40px) translateY(-60px) scale(1.15); opacity: 0; }
}
@keyframes fadeout {
  to { opacity: 0; transform: translateX(-50%) translateY(12px) rotateX(14deg) scale(0.9); }
}
@keyframes dot {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

/* ---------- Below the opening screen: what Jobby is, for first-time visitors ---------- */

/* Invites a scroll from the opening screen */
.more-cue {
  position: absolute;
  inset-inline-end: 14px;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 27;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.more-cue span { display: inline-block; animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateY(3px); } }
.credit { max-width: 52%; }

body { background: #fff; }
.wrap { width: min(1080px, 100% - 40px); margin: 0 auto; }
section:not(.opening):not(.pl) h2 { margin: 0 0 14px; font-size: clamp(26px, 4.2vw, 40px); line-height: 1.12; letter-spacing: -0.02em; }
section:not(.opening):not(.pl) h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.01em; }
section:not(.opening):not(.pl) p { color: var(--body); line-height: 1.6; }

/* One sentence, with the places it names drawn in */
.statement { padding: 76px 0 40px; }
.say {
  max-width: 920px;
  margin: 0;
  font-size: clamp(26px, 4.4vw, 46px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--ink) !important;
}
.pic {
  display: inline-grid;
  place-items: center;
  width: 1.3em;
  height: 1.3em;
  margin: 0 0.2em 0 0.05em;
  border-radius: 0.34em;
  background: var(--page-light);
  vertical-align: -0.26em;
}
.pic img { width: 0.95em; height: 0.95em; }

/* What Jobby does: one row per feature, the words beside the screen it's about */
.features { padding-bottom: 24px; }
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid #EEF2F8;
}
.feature.flip .feature-text { order: 2; }
.feature-text p { max-width: 460px; margin: 0; font-size: 17px; }
.num { display: block; margin-bottom: 14px; color: var(--accent); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.kinds { margin-top: 18px !important; color: var(--ink) !important; font-size: 14px !important; font-weight: 600; }

/* A piece of the app, drawn in HTML */
.screen {
  position: relative;
  width: 100%;
  max-width: 400px;
  justify-self: center;
  padding: 22px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 0 0 1px #EEF2F8, 0 30px 70px rgba(14, 27, 46, 0.12);
}
.ex { position: absolute; top: 16px; inset-inline-end: 18px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.screen-head { margin: 0 0 16px !important; color: var(--ink) !important; font-size: 16px; font-weight: 800; line-height: 1.3 !important; }
.screen-head span { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }

/* Offers */
.deal { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid #EEF2F8; }
.deal:first-of-type { border-top: 0; padding-top: 18px; }
.deal > img { width: 52px; height: 52px; flex: none; padding: 6px; border-radius: 14px; background: var(--page-light); }
.deal-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.deal-body b { font-size: 15px; }
.deal-body .shop { font-size: 12px; color: var(--muted); }
.deal-body .stock { height: 5px; margin-top: 4px; border-radius: 3px; background: #EEF1F6; overflow: hidden; }
.deal-body .stock i { display: block; height: 100%; border-radius: 3px; background: var(--yellow); }
.deal-body small { font-size: 11px; color: var(--body); }
.deal-price { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.deal-price em { padding: 2px 8px; border-radius: 999px; background: #E9F2FF; color: var(--accent-deep); font-size: 12px; font-style: normal; font-weight: 800; }
.deal-price s { font-size: 12px; color: var(--muted); }
.deal-price b { font-size: 17px; }

/* Booking */
.days { display: flex; gap: 6px; margin-bottom: 12px; }
.days span { flex: 1; padding: 10px 0; border-radius: 12px; background: var(--page-light); text-align: center; font-size: 13px; font-weight: 700; color: var(--body); }
.days .on { background: var(--accent); color: #fff; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slots span { padding: 11px 0; border-radius: 12px; border: 1px solid #E3EAF5; text-align: center; font-size: 14px; font-weight: 700; }
.slots .off { color: #C2CBD8; background: #F7F9FC; text-decoration: line-through; }
.slots .on { background: var(--yellow); border-color: var(--yellow); }
.confirm { display: block; margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--ink); color: #fff; text-align: center; font-size: 15px; font-weight: 800; }

/* Stamp card */
.stamp-top { display: flex; align-items: center; gap: 12px; }
.stamp-top img { width: 46px; height: 46px; padding: 6px; border-radius: 14px; background: var(--page-light); }
.stamp-top .screen-head { margin: 0 !important; }
.stamp-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 22px 0 16px; }
.stamp-grid i { position: relative; aspect-ratio: 1; border-radius: 50%; border: 2px dashed #CDD7E6; }
.stamp-grid .on { border: 0; background: var(--accent); }
.stamp-grid .on::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 16px; font-weight: 800; }
.stamp-grid .gift { border-color: var(--yellow); background: #FFF6E2; }
.stamp-grid .gift::after { content: '★'; position: absolute; inset: 0; display: grid; place-items: center; color: #E6A21E; font-size: 16px; }
.stamp-note { margin: 0 !important; font-size: 14px; }
.stamp-note b { color: var(--ink); }

/* A request, and the offers coming in */
.bubble { margin: 18px 0 !important; margin-inline-start: auto !important; max-width: 85%; width: fit-content; padding: 12px 16px; border-radius: 18px 18px 4px 18px; background: var(--accent); color: #fff !important; font-weight: 600; line-height: 1.4 !important; }
.screen-sub { margin: 0 0 4px !important; color: var(--muted) !important; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.offer { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #EEF2F8; }
.offer:first-of-type { border-top: 0; }
.offer > div { flex: 1; min-width: 0; }
.offer b { display: block; font-size: 16px; }
.offer > div span { font-size: 12px; color: var(--muted); }
.who { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #E9F2FF; color: var(--accent-deep); font-weight: 800; }
.chat { flex: none; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--accent); color: var(--accent); font-size: 12px; font-weight: 800; }

/* Getting started: three steps on one line, joined */
.start { padding: 72px 0; background: var(--ink); }
.start h2 { color: #fff; }
.line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0 0; padding: 0; list-style: none; counter-reset: step; }
.line li { position: relative; padding-top: 52px; counter-increment: step; }
.line li::before { content: counter(step); position: absolute; top: 0; inset-inline-start: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font-weight: 800; }
.line li:not(:last-child)::after { content: ''; position: absolute; top: 16px; inset-inline-start: 48px; inset-inline-end: -12px; height: 2px; background: rgba(255, 255, 255, 0.18); }
.line b { display: block; margin-bottom: 4px; color: #fff; font-size: 18px; }
.line span { color: rgba(255, 255, 255, 0.65); font-size: 15px; }

/* Where it opens: a plain list of cities, each a way into its vote */
.launch { padding: 80px 0; }
.launch-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.launch-grid p { margin: 0; font-size: 17px; }
.city-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #E3EAF5; }
.city-list li { border-bottom: 1px solid #E3EAF5; }
.city-list a { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: baseline; padding: 22px 4px; color: var(--ink); text-decoration: none; }
.city-list b { font-size: 24px; letter-spacing: -0.01em; transition: color 0.15s ease; }
.city-list span { color: var(--muted); font-size: 14px; }
.city-list em { color: var(--accent); font-size: 15px; font-style: normal; font-weight: 800; }
.city-list em::after { content: ' →'; }
[dir="rtl"] .city-list em::after { content: ' ←'; }
.city-list a:hover b { color: var(--accent); }

/* Shops and pros: two short columns */
.others { padding: 64px 0; background: var(--page-light); }
.others-grid { display: grid; grid-template-columns: 1fr 1fr; }
.others-grid > div { padding-inline-end: 40px; }
.others-grid > div + div { padding: 0; padding-inline-start: 40px; border-inline-start: 1px solid #DDE5F1; }
.others-grid p { margin: 0 0 14px; }
.others-grid a { color: var(--accent); font-weight: 800; text-decoration: none; }

/* Questions */
.questions { padding: 80px 0; }
.questions-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.faq { border-top: 1px solid #E3EAF5; }
.faq details { border-bottom: 1px solid #E3EAF5; }
.faq summary { position: relative; padding: 20px 0; padding-inline-end: 32px; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; inset-inline-end: 4px; top: 16px; font-size: 22px; color: var(--accent); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; }

/* The way in */
.final { padding: 80px 0; background: var(--accent); text-align: center; }
.final h2 { color: #fff; }
.final .lead { max-width: 560px; margin: 0 auto 28px; color: rgba(255, 255, 255, 0.85) !important; font-size: 17px; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-bottom: 22px; }
.store { display: block; line-height: 0; text-decoration: none; }
.store img { display: block; height: 40px; width: auto; }
/* The Play badge image includes its own clear space, so it is drawn taller to match the App Store badge */
.store[data-store="android"] img { height: 60px; }
.vote-cta { color: #fff; font-weight: 700; }

.foot { padding: 26px 0 34px; background: var(--ink); color: rgba(255, 255, 255, 0.7); font-size: 13px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; }
.foot-brand { color: #fff; font-size: 18px; font-weight: 800; font-style: italic; }
.foot-credit { flex-basis: 100%; font-size: 11px; opacity: 0.7; }

/* The app screens rise in as they scroll into view */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.seen { opacity: 1; transform: none; }

/* Phones: everything stacks, words before their screen */
@media (max-width: 760px) {
  .statement { padding: 56px 0 24px; }
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .feature.flip .feature-text { order: 0; }
  .line { grid-template-columns: 1fr; gap: 26px; }
  .line li { padding: 4px 0 0; padding-inline-start: 52px; min-height: 34px; }
  .line li:not(:last-child)::after { top: 42px; bottom: -22px; inset-inline-start: 16px; inset-inline-end: auto; width: 2px; height: auto; }
  .launch, .questions, .final { padding: 60px 0; }
  .launch-grid, .questions-grid { grid-template-columns: 1fr; gap: 24px; }
  .city-list b { font-size: 21px; }
  .others-grid { grid-template-columns: 1fr; }
  .others-grid > div { padding: 0 0 28px; }
  .others-grid > div + div { padding: 28px 0 0; border-inline-start: 0; border-top: 1px solid #DDE5F1; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .more-cue span { animation: none; }
}

/* ---------- Languages (i18n.js) ---------- */

/* Hidden for a moment, until the words are in the visitor's language */
html.i18n-pending body { visibility: hidden; }
/* Arabic gets an Arabic face; Latin words in it keep the page's own */
html[lang="ar"] body { font-family: "IBM Plex Sans Arabic", "Plus Jakarta Sans", system-ui, sans-serif; }
html[lang="ar"] .say { line-height: 1.5; letter-spacing: 0; }
html[lang="ar"] section:not(.opening):not(.pl) h2, html[lang="ar"] .eyebrow { letter-spacing: 0; }

/* The language switch: ع · FR · EN */
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); }
.lang-switch button { min-width: 34px; padding: 5px 9px; border: 0; border-radius: 999px; background: transparent; color: #fff; font-family: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.lang-switch button[aria-current] { background: #fff; color: var(--accent-deep); }
.opening .lang-switch { position: absolute; top: max(16px, env(safe-area-inset-top)); inset-inline-end: 14px; z-index: 28; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.foot .lang-switch { margin-inline-start: auto; }

/* ---------- The page stays blue below the tour ----------
   Sections alternate brand blue and a deeper blue; text is white, the app screens stay white cards,
   and the closing call to action turns white so it stands out. */
body { background: var(--page-bg); }
.statement, .features, .launch, .questions { background: var(--page-bg); }
.start, .others { background: var(--accent-deep); }
section:not(.opening):not(.pl):not(.final) h2,
section:not(.opening):not(.pl):not(.final) h3,
section:not(.opening):not(.pl):not(.final) p { color: #fff; }
/* The app screens are white cards: their text stays dark */
section:not(.opening):not(.pl):not(.final) .screen p { color: var(--body); }
.say { color: #fff !important; }
.pic { background: rgba(255, 255, 255, 0.18); }
.feature { border-top-color: rgba(255, 255, 255, 0.16); }
.num { color: var(--yellow); }
.kinds { color: #fff !important; }
.screen { box-shadow: 0 30px 70px rgba(5, 20, 47, 0.32); }
.line li::before { color: var(--ink); }
.city-list, .city-list li { border-color: rgba(255, 255, 255, 0.25); }
.city-list a, .city-list a:hover b { color: #fff; }
.city-list span { color: rgba(255, 255, 255, 0.8); }
.city-list em { color: var(--yellow); }
.others-grid > div + div { border-color: rgba(255, 255, 255, 0.25); }
.others-grid a { color: var(--yellow); }
.faq, .faq details { border-color: rgba(255, 255, 255, 0.25); }
.faq summary { color: #fff; }
.faq summary::after { color: var(--yellow); }
.final { background: #fff; }
.final h2 { color: var(--ink); }
.final .lead { color: var(--body) !important; }
.vote-cta { color: var(--accent); }

/* Shown until the map has loaded: a pin pulsing in a ring, then it fades away */
.map-loader {
  position: absolute;
  inset: 0;
  z-index: 15; /* over the map and the fade, under the header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--page-bg);
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.5s ease, visibility 0.5s;
}
.map-loader.done { opacity: 0; visibility: hidden; }
.map-loader .pin { position: relative; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25); }
.map-loader .pin::before, .map-loader .pin::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  animation: loaderRing 1.6s ease-out infinite;
}
.map-loader .pin::after { animation-delay: 0.8s; }
@keyframes loaderRing { from { transform: scale(0.6); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .map-loader .pin::before, .map-loader .pin::after { animation: none; } }

/* Skip the tour: a small pill at the bottom, gone once the finale starts */
.skip-tour {
  position: absolute;
  left: 50%;
  bottom: max(34px, env(safe-area-inset-bottom));
  z-index: 26;
  transform: translateX(-50%);
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;

  font-family: inherit;
  cursor: pointer;
}
.skip-tour[hidden] { display: none; }
body.showcase-on .skip-tour { display: none; }

/* The map fades into the blue page below it, instead of ending on a hard edge */
.opening::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  z-index: 5; /* over the map, under the credit and the "What is Jobby?" button */
  background: linear-gradient(to bottom, rgba(18, 112, 240, 0) 0%, var(--page-bg) 100%);
  pointer-events: none;
}

/* The finale's vote button: the one thing to do, so it's big and gently pulses */
body.showcase-on .vote-link {
  padding: 17px 34px;
  font-size: 19px;
  font-weight: 800;
  animation: voteNudge 1.8s ease-in-out infinite;
}
@keyframes voteNudge {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) { body.showcase-on .vote-link { animation: none; } }

/* The finale's live count: proof that people are already voting */
.finale-live { margin-top: 8px !important; font-size: 14px !important; font-weight: 800; color: var(--yellow) !important; }
.finale-live[hidden] { display: none; }

/* The finale's message, big and in the middle: these offers are locked here, and the vote unlocks them.
   It replaces the small header text, which is hidden during the finale. */
body.showcase-on .intro h1, body.showcase-on .intro #sub { display: none; }
.finale-head {
  position: absolute;
  top: calc(max(16px, env(safe-area-inset-top)) + 52px);
  left: 50%;
  z-index: 24;
  width: min(640px, 92vw);
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  pointer-events: none;
  animation: finaleHeadIn 0.5s ease-out;
}
.finale-head[hidden] { display: none; }
.finale-head img { width: 46px; height: 46px; margin-bottom: 6px; filter: drop-shadow(0 6px 12px rgba(5, 20, 50, 0.35)); }
.finale-head h2 { margin: 0 0 8px; font-size: clamp(22px, 4.8vw, 36px); line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; text-shadow: 0 2px 14px rgba(5, 20, 50, 0.35); }
.finale-head p { margin: 0; font-size: clamp(14px, 2.6vw, 17px); line-height: 1.45; color: rgba(255, 255, 255, 0.92); }
@keyframes finaleHeadIn { from { opacity: 0; transform: translate(-50%, -10px); } }

/* Each finale card is locked: a dark padlock chip, and the card itself a little greyed */
.lock-chip { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 4px; padding: 4px 11px 4px 6px; border-radius: 999px; background: #0E1B2E; color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 4px 10px rgba(5, 20, 50, 0.3); }
.lock-chip img { width: 18px; height: 18px; }
body.showcase-on .tip-icon:not(.lifted) .tip > :not(.lock-chip) { filter: grayscale(0.4); opacity: 0.8; }

/* Parked map (app.js: MAP_PARKED): the opening is a blue poster with the message, the cards and the button */
body.map-parked .opening { background: radial-gradient(circle at 50% 28%, #2a86ff 0%, #1270F0 48%, #0B5FD9 100%); }
body.map-parked #map, body.map-parked #mapLoader, body.map-parked .skip-tour, body.map-parked .credit { display: none; }
.hero-cards { position: absolute; inset: 0; z-index: 22; pointer-events: none; }
.hero-cards .tip-icon { position: absolute; pointer-events: auto; }

/* Small phones: the vote button stays inside the screen */
@media (max-width: 420px) {
  body.showcase-on .vote-link {
    width: calc(100% - 32px);
    padding: 15px 18px;
    font-size: 16px;
    text-align: center;
    white-space: normal;
    bottom: max(58px, env(safe-area-inset-bottom)); /* clear of the "What is Jobby?" pill below it */
  }
}

/* The opening story: one short phrase at a time, big and centred, over the brand blue */
.story {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 35%, #2a86ff 0%, #1270F0 50%, #0B5FD9 100%);
  color: #fff;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.5s ease;
}
.story[hidden] { display: none; }
.story.done { opacity: 0; pointer-events: none; }
.story-line { max-width: 720px; opacity: 0; transform: translateY(16px); transition: opacity 0.45s ease, transform 0.45s ease; }
.story-line.on { opacity: 1; transform: none; }
.story-line img { display: block; width: 76px; height: 76px; margin: 0 auto 20px; filter: drop-shadow(0 10px 20px rgba(5, 20, 50, 0.3)); }
.story-line p { margin: 0; font-size: clamp(30px, 7.5vw, 58px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; text-shadow: 0 4px 24px rgba(5, 20, 50, 0.3); }
html[lang="ar"] .story-line p { letter-spacing: 0; line-height: 1.35; }
.story-dots { position: absolute; left: 50%; bottom: max(96px, calc(env(safe-area-inset-bottom) + 80px)); display: flex; gap: 8px; transform: translateX(-50%); }
.story-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); transition: background 0.3s, width 0.3s; }
.story-dots i.on { width: 22px; border-radius: 4px; background: #fff; }
.story-skip { position: absolute; left: 50%; bottom: max(34px, env(safe-area-inset-bottom)); transform: translateX(-50%); padding: 10px 22px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.2); color: #fff; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .story-line { transform: none; transition: opacity 0.2s; } }

/* =====================================================================
   The landing page: clean and spacious, one idea per screen.
   The opening (story and locked offers) only shows with ?hero=1.
   ===================================================================== */
html:not(.with-hero) .opening, html:not(.with-hero) .story { display: none !important; }
body { background: #fff; }

/* Personal or Business: only one audience shows at a time */
html:not([data-aud="business"]) [data-aud="business"],
html[data-aud="business"] [data-aud="personal"] { display: none !important; }

.pl-wrap { width: min(1160px, 100% - 48px); margin: 0 auto; }
.pl h1, .pl h2 { color: var(--ink); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; margin: 0; }
html[lang="ar"] .pl h1, html[lang="ar"] .pl h2 { letter-spacing: 0; line-height: 1.2; }

/* Buttons: pills */
.pl-btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 30px; border-radius: 999px; font-size: 17px; font-weight: 700; text-decoration: none; transition: transform 0.15s ease, background 0.15s ease; }
.pl-btn:active { transform: scale(0.97); }
.pl-btn.dark { background: var(--ink); color: #fff; }
.pl-btn.dark:hover { background: #1c2c45; }
.pl-btn.ghost { border: 2px solid var(--ink); color: var(--ink); }
.pl-btn.ghost:hover { background: var(--ink); color: #fff; }
.pl-btn.light { background: #fff; color: var(--accent-deep); }
.pl-btn.small { padding: 10px 20px; font-size: 15px; }

/* Top bar */
.pl-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(14, 27, 46, 0.06); }
.pl-nav-in { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pl-logo { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 26px; font-weight: 800; font-style: italic; letter-spacing: -0.5px; text-decoration: none; direction: ltr; }
.pl-logo .jmark { width: 22px; height: auto; }
.pl-logo.small { font-size: 20px; }
.pl-nav-end { display: flex; align-items: center; gap: 12px; }
.pl-lang { background: #EEF2F8; min-width: 112px; min-height: 30px; }
.pl-lang button { color: var(--ink); }
.pl-lang button[aria-current] { background: var(--ink); color: #fff; }

/* Hero */
.pl-hero { padding: 56px 0 0; text-align: center; background: linear-gradient(to bottom, #E6F0FF 0%, #E6F0FF 62%, #fff 62%); }
.pl-switch { display: inline-flex; padding: 4px; margin-bottom: 40px; border-radius: 999px; background: #fff; box-shadow: 0 2px 10px rgba(14, 27, 46, 0.08); }
.pl-switch button { padding: 10px 24px; border: 0; border-radius: 999px; background: transparent; color: var(--body); font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.pl-switch button[aria-selected="true"] { background: var(--ink); color: #fff; }
.pl-hero h1 { max-width: 900px; margin: 0 auto; font-size: clamp(44px, 8vw, 96px); }
.pl-lead { max-width: 560px; margin: 22px auto 34px; color: var(--body); font-size: clamp(18px, 2.2vw, 21px); line-height: 1.5; }

/* Photos: rounded, big. Until a photo is in /photos, a soft panel with a 3D icon stands in */
.pl-photo { position: relative; margin: 0; overflow: hidden; border-radius: 32px; background: radial-gradient(circle at 30% 20%, #ffffff 0%, #DCE9FF 60%, #C9DCFA 100%); }
.pl-photo::before { content: ''; position: absolute; inset: 0; background: var(--ph-icon) center / 34% no-repeat; opacity: 0.9; }
.pl-photo picture { display: block; width: 100%; height: 100%; border-radius: inherit; overflow: hidden; }
.pl-photo img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; }
.pl-photo.hero { max-width: 1040px; aspect-ratio: 16 / 9; margin: 64px auto 0; box-shadow: 0 40px 80px rgba(14, 27, 46, 0.14); }

/* Rows: a big headline, a sentence and a button beside a photo; every other row the other way round */
.pl-rows { padding: 80px 0 40px; }
.pl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 72px 0; }
.pl-row.flip .pl-text { order: 2; }
.pl-row h2 { font-size: clamp(38px, 5.2vw, 64px); }
.pl-row p { max-width: 440px; margin: 20px 0 30px; color: var(--body); font-size: 19px; line-height: 1.55; }
.pl-row .pl-photo { aspect-ratio: 4 / 5; }

/* The vote: a blue band */
.pl-vote { margin: 40px 0 0; padding: 110px 0; background: var(--accent); }
.pl-vote-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.pl-vote h2 { color: #fff; font-size: clamp(38px, 5.2vw, 64px); }
.pl-vote #launchText { max-width: 460px; margin: 20px 0 30px; color: rgba(255, 255, 255, 0.9); font-size: 19px; line-height: 1.55; }
.pl-vote .pl-btn.light { color: var(--accent-deep); }

/* The way in */
.pl-final { padding: 120px 0; text-align: center; }
.pl-final h2 { font-size: clamp(44px, 7vw, 84px); }
.pl-final .pl-lead { margin-bottom: 30px; }

.pl-foot { padding: 36px 0 44px; border-top: 1px solid #EEF2F8; color: var(--body); font-size: 14px; }
.pl-foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.pl-foot a { margin-inline-start: auto; color: var(--ink); font-weight: 700; text-decoration: none; }

/* Phones: everything stacks; the words come before their photo */
@media (max-width: 800px) {
  .pl-wrap { width: calc(100% - 40px); }
  .pl-nav-in { height: 64px; }
  .pl-nav .pl-btn.small { padding: 9px 14px; font-size: 14px; }
  .pl-hero { padding-top: 36px; }
  .pl-switch { margin-bottom: 28px; }
  .pl-photo.hero { margin-top: 40px; border-radius: 24px; aspect-ratio: 4 / 3; }
  .pl-row { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .pl-row.flip .pl-text { order: 0; }
  .pl-row .pl-photo { aspect-ratio: 4 / 5; border-radius: 24px; }
  .pl-vote { padding: 72px 0; }
  .pl-vote-in { grid-template-columns: 1fr; gap: 32px; }
  .pl-final { padding: 80px 0; }
}
@media (max-width: 420px) {
  .pl-nav .pl-lang button { min-width: 28px; padding: 5px 6px; }
}

/* ---------- Landing: what you get, how it works, the app on the photos ---------- */
.pl-benefits { padding: 96px 0 40px; }
.pl-benefits h2, .pl-how h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 48px; color: #0B1B3F; }
.pl-benefit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 56px; }
.pl-benefit-list li { display: flex; gap: 20px; align-items: flex-start; }
.pl-benefit-list img { width: 56px; height: 56px; flex: none; }
.pl-benefit-list h3 { margin: 4px 0 6px; font-size: 20px; color: #0B1B3F; }
.pl-benefit-list p { margin: 0; color: #4A5672; line-height: 1.5; }

.pl-how { padding: 80px 0; background: #F5F8FF; }
.pl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.pl-steps li { position: relative; }
.pl-step { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #0B1B3F; color: #fff; font-weight: 700; font-size: 20px; margin-bottom: 18px; }
.pl-steps h3 { margin: 0 0 6px; font-size: 22px; color: #0B1B3F; }
.pl-steps p { margin: 0; color: #4A5672; line-height: 1.5; }

.pl-photo { position: relative; }
.pl-ui { position: absolute; left: 24px; bottom: 24px; max-width: calc(100% - 48px); display: flex; align-items: center; gap: 12px; padding: 14px 16px; padding-top: 22px; background: #fff; border-radius: 18px; box-shadow: 0 18px 40px rgba(11, 27, 63, .18); color: #0B1B3F; z-index: 2; }
[dir="rtl"] .pl-ui { left: auto; right: 24px; }
.pl-ui > img { width: 40px; height: 40px; flex: none; }
.pl-ui b { display: block; font-size: 15px; }
.pl-ui small { display: block; font-size: 13px; color: #4A5672; }
.pl-ui em { font-style: normal; font-weight: 800; color: #fff; background: #E5484D; border-radius: 10px; padding: 6px 8px; }
.pl-ex { position: absolute; top: 6px; inset-inline-start: 16px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #8A94AD; }
.pl-ui-ok, .pl-ui-av { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; font-weight: 700; }
.pl-ui-ok { background: #E3F7EA; color: #1A8C4A; font-size: 20px; }
.pl-ui-av { background: #E6F0FF; color: #1D5BD8; }
.pl-ui.stamps, .pl-ui.stats { flex-direction: column; align-items: flex-start; }
.pl-stamps { display: flex; gap: 8px; }
.pl-stamps i { width: 26px; height: 26px; border-radius: 50%; border: 2px dashed #C5CDE0; }
.pl-stamps i.on { border: none; background: #1D5BD8; }
.pl-stamps i.gift { border-color: #E5A100; }
.pl-nums { display: flex; gap: 22px; }
.pl-nums b { font-size: 24px; }

@media (max-width: 800px) {
  .pl-steps { grid-template-columns: 1fr; gap: 28px; }
  .pl-benefits { padding-top: 64px; }
  .pl-how { padding: 56px 0; }
  .pl-ui { left: 14px; bottom: 14px; max-width: calc(100% - 28px); }
  [dir="rtl"] .pl-ui { right: 14px; }
}
@media (max-width: 800px) {
  .pl-ui { padding: 10px 12px; padding-top: 18px; gap: 10px; border-radius: 14px; }
  .pl-ui > img, .pl-ui-ok, .pl-ui-av { width: 32px; height: 32px; }
  .pl-ui b { font-size: 14px; }
  .pl-ui small { font-size: 12px; }
}
.pl-btn.small { white-space: nowrap; }
@media (max-width: 400px) {
  .pl-nav-in { gap: 8px; }
  .pl-nav-end { gap: 8px; }
  .pl-logo { font-size: 22px; }
  .pl-nav .pl-btn.small { padding: 8px 12px; font-size: 13px; }
}


/* ---------- App screens on the row photos ----------
   Copies of the real app screens, built in HTML so every word is translated. Sizes, colours and
   spacing are the app's own (mobile/src: brand.tsx, client-home.tsx, book/shop.tsx, loyalty-wallet.tsx,
   offer/[requestId].tsx, shop-home.tsx, shop-ui.tsx, calendar.tsx, booking-ui.tsx, (tabs)/index.tsx),
   drawn at the phone's real size (390 x 844) and scaled down. */
.pl-phone { position: absolute; z-index: 2; box-sizing: content-box; width: 390px; height: 844px; border: 10px solid #0E1B2E; border-radius: 54px; overflow: hidden;
  background: #0E1B2E; box-shadow: 0 40px 90px rgba(11, 27, 63, .38); transform: scale(var(--ph-scale, .52)); transform-origin: bottom center; text-align: start; }
.a-screen { position: relative; width: 390px; height: 844px; overflow: hidden; border-radius: 44px; background: #F3F6FB; color: #0E1B2E;
  font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; font-size: 14px; line-height: 1.4; display: flex; flex-direction: column; }
.a-screen * { box-sizing: border-box; }
.a-screen .rx { font-family: "IBM Plex Sans Arabic", 'IBM Plex Sans Arabic', sans-serif; }
.a-ic { flex: none; display: inline-block; vertical-align: middle; }
.a-statusbar { position: absolute; z-index: 6; top: 0; left: 0; right: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 34px 0; color: #fff; direction: ltr; font-family: system-ui, sans-serif; }
.a-statusbar.dark { color: #0E1B2E; }
.a-statusbar b { font-size: 16px; font-weight: 600; }
.a-bat { width: 26px; height: 12px; border: 1.5px solid currentColor; border-radius: 4px; opacity: .9; position: relative; }
.a-bat::after { content: ''; position: absolute; top: 1.5px; bottom: 1.5px; left: 1.5px; right: 5px; background: currentColor; border-radius: 1.5px; }
.a-island { position: absolute; z-index: 7; top: 11px; left: 50%; width: 124px; height: 36px; margin-left: -62px; border-radius: 20px; background: #000; }
.a-scroll { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.a-scroll > * { flex-shrink: 0; }
.a-flex { flex: 1; min-width: 0; }
.g2 { display: flex; flex-direction: column; gap: 2px; }
.g4 { display: flex; flex-direction: column; gap: 4px; }
.g10 { gap: 10px !important; }
.g12 { gap: 12px !important; }
.a-bub { position: absolute; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.a-dot { position: absolute; width: 10px; height: 10px; border-radius: 5px; background: var(--dot); }
.a-av, .a-logo { display: inline-flex; flex: none; align-items: center; justify-content: center; border-radius: 50%; font-weight: 700; overflow: hidden; }
.a-content { display: flex; flex-direction: column; position: relative; }

/* BrandHeader */
.a-head { position: relative; background: var(--primary); border-radius: 0 0 36px 36px; padding: 72px 22px 116px; overflow: hidden; color: var(--on); }
.a-headrow { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.a-headstart { display: flex; align-items: center; gap: 12px; }
.a-back { width: 38px; height: 38px; border-radius: 19px; background: var(--fill); display: inline-flex; align-items: center; justify-content: center; flex: none; }
[dir="rtl"] .a-back .a-ic { transform: scaleX(-1); }
.a-word { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: 26px; font-weight: 700; font-style: italic; letter-spacing: -.5px; direction: ltr; }
.a-title { position: relative; font-size: 32px; line-height: 44px; font-weight: 700; }
.a-title.compact { font-size: 25px; line-height: 34px; }
.a-sub { position: relative; color: var(--muted); font-size: 16px; line-height: 26px; margin-top: 8px; }
.a-sub.compact { font-size: 14px; line-height: 21px; margin-top: 2px; }
.a-titlerow { position: relative; display: flex; align-items: center; gap: 14px; }
.a-titlecopy { flex: 1; min-width: 0; }
.a-ring { display: inline-flex; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .6); flex: none; }
.a-hpill { background: var(--fill); border-radius: 999px; padding: 7px 14px; color: var(--on); font-size: 14px; font-weight: 600; }
.a-bcard { background: #fff; border-radius: 26px; padding: 16px; border: 2px solid #fff; box-shadow: 0 6px 20px rgba(14, 27, 46, .07); }
.a-card22 { background: #fff; border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 6px 20px rgba(14, 27, 46, .06); }
.a-cta { height: 58px; border-radius: 18px; background: var(--primary); color: var(--on); display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 17px; font-weight: 700; box-shadow: 0 10px 24px var(--glow); }
.a-fwd { transform: scaleX(-1); }
[dir="rtl"] .a-fwd { transform: none; }
.a-footer { padding: 12px 18px 34px; background: #F3F6FB; }

/* Tab bar */
.a-tabbar { display: flex; background: #fff; border-top: 1px solid #e6eef6; padding: 8px 0 30px; }
.a-tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.a-tablabel { font-size: 11px; font-weight: 700; white-space: nowrap; }

/* Client home and deals */
.a-chead { position: relative; background: #1270F0; border-radius: 0 0 36px 36px; padding: 68px 18px 30px; overflow: hidden; color: #fff; }
.a-crow { position: relative; display: flex; align-items: center; gap: 10px; }
.a-hello { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: 18px; font-weight: 700; }
.a-addr { display: flex; align-items: center; gap: 3px; margin-top: 2px; color: #E1ECFF; font-size: 13px; white-space: nowrap; overflow: hidden; }
.a-question { position: relative; margin-top: 20px; font-size: 26px; line-height: 36px; font-weight: 700; }
.a-cbody { padding: 16px 18px 0; display: flex; flex-direction: column; gap: 12px; }
.a-secrow { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.a-sectitle { font-size: 18px; font-weight: 700; }
.a-salepill { background: #FDECEC; border-radius: 999px; padding: 2px 9px; color: #D92D20; font-size: 11.5px; font-weight: 700; }
.a-secaction { color: #1270F0; font-size: 13.5px; font-weight: 700; }
.a-sechint { color: #4A5A72; font-size: 13px; line-height: 20px; margin-top: -6px; }
.a-pwrap { display: flex; flex-wrap: wrap; gap: 10px; }
.a-promo { width: 172px; background: #fff; border-radius: 18px; padding: 8px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 4px 14px rgba(14, 27, 46, .06); }
.a-ptile { position: relative; height: 96px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; overflow: hidden; }
.a-ptile img { width: 56px; height: 56px; }
.a-disc, .a-tbadge { position: absolute; top: 6px; inset-inline-start: 6px; background: #D92D20; color: #fff; border-radius: 8px; padding: 2px 6px; font-size: 11.5px; font-weight: 700; direction: ltr; }
.a-pitem { font-size: 13.5px; font-weight: 700; min-height: 36px; line-height: 18px; }
.a-prices { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.a-pnew { color: #D92D20; font-size: 14.5px; font-weight: 700; }
.a-pnew.big { font-size: 15px; }
.a-pold { color: #8A97AB; font-size: 12px; text-decoration: line-through; }
.a-store { display: flex; align-items: center; gap: 6px; color: #2C3E5A; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.a-pmeta { color: #8A97AB; font-size: 11.5px; white-space: nowrap; overflow: hidden; }

/* Booking a time */
.a-link { display: flex; align-items: center; gap: 6px; color: #1270F0; font-size: 14px; font-weight: 700; }
[dir="rtl"] .a-chev { transform: scaleX(-1); }
.a-addrrow { display: flex; align-items: center; gap: 6px; color: #4A5A72; font-size: 13px; }
.a-label { font-size: 15px; font-weight: 700; margin-top: 4px; }
.a-days { display: flex; gap: 8px; padding: 2px 0; margin-inline-end: -14px; overflow: hidden; }
.a-day { flex: none; min-width: 92px; border-radius: 14px; border: 1.5px solid #E1E8F2; padding: 8px 12px; background: #fff; }
.a-day b { display: block; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.a-day > span { display: block; color: #4A5A72; font-size: 11.5px; margin-top: 2px; }
.a-day.on { background: #1270F0; border-color: #1270F0; }
.a-day.on b, .a-day.on > span { color: #fff; }
.a-times { display: flex; flex-wrap: wrap; gap: 8px; }
.a-time { width: 22.5%; text-align: center; border-radius: 12px; border: 1.5px solid #E1E8F2; background: #fff; padding: 10px 0; font-weight: 700; font-size: 14px; }
.a-time.on { background: #1270F0; border-color: #1270F0; color: #fff; }
.a-time.taken { background: #F3F6FB; border-color: #F3F6FB; color: #8A97AB; text-decoration: line-through; }
.a-note { color: #8A97AB; font-size: 12.5px; line-height: 18px; margin-top: 6px; }

/* Loyalty wallet */
.a-body14 { color: #4A5A72; font-size: 14px; line-height: 21px; }
.a-shoprow { display: flex; align-items: center; gap: 12px; }
.a-ctitle { font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-meta { color: #8A97AB; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-count { font-size: 15px; font-weight: 700; direction: ltr; }
.a-stamps { display: flex; flex-wrap: wrap; gap: 8px; }
.a-stamp { width: 30px; height: 30px; border-radius: 15px; border: 1.5px dashed #C5D0DE; display: inline-flex; align-items: center; justify-content: center; }
.a-stamp.on { background: #27A55A; border: 1.5px solid #27A55A; }
.a-stamp.gift { border: 1.5px solid #FFC24B; background: #FFF4DE; }
.a-leftrow { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; }

/* Offer */
.a-ohead { position: relative; background: var(--primary); border-radius: 0 0 36px 36px; padding: 68px 18px 76px; overflow: hidden; color: var(--on); }
.a-who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.a-oname { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: 18px; font-weight: 700; }
.a-osub { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-lock { display: inline-flex; align-items: center; gap: 5px; background: var(--fill); border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.a-ocard { background: #fff; border-radius: 26px; padding: 16px; border: 2px solid var(--primary); box-shadow: 0 14px 30px var(--glow); }
.a-cardtop { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.a-spill { background: #E8EDF5; color: #3B4A60; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.a-by { color: #4A5A72; font-size: 13px; }
.a-price { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: 32px; font-weight: 700; margin-top: 10px; }
.a-price small { font-family: 'IBM Plex Sans Arabic', sans-serif; color: #4A5A72; font-size: 16px; font-weight: 600; }
.a-facts { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.a-fact { display: flex; align-items: flex-start; gap: 10px; }
.a-ficon { width: 32px; height: 32px; border-radius: 10px; background: var(--soft); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.a-flabel { color: #8A97AB; font-size: 12px; }
.a-fvalue { font-size: 14.5px; font-weight: 600; }
.a-actions { display: flex; gap: 10px; margin-top: 16px; }
.a-accept, .a-counter { flex: 1; height: 50px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 16px; font-weight: 700; white-space: nowrap; }
.a-accept { background: var(--primary); color: var(--on); box-shadow: 0 8px 18px var(--glow); }
.a-counter { background: #fff; border: 2px solid var(--accent); color: var(--accent); }
.a-decline { text-align: center; padding-top: 12px; color: #B42318; font-size: 14px; font-weight: 700; }
.a-ofoot { margin-top: auto; padding: 10px 18px 34px; }
.a-locked { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 18px; padding: 12px; color: #4A5A72; font-size: 13.5px; line-height: 20px; }
.a-lockicon { width: 34px; height: 34px; border-radius: 17px; background: var(--soft); display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* Shop home */
.a-shopstatus { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; background: #EEF8F2; }
.a-shopstatus i { width: 10px; height: 10px; border-radius: 5px; flex: none; }
.a-shopstatus b { font-size: 14.5px; font-weight: 700; }
.a-summary { margin-top: 14px; padding-top: 14px; border-top: 1px solid #E1E8F2; display: flex; flex-direction: column; gap: 10px; }
.a-stitle { font-size: 16px; font-weight: 700; }
.a-srow { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 20px; }
.a-headline { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.a-big { font-family: "IBM Plex Sans Arabic", sans-serif; color: #13784A; font-size: 34px; font-weight: 700; direction: ltr; line-height: 1.2; }
.a-headline > span { font-size: 15.5px; font-weight: 600; }
.a-gapbody { color: #4A5A72; font-size: 12.5px; line-height: 18px; }
.a-rlabel { color: #4A5A72; font-size: 13px; font-weight: 700; }
.a-rgrid { display: flex; gap: 8px; }
.a-rtile { flex: 1; background: #F3F6FB; border-radius: 14px; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.a-rtile b { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: 19px; font-weight: 700; }
.a-rtile > span { color: #4A5A72; font-size: 12px; line-height: 16px; }
.a-section { display: flex; flex-direction: column; gap: 10px; }
.a-ssrow { display: flex; align-items: center; justify-content: space-between; }
.a-sstitle { font-size: 17px; font-weight: 700; }
.a-ssaction { color: #13784A; font-weight: 700; font-size: 13.5px; }
.a-sshint { color: #4A5A72; font-size: 13px; margin-top: -6px; line-height: 18px; }
.a-deal { display: flex; gap: 12px; padding: 12px; background: #fff; border-radius: 20px; box-shadow: 0 4px 14px rgba(14, 27, 46, .05); }
.a-thumb { position: relative; width: 72px; height: 72px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.a-thumb img { width: 44px; height: 44px; }
.a-thumb .a-tbadge { top: 5px; inset-inline-start: 5px; border-radius: 7px; padding: 1px 5px; font-size: 10.5px; }
.a-dealtop { display: flex; align-items: flex-start; gap: 8px; }
.a-dtitle { flex: 1; font-size: 15px; font-weight: 700; line-height: 21px; }
.a-state { border-radius: 999px; padding: 2px 8px; background: #E4F6EA; color: #1F7A4A; font-size: 11px; font-weight: 700; }
.a-when { color: #8A97AB; font-size: 12.5px; }
.a-nums { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2px; }
.a-n { display: inline-flex; align-items: center; gap: 4px; color: #4A5A72; font-size: 12.5px; font-weight: 600; direction: ltr; }

/* Calendar */
.a-calhead { position: relative; background: var(--primary); border-radius: 0 0 36px 36px; padding: 70px 18px 18px; overflow: hidden; color: var(--on); }
.a-caltitle { position: relative; display: flex; align-items: flex-start; gap: 12px; }
.a-ctitle28 { font-size: 28px; font-weight: 700; line-height: 1.25; }
.a-csub { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.a-dash { width: 44px; height: 44px; border-radius: 22px; background: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(14, 27, 46, .12); flex: none; }
.a-week { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.a-arrow { width: 36px; height: 36px; border-radius: 18px; background: var(--fill); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.a-weekinfo { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.a-weekinfo b { font-size: 16px; font-weight: 700; }
.a-wpill { background: var(--fill); border-radius: 999px; padding: 4px 12px; font-size: 12.5px; font-weight: 600; }
.a-strip { position: relative; display: flex; gap: 6px; margin-top: 16px; }
.a-dcell { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0; border-radius: 16px; background: rgba(255, 255, 255, .35); min-width: 0; }
.a-dcell.on { background: #fff; }
.a-dcell.today::after { content: ''; position: absolute; inset: 0; border-radius: 16px; border: 1.5px solid rgba(255, 255, 255, .6); }
.a-dname { color: var(--muted); font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; max-width: 100%; }
.a-dnum { font-size: 17px; font-weight: 700; }
.a-dcell.on .a-dname, .a-dcell.on .a-dnum { color: var(--accent); }
.a-ddot { width: 6px; height: 6px; border-radius: 3px; }
.a-ddot.busy { background: #fff; }
.a-ddot.on { background: var(--accent); }
.a-cpill { background: #FFF4DE; color: #8A5A00; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 700; }
.a-pending { background: #fff; border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 10px; border: 1.5px solid #FFC24B; }
.a-bname { font-size: 15px; font-weight: 700; }
.a-bwhen { color: #4A5A72; font-size: 13px; }
.a-answers { display: flex; gap: 8px; }
.a-yes, .a-no { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; padding: 10px 0; font-weight: 700; }
.a-yes { background: #27A55A; color: #fff; }
.a-no { background: #F3F6FB; color: #4A5A72; }
.a-daytitle { font-size: 17px; font-weight: 700; }
.a-brow { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 12px; box-shadow: 0 4px 14px rgba(14, 27, 46, .05); }
.a-ok { border-radius: 999px; padding: 3px 9px; background: #E4F6EA; color: #1F7A4A; font-size: 11.5px; font-weight: 700; }

/* Jobs near a worker */
.a-screen:has(.a-map) .a-scroll { position: relative; }
.a-screen:has(.a-map) .a-tabbar { position: relative; z-index: 4; }
.a-map { position: absolute; inset: 0; background-color: #E9EEF2;
  background-image: linear-gradient(28deg, transparent 47%, #fff 47%, #fff 51%, transparent 51%), linear-gradient(-62deg, transparent 47.5%, #fff 47.5%, #fff 50%, transparent 50%),
    linear-gradient(90deg, transparent 30%, #fff 30%, #fff 31.5%, transparent 31.5%), linear-gradient(0deg, transparent 62%, #FFE9B8 62%, #FFE9B8 64.5%, transparent 64.5%),
    radial-gradient(ellipse 90px 60px at 78% 18%, #D4EBD2 98%, transparent 100%), radial-gradient(ellipse 120px 70px at 15% 40%, #CFE3F3 98%, transparent 100%); }
.a-pin { position: absolute; background: #FFC24B; color: #0E1B2E; border-radius: 999px; padding: 5px 10px; font-size: 12.5px; font-weight: 700; box-shadow: 0 4px 10px rgba(14, 27, 46, .25); white-space: nowrap; }
.a-me { position: absolute; top: 250px; left: 190px; width: 18px; height: 18px; border-radius: 50%; background: #1270F0; border: 3px solid #fff; box-shadow: 0 0 0 10px rgba(18, 112, 240, .18); }
.a-mode { position: absolute; z-index: 5; top: 62px; right: 16px; background: #FFC24B; border-radius: 99px; padding: 6px 10px; color: #0E1B2E; font-size: 11px; font-weight: 700; box-shadow: 0 2px 6px rgba(11, 27, 43, .16); }
.a-sheet { position: relative; z-index: 3; margin-top: 380px; background: #F3F6FB; border-radius: 24px 24px 0 0; box-shadow: 0 -4px 16px rgba(11, 27, 43, .18); flex: 1; }
.a-handle { width: 42px; height: 5px; border-radius: 3px; background: #c5d0da; margin: 10px auto 6px; }
.a-sheethead { padding: 0 16px 4px; display: flex; flex-direction: column; gap: 4px; }
.a-sheettitle { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 19px; font-weight: 700; }
.a-jcount { background: var(--soft); color: var(--onsoft); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; font-weight: 700; font-family: 'IBM Plex Sans Arabic', sans-serif; }
.a-sheethint { color: #4A5A72; font-size: 13px; line-height: 19px; padding: 0 16px 10px; border-bottom: 1px solid #E1E8F2; }
.a-flabel2 { color: #8A97AB; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; padding: 12px 16px 2px; }
.a-chips { display: flex; gap: 8px; padding: 6px 16px 4px; overflow: hidden; }
.a-chip { flex: none; background: #fff; border: 1px solid #d5e4f2; border-radius: 999px; padding: 8px 14px; color: #243140; font-weight: 700; font-size: 13px; white-space: nowrap; }
.a-chip.on { background: var(--primary); border-color: var(--primary); color: var(--on); }
.a-jobs { display: flex; flex-direction: column; gap: 12px; padding: 12px 16px; }
.a-job { background: #fff; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.a-jobtop { display: flex; align-items: flex-start; gap: 12px; }
.a-jicon { width: 44px; height: 44px; border-radius: 22px; background: var(--soft); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.a-jtitle { display: flex; align-items: flex-start; gap: 8px; font-size: 16px; font-weight: 700; }
.a-jtitle > span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-jmeta { display: flex; align-items: center; gap: 6px; color: #4A5A72; font-size: 13px; }
.a-jmeta b { color: #243140; font-weight: 700; }
.a-jrule { display: block; height: 1px; background: #e6eef6; margin-top: 4px; }
.a-jfoot { display: flex; align-items: center; gap: 8px; }
.a-ago { color: #8A97AB; font-size: 12px; }
.a-new { background: #FDECEC; color: #e11d48; border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 700; }

/* Where the phone goes: hanging off the photo's inner edge and bottom, so the photo stays clear */
.pl-row .pl-photo:has(.pl-phone) { overflow: visible; }
.pl-row .pl-photo:has(.pl-phone) > picture,
.pl-row .pl-photo:has(.pl-phone) > img { display: block; width: 100%; height: 100%; border-radius: inherit; overflow: hidden; }
.pl-row .pl-phone { --ph-scale: .52; bottom: -56px; inset-inline-start: -170px; }
.pl-row.flip .pl-phone { inset-inline-start: auto; inset-inline-end: -170px; }
.pl-photo:has(.pl-phone)::before { background-position: 22% 50%; background-size: 30%; }
[dir="rtl"] .pl-photo:has(.pl-phone)::before { background-position: 78% 50%; }
@media (max-width: 800px) {
  .pl-row .pl-photo:has(.pl-phone) { margin-bottom: 150px; }
  .pl-row .pl-phone, .pl-row.flip .pl-phone { --ph-scale: .38; bottom: -180px; inset-inline-start: auto; inset-inline-end: -115px; }
}
@media (max-width: 480px) {
  .pl-row .pl-photo:has(.pl-phone) { margin-bottom: 140px; }
  .pl-row .pl-phone, .pl-row.flip .pl-phone { --ph-scale: .34; bottom: -175px; inset-inline-end: -123px; }
}
/* A wide photo whose person stands left of centre: keep them clear of the phone (mirrored in Arabic, where the phone moves left) */
.pl-photo img.focus-left { object-position: 22% 50%; }
[dir="rtl"] .pl-photo img.focus-left { transform: scaleX(-1); }

/* How Jobby works, for people: one card per thing to do, each in three steps */
.pl-how .pl-howlead { margin: -32px 0 40px; color: #4A5672; font-size: 19px; line-height: 1.5; max-width: 560px; }
.pl-howgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pl-howcard { background: #fff; border-radius: 24px; padding: 28px 24px; box-shadow: 0 10px 30px rgba(14, 27, 46, .06); }
.pl-howcard img { width: 52px; height: 52px; }
.pl-howcard h3 { margin: 16px 0 14px; font-size: 20px; line-height: 1.25; color: #0B1B3F; }
.pl-howcard ol { list-style: none; margin: 0; padding: 0; counter-reset: hw; display: flex; flex-direction: column; gap: 12px; }
.pl-howcard li { counter-increment: hw; display: flex; gap: 10px; color: #4A5672; font-size: 15px; line-height: 1.45; }
.pl-howcard li::before { content: counter(hw); flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #0B1B3F; color: #fff; font-size: 12px; font-weight: 700; margin-top: 1px; }
@media (max-width: 1000px) { .pl-howgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pl-howgrid { grid-template-columns: 1fr; } .pl-how .pl-howlead { margin-top: -28px; font-size: 17px; } }
/* The hero is words and one button only: a calm blue band, then the page */
.pl-hero { padding-bottom: 104px; background: #E6F0FF; }
@media (max-width: 800px) { .pl-hero { padding-bottom: 64px; } }

/* ---------- Bookings from Google Maps (business): an animated phone, 13 s loop ----------
   1. the shop on the map, the place card slides up, "Book" is tapped
   2. the shop's Jobby page: a time is picked, the request is sent
   3. the shop's phone gets the booking */
.pl-gmaps { padding: 96px 0; background: #fff; }
.gm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.gm-text h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 20px; color: #0B1B3F; }
.gm-lead { margin: 0 0 28px; color: #4A5672; font-size: 19px; line-height: 1.55; max-width: 520px; }
.gm-steps { list-style: none; margin: 0; padding: 0; counter-reset: gm; display: flex; flex-direction: column; gap: 14px; }
.gm-steps li { counter-increment: gm; display: flex; gap: 12px; align-items: flex-start; color: #0B1B3F; font-size: 17px; line-height: 1.45; font-weight: 600; }
.gm-steps li::before { content: counter(gm); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #1270F0; color: #fff; font-size: 14px; font-weight: 700; }
.gm-stage { position: relative; width: 287px; height: 605px; margin: 0 auto; }
.gm-stage::before { content: ''; position: absolute; inset: 8% -30%; border-radius: 50%; background: radial-gradient(closest-side, #E6F0FF, transparent); }
.gm-phone.pl-phone { position: absolute; top: 0; left: 0; inset-inline-start: 0; transform: scale(.7); transform-origin: top left; }
[dir="rtl"] .gm-phone.pl-phone { left: auto; right: 0; transform-origin: top right; }
.gm-screen { background: #fff; }
.gm-scene { position: absolute; inset: 0; opacity: 0; animation: 13s infinite both paused; }
.pl-gmaps.play .gm-scene, .pl-gmaps.play .gm-scene * { animation-play-state: running; }
.gm-i { width: 18px; height: 18px; flex: none; }

/* 1. the map */
.gm-map { background: #EAF1E8; animation-name: gm-s1; }
.gm-roads { position: absolute; inset: 0; background-image:
    linear-gradient(32deg, transparent 46%, #fff 46%, #fff 49.5%, transparent 49.5%), linear-gradient(-58deg, transparent 58%, #fff 58%, #fff 60.5%, transparent 60.5%),
    linear-gradient(90deg, transparent 64%, #FDE293 64%, #FDE293 66.5%, transparent 66.5%), linear-gradient(0deg, transparent 30%, #fff 30%, #fff 32%, transparent 32%),
    radial-gradient(ellipse 120px 80px at 20% 22%, #C8E6C9 98%, transparent 100%), radial-gradient(ellipse 160px 90px at 85% 52%, #AECBFA 98%, transparent 100%); }
.gm-search { position: absolute; z-index: 2; top: 62px; left: 16px; right: 16px; height: 50px; border-radius: 25px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.18); display: flex; align-items: center; padding: 0 20px; color: #3C4043; font-size: 16px; font-family: Roboto, Arial, sans-serif; }
.gm-pinwrap { position: absolute; z-index: 2; top: 236px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; animation: 13s infinite gm-drop paused; }
.gm-pin { width: 30px; height: 45px; filter: drop-shadow(0 3px 3px rgba(0,0,0,.3)); }
.gm-pinwrap b { font-family: Roboto, Arial, sans-serif; font-size: 14px; color: #A50E0E; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; white-space: nowrap; }
.gm-sheet { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 430px; background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -2px 12px rgba(0,0,0,.15); padding: 10px 20px; font-family: Roboto, Arial, sans-serif; color: #202124; animation: 13s infinite gm-sheet paused; }
.gm-handle { width: 36px; height: 4px; border-radius: 2px; background: #DADCE0; margin: 0 auto 14px; }
.gm-name { font-size: 24px; font-weight: 500; }
.gm-rate { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; color: #70757A; }
.gm-rate b { color: #202124; font-weight: 500; }
.gm-stars { color: #FBBC04; letter-spacing: 1px; }
.gm-meta { margin-top: 4px; font-size: 14px; color: #70757A; }
.gm-btns { display: flex; gap: 8px; margin-top: 16px; }
.gm-b { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 19px; background: #E8F0FE; color: #0B57D0; font-size: 14px; font-weight: 500; white-space: nowrap; }
.gm-b.book { background: #0B57D0; color: #fff; animation: 13s infinite gm-press paused; }
.gm-photos { display: flex; gap: 8px; margin-top: 18px; }
.gm-photos i { flex: 1; height: 120px; border-radius: 12px; background: linear-gradient(135deg, #D7CCC8, #A1887F); }
.gm-photos i:nth-child(2) { background: linear-gradient(135deg, #CFD8DC, #90A4AE); }
.gm-photos i:nth-child(3) { background: linear-gradient(135deg, #FFE0B2, #FFB74D); }
.gm-tap { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(255,255,255,.55); border: 2px solid rgba(11, 27, 63, .25); opacity: 0; animation: 13s infinite gm-tap1 paused; pointer-events: none; }

/* 2. the shop's Jobby page */
.gm-site { background: #F3F6FB; animation-name: gm-s2; }
.gm-url { position: absolute; top: 54px; left: 0; right: 0; height: 46px; background: #F1F3F4; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #E1E3E6; }
.gm-url span { background: #fff; border-radius: 16px; padding: 6px 16px; font-size: 14px; color: #202124; direction: ltr; font-family: Roboto, Arial, sans-serif; }
.gm-sitehead { position: absolute; top: 100px; left: 0; right: 0; background: #1270F0; color: #fff; padding: 22px 20px 70px; display: flex; align-items: center; gap: 14px; border-radius: 0 0 30px 30px; }
.gm-sitehead b { display: block; font-family: "IBM Plex Sans Arabic", sans-serif; font-size: 22px; font-weight: 700; }
.gm-sitehead small { display: block; color: #E1ECFF; font-size: 14px; margin-top: 2px; }
.gm-logo { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: #1270F0; display: grid; place-items: center; font-weight: 700; font-size: 22px; flex: none; }
.gm-card { position: absolute; top: 200px; left: 16px; right: 16px; background: #fff; border-radius: 22px; padding: 16px; box-shadow: 0 6px 20px rgba(14,27,46,.08); display: flex; flex-direction: column; gap: 12px; }
.gm-label { font-size: 15px; font-weight: 700; }
.gm-days { display: flex; gap: 8px; }
.gm-days span { flex: 1; text-align: center; border: 1.5px solid #E1E8F2; border-radius: 12px; padding: 9px 4px; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.gm-days span.on { background: #1270F0; border-color: #1270F0; color: #fff; }
.gm-times { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gm-t { text-align: center; border: 1.5px solid #E1E8F2; border-radius: 12px; padding: 9px 0; font-weight: 700; font-size: 14px; }
.gm-t.off { background: #F3F6FB; border-color: #F3F6FB; color: #8A97AB; text-decoration: line-through; }
.gm-t.pick { animation: 13s infinite gm-pick paused; }
.gm-times .gm-tap.two { left: auto; right: 12%; top: 75%; animation-name: gm-tap2; }
.gm-field { height: 46px; border-radius: 12px; background: #F3F6FB; display: flex; align-items: center; padding: 0 14px; font-size: 15px; color: #0E1B2E; direction: ltr; justify-content: flex-start; }
.gm-send { position: relative; height: 52px; border-radius: 16px; background: #1270F0; color: #fff; display: grid; place-items: center; font-size: 16px; font-weight: 700; animation: 13s infinite gm-press2 paused; }
.gm-send .gm-tap.three { animation-name: gm-tap3; }
.gm-sent { position: absolute; left: 16px; right: 16px; bottom: 60px; background: #0E1B2E; color: #fff; border-radius: 16px; padding: 14px 16px; font-size: 14.5px; font-weight: 600; text-align: center; opacity: 0; animation: 13s infinite gm-toast paused; }

/* 3. the shop's phone */
.gm-lock { background: linear-gradient(160deg, #13784A, #0B4D30 70%); color: #fff; animation-name: gm-s3; }
.gm-clock { position: absolute; top: 110px; left: 0; right: 0; text-align: center; font-family: system-ui, sans-serif; font-size: 76px; font-weight: 300; direction: ltr; }
.gm-notif { position: absolute; top: 250px; left: 14px; right: 14px; display: flex; gap: 12px; background: rgba(255,255,255,.92); color: #0E1B2E; border-radius: 22px; padding: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: 13s infinite gm-notif paused; }
.gm-app { width: 40px; height: 40px; border-radius: 10px; background: #1270F0; color: #fff; display: grid; place-items: center; font-family: "IBM Plex Sans Arabic", sans-serif; font-weight: 700; font-style: italic; flex: none; }
.gm-ntop { display: flex; justify-content: space-between; font-size: 13px; color: #4A5A72; }
.gm-ntop b { color: #4A5A72; font-weight: 600; }
.gm-ntitle { display: block; font-size: 15.5px; font-weight: 700; margin-top: 2px; }
.gm-nbody { font-size: 14px; color: #2C3E5A; }

@keyframes gm-s1 { 0%, 41% { opacity: 1; } 44%, 97% { opacity: 0; } 100% { opacity: 1; } }
@keyframes gm-s2 { 0%, 41% { opacity: 0; transform: translateX(30px); } 45%, 74% { opacity: 1; transform: none; } 78%, 100% { opacity: 0; } }
@keyframes gm-s3 { 0%, 74% { opacity: 0; } 78%, 97% { opacity: 1; } 100% { opacity: 0; } }
@keyframes gm-drop { 0%, 3% { transform: translate(-50%, -60px); opacity: 0; } 8% { transform: translate(-50%, 0); opacity: 1; } 10% { transform: translate(-50%, -8px); } 12%, 100% { transform: translate(-50%, 0); opacity: 1; } }
@keyframes gm-sheet { 0%, 13% { transform: translateY(100%); } 20%, 100% { transform: translateY(0); } }
@keyframes gm-tap1 { 0%, 30% { opacity: 0; transform: scale(.4); } 33% { opacity: 1; transform: scale(1); } 37%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes gm-press { 0%, 32% { transform: none; } 34% { transform: scale(.93); } 37%, 100% { transform: none; } }
@keyframes gm-tap2 { 0%, 52% { opacity: 0; transform: scale(.4); } 55% { opacity: 1; transform: scale(1); } 59%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes gm-pick { 0%, 54% { background: #fff; border-color: #E1E8F2; color: #0E1B2E; } 56%, 100% { background: #1270F0; border-color: #1270F0; color: #fff; } }
@keyframes gm-tap3 { 0%, 62% { opacity: 0; transform: scale(.4); } 65% { opacity: 1; transform: scale(1); } 69%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes gm-press2 { 0%, 64% { transform: none; } 66% { transform: scale(.96); } 69%, 100% { transform: none; } }
@keyframes gm-toast { 0%, 66% { opacity: 0; transform: translateY(16px); } 69%, 76% { opacity: 1; transform: none; } 79%, 100% { opacity: 0; } }
@keyframes gm-notif { 0%, 79% { opacity: 0; transform: translateY(-40px); } 83%, 100% { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .gm-scene, .gm-scene * { animation: none !important; }
  .gm-site { opacity: 1; }
  .gm-t.pick { background: #1270F0; border-color: #1270F0; color: #fff; }
}
@media (max-width: 800px) {
  .pl-gmaps { padding: 64px 0; }
  .gm-grid { grid-template-columns: 1fr; gap: 40px; }
  .gm-lead { font-size: 17px; }
  .gm-stage { width: 246px; height: 518px; }
  .gm-phone.pl-phone { transform: scale(.6); }
}
/* Store logos on the download buttons */
.pl-btn[data-get] { gap: 10px; }
.pl-store-ics { display: inline-flex; align-items: center; gap: 6px; }
.pl-store-ic { width: 20px; height: 20px; flex: none; }
.pl-btn.small .pl-store-ic { width: 16px; height: 16px; }
.pl-btn.small .pl-store-ics { gap: 4px; }
.pl-btn.ghost .pl-store-ic path[fill="currentColor"] { fill: #0B1B3F; }

/* ---------- Feature pages: jobby.click/booking/, /loyalty/, /deals/ (and their links on the landing) ---------- */
.ft-links { display: flex; gap: 22px; margin-inline-start: 36px; margin-inline-end: auto; }
.ft-links a { color: #0B1B3F; text-decoration: none; font-weight: 600; font-size: 15px; opacity: .75; }
.ft-links a:hover, .ft-links a[aria-current] { opacity: 1; }
.ft-links a[aria-current] { color: #1270F0; }
.ft-footlinks { display: flex; flex-wrap: wrap; gap: 18px; }
.ft-footlinks a { color: inherit; text-decoration: none; font-weight: 600; opacity: .8; }
@media (max-width: 900px) { .ft-links { display: none; } }

body.ft-page { background: #fff; }
.ft-page h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 36px; color: #0B1B3F; }
.ft-hero { background: #E6F0FF; padding: 64px 0 80px; }
.ft-hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.ft-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 6px 14px 6px 8px; font-weight: 600; font-size: 14px; color: #0B1B3F; box-shadow: 0 4px 14px rgba(14, 27, 46, .06); }
.ft-eyebrow img { width: 26px; height: 26px; }
.ft-hero h1 { font-size: clamp(42px, 6.4vw, 78px); line-height: 1.02; letter-spacing: -0.03em; margin: 22px 0 18px; color: #0B1B3F; }
.ft-hero .pl-lead { margin: 0 0 28px; max-width: 560px; }
.ft-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ft-ctas.center { justify-content: center; }

/* A phone at the app's real size, scaled down: --s is the scale */
.ft-stage { --s: .62; position: relative; flex: none; width: calc(410px * var(--s)); height: calc(864px * var(--s)); margin: 0 auto; }
.ft-stage .pl-phone, .ft-stage .pl-phone.ft-phone { position: absolute; top: 0; left: 0; right: auto; bottom: auto; inset-inline-start: 0; transform: scale(var(--s)); transform-origin: top left; }
[dir="rtl"] .ft-stage .pl-phone { left: auto; right: 0; transform-origin: top right; }
.ft-gm.pl-gmaps { padding: 0; background: none; }


.ft-how { padding: 64px 0; }
.ft-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ft-col { border-radius: 28px; padding: 30px; }
.ft-col.shop { background: #E4F6EA; }
.ft-col.client { background: #EAF2FF; }
.ft-col h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 22px; color: #0B1B3F; }
.ft-col ol { list-style: none; margin: 0; padding: 0; counter-reset: st; display: flex; flex-direction: column; gap: 18px; }
.ft-col li { counter-increment: st; display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; }
.ft-col li::before { content: counter(st); grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #0B1B3F; color: #fff; font-weight: 700; }
.ft-col li b { font-size: 18px; color: #0B1B3F; }
.ft-col li span { color: #4A5672; line-height: 1.45; }

.ft-shows { padding: 72px 0; background: #F5F8FF; }
.ft-showrow { display: flex; justify-content: center; flex-wrap: wrap; gap: 48px 64px; }
.ft-show { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ft-show .ft-stage { --s: .58; }
.ft-show figcaption { font-weight: 700; color: #0B1B3F; font-size: 17px; }

.ft-ideas { padding: 72px 0 24px; }
.ft-ideas ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ft-ideas li { border: 1.5px solid #E1E8F2; border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.ft-ideas img { width: 44px; height: 44px; margin-bottom: 6px; }
.ft-ideas b { color: #0B1B3F; font-size: 17px; }
.ft-ideas span { color: #4A5672; }


.ft-final { background: #1270F0; color: #fff; padding: 80px 0; text-align: center; }
.ft-final h2 { color: #fff; }
.ft-others { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.ft-other { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 280px; text-align: start; background: rgba(255, 255, 255, .12); border-radius: 22px; padding: 20px; color: #fff; text-decoration: none; }
.ft-other img { width: 40px; height: 40px; margin-bottom: 6px; }
.ft-other b { font-size: 19px; }
.ft-other span { color: #E1ECFF; }

@media (max-width: 900px) {
  .ft-hero { padding: 40px 0 56px; }
  .ft-hero-in { grid-template-columns: 1fr; gap: 40px; }
  .ft-cols { grid-template-columns: 1fr; }
  .ft-ideas ul { grid-template-columns: 1fr 1fr; }
  .ft-stage { --s: .56; }
  .ft-show .ft-stage { --s: .5; }
}
@media (max-width: 520px) { .ft-ideas ul { grid-template-columns: 1fr; } }

/* The loyalty animation: stamps fill, the gift lights up, the reward toast shows (10 s loop) */
.ly-code { display: flex; flex-direction: column; gap: 12px; }
.ly-qr { display: flex; align-items: center; gap: 14px; }
.ly-qr i { width: 74px; height: 74px; border-radius: 10px; background:
    conic-gradient(#0E1B2E 25%, transparent 0 50%, #0E1B2E 0 75%, transparent 0) 0 0 / 18px 18px, #fff; border: 6px solid #fff; box-shadow: 0 0 0 1.5px #E1E8F2; }
.ly-qr b { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: 26px; letter-spacing: 2px; direction: ltr; }
.ly-stamps .a-stamp svg { opacity: 0; }
.ly-toast { position: absolute; z-index: 6; left: 18px; right: 18px; bottom: 40px; background: #0E1B2E; color: #fff; border-radius: 18px; padding: 16px; font-weight: 700; font-size: 17px; text-align: center; opacity: 0; }
.ft-stage.play .ly-toast { animation: ly-toast 10s infinite; }
.ft-stage.play .ly-gift { animation: ly-gift 10s infinite; }
@keyframes ly-tick { 0%, 7% { opacity: 0; } 9%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ly-toast { 0%, 74% { opacity: 0; transform: translateY(20px); } 78%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes ly-gift { 0%, 70% { transform: none; box-shadow: none; } 73% { transform: scale(1.35); } 76%, 94% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(255, 194, 75, .35); } 100% { transform: none; box-shadow: none; } }

/* The deals animation: a bakery posts at 18:45, followers get the alert, the stock sells out (12 s loop) */
.dl-screen { background: #F3F6FB; }
.dl-scene { position: absolute; inset: 0; opacity: 0; }
.dl-post { background: #F3F6FB; opacity: 1; }
.ft-stage.play .dl-post { animation: dl-s1 12s infinite; }
.ft-stage.play .dl-lock { animation: dl-s2 12s infinite; }
.ft-stage.play .dl-sell { animation: dl-s3 12s infinite; }
.dl-head { background: #13784A; color: #fff; border-radius: 0 0 36px 36px; padding: 66px 22px 70px; display: flex; flex-direction: column; gap: 6px; }
.dl-head b { font-size: 30px; font-weight: 700; margin-top: 14px; }
.dl-head small { color: #D6F2E2; font-size: 15px; }
.dl-form { margin: -46px 18px 0; background: #fff; border-radius: 26px; padding: 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 6px 20px rgba(14, 27, 46, .07); }
.dl-photo { height: 120px; border-radius: 16px; background: #FFF1E0; display: grid; place-items: center; }
.dl-photo img { width: 82px; height: 82px; }
.dl-form label { display: flex; flex-direction: column; gap: 4px; background: #F3F6FB; border-radius: 14px; padding: 10px 14px; }
.dl-form label span { color: #8A97AB; font-size: 12px; }
.dl-form label b { font-size: 17px; }
.dl-prices { display: flex; gap: 10px; align-items: stretch; }
.dl-prices label { flex: 1; }
.dl-prices label:first-child b { text-decoration: line-through; color: #8A97AB; }
.dl-prices label.on b { color: #D92D20; }
.dl-off { align-self: center; background: #D92D20; color: #fff; border-radius: 10px; padding: 6px 10px; font-weight: 700; direction: ltr; }
.dl-btn { position: relative; height: 56px; border-radius: 18px; background: #13784A; color: #fff; display: grid; place-items: center; font-size: 17px; font-weight: 700; box-shadow: 0 10px 24px rgba(19, 120, 74, .28); }
.ft-stage.play .dl-btn { animation: dl-press 12s infinite; }
.ft-stage.play .dl-tap { animation: dl-tap 12s infinite; }
.dl-lock { background: linear-gradient(160deg, #1270F0, #0B4AA8 70%); color: #fff; }
.dl-lock .gm-notif { animation: none; opacity: 1; }
.ft-stage.play .dl-notif { animation: dl-notif 12s infinite; }
.dl-sell { display: grid; place-items: center; padding: 30px; }
.dl-card { width: 100%; background: #fff; border-radius: 26px; padding: 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 14px 40px rgba(14, 27, 46, .12); }
.dl-img { position: relative; height: 210px; border-radius: 18px; background: #FFF1E0; display: grid; place-items: center; }
.dl-img img { width: 130px; height: 130px; }
.dl-name { font-size: 20px; }
.dl-card .a-pnew { font-size: 22px; }
.dl-stock { position: relative; height: 26px; }
.dl-stock span { position: absolute; inset: 0; opacity: 0; font-weight: 700; color: #B54708; font-size: 16px; }
.dl-stock span.done { color: #1F7A4A; }
.dl-stock span:first-child { opacity: 1; }
.ft-stage.play .dl-stock span:nth-child(1) { animation: dl-k1 12s infinite; }
.ft-stage.play .dl-stock span:nth-child(2) { animation: dl-k2 12s infinite; }
.ft-stage.play .dl-stock span:nth-child(3) { animation: dl-k3 12s infinite; }
.ft-stage.play .dl-stock span:nth-child(4) { animation: dl-k4 12s infinite; }
.dl-bar { height: 8px; border-radius: 4px; background: #F3F6FB; overflow: hidden; }
.dl-bar i { display: block; height: 100%; width: 40%; background: #F79009; border-radius: 4px; }
.ft-stage.play .dl-bar i { animation: dl-bar 12s infinite; }
@keyframes dl-s1 { 0%, 34% { opacity: 1; } 37%, 97% { opacity: 0; } 100% { opacity: 1; } }
@keyframes dl-s2 { 0%, 34% { opacity: 0; } 37%, 60% { opacity: 1; } 63%, 100% { opacity: 0; } }
@keyframes dl-s3 { 0%, 60% { opacity: 0; transform: translateY(30px); } 64%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes dl-tap { 0%, 24% { opacity: 0; transform: scale(.4); } 27% { opacity: 1; transform: scale(1); } 31%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes dl-press { 0%, 26% { transform: none; } 28% { transform: scale(.95); } 31%, 100% { transform: none; } }
@keyframes dl-notif { 0%, 38% { opacity: 0; transform: translateY(-40px); } 42%, 100% { opacity: 1; transform: none; } }
@keyframes dl-k1 { 0%, 70% { opacity: 1; } 71%, 100% { opacity: 0; } }
@keyframes dl-k2 { 0%, 70% { opacity: 0; } 71%, 79% { opacity: 1; } 80%, 100% { opacity: 0; } }
@keyframes dl-k3 { 0%, 79% { opacity: 0; } 80%, 87% { opacity: 1; } 88%, 100% { opacity: 0; } }
@keyframes dl-k4 { 0%, 87% { opacity: 0; } 88%, 100% { opacity: 1; } }
@keyframes dl-bar { 0%, 64% { width: 40%; } 71% { width: 40%; } 79% { width: 24%; } 87% { width: 8%; } 88%, 100% { width: 0; } }

@media (prefers-reduced-motion: reduce) {
  .ft-stage * { animation: none !important; }
  .ly-stamps .a-stamp:not(.gift) { background: #27A55A; border: 1.5px solid #27A55A; }
  .ly-stamps .a-stamp svg { opacity: 1; }
}
@keyframes ly-s0 { 0%, 7% { background: transparent; border-color: #C5D0DE; border-style: dashed; transform: scale(1); } 8% { background: #27A55A; border: 1.5px solid #27A55A; transform: scale(1.25); } 11%, 94% { background: #27A55A; border: 1.5px solid #27A55A; transform: scale(1); } 100% { background: transparent; border-color: #C5D0DE; border-style: dashed; } }
.ft-stage.play .ly-s0 { animation: ly-s0 10s infinite; }
@keyframes ly-s1 { 0%, 14% { background: transparent; border-color: #C5D0DE; border-style: dashed; transform: scale(1); } 15% { background: #27A55A; border: 1.5px solid #27A55A; transform: scale(1.25); } 18%, 94% { background: #27A55A; border: 1.5px solid #27A55A; transform: scale(1); } 100% { background: transparent; border-color: #C5D0DE; border-style: dashed; } }
.ft-stage.play .ly-s1 { animation: ly-s1 10s infinite; }
@keyframes ly-s2 { 0%, 21% { background: transparent; border-color: #C5D0DE; border-style: dashed; transform: scale(1); } 22% { background: #27A55A; border: 1.5px solid #27A55A; transform: scale(1.25); } 25%, 94% { background: #27A55A; border: 1.5px solid #27A55A; transform: scale(1); } 100% { background: transparent; border-color: #C5D0DE; border-style: dashed; } }
.ft-stage.play .ly-s2 { animation: ly-s2 10s infinite; }
@keyframes ly-s3 { 0%, 28% { background: transparent; border-color: #C5D0DE; border-style: dashed; transform: scale(1); } 29% { background: #27A55A; border: 1.5px solid #27A55A; transform: scale(1.25); } 32%, 94% { background: #27A55A; border: 1.5px solid #27A55A; transform: scale(1); } 100% { background: transparent; border-color: #C5D0DE; border-style: dashed; } }
.ft-stage.play .ly-s3 { animation: ly-s3 10s infinite; }
@keyframes ly-s4 { 0%, 35% { background: transparent; border-color: #C5D0DE; border-style: dashed; transform: scale(1); } 36% { background: #27A55A; border: 1.5px solid #27A55A; transform: scale(1.25); } 39%, 94% { background: #27A55A; border: 1.5px solid #27A55A; transform: scale(1); } 100% { background: transparent; border-color: #C5D0DE; border-style: dashed; } }
.ft-stage.play .ly-s4 { animation: ly-s4 10s infinite; }
@keyframes ly-s5 { 0%, 42% { background: transparent; border-color: #C5D0DE; border-style: dashed; transform: scale(1); } 43% { background: #27A55A; border: 1.5px solid #27A55A; transform: scale(1.25); } 46%, 94% { background: #27A55A; border: 1.5px solid #27A55A; transform: scale(1); } 100% { background: transparent; border-color: #C5D0DE; border-style: dashed; } }
.ft-stage.play .ly-s5 { animation: ly-s5 10s infinite; }
@keyframes ly-s6 { 0%, 49% { background: transparent; border-color: #C5D0DE; border-style: dashed; transform: scale(1); } 50% { background: #27A55A; border: 1.5px solid #27A55A; transform: scale(1.25); } 53%, 94% { background: #27A55A; border: 1.5px solid #27A55A; transform: scale(1); } 100% { background: transparent; border-color: #C5D0DE; border-style: dashed; } }
.ft-stage.play .ly-s6 { animation: ly-s6 10s infinite; }
@keyframes ly-s7 { 0%, 56% { background: transparent; border-color: #C5D0DE; border-style: dashed; transform: scale(1); } 57% { background: #27A55A; border: 1.5px solid #27A55A; transform: scale(1.25); } 60%, 94% { background: #27A55A; border: 1.5px solid #27A55A; transform: scale(1); } 100% { background: transparent; border-color: #C5D0DE; border-style: dashed; } }
.ft-stage.play .ly-s7 { animation: ly-s7 10s infinite; }
@keyframes ly-s8 { 0%, 63% { background: transparent; border-color: #C5D0DE; border-style: dashed; transform: scale(1); } 64% { background: #27A55A; border: 1.5px solid #27A55A; transform: scale(1.25); } 67%, 94% { background: #27A55A; border: 1.5px solid #27A55A; transform: scale(1); } 100% { background: transparent; border-color: #C5D0DE; border-style: dashed; } }
.ft-stage.play .ly-s8 { animation: ly-s8 10s infinite; }
/* each tick shows with its own stamp */
@keyframes ly-t0 { 0%, 7% { opacity: 0; } 8%, 94% { opacity: 1; } 100% { opacity: 0; } }
.ft-stage.play .ly-stamps .ly-s0 svg { animation: ly-t0 10s infinite; }
@keyframes ly-t1 { 0%, 14% { opacity: 0; } 15%, 94% { opacity: 1; } 100% { opacity: 0; } }
.ft-stage.play .ly-stamps .ly-s1 svg { animation: ly-t1 10s infinite; }
@keyframes ly-t2 { 0%, 21% { opacity: 0; } 22%, 94% { opacity: 1; } 100% { opacity: 0; } }
.ft-stage.play .ly-stamps .ly-s2 svg { animation: ly-t2 10s infinite; }
@keyframes ly-t3 { 0%, 28% { opacity: 0; } 29%, 94% { opacity: 1; } 100% { opacity: 0; } }
.ft-stage.play .ly-stamps .ly-s3 svg { animation: ly-t3 10s infinite; }
@keyframes ly-t4 { 0%, 35% { opacity: 0; } 36%, 94% { opacity: 1; } 100% { opacity: 0; } }
.ft-stage.play .ly-stamps .ly-s4 svg { animation: ly-t4 10s infinite; }
@keyframes ly-t5 { 0%, 42% { opacity: 0; } 43%, 94% { opacity: 1; } 100% { opacity: 0; } }
.ft-stage.play .ly-stamps .ly-s5 svg { animation: ly-t5 10s infinite; }
@keyframes ly-t6 { 0%, 49% { opacity: 0; } 50%, 94% { opacity: 1; } 100% { opacity: 0; } }
.ft-stage.play .ly-stamps .ly-s6 svg { animation: ly-t6 10s infinite; }
@keyframes ly-t7 { 0%, 56% { opacity: 0; } 57%, 94% { opacity: 1; } 100% { opacity: 0; } }
.ft-stage.play .ly-stamps .ly-s7 svg { animation: ly-t7 10s infinite; }
@keyframes ly-t8 { 0%, 63% { opacity: 0; } 64%, 94% { opacity: 1; } 100% { opacity: 0; } }
.ft-stage.play .ly-stamps .ly-s8 svg { animation: ly-t8 10s infinite; }
.ft-why { padding: 80px 0 24px; }
.ft-why .pl-wrap { max-width: 820px; text-align: center; }
.ft-why h2 { margin-bottom: 20px; }
.ft-why p { margin: 0; color: #2C3E5A; font-size: clamp(18px, 2vw, 22px); line-height: 1.6; }

/* The handymen animation: a job nearby, a price sent, agreed and chatting (12 s loop, same timing as the deals one) */
.pr-screen { background: #F3F6FB; }
.pr-a { opacity: 1; }
.ft-stage.play .pr-a { animation: dl-s1 12s infinite; }
.ft-stage.play .pr-b { animation: dl-s2 12s infinite; }
.ft-stage.play .pr-c { animation: dl-s3 12s infinite; }
.pr-a .a-map { position: absolute; inset: 0; }
.pr-notif { position: absolute; top: 70px; left: 14px; right: 14px; display: flex; gap: 12px; background: rgba(255, 255, 255, .96); color: #0E1B2E; border-radius: 22px; padding: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.ft-stage.play .pr-notif { animation: pr-drop 12s infinite; }
@keyframes pr-drop { 0%, 6% { opacity: 0; transform: translateY(-40px); } 10%, 100% { opacity: 1; transform: none; } }
.pr-head { background: #FFC24B; color: #0E1B2E; }
.pr-head small { color: #5C4300; }
.pr-price { display: flex; align-items: center; justify-content: space-between; background: #FFF4DE; border-radius: 16px; padding: 12px 16px; }
.pr-price > span { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 700; color: #A86E00; }
.pr-price div { text-align: center; }
.pr-price small { display: block; color: #8A5A00; font-size: 12px; }
.pr-price b { font-size: 26px; }
.pr-btn { background: #FFC24B; color: #0E1B2E; box-shadow: 0 10px 24px rgba(201, 138, 11, .3); }
.pr-c { display: flex; flex-direction: column; gap: 14px; padding: 70px 18px 0; background: #F3F6FB; }
.pr-chathead { display: flex; align-items: center; gap: 12px; background: #FFC24B; margin: -70px -18px 0; padding: 70px 18px 20px; border-radius: 0 0 30px 30px; }
.pr-chathead b { display: block; font-size: 18px; }
.pr-chathead small { color: #5C4300; }
.pr-agreed { align-self: center; background: #E3F6EC; color: #1F7A4A; border-radius: 999px; padding: 8px 16px; font-weight: 700; }
.pr-bubble { max-width: 80%; border-radius: 18px; padding: 12px 14px; font-size: 15px; line-height: 1.4; }
.pr-bubble.me { align-self: flex-end; background: #FFC24B; border-end-end-radius: 6px; }
.pr-bubble.them { align-self: flex-start; background: #fff; border-end-start-radius: 6px; box-shadow: 0 2px 8px rgba(14, 27, 46, .06); }
[dir="rtl"] .pr-bubble.me { align-self: flex-start; }
[dir="rtl"] .pr-bubble.them { align-self: flex-end; }
