/* ============================================================
   Team Team — team-team.app
   Static marketing site · liquid glass / dark navy
   ============================================================ */

:root {
  --bg-0: #0A0C11;
  --bg-1: #0B1220;
  --accent: #3070F3;          /* sampled from app icon */
  --accent-bright: #5B8CFF;
  --accent-deep: #1D4ED8;
  --text: #F2F5FA;
  --text-soft: rgba(232, 238, 250, 0.66);
  --text-faint: rgba(232, 238, 250, 0.42);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --stroke: rgba(255, 255, 255, 0.14);
  --stroke-soft: rgba(255, 255, 255, 0.08);
  --r-lg: 24px;
  --r-md: 20px;
  --r-sm: 14px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

/* ---------- ambient background: gradient mesh + grain ---------- */

.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(1100px 620px at 18% -8%,  rgba(48, 112, 243, 0.20), transparent 62%),
    radial-gradient(900px 560px  at 92% 12%,  rgba(37, 82, 190, 0.14),  transparent 60%),
    radial-gradient(1000px 700px at 50% 118%, rgba(29, 78, 216, 0.16),  transparent 58%),
    radial-gradient(620px 420px  at 78% 64%,  rgba(80, 145, 145, 0.07), transparent 60%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 52%, var(--bg-0) 100%);
}

.ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: rgba(48, 112, 243, 0.45); color: #fff; }

a { color: var(--accent-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

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

img { max-width: 100%; }

.wrap {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

/* ---------- brand chip (footer) ---------- */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(48, 112, 243, 0.4);
}

/* ---------- floating language pill (top corner) ---------- */

.lang-fab {
  position: fixed;
  top: 16px;
  inset-inline-end: 16px;
  z-index: 40;
}

.lang-fab-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font: 600 12.5px/1 var(--font);
  letter-spacing: 0.08em;
  color: var(--text-soft);
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(14, 18, 28, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.lang-fab-btn:hover { color: #fff; border-color: rgba(120, 160, 255, 0.45); }
.lang-fab-btn svg { opacity: 0.6; }

.lang-menu[hidden] { display: none; }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 224px;
  max-height: min(60vh, 420px);
  overflow-y: auto;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(13, 17, 27, 0.92);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.lang-menu button {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font: 500 13.5px/1.2 var(--font);
  padding: 9px 11px;
  border-radius: 10px;
  text-align: start;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-menu button:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.lang-menu button.active {
  color: #fff;
  background: linear-gradient(180deg, rgba(91, 140, 255, 0.35), rgba(48, 112, 243, 0.22));
}
.lang-menu .flag { font-size: 16px; }

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

.hero {
  padding: clamp(64px, 10vw, 116px) 0 clamp(48px, 7vw, 84px);
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--stroke-soft);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.9);
}

.hero-icon {
  display: block;
  width: clamp(96px, 14vw, 128px);
  height: auto;
  margin: 34px auto 26px;
  border-radius: clamp(22px, 3.2vw, 29px);
  border: 1px solid var(--stroke);
  box-shadow:
    0 24px 70px rgba(48, 112, 243, 0.35),
    0 6px 22px rgba(0, 0, 0, 0.5);
}

.hero h1 {
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  background: linear-gradient(180deg, #FFFFFF 30%, rgba(200, 216, 250, 0.75));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .tagline {
  margin: 18px auto 0;
  max-width: 21em;
  font-size: clamp(19px, 2.6vw, 26px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}

.hero .sub {
  margin: 14px auto 0;
  max-width: 36em;
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--text-soft);
}

/* store buttons */

.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.store-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  padding: 12px 22px 12px 18px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  color: var(--text);
  text-align: left;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.store-btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(120, 160, 255, 0.45);
  box-shadow: 0 16px 46px rgba(48, 112, 243, 0.3);
}
.store-btn:active { transform: translateY(0) scale(0.97); }
.store-btn svg { flex: 0 0 auto; }
.store-btn .lines { display: flex; flex-direction: column; }
.store-btn .small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.store-btn .big {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.store-btn.primary {
  border-color: rgba(120, 160, 255, 0.42);
  background: linear-gradient(180deg, rgba(91, 140, 255, 0.28), rgba(48, 112, 243, 0.16));
}
.store-btn.primary .small { color: rgba(190, 210, 255, 0.75); }

.store-btn.disabled {
  cursor: default;
  opacity: 0.55;
  filter: saturate(0.4);
}
.store-btn.disabled:hover {
  transform: none;
  border-color: var(--stroke);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-faint);
}

/* stats strip */

.stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: clamp(40px, 6vw, 60px);
}
.stat {
  padding: 6px 28px;
  text-align: center;
}
.stat + .stat { border-left: 1px solid var(--stroke-soft); }
.stat b {
  display: block;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.stat span { font-size: 13px; color: var(--text-faint); }

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

section { padding: clamp(40px, 6vw, 72px) 0; }

.section-head {
  max-width: 46em;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.section-head p { max-width: 36em; }

/* no single-word orphans on headings (progressive enhancement) */
h1, h2, h3 { text-wrap: balance; }
.section-head p {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: clamp(15px, 1.8vw, 17px);
}

/* feature cards */

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  position: relative;
  padding: 26px 24px 28px;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--stroke);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, background 0.3s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  opacity: 0.5;
}
.card:hover {
  transform: translateY(-4px) perspective(700px) rotateX(1.3deg);
  border-color: rgba(120, 160, 255, 0.35);
  background: var(--glass-strong);
}
.card:hover::before { opacity: 1; }

.card .icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--accent-bright);
  background: linear-gradient(180deg, rgba(91, 140, 255, 0.22), rgba(48, 112, 243, 0.1));
  border: 1px solid rgba(120, 160, 255, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.card h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.card p {
  font-size: 14.5px;
  color: var(--text-soft);
}

/* ---------- screenshots strip ---------- */

.shots-wrap { position: relative; }

.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(216px, 23vw, 264px);
  gap: clamp(16px, 2.4vw, 26px);
  overflow-x: auto;
  /* generous inner padding so the phones' drop shadows are not clipped by the
     scroll container (overflow-x:auto forces vertical clipping too);
     negative margins compensate so the strip still aligns with the section */
  padding: 28px 40px 64px;
  margin: -20px -40px -32px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }

/* wide screens: all four phones fit, no scroll */
@media (min-width: 1080px) {
  .shots {
    grid-auto-columns: calc((100% - 3 * 26px - 8px) / 4);
  }
}

.shot { scroll-snap-align: center; }

.phone {
  padding: 9px;
  border-radius: 38px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--stroke);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}
