/* 沿用官网配色和素材，统一下载状态与响应式布局。 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
}

:focus-visible {
  outline: 3px solid #bf382b;
  outline-offset: 5px;
}

.skip-link {
  position: absolute;
  inset: 12px 12px auto auto;
  z-index: 10;
  padding: 12px 20px;
  border-radius: 8px;
  color: #fff;
  background: #1a1a2e;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

.hero {
  height: min(900px, 100svh);
  min-height: 720px;
}

.hero__nav-end {
  flex-direction: row-reverse;
}

.hero__body {
  gap: 64px;
}

html[dir="rtl"] .hero__content {
  align-items: flex-start;
  padding: 0;
  text-align: start;
}

.hero__subtitle {
  line-height: 1.5;
}

.hero__desc {
  color: #626272;
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 28px;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}

.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 184px;
  min-height: 72px;
  padding: 12px 22px;
  border: 1px solid #1a1a2e;
  border-radius: 14px;
  background: #1a1a2e;
  color: #fff;
  text-align: start;
  transition: background 0.2s, transform 0.2s;
}

a.store-link:hover {
  background: #303047;
  transform: translateY(-2px);
}

.store-link img,
.store-link__icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.store-link__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.store-link__small {
  font-size: 12px;
  line-height: 1.5;
}

.store-link__name {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 650;
}

.store-link--coming {
  background: #fff;
  color: #454557;
  border-color: #c9c9d1;
}

.platform-note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: #626272;
}

.download {
  padding: 64px 48px;
  background: #f5f5f7;
  scroll-margin-top: 24px;
}

.download__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.download__copy {
  max-width: 560px;
}

.download h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.5;
  color: #2d2e5f;
}

bdi {
  white-space: nowrap;
}

.download p {
  color: #626272;
  font-size: 16px;
  line-height: 1.9;
}

.download .store-actions {
  flex-shrink: 0;
}

html[dir="rtl"] .feature__content,
html[dir="rtl"] .manage__content,
html[dir="rtl"] .membership__card-text,
html[dir="rtl"] .reviews__about-content {
  text-align: start;
}

.membership__subtitle,
.membership__card-desc,
.reviews__subtitle,
.reviews__card-body,
.reviews__about-text,
.reviews__footer-link,
.reviews__copyright {
  color: #626272;
}

.reviews__footer-links {
  flex-wrap: wrap;
  gap: 16px 24px;
}

.reviews__dot {
  position: relative;
  height: 28px;
  background: transparent;
}

.reviews__dot::after {
  content: "";
  position: absolute;
  inset: 12px 0;
  border-radius: 2px;
  background: #b5b5c2;
}

.reviews__dot--active::after {
  background: #e34d3d;
}

.reviews__dot:hover,
.reviews__dot--active,
.reviews__dot--active:hover {
  background: transparent;
}

@media (max-width: 1100px) {
  .download__inner {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }
}

/* 小屏按内容撑开分区，避免固定一屏高度裁掉预告或截图。 */
@media (max-width: 1024px) {
  .section {
    height: auto;
    min-height: 0;
  }

  .hero__inner {
    height: auto;
    padding-inline: 32px;
  }

  .hero__body {
    gap: 36px;
    padding-top: 48px;
  }

  html[dir="rtl"] .hero__content {
    align-items: center;
    text-align: center;
    max-width: 620px;
  }

  .hero__visual {
    flex: none;
  }

  .hero__phone-wrap {
    width: min(280px, 65vw);
  }

  .store-actions {
    justify-content: center;
  }

  .feature__inner,
  .manage__inner {
    height: auto;
    padding-block: 64px;
  }

  .feature__visual,
  .manage__visual {
    flex: none;
  }

  .feature__visual-bg,
  .manage__visual-bg {
    max-width: 640px;
  }

  .feature__phone-wrap {
    width: min(240px, 55%);
  }

  .scan__phones {
    height: 380px;
  }
}

@media (max-width: 640px) {
  .hero__inner {
    padding-inline: 20px;
  }

  .hero__nav {
    justify-content: center;
  }

  .hero__nav-end {
    width: 100%;
    justify-content: space-between;
    order: -1;
    gap: 12px;
  }

  .hero__nav-start {
    display: none;
  }

  .hero__logo-text {
    font-size: 18px;
  }

  .hero__logo img {
    width: 34px;
    height: 34px;
  }

  .hero__menu {
    gap: 12px;
  }

  .hero__menu-link {
    font-size: 13px;
    padding-block: 12px;
  }

  .hero__body {
    padding-top: 36px;
  }

  .hero__title {
    font-size: 38px;
  }

  .hero__subtitle {
    font-size: 28px;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .hero__desc {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .store-actions {
    width: 100%;
    gap: 10px;
  }

  .store-link {
    flex: 1;
    min-width: 0;
    padding: 12px;
    gap: 10px;
  }

  .store-link__name {
    font-size: 16px;
  }

  .store-link__small {
    font-size: 11px;
  }

  .platform-note {
    font-size: 13px;
  }

  .hero__float {
    animation: none;
    opacity: 1;
  }

  .feature__inner,
  .manage__inner {
    padding: 48px 20px;
    gap: 28px;
  }

  .scan__phones {
    height: 320px;
  }

  .download {
    padding: 48px 20px;
  }

  .download__inner,
  .download .store-actions {
    width: 100%;
  }

  .reviews__footer {
    align-items: flex-start;
    gap: 24px;
  }
}

@media (max-width: 359px) {
  .hero__nav-end {
    flex-direction: column;
  }

  .store-link {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero__float,
  .feature__icon,
  .manage__phone {
    opacity: 1;
  }
}

/* 移除评价后，让关于我们区域随内容收缩。 */
#about,
#about .reviews__inner {
  min-height: 0;
}

/* 真实评价使用静态网格，保留原文和来源，移动端依次展示。 */
.store-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.store-review {
  margin: 0;
  display: flex;
  flex-direction: column;
  text-align: start;
  overflow-wrap: anywhere;
}
.store-review__stars {
  color: #a25b00;
  letter-spacing: 3px;
  margin: 0 0 16px;
}
.store-review__quote {
  margin: 0 0 24px;
  color: #2d2e5f;
  font-size: 18px;
  line-height: 1.8;
  flex: 1;
}
.store-review__meta {
  margin: 8px 0;
  color: #595b70;
  font-size: 14px;
}
.store-review a {
  color: #b63528;
  font-size: 14px;
  text-underline-offset: 3px;
}
@media (max-width: 767px) {
  .store-reviews { grid-template-columns: 1fr; }
}
