/* ==========================================================================
   أطلبني — Atlqbni marketplace landing page
   Desktop geometry is taken 1:1 from the Figma export (1440 × 5669).
   Base styles below are the mobile layout; the desktop layer starts at 1000px.
   ========================================================================== */

:root {
  --red: #af0011;
  --red-deep: #c90016;
  --ink: #1e0202;
  --body: #5a5957;
  --label: #242322;
  --pink: #fff1f2;
  --pink-nav: #efadb3;
  --dark: #1e0202;
  --cart-bg: #fffbfb;
  --r: 16px;
  --s: 1; /* canvas scale factor, set by script.js from the live .canvas-wrap width */
  --hero-s: 1; /* hero artboard scale, also constrained by the viewport height */
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Cairo", "Tajawal", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
h1,
h2,
p {
  margin: 0;
}

svg {
  display: block;
}

/* ---------- shared components ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--r);
  font-weight: 700;
  cursor: pointer;
  border: 0;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}
.btn--red {
  background: var(--red);
  color: #fff;
}
.btn--red:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(175, 0, 17, 0.28);
}
.btn .chev {
  width: 14px;
  height: 14px;
  flex: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.pill__star {
  width: 10px;
  height: 10px;
  color: #e7bb00;
  flex: none;
}
.pill__star svg {
  width: 100%;
  height: 100%;
}
.pill--pink {
  background: var(--pink);
  color: var(--red);
  border-radius: 6px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dark);
  color: #fff;
  border-radius: 8px;
  padding: 0 16px;
  transition: transform 0.18s ease;
}
.store-badge:hover {
  transform: translateY(-2px);
}
.sb-icon {
  width: 22px;
  height: 22px;
  flex: none;
}
.sb-icon svg,
.sb-icon img {
  width: 100%;
  height: 100%;
  display: block;
}
.sb-txt {
  display: flex;
  flex-direction: column;
  line-height: 1;
  direction: ltr;
  text-align: left;
}
.sb-txt small {
  font-size: 9px;
  opacity: 0.9;
  letter-spacing: 0.2px;
}
.sb-txt b {
  font-size: 16px;
  font-weight: 700;
  margin-top: 3px;
}
.store-badges {
  display: flex;
  gap: 17px;
  direction: ltr;
  justify-content: center;
}

.stats {
  display: flex;
  gap: 40px;
  justify-content: center;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-ico {
  width: 20px;
  height: 20px;
  color: var(--red-deep);
}
.stat-ico svg {
  width: 100%;
  height: 100%;
}
.stat b {
  font-size: 20px;
  font-weight: 800;
  color: var(--red-deep);
  line-height: 1;
}
.stat span:last-child {
  font-size: 13px;
  color: var(--label);
  font-weight: 500;
}

/* ---------- page shell ----------
   Every section = <section><div class="bleed">[optional bg]</div>
                            <div class="container"><div class="canvas-wrap">
                              <div class="canvas">...precise Figma coords...</div>
                            </div></div></section>
   .bleed always spans the full section width (background never capped).
   .container caps content at 1600px and centers it.
   .canvas is the original 1440-wide Figma canvas, scaled by --s to fit
   .container (so it can grow past 1440 up to 1600, not just shrink).      */

.bleed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   MOBILE BASE
   ========================================================================== */

.nav {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  z-index: 50;
  background: transparent;
}
.nav .container {
  padding-inline: clamp(12px, 2.2vw, 24px);
}
.nav .canvas-wrap {
  height: auto;
  overflow: visible;
}
.nav .canvas {
  position: static;
  width: 100%;
  height: auto;
  transform: none;
}
.nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, max(340px, min(58vw, 638px)));
  height: clamp(62px, 7.33vw, 80.63px);
  padding-inline: clamp(10px, 1.6vw, 17.6px);
  margin-inline: auto;
  background: rgba(239, 173, 179, 0.1);
  border-radius: 0 0 clamp(16px, 1.83vw, 20.13px) clamp(16px, 1.83vw, 20.13px);
  backdrop-filter: blur(6px);
}
.nav__logo {
  width: clamp(44px, 6.15vw, 67.65px);
  height: clamp(44px, 6.15vw, 67.65px);
  flex: none;
}
.nav__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: clamp(10px, 1.55vw, 17px);
  box-shadow: 0 5px 20px rgba(30, 2, 2, 0.1);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.27vw, 14px);
  min-width: 0;
}
.nav__cta {
  width: auto;
  height: clamp(38px, 3.67vw, 40.37px);
  padding-inline: clamp(7px, 0.75vw, 8.25px);
  font-size: clamp(11px, 1.18vw, 12.98px);
  font-weight: 700;
  white-space: nowrap;
}
.lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 0.55vw, 6.05px);
  height: clamp(38px, 3.67vw, 40.37px);
  padding-inline: 4px;
  border: 0;
  border-radius: var(--r);
  background: var(--pink);
  color: var(--red);
  font-family: inherit;
  font-size: clamp(11px, 1.13vw, 12.43px);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
}
.lang-menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  z-index: 60;
  display: grid;
  gap: 2px;
  min-width: 116px;
  padding: 6px;
  border: 1px solid rgba(175, 0, 17, 0.1);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(30, 2, 2, 0.12);
}
.lang-menu[hidden] {
  display: none;
}
.lang-menu__option {
  width: 100%;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  text-align: start;
  cursor: pointer;
}
.lang-menu__option:hover,
.lang-menu__option:focus-visible,
.lang-menu__option[aria-pressed="true"] {
  background: var(--pink);
  color: var(--red);
}
.lang-menu__option:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: -2px;
}
.lang__globe {
  width: clamp(12px, 1.13vw, 12.43px);
  height: clamp(12px, 1.13vw, 12.43px);
}
.lang__chev {
  width: clamp(6px, 0.55vw, 6.05px);
  height: clamp(6px, 0.55vw, 6.05px);
}
.lang span svg,
.lang__globe svg,
.lang__chev svg {
  width: 100%;
  height: 100%;
}

