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

html {
  font-size: clamp(42px, 13.333333vw, 51.2px);
}

body {
  min-height: 100vh;
  color: #111;
  background:
    linear-gradient(180deg, #ffe1d6 0%, #ffe1d6 10%, #fff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background:
    linear-gradient(180deg, #ffe1d6 0%, #ffe1d6 10%, #fff 100%);
}

.download-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  min-height: 100vh;
  padding-top: .45rem;
  overflow: hidden;
}

.download-box::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 0;
  height: 1.2rem;
  background-image: url("./assets/head-bg.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
  pointer-events: none;
}

.wx-tip {
  position: fixed;
  top: 0;
  right: 20px;
  z-index: 5;
  display: none;
}

.wx-tip img {
  width: 5.4rem;
  height: 1rem;
}

.logo {
  position: relative;
  z-index: 1;
  text-align: center;
}

.logo img {
  width: 1.7rem;
  height: 1.7rem;
}

.slogan {
  position: relative;
  z-index: 1;
  margin-top: -.25rem;
  color: #111;
  font-size: .3rem;
  text-align: center;
  white-space: nowrap;
}

.feature-pic {
  position: relative;
  z-index: 1;
  margin-top: .1rem;
  text-align: center;
}

.feature-pic img {
  width: 5.5rem;
}

.button-row {
  position: relative;
  z-index: 1;
  margin-top: -.3rem;
  margin-bottom: .5rem;
  text-align: center;
}

.download-button {
  width: 5rem;
  height: .9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .45rem;
  color: #fff;
  background-color: #ff4400;
  font-size: .35rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.download-button:active {
  transform: translateY(1px);
}

.weixin-mask {
  position: fixed;
  inset: 0;
  z-index: 3;
  display: none;
  background: #000;
  opacity: .6;
}

@media (min-width: 421px) {
  body {
    background:
      linear-gradient(180deg, #fff 0%, #ffe1d6 100%);
  }

  .page {
    padding: 0;
    background:
      linear-gradient(180deg, #fff 0%, #ffe1d6 100%);
  }

  .download-box {
    background:
      linear-gradient(180deg, #ffe1d6 0%, #ffe1d6 10%, #fff 100%);
    box-shadow: 0 16px 42px rgba(164, 67, 23, .13);
  }
}
