/* Beepo landing. Same look as the app's "pop" theme: one bright blue,
   heavy tight headlines (Inter Tight), Manrope for text, big borderless
   cards on soft fills, no outlines, no glows. Things move only while they
   are on screen ([data-play].on) and not at all with reduced motion. */

@font-face { font-family: "Inter Tight"; src: url(fonts/InterTight-900.woff2) format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url(fonts/InterTight-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: Manrope; src: url(fonts/Manrope-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Manrope; src: url(fonts/Manrope-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --blue: #1F5BFF;
  --ink: #0E1116;
  --muted: #646C7C;
  --soft: #F1F3F7;
  --night: #121519;
  --shadow: 0 24px 60px -24px rgba(10, 18, 32, .28), 0 6px 16px -8px rgba(10, 18, 32, .12);
  --pop: 0 10px 24px -10px rgba(10, 18, 32, .38);
  --display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --body: Manrope, "Helvetica Neue", Arial, sans-serif;
  --spring: cubic-bezier(.3, 1.4, .5, 1);
  --out: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: #fff;
  color: var(--ink);
  font: 500 18px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
.wrap { max-width: 1232px; margin: 0 auto; padding: 0 32px; }

h1, h2, h3 { font-family: var(--display); font-weight: 900; letter-spacing: -.035em; line-height: .95; text-wrap: balance; }
h2 { font-size: clamp(38px, 4.8vw, 64px); }
h3 { font-weight: 800; font-size: 24px; letter-spacing: -.02em; line-height: 1.1; }
.center { text-align: center; }

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

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 22px/1 var(--display); letter-spacing: -.02em; }
.brand img { border-radius: 11px; }
.nav-end { display: flex; align-items: center; gap: 8px; }
.nav-get {
  background: var(--ink); color: #fff; font: 800 15px/1 var(--display);
  padding: 14px 20px; border-radius: 999px; white-space: nowrap; transition: transform .2s var(--out);
}
.nav-get:hover { transform: translateY(-2px); }
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 7px;
  font: 800 15px/1 var(--display); padding: 12px 14px; border-radius: 999px; background: var(--soft);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 190px;
  list-style: none; padding: 8px; background: #fff; border-radius: 20px; box-shadow: var(--shadow);
}
.lang ul a { display: block; padding: 11px 14px; border-radius: 12px; font-weight: 700; }
.lang ul a:hover { background: var(--soft); }
.lang a[aria-current] { color: var(--blue); }

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

.hero {
  position: relative; overflow: hidden;
  width: calc(100% - 32px); max-width: 1400px; margin: 4px auto 0;
  border-radius: 40px; background: var(--blue); color: #fff;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 88px 48px 0;
}
.hero-text { display: flex; flex-direction: column; align-items: center; max-width: 1180px; }
.hero h1 { font-size: clamp(50px, 7.3vw, 112px); line-height: .9; letter-spacing: -.045em; }
.lead { font-size: 21px; line-height: 1.45; color: rgba(255, 255, 255, .88); max-width: 36ch; margin: 28px 0 36px; }
.store { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.gp { display: inline-flex; align-items: center; gap: 14px; height: 66px; padding: 0 30px 0 24px; border-radius: 999px;
      background: #000; color: #fff; text-decoration: none; transition: transform .2s var(--out); }
.gp:hover { transform: translateY(-3px); }
.gp img { width: 28px; height: auto; flex: none; }
.gp span { display: flex; flex-direction: column; align-items: flex-start; }
.gp small { font: 700 11.5px/1.2 var(--body); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 2px; }
.gp b { font: 700 23px/1.05 var(--body); letter-spacing: -.01em; }

.hero-visual { position: relative; width: 100%; display: flex; justify-content: center; padding-top: 72px; }
.phone {
  position: relative; width: 340px; padding: 11px;
  background: #0B0D12; border-radius: 56px;
  box-shadow: 0 50px 90px -40px rgba(4, 14, 60, .7);
}
.hero .phone { margin-bottom: -250px; }
.screen { position: relative; overflow: hidden; border-radius: 45px; background: #EEF1F6; }
.island { position: absolute; top: 24px; left: 50%; width: 98px; height: 29px; transform: translateX(-50%); background: #0B0D12; border-radius: 20px; z-index: 6; }
.map-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drive-path { position: absolute; width: 0; height: 0; visibility: hidden; }
.search {
  position: absolute; top: 60px; left: 14px; right: 14px; z-index: 3; height: 50px;
  display: flex; align-items: center; gap: 10px; padding: 0 18px;
  background: #fff; border-radius: 999px; box-shadow: var(--pop);
  font: 700 15px/1 var(--body); color: #7D8696;
}
.search svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; }

.hero .mascot-wrap { position: absolute; z-index: 4; width: 310px; left: calc(50% - 400px); bottom: 28px; }
.mascot { position: relative; filter: drop-shadow(0 26px 22px rgba(4, 16, 80, .35)); animation: bob 2.8s ease-in-out infinite; transform-origin: 50% 100%; }
.mascot img { width: 100%; }
.blink { position: absolute; background: url(img/blink.webp) 0 0 / 100% 300% no-repeat; opacity: 0; animation: blink 7s step-end infinite; }
.cta .blink { animation-delay: -3.1s; }

.float-eta {
  position: absolute; z-index: 4; left: calc(50% + 130px); top: 250px; width: 300px;
  display: grid; grid-template-columns: 40px 1fr; gap: 10px 12px; align-items: center; text-align: left;
  background: #fff; color: var(--ink); border-radius: 22px; padding: 12px 18px 14px 12px;
  box-shadow: 0 26px 50px -24px rgba(4, 14, 60, .6); rotate: 3deg;
  animation: float 5s ease-in-out infinite;
}
.float-eta .eta-ico { background: var(--blue); }
.float-eta .eta-text span { color: var(--muted); opacity: 1; }
.float-eta .eta-track { background: #E6EBF4; }
.float-eta .eta-track i { background: var(--blue); animation: fill 7s ease-in-out infinite; }

/* entrance */
.rise { animation: rise .9s var(--out) both; }
.hero-text .rise:nth-child(2) { animation-delay: .08s; }
.hero-text .rise:nth-child(3) { animation-delay: .16s; }
.hero .phone { animation: rise 1s .2s var(--out) both; }
.hero .mascot-wrap { animation: drive-in 1.1s .45s var(--spring) both; }
.hero .float-eta { animation: pop .6s .9s var(--spring) both, float 5s 1.5s ease-in-out infinite; }

/* pins on the maps: an anchor point with the avatar centred on it */
.pin { position: absolute; z-index: 2; width: 0; height: 0; }
.pin .ava {
  position: absolute; left: -28px; top: -28px; width: 56px; height: 56px; max-width: none;
  border-radius: 50%; border: 3px solid #fff; object-fit: cover; box-shadow: var(--pop);
}
.pin.live::before {
  content: ""; position: absolute; left: -28px; top: -28px; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(31, 91, 255, .32); animation: ping 2.6s ease-out infinite;
}
.pin .tag {
  position: absolute; left: 36px; top: -26px; white-space: nowrap; width: max-content;
  display: flex; flex-direction: column; gap: 1px;
  background: #fff; color: var(--ink); border-radius: 16px; padding: 7px 12px 8px;
  font: 700 13px/1.25 var(--body); box-shadow: var(--pop); text-align: left;
}
.pin .tag b { font: 800 14px/1.2 var(--display); letter-spacing: -.01em; }
.pin.left .tag { left: auto; right: 36px; }
.pin.up .tag { left: 0; top: -82px; transform: translateX(-50%); align-items: center; }
.pin.drive { z-index: 3; }
.pin.drive .car { position: absolute; width: 24px; max-width: none; left: -12px; top: -26px; transform: rotate(var(--r, 0deg)); filter: drop-shadow(0 4px 4px rgba(10, 18, 32, .35)); }
.pin.drive .tag {
  left: 0; top: -76px; transform: translateX(-50%);
  flex-direction: row; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px;
}
.pin.drive .tag img { width: 28px; height: 28px; max-width: none; flex: none; border-radius: 50%; }
.pin.drive em { font: 800 14px/1 var(--display); font-style: normal; color: var(--blue); font-variant-numeric: tabular-nums; }
.visual .pin .ava, .visual .pin.live::before { left: -24px; top: -24px; width: 48px; height: 48px; }
.visual .pin .tag { left: 32px; top: -24px; }
.visual .pin.left .tag { left: auto; right: 32px; }
.pin.pop { scale: 0; }
.on .pin.pop { scale: 1; animation: pop .55s calc(var(--k) * .22s + .15s) var(--spring) both; }

/* ------------------------------------------------------------ blocks */

.block { margin-top: 136px; }
.block > h2 { margin-bottom: 48px; }
.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--soft); border-radius: 32px; padding: 12px 12px 32px; }
.card > h3 { padding: 0 18px; margin-bottom: 10px; }
.card > p { padding: 0 18px; color: var(--muted); font-size: 17px; }
.visual { position: relative; overflow: hidden; border-radius: 22px; background: #fff; margin-bottom: 28px; aspect-ratio: 1.3; }
.cards.two .visual { aspect-ratio: 1.5; }

html.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--out), transform .8s var(--out); }
html.js [data-reveal].seen { opacity: 1; transform: none; }

/* chat */
.chat { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 22px; }
.eta {
  align-self: flex-end; width: min(90%, 300px);
  display: grid; grid-template-columns: 40px 1fr; gap: 12px 12px; align-items: center;
  background: var(--blue); color: #fff; border-radius: 22px 22px 6px 22px; padding: 14px 16px 16px;
  box-shadow: 0 16px 30px -16px rgba(31, 91, 255, .6);
}
.eta-ico { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.eta-ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.eta-text { display: flex; flex-direction: column; }
.eta-text b { font: 800 18px/1.15 var(--display); letter-spacing: -.01em; }
.eta-text span { font-size: 14px; opacity: .86; }
.eta-track { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.eta-track i { display: block; width: 64%; height: 100%; border-radius: 3px; background: #fff; }
.msg { display: flex; align-items: flex-end; gap: 8px; max-width: 100%; }
.msg img { width: 36px; height: 36px; border-radius: 50%; flex: none; object-fit: cover; }
.msg p { position: relative; background: var(--soft); border-radius: 20px 20px 20px 6px; padding: 11px 15px; font-size: 15px; line-height: 1.35; }
.dots { position: absolute; left: 15px; top: 50%; display: flex; gap: 4px; transform: translateY(-50%); opacity: 0; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #9AA3B3; animation: dot 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
.on.talk .eta { animation: talk-eta 9s var(--out) infinite; }
.on.talk .eta-track i { animation: fill 9s ease-in-out infinite; }
.on.talk .reply { animation: talk-reply 9s infinite; }
.on.talk .dots { animation: talk-dots 9s infinite; }
.on.talk .reply .text { animation: talk-text 9s infinite; }

.stickers { justify-content: space-between; }
.giant { align-self: flex-end; margin-right: 34px; font-size: 112px; line-height: 1; rotate: 9deg; }
.on .giant { animation: beat 1.6s ease-in-out infinite; }
.strip { position: relative; display: flex; justify-content: space-between; background: var(--soft); border-radius: 999px; padding: 8px 16px; font-size: 24px; line-height: 1.2; }
.strip span { display: block; }
.on .strip span { animation: hop 2.4s ease-in-out infinite; }
.strip span:nth-child(2) { animation-delay: .12s !important; }
.strip span:nth-child(3) { animation-delay: .24s !important; }
.strip span:nth-child(4) { animation-delay: .36s !important; }
.strip span:nth-child(5) { animation-delay: .48s !important; }
.strip span:nth-child(6) { animation-delay: .6s !important; }
.fly { position: absolute; z-index: 3; font-size: 30px; line-height: 1; pointer-events: none; animation: fly 2.4s ease-out forwards; }

/* ------------------------------------------------------------ worlds */

.worlds {
  position: relative; overflow: hidden;
  width: calc(100% - 32px); max-width: 1400px; margin: 136px auto 0;
  border-radius: 40px; color: #fff; padding: 88px 40px 72px;
  background: linear-gradient(180deg, #2C68FF 0%, #1F5BFF 45%, #1748D8 100%);
}
.worlds-text { position: relative; z-index: 4; text-align: center; max-width: 860px; margin: 0 auto; }
.worlds h2 { font-size: clamp(42px, 5.6vw, 80px); letter-spacing: -.045em; }
.worlds-text p { font-size: 20px; color: rgba(255, 255, 255, .86); margin-top: 20px; }
.stage { position: relative; max-width: 1200px; margin: 32px auto 0; aspect-ratio: 1200 / 750; }
.layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.layer.back { z-index: 1; }
.layer.front { z-index: 3; }
.layer.mob { display: none; }
.road { fill: none; stroke: #A8C6FF; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 26 20; opacity: .9; }
.on .road { animation: march 1.4s linear infinite; }
.cloud { position: absolute; max-width: none; height: auto; translate: -50% -50%; }
.on .cloud { animation: drift 26s ease-in-out infinite alternate; }
.cloud:nth-child(2) { animation-duration: 33s !important; animation-delay: -9s !important; }
.cloud:nth-child(3) { animation-duration: 29s !important; animation-delay: -17s !important; }

.world {
  position: absolute; z-index: 2; margin: 0;
  left: var(--x); top: var(--y); width: var(--w);
  margin-left: calc(var(--w) / -2); margin-top: calc(var(--w) / -2);
}
html.js .world { opacity: 0; scale: .7; }
html.js .seen .world { opacity: 1; scale: 1; transition: opacity .6s var(--out), scale .9s var(--spring); transition-delay: calc(var(--i) * .11s); }
.disc {
  position: relative; padding: 3.4%; background: #fff; border-radius: 50%;
  box-shadow: 0 34px 60px -26px rgba(4, 12, 60, .7);
}
.on .disc { animation: float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.1s); }
.disc-map { position: relative; border-radius: 50%; overflow: hidden; aspect-ratio: 1; isolation: isolate; }
.disc-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.casing, .line { fill: none; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.casing { stroke-width: 11; }
.line { stroke-width: 6.5; }
.on .casing, .on .line { animation: draw 6.6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.07s); }
.dest { position: absolute; width: 15%; margin: -15% 0 0 -7.5%; transform-origin: 50% 100%; }
.on .dest { animation: drop 6.6s infinite; animation-delay: calc(var(--i) * -1.07s); }
.mark { position: absolute; left: 50%; top: 50%; width: 19%; margin: -9.5% 0 0 -9.5%; transform: rotate(var(--r)); filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .3)); }
.mark.car { width: 9.5%; margin: -10.1% 0 0 -4.75%; }
.poi { position: absolute; z-index: 2; width: 27%; margin: -13.5% 0 0 -13.5%; filter: drop-shadow(0 10px 12px rgba(4, 12, 60, .35)); }
.on .poi { animation: bobble 3.4s ease-in-out infinite; animation-delay: calc(var(--k) * -1.1s - var(--i) * .5s); }
.world figcaption {
  position: absolute; left: 50%; top: calc(100% + 14px); translate: -50% 0; rotate: -2deg;
  white-space: nowrap; font: 900 clamp(16px, 1.9vw, 25px)/1 var(--display); letter-spacing: -.02em;
}
.world:nth-of-type(even) figcaption { rotate: 2deg; }

/* ------------------------------------------------------------ video */

.video {
  position: relative; overflow: hidden;
  width: calc(100% - 32px); max-width: 1400px; margin: 24px auto 0;
  border-radius: 40px; background: var(--night); color: #fff;
  display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center;
  padding: 88px 112px 88px 96px;
}
.video h2 { font-size: clamp(40px, 5vw, 72px); letter-spacing: -.045em; }
.video-text p { font-size: 20px; color: rgba(255, 255, 255, .72); margin-top: 24px; max-width: 34ch; }
.share { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.share li {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 17px 11px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); font: 800 15px/1 var(--display); color: rgba(255, 255, 255, .86);
}
.share li.on { background: var(--blue); color: #fff; }
.share svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reel-phone { width: 330px; }
.reel { aspect-ratio: 360 / 640; container-type: inline-size; background: #0B1220; }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hud { position: absolute; inset: 0; font-family: var(--display); color: #fff; text-align: left; pointer-events: none; }
.hud-head { position: absolute; left: 6.67cqw; top: 8.3cqw; display: flex; align-items: center; gap: 2.2cqw; font: 800 3.6cqw/1 var(--display); color: rgba(255, 255, 255, .85); }
.hud-head img { width: 6.1cqw; height: 6.1cqw; border-radius: 1.7cqw; }
.hud-title { position: absolute; left: 6.67cqw; top: 17.6cqw; font: 900 7.5cqw/1.1 var(--display); letter-spacing: -.02em; }
.hud-sub { position: absolute; left: 6.67cqw; top: 27.6cqw; font: 700 4cqw/1.1 var(--body); color: rgba(255, 255, 255, .7); }
.hud-live, .hud-total { position: absolute; left: 6.67cqw; right: 6.67cqw; top: 135cqw; transition: opacity .3s; }
.hud-total { opacity: 0; top: 136.7cqw; }
.bars { display: flex; gap: .84cqw; height: 7.2cqw; }
.bars i { flex: 1; border-radius: .84cqw; background: rgba(255, 255, 255, .18); }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; margin-top: 5.6cqw; }
.cols b { display: block; font: 900 9.4cqw/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; white-space: nowrap; }
.hud-total .cols b { font-size: 7.4cqw; }
.cols span { display: block; margin-top: 1.4cqw; font: 800 3cqw/1 var(--display); letter-spacing: .28cqw; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.band { display: flex; height: 3.3cqw; border-radius: 1.7cqw; overflow: hidden; margin-top: 2cqw; }

/* ------------------------------------------------------------ board and levels */

.board { display: flex; flex-direction: column; justify-content: center; padding: 22px 26px; }
.board-head { font: 800 13px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px 12px; }
.board ol { list-style: none; padding: 0; display: grid; gap: 4px; }
.board li {
  display: grid; grid-template-columns: 22px 40px 1fr auto; align-items: center; gap: 12px;
  padding: 8px 16px 8px 10px; border-radius: 18px; font: 800 17px/1 var(--display);
  transition: transform .7s var(--spring); position: relative; z-index: 1;
}
.board li img { width: 40px; height: 40px; max-width: none; border-radius: 50%; object-fit: cover; }
.board li b { min-width: 0; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board .n { color: var(--muted); text-align: center; }
.board .v { font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.board li.me { background: var(--blue); color: #fff; box-shadow: 0 14px 26px -14px rgba(31, 91, 255, .7); z-index: 2; }
.board li.me .n { color: rgba(255, 255, 255, .75); }
.toast {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  background: var(--ink); color: #fff; border-radius: 999px; padding: 9px 15px;
  font: 800 14px/1 var(--display); opacity: 0; translate: 0 -8px; transition: opacity .35s, translate .5s var(--spring);
}
.toast.show { opacity: 1; translate: 0 0; }

.levels { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 22px 30px; }
.lvl-top { display: flex; align-items: center; justify-content: space-between; }
.lvl-num { font: 900 32px/1 var(--display); letter-spacing: -.03em; }
.gain { background: #2BD46A; color: #06300F; font: 900 15px/1 var(--display); padding: 8px 12px; border-radius: 999px; opacity: 0; }
.on .gain { animation: gain 6s var(--out) infinite; }
.xp { height: 14px; border-radius: 7px; background: #E4E9F2; overflow: hidden; }
.xp i { display: block; height: 100%; width: 80%; border-radius: 7px; background: var(--blue); }
.on .xp i { animation: xp 6s var(--out) infinite; }
.lvl-next { font-size: 15px; color: var(--muted); }
.lvl-next b { color: var(--ink); font-variant-numeric: tabular-nums; }
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.badges figure { margin: 0; text-align: center; }
.badge { position: relative; display: block; width: 74px; margin: 0 auto; }
.badge svg { position: absolute; left: 32%; top: 22%; width: 36%; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.badges figcaption { margin-top: 6px; font: 800 13px/1.15 var(--display); }
.on .badges figure { animation: pop .6s var(--spring) both; }
.badges figure:nth-child(2) { animation-delay: .12s !important; }
.badges figure:nth-child(3) { animation-delay: .24s !important; }
.on .badge.gold { animation: swing 3.2s 1s ease-in-out infinite; transform-origin: 50% 10%; }

/* features */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat { background: var(--soft); border-radius: 28px; padding: 28px 26px 30px; transition: transform .3s var(--out); }
.feat:hover { transform: translateY(-4px); }
.feat svg {
  width: 48px; height: 48px; padding: 12px; border-radius: 16px; background: #fff; margin-bottom: 24px;
  fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .4s var(--spring);
}
.feat:hover svg { transform: rotate(-8deg) scale(1.08); }
.feat h3 { font-size: 21px; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 16px; }

/* privacy */
.privacy {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: center;
  background: var(--night); color: #fff; border-radius: 32px; padding: 64px 64px 56px;
}
.privacy p { color: rgba(255, 255, 255, .72); font-size: 19px; margin-top: 22px; max-width: 34ch; }
.ghost-side { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ghost { width: 100%; max-width: 300px; filter: drop-shadow(0 26px 24px rgba(0, 0, 0, .45)); }
.on .ghost { animation: haunt 7s ease-in-out infinite; }
.switch { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 7px 16px 7px 7px; font: 800 15px/1 var(--display); }
.switch i { position: relative; width: 44px; height: 26px; border-radius: 13px; background: rgba(255, 255, 255, .22); }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.on .switch i { animation: switch-bg 7s infinite; }
.on .switch i::after { animation: switch-knob 7s var(--spring) infinite; }

/* final call */
.cta {
  width: calc(100% - 32px); max-width: 1400px; margin: 136px auto 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--blue); color: #fff; border-radius: 40px; padding: 56px 24px 80px; overflow: hidden;
}
.cta-mascot { width: min(360px, 72vw); margin-bottom: 4px; }
html.js .cta .cta-mascot { translate: -80vw 0; }
html.js .cta.seen .cta-mascot { translate: 0 0; transition: translate 1.3s var(--spring); }
.cta h2 { font-size: clamp(46px, 6vw, 88px); letter-spacing: -.045em; }
.cta p { font-size: 20px; color: rgba(255, 255, 255, .88); margin: 18px 0 32px; }

/* footer */
.foot { margin-top: 24px; }
.foot-in { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 56px; padding-bottom: 56px; text-align: center; }
.foot .brand { font-size: 19px; }
.foot .brand img { border-radius: 9px; }
.foot-legal { display: flex; justify-content: center; gap: 8px 24px; flex-wrap: wrap; }
.foot-legal a { color: var(--muted); font-weight: 700; font-size: 15px; }
.foot a:hover, .foot-legal a[aria-current] { color: var(--ink); }
.copy { color: var(--muted); font-size: 13px; opacity: .8; }

/* legal pages */
.legal { max-width: 800px; padding-top: 64px; padding-bottom: 32px; }
.legal h1 { font-size: clamp(40px, 6vw, 68px); letter-spacing: -.045em; }
.updated { color: var(--muted); font-size: 15px; margin-top: 14px; }
.doc { margin-top: 36px; }
.doc .lede { font-size: 20px; line-height: 1.55; color: var(--ink); }
.doc h2 { font-size: clamp(26px, 3vw, 32px); line-height: 1.1; letter-spacing: -.025em; margin: 48px 0 14px; }
.doc h3 { font-size: 20px; margin: 28px 0 8px; }
.doc p, .doc li { font-size: 17px; line-height: 1.65; color: #3A4150; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin: 12px 0; display: grid; gap: 6px; }
.doc a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.doc b { color: var(--ink); }

a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 12px; }
.hero a:focus-visible, .cta a:focus-visible { outline-color: #fff; }

/* ------------------------------------------------------------ motion */

@keyframes rise { from { opacity: 0; transform: translateY(40px); } }
@keyframes pop { from { scale: 0; } }
@keyframes drive-in { from { translate: -70vw 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(-1.2deg); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes blink {
  0%, 44% { opacity: 0; background-position: 0 0; }
  44.6% { opacity: 1; background-position: 0 0; }
  45.2% { opacity: 1; background-position: 0 50%; }
  45.8% { opacity: 1; background-position: 0 100%; }
  47% { opacity: 1; background-position: 0 50%; }
  47.6% { opacity: 1; background-position: 0 0; }
  48.2%, 89% { opacity: 0; background-position: 0 0; }
  89.6% { opacity: 1; background-position: 0 50%; }
  90.2% { opacity: 1; background-position: 0 100%; }
  91% { opacity: 1; background-position: 0 50%; }
  91.6%, 92.4% { opacity: 0; background-position: 0 0; }
  93% { opacity: 1; background-position: 0 50%; }
  93.6% { opacity: 1; background-position: 0 100%; }
  94.4% { opacity: 1; background-position: 0 50%; }
  95%, 100% { opacity: 0; background-position: 0 0; }
}
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
@keyframes fill { 0% { width: 18%; } 80%, 100% { width: 92%; } }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes talk-eta { 0% { opacity: 0; transform: translateX(40px); } 7%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes talk-reply { 0%, 22% { opacity: 0; transform: translateY(14px); } 27%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes talk-dots { 0%, 24% { opacity: 1; } 44%, 100% { opacity: 0; } }
@keyframes talk-text { 0%, 44% { opacity: 0; } 48%, 100% { opacity: 1; } }
@keyframes beat { 0%, 100% { scale: 1; } 14% { scale: 1.16; } 28% { scale: 1; } 42% { scale: 1.1; } 56% { scale: 1; } }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0); } 70% { transform: translateY(-9px) rotate(-8deg); } 80% { transform: translateY(0); } }
@keyframes fly { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 15% { opacity: 1; transform: translate(calc(var(--dx) * .2), -40px) scale(1.1); } 100% { opacity: 0; transform: translate(var(--dx), -190px) scale(1) rotate(var(--rot)); } }
@keyframes march { to { stroke-dashoffset: -46; } }
@keyframes drift { from { transform: translateX(-30px); } to { transform: translateX(30px); } }
@keyframes draw { 0%, 6% { stroke-dashoffset: 1; opacity: 1; } 40% { stroke-dashoffset: 0; } 88% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes drop { 0%, 38% { transform: scale(0); } 44% { transform: scale(1.2); } 48%, 88% { transform: scale(1); } 96%, 100% { transform: scale(0); } }
@keyframes bobble { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(4deg); } }
@keyframes gain { 0%, 12% { opacity: 0; transform: translateY(10px) scale(.8); } 18% { opacity: 1; transform: none; } 70% { opacity: 1; transform: none; } 80%, 100% { opacity: 0; transform: translateY(-12px); } }
@keyframes xp { 0%, 14% { width: 62%; } 40%, 100% { width: 80%; } }
@keyframes swing { 0%, 100% { rotate: 0deg; } 20% { rotate: 7deg; } 40% { rotate: -5deg; } 60% { rotate: 2deg; } 70% { rotate: 0deg; } }
@keyframes haunt { 0%, 40% { opacity: 1; transform: translateY(0); } 20% { transform: translateY(-12px); } 50%, 88% { opacity: .22; transform: translateY(-6px) scale(.97); } 70% { transform: translateY(-16px) scale(.97); } 96%, 100% { opacity: 1; transform: translateY(0); } }
@keyframes switch-bg { 0%, 44% { background: rgba(255, 255, 255, .22); } 48%, 90% { background: #1F5BFF; } 94%, 100% { background: rgba(255, 255, 255, .22); } }
@keyframes switch-knob { 0%, 44% { transform: none; } 50%, 90% { transform: translateX(18px); } 96%, 100% { transform: none; } }

/* ------------------------------------------------------------ smaller screens */

@media (max-width: 1080px) {
  .feats { grid-template-columns: repeat(2, 1fr); }
  .video { padding: 72px 56px; gap: 40px; }
  .reel-phone { width: 290px; }
}

@media (max-width: 960px) {
  .hero { padding-top: 72px; }
  .hero .mascot-wrap { width: 260px; left: calc(50% - 330px); }
  .float-eta { left: calc(50% + 90px); }
  .cards.three, .cards.two { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .video { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .video-text p { margin-left: auto; margin-right: auto; }
  .share { justify-content: center; }
  .privacy { grid-template-columns: 1fr; }
  .ghost { max-width: 240px; }
}

@media (max-width: 760px) {
  .worlds { padding: 64px 16px 56px; }
  .stage { aspect-ratio: 400 / 1290; max-width: 440px; margin-top: 12px; }
  .layer.desk { display: none; }
  .layer.mob { display: block; }
  .world { left: var(--mx); top: var(--my); width: var(--mw); margin-left: calc(var(--mw) / -2); margin-top: calc(var(--mw) / -2); }
  .disc { padding: 4%; }
  .world figcaption { top: calc(100% + 10px); font-size: 17px; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .nav-in { height: 64px; }
  .brand { font-size: 20px; gap: 8px; }
  .brand img { width: 34px; height: 34px; border-radius: 10px; }
  .nav-get { padding: 12px 16px; font-size: 14px; }
  .lang summary { padding: 11px 12px; font-size: 14px; }
  .lang summary svg { display: none; }

  .hero { width: calc(100% - 16px); border-radius: 32px; padding: 44px 20px 0; }
  .hero h1 { font-size: clamp(38px, 11.4vw, 56px); }
  .lead { font-size: 18px; margin: 20px 0 28px; }
  .store { flex-direction: column; gap: 14px; }
  .hero-visual { padding-top: 40px; }
  .phone { width: 262px; padding: 9px; border-radius: 46px; }
  .hero .phone { margin-bottom: -200px; }
  .screen { border-radius: 37px; }
  .island { top: 19px; width: 80px; height: 24px; }
  .search { top: 50px; left: 11px; right: 11px; height: 42px; font-size: 14px; padding: 0 14px; }
  .hero .mascot-wrap { width: 170px; left: calc(50% - 196px); bottom: 34px; }
  .float-eta { display: none; }
  .pin .ava, .pin.live::before { left: -23px; top: -23px; width: 46px; height: 46px; }
  .pin .tag { left: 28px; top: -22px; padding: 6px 10px 7px; font-size: 12px; border-radius: 14px; }
  .pin .tag b { font-size: 13px; }
  .pin.left .tag { right: 28px; }
  .pin.drive .tag { top: -66px; }
  .pin.drive .car { width: 20px; left: -10px; top: -21px; }
  .pin.up .tag { top: -74px; }

  .block { margin-top: 88px; }
  .block > h2 { margin-bottom: 28px; }
  h2 { font-size: clamp(34px, 10vw, 44px); }
  .card { border-radius: 28px; padding: 10px 10px 26px; }
  .card > h3, .card > p { padding: 0 12px; }
  .visual { margin-bottom: 22px; border-radius: 20px; }
  .cards.two .visual { aspect-ratio: 1.08; }
  .board { padding: 16px 14px; }
  .levels { padding: 18px 18px; }

  .worlds, .video, .cta { width: calc(100% - 16px); border-radius: 32px; }
  .worlds { margin-top: 88px; }
  .worlds h2, .video h2 { font-size: clamp(36px, 10.4vw, 48px); }
  .worlds-text p, .video-text p { font-size: 17px; }
  .video { margin-top: 16px; padding: 56px 20px 48px; gap: 36px; }
  .share { margin-top: 26px; gap: 8px; }
  .share li { font-size: 14px; padding: 9px 14px 9px 11px; }
  .reel-phone { width: 260px; }

  .feats { grid-template-columns: 1fr; gap: 12px; }
  .feat { display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; padding: 20px; border-radius: 24px; }
  .feat svg { grid-row: span 2; margin: 0; }
  .feat h3 { margin: 2px 0 0; font-size: 19px; }
  .privacy { padding: 40px 24px 32px; border-radius: 28px; }
  .privacy p { font-size: 17px; }
  .cta { margin-top: 88px; padding: 40px 20px 56px; }
  .cta p { font-size: 18px; }
  .foot-in { padding-top: 40px; }
  .legal { padding-top: 40px; }
  .doc p, .doc li { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js [data-reveal], html.js .world, html.js .cta .cta-mascot { opacity: 1; transform: none; scale: 1; translate: none; }
  .pin.pop { scale: 1; }
  .road-car { display: none; }
}
