/* RushB — public website
   Design source: Figma "App-RushB" → section "Only Mobile" → "Home Only Mobile" (1440px desktop).
   Mobile layout is derived from the desktop design (no mobile mockup exists). */

:root {
  --bg: #0e0f13;
  --bg-2: #191a1d;
  --accent: #00ffc4;
  --accent-2: #05e0b2;
  --white: #fff;
  --font-display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --font-body: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --gutter: 120px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -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; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
.accent { color: var(--accent); }
.br-desktop { display: inline; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: #000; padding: 10px 16px; border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 10px 24px; border-radius: 322px;
  font-family: var(--font-display); font-size: 14px; line-height: 1; white-space: nowrap;
  transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease, opacity .25s ease;
}
.btn--soft { background: rgba(5, 224, 178, .1); color: var(--accent); }
.btn--soft:hover { background: rgba(5, 224, 178, .2); box-shadow: 0 0 32px rgba(0, 255, 196, .25); }
.btn--primary {
  width: 100%; height: 60px; border-radius: 16px;
  background: var(--accent); color: #000; border: 1px solid var(--white);
  font-size: 16px;
}
.btn--primary:not(:disabled):hover { box-shadow: 0 0 40px rgba(0, 255, 196, .45); transform: translateY(-1px); }
.btn--primary:disabled { opacity: .3; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  height: 124px; padding: 32px 40px;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.site-header__logo img { width: 139px; height: auto; }
.site-header__logo { margin-top: 0; }
.site-header__cta { width: 172px; margin-top: 4px; }

.site-nav {
  position: absolute; left: 50%; top: 36px; transform: translateX(-50%);
  display: flex; align-items: center; padding: 4px; border-radius: 322px;
  background: rgba(255, 255, 255, .03);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.site-nav__link { white-space: nowrap;
  height: 44px; padding: 10px 24px; border-radius: 322px;
  display: inline-flex; align-items: center;
  font-size: 14px; line-height: 1; color: rgba(255, 255, 255, .6);
  transition: color .2s ease, background .2s ease;
}
.site-nav__link:hover { color: var(--white); }
.site-nav__link.is-active {
  color: var(--white); font-weight: 600;
  background: linear-gradient(-23deg, rgba(5, 224, 178, 0) 42.9%, rgba(5, 224, 178, .05) 113.7%), rgba(255, 255, 255, .04);
}
.burger { display: none; }

/* ---------- Decorative dots (twinkle) ---------- */
.dots { position: absolute; width: 2px; height: 2px; border-radius: 50%; pointer-events: none; z-index: 1; }
.dots::before, .dots::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  animation: twinkle 3.2s ease-in-out infinite;
}
.dots::before {
  box-shadow:
    305px 239px 0 0 rgba(255,255,255,.5), 139px 169px 0 0 rgba(255,255,255,.4), 389px 184px 0 0 rgba(255,255,255,.55),
    355px 154px 0 0 rgba(255,255,255,.35), 360px 62px 0 0 rgba(255,255,255,.5);
}
.dots::after {
  animation-delay: 1.6s;
  box-shadow:
    315px 0 0 0 rgba(255,255,255,.45), 160px 8px 0 0 rgba(255,255,255,.4), 85px 66px 0 0 rgba(255,255,255,.5),
    0 134px 0 0 rgba(255,255,255,.35), 77px 237px 0 0 rgba(255,255,255,.45);
}
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 136px 0 72px;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg img {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: max(1440px, 100%); max-width: none; height: auto;
}
.hero__bg::after { /* blends the bottom of the photo into the page */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 220px;
  background: linear-gradient(to bottom, rgba(14,15,19,0), var(--bg));
}
.dots--hero { left: calc(50% - 200px); top: 560px; }

.hero__inner {
  position: relative; z-index: 2;
  max-width: 1360px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 16fr) minmax(0, 38fr);
  align-items: center;
}
.hero__content { position: relative; z-index: 3; grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; }
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(48px, 4.45vw, 64px); line-height: 1; letter-spacing: -0.06em; text-transform: uppercase;
  max-width: 600px;
}
.hero__lead { margin-top: 16px; max-width: 520px; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .7); }

