/* ===== 基础 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  min-height: 100%;
  font-family: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #f6f3f6;
  color: #1f2328;
}

/* ===== 响应式画布 =====
   以 750px 设计稿为基准：小屏铺满视口，大屏最大 750px 居中。
   内部尺寸用 cqw（相对画布宽度），1cqw = 画布宽度的 1%，
   因此所有元素随屏幕等比缩放，始终维持设计稿比例。 */
.page {
  width: 100%;
  max-width: 750px;
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  container-type: inline-size;

  /* 108px / 60px / 60px 基于 750 设计稿 */
  padding: 14.4cqw 8cqw 10cqw;

  /* 柔和弥散渐变：左上薄荷绿 -> 中上奶油黄 -> 右下淡粉 */
  background:
    radial-gradient(circle at 12% 6%,  rgba(178, 231, 216, .85) 0%, rgba(178, 231, 216, 0) 46%),
    radial-gradient(circle at 72% 32%, rgba(255, 246, 199, .95) 0%, rgba(255, 246, 199, 0) 52%),
    radial-gradient(circle at 88% 82%, rgba(255, 205, 222, .90) 0%, rgba(255, 205, 222, 0) 55%),
    linear-gradient(158deg, #e6f7f1 0%, #fbf9ea 46%, #fbeef1 100%);
}

/* 大屏时给画布加一点层次，像居中的移动预览 */
@media (min-width: 750px) {
  .page { box-shadow: 0 0 60px rgba(90, 110, 120, .12); }
}

/* ===== 品牌区 ===== */
.brand {
  display: flex;
  align-items: center;
  gap: 6cqw;                /* 原 ~45px */
}

.logo-img {
  width: 30cqw;             /* 原 ~225px */
  aspect-ratio: 1;
  flex: 0 0 auto;
  object-fit: contain;
  display: block;
}

.brand-sub {
  font-size: 5cqw;          /* 原 ~38px */
  font-weight: 600;
  color: #4a5056;
  line-height: 1.3;
}

/* ===== 程序介绍 ===== */
.intro { margin-top: 15cqw; }

.headline {
  font-size: clamp(26px, 6.6cqw, 60px);
  font-weight: 800;
  line-height: 1.45;
  color: #1c2024;
}
.headline span { display: block; }

.desc {
  margin-top: 5cqw;         /* 原 ~38px */
  max-width: 82cqw;
  font-size: 4cqw;          /* 原 30px */
  line-height: 1.8;
  color: #7c8288;
}

/* ===== 功能入口按钮 ===== */
.actions {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 2.93cqw;             /* 原 22px */
  margin-top: 11cqw;        /* 原 ~82px */
  max-width: 100%;
}

.btn {
  height: 11.73cqw;         /* 原 88px */
  padding: 0 4.53cqw;       /* 原 34px */
  border-radius: 2.13cqw;   /* 原 16px */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 4cqw;          /* 原 30px */
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}

.btn-primary {
  background: #00b26a;
  color: #ffffff;
  box-shadow: 0 1.07cqw 2.67cqw rgba(0, 178, 106, .22);
}
.btn-primary:hover { background: #009e5e; transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: #ffffff;
  color: #3a3f44;
  border: max(1px, 0.27cqw) solid #e2e4e6;
}
.btn-ghost:hover { background: #fafbfb; border-color: #cfd3d6; transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0); }

/* ===== 底部协议入口 ===== */
.legal-links {
  margin-top: 13cqw;        /* 原 ~98px */
  display: flex;
  align-items: center;
  gap: 3cqw;
  font-size: 3.6cqw;        /* 原 27px */
}
.legal-links a {
  color: #2b8cbe;
  text-decoration: none;
}
.legal-links a:hover { text-decoration: underline; }
.legal-links .divider { color: #c9cdd0; }

/* =========================================================
   子页面（隐私协议 / 使用条款）共用样式
   ========================================================= */
.subpage { background: linear-gradient(158deg, #f3faf7 0%, #fdfbf1 55%, #fdf1f4 100%); }

.sub-header {
  display: flex;
  align-items: center;
  gap: 3cqw;
}

.back-link {
  width: 10cqw;             /* 原 75px */
  height: 10cqw;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ffffff;
  color: #00b26a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 6cqw;
  text-decoration: none;
  box-shadow: 0 1cqw 3cqw rgba(120, 140, 150, .10);
}
.back-link:hover { background: #f2faf6; }

.sub-title {
  font-size: 6cqw;          /* 原 45px */
  font-weight: 800;
  color: #1c2024;
}

.sub-body { margin-top: 10cqw; }

.sub-body h2 {
  font-size: 4.4cqw;        /* 原 33px */
  font-weight: 700;
  color: #1f2328;
  margin: 7cqw 0 2.5cqw;
}
.sub-body h2:first-child { margin-top: 0; }

.sub-body p {
  font-size: 3.7cqw;        /* 原 28px */
  line-height: 1.9;
  color: #6f757b;
  margin-bottom: 2.5cqw;
}

.sub-body .updated {
  font-size: 3.3cqw;
  color: #9aa0a6;
  margin-bottom: 8cqw;
}
