/* ==========================================================================
   Drivo landing page
   Design source: Figma "Drivo" › Landing Page (node 689:17205), 1440px frame.
   ========================================================================== */

:root {
  --orange: #ff5a00;
  --orange-hover: #e94f00;
  --orange-alt: #e85827;
  --orange-soft: #fff0e5;
  --orange-tint: #ffd9c2;
  --cream: #fff8f3;
  --page: #fcfcfc;
  --ink: #111111;
  --ink-strong: #17171c;
  --ink-heading: #111827;
  --gray-600: #6b7280;
  --gray-500: #6f7480;
  --gray-400: #a1a1aa;
  --gray-300: #a0a4ad;
  --line: #eaeaea;
  --dark: #0e0e10;
  --dark-card: #17171c;

  --font: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-plex: var(--font);

  --container: 1200px;
  --gutter: 20px;
  --section-y: 88px;
  --radius-pill: 9999px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --header-h: 104px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid rgba(255, 90, 0, .55);
  outline-offset: 3px;
  border-radius: 12px;
}

.skip-link {
  position: absolute;
  top: -100px;
  right: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.text-accent { color: var(--orange); }

/* ---------- Typography ---------- */
.h2 {
  font-size: 40px;
  line-height: 51px;
  font-weight: 700;
  color: var(--ink-heading);
  text-wrap: balance;
}
.h2--tight { line-height: 52px; letter-spacing: -.9px; color: var(--ink); }
.h2--light { color: #fff; font-size: 36px; line-height: 40px; letter-spacing: -.9px; text-align: center; }
.h2--center { text-align: center; font-size: 36px; line-height: 44px; letter-spacing: -.9px; }

.lead {
  font-size: 16px;
  line-height: 26px;
  color: var(--gray-600);
  max-width: 512px;
}
.lead--muted { color: #71717a; line-height: 24px; max-width: 497px; }
.lead--plex { font-family: var(--font-plex); font-size: 19px; line-height: 30.875px; color: var(--gray-500); max-width: 536px; }
.lead--center { text-align: center; max-width: 740px; margin-inline: auto; line-height: 24px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: var(--radius-pill);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color .25s ease,
    transform .25s var(--ease-out),
    box-shadow .25s ease;
}
.btn--primary {
  background: var(--btn-bg);
  color: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}
.btn--primary:hover {
  --btn-bg: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(255, 90, 0, .55);
}
.btn--primary:active {
  transform: translateY(0) scale(.97);
  box-shadow: 0 4px 10px -4px rgba(255, 90, 0, .5);
}
.btn--lg {
  padding: 14px 32px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
}
.btn--sm { height: 40px; padding: 8px 16px; font-size: 14px; line-height: 16px; }
.btn--xs { padding: 8px 16px; font-size: 12px; line-height: 16px; }
.btn--block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 24px var(--gutter) 8px;
  pointer-events: none;
  transition: padding .35s var(--ease-out);
}
.nav {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--container);
  height: 80px;
  margin-inline: auto;
  padding: 11px 33px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-pill);
  background: rgba(60, 60, 60, .48);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .24);
  transition: height .35s var(--ease-out), background-color .35s ease, box-shadow .35s ease;
}
.site-header.is-scrolled { padding-top: 12px; }
.site-header.is-scrolled .nav {
  height: 68px;
  background: rgba(40, 40, 40, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.nav__logo {
  flex: 0 0 136px;
  display: flex;
  border-radius: 8px;
  transition: transform .3s var(--ease-out);
}
.nav__logo img { width: 89px; height: 40px; border-radius: 8px; }
.nav__logo:hover { transform: scale(1.05); }

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__link {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding-block: 8px;
  color: #ebebeb;
  font-size: 16px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: .3px;
  transition: color .25s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 24px;
  height: 2px;
  margin-left: -12px;
  border-radius: var(--radius-pill);
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .3s var(--ease-out);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.is-active {
  color: var(--orange);
  font-size: 20px;
  font-weight: 700;
}
.nav__link.is-active::after { transform: scaleX(1); }
.nav__cta-mobile { display: none; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease;
}
.nav__toggle:hover { background: rgba(255, 90, 0, .9); border-color: transparent; }
.nav__toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s var(--ease-out), 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: clip;
  padding-top: 176px;
}
.hero__blob { position: absolute; border-radius: 50%; pointer-events: none; }
.hero__blob--top {
  width: 520px;
  height: 520px;
  top: -117px;
  left: calc(50% + 362px);
  background: var(--orange-soft);
  opacity: .56;
  filter: blur(10px);
}
.hero__blob--bottom {
  width: 288px;
  height: 288px;
  top: 810px;
  left: -105px;
  background: var(--cream);
}

.hero__head {
  position: relative;
  max-width: 768px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
}
.hero__title {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 54px;
  line-height: 54px;
  font-weight: 700;
  letter-spacing: -1.35px;
  color: var(--ink-strong);
}
.hero__accent {
  position: relative;
  color: var(--orange);
  white-space: nowrap;
}
.hero__accent::after {
  content: "";
  position: absolute;
  inset-inline: -8%;
  bottom: -16px;
  height: 12px;
  background: url(assets/icons/underline.svg) center / 100% 100% no-repeat;
  transform-origin: right center;
  animation: draw-underline 1s .5s var(--ease-out) both;
}
.hero__subtitle {
  max-width: 512px;
  margin: 24px auto 0;
  font-size: 20px;
  line-height: 32.5px;
  color: var(--gray-500);
}

.hero__grid {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: calc(var(--container) + var(--gutter) * 2);
  height: 544px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero__aside {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 326px;
  padding-top: 264px;
}
.hero__quote-mark {
  display: block;
  height: 34px;
  font-family: var(--font-plex);
  font-size: 64px;
  line-height: 51px;
  color: var(--orange-alt);
}
.hero__quote blockquote {
  font-size: 16px;
  line-height: 16.5px;
  font-weight: 600;
  color: #3f3f46;
}
.tags { display: flex; flex-wrap: wrap; gap: 16px; max-width: 326px; }
.tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  background: #000;
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}
.tag--active { background: var(--orange-alt); }

.hero__device { position: relative; width: 295px; height: 437px; display: flex; align-items: center; }
.hero__glass {
  height: 420px;
  padding-inline: 12px;
  border-radius: 44px;
  background: rgba(255, 255, 255, .4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.phone {
  position: relative;
  width: 271px;
  height: 590px;
  overflow: hidden;
  border: 5.2px solid #111;
  border-radius: 31px;
  background: #fff;
  box-shadow: 0 23px 57px -15px rgba(17, 17, 17, .4);
  animation: phone-rise 1s .1s var(--ease-out) both;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone__notch {
  position: absolute;
  top: 6.5px;
  left: 50%;
  width: 79px;
  height: 16.4px;
  margin-left: -39.5px;
  border-radius: var(--radius-pill);
  background: #111;
}

/* Floating chips — positioned against the glass, as in the 1440 frame */
.chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  border: .7px solid #f0f0f0;
  border-radius: 16px;
  background: #fff;
  filter: drop-shadow(0 18px 20px rgba(17, 17, 17, .08));
  white-space: nowrap;
}
.chip__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--orange-soft);
}
.chip__text { display: flex; flex-direction: column; }
.chip__text small { font-size: 11px; line-height: 16.5px; color: var(--gray-300); }
.chip__text strong { font-size: 14px; line-height: 21px; font-weight: 700; color: var(--ink); }
.chip--branch { left: -157.5px; top: 53.5px; }
.chip--time { left: -102.5px; top: 333.5px; }
.chip--status { left: 260.5px; top: 213.5px; }

.reviews-card {
  min-width: 325px;
  padding: 16px 24px;
  border-radius: 24px;
  background: rgba(255, 90, 0, .08);
}
.avatars { display: flex; padding-bottom: 20px; }
.avatars img {
  width: 40px;
  height: 40px;
  margin-inline-end: -10px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.reviews-card__title { font-size: 20px; line-height: 20px; font-weight: 700; color: #18181b; white-space: nowrap; }
.reviews-card__title span { color: var(--orange); }
.reviews-card__sub { padding-top: 12px; font-size: 16px; line-height: 16px; color: var(--gray-400); }

/* Rotating stamp */
.stamp {
  position: absolute;
  top: 24px;
  right: calc(var(--gutter) + 102px);
  display: grid;
  place-items: center;
  width: 144px;
  height: 144px;
  border: 4px solid var(--orange);
  border-radius: 50%;
  background: rgba(255, 90, 0, .08);
  transition: transform .4s var(--ease-out), background-color .3s ease;
}
.stamp__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 18s linear infinite;
}
.stamp__ring text {
  fill: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
}
.stamp__center {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange-alt);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
  transition: transform .4s var(--ease-out), background-color .3s ease;
}
.stamp__center img { transform: rotate(-135deg); }
.stamp:hover { background: rgba(255, 90, 0, .16); }
.stamp:hover .stamp__center { transform: scale(1.12) rotate(45deg); background: var(--orange); }
.stamp:hover .stamp__ring { animation-duration: 6s; }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-block: 21px;
  border-block: 1px solid #27272a;
  background: var(--dark);
  color: #fff;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
  min-width: max(100vw, 1440px);
}
.marquee__group li {
  display: flex;
  align-items: center;
  gap: clamp(32px, 4.4vw, 64px);
  padding-inline-start: clamp(16px, 2.2vw, 32px);
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: .4px;
  white-space: nowrap;
}
.marquee__group li::after {
  content: "|";
  color: var(--orange-alt);
  font-size: 28px;
  font-weight: 300;
}

/* ---------- About ---------- */
.about .container { display: flex; flex-direction: column; gap: 88px; }
.about__row,
.download__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.about__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  width: 535px;
  flex-shrink: 0;
}
.about__media { width: 580px; flex-shrink: 1; }
.about__media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  padding-top: 17px;
  border-top: 1px solid #f3f4f6;
  text-align: center;
}
.metrics div { display: flex; flex-direction: column; gap: 4px; }
.metrics dd { order: -1; font-size: 32px; line-height: 40px; font-weight: 700; color: var(--ink-heading); }
.metrics dt { font-size: 12px; line-height: 16px; font-weight: 600; color: #9ca3af; }
.metrics--alt { border-top-color: #f4f4f5; }
.metrics--alt div { gap: 12px; }
.metrics--alt dd { color: var(--ink); line-height: 36px; letter-spacing: -.75px; }
.metrics--alt dt { font-weight: 400; color: var(--gray-400); }

.download__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 520px;
}
.download__copy .h2 { font-size: 40px; }
.download__copy .lead { padding-bottom: 20px; }

.store-cards { display: flex; gap: 20px; }
.store-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 264px;
  padding: 21px;
  border: 1px solid #f4f4f5;
  border-radius: 16px;
  background: #f8f9fb;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .05));
  transition: transform .35s var(--ease-out), filter .35s ease;
}
.store-card:hover { transform: translateY(-4px); filter: drop-shadow(0 16px 24px rgba(17, 17, 17, .08)); }
.store-card header { display: flex; align-items: center; justify-content: space-between; }
.store-card h3 { font-size: 16px; line-height: 24px; font-weight: 700; color: #18181b; }
.store-card header span { font-size: 12px; line-height: 16px; color: var(--gray-400); }
.store-card .store-badge {
  margin-top: 16px;
  position: relative;
}
.store-card .store-badge::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -17px;
  border-top: 1px solid rgba(228, 228, 231, .6);
}