.shot:hover .phone {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 30px 70px rgba(48, 112, 243, 0.28);
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
}

.shot figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-faint);
}

/* ---------- bottom CTA ---------- */

.cta {
  text-align: center;
  padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px);
  border-radius: 28px;
  background:
    radial-gradient(560px 260px at 50% -30%, rgba(48, 112, 243, 0.3), transparent 70%),
    var(--glass);
  border: 1px solid var(--stroke);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.cta h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.cta p {
  margin: 12px auto 0;
  max-width: 30em;
  color: var(--text-soft);
}
.cta .stores { margin-top: 30px; }

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-items: start; /* an open item grows inside its cell without stretching neighbours */
}

@media (max-width: 768px) {
  .faq { grid-template-columns: 1fr; }
}

.faq details {
  border-radius: var(--r-md);
  border: 1px solid var(--stroke-soft);
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faq details[open] {
  border-color: rgba(120, 160, 255, 0.3);
  background: var(--glass-strong);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 1.8px solid var(--text-faint);
  border-bottom: 1.8px solid var(--text-faint);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-inline-end: 2px;
}
.faq details[open] summary::after { transform: rotate(-135deg); }

.faq .faq-a {
  padding: 0 20px 18px;
  font-size: 14.5px;
  color: var(--text-soft);
}

/* ---------- footer ---------- */

footer {
  margin-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--stroke-soft);
  padding: 34px 0 46px;
}

/* (language switching lives only in the floating pill dropdown) */

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 13.5px;
  color: var(--text-faint);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.foot-links a { color: var(--text-soft); }