.hero {
  position: relative;
  margin-top: -76px;
  min-height: 100dvh;
  padding: 116px 20px 56px;
  overflow: hidden;
  text-align: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.hero__blob {
  display: none;
}
.hero__copy {
  position: relative;
  z-index: 2;
}
.hero .pill {
  font-size: 14px;
  padding: 7px 16px;
  box-shadow: 0 2px 10px rgba(30, 2, 2, 0.06);
}
.hero h1 {
  font-size: 40px;
  line-height: 1.25;
  font-weight: 800;
  margin: 18px 0 14px;
}
.hero h1 em {
  font-style: normal;
  color: var(--red);
}
.hero p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
  font-weight: 600;
}
.hero__cta {
  height: 54px;
  padding: 0 24px;
  font-size: 17px;
  margin: 24px 0 18px;
  width: 100%;
  /* max-width: 360px; */
}
.hero .store-badges {
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.hero .store-badge {
  height: 47px;
}
.hero__phone {
  position: relative;
  z-index: 2;
  width: 74%;
  max-width: 300px;
  margin: 34px auto 0;
}
.hero__note {
  display: none;
}
.hero .stats {
  gap: 22px;
}

.partners {
  position: relative;
  z-index: 2;
  display: block;
  clear: both;
  margin-top: 0;
  padding: 26px 0;
  background: #fff;
  border-bottom: 1px solid #f3eeee;
}
.marquee {
  overflow: hidden;
  direction: inherit;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.marquee__track {
  display: flex;
  direction: ltr;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee__track img {
  height: 30px;
  width: auto;
  opacity: 0.85;
  flex: none;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.333%);
  }
}
.rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13.5px;
  margin-top: 22px;
}
.avatars {
  display: flex;
  flex-direction: row-reverse;
}
.avatars img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-inline-start: -9px;
}
.avatars img:last-child {
  margin-inline-start: 0;
}
.rating__txt {
  text-align: start;
}
.rating__stars {
  display: flex;
  gap: 5px;
  justify-content: flex-end;
}
.rating__stars svg {
  width: 11px;
  height: 11px;
  color: #f59e0b;
  fill: currentColor;
}
.rating__txt span {
  font-size: 13px;
  color: #525d70;
  font-weight: 600;
}

