/* 落地页 —— 视觉取自《首页答题页 UI 稿》第 1 台（测试首页）。
   定稿 288×584，真机 390×844：横向 ×1.354，纵向余量交给最后一条 legal 的 margin-top:auto。
   这一屏是用户付完钱点开短链看到的第一屏，LCP 就是中间那只馆主，别的都为它让路。 */

.landing {
  background: var(--bg-calc);
  padding-left: var(--pad);
  padding-right: var(--pad);
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  align-items: center;
  text-align: center;
}

/* ---------- 顶栏 ---------- */
/* 品牌条做成一整行居左。原本想用两端对齐（定稿如此），但这一层嵌在 .app 的
   column flex 里，右侧那半会落到绘制死区、字直接消失——试过 flex/absolute/table
   三种写法都一样。信息没少，位置从两端改成一行，等狗版动布局时再回头处理。 */
.landing .brand {
  align-self: flex-start;
  width: 100%;
  font-size: 12px;
  letter-spacing: 2.2px;
  color: var(--faint);
  text-align: left;
  padding-top: calc(18px + env(safe-area-inset-top));
  padding-bottom: 4px;
}
.landing .brand em {
  font-style: normal;
  margin-left: 10px;
}

/* ---------- 馆主 ---------- */
.landing .hero {
  position: relative;
  width: 230px;
  margin: 26px auto 0;
}
.landing .art {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  overflow: hidden;
  background: #F7C39A;
  border: 2px solid #fff;
  box-shadow: 0 0 0 4px #FFE7CF;
}
.landing .art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* 气泡压在圆的右上角，不能盖住脸 */
.landing .bubble {
  position: absolute;
  top: 4px;
  right: -18px;
  background: #fff;
  border: 1.5px solid #F0C9A8;
  border-radius: 19px;
  padding: 7px 15px;
  font-size: 14px;
  font-weight: 800;
  color: #B9774C;
  box-shadow: 0 2px 8px rgba(150, 105, 65, .14);
  white-space: nowrap;
}

.landing .role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--copper);
  margin-top: 13px;
}

/* ---------- 标题 ---------- */
.landing h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .6px;
  margin-top: 12px;
}

/* ---------- 四条说明 ---------- */
.landing .facts {
  width: 100%;
  margin-top: 18px;
  text-align: left;
}
.landing .f {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 15px;
  line-height: 1.6;
  color: #7C7160;
  margin: 9px 0;
}
.landing .f i {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper);
  margin-top: 9px;
}

/* ---------- CTA ---------- */
.landing .go {
  display: block;
  width: auto;              /* 别用 100%：这一层的百分比宽度算出来比内容盒宽，右端会被裁 */
  align-self: stretch;
  margin-top: 24px;
  font-size: 19px;
  letter-spacing: 2px;
  padding: 16px;
  color: #F7EFE0;
  background: var(--green);
  text-decoration: none;
}

/* ---------- 免责 ---------- */
.landing .legal {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--faint);
  margin-top: 13px;
  padding: 0 4px;
}
.landing .legal.end {
  margin-top: auto;
  padding-top: 14px;
  letter-spacing: 1.2px;
}

/* 矮屏（SE 一类 568–667 高）把圆和间距一起收，别让 CTA 掉出首屏 */
@media (max-height: 720px) {
  .landing .hero { width: 180px; margin-top: 14px; }
  .landing .art { width: 180px; height: 180px; }
  .landing .bubble { right: -22px; font-size: 13px; padding: 6px 12px; }
  .landing h1 { font-size: 25px; margin-top: 9px; }
  .landing .facts { margin-top: 12px; }
  .landing .f { font-size: 14px; margin: 7px 0; }
  .landing .go { margin-top: 16px; padding: 14px; font-size: 17px; }
  .landing .legal { margin-top: 9px; }
}
