:root {
  color-scheme: light;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1e1e1e;
  background: #d7ecfc;
}
* { box-sizing: border-box; }
html, body { width: 100%; margin: 0; }
body { min-height: 100svh; }
h1, h2, p { margin: 0; }

/* Figma 9:397, 375 × 812. Content flows; decorative layers use design coordinates. */
.landing {
  position: relative;
  width: min(100%, 430px);
  min-height: 100svh;
  aspect-ratio: 375 / 812;
  margin-inline: auto;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
  background: #e9f1ff;
}
.background, .waves, .illustration {
  position: absolute;
  pointer-events: none;
  object-fit: cover;
}
.background {
  z-index: -3;
  left: -.266667cqw;
  top: -.266667cqw;
  width: 100.266667cqw;
  height: 217.066667cqw;
}
.waves {
  z-index: -2;
  left: -60.533333cqw;
  top: 0;
  width: 164.533333cqw;
  height: 246.666667cqw;
  transform: scaleX(-1);
}
.illustration {
  z-index: -1;
  left: 13.866667cqw;
  top: 131.2cqw;
  width: 82.133333cqw;
  height: 82.133333cqw;
}
.content { position: relative; padding: 9.6cqw 5.866667cqw 0 6.133333cqw; }
.brand { display: flex; flex-direction: column; align-items: center; }
.logo { display: block; width: 31.241333cqw; height: 31.241333cqw; object-fit: contain; }
h1 {
  margin-top: 3.465333cqw;
  font-family: "FZDaBiaoSong-B06S", "Songti SC", "STSong", "SimSun", serif;
  font-size: 5.801867cqw;
  font-weight: 900;
  line-height: 6.248267cqw;
  letter-spacing: .116027cqw;
  white-space: nowrap;
}
.downloads { display: flex; gap: 2.666667cqw; margin-top: 7.884267cqw; }
.download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.666667cqw;
  width: 42.666667cqw;
  height: 11.2cqw;
  border-radius: 1000px;
  background: linear-gradient(90deg, #59d1fd, #028af0);
  color: white;
  font-size: 3.2cqw;
  font-weight: 600;
  line-height: 3.733333cqw;
  letter-spacing: .128cqw;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.platform-icon { display: flex; align-items: center; justify-content: center; width: 6.4cqw; height: 6.4cqw; flex: none; }
.platform-icon img { display: block; flex: none; }
.download:focus-visible { outline: 2px solid #005ebc; outline-offset: 4px; }
.download:active { filter: brightness(.94); }
.stats {
  display: flex;
  align-items: center;
  height: 16.091467cqw;
  margin-top: 4.266667cqw;
  border-radius: 2.666667cqw;
  background: rgb(255 255 255 / 10%);
  backdrop-filter: blur(12.571467cqw);
  -webkit-backdrop-filter: blur(12.571467cqw);
  box-shadow: 0 0 2.5144cqw rgb(0 0 0 / 10%);
}
.stats-inner { display: flex; align-items: center; justify-content: space-between; width: 70.4cqw; margin-inline: auto; }
.stats-inner > div { display: flex; flex-direction: column; align-items: center; }
.stats strong { color: #0184f9; font-size: 4.022933cqw; line-height: 5.633333cqw; font-weight: 600; }
.stats span { font-size: 3.017067cqw; line-height: 4.24cqw; font-weight: 300; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.666667cqw; margin-top: 2.666667cqw; }
.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: .533333cqw;
  height: 16cqw;
  padding-top: 3.466667cqw;
  border-radius: 2.666667cqw;
  background: rgb(255 255 255 / 10%);
  backdrop-filter: blur(13.333333cqw);
  -webkit-backdrop-filter: blur(13.333333cqw);
  box-shadow: 0 0 2.666667cqw rgb(0 0 0 / 10%);
}
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  /* Figma: 1px inside stroke, 50% paint opacity, transformed gradient stops. */
  background: linear-gradient(90deg,
    rgb(0 187.835 255 / 50%) 0%,
    rgb(0 171.232 255 / 50%) 6.6594%,
    rgb(112.439 76.799 255 / 50%) 21.8808%,
    rgb(156.136 50.68 255 / 50%) 50.8966%,
    rgb(39.707 78.674 255 / 50%) 78.0098%,
    rgb(3 143 251 / 50%) 93.2312%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.feature h2 { font-size: 3.733333cqw; line-height: 5.333333cqw; font-weight: 600; }
.feature p { font-size: 3.2cqw; line-height: 4.533333cqw; white-space: nowrap; }
.notice {
  position: fixed;
  z-index: 5;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 90vw;
  padding: 10px 16px;
  border-radius: 10px;
  color: white;
  background: #16465def;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
@media (min-width: 600px) { .landing { width: 375px; } }