.foot-links a:hover { color: #fff; text-decoration: none; }

.foot .brand { font-size: 14px; }
.foot .brand img { width: 24px; height: 24px; }

/* ---------- legal document pages ---------- */

/* one consistent centered column: title, back link, note and text card share edges */
.doc-hero, .doc-note, .doc {
  width: min(860px, 100%);
  margin-inline: auto;
}

.doc-hero {
  padding: clamp(48px, 7vw, 76px) 0 8px;
}
.doc-hero h1 {
  font-size: clamp(30px, 4.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.doc-hero .effective {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-faint);
}

.doc-note {
  display: block;
  margin-top: 20px;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 13.5px;
  color: var(--text-soft);
  border: 1px solid rgba(120, 160, 255, 0.28);
  background: linear-gradient(180deg, rgba(91, 140, 255, 0.14), rgba(48, 112, 243, 0.07));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.doc {
  margin-block: 24px 72px;
  padding: clamp(26px, 4vw, 48px) clamp(22px, 4vw, 52px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke-soft);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.32);
}

.doc h2 {
  margin: 2.1em 0 0.7em;
  font-size: clamp(18px, 2.4vw, 21px);
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #fff;
}
.doc h2:first-child { margin-top: 0.2em; }

.doc p {
  margin: 0.85em 0;
  font-size: 15.5px;
  color: rgba(232, 238, 250, 0.78);
}

.doc ul {
  margin: 0.85em 0 0.85em 1.15em;
  padding: 0;
}
.doc li {
  margin: 0.5em 0;
  font-size: 15.5px;
  color: rgba(232, 238, 250, 0.78);
}

.doc a { color: var(--accent-bright); }

.doc-lang[hidden] { display: none; }

/* legal texts exist only in LTR languages — keep them LTR under RTL UI */
.doc-lang { direction: ltr; text-align: left; }

.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--text-soft);
}
.doc-back:hover { color: #fff; text-decoration: none; }

/* ---------- motion & playful details (all gated on prefers-reduced-motion) ---------- */

@media (prefers-reduced-motion: no-preference) {
  /* slow drift of the ambient glows */
  .ambient::before {
    content: "";
    position: absolute;
    inset: -22%;
    background:
      radial-gradient(640px 420px at 30% 22%, rgba(91, 140, 255, 0.10), transparent 62%),
      radial-gradient(720px 520px at 76% 76%, rgba(29, 78, 216, 0.09), transparent 62%);
    animation: ambient-drift 26s ease-in-out infinite alternate;
    will-change: transform;
  }
  @keyframes ambient-drift {
    from { transform: translate3d(-2%, -1%, 0) scale(1); }
    to   { transform: translate3d(2%, 2%, 0) scale(1.07); }
  }

  /* hero icon: gentle float + glow breathing (after the load-in rise) */
  .hero-icon.reveal {
    animation:
      rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.08s forwards,
      icon-float 6s ease-in-out 1.4s infinite,
      icon-glow 6s ease-in-out 1.4s infinite;
  }
  @keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }
  @keyframes icon-glow {
    0%, 100% { box-shadow: 0 24px 70px rgba(48, 112, 243, 0.35), 0 6px 22px rgba(0, 0, 0, 0.5); }
    50% { box-shadow: 0 28px 88px rgba(48, 112, 243, 0.52), 0 6px 22px rgba(0, 0, 0, 0.5); }
  }

  /* slow sheen sweep across the store buttons */
  .store-btn.primary::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 55%;
    background: linear-gradient(105deg, transparent 15%, rgba(255, 255, 255, 0.13) 50%, transparent 85%);
    transform: translateX(-180%) skewX(-14deg);
    animation: sheen 6s ease-in-out infinite;
    pointer-events: none;
  }
  @keyframes sheen {
    0% { transform: translateX(-180%) skewX(-14deg); }
    16% { transform: translateX(340%) skewX(-14deg); }
    100% { transform: translateX(340%) skewX(-14deg); }
  }

  /* feature-card icon micro-bounce */
  .card:hover .icon {
    animation: icon-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  @keyframes icon-pop {
    0% { transform: scale(1); }
    45% { transform: scale(1.12) rotate(-3deg); }
    100% { transform: scale(1); }
  }

  /* phones idle-float with alternating rhythm */
  .shot { animation: shot-float 7s ease-in-out infinite; }
  .shot:nth-child(2n) { animation-duration: 8.5s; animation-delay: 0.9s; }
  .shot:nth-child(3n) { animation-delay: 1.7s; }
  @keyframes shot-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
  }

  /* FAQ answer slide-in (closing is animated in motion.js) */
  .faq details[open] .faq-a { animation: faq-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
  @keyframes faq-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes faq-out {
    from { opacity: 1; transform: none; }
    to { opacity: 0; transform: translateY(-6px); }
  }

  /* scroll-reveal (class added by motion.js, so no-JS never hides content) */
  .sr {
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) var(--sr-d, 0s),
      transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) var(--sr-d, 0s);
  }
  .sr.sr-in { opacity: 1; transform: none; }
}

/* sport-emoji confetti burst (spawned by motion.js on hero-icon click) */
.hero-icon { cursor: pointer; }
.confetti {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  pointer-events: none;
  will-change: transform, opacity;
  user-select: none;
}

/* ---------- load-in reveals ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  }
  .reveal.d1 { animation-delay: 0.08s; }
  .reveal.d2 { animation-delay: 0.16s; }
  .reveal.d3 { animation-delay: 0.24s; }
  .reveal.d4 { animation-delay: 0.32s; }
  .reveal.d5 { animation-delay: 0.42s; }

  @keyframes rise {
    to { opacity: 1; transform: none; }
  }
}

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

@media (max-width: 980px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .wrap { width: min(1120px, 100% - 32px); }
  .features { grid-template-columns: 1fr; }
  .stores { flex-direction: column; align-items: stretch; }
  .store-btn { justify-content: center; text-align: center; }
  .store-btn .lines { text-align: left; }
  .stat { padding: 6px 18px; }
  .lang-fab { top: 12px; inset-inline-end: 12px; }
}
