:root {
  color-scheme: light;
  --brand-green: #11b247;
  --text-color: #252525;
  --muted-color: #65666a;
  --header-height: 0.5rem;
  --card-width: 8.5rem;
  --banner-width: 6.5rem;
}

* {
  box-sizing: border-box;
}

html {
  /* 与参考站一致：1280px 视口下 1rem = 100px，尺寸随视口宽度等比缩放。 */
  font-size: calc(100vw / 12.8);
  scroll-padding-top: calc(var(--header-height) + 0.18rem);
}

body {
  margin: 0;
  color: var(--text-color);
  background: #dcebe1 url("assets/bg.png") no-repeat center top / 100% 100%;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.16rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 0.018rem solid var(--brand-green);
  outline-offset: 0.045rem;
}

img {
  display: block;
  max-width: 100%;
}

figure,
h1,
h2,
p {
  margin: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(0.11rem);
  -webkit-backdrop-filter: blur(0.11rem);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 8.85rem;
  height: 100%;
  margin: 0 auto;
}

.brand,
.header-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.09rem;
  font-size: 0.16rem;
  font-weight: 600;
  white-space: nowrap;
}

.brand img {
  width: 0.29rem;
  height: 0.29rem;
}

.header-actions {
  gap: 0.18rem;
  white-space: nowrap;
}

.download-target {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
  border-radius: 9rem;
  transition: opacity 160ms ease;
}

.download-target:hover {
  opacity: 0.85;
}

.header-download {
  width: 0.96rem;
  height: 0.22rem;
  background: var(--brand-green);
  font-size: 0.16rem;
  line-height: 0.22rem;
}

.about-link {
  font-size: 0.16rem;
  font-weight: 600;
  line-height: 0.25rem;
}

.about-link:hover,
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.027rem;
}

main {
  padding-top: var(--header-height);
}

.hero {
  padding: 0.44rem 0.22rem 0;
  text-align: center;
}

.hero-logo {
  width: 0.8rem;
  height: 0.8rem;
  margin: 0 auto;
}

.hero h1 {
  margin-top: 0.18rem;
  font-size: 0.25rem;
  font-weight: 400;
  line-height: 0.36rem;
}

.hero h1 span {
  display: inline-block;
  margin-left: 0.07rem;
}

.hero-download {
  width: 1.61rem;
  height: 0.32rem;
  margin-top: 0.08rem;
  background: linear-gradient(90deg, #11b247 0%, #00df4b 100%);
  font-size: 0.22rem;
  line-height: 0.32rem;
}

.banner {
  width: var(--banner-width);
  height: 3.8rem;
  margin-inline: auto;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-banner {
  margin-top: 0.72rem;
}

.features {
  display: grid;
  gap: 0.63rem;
  width: var(--card-width);
  margin: 1.13rem auto 0.72rem;
}

.feature-card {
  padding: 0.28rem 0.36rem 0.32rem;
  border: 1px solid #fff;
  border-radius: 0.14rem;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(0.09rem);
  -webkit-backdrop-filter: blur(0.09rem);
  text-align: center;
}

.feature-card h2 {
  font-size: 0.36rem;
  font-weight: 700;
  line-height: 0.54rem;
}

.feature-card h2::after {
  content: "";
  display: block;
  width: 1.03rem;
  height: 0.018rem;
  margin: 0.11rem auto 0.09rem;
  background: var(--brand-green);
}

.feature-description {
  color: var(--muted-color);
  font-size: 0.27rem;
  font-weight: 400;
  line-height: 0.38rem;
  overflow-wrap: break-word;
}

.feature-card .banner {
  margin-top: 0.21rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.09rem;
  min-height: 0.36rem;
  padding: 0.09rem 0.22rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.11rem;
  line-height: 0.18rem;
}

.registration-link:empty {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .download-target {
    transition: none;
  }
}