.hero__cta { position: relative; margin-top: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hero__glow {
  position: absolute; top: 60px; left: 40px; width: 260px; height: 90px;
  background: var(--accent); border-radius: 100px; filter: blur(60px); opacity: .28; z-index: -1;
}
.download-card {
  width: 440px; padding: 20px; border-radius: 20px;
  display: flex; flex-direction: column; gap: 18px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.download-card__top { display: flex; align-items: center; gap: 20px; }
.download-card__qr { width: 128px; height: 128px; padding: 8px; background: #fff; border-radius: 12px; flex: none; }
.download-card__text { display: flex; flex-direction: column; gap: 10px; }
.download-card__title { font-family: var(--font-display); font-size: 20px; line-height: 1.1; letter-spacing: -0.02em; }
.download-card__desc { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .7); }
.download-card .store-buttons { margin: 0; }
.download-card { text-align: left; }
.download-card .store-btn { flex: 1; justify-content: center; }

.store-buttons { display: flex; gap: 12px; margin-top: -8px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 60px; padding: 12px 18px 14px 10px; border-radius: 12px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  text-align: left;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.store-btn:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); transform: translateY(-1px); }
.store-btn img { width: 32px; height: 32px; flex: none; }
.store-btn__text { display: flex; flex-direction: column; gap: 4px; }
.store-btn__small { font-size: 8px; font-weight: 500; line-height: 1; opacity: .4; }
.store-btn__big { font-size: 20px; font-weight: 600; line-height: 1; white-space: nowrap; }

.rating { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1.4; }
.rating__stars { display: flex; }
.rating__stars img { width: 20px; height: 20px; margin-right: -3px; }
.rating__stars img:last-child { margin-right: 0; }
.rating__text strong { font-weight: 700; }
.rating__count { color: rgba(255, 255, 255, .3); }

/* the character stands between the text and the phones */
.hero__character {
  grid-column: 2; grid-row: 1; justify-self: center; align-self: end;
  position: relative; z-index: 1; width: clamp(260px, 23.6vw, 360px); margin: 0 -120px -48px; pointer-events: none;
  transform: translateX(-12px);
}
.hero__character img { width: 100%; height: auto; }
.phones--hero { grid-column: 3; grid-row: 1; justify-self: end; width: 100%; max-width: 500px; }

/* ---------- Phone fan (hero and inner pages) ---------- */
.phones { position: relative; z-index: 2; aspect-ratio: 540 / 600; }
.phones::before { /* soft accent glow behind the phones */
  content: ""; position: absolute; left: 50%; top: 8%; width: 90%; height: 70%; transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 40%, rgba(0,255,196,.28), rgba(0,255,196,0) 65%); filter: blur(30px); z-index: -1;
}
/* phone outline frame (from the Figma hero: glass fill + accent gradient stroke) */
.phone {
  position: relative; padding: 2.5%; border-radius: 16.5% / 7.8%;
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.phone::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.7%; pointer-events: none;
  background: radial-gradient(ellipse 75% 45% at 50% 0%, #00ffc4 0%, rgba(0,255,196,.45) 55%, rgba(0,255,196,.16) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.phone img { display: block; width: 100%; height: auto; }

.phones__item {
  position: absolute; top: 0;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
  -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent 99%);
          mask-image: linear-gradient(to bottom, #000 84%, transparent 99%);
}
.phones__item--front { left: 25%; width: 50%; z-index: 3; }
.phones__item--left, .phones__item--right { top: 9%; width: 42%; z-index: 1; filter: brightness(.72); }
.phones__item--left { left: 0; transform: rotate(-7deg); transform-origin: 100% 100%; }
.phones__item--right { right: 0; transform: rotate(7deg); transform-origin: 0 100%; }
.phones--single { aspect-ratio: 300 / 600; max-width: 300px; }
.phones--single .phones__item--front { left: 0; width: 100%; }

/* ---------- Shared section bits ---------- */
.section-head { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: 72px; line-height: 1; letter-spacing: -0.04em; text-transform: uppercase;
}
.section-lead { max-width: 662px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .7); }
.bg-word {
  position: absolute; left: 50%; transform: translateX(-50%);
  max-width: none; pointer-events: none; z-index: 0; user-select: none;
}
.graffiti { position: absolute; pointer-events: none; z-index: 0; max-width: none; }

/* ---------- Features ---------- */
.features { position: relative; overflow: hidden; padding: 180px 0 90px; }
.bg-word--features { top: 0; width: 922px; }
.features .section-title { max-width: 1200px; }
.fill-text .w { color: rgba(255, 255, 255, .1); transition: color .35s ease; }
.fill-text .w.is-lit { color: var(--white); }

.cards { margin-top: 80px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  padding: 52px 36px 36px; border-radius: 24px; border: 1px solid var(--accent-2);
  text-align: center;
  background:
    linear-gradient(-36.79deg, rgba(5, 224, 178, 0) 8%, rgba(5, 224, 178, .1) 100.64%),
    rgba(255, 255, 255, .03);
  -webkit-backdrop-filter: blur(50px); backdrop-filter: blur(50px);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card::before { /* subtle grid */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(5, 224, 178, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 224, 178, .07) 1px, transparent 1px);
  background-size: 28px 28px; background-position: center -1px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 25%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 25%, #000 20%, transparent 75%);
}
.card::after { /* bottom fade */
  content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 163px; z-index: -1;
  background: linear-gradient(to bottom, rgba(25, 26, 29, 0), var(--bg-2));
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 60px rgba(5, 224, 178, .15); border-color: var(--accent); }
.card__icon { position: relative; width: 100px; height: 100px; flex: none; }
.card__icon img {
  position: absolute; left: 50%; top: 50%; width: var(--w); max-width: none;
  transform: translate(-50%, -50%); pointer-events: none;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.card:hover .card__icon img { transform: translate(-50%, -50%) scale(1.08) rotate(-2deg); }
.card__title { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.2; }
.card__text { font-size: 14px; line-height: 1.5; opacity: .8; }

/* ---------- Trusted ---------- */
.trusted { position: relative; overflow: hidden; padding: 180px 0; text-align: center; }
.graffiti--tl { left: 0; top: 0; }
.graffiti--tr { right: 0; top: 0; }
.trusted__title { font-size: 64px; max-width: 1136px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }

.marquee { margin-top: 64px; display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }
.marquee__row { overflow: hidden; }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__row--reverse .marquee__track { animation-direction: reverse; animation-duration: 46s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
.chip {
  display: flex; align-items: center; gap: 8px; flex: none;
  padding: 20px; border-radius: 322px; background: rgba(255, 255, 255, .02);
}
.chip img { width: auto; height: 36px; }
.chip__name { font-family: var(--font-display); font-size: 14px; line-height: 1.5; white-space: nowrap; }
.chip__elo { margin-left: 24px; font-size: 12px; font-weight: 700; line-height: 1.5; color: rgba(255, 255, 255, .5); white-space: nowrap; }

/* ---------- Numbers ---------- */
.numbers { position: relative; overflow: hidden; padding: 180px 0 90px; }
.bg-word--numbers { top: 6px; width: 950px; }
.numbers__grid { display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr; gap: 40px; align-items: start; }
.numbers__grid::before, .numbers__grid::after { content: none; }
.stat { display: flex; flex-direction: column; gap: 36px; text-align: center; }
.stat + .stat { position: relative; }
.stat__value {
  font-family: var(--font-display); font-size: 98px; line-height: .8; letter-spacing: -0.06em;
  padding-top: 6px;
}
.stat__text { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .6); }
.numbers__grid > .stat:nth-child(1) { grid-column: 1; }
.numbers__grid > .stat:nth-child(2) { grid-column: 3; }
.numbers__grid > .stat:nth-child(3) { grid-column: 5; }
.numbers__grid > .stat:nth-child(2)::before,
.numbers__grid > .stat:nth-child(3)::before {
  content: ""; position: absolute; left: -41px; top: 0; width: 1px; height: 92px;
  background: rgba(255, 255, 255, .12);
}

/* ---------- Web app (coming soon) ---------- */
.webapp {
  position: relative; overflow: hidden;
  padding-top: 246px; height: 1120px; text-align: center;
  background:
    radial-gradient(ellipse 60% 35% at 50% 100%, rgba(5, 224, 178, .22), transparent 70%),
    var(--bg);
}
.bg-word--webapp { top: 90px; width: 803px; }
.dots--webapp { left: calc(50% - 211px); top: 327px; }
.webapp__head { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.webapp__head .section-title { max-width: 962px; }
.webapp__head .section-lead { max-width: 640px; }
.webapp__laptop { position: relative; width: 1000px; max-width: calc(100% - 40px); margin: 87px auto 0; z-index: 1; }
.webapp__laptop img { width: 100%; border-radius: 24px 24px 0 0; }
.webapp__glow {
  position: absolute; left: 50%; top: -90px; width: 720px; height: 260px; transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 70%, rgba(0, 255, 196, .5), rgba(0, 255, 196, 0) 65%);
  filter: blur(30px); z-index: -1; pointer-events: none;
}
.ribbon {
  position: absolute; left: -36px; right: -36px; bottom: 30px; z-index: 3;
  height: 100px; display: flex; align-items: center; overflow: hidden;
  background: var(--accent); transform: rotate(-2deg);
  box-shadow: 0 0 60px rgba(0, 255, 196, .25);
}
.ribbon__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 32s linear infinite; padding-left: 40px; }
.ribbon__track span {
  font-family: var(--font-display); font-size: 40px; line-height: 1; text-transform: uppercase;
  color: var(--bg); white-space: nowrap; letter-spacing: -0.01em;
}
.ribbon__track img { width: 52px; height: auto; flex: none; }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; padding: 300px 0 80px; }
.graffiti--cl { left: 0; top: 198px; }
.graffiti--cr { right: 0; top: 703px; }
.bg-word--contact { top: 136px; width: 895px; }
.dots--contact { left: calc(50% - 196px); top: 310px; }
.contact .section-head { max-width: 954px; margin: 0 auto; }
.contact .section-lead { max-width: 600px; }