.store-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 16px;
  transition: background-color .25s ease, transform .25s var(--ease-out), box-shadow .25s ease;
}
.store-badge span { display: flex; flex-direction: column; gap: 4px; width: 96px; }
.store-badge small { font-size: 10px; line-height: 15px; font-weight: 500; }
.store-badge strong { direction: ltr; text-align: right; font-size: 14px; line-height: 14px; font-weight: 700; letter-spacing: -.35px; }
.store-badge img { width: 28px; height: 28px; transition: transform .3s var(--ease-out); }
.store-badge--dark { background: #000; color: #fff; }
.store-badge--dark small { color: #d1d5db; }
.store-badge--dark:hover { background: #26262b; transform: translateY(-2px); box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .45); }
.store-badge--light { background: #fff; color: var(--ink); }
.store-badge--light small { color: #797979; }
.store-badge--light:hover { background: #fff4ec; transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(80, 20, 0, .55); }
.store-badge:hover img { transform: scale(1.1); }
.store-badge:active { transform: translateY(0) scale(.97); }

/* ---------- Map ---------- */
.map-section { overflow: clip; }
.map-section__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-inline-start: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.map-section__copy { width: 548px; flex-shrink: 0; }
.map-section__copy .h2 { line-height: 52.5px; color: var(--ink); }
.map-section__copy .lead { padding-top: 12px; }
.points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-top: 28px;
}
.points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-plex);
  font-size: 15.5px;
  line-height: 23.25px;
  font-weight: 600;
}
.icon-box {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--orange-soft);
}

.map {
  position: relative;
  width: min(660px, 50%);
  aspect-ratio: 660 / 444;
  flex-shrink: 0;
}
.map__bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .88; }
.map__pin {
  position: absolute;
  left: calc(var(--x) / 660 * 100%);
  top: calc(var(--y) / 444 * 100%);
  width: 7.076%;
  aspect-ratio: 1;
  object-fit: cover;
  transform-origin: 50% 100%;
  transition: transform .3s var(--ease-out);
}
.map__pin:hover { transform: translateY(-4px) scale(1.12); }
.map__me {
  position: absolute;
  left: 35.83%;
  top: 29.34%;
  width: 12.88%;
  aspect-ratio: 1;
  z-index: 1;
}
.map__pulse { position: absolute; inset: 0; width: 100%; height: 100%; animation: pulse 2.4s ease-out infinite; }
.map__me-icon { position: absolute; left: 23.5%; top: 7.06%; width: 52.9%; height: auto; }
.map__phone {
  position: absolute;
  left: 0;
  top: 36.04%;
  width: 52.58%;
  height: 63.96%;
  overflow: hidden;
  z-index: 2;
}
.map__phone img {
  width: 92.5%;
  margin-inline: auto;
  filter: drop-shadow(0 8px 32px rgba(255, 90, 0, .16));
}

/* ---------- Features ---------- */
.features { padding-block: var(--section-y); background: var(--dark); overflow: clip; }
.features .container { display: flex; flex-direction: column; align-items: center; gap: 56px; }
.features .h2 { padding: 10px; }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; width: 100%; }
.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 16px;
  background: var(--dark-card);
  transition: transform .35s var(--ease-out), border-color .3s ease, background-color .3s ease;
}
.feature:not(.feature--active) { opacity: .88; }
.feature:hover { transform: translateY(-6px); border-color: rgba(255, 90, 0, .45); }
.feature:not(.feature--active):hover { opacity: 1; background: #1d1d23; }
.feature__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  background: #27272a;
  transition: background-color .3s ease, transform .35s var(--ease-out);
}
.feature:hover .feature__icon { transform: scale(1.08); }
.feature:not(.feature--active):hover .feature__icon { background: #3a2015; border-color: rgba(255, 90, 0, .4); }
.feature h3 { padding-top: 12px; font-size: 18px; line-height: 28px; font-weight: 700; color: #fff; }
.feature p { font-size: 12px; line-height: 19.5px; color: var(--gray-400); }
.feature--active { background: rgba(255, 90, 0, .24); }
.feature--active .feature__icon {
  border: 0;
  background: var(--orange-alt);
  box-shadow: 0 10px 15px -3px rgba(232, 88, 39, .2), 0 4px 6px -4px rgba(232, 88, 39, .2);
}
.feature__badge {
  position: absolute;
  top: 24px;
  right: -4px;
  width: 4px;
  height: 28px;
  border-radius: 4px 0 0 4px;
  background: var(--orange-alt);
  transform: scaleX(-1);
}

/* ---------- How it works ---------- */
.how { background: var(--cream); overflow: clip; }
.how .container { display: flex; flex-direction: column; gap: 64px; }
.section-head { display: flex; flex-direction: column; gap: 12px; }

.orbit {
  position: relative;
  height: 533px;
  margin-bottom: 130px;
}
.orbit__phone {
  position: relative;
  z-index: 1;
  width: 400px;
  margin-inline: auto;
}
.orbit__ring {
  position: absolute;
  top: 300px;
  left: 50%;
  border-radius: 50%;
  border: 4px solid var(--orange);
  translate: -50% -50%;
  pointer-events: none;
  animation: spin var(--spin, 60s) linear infinite;
  -webkit-mask-image: conic-gradient(from var(--from, 0deg), #000 0 40%, rgba(0, 0, 0, .15) 70%, #000 100%);
  mask-image: conic-gradient(from var(--from, 0deg), #000 0 40%, rgba(0, 0, 0, .15) 70%, #000 100%);
}
.orbit__ring--outer { width: 718px; height: 718px; --from: 300deg; --spin: 80s; }
.orbit__ring--mid { width: 598px; height: 598px; border-color: rgba(255, 90, 0, .48); --from: 120deg; --spin: 70s; animation-direction: reverse; }
.orbit__ring--inner { width: 444px; height: 444px; border-color: rgba(255, 90, 0, .24); --from: 200deg; --spin: 50s; }

.step {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 21px;
  border: 1px solid rgba(255, 237, 213, .8);
  border-radius: 24px;
  background: #fff;
  transition: box-shadow .35s ease, border-color .3s ease;
}
.step:hover { border-color: rgba(255, 90, 0, .35); box-shadow: 0 20px 40px -20px rgba(255, 90, 0, .35); }
.step div { display: flex; flex-direction: column; gap: 12px; width: 203px; }
.step h3 { font-size: 16px; line-height: 20px; font-weight: 700; color: var(--ink-heading); }
.step p { font-size: 14px; line-height: 20px; color: var(--gray-600); }
.step--d div { width: min-content; }
.step--d h3 { white-space: nowrap; }
.step .flip { transform: scaleX(-1); }
.step--a { right: 23px; top: -17px; }
.step--b { left: calc(775 / 1200 * 100%); top: 281px; }
.step--c { left: calc(94 / 1200 * 100%); top: 435px; }
.step--d { left: 0; top: 68px; }

/* ---------- Testimonials ---------- */
.testimonials__row { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.testimonials__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; width: 535px; }
.testimonials__slider { display: flex; flex-direction: column; align-items: center; gap: 48px; width: 594px; }
.review {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
}
.review blockquote {
  position: relative;
  z-index: 1;
  min-height: 99px;
  font-size: 19px;
  line-height: 1.671;
  color: #79839a;
}
.review__mark {
  position: absolute;
  left: 7px;
  top: 52px;
  height: 120px;
  font-family: var(--font-plex);
  font-size: 240px;
  line-height: 230px;
  color: var(--orange-alt);
  opacity: .32;
  pointer-events: none;
}
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption > img { width: 61px; height: 61px; border-radius: 50%; object-fit: cover; }
.review figcaption > span { display: flex; flex-direction: column; }
.review strong { font-size: 20px; line-height: 1.671; font-weight: 700; color: #272b34; }
.stars { display: flex; gap: 6px; }
.stars img { width: 28px; height: 28px; }
.dots { display: flex; gap: 8px; }
.dots span { width: 12px; height: 12px; border-radius: var(--radius-pill); background: var(--orange-tint); }
.dots .is-active { width: 48px; background: var(--orange); }

/* ---------- FAQ ---------- */
.faq { position: relative; background: var(--cream); }
.faq__bag {
  position: absolute;
  top: -100px;
  left: calc(50% + 142px);
  width: 248px;
  z-index: 1;
  filter: drop-shadow(0 4px 48px rgba(0, 0, 0, .12));
  animation: float 6s ease-in-out infinite;
}
.faq__inner { position: relative; z-index: 2; max-width: calc(820px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.faq__title {
  font-family: var(--font-plex);
  font-size: 42px;
  line-height: 52.5px;
  font-weight: 700;
  text-align: center;
}
.faq__list { display: flex; flex-direction: column; gap: 14px; padding-top: 40px; }
.faq-item {
  overflow: hidden;
  border: .7px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: border-color .25s ease, box-shadow .3s ease;
}
.faq-item:hover { border-color: #ffc8a8; box-shadow: 0 10px 30px -18px rgba(255, 90, 0, .45); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-family: var(--font-plex);
  font-size: 16.5px;
  line-height: 24.75px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  border-radius: 18px;
  transition: color .25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--orange); }
.faq-item__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  transition: transform .35s var(--ease-out), background-color .25s ease, color .25s ease;
}
.faq-item__icon::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url(assets/icons/plus.svg) center / contain no-repeat;
  mask: url(assets/icons/plus.svg) center / contain no-repeat;
}
.faq-item summary:hover .faq-item__icon { background: var(--orange); color: #fff; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item__body {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .35s var(--ease-out);
}
.faq-item__body p {
  overflow: hidden;
  min-height: 0;
  padding-inline: 20px;
  padding-bottom: 20px;
  font-family: var(--font-plex);
  font-size: 15px;
  line-height: 24.375px;
  color: var(--gray-500);
}
.faq-item.is-closing .faq-item__body,
.faq-item.is-opening .faq-item__body { grid-template-rows: 0fr; }

/* ---------- CTA ---------- */
.cta { overflow: clip; }
.cta__card {
  position: relative;
  display: flex;
  justify-content: flex-start;
  min-height: 358px;
  padding: 48px;
  border-radius: 40px;
  background: linear-gradient(163.39deg, #ff7a1a 0%, #ff4d00 100%);
  color: #fff;
}
.cta__bg { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.cta__circle { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.cta__circle--a { width: 384px; height: 384px; left: calc(1016.5 / 1200 * 100%); top: -210px; }
.cta__circle--b { width: 320px; height: 320px; left: -120px; top: 111px; }
.cta__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 511px;
}
.cta__copy h2 { font-family: var(--font-plex); font-size: 48px; line-height: 65px; font-weight: 700; }
.cta__copy p { padding-top: 20px; font-family: var(--font-plex); font-size: 19px; line-height: 30.875px; color: rgba(255, 255, 255, .9); }
.cta__badges { display: flex; gap: 12px; width: 440px; padding-top: 28px; }
.cta__badges .store-badge { flex: 1; }
.cta__phones {
  position: absolute;
  z-index: 1;
  left: 48px;
  top: -88.6px;
  width: 589px;
  max-width: none;
  pointer-events: none;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  padding-block: 56px;
  border-top: .7px solid var(--line);
  background: var(--cream);
}
.footer .container { position: relative; z-index: 1; }
.footer__glow { position: absolute; border-radius: 50%; pointer-events: none; }
.footer__glow--left {
  width: 384px;
  height: 384px;
  left: -265px;
  top: -15px;
  background: linear-gradient(50.16deg, rgba(255, 90, 0, .32) 46.68%, rgba(255, 90, 0, 0) 86.66%);
}
.footer__glow--right {
  width: 300px;
  height: 276px;
  left: calc(50% + 562px);
  top: 89px;
  background: linear-gradient(-37.51deg, rgba(255, 90, 0, .32) 46.68%, rgba(255, 90, 0, 0) 86.66%);
}
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.socials { display: flex; gap: 12px; }
.social {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: .7px solid var(--line);
  border-radius: 8px;
  color: var(--gray-500);
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s var(--ease-out);
}
.social i {
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.social:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-2px); }
.footer__links { display: flex; gap: 48px; }
.footer__links a {
  position: relative;
  font-size: 18px;
  font-weight: 500;
  color: #767676;
  transition: color .25s ease;
}
.footer__links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .3s var(--ease-out);
}
.footer__links a:hover { color: var(--orange); }
.footer__links a:hover::after { transform: scaleX(1); }
.footer__brand { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; letter-spacing: -.4px; }
.footer__brand img { width: 32px; height: 32px; border-radius: 8px; transition: transform .35s var(--ease-out); }
.footer__brand:hover img { transform: rotate(-8deg) scale(1.08); }
.footer__copy {
  margin-top: 40px;
  padding-top: 24px;
  border-top: .7px solid var(--line);
  text-align: center;
  font-size: 16px;
  line-height: 21px;
  color: var(--gray-300);
}

/* ==========================================================================
   Motion
   Figma prototype timings (2s cohort): chips & how-it-works cards slide in
   from (32px, 32px); stamp rotates in from -90deg; map pin drops from
   scale 1.5 / -24px; the active feature card drops from -16px.
   ========================================================================== */
@keyframes spin { to { rotate: 360deg; } }
@keyframes marquee { to { transform: translateX(50%); } }
@keyframes pulse {
  0% { transform: scale(.85); opacity: 1; }
  70% { transform: scale(1.15); opacity: .55; }
  100% { transform: scale(.85); opacity: 1; }
}
@keyframes float { 50% { transform: translateY(-10px) rotate(-1.5deg); } }
@keyframes draw-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes phone-rise { from { transform: translateY(60px); opacity: 0; } }
@keyframes slide-in-corner { from { translate: 32px 32px; opacity: 0; } }
@keyframes chip-float { 50% { transform: translateY(-6px); } }
@keyframes stamp-in { from { transform: rotate(-90deg); opacity: 0; } }
@keyframes pin-drop {
  0% { transform: translateY(-24px) scale(1.5); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: none; }
}
@keyframes drop-in { from { translate: 0 -16px; opacity: 0; } }
@keyframes fade-up { from { translate: 0 24px; opacity: 0; } }

.js .reveal,
.js [data-anim] { opacity: 0; }
.js .reveal.is-visible,
.js [data-anim].is-visible { opacity: 1; }
.js .is-visible.reveal { animation: fade-up .8s var(--d, 0s) var(--ease-out) both; }
.js .is-visible[data-anim="chip"] {
  animation:
    slide-in-corner 1s var(--d, 0s) var(--ease-out) both,
    chip-float 4s calc(var(--d, 0s) + 1s) ease-in-out infinite;
}
.js .is-visible[data-anim="stamp"] { animation: stamp-in 1s .2s var(--ease-out) both; }
.js .is-visible[data-anim="drop"] { animation: pin-drop .6s .2s var(--ease-in-out) both; }
.js .is-visible[data-anim="lift"] { animation: drop-in .5s var(--ease-out) both; }
.js .is-visible[data-anim="step"] { animation: slide-in-corner .5s var(--d, 0s) var(--ease-in-out) both; }
.js .map.is-visible .map__pin { animation: fade-up .5s calc(var(--i) * 60ms + .1s) var(--ease-out) both; }
.js .map:not(.is-visible) .map__pin { opacity: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .nav { padding-inline: 24px; }
  .nav__links { gap: 20px; }
  .nav__logo { flex-basis: auto; }
  .hero__aside { width: 280px; }
  .reviews-card { width: 290px; padding-inline: 18px; }
  .reviews-card__title { font-size: 17px; }
  .stamp { right: var(--gutter); }
  .about__copy, .testimonials__copy { width: 48%; }
  .download__copy { width: 44%; }
  .map-section__copy { width: auto; flex: 1; }
  .step--b { left: auto; right: 2%; }
}

@media (max-width: 1080px) {
  :root { --section-y: 72px; }
  .nav__links,
  .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav { height: 68px; padding-inline: 14px 12px; }
  .nav__logo img { width: 80px; height: 36px; }
  .nav__links {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 28px;
    background: #1e1e20;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(.98);
    transform-origin: top center;
    transition: opacity .25s ease, transform .3s var(--ease-out), visibility .3s;
  }
  .nav.is-open .nav__links { display: flex; opacity: 1; visibility: visible; transform: none; }
  .nav__links li { display: block; }
  .nav__link {
    flex-direction: row;
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 17px;
    transition: background-color .2s ease, color .2s ease;
  }
  .nav__link::after { display: none; }
  .nav__link:hover { background: rgba(255, 255, 255, .08); }
  .nav__link.is-active { font-size: 17px; background: rgba(255, 90, 0, .14); }
  .nav__cta-mobile { display: block !important; padding: 8px 4px 4px; }
  .nav__cta-mobile .btn { width: 100%; height: 48px; font-size: 15px; }

  .hero { padding-top: 140px; }
  .hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "aside reviews"
      "device device";
    align-items: center;
    gap: 40px 24px;
    height: auto;
    padding-top: 56px;
  }
  .hero__aside { grid-area: aside; width: auto; padding-top: 0; justify-self: start; }
  .reviews-card { grid-area: reviews; justify-self: end; }
  .hero__device {
    grid-area: device;
    justify-self: center;
    height: 470px;
    align-items: flex-start;
  }
  .hero__glass { height: auto; }
  .stamp { top: auto; bottom: 300px; right: var(--gutter); transform: scale(.8); }
  .stamp:hover { transform: scale(.85); }

  .about__row,
  .download__row,
  .testimonials__row { flex-direction: column; align-items: stretch; gap: 48px; }
  .about__copy,
  .download__copy,
  .testimonials__copy { width: 100%; }
  .about__media { width: 100%; max-width: 580px; align-self: center; }
  .download__row { flex-direction: column-reverse; }
  .store-cards { justify-content: center; }
  .store-card { flex: 1; max-width: 320px; }
  .testimonials__slider { width: 100%; }

  .map-section__inner { flex-direction: column; align-items: stretch; padding-inline: var(--gutter); gap: 40px; }
  .map-section__copy { width: 100%; }
  .map { width: 100%; max-width: 660px; align-self: center; border-radius: 24px; overflow: hidden; }

  .features__grid { grid-template-columns: repeat(2, 1fr); }

  .orbit { height: auto; margin-bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .orbit__phone { grid-column: 1 / -1; width: min(360px, 80%); margin-bottom: 8px; }
  .orbit__ring--outer { width: 560px; height: 560px; }
  .orbit__ring--mid { width: 460px; height: 460px; }
  .orbit__ring--inner { width: 340px; height: 340px; }
  .orbit__ring { top: 240px; }
  .step { position: relative; inset: auto; }
  .step div,
  .step--d div { width: auto; flex: 1; }
  .step--d h3 { white-space: normal; }

  .faq__bag { width: 180px; top: -70px; left: auto; right: var(--gutter); }

  .cta__card { flex-direction: column; align-items: stretch; padding: 0 32px 40px; }
  .cta__phones { position: relative; left: auto; top: auto; width: min(560px, 100%); margin: -40px auto 8px; order: -1; }
  .cta__copy { width: 100%; }
  .cta__badges { width: 100%; max-width: 440px; }
  .cta { padding-top: 112px; }

  .footer__row { flex-direction: column-reverse; gap: 28px; }
  .footer__links { flex-wrap: wrap; justify-content: center; gap: 16px 32px; }
}

@media (max-width: 640px) {
  :root { --section-y: 56px; --gutter: 16px; --header-h: 88px; }
  .site-header { padding-top: 12px; }

  .hero { padding-top: 116px; }
  .hero__title { font-size: clamp(26px, 8.2vw, 36px); line-height: 1.3; gap: 6px; letter-spacing: -.6px; }
  .hero__accent::after { bottom: -16px; height: 9px; }
  .hero__subtitle { font-size: 16px; line-height: 27px; margin-top: 22px; }
  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "reviews" "aside" "device";
    justify-items: center;
    gap: 28px;
    padding-top: 32px;
  }
  .hero__aside { justify-self: stretch; align-items: center; text-align: center; gap: 20px; }
  .hero__quote { display: flex; flex-direction: column; align-items: center; }
  .tags { justify-content: center; gap: 10px; }
  .reviews-card { justify-self: center; width: 100%; max-width: 340px; }
  .reviews-card__title { font-size: 18px; line-height: 26px; }
  .hero__device { width: 271px; height: 440px; }
  .hero__glass { padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .chip { padding: 9px 14px; gap: 10px; }
  .chip__icon { width: 30px; height: 30px; }
  .chip--branch { left: -44px; top: 70px; }
  .chip--status { left: auto; right: -44px; top: 190px; }
  .chip--time { left: -36px; top: 330px; }
  .stamp { display: none; }

  .marquee { padding-block: 16px; }
  .marquee__group li { font-size: 17px; }

  .h2 { font-size: 30px; line-height: 40px; }
  .h2--light, .h2--center { font-size: 28px; line-height: 38px; }
  .download__copy .h2 { font-size: 30px; line-height: 40px; }
  .lead--plex { font-size: 17px; line-height: 28px; }
  .metrics { gap: 12px; }
  .metrics dd { font-size: 24px; line-height: 32px; }

  .store-cards { flex-direction: column; align-items: stretch; }
  .store-card { max-width: none; width: 100%; }

  .points { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; gap: 16px; }

  .orbit { grid-template-columns: 1fr; }
  .orbit__ring--outer { width: 420px; height: 420px; }
  .orbit__ring--mid { width: 340px; height: 340px; }
  .orbit__ring--inner { width: 250px; height: 250px; }
  .orbit__ring { top: 200px; }

  .review { padding: 20px; }
  .review blockquote { font-size: 17px; min-height: 0; }
  .review__mark { font-size: 160px; top: 40px; opacity: .2; }
  .stars img { width: 22px; height: 22px; }

  .faq__bag { width: 120px; top: -50px; }
  .faq__title { font-size: 32px; line-height: 44px; }
  .faq-item summary { font-size: 15.5px; padding: 14px 16px; }
  .faq-item__body p { padding-inline: 16px; font-size: 14.5px; }

  .cta { padding-top: 88px; }
  .cta__card { padding: 0 20px 28px; border-radius: 28px; }
  .cta__phones { margin-top: -36px; }
  .cta__copy h2 { font-size: 32px; line-height: 46px; }
  .cta__copy p { font-size: 16px; line-height: 26px; padding-top: 12px; }
  .cta__badges { flex-direction: column; padding-top: 20px; }

  .footer__links a { font-size: 16px; }
  .footer__glow--left { width: 220px; height: 220px; left: -150px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal,
  .js [data-anim],
  .js .map:not(.is-visible) .map__pin { opacity: 1; }
}