.cart {
  position: relative;
  background: var(--cart-bg);
  padding: 44px 20px;
  overflow: hidden;
}
.cart__texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.05;
  pointer-events: none;
}
.cart__col {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 4vw, 30px);
}
.cart__phone {
  position: relative;
  z-index: 2;
  width: 66%;
  max-width: 260px;
  margin: 30px auto;
}
.store {
  position: relative;
}
.store-img {
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
}
.chip {
  position: relative;
  width: min(170px, 100%);
  margin: -46px auto 0;
  background: #fff;
  border-radius: 12px;
  padding: 14px 10px 16px;
  box-shadow: 0 10px 26px rgba(30, 2, 2, 0.09);
  text-align: center;
  z-index: 3;
}
.chip-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin: 0 auto 8px;
}
.chip-name {
  font-size: 16px;
  font-weight: 700;
}
.chip-plus {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--c, var(--red));
  color: #fff;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 999px) {
  .cart .chip {
    width: min(140px, 100%);
    margin-top: -34px;
    padding: 10px 8px 12px;
    border-radius: 10px;
  }

  .cart .chip-img {
    width: 48px;
    height: 48px;
    margin-bottom: 5px;
  }

  .cart .chip-name {
    font-size: 13px;
  }

  .cart .chip-plus {
    width: 21px;
    height: 21px;
    font-size: 13px;
  }
}

.journey {
  position: relative;
  padding: 20px 20px 40px;
}
.road {
  display: none;
}
.tree {
  display: none;
}
.station {
  position: relative;
  padding: 40px 0;
  text-align: center;
}
.station__art {
  width: 88%;
  max-width: 380px;
  margin: 0 auto 26px;
}
.station .pill--pink {
  font-size: 14px;
  padding: 7px 14px;
}
.station h2 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.3;
  margin: 14px 0 12px;
}
.station h2 em {
  font-style: normal;
  color: var(--red);
}
.station p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--body);
  margin-bottom: 22px;
}
.st-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.btn--sm {
  height: 44px;
  padding: 0 20px;
  font-size: 16px;
}
.st-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.st-count .stat-ico {
  width: 19px;
  height: 19px;
}
.st-count b {
  font-size: 15px;
  font-weight: 800;
  color: var(--red-deep);
}
.station .stats {
  margin-bottom: 24px;
  gap: 24px;
}

