:root {
  --purple-900: #1E0A42;
  --purple-800: #2A0C55;
  --purple-700: #2A1256;
  --purple-600: #4A1C9E;
  --purple-500: #6A28C9;
  --purple-400: #7B3AD6;
  --purple-ink: #571DA3;

  --yellow: #FFC107;
  --yellow-hi: #FFD24A;

  --cream: #FBF7F0;
  --white: #FFFFFF;
  --border: #EFEAF6;
  --muted: #6E6382;
  --muted-strong: #4A3B63;

  --container: 1240px;
  --gutter: 48px;
  --radius-lg: 24px;
  --radius-md: 14px;

  --shadow-yellow: 0 14px 30px rgba(255, 193, 7, .32);
  --shadow-art: drop-shadow(0 26px 36px rgba(42, 12, 85, .22));
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--purple-700);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.6px; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--purple-500); text-decoration: none; }
a:hover { color: var(--purple-600); }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  z-index: 100; padding: 12px 22px; background: var(--yellow);
  color: var(--purple-800); font-weight: 600; border-radius: 0 0 12px 12px;
  transition: transform .18s ease;
}
.skip-link:focus { transform: translate(-50%, 0); color: var(--purple-800); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }

/* ---------- shared atoms ---------- */

.eyebrow {
  display: flex; align-items: center; gap: 9px;
  color: var(--purple-500); font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow--onDark { color: var(--yellow); letter-spacing: 2.4px; }
.section__head .eyebrow { justify-content: center; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border: 1.5px solid transparent; border-radius: 13px;
  font: inherit; font-weight: 600; font-size: 15.5px; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 12px 22px; font-size: 15px; border-radius: 999px; }
.btn--lg { padding: 16px 28px; font-size: 16.5px; border-radius: var(--radius-md); }
.btn--yellow { background: var(--yellow); color: var(--purple-800); }
.btn--yellow:hover { background: var(--yellow-hi); color: var(--purple-800); }
.btn--glow { box-shadow: var(--shadow-yellow); }
.btn--purple { background: var(--purple-500); color: var(--white); }
.btn--purple:hover { background: var(--purple-ink); color: var(--white); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .35); color: var(--white); font-weight: 500; }
.btn--ghost:hover { border-color: var(--white); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tags li {
  padding: 7px 14px; background: rgba(106, 40, 201, .07); border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--muted-strong);
}
.tags--onDark { gap: 9px; margin-bottom: 28px; }
.tags--onDark li {
  padding: 8px 15px; background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; color: var(--white);
}
.tags--onDark .tags__more {
  background: rgba(255, 193, 7, .16); border-color: rgba(255, 193, 7, .4);
  color: var(--yellow); font-weight: 600;
}

.checks { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.checks li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 15px; color: var(--purple-700);
}
.checks li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--yellow); color: var(--purple-800);
  font-weight: 700; font-size: 13px; line-height: 22px; text-align: center;
}
.checks--onDark li { color: rgba(255, 255, 255, .9); font-size: 14.5px; }

.link-arrow { font-weight: 600; font-size: 15px; }
.link-arrow::after { content: " →"; }

.float { animation: float 4.5s ease-in-out infinite; filter: var(--shadow-art); }
.float--slow { animation-duration: 5s; animation-delay: .6s; }
.float--delay { animation-duration: 4.8s; animation-delay: 1.1s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-18px) rotate(1.5deg); }
}

/* ---------- nav ---------- */

.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  background: var(--purple-800);
  transition: box-shadow .2s ease;
}
.nav-wrap.is-stuck { box-shadow: 0 8px 26px rgba(20, 5, 50, .35); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.nav__brand { flex: none; }
.nav__brand img { height: 38px; width: auto; }

.nav__menu { display: flex; align-items: center; gap: 34px; }
.nav__links { display: flex; gap: 34px; }
.nav__links a { color: rgba(255, 255, 255, .85); font-size: 15.5px; font-weight: 500; }
.nav__links a:hover { color: var(--white); }

.nav__toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
  background: transparent; border: 0; cursor: pointer;
}
.nav__toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(125% 120% at 82% -8%, var(--purple-400) 0%, var(--purple-600) 46%, var(--purple-800) 100%);
  color: var(--white);
}
.hero__glow { position: absolute; border-radius: 50%; pointer-events: none; }
.hero__glow--a { top: -140px; right: -90px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(255, 193, 7, .32), transparent 66%); }
.hero__glow--b { bottom: -200px; left: -140px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(140, 90, 230, .4), transparent 66%); }

