/* 1rem = 40 * min(屏幕宽, 屏幕高) / 750，设计稿宽度 750 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  background: #f7f7f7;
  color: #1a1a1a;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}

/* 主体：上下撑开，中间留白 */
.page-home {
  position: relative;
  width: 100%;
  max-width: 750px;
  height: 100vh;
  margin: 0 auto;
  padding: 16vh 0 24vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}

/* 头部：logo + 名称 */
.header {
  width: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  display: block;
  width: 3.4rem;
  height: 3.4rem;
}

.app-space-normal {
  height: 0.75rem;
}

.app-font-40 {
  font-size: 1rem;
  line-height: 1.4rem;
  color: #333;
  white-space: nowrap;
  text-align: center;
}

/* 底部按钮 */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7.75rem;
  height: 2.25rem;
  padding: 0 1rem;
  border: 0;
  border-radius: 0.4rem;
  background: #eee;
  color: #07c160;
  font-size: 0.9rem;
  line-height: 1.26rem;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease;
}

.app-button:active {
  background: #e2e2e2;
}

/* 版权 + 备案号 */
.copyright {
  position: fixed;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  line-height: 0.84rem;
  color: #808080;
  white-space: nowrap;
}

.copyright .divider {
  width: 0.05rem;
  height: 0.5rem;
  margin: 0 0.45rem;
  background: #ccc;
}

.copyright .app-link {
  color: #576b95;
  text-decoration: none;
}