.form-wrap { position: relative; width: 616px; max-width: 100%; margin: 72px auto 0; }
.form-glow {
  position: absolute; left: 50%; top: -120px; width: 420px; height: 300px; transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 60%, rgba(0, 255, 196, .35), rgba(0, 255, 196, 0) 65%);
  filter: blur(30px); pointer-events: none;
}
.form {
  position: relative; padding: 8px; border-radius: 50px;
  background: radial-gradient(ellipse 36% 100% at 50% 1.6%, rgba(0, 255, 196, 1) 0%, rgba(0, 255, 196, .1) 100%);
  -webkit-backdrop-filter: blur(35px); backdrop-filter: blur(35px);
}
.form > * { position: relative; }
.form__fields, .form__submit, .form__status { margin: 0; }
.form::before {
  content: ""; position: absolute; inset: 8px; border-radius: 44px; border: 1px solid var(--accent);
  background:
    linear-gradient(-42.15deg, rgba(5, 224, 178, 0) 42.9%, rgba(5, 224, 178, .1) 113.7%),
    var(--bg);
  box-shadow: 0 0 250px rgba(5, 224, 178, .13);
}
.form__fields { display: flex; flex-direction: column; gap: 28px; padding: 60px 52px 0; }
.form__submit { width: calc(100% - 104px); margin: 48px 52px 0; }
.form__status { min-height: 52px; padding: 16px 52px 20px; font-size: 14px; text-align: center; color: rgba(255, 255, 255, .7); }
.form__status.is-ok { color: var(--accent); }
.form__status.is-error { color: #ff7a7a; }
.field { display: flex; flex-direction: column; gap: 12px; }
.field__label { font-size: 16px; font-weight: 800; line-height: 1.2; }
.field__input {
  width: 100%; height: 60px; padding: 0 24px; border-radius: 16px; border: 1px solid transparent;
  background: rgba(5, 224, 178, .05); color: var(--white);
  font: inherit; font-size: 16px; outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.field__input::placeholder { color: rgba(255, 255, 255, .15); }
.field__input:focus { border-color: rgba(0, 255, 196, .5); background: rgba(5, 224, 178, .08); }
.field__input--area { height: 138px; padding: 19px 24px; resize: vertical; line-height: 1.4; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #050607; }
.footer-scene { position: relative; aspect-ratio: 1440 / 1049; overflow: hidden; container-type: inline-size; background: #050607; }
.footer-scene__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.footer-scene__img--2, .footer-scene__img--3 { opacity: 0; }
.footer-scene.is-lit .footer-scene__img--2 { animation: lamp-beam .5s .15s ease-out forwards; }
.footer-scene.is-lit .footer-scene__img--3 { animation: lamp-on 1.1s .55s ease-out forwards; }
@keyframes lamp-beam { 0% { opacity: 0; } 30% { opacity: .9; } 45% { opacity: .2; } 70% { opacity: 1; } 100% { opacity: 1; } }
@keyframes lamp-on { 0% { opacity: 0; } 18% { opacity: .85; } 26% { opacity: .15; } 40% { opacity: .9; } 48% { opacity: .5; } 100% { opacity: 1; } }

.social { display: flex; gap: 12px; }
.social--scene { /* sits over the icon row of the design (x 616–810, y 780–828 at 1440px) */
  position: absolute; left: calc(616 / 1440 * 100%); top: calc(780 / 1049 * 100%);
  width: calc(194 / 1440 * 100%); height: calc(48 / 1049 * 100%);
  justify-content: center; align-items: center; gap: calc(12 / 1440 * 100cqw);
  border-radius: calc(14 / 1440 * 100cqw);
  background: rgba(4, 10, 11, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .6s 1.3s ease;
}
.social--scene .social__link { flex: none; width: calc(36 / 1440 * 100cqw); }
.footer-scene.is-lit .social--scene { opacity: 1; }
.social__link {
  display: block; flex: none; width: 44px; aspect-ratio: 1; border-radius: 27.7%;
  border: 1px solid rgba(5, 224, 178, .3); background: rgba(7, 18, 18, .55);
  color: var(--accent-2); transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.social__link svg { display: block; width: 100%; height: 100%; fill: currentColor; }
a.social__link:hover { background: var(--accent-2); color: var(--bg); box-shadow: 0 0 24px rgba(5, 224, 178, .5); }

.footer-mobile { display: none; }
.social--mobile { justify-content: center; }

.footer-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 59px; padding: 20px 32px; background: var(--bg);
  font-size: 14px; color: rgba(255, 255, 255, .6);
}
.footer-bar__links { display: flex; gap: 24px; }
.footer-bar__links a { transition: color .2s ease; }
.footer-bar__links a:hover { color: var(--white); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.cards .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3) { transition-delay: .16s; }
.cards .reveal:nth-child(4) { transition-delay: .24s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
  :root { --gutter: 40px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card { padding-top: 44px; }
}

@media (max-width: 1179px) {
  .hero__character { display: none; }
}

@media (max-width: 1100px) {
  .site-nav__link { padding: 10px 16px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) 24px minmax(0, 420px); }
  .download-card { width: 400px; }
  .section-title { font-size: 56px; }
  .trusted__title { font-size: 52px; }
  .stat__value { font-size: 76px; }
  .webapp { height: auto; padding-bottom: 210px; }
}

@media (max-width: 900px) {
  .site-header { padding: 20px 20px; height: auto; align-items: center; }
  .site-header__logo img { width: 112px; }
  .site-header__cta { margin: 0 0 0 auto; height: 44px; width: auto; padding: 10px 18px; font-size: 13px; }
  .burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; margin-left: 10px; border-radius: 50%;
    background: rgba(255, 255, 255, .06); align-items: center;
  }
  .burger span { display: block; width: 18px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s ease; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav {
    position: absolute; top: 76px; left: 20px; right: 20px; transform: none;
    flex-direction: column; align-items: stretch; padding: 8px; border-radius: 20px;
    background: rgba(18, 20, 24, .94); border: 1px solid rgba(255, 255, 255, .06);
    opacity: 0; visibility: hidden; translate: 0 -8px; transition: opacity .2s ease, translate .2s ease, visibility .2s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; translate: 0 0; }
  .site-nav__link { height: 48px; padding: 12px 16px; border-radius: 14px; font-size: 16px; }
}

@media (max-width: 900px) {
  .hero { text-align: center; }
  .hero__inner { grid-template-columns: 1fr; row-gap: 40px; padding: 0 20px; }
  .hero__content { align-items: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__cta { align-items: center; }
  .hero__character { display: none; }
  .phones--hero { grid-column: 1; grid-row: 2; justify-self: center; max-width: 520px; }
}
@media (max-width: 600px) {
  .phones--hero { width: 124%; max-width: none; margin: 0 -12%; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; }
  body { font-size: 15px; }
  .br-desktop { display: none; }

  .hero { padding-top: 120px; padding-bottom: 48px; }
  .hero__bg img { width: 960px; }
  .hero__bg::before { /* darken photo behind the headline */
    content: ""; position: absolute; inset: 0 0 auto 0; height: 780px; z-index: 1;
    background: linear-gradient(to bottom, rgba(14,15,19,.35), rgba(14,15,19,.55) 45%, rgba(14,15,19,.2) 75%, rgba(14,15,19,0));
  }
  .dots--hero { display: none; }
  .hero__title { font-size: clamp(34px, 10.4vw, 52px); letter-spacing: -0.045em; }
  .hero__lead { font-size: 15px; max-width: 360px; }
  .hero__cta { margin-top: 28px; gap: 16px; align-items: center; }
  .download-card { width: auto; padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .download-card__top { display: none; }
  .hero__glow { top: 10px; left: 50%; margin-left: -130px; }
  .store-buttons { margin-top: 0; }
  .store-btn { height: 54px; padding: 10px 14px 10px 8px; }
  .store-btn img { width: 28px; height: 28px; }
  .store-btn__big { font-size: 17px; }

  .section-title { font-size: clamp(30px, 8.6vw, 44px); letter-spacing: -0.035em; }
  .section-lead { font-size: 14px; }
  .bg-word { width: 120vw !important; }

  .features { padding: 110px 0 64px; }
  .bg-word--features { top: 24px; }
  .cards { grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
  .card { padding: 40px 24px 28px; }

  .trusted { padding: 96px 0; }
  .trusted__title { font-size: clamp(28px, 7.8vw, 40px); }
  .marquee { margin-top: 40px; gap: 12px; }
  .chip { padding: 14px 16px; }
  .chip img { height: 30px; }
  .chip__elo { margin-left: 14px; }
  .graffiti { display: none; }

  .numbers { padding: 96px 0 56px; }
  .bg-word--numbers { top: 20px; }
  .numbers__grid { grid-template-columns: 1fr; gap: 48px; }
  .numbers__grid > .stat:nth-child(n) { grid-column: 1; }
  .numbers__grid > .stat:nth-child(2)::before,
  .numbers__grid > .stat:nth-child(3)::before { left: 50%; top: -25px; width: 92px; height: 1px; transform: translateX(-50%); }
  .stat { gap: 20px; }
  .stat__value { font-size: 72px; }

  .webapp { padding: 120px 0 170px; }
  .bg-word--webapp { top: 60px; }
  .dots--webapp { display: none; }
  .webapp__laptop { margin-top: 48px; }
  .webapp__laptop img { border-radius: 14px 14px 0 0; }
  .ribbon { height: 64px; bottom: 36px; }
  .ribbon__track { gap: 24px; }
  .ribbon__track span { font-size: 24px; }
  .ribbon__track img { width: 34px; }

  .contact { padding: 120px 0 56px; }
  .bg-word--contact { top: 70px; }
  .dots--contact { display: none; }
  .form-wrap { margin-top: 44px; }
  .form { border-radius: 36px; padding: 6px; }
  .form::before { inset: 6px; border-radius: 31px; }
  .form__fields { padding: 40px 24px 0; gap: 22px; }
  .form__submit { width: calc(100% - 48px); margin: 32px 24px 0; }
  .form__status { padding: 12px 24px 16px; }

  .footer-scene { aspect-ratio: auto; height: 520px; }
  .footer-scene__img { object-position: 55% 50%; }
  .social--scene { display: none; }
  .footer-mobile { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 8px 20px 40px; text-align: center; background: #050607; }
  .social--mobile { gap: 14px; }
  .footer-mobile__text { font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .6); max-width: 420px; }
  .footer-bar { flex-direction: column; align-items: center; text-align: center; padding: 20px; font-size: 13px; }
  .footer-bar__links { gap: 20px; }
}

@media (max-width: 380px) {
  .site-header__cta { display: none; }
  .store-buttons { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track, .ribbon__track { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .footer-scene__img--3 { opacity: 1 !important; }
}

/* =========================================================
   Inner pages (lineups, features, FAQ, about)
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden;
  padding: 196px 0 110px;
}
.page-hero .hero__bg img { opacity: .75; }
.page-hero .hero__bg::after { top: 520px; height: 260px; }
.page-hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 56px; align-items: center;
}
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 20px; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span[aria-hidden] { opacity: .5; }
.page-title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: 64px; line-height: 1; letter-spacing: -0.045em;
}
.page-lead { margin-top: 20px; max-width: 620px; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.72); }
.page-cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.page-cta .store-buttons { margin: 0; }
.qr-mini { display: flex; align-items: center; gap: 12px; font-size: 12px; line-height: 1.4; color: rgba(255,255,255,.6); }
.qr-mini img { width: 72px; height: 72px; padding: 5px; background: #fff; border-radius: 8px; }
.stat-line { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 28px; }
.stat-line div { font-size: 13px; color: rgba(255,255,255,.55); }
.stat-line strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 26px; color: var(--white); line-height: 1.1; }
.stat-line strong .accent { color: var(--accent); }

.page-hero__grid .phones { justify-self: center; width: 100%; max-width: 460px; }
.page-hero__grid .phones--single { max-width: 290px; }

.page-section { position: relative; padding: 96px 0; }
.page-section--tight { padding-top: 24px; }
.page-section .section-title { font-size: 48px; }
.section-head--left { align-items: flex-start; text-align: left; }
.section-head--left .section-lead { max-width: 720px; }

.tile-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 28px; border-radius: 24px;
  background: linear-gradient(-36.79deg, rgba(5,224,178,0) 8%, rgba(5,224,178,.08) 100%), rgba(255,255,255,.03);
  border: 1px solid rgba(5,224,178,.25);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
a.tile:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 16px 50px rgba(5,224,178,.12); }
.tile__kicker { font-size: 12px; font-weight: 700; color: var(--accent); }
.mode-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mode-card {
  display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; align-items: center;
  padding: 28px 28px 0; border-radius: 24px; overflow: hidden;
  background: linear-gradient(-36.79deg, rgba(5,224,178,0) 8%, rgba(5,224,178,.08) 100%), rgba(255,255,255,.03);
  border: 1px solid rgba(5,224,178,.25);
}
.mode-card__phone {
  align-self: end; width: 100%; height: 300px; overflow: hidden; border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}
.mode-card__body { display: flex; flex-direction: column; gap: 12px; padding-bottom: 28px; }
.tile__title { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.2; }
.tile__text { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.72); }
.tile__more { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 700; color: var(--accent); }
.tile__num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(0,255,196,.1); color: var(--accent); font-family: var(--font-display); font-size: 18px;
}

.chips { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { padding: 12px 20px; border-radius: 322px; background: rgba(255,255,255,.04); font-family: var(--font-display); font-size: 14px; }

.prose { max-width: 780px; }
.prose h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 32px; line-height: 1.1; letter-spacing: -0.03em; margin: 56px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; font-weight: 800; margin: 32px 0 10px; }
.prose p { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,.78); margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; color: rgba(255,255,255,.78); }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { font-size: 16px; line-height: 1.7; margin-bottom: 6px; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--white); }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; padding: 2px 6px; border-radius: 6px; background: rgba(0,255,196,.08); color: #c8fff1; }
.prose .note {
  margin: 24px 0; padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(0,255,196,.3);
  background: rgba(0,255,196,.05); font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.85);
}

.code-block { position: relative; margin: 8px 0 24px; }
.code-block pre {
  overflow-x: auto; padding: 20px 22px; border-radius: 16px;
  background: #0a1412; border: 1px solid rgba(0,255,196,.2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.7; color: #c8fff1;
}
.code-block__copy {
  position: absolute; top: 10px; right: 10px; height: 32px; padding: 0 12px; border-radius: 10px;
  background: rgba(0,255,196,.12); color: var(--accent); font-size: 12px; font-weight: 700;
}
.code-block__copy:hover { background: rgba(0,255,196,.22); }

.cmd-table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15px; }
.cmd-table th { text-align: left; font-size: 13px; color: rgba(255,255,255,.5); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
.cmd-table td { padding: 12px; border-bottom: 1px solid rgba(255,255,255,.06); color: rgba(255,255,255,.8); vertical-align: top; line-height: 1.55; }
.cmd-table td:first-child { white-space: nowrap; }

.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq-item { border-radius: 20px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
.faq-item[open] { border-color: rgba(0,255,196,.35); background: rgba(0,255,196,.04); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 56px 22px 24px; position: relative;
  font-size: 17px; font-weight: 700; line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0,255,196,.1); color: var(--accent); font-size: 20px; font-weight: 400; transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item__body { padding: 0 24px 22px; font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.75); }
.faq-item__body p + p { margin-top: 10px; }
.faq-item__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.cta-band { position: relative; padding: 40px 0 120px; }
.cta-band__box {
  position: relative; overflow: hidden; border-radius: 36px; padding: 56px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center;
  border: 1px solid rgba(0,255,196,.4);
  background: radial-gradient(ellipse 60% 120% at 0% 0%, rgba(0,255,196,.16), transparent 60%), #0f1416;
}
.cta-band__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 40px; line-height: 1.05; letter-spacing: -0.03em; }
.cta-band__text { margin-top: 12px; font-size: 16px; color: rgba(255,255,255,.7); max-width: 520px; }
.cta-band .store-buttons { margin-top: 28px; }
.cta-band__qr { width: 132px; height: 132px; padding: 10px; background: #fff; border-radius: 16px; box-shadow: 0 0 60px rgba(0,255,196,.25); }

.footer-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
  padding: 28px 32px; background: var(--bg); border-top: 1px solid rgba(255,255,255,.05);
  font-size: 14px; color: rgba(255,255,255,.6);
}
.footer-nav a:hover { color: var(--accent); }

@media (max-width: 1100px) {
  .page-title { font-size: 52px; }
  .page-hero__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; }
  .tile-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mode-card { grid-template-columns: 130px minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 768px) {
  .page-hero { padding: 120px 0 56px; }
  .page-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .page-title { font-size: clamp(32px, 9.4vw, 44px); letter-spacing: -0.035em; }
  .page-lead { font-size: 15px; }
  .page-cta .qr-mini { display: none; }
  .page-hero__grid .phones { max-width: 420px; }
  .page-hero__grid .phones--single { max-width: min(270px, 72vw); }
  .page-section { padding: 64px 0; }
  .page-section .section-title { font-size: clamp(28px, 8vw, 36px); }
  .tile-grid, .tile-grid--4, .tile-grid--2 { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .mode-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .mode-card { grid-template-columns: 1fr; gap: 20px; padding: 22px 22px 0; }
  .mode-card__phone { order: 2; justify-self: center; width: 190px; height: 240px; }
  .mode-card__body { padding-bottom: 0; }
  .tile { padding: 22px; }
  .prose h2 { font-size: 24px; margin-top: 40px; }
  .prose p, .prose li { font-size: 15px; }
  .cmd-table { display: block; overflow-x: auto; }
  .faq-item summary { font-size: 16px; padding: 18px 52px 18px 18px; }
  .faq-item__body { padding: 0 18px 18px; }
  .cta-band { padding: 16px 0 72px; }
  .cta-band__box { grid-template-columns: 1fr; padding: 32px 22px; border-radius: 26px; }
  .cta-band__title { font-size: 28px; }
  .cta-band__qr { display: none; }
  .footer-nav { padding: 22px 20px; gap: 10px 18px; font-size: 13px; }
}
