:root {
  --navy: #070c2e;
  --purple: #6718e0;
  --purple-deep: #4d0fce;
  --orange: #ff6f02;
  --teal: #12d3c4;
  --mint: #d8f8f3;
  --text: #12142e;
  --pad: clamp(16px, 3vw, 28px);
  --page: 1040px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  position: relative;
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--text);
  background: #fbfbfe;
  -webkit-font-smoothing: antialiased;
}
.logo__text,
.hero__num,
.hero__word,
.hero__sub,
.top__head h2,
.banner h2,
.install__btn {
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
}
img { display: block; max-width: 100%; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, p { margin: 0; }
:focus-visible { outline: 3px solid #b794f6; outline-offset: 3px; }

.page {
  position: relative;
  z-index: 1;
  width: min(var(--page), calc(100% - 8px));
  margin: 0 auto;
  padding: 18px var(--pad) 0;
}

.header, main { position: relative; z-index: 1; }

.foot {
  position: relative;
  z-index: 0;
  width: 100vw;
  height: 220px;
  margin-top: -140px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  display: block;
  border-radius: 50%;
}
.orb--l {
  left: -100px;
  bottom: -190px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle at 36% 24%,
    #d5c8ff 0%,
    #aebfff 28%,
    #5ee9f1 64%,
    #2ee6dc 100%);
}
.orb--r {
  right: -120px;
  bottom: -210px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at 76% 72%,
    #0aefe0 0%,
    #3ef6ec 55%,
    #14f0e2 100%);
}

.header {
  position: relative;
  z-index: 6;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  direction: ltr;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { width: 52px; height: 52px; flex: none; }
.logo__text { font-size: 32px; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.logo__text b { color: var(--purple); font-weight: 800; }

.geo { position: relative; }
.geo__btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; background: transparent; cursor: pointer;
  color: var(--navy); font-weight: 700; font-size: 16px;
  padding: 8px;
}
.geo__chev { width: 16px; height: 16px; }
.flag {
  width: 22px; height: 16px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(7, 12, 46, .14);
  flex: none;
}
.geo__id { display: inline-flex; align-items: center; gap: 8px; }
.geo__menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 4px);
  z-index: 20;
  min-width: 248px;
  max-height: min(70vh, 440px);
  overflow: auto;
  margin: 0; padding: 6px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(40, 30, 90, .16);
}
.geo__menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%;
  text-align: start; border: 0; background: transparent;
  padding: 8px 12px; border-radius: 10px;
  font-weight: 800; color: var(--navy); cursor: pointer;
}
.geo__menu button > span:last-child { font-weight: 600; font-size: 13px; color: #8d87a8; }
.geo__menu button:hover,
.geo__menu button.is-on { background: #f4f0ff; }
.geo__lang {
  position: sticky;
  top: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0 0 6px;
  padding: 4px;
  background: #f3f1fd;
  border-radius: 12px;
}
.geo__lang button {
  justify-content: center;
  padding: 8px 10px;
  border-radius: 9px;
}
.geo__lang button.is-on {
  background: #fff;
  box-shadow: 0 2px 8px rgba(40, 30, 90, .1);
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 300px;
  padding: 6px 0 4px;
  direction: ltr;
}
.hero__text { position: relative; z-index: 3; max-width: 54%; }
.hero h1 { line-height: .88; }
.hero__num, .hero__word {
  display: block;
  font-weight: 800;
  letter-spacing: -.055em;
}
.hero__num { font-size: clamp(64px, 8.6vw, 104px); color: var(--navy); }
.hero__word { font-size: clamp(58px, 8vw, 98px); color: var(--purple); margin-top: -2px; }
.hero__sub {
  margin-top: 16px;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--navy);
}

.hero__visual {
  position: absolute;
  z-index: 2;
  top: -78px;
  bottom: -120px;
  right: 0;
  width: min(62%, 620px);
  overflow: hidden;
  pointer-events: none;
}
.hero__art { position: relative; height: 100%; }
.hero__visual img {
  position: absolute;
  z-index: 1;
  width: 80%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  right: 10px;
}
.gen {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding-block: 14px;
  padding-inline: 22px 16px;
  border-radius: 999px;
  background: linear-gradient(100deg, #d7f8f3 0%, #eefbf9 42%, #f4f2ff 100%);
  border: 3px solid #fff;
  box-shadow: 0 10px 28px rgba(70, 60, 150, .1);
}
.sparks {
  position: absolute;
  inset-inline-start: -18px; top: 50%;
  width: 26px; height: 46px;
  transform: translateY(-50%);
}
.sparks i {
  position: absolute; left: 0;
  height: 5px; border-radius: 5px;
  background: #2ad4c4;
}
.sparks i:nth-child(1) { width: 16px; top: 2px; transform: rotate(32deg); }
.sparks i:nth-child(2) { width: 20px; top: 20px; left: -2px; }
.sparks i:nth-child(3) { width: 14px; top: 38px; transform: rotate(-28deg); }

.die {
  width: 78px; height: 78px; flex: none;
  display: block;
  object-fit: contain;
}
.die.is-roll { animation: roll .45s ease; }
.die.is-spin { animation: spin .7s linear infinite; }
@keyframes roll {
  0% { transform: rotate(0deg) scale(1); }
  40% { transform: rotate(16deg) scale(1.06); }
  100% { transform: rotate(0deg) scale(1); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.gen__roll {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  width: 100%;
  min-height: 78px;
  padding: 10px 22px;
  border: 0; border-radius: 999px;
  background: linear-gradient(180deg, #fbfbfe, #f3f4fa);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 6px 16px rgba(60, 50, 120, .06);
  color: var(--navy);
  font-weight: 800;
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.15;
  letter-spacing: -.02em;
  text-align: start;
  cursor: pointer;
}
.gen__roll span { text-align: center; }
.gen__roll .gen__wait { display: none; }
.gen__roll.is-load .gen__label { display: none; }
.gen__roll.is-load .gen__wait { display: block; }
.gen__roll.is-load { cursor: progress; }
.gen__roll.is-load svg { animation: spin .7s linear infinite; }
.gen__roll:disabled { pointer-events: none; }
.gen__roll svg { width: 28px; height: 28px; color: var(--purple); flex: none; }

.gen__get {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 78px;
  padding: 0 28px;
  border: 0; border-radius: 999px;
  color: #fff;
  font-weight: 800;
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: -.02em;
  white-space: nowrap;
  cursor: pointer;
  background: linear-gradient(180deg, #8a46f6 0%, #6414e2 55%, #5510d0 100%);
  box-shadow: 0 10px 20px rgba(90, 20, 210, .28), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.gen__get svg { width: 28px; height: 28px; }
.gen__get:hover, .gen__roll:hover { transform: translateY(-1px); }

.top { margin-top: 28px; }
.top__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.top__head h2 {
  display: flex; align-items: center; gap: 8px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800; color: var(--navy); letter-spacing: -.03em;
}
.top__head h2 svg { width: 32px; height: 32px; }
.top__icon { width: 40px; height: auto; flex: none; }
.top__all {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--purple); font-weight: 800; font-size: 18px;
}
.top__all svg { width: 20px; height: 20px; }

.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.offer {
  background: #fff;
  border-radius: 28px;
  padding: 14px 14px 16px;
  box-shadow: 0 14px 34px rgba(70, 50, 140, .1);
  text-align: center;
}
.offer { animation: card-in .9s var(--ease) .78s backwards; }
.offers .offer:nth-child(2) { animation-delay: .9s; }
.offers .offer:nth-child(3) { animation-delay: 1.02s; }
.offers.is-fresh .offer { animation-duration: .55s; animation-delay: 0s; }
.offers.is-fresh .offer:nth-child(2) { animation-delay: .07s; }
.offers.is-fresh .offer:nth-child(3) { animation-delay: .14s; }
@keyframes card-in {
  from { opacity: 0; transform: translateY(18px) scale(.985); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

.offer__top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 8px;
}
.offer__logo {
  width: 72px; height: 72px; flex: none;
  border-radius: 18px; overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(20, 16, 50, .06);
}
.offer__logo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.badge {
  margin-top: 4px;
  padding: 8px 14px 9px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -.03em;
  line-height: 1;
  background: linear-gradient(180deg, #ff9a1e, #ff6200);
  box-shadow: 0 8px 16px rgba(255, 110, 0, .28);
}
.offer__food:empty { display: none; }
.offer__food {
  height: auto;
  margin-top: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f4f2fb;
  color: #6d658c;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.3;
}
.offer__food--pic {
  position: relative;
  padding: 0;
  margin-bottom: 22px;
  background: transparent;
  overflow: visible;
  border-radius: 16px;
}
.offer__food img {
  width: 100%;
  height: 230px;
  display: block;
  object-fit: cover;
  border-radius: 16px;
}
.offer__food--pic .code {
  position: absolute;
  left: 50%;
  bottom: -16px;
  z-index: 2;
  margin-top: 0;
  transform: translateX(-50%);
}

.code {
  position: relative;
  z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px;
  min-width: 78%;
  padding: 9px 16px;
  border: 0; border-radius: 999px;
  cursor: pointer;
  color: var(--navy);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .01em;
  background: linear-gradient(90deg, #d9f8f3, #e7fbf8);
  box-shadow: 0 6px 14px rgba(20, 140, 130, .08);
}
.code__ico {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-style: normal;
}
.code__ico svg {
  width: 13px;
  height: 13px;
  display: block;
}
.free {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 10px;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
}
.free svg { width: 22px; height: 22px; }

.banner {
  position: relative;
  display: flex;
  flex-direction: row;
  direction: ltr;
  align-items: center;
  margin-top: 26px;
  min-height: 188px;
  border-radius: 40px;
  overflow: hidden;
  background: linear-gradient(100deg, #a21cf3 0%, #6a3df2 22%, #3d78f6 52%, #1ec8ea 78%, #3ad4c4 100%);
  box-shadow: 0 16px 30px rgba(80, 40, 180, .18);
}
.banner__copy {
  position: relative;
  z-index: 2;
  display: flex; align-items: center; gap: 8px;
  padding-block: 22px;
  padding-inline: 22px 8px;
  color: #fff;
}
.banner__ride { width: 92px; height: 70px; flex: none; }
.banner__mark { width: 100px; height: auto; flex: none; }
.banner h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: .92;
  font-weight: 800;
  letter-spacing: -.04em;
}
.banner p {
  position: relative;
  display: inline-block;
  margin-top: 8px;
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 700;
}
.banner p::after {
  content: "";
  position: absolute;
  inset-inline-start: 38%;
  inset-inline-end: 0;
  bottom: -7px;
  height: 4px; border-radius: 4px;
  background: #ff8a14;
}
.banner__sparks { position: absolute; left: 46%; top: 28%; z-index: 2; width: 36px; height: 40px; }
.banner__sparks i {
  position: absolute; border-radius: 4px; background: #ffe14a;
}
.banner__sparks i:nth-child(1) { width: 18px; height: 5px; transform: rotate(-40deg); }
.banner__sparks i:nth-child(2) { width: 12px; height: 4px; top: 16px; left: 10px; background: #fff; transform: rotate(30deg); }
.banner__sparks i:nth-child(3) { width: 10px; height: 4px; top: 8px; left: 20px; transform: rotate(70deg); }
.banner__food {
  position: absolute;
  inset-inline-end: 0; top: 6px; bottom: 0;
  width: 48%;
  z-index: 1;
}
.banner__food:empty { display: none; }
.banner__food img {
  width: 145%;
  position: absolute;
  max-width: 200%;
  right: -80px;
  bottom: 0;
  object-fit: contain;
}

.perks {
  margin-top: 22px;
  padding: 14px 8px;
  border-radius: 28px;
  background: #f3f1fd;
}
.perks ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.perks li {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--navy);
}
.perks li + li { border-inline-start: 1px solid #ddd8ee; }
.perks svg { width: 36px; height: 36px; flex: none; }
.perks img { width: 40px; height: auto; flex: none; }

.install { margin-top: 28px; text-align: center; }
.install__btn {
  position: relative;
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-width: min(100%, 460px);
  padding: 20px 36px;
  border-radius: 999px;
  color: #fff;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.03em;
  background: linear-gradient(180deg, #8d4cf8, #5b14d4 60%, #4c0ec8);
  box-shadow: 0 16px 30px rgba(90, 20, 200, .32), inset 0 1px 0 rgba(255, 255, 255, .35);
  animation: pop .9s var(--ease) 1.2s backwards;
}
.install__btn svg { width: 32px; height: 32px; position: relative; z-index: 1; }
.install__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 36%, rgba(255, 255, 255, .42) 50%, transparent 64%);
  transform: translateX(-130%);
  animation: sheen 1s 1.55s var(--ease) both;
  pointer-events: none;
}
.install__btn:hover { transform: translateY(-2px); }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(36px) scale(.965); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes pop {
  from { opacity: 0; transform: translateY(14px) scale(.94); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes sheen {
  from { transform: translateX(-130%); }
  to { transform: translateX(130%); }
}
@keyframes orb-in {
  from { opacity: 0; transform: translateY(24px) scale(.94); }
  to { opacity: 1; transform: none; }
}
.logo { animation: rise .9s var(--ease) backwards; }
.logo__mark { animation: pop .8s var(--ease) .04s backwards; }
.geo { animation: rise .85s var(--ease) .08s backwards; }
.hero__num { animation: pop 1s var(--ease) .12s backwards; }
.hero__word { animation: rise .95s var(--ease) .22s backwards; }
.hero__sub { animation: rise .9s var(--ease) .34s backwards; }
.hero__visual { animation: reveal 1.35s var(--ease) .08s backwards; }
.gen { animation: rise .9s var(--ease) .42s backwards; }
.sparks { animation: sparks-in .7s var(--ease) .5s backwards; }
@keyframes sparks-in {
  from { opacity: 0; transform: translateY(-42%); }
  to { opacity: 1; transform: translateY(-50%); }
}
.die { animation: pop .8s var(--ease) .56s backwards; }
.gen__roll { animation: rise .8s var(--ease) .64s backwards; }
.gen__get { animation: pop .8s var(--ease) .74s backwards; }
.top__head { animation: rise .85s var(--ease) .7s backwards; }
.top__all { animation: rise .75s var(--ease) .82s backwards; }
.banner { animation: rise .95s var(--ease) .96s backwards; }
.banner__mark { animation: pop .75s var(--ease) 1.08s backwards; }
.banner h2 { animation: rise .8s var(--ease) 1.14s backwards; }
.perks { animation: rise .9s var(--ease) 1.08s backwards; }
.perks li { animation: pop .7s var(--ease) backwards; }
.perks li:nth-child(1) { animation-delay: 1.16s; }
.perks li:nth-child(2) { animation-delay: 1.24s; }
.perks li:nth-child(3) { animation-delay: 1.32s; }
.perks li:nth-child(4) { animation-delay: 1.4s; }
.orb { animation: orb-in 1.6s var(--ease) .4s backwards; }

.toast {
  position: fixed; left: 50%; bottom: 22px; z-index: 30;
  transform: translate(-50%, 12px);
  padding: 12px 18px; border-radius: 999px;
  background: var(--navy); color: #fff;
  font-weight: 700; font-size: 14px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero__text { max-width: 62%; }
  .hero__visual { top: -20px; width: 58%; right: 0; }
  .gen { gap: 10px; padding: 12px; }
  .die { width: 64px; height: 64px; }
  .gen__roll, .gen__get { min-height: 64px; }
  .offer__logo { width: 58px; height: 58px; }
  .banner__ride { width: 72px; }
}

@media (max-width: 720px) {
  .page { width: 100%; padding: 12px 16px 0; overflow-x: clip; }
  .install { position: relative; z-index: 2; margin-top: 18px; margin-bottom: 0; }
  .foot {
    height: calc(210px + env(safe-area-inset-bottom, 0px));
    margin-top: -118px;
    margin-bottom: 0;
  }
  .orb--l {
    left: -14vw;
    width: 44vw;
    height: 44vw;
    bottom: calc(-20vw + env(safe-area-inset-bottom, 0px));
    filter: none;
    background: radial-gradient(circle at 36% 24%,
      #d5c8ff 0%,
      #aebfff 28%,
      #5ee9f1 64%,
      #2ee6dc 100%);
  }
  .orb--r {
    right: -12vw;
    width: 40vw;
    height: 40vw;
    bottom: calc(-18vw + env(safe-area-inset-bottom, 0px));
    filter: none;
    background: radial-gradient(circle at 76% 72%,
      #0aefe0 0%,
      #3ef6ec 55%,
      #14f0e2 100%);
  }

  .logo__mark { width: 42px; height: 42px; }
  .logo__text { font-size: 26px; }
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    direction: ltr;
    align-items: end;
    min-height: 0;
    padding: 2px 0 0;
  }
  .hero__text {
    max-width: 100%;
    width: auto;
    align-self: center;
    justify-self: center;
    z-index: 3;
    margin-bottom: 20px;
  }
  .hero__num { font-size: clamp(34px, 11vw, 46px); }
  .hero__word { font-size: clamp(30px, 10vw, 42px); }
  .hero__sub {
    margin-top: 8px;
    font-size: clamp(13px, 3.6vw, 16px);
    max-width: 11em;
    line-height: 1.15;
  }
  .hero__visual {
    position: relative;
    top: 0;
    bottom: auto;
    right: 0;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
  }
  .hero__art {
    width: 100%;
    height: auto;
    margin: 0;
    aspect-ratio: 1477 / 1579;
  }
  .hero__visual img {
   position: absolute;
        width: 160%;
        max-width: none;
        max-height: none;
        height: auto;
        left: 49%;
        right: auto;
        inset-inline-end: auto;
        bottom: -63px;
        transform: translateX(-50%);
        object-fit: contain;
        object-position: center bottom;
  }

  .gen {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    border-radius: 28px;
    padding: 14px;
  }
  .sparks { display: none; }
  .die { width: 56px; height: 56px; }
  .gen__roll {
    flex: 1 1 160px;
    min-height: 56px;
    padding: 8px 14px;
    font-size: 15px;
  }
  .gen__get { flex: 1 1 100%; width: 100%; min-height: 54px; font-size: 18px; }

  .top { margin-top: 22px; }
  .offers {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .offer { padding: 14px; }
  .offer__logo { width: 64px; height: 64px; }

  .banner {
    flex-direction: row;
    min-height: 0;
    margin-top: 18px;
    border-radius: 28px;
  }
  .banner__copy { flex: 1 1 auto; min-width: 0; padding: 20px 16px; }
  .banner h2 { font-size: 32px; }
  .banner__ride { width: 68px; height: 54px; }
  .banner__food {
    position: relative;
    flex: 0 0 46%;
    width: 46%;
    height: 140px;
    top: auto;
    right: auto;
  }
  .banner__food img {
    width: 133%;
    max-width: none;
    position: relative;
    right: auto;
    left: auto;
    bottom: auto;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
  }

  .perks { margin-top: 16px; padding: 8px; border-radius: 22px; }
  .perks ul { grid-template-columns: 1fr 1fr; row-gap: 4px; }
  .perks li { padding: 10px; font-size: 14px; gap: 8px; }
  .perks li + li { border-inline-start: 0; }
  .perks li:nth-child(even) { border-inline-start: 1px solid #ddd8ee; }
  .perks li:nth-child(n+3) { border-top: 1px solid #ddd8ee; }
  .perks svg { width: 30px; height: 30px; }
  .top__icon,
  .perks img { width: 40px; height: auto; }
  .banner__mark { width: 100px; height: auto; }

  .install { margin-top: 20px; }
  .install__btn { width: 100%; min-width: 0; font-size: 24px; padding: 16px 18px; }
}

@media (max-width: 380px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero__text { width: auto; }
  .hero__num { font-size: 32px; }
  .hero__word { font-size: 28px; }
  .hero__sub { font-size: 13px; }
  .banner h2 { font-size: 28px; }
  .gen__roll { font-size: 14px; }
}

body.modal-open { overflow: hidden; }
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(7, 12, 46, .46);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.modal__card {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 28px 22px 22px;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(20, 10, 60, .28);
  text-align: center;
  animation: pop .45s var(--ease);
}
.modal__x {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f4f0ff;
  color: var(--navy);
  cursor: pointer;
}
.modal__x svg { width: 18px; height: 18px; }
.modal__kicker {
  margin: 0 28px 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9a93b5;
}
.modal__load[hidden],
.modal__shop[hidden],
.modal__more[hidden] { display: none; }
.modal__load {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 16px 0 10px;
  color: var(--navy);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.15;
}
.modal__load .die { width: 72px; height: 72px; }
.modal__shop {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding-top: 8px;
  animation: pop .5s var(--ease);
}
.modal__logo {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(40, 20, 80, .14);
}
.modal__who {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.modal__who b {
  font-size: 26px;
  letter-spacing: -.03em;
  color: var(--navy);
}
.modal__shop .badge {
  margin: 0;
  padding: 7px 12px;
  font-size: 18px;
}
.modal__shop .code { width: 100%; min-width: 0; }
.modal__more {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #efeaf8;
  animation: rise .5s var(--ease);
}
.modal__more p {
  margin: 0 0 12px;
  color: var(--navy);
  font-weight: 800;
  font-size: 16px;
}
.modal__dl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 14px 18px;
  border-radius: 999px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
  background: linear-gradient(180deg, #8d4cf8, #5b14d4 60%, #4c0ec8);
  box-shadow: 0 14px 26px rgba(90, 20, 200, .28), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.modal__dl svg { width: 26px; height: 26px; }
.modal__dl:hover { transform: translateY(-2px); }

html[lang="ar"] body,
html[lang="ar"] .logo__text,
html[lang="ar"] .hero__num,
html[lang="ar"] .hero__word,
html[lang="ar"] .hero__sub,
html[lang="ar"] .top__head h2,
html[lang="ar"] .banner h2,
html[lang="ar"] .install__btn,
html[lang="ar"] .gen__roll,
html[lang="ar"] .gen__get,
html[lang="ar"] .modal__who b,
html[lang="ar"] .modal__dl {
  font-family: "Cairo", "Plus Jakarta Sans", system-ui, sans-serif;
  letter-spacing: 0;
}
html[dir="rtl"] .top__all svg { transform: scaleX(-1); }
html[dir="rtl"] .banner h2,
html[dir="rtl"] .banner p,
html[dir="rtl"] .hero__word,
html[dir="rtl"] .hero__sub {
  direction: rtl;
  unicode-bidi: isolate;
  text-align: left;
}
html[dir="rtl"] .orb--l { left: auto; right: -100px; transform: scaleX(-1); }
html[dir="rtl"] .orb--r { right: auto; left: -120px; transform: scaleX(-1); }
@media (max-width: 720px) {
  html[dir="rtl"] .orb--l { left: auto; right: -14vw; }
  html[dir="rtl"] .orb--r { right: auto; left: -12vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