.final {
  position: relative;
  background: var(--pink);
  padding: 40px 16px 48px;
  text-align: center;
}
.final__blob {
  display: none;
}
.final h2 {
  font-size: clamp(28px, 8vw, 34px);
  font-weight: 800;
  color: var(--red);
  line-height: 1.3;
}
.final p {
  font-size: 14px;
  color: var(--body);
  margin: 10px 0 18px;
}
.final .store-badge {
  width: min(242px, 100%);
  height: 52px;
  justify-content: center;
  padding-inline: 10px;
}
.final .store-badges {
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.final .store-badges {
  opacity: 1;
  transform: none;
}
.final .sb-txt b {
  font-size: 16px;
}
.final .sb-txt small {
  font-size: 8px;
}
.final .sb-icon {
  width: 23px;
  height: 23px;
}

/* reveal defaults (mobile + desktop) */
.reveal,
.reveal-x {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.is-in,
.reveal-x.is-in {
  opacity: 1;
  transform: none;
}
.privacy-terms-section{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 14px 0;
  opacity: 1;
  transform: none;
}
.privacy-terms-section a{
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
}

/* ==========================================================================
   DESKTOP — exact Figma geometry (1440 canvas, scaled by JS via --s)
   ========================================================================== */
@media (min-width: 1000px) {
  /* ---------- canvas engine ----------
     .canvas holds the exact 1440-wide Figma coordinates. Applying `transform`
     makes it the containing block for its absolutely-positioned children
     (no separate position:relative needed), so every px value below is
     untouched — only the scaffolding around it changed. Anchored to the
     inline-end (right, in RTL) edge to match reading direction.           */
  .canvas-wrap {
    position: relative;
    overflow: hidden;
  }
  .canvas {
    width: 1440px;
    transform: scale(var(--s));
    transform-origin: top right;
    position: absolute;
    top: 0;
    inset-inline-start: 0;
  }

  .hero .canvas-wrap {
    height: calc((1024px + 120px) * var(--hero-s));
  }
  .partners .canvas-wrap {
    height: calc(184px * var(--s));
  }
  .cart .canvas-wrap {
    height: calc(960px * var(--s));
  }
  .journey .canvas-wrap {
    height: calc(3072px * var(--s));
  }
  .final .canvas-wrap {
    height: calc(429px * var(--s));
  }

  /* ---------- hero ---------- */
  .hero {
    position: relative;
    margin-top: calc(-120px * var(--hero-s));
    min-height: 100dvh;
    padding: 0;
    text-align: initial;
  }
  .hero .bleed {
    overflow: hidden;
  }
  .hero__bg {
    position: absolute;
    inset-inline-end: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero__blob {
    display: block;
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    height: 100%;
    width: auto;
  }
  .hero .canvas {
    height: 1024px;
    transform: scale(var(--hero-s));
    transform-origin: top right;
  }

  .hero__copy {
    position: absolute;
    inset-inline-end: 100px;
    top: 320px;
    width: 520px;
    text-align: center;
  }
  .hero .pill {
    height: 38px;
    padding: 0 17px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(30, 2, 2, 0.05);
  }
  .hero h1 {
    font-size: 60px;
    line-height: 88px;
    font-weight: 700;
    margin: 14px 0 0;
    letter-spacing: -0.7px;
  }
  .hero p {
    font-size:20px;
    line-height: 31px;
    color: var(--body);
    margin-top: 29px;
    font-weight: 600;
  }
  .hero__cta {
    width: 520px;
    height: 68px;
    padding: 0;
    font-size: 22px;
    margin: 34px 0 0;
  }
  .hero .store-badges {
    margin-top: 18px;
    flex-wrap: nowrap;
  }
  .hero .store-badge {
    width: 250px;
    height: 54px;
    padding: 0;
    justify-content: center;
  }
  .hero .stats {
    margin-top: 19px;
    width: 520px;
    direction: ltr;
    justify-content: space-between;
    align-items: flex-start;
  }
  .hero .stat b {
    font-size: 25px;
    margin-top: 7px;
  }
  .hero .stat span:last-child {
    font-size: 16px;
    margin-top: 6px;
  }

  .hero__phone {
    position: absolute;
    inset-inline-end: 680px;
    top: 220px;
    width: 430px;
    height: 770px;
    margin: 0;
    max-width: none;
    z-index: 3;
  }

  .hero__note {
    display: block;
    position: absolute;
    inset-inline-end: 1120px;
    top: 225px;
    width: 270px;
    text-align: center;
    color: var(--red);
    z-index: 4;
  }
  .hero__note span {
    display: block;
    line-height: 35px;
  }
  .hero__note .n1 {
    font-size: 26px;
    font-weight: 600;
  }
  .hero__note .n2 {
    font-size: 30px;
    font-weight: 800;
  }
  .hero__note .n3 {
    font-size: 28px;
    font-weight: 600;
  }
  .hero__doodle {
    position: absolute;
    inset-inline-end: -1px;
    top: 110px;
    width: 115px;
    height: 92px;
    overflow: visible;
  }

  /* ---------- partners ---------- */
  .partners {
    position: relative;
    z-index: 2;
    display: block;
    clear: both;
    margin-top: 0;
    padding: 0;
    border: 0;
    background: #fff;
  }
  .partners .canvas {
    height: 184px;
  }
  .marquee {
    position: absolute;
    inset-inline-end: 0;
    top: 74px;
    width: 1090px;
    height: 36px;
    display: flex;
    align-items: center;
  }
  .marquee__track {
    gap: 48px;
    padding-inline-end: 49.2px;
  }
  .marquee__track img {
    height: 31px;
    width: auto;
    opacity: 1;
  }
  .rating {
    position: absolute;
    inset-inline-start: 112.5px;
    top: 76px;
    margin: 0;
    gap: 13.5px;
  }
  .avatars img {
    width: 32px;
    height: 32px;
    margin-inline-start: -9px;
  }
  .rating__stars svg {
    width: 10.5px;
    height: 10.5px;
  }
  .rating__txt span {
    font-size: 14px;
  }

  /* ---------- one cart ---------- */
  .cart {
    position: relative;
    padding: 0;
  }
  .cart .canvas {
    height: 960px;
  }
  .cart__col {
    position: static;
    display: block;
  }
  .cart__phone {
    position: absolute;
    inset-inline-end: 546.5px;
    top: 188px;
    width: 347px;
    height: 697px;
    margin: 0;
    max-width: none;
    z-index: 2;
  }
  .store {
    position: static;
  }
  .store-img {
    position: absolute;
    width: 320px;
    height: 320px;
    max-width: none;
    margin: 0;
    z-index: 1;
  }
  .store--a .store-img {
    inset-inline-end: 0;
    top: 174.5px;
  }
  .store--b .store-img {
    inset-inline-end: 0;
    top: 578.5px;
  }
  .store--c .store-img {
    inset-inline-start: 87.5px;
    top: 174.5px;
  }
  .store--d .store-img {
    inset-inline-start: 87.5px;
    top: 578.5px;
  }

  .chip {
    position: absolute;
    width: 177px;
    height: 131px;
    margin: 0;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(30, 2, 2, 0.1);
    z-index: 4;
  }
  .chip--a {
    inset-inline-end: 220px;
    top: 363.5px;
  }
  .chip--b {
    inset-inline-end: 220px;
    top: 767.5px;
  }
  .chip--c {
    inset-inline-end: 1050px;
    top: 363.5px;
  }
  .chip--d {
    inset-inline-end: 1050px;
    top: 767.5px;
  }
  .chip-img {
    position: absolute;
    inset-inline-end: 56px;
    top: 16px;
    width: 65px;
    height: 65px;
    margin: 0;
  }
  .chip-name {
    position: absolute;
    left: 0;
    right: 0;
    top: 86px;
    font-size: 20px;
    font-weight: 700;
  }
  .chip-plus {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 16px;
  }

  /* ---------- journey ---------- */
  .journey {
    position: relative;
    padding: 0;
    z-index: 4;
  }
  .journey .canvas-wrap {
    overflow: visible;
  }
  .journey .canvas {
    height: 3072px;
    overflow: visible;
  }
  .road {
    display: block;
    position: absolute;
    inset-inline-end: 0;
    top: 0;
    width: 1440px;
    height: 3100px;
    overflow: visible;
    pointer-events: none;
  }
  .road--rider {
    z-index: 5;
  }
  .tree {
    display: block;
    position: absolute;
    inset-inline-end: var(--x);
    top: var(--y);
    width: var(--w);
    height: var(--h);
    z-index: 2;
  }

  .station {
    position: static;
    padding: 0;
    text-align: initial;
  }
  .station__art {
    position: absolute;
    margin: 0;
    max-width: none;
    z-index: 3;
  }
  .station--1 .station__art {
    inset-inline-end: 0;
    top: 250px;
    width: 552px;
    height: 461.8px;
  }
  .station--2 .station__art {
    inset-inline-end: 0;
    top: 1274px;
    width: 442px;
    height: 553px;
  }
  .station--3 .station__art {
    inset-inline-start: 0;
    top: 2298px;
    width: 552px;
    height: 434.6px;
  }

  .station__copy {
    position: absolute;
    z-index: 4;
  }
  .station--1 .station__copy {
    inset-inline-start: 0;
    top: 356.4px;
    width: 400px;
    text-align: start;
  }
  .station--2 .station__copy {
    inset-inline-start: 0;
    top: 1426px;
    width: 400px;
    text-align: start;
  }
  .station--3 .station__copy {
    inset-inline-end: 0;
    top: 2344.3px;
    width: 400px;
    text-align: center;
  }

  .station .pill--pink {
    height: 35px;
    padding: 0 14px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
  }
  .station--1 .pill--pink {
    width: 150px;
    justify-content: center;
  }
  .station--2 .pill--pink {
    width: 168px;
    justify-content: center;
  }
  .station--3 .pill--pink {
    width: 197px;
    justify-content: center;
  }
  .station h2 {
    font-size: 40px;
    line-height: 44px;
    font-weight: 800;
    margin: 10.2px 0 0;
  }
  .station p {
    font-size: 15px;
    line-height: 20px;
    color: var(--body);
    margin: 14.4px 0 0;
    font-weight: 500;
  }
  .station--1 p,
  .station--2 p {
    margin-top: 14.4px;
  }

  .station .st-cta,
  .station--3 .btn--sm {
    margin-top: 21.4px;
  }
  .st-cta {
    justify-content: flex-start;
    gap: 16px;
    align-items: center;
  }
  .station--3 .st-cta {
    justify-content: center;
  }
  .btn--sm {
    width: 167px;
    height: 44px;
    padding: 0;
    font-size: 16px;
  }
  .st-count {
    width: 58px;
    gap: 6px;
  }
  .st-count b {
    font-size: 16px;
  }
  .station .stats {
    margin: 26.1px auto 0;
    gap: 0;
    direction: ltr;
    justify-content: space-between;
    width: 350px;
  }
  .station--3 .stat b {
    font-size: 18px;
  }
  .station--3 .stat span:last-child {
    font-size: 13px;
  }

  /* ---------- final cta ---------- */
  .final {
    position: relative;
    padding: 0;
    background: none;
    z-index: 3;
  }
  .final .canvas {
    height: 429px;
  }
  .final__blob {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .final__inner {
    position: absolute;
    inset-inline-end: 0;
    top: 0;
    width: 1440px;
    text-align: center;
  }
  .final h2 {
    font-size: 56px;
    line-height: 70px;
    margin-top: 112px;
    font-weight: 800;
  }
  .final p {
    font-size: 20px;
    line-height: 28px;
    margin: 12px 0 0;
    font-weight: 500;
  }
  .final .privacy-terms-section {
    gap: 20px;
    margin-top: 20px;
  }
  .final .privacy-terms-section a {
    font-size: 16px;
  }
  .final .store-badges {
    margin-top: 25.5px;
    flex-direction: row;
  }
  .final .store-badge {
    width: 242.5px;
    height: 58px;
    padding: 0;
    justify-content: center;
    gap: 12px;
  }
  .final .sb-icon {
    width: 28px;
    height: 28px;
  }
  .final .sb-txt small {
    font-size: 11px;
  }
  .final .sb-txt b {
    font-size: 19px;
  }

  /* horizontal reveal for the road stations */
  .station--1 .reveal-x,
  .station--2 .reveal-x {
    transform: translateX(-28px);
  }
  .station--3 .reveal-x {
    transform: translateX(28px);
  }
  .station__art.reveal-x {
    transform: translateY(30px) scale(0.97);
  }
  .reveal-x.is-in {
    transform: none;
  }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-x {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee__track {
    animation: none;
  }
  .btn,
  .store-badge {
    transition: none;
  }
}

/* ---------- attention pulse on the "+" buttons ---------- */
@keyframes chipPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
  50% {
    transform: scale(1.14);
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.05);
  }
}
.chip-plus {
  animation: chipPulse 2.6s ease-in-out infinite;
}
.chip--b .chip-plus {
  animation-delay: 0.3s;
}
.chip--c .chip-plus {
  animation-delay: 0.6s;
}
.chip--d .chip-plus {
  animation-delay: 0.9s;
}
@media (prefers-reduced-motion: reduce) {
  .chip-plus {
    animation: none;
  }
}

/* ==========================================================================
   FLEX HERO
   The hero uses the available container space instead of a fixed artboard.
   Keep the canvas wrapper for the shared page structure, but let the hero
   composition size and position itself with flexbox.
   ========================================================================== */
@media (min-width: 1000px) {
  .hero {
    margin-top: 0;
    min-height: 100svh;
    padding: 0;
    border-radius: 24px;
    isolation: isolate;
  }

  .hero .container,
  .hero .canvas-wrap,
  .hero .canvas {
    min-height: inherit;
  }

  .hero .canvas-wrap {
    height: 100%;
    overflow: visible;
  }

  .hero .canvas {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    transform: none;
    transform-origin: initial;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 4vw, 72px);
    direction: ltr;
  }

  .hero__copy {
    position: static;
    flex: 1 1 38%;
    width: auto;
    min-width: 0;
    text-align: center;
    direction: rtl;
  }

  .hero h1 {
    font-size: clamp(34px, 5.8vw, 60px);
    line-height: 1.05;
  }

  .hero p {
    font-size: clamp(17px, 1.55vw, 20px);
  }

  .hero__cta {
    width: 100%;
    height: clamp(54px, 4.7vw, 68px);
  }

  .hero .store-badges,
  .hero .stats {
    width: 100%;
  }

  .hero .store-badge {
    flex: 1 1 0;
    width: auto;
  }

  .hero__phone {
    position: static;
    flex: 0 1 32%;
    width: 32%;
    height: auto;
    max-width: 100%;
    margin: 0;
  }

  .hero__note {
    position: static;
    flex: 0 1 20%;
    width: 20%;
    text-align: center;
    direction: rtl;
  }

  .hero__doodle {
    position: static;
    display: block;
    width: min(100%, 115px);
    height: auto;
    margin: 8px auto 0;
  }
}

/* ---------- hero: two equal columns ---------- */
@media (min-width: 1000px) {
  .hero .canvas {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 4vw, 64px);
    direction: ltr;
    padding-top: clamp(90px, 18vh, 150px);
  }

  .hero__copy,
  .hero__visual {
    flex: 0 1 50%;
    width: 50%;
    min-width: 0;
  }

  .hero__copy {
    position: static;
    text-align: center;
    direction: rtl;
    transform: translateY(2px);
  }

  .hero__content {
    width: min(100%, clamp(384px, 53.5vw - 250px, 520px));
    margin-inline: auto;
  }

  .hero .pill {
    height: 28px;
    padding-inline: 10px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: clamp(42px, 4.2vw, 60px);
    margin-top: 20px;
  }

  .hero p {
    font-size: clamp(16px, 1.4vw, 20px);
    margin-top: 35px;
  }

  .hero__cta {
    height: 52px;
    margin-top: 8px;
    font-size: 17px;
  }

  .hero .store-badges {
    margin-top: 12px;
    margin-bottom: 0;
  }

  .hero .store-badge {
    height: 42px;
  }

  .hero .stats {
    margin-top: 12px;
  }

  .hero .stat {
    gap: 2px;
  }

  .hero .stat-ico {
    width: 14px;
    height: 14px;
  }

  .hero .stat b {
    margin-top: 0;
    font-size: 18px;
  }

  .hero .stat span:last-child {
    margin-top: 0;
    font-size: 11px;
  }

  .hero__visual {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(24px, 3.4vw, 40px);
    direction: ltr;
    z-index: 3;
    transform: translateX(-12px);
  }

  .hero__visual .hero__phone {
    position: relative;
    inset: auto;
    flex: 0 1 61%;
    width: 61%;
    max-width: 100%;
    height: auto;
    margin: 0;
  }

  .hero__visual .hero__note {
    position: relative;
    inset: auto;
    flex: 0 1 32%;
    width: 32%;
    text-align: center;
    direction: rtl;
  }

  .hero__note span {
    line-height: 1.25;
  }

  .hero__note .n1 { font-size: clamp(17px, 1.7vw, 26px); }
  .hero__note .n2 { font-size: clamp(20px, 2vw, 30px); }
  .hero__note .n3 { font-size: clamp(17px, 1.8vw, 28px); }

  .hero__doodle {
    width: clamp(80px, 7vw, 100px);
    margin: 4px auto 0 0;
    transform: translateX(-16px);
  }

  .hero__blob {
    display: none;
  }
}

@media (max-width: 999px) {
  .hero {
    margin-top: 0;
    padding: clamp(104px, 13vh, 128px) 0 52px;
  }

  .hero .container {
    padding-inline: clamp(16px, 5vw, 24px);
  }

  .hero .canvas {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: clamp(28px, 6vw, 54px);
  }

  .hero__copy,
  .hero__visual {
    width: 100%;
    min-width: 0;
  }

  .hero__content {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .hero h1 {
    font-size: clamp(32px, 8vw, 48px);
    line-height: 1.18;
  }

  .hero p {
    font-size: clamp(14px, 2.5vw, 18px);
  }

  .hero__cta {
    margin: 24px 0 14px;
  }

  .hero .store-badges {
    flex-wrap: nowrap;
    gap: 10px;
    margin-bottom: 20px;
  }

  .hero .store-badge {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding-inline: 6px;
    gap: 7px;
  }

  .hero .sb-icon {
    width: 19px;
    height: 19px;
  }

  .hero .sb-txt b {
    font-size: clamp(12px, 3.5vw, 16px);
  }

  .hero .stats {
    width: 100%;
    justify-content: space-around;
    direction: ltr;
    gap: 8px;
  }

  .hero__visual {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    direction: ltr;
    gap: clamp(4px, 2vw, 20px);
    max-width: 680px;
  }

  .hero__visual .hero__phone {
    flex: 0 1 62%;
    width: 62%;
    max-width: 400px;
    height: auto;
    margin: 0;
  }

  .hero__visual .hero__note {
    display: block;
    flex: 0 1 36%;
    width: 36%;
    min-width: 0;
    margin-top: clamp(22px, 8vw, 72px);
    color: var(--red);
    text-align: center;
    direction: rtl;
  }

  .hero__note span {
    display: block;
    line-height: 1.3;
  }

  .hero__note .n1,
  .hero__note .n3 {
    font-size: clamp(12px, 2.4vw, 19px);
    font-weight: 600;
  }

  .hero__note .n2 {
    font-size: clamp(15px, 3vw, 23px);
    font-weight: 800;
  }

  .hero__doodle {
    display: block;
    width: clamp(54px, 11vw, 82px);
    height: auto;
    margin: 8px auto 0 0;
    overflow: visible;
  }
}

:root[dir="ltr"] .hero__copy,
:root[dir="ltr"] .hero__note {
  direction: ltr;
}

/* Keep the layout in sync with the selected reading direction. */
:root[dir="ltr"] .hero .canvas,
:root[dir="ltr"] .hero__visual,
:root[dir="ltr"] .store-badges,
:root[dir="ltr"] .hero .stats,
:root[dir="ltr"] .station .stats {
  direction: rtl;
}

:root[dir="ltr"] .hero__cta .chev,
:root[dir="ltr"] .road,
:root[dir="ltr"] .hero__doodle {
  scale: -1 1;
}

@media (max-width: 999px) {
  :root[dir="ltr"] .hero__visual .hero__phone.reveal:not(.is-in) {
    transform: translateY(24px);
  }

  :root[dir="ltr"] .hero__visual .hero__phone.reveal.is-in {
    /*transform: scaleX(-1);*/
  }
}

  :root[dir="ltr"] .hero__visual .hero__phone.reveal {
    /*transform: scaleX(-1);*/
  }


@media (min-width: 1000px) {
  :root[dir="ltr"] .canvas {
    transform-origin: top left;
  }

  :root[dir="ltr"] .hero__visual {
    transform: translateX(12px);
  }

  :root[dir="ltr"] .hero__doodle {
    transform: translateX(16px);
    margin-inline: 0 auto;
  }

  :root[dir="ltr"] .station--1 .reveal-x:not(.is-in),
  :root[dir="ltr"] .station--2 .reveal-x:not(.is-in) {
    transform: translateX(28px);
  }

  :root[dir="ltr"] .station--3 .reveal-x:not(.is-in) {
    transform: translateX(-28px);
  }

  :root[dir="ltr"] .station__art.reveal-x:not(.is-in) {
    transform: translateY(30px) scale(0.97);
  }
}

/* site footer (settings-driven) */
.site-footer {
  background: var(--red);
  color: #fff;
  padding: 40px 16px 20px;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background-color: white;
  padding: 5px;
  border-radius: 50px;
}

.site-footer__brand img {
  border-radius: 12px;
}

.site-footer__title {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__links a {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.92;
}

.site-footer__links a:hover {
  opacity: 1;
  text-decoration: underline;
}

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

.site-footer__contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.site-footer__contact-item:hover {
  text-decoration: underline;
}

.site-footer__contact-item svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 28px;
  padding-top: 16px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 640px) {
  .site-footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-footer__brand {
    align-items: center;
  }

  .site-footer__links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
}

.contact-page .site-footer { margin-top: 0; }