.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  padding-top: 56px; padding-bottom: 96px;
}

.hero__title { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -1px; margin-bottom: 22px; }
.hero__title em { color: var(--yellow); font-style: normal; }
.hero__lede { font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, .82); max-width: 520px; margin-bottom: 26px; }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.pill {
  display: inline-flex; gap: 8px; align-items: center; padding: 9px 16px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px; font-size: 14.5px; font-weight: 500;
}
.pill b { color: var(--yellow); font-weight: 600; }

.hero__rating { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .75); }
.stars { color: var(--yellow); letter-spacing: 1px; }

/* phone mockup */

.hero__device { display: flex; justify-content: center; }
.phone { position: relative; transform: rotate(-3deg); }
.phone__glow { position: absolute; inset: -30px -20px; background: radial-gradient(circle at 50% 40%, rgba(255, 193, 7, .26), transparent 62%); }
/* height derives from the screenshot's 1004x2047 ratio: (300 - 22) / 0.4905 + 22 ≈ 589
   so the app screen fills the frame with no cropping */
.phone__body {
  position: relative; width: 300px; height: 589px; padding: 11px;
  background: var(--purple-900); border-radius: 48px;
  box-shadow: 0 40px 70px rgba(20, 5, 50, .55);
}
.phone__screen { width: 100%; height: 100%; background: #FBF9FE; border-radius: 38px; overflow: hidden; }
.phone__shot { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* stats */

.stats { position: relative; border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(20, 5, 50, .25); }
.stats__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-block: 26px; }
.stat { display: flex; align-items: baseline; gap: 10px; }
.stat b { font-size: 26px; font-weight: 700; color: var(--yellow); }
.stat span { font-size: 14.5px; color: rgba(255, 255, 255, .75); }

/* ---------- sections ---------- */

.section { padding-block: 104px; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--purple { background: linear-gradient(160deg, var(--purple-600), var(--purple-800)); color: var(--white); }

.section__head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section__head h2 { font-size: clamp(32px, 4.4vw, 44px); margin-bottom: 16px; }
.section__head h2:last-child { margin-bottom: 0; }
.section__lede { font-size: 18px; color: var(--muted); }

/* service cards */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(42, 12, 85, .1); }
.card__art { width: 118px; height: 86px; object-fit: contain; object-position: left center; margin: -8px 0 14px -8px; }
.card__title { font-size: 24px; }
.card__sub { font-size: 14px; font-weight: 600; color: var(--purple-500); margin: 2px 0 12px; }
.card__body { font-size: 15.5px; color: var(--muted); line-height: 1.55; margin-bottom: 18px; }

/* split feature rows */

.split__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__copy h2 { font-size: clamp(30px, 4.2vw, 42px); margin-bottom: 16px; }
.split__lede { font-size: 17.5px; color: var(--muted); line-height: 1.55; margin-bottom: 22px; max-width: 480px; }
.split__lede--onDark { color: rgba(255, 255, 255, .8); max-width: 470px; }
.split__lede--onDark b { color: var(--white); font-weight: 600; }

.split__art { position: relative; display: flex; justify-content: center; }
.split__art img { position: relative; width: 100%; height: auto; }
.split .split__art img { max-width: 440px; }
.split--flip .split__art img { max-width: 500px; }
.split__halo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 340px; height: 340px; border-radius: 50%; }
.split__halo--yellow { background: radial-gradient(circle, rgba(255, 193, 7, .22), transparent 66%); }
.split__halo--purple { width: 360px; height: 360px; background: radial-gradient(circle, rgba(106, 40, 201, .16), transparent 66%); }

