:root {
  --brand-orange: #ff8a00;
  --text-primary: #1a1a1a;
  --text-muted: #8e8e93;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background: #f2f3f5;
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* 设计基准 234px，所有尺寸用 cqw 随容器等比缩放，保证各机型与截图同比例 */
.frame {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  container-type: inline-size;
  box-shadow: 0 0 32px rgba(0, 0, 0, .08);
}

.page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 7.7cqw 5.13cqw calc(8.55cqw + env(safe-area-inset-bottom));
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.intro {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.app-icon {
  display: block;
  width: 16.24cqw;
  height: 16.24cqw;
  margin-bottom: 5.56cqw;
  object-fit: contain;
}

.title {
  margin: 0;
  font-size: 6.41cqw;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.4px;
}

.subtitle {
  margin: 2.14cqw 0 0;
  color: var(--text-muted);
  font-size: 3.85cqw;
  line-height: 1.4;
  font-style: italic;
}

.store-buttons {
  margin-top: 11.54cqw;
  display: flex;
  justify-content: center;
  gap: 3.85cqw;
  width: 100%;
}

.store-button {
  height: 11.54cqw;
  min-width: 0;
  flex: 0 1 38.46cqw;
  padding: 0 4.27cqw;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3.42cqw;
  font-size: 3.85cqw;
  font-weight: 600;
  letter-spacing: .1px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .15s ease, transform .15s ease;
}

.store-button:active {
  opacity: .8;
  transform: scale(.97);
}

.store-icon {
  width: 6.4cqw;
  height: 6.4cqw;
  flex: none;
  display: block;
}

.apple-icon {
  width: 6cqw;
  height: 6cqw;
}

.apk-link {
  margin-top: 4.27cqw;
  padding: 0.85cqw 2.56cqw;
  color: var(--brand-orange);
  font-size: 3.85cqw;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 2.14cqw;
}

.apk-link:active {
  opacity: .7;
}

.apk-link[aria-disabled="true"] {
  color: #c8c8cc;
  cursor: not-allowed;
}

.apk-link[aria-disabled="true"]:active {
  opacity: 1;
}

.apk-link.is-retrying {
  opacity: .6;
  cursor: progress;
}

.chevron {
  width: 2.56cqw;
  height: 4.27cqw;
  display: block;
}

.showcase {
  width: 100%;
  margin-top: 11.54cqw;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex: 1 1 auto;
  min-height: 0;
}

.showcase-image {
  display: block;
  width: calc(100% + 10.26cqw);
  max-width: none;
  height: auto;
  object-fit: contain;
  user-select: none;
}

.footer {
  margin-top: -8.1cqw;
  color: #b0b0b5;
  font-size: 3.42cqw;
  line-height: 1.4;
  text-align: center;
}
