/* ===== 基础 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #fef3f3 0%, #fce0e0 100%);
  background-attachment: fixed;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

button { touch-action: manipulation; user-select: none; font-family: inherit; }

/* ===== 页面:素材图完整等比贴顶 + CTA 固定底部(同色底) ===== */
.page {
  max-width: 480px;
  margin: 0 auto;
}
.hero {
  position: relative;
}
.hero-img {
  width: 100%;
  height: auto;
  display: block;
}
.cta {
  padding: 0px 22px calc(24px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
}

.cta-title {
  position: absolute;
  left: 0; right: 0;
  bottom: 4.5%;                    /* 叠进素材底部留白区 */
  font-size: clamp(20px, 6.4vw, 30px);
  font-weight: 900;
  letter-spacing: -.5px;
  color: var(--cta-title-color, #12316e);
  text-align: center;
}

/* ===== 按钮(主题变体:dark) ===== */
.cta-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: clamp(14px, 4.4vw, 19px) 22px;
  border: none;
  border-radius: 14px;
  background: #1a3d8f;
  color: #fff;
  font-size: clamp(16px, 4.6vw, 21px);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(26, 61, 143, .35);
  transition: transform .1s ease, background .15s ease;
}
.cta-btn svg { display: none; }
.cta-btn:hover { background: #14306f; }
.cta-btn:active { transform: scale(.97); }