/* steps */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { padding: 28px; background: var(--white); border: 1px solid var(--border); border-radius: 20px; }
.step__n {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px;
  background: var(--purple-500); color: var(--white); font-weight: 700; font-size: 19px;
}
.step__n--yellow { background: var(--yellow); color: var(--purple-800); }
.step h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* coverage */

.coverage__inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.coverage h2 { font-size: clamp(30px, 4.2vw, 42px); margin-bottom: 16px; }

.cov { display: flex; gap: 10px; max-width: 460px; }
.cov__input {
  flex: 1; min-width: 0; padding: 15px 18px; border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08);
  color: var(--white); font: inherit; font-size: 15px;
}
.cov__input::placeholder { color: rgba(255, 255, 255, .5); }
.cov__input:focus { outline: 3px solid var(--yellow); outline-offset: 2px; }

.cov__result {
  display: flex; align-items: center; gap: 10px;
  max-width: 460px; margin-top: 14px; padding: 12px 16px;
  border-radius: 12px; background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: 14.5px; font-weight: 500; color: var(--white);
}
.cov__result::before {
  content: attr(data-mark); flex: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--white); color: var(--purple-800);
  font-weight: 700; font-size: 13px; line-height: 22px; text-align: center;
}
.cov__result[data-ok="true"]::before { background: var(--yellow); }

.map {
  position: relative; height: 400px; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(135deg, #5A2AB0, #3A1580);
}
.map__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 46px 46px;
}
.map__route { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__pin {
  position: absolute; transform: translate(-50%, -50%) rotate(-45deg);
  border-radius: 50% 50% 50% 0; background: var(--yellow);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .3);
}
.map__pin--a { left: 20%; top: 70%; width: 18px; height: 18px; }
.map__pin--b { left: 56%; top: 52%; width: 14px; height: 14px; background: var(--white); box-shadow: none; }
.map__pin--c { left: 80%; top: 30%; width: 22px; height: 22px; }
.map__label {
  position: absolute; left: 24px; bottom: 22px; padding: 12px 16px;
  background: rgba(20, 5, 50, .55); border-radius: var(--radius-md);
  backdrop-filter: blur(4px);
}
.map__label small { display: block; font-size: 12px; color: rgba(255, 255, 255, .7); }
.map__label b { font-size: 18px; }

/* join / partners */

.join { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.join__card { border-radius: var(--radius-lg); padding: 40px; }
.join__card h3 { font-size: 26px; margin-bottom: 12px; }
.join__card p { font-size: 15px; line-height: 1.55; margin-bottom: 20px; }

.join__card--rider { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--purple-500), var(--purple-600)); color: var(--white); }
.join__card--rider p { color: rgba(255, 255, 255, .82); }
.join__art { position: absolute; right: -30px; bottom: -16px; width: 230px; height: auto; opacity: .9; }
.join__body { position: relative; max-width: 60%; }

.join__card--merchant { background: var(--white); border: 1px solid var(--border); }
.join__card--merchant p { color: var(--muted); }
.join__card--merchant .checks li { font-size: 14.5px; color: var(--muted-strong); }
.join__card--merchant .checks li::before { background: rgba(106, 40, 201, .12); color: var(--purple-500); }
.join__icon {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 20px;
  border-radius: var(--radius-md); background: rgba(106, 40, 201, .09);
}
.join__icon::before { content: ""; width: 20px; height: 20px; border-radius: 6px; background: var(--purple-500); }

/* install */

.install { position: relative; overflow: hidden; background: radial-gradient(120% 130% at 15% 20%, var(--purple-400) 0%, var(--purple-600) 45%, var(--purple-800) 100%); }
.install__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.install h2 { font-size: clamp(32px, 4.6vw, 46px); margin-bottom: 16px; }
.install__art { position: relative; display: flex; justify-content: center; }
.install__art img { position: relative; width: 100%; max-width: 500px; height: auto; }
.install__art .split__halo { width: 380px; height: 380px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px; font-size: 12.5px; font-weight: 600; margin-bottom: 18px;
}
.promo {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px;
  background: rgba(255, 193, 7, .15); border: 1px solid rgba(255, 193, 7, .4);
  border-radius: 999px; margin-bottom: 28px;
  font-size: 14.5px; font-weight: 600; color: var(--yellow);
}
.promo::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }

.install__steps { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 30px; }
.install__steps li {
  display: flex; align-items: center; gap: 11px; max-width: 210px;
  font-size: 13.5px; line-height: 1.4; color: rgba(255, 255, 255, .8);
}
.install__steps li b { color: var(--white); font-weight: 600; }
.install__steps li span {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 30px; height: 30px; border-radius: 9px;
  background: rgba(255, 255, 255, .12); color: var(--yellow); font-weight: 700; font-size: 14px;
}

/* faq */

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.faq__item h3 { margin: 0; font-size: inherit; font-weight: inherit; letter-spacing: normal; }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 20px 24px; background: transparent; border: 0;
  font: inherit; font-weight: 600; font-size: 17px; color: var(--purple-700);
  text-align: left; cursor: pointer;
}
.faq__sign {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(106, 40, 201, .09); color: var(--purple-500);
  font-weight: 600; font-size: 18px; line-height: 1;
}
.faq__sign::before { content: "+"; }
.faq__q[aria-expanded="true"] .faq__sign::before { content: "–"; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq__a > p { overflow: hidden; padding: 0 24px; font-size: 15.5px; color: var(--muted); line-height: 1.6; }
.faq__item:has(.faq__q[aria-expanded="true"]) .faq__a { grid-template-rows: 1fr; }
.faq__item:has(.faq__q[aria-expanded="true"]) .faq__a > p { padding-bottom: 22px; }

/* footer */

.footer { background: var(--purple-900); color: rgba(255, 255, 255, .7); padding: 72px 0 40px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__brand img { height: 36px; width: auto; margin-bottom: 18px; }
.footer__brand p { font-size: 15px; color: rgba(255, 255, 255, .65); line-height: 1.55; max-width: 280px; }
.footer__handle { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--yellow); }
.footer__col h2 { color: var(--white); font-weight: 600; font-size: 15px; letter-spacing: normal; margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.footer__col a { color: rgba(255, 255, 255, .7); }
.footer__col a:hover { color: var(--white); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; font-size: 13.5px; color: rgba(255, 255, 255, .5); }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  :root { --gutter: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .coverage__inner, .install__inner { grid-template-columns: 1fr; gap: 44px; }
  .join { grid-template-columns: 1fr; }
  .join__body { max-width: 100%; }
  .join__art { opacity: .18; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 8px var(--gutter) 24px;
    background: var(--purple-800);
    box-shadow: 0 18px 30px rgba(20, 5, 50, .4);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__links { flex-direction: column; gap: 4px; }
  .nav__links a { display: block; padding: 12px 0; font-size: 17px; }
  .nav__menu .btn { margin-top: 8px; }

  .hero__inner { grid-template-columns: 1fr; padding-bottom: 72px; }
  .hero__lede { max-width: none; }
  .hero__device { order: -1; }
  .phone { transform: none; }

  .split__inner { grid-template-columns: 1fr; gap: 40px; }
  .split--flip .split__art { order: -1; }
  .split__lede { max-width: none; }
  .split .split__art img, .split--flip .split__art img { max-width: 340px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .section { padding-block: 72px; }
  .section__head { margin-bottom: 40px; }
  .steps { grid-template-columns: 1fr; }
  .stats__inner { justify-content: flex-start; gap: 18px 28px; }
  .stat b { font-size: 22px; }
  .cov { flex-direction: column; }
  .map { height: 300px; }
  .join__card { padding: 28px; }
  .install__steps li { max-width: none; }
  .footer { padding-top: 56px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .faq__q { padding: 18px; font-size: 16px; }
  .faq__a > p { padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
