/* ============================================================
   Heyou 官网 · 首页视觉层
   ------------------------------------------------------------
   为什么单独一份，不并进 style.css：
     协议页 / FAQ 页是"读文件"，靠的是 16px 正文 + 1.7 行高 + 卡片；
     首页是"看画面"，靠的是满屏留白 + 超大字号 + 动效。
     两套排版目标相反，混在一个文件里迟早互相污染（改首页字号，协议正文跟着变）。

   ⚠️ 颜色仍然只取 style.css 的 :root，一处都不许另调。
   ⚠️ 这一份**只被首页引用**（build-site.mjs 的 extraCss）。
   ============================================================ */

:root {
  --ink-deep: #04342c;      /* 小程序深色卡的底，官网拿来做"翻页" */
  --ink-deep-2: #062a24;
  --mint: #10b981;
}

/* ---------- 首页骨架 ---------- */
body.page-home { background: var(--bg); }
body.page-home { -webkit-font-smoothing: antialiased; }

.hp-wrap {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

/* ============================================================
   一、首屏 —— 一张 logo 占满上半身
   ============================================================ */

.hp-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* 减掉 header —— 否则 hero 从 header 底下再长一个整屏，内容会被推到视口下半部，
     手机上尤其明显（点开链接第一眼看到的是"页面偏了"）。 */
  min-height: calc(100vh - 61px);
  min-height: calc(100svh - 61px);
  padding: 90px 0 76px;
  overflow: hidden;
  text-align: center;
}

/* 柔光：三团错开的绿，14s 呼吸一次 */
.hp-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: 50%;
  top: 42%;
  width: min(1180px, 130vw);
  height: min(1180px, 130vw);
  transform: translate(-50%, -50%);
  background:
    radial-gradient(42% 42% at 50% 46%, rgba(16, 185, 129, 0.26), transparent 68%),
    radial-gradient(34% 34% at 24% 30%, rgba(13, 148, 136, 0.18), transparent 70%),
    radial-gradient(30% 30% at 78% 36%, rgba(52, 211, 153, 0.20), transparent 70%);
  filter: blur(4px);
  animation: hpHalo 14s ease-in-out infinite;
  pointer-events: none;
}

/* 细网格：压住"空"，又不抢字。四周用 mask 化掉 */
.hp-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(4, 52, 44, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(4, 52, 44, 0.05) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(72% 62% at 50% 44%, #000 26%, transparent 76%);
          mask-image: radial-gradient(72% 62% at 50% 44%, #000 26%, transparent 76%);
  pointer-events: none;
}

.hp-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: hpRise 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* 三道很淡的同心圆，7.2s 一轮向外扩 ——
   和小程序首页主卡那圈"孤独星球"波纹是同一套语言，官网不该另起一种。 */
.hp-rip {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hp-rip i {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid rgba(14, 159, 110, 0.17);
}
.hp-rip i:nth-child(1) {
  width: min(360px, 74vw); height: min(360px, 74vw);
  animation: hpRip 7.2s ease-out infinite;
}
.hp-rip i:nth-child(2) {
  width: min(580px, 106vw); height: min(580px, 106vw);
  animation: hpRip 7.2s ease-out infinite 2.4s;
}
.hp-rip i:nth-child(3) {
  width: min(820px, 138vw); height: min(820px, 138vw);
  animation: hpRip 7.2s ease-out infinite 4.8s;
}

.hp-logo {
  width: clamp(240px, 72vw, 470px);
  height: auto;
  filter: drop-shadow(0 22px 44px rgba(4, 52, 44, 0.14));
}

.hp-slogan {
  margin: clamp(26px, 4vw, 42px) 0 0;
  font-size: clamp(26px, 5.2vw, 58px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: 0.015em;
  color: var(--ink-deep);
}

.hp-sub {
  margin-top: 18px;
  font-size: clamp(16px, 1.9vw, 21px);
  color: var(--text-2);
  letter-spacing: 0.02em;
  font-weight: 500;
}

.hp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-top: clamp(26px, 4vw, 40px);
}

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 28px;
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--ink-deep);
  color: #fff;
  box-shadow: 0 10px 26px -8px rgba(4, 52, 44, 0.5);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
}
.hp-btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px rgba(4, 52, 44, 0.55);
}
.hp-btn-ghost {
  background: transparent;
  color: var(--ink-deep);
  border: 1px solid rgba(4, 52, 44, 0.18);
  box-shadow: none;
}
.hp-btn-ghost:hover { background: rgba(4, 52, 44, 0.045); box-shadow: none; }

.hp-scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--text-3);
  text-transform: uppercase;
}
.hp-scroll i {
  display: block;
  width: 1px;
  height: 30px;
  background: linear-gradient(var(--text-3), transparent);
  animation: hpDrip 2.4s ease-in-out infinite;
}

/* ============================================================
   二、口号跑马灯 —— 让口号在页面里反复出现
   ============================================================ */

.hp-marquee {
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.hp-marquee-track {
  display: flex;
  width: max-content;
  animation: hpMarquee 34s linear infinite;
}
.hp-marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-size: 13px;
  letter-spacing: 0.2em;
  white-space: nowrap;
}
.hp-marquee-track span::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.8;
}

/* ============================================================
   三、大字宣言 —— 这一屏只有字，但字就是画
   ============================================================ */

.hp-stmt {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: clamp(84px, 13vh, 152px) 0;
}
.hp-stmt .hp-wrap { max-width: 980px; }

.hp-stmt-l {
  margin: 0;
  font-size: clamp(30px, 6vw, 74px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
}
.hp-stmt-l + .hp-stmt-l { margin-top: 0.08em; }
.hp-stmt-l em {
  font-style: normal;
  color: var(--primary-ink);
  position: relative;
  white-space: nowrap;
}
.hp-stmt-l em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.18em;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.22);
  z-index: -1;
}

.hp-stmt-s {
  margin: clamp(28px, 4vw, 46px) 0 0;
  max-width: 34em;
  font-size: clamp(15px, 1.9vw, 19px);
  line-height: 1.85;
  color: var(--text-2);
}

/* ============================================================
   五、名片互换 —— 从"主场"降级成"另外，你也可以"
   ------------------------------------------------------------
   2026-10-29 业主：「把相亲这个功能放在最重要的地方，用更大篇幅去介绍。
   然后这个换名片的反而要隐掉」。
   ⇒ 原来是深色整屏 + 大卡 + 三条功能；现在压成浅色一小段：
      一张卡 + 一句话 + 一个链接，深色位让给了「他遇」。
   ============================================================ */

.hp-show {
  position: relative;
  background: #eaf4ef;
  color: var(--ink-deep);
  padding: clamp(60px, 8.5vh, 96px) 0;
  overflow: hidden;
}
/* 浅底上那团绿雾要淡到几乎没有 —— 原来 30% 的浓度在浅色上像一块脏抹布 */
.hp-show::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 24%;
  width: 700px;
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(46% 46% at 50% 50%, rgba(16, 185, 129, 0.09), transparent 70%);
  pointer-events: none;
}

.hp-show .hp-wrap { position: relative; max-width: 820px; }
.hp-show-row {
  display: grid;
  gap: clamp(30px, 4.2vw, 52px);
  align-items: center;
}

/* ---- 名片示意（纯 CSS，无真人数据）---- */
.hp-card-stage {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}
.hp-card {
  position: relative;
  width: min(300px, 74vw);
  /* 335/400 那张竖版卡内容少，下半截空得像没画完；370 更紧凑，也仍像手机里的名片 */
  aspect-ratio: 335 / 370;
  border-radius: 28px;
  padding: 26px 24px;
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(255, 255, 255, 0.52), transparent 52%),
    linear-gradient(158deg, #f4fbf7, #e2f2ea 62%, #d4ebe1);
  border: 1px solid rgba(14, 159, 110, 0.2);
  box-shadow:
    0 34px 60px -30px rgba(4, 52, 44, 0.34),
    0 2px 0 rgba(255, 255, 255, 0.7) inset;
  transform: rotateX(6deg) rotateY(-9deg) rotateZ(-1.4deg);
  animation: hpTilt 9s ease-in-out infinite;
  color: var(--ink-deep);
}
.hp-card-kicker {
  font-size: 11px;
  letter-spacing: 0.34em;
  font-weight: 700;
  color: rgba(4, 52, 44, 0.5);
}
.hp-card-id {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
.hp-card-ava {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(150deg, #0e9f6e, #34d399);
  box-shadow: 0 0 0 3px #fff, 0 8px 18px -8px rgba(4, 52, 44, 0.5);
  flex: none;
  position: relative;
  overflow: hidden;
}
.hp-card-ava::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 20%;
  width: 38%;
  height: 38%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  transform: translateX(-50%);
}
.hp-card-ava::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12%;
  width: 76%;
  height: 56%;
  border-radius: 50% 50% 0 0;
  background: rgba(255, 255, 255, 0.85);
  transform: translateX(-50%);
}
.hp-card-name { flex: 1; min-width: 0; }
.hp-card-name b {
  display: block;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.hp-card-name span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(4, 52, 44, 0.52);
  letter-spacing: 0.06em;
}
.hp-card-rule {
  height: 1px;
  margin: 20px 0 16px;
  background: linear-gradient(90deg, rgba(4, 52, 44, 0.18), transparent);
}
.hp-card-line {
  height: 9px;
  border-radius: 999px;
  background: rgba(4, 52, 44, 0.13);
}
.hp-card-line + .hp-card-line { margin-top: 9px; }
.hp-card-line.w70 { width: 70%; }
.hp-card-line.w45 { width: 45%; }
.hp-card-chips {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.hp-card-chips i {
  height: 24px;
  border-radius: 999px;
  background: rgba(14, 159, 110, 0.14);
  border: 1px solid rgba(14, 159, 110, 0.2);
}
.hp-card-chips i:nth-child(1) { width: 52px; }
.hp-card-chips i:nth-child(2) { width: 38px; }
.hp-card-chips i:nth-child(3) { width: 44px; }
.hp-card-foot {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(4, 52, 44, 0.42);
}
.hp-card-foot b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--primary-ink);
  letter-spacing: 0.04em;
}
.hp-card-foot b::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 159, 110, 0.18);
}

/* 卡后面那圈光，让卡"浮"起来 */
.hp-card-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(400px, 88vw);
  height: min(400px, 88vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.22), transparent 66%);
  animation: hpHalo 11s ease-in-out infinite;
  pointer-events: none;
}

/* ---- 右侧那句话 ---- */
.hp-show-kicker {
  font-size: 12px;
  letter-spacing: 0.24em;
  font-weight: 700;
  color: var(--primary-ink);
}
.hp-show-copy h2 {
  margin-top: 10px;
  font-size: clamp(23px, 2.9vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink-deep);
}
.hp-show-copy p {
  margin-top: 12px;
  max-width: 28em;
  font-size: clamp(14.5px, 1.5vw, 16px);
  line-height: 1.82;
  color: var(--text-2);
}
.hp-show-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary-ink);
  border-bottom: 1px solid rgba(11, 125, 87, 0.3);
  padding-bottom: 2px;
}
.hp-show-link:hover { text-decoration: none; border-color: var(--primary-ink); }

/* 中文在窄屏会按字断行，「我想」这种带引号的词会被拆成「我 / 想」 */
.nw { white-space: nowrap; }

/* ============================================================
   四、他遇 —— 首页的主场，一整屏只画一件事：筛
   ------------------------------------------------------------
   业主 2026-10-28：「为什么没有他遇的功能介绍啊，它也是我们的王牌核心功能」
   ⇒ 补这一屏。

   ⚠️ 文案逐字取自小程序 match/intro（业主定的词，别"优化"）：
      · 先筛选，再推荐，后付费
      · 合拍的才会被推荐给你 / 你确认想认识之后，服务才开启 /
        一次建档，服务一直保留，直到你找到他
      · 安全、轻量、可信
   ⚠️ "先筛再推"这件事只能**画**出来（一片暗头像 → 一道线 → 只留一张亮的）。
      写成一屏解释就是上一版被嫌字多的样子。
   ⚠️ 底色比名片屏（--ink-deep）再暗一档，两块深色因此像"同一章的两节"，
      而不是两张拼接的图。分隔靠 ::before 那条极淡的绿线，不是硬切。
   ============================================================ */

.hp-match {
  position: relative;
  background: var(--ink-deep-2);
  color: #fff;
  /* 上大下小：这屏的"重量"在筛图和三条上，底部只要留出呼吸，不要留出空地 */
  padding: clamp(84px, 13vh, 150px) 0 clamp(64px, 9vh, 108px);
  overflow: hidden;
}
.hp-match::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.34), transparent);
}
/* 漏斗底下那团光：让"被留下的那一个"有落点 */
.hp-match::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22%;
  width: min(760px, 112vw);
  height: min(760px, 112vw);
  transform: translateX(-50%);
  background: radial-gradient(46% 46% at 50% 50%, rgba(16, 185, 129, 0.26), transparent 68%);
  filter: blur(6px);
  animation: hpHalo 13s ease-in-out infinite;
  pointer-events: none;
}

.hp-match .hp-wrap { position: relative; max-width: 980px; }

.hp-match-head { text-align: center; }
.hp-match-kicker {
  font-size: 12px;
  letter-spacing: 0.34em;
  color: rgba(255, 255, 255, 0.55);
}
.hp-match-head h2 {
  margin-top: 16px;
  font-size: clamp(29px, 5.2vw, 62px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.hp-match-head p {
  margin-top: 14px;
  font-size: clamp(15px, 1.7vw, 17px);
  color: rgba(255, 255, 255, 0.62);
}

/* ---- 筛选示意（纯 CSS，无真人数据）---- */
.hp-sieve {
  margin: clamp(38px, 6vh, 64px) auto 0;
  display: grid;
  justify-items: center;
}
.hp-pool {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  /* 380px 时每个圆点只有 55px，远看是一排小圆点；放大到 460 才像"一片人"。
     这是这一屏唯一的"画面"，值得占地方。 */
  width: min(460px, 86vw);
  margin: 0;
}
/* 整齐的网格读起来像"工牌墙"，不像"一群人"。
   用 nth-child 给每三列错开 3~5px —— 幅度必须很小，大了会像没对齐。 */
.hp-pool i:nth-child(3n) { translate: 0 -4px; }
.hp-pool i:nth-child(4n) { translate: 0 3px; }
.hp-pool i:nth-child(7n) { translate: 3px 0; }

.hp-pool i {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.075);
}
/* 每颗里画一个极淡的人形 —— 一排圆点是"筛子"，一排人形才是"池子里的人"。
   和下面那张亮卡里的头像用同一套剪影，一眼看得出是同一件事。 */
.hp-pool i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 22%;
  width: 30%;
  height: 30%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.20);
  transform: translateX(-50%);
}
.hp-pool i::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10%;
  width: 62%;
  height: 44%;
  border-radius: 50% 50% 0 0;
  background: rgba(255, 255, 255, 0.20);
  transform: translateX(-50%);
}

.hp-sieve-line {
  position: relative;
  width: min(560px, 92vw);
  height: 54px;
  display: grid;
  place-items: center;
  /* 池子放大到 460 之后，原来 14px 的间距会让"线"贴着最后一行头像 —— 提到 22 */
  margin: 22px 0 14px;
  /* 扫描光跑到边上不许撑出横向滚动条 */
  overflow: hidden;
}
.hp-sieve-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.55) 18%, rgba(16, 185, 129, 0.55) 82%, transparent);
}
/* 一道光从左扫到右，约 6 秒一次 —— 这一屏唯一的新动效，别再加第二种 */
.hp-sieve-line::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  left: -140px;
  width: 120px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(167, 243, 208, 0.95), transparent);
  animation: hpSweep 6.4s ease-in-out infinite;
}
.hp-sieve-line span {
  position: relative;
  z-index: 1;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ink-deep-2);
  border: 1px solid rgba(16, 185, 129, 0.34);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.74);
  white-space: nowrap;
}

/* 线下面：只留下的一张 */
.hp-chosen {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  width: min(420px, 90vw);
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(110, 231, 183, 0.34);
  box-shadow: 0 26px 60px -34px rgba(16, 185, 129, 0.9);
}
.hp-chosen-ava {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(150deg, #0e9f6e, #34d399);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55) inset;
}
.hp-chosen-ava::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 20%;
  width: 38%;
  height: 38%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  transform: translateX(-50%);
}
.hp-chosen-ava::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12%;
  width: 76%;
  height: 56%;
  border-radius: 50% 50% 0 0;
  background: rgba(255, 255, 255, 0.88);
  transform: translateX(-50%);
}
.hp-chosen-meta { min-width: 0; }
.hp-chosen-meta b { display: block; font-size: 15px; font-weight: 700; }
.hp-chosen-meta em {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.58);
}
.hp-chosen-tag {
  flex: none;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-deep);
  background: linear-gradient(180deg, #a7f3d0, #6ee7b7);
}

/* ---- 三关：解释上面那道线到底在筛什么 ----
   为什么必须写：图只画了"筛"，没画"筛什么"。缺了这三条，
   那张图就只是装饰，而"人工把关"正是他遇与普通相亲产品唯一的区别。
   排版故意用**横条**而不是三列卡片 —— 下面三条（01/02/03）已经是三列，
   再来一排三列会像同一件事说了两遍。 */
.hp-gates {
  margin: clamp(52px, 7vh, 80px) auto 0;
  width: min(720px, 100%);
  /* 上面是"你得到什么"（三列），这里是"我们怎么筛"（三行）。
     两段之间必须有这条线，否则 01/02/03 接 一二三 会读成六条。 */
  padding-top: clamp(26px, 3.6vh, 40px);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}
.hp-gates-head {
  margin: 0 0 6px;
  padding-bottom: 14px;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.hp-gates-head em {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.52);
}
.hp-gate {
  display: grid;
  grid-template-columns: 40px 132px 1fr;
  align-items: baseline;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.hp-gate b {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--mint);
}
.hp-gate h3 {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
}
.hp-gate p {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.64);
}

/* ---- 三条：紧贴筛图，是"线下面那张亮卡意味着什么"的注解 ---- */
.hp-match-points {
  margin-top: clamp(30px, 4.6vh, 48px);
  display: grid;
  gap: 20px;
  text-align: center;
}
.hp-point b {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--mint);
}
.hp-point p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.hp-match-note {
  margin-top: clamp(30px, 4vh, 44px);
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.58);
}

/* ============================================================
   六、收尾 —— 口号再出现一次，这次满屏
   ============================================================ */

.hp-finale {
  position: relative;
  overflow: hidden;
  background: var(--ink-deep);
  color: #fff;
  text-align: center;
  padding: clamp(100px, 17vh, 190px) 0 clamp(90px, 14vh, 150px);
}
.hp-finale::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -30%;
  width: min(1100px, 140vw);
  height: min(1100px, 140vw);
  transform: translateX(-50%);
  background:
    radial-gradient(42% 42% at 50% 50%, rgba(16, 185, 129, 0.34), transparent 68%),
    radial-gradient(30% 30% at 30% 40%, rgba(13, 148, 136, 0.22), transparent 70%);
  filter: blur(8px);
  animation: hpHalo 16s ease-in-out infinite;
  pointer-events: none;
}
.hp-finale-inner { position: relative; }
.hp-finale-kicker {
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.hp-finale h2 {
  margin-top: 18px;
  font-size: clamp(34px, 6.6vw, 80px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hp-finale h2 span {
  display: block;
  font-size: 0.36em;
  letter-spacing: 0.34em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.56);
  margin-bottom: 14px;
}
.hp-finale .hp-actions { margin-top: clamp(32px, 5vh, 48px); }
.hp-finale .hp-btn {
  background: #fff;
  color: var(--ink-deep);
  box-shadow: 0 14px 40px -14px rgba(0, 0, 0, 0.6);
}
.hp-finale .hp-btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: none;
}
.hp-finale .hp-btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.hp-finale-note {
  margin-top: 30px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  /* 深绿 #04342c 上的小字：.44 合成出来只有约 3.4:1，不够 4.5 —— 提到 .58 */
  color: rgba(255, 255, 255, 0.58);
}

/* 「不做聊天 · 不做推荐排序 · 不卖你的数据」——
   态度要留在首页，但不能写成一屏四张卡（那是上一版被嫌字多的原因）。 */
.hp-claims {
  margin: clamp(28px, 4vh, 40px) 0 0;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   滚动渐显 —— 没有 JS 时内容照常可见（只在 .hp-js 下才藏）
   ============================================================ */

.hp-js .hp-rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.hp-js .hp-rv.in { opacity: 1; transform: none; }
.hp-js .hp-rv.d1 { transition-delay: 0.08s; }
.hp-js .hp-rv.d2 { transition-delay: 0.16s; }
.hp-js .hp-rv.d3 { transition-delay: 0.24s; }

/* ============================================================
   动效
   ============================================================ */

@keyframes hpRise {
  from { opacity: 0; transform: translateY(18px) scale(0.985); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}
/* ⚠️ 这里只动 `scale` / `opacity` 两个**独立属性**，不碰 `transform`。
   三处光晕的居中方式各不相同（hero 用 translate(-50%,-50%)、收尾用 translateX(-50%)、
   名片卡靠自身定位），一旦在 keyframes 里写 transform 就会把各自的居中一起覆盖掉 ——
   表现是"加载瞬间光晕跳到左上角"，而 CSS 不报任何错。 */
@keyframes hpHalo {
  0%, 100% { scale: 1; opacity: 1; }
  50%      { scale: 1.07; opacity: 0.84; }
}
@keyframes hpDrip {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
  50%      { transform: scaleY(1); opacity: 1; transform-origin: top; }
}
@keyframes hpMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes hpTilt {
  0%, 100% { transform: rotateX(6deg) rotateY(-9deg) rotateZ(-1.4deg) translateY(0); }
  50%      { transform: rotateX(4deg) rotateY(-6deg) rotateZ(-0.6deg) translateY(-10px); }
}
@keyframes hpRip {
  0%   { scale: 0.84; opacity: 0; }
  16%  { opacity: 0.85; }
  100% { scale: 1.24; opacity: 0; }
}
/* 他遇那条筛网上的扫描光。用 `left` 而不是 `transform: translateX(px)`：
   容器宽度是 min(520px, 92vw)，写死像素在手机上光会提前跑出容器、半路消失。 */
@keyframes hpSweep {
  0%   { left: -140px; opacity: 0; }
  12%  { opacity: 1; }
  82%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ============================================================
   响应式
   ============================================================ */

@media (min-width: 860px) {
  /* 名片那一小段：桌面端图在左、字在右 */
  .hp-show-row { grid-template-columns: 300px 1fr; }
  .hp-match-points { grid-template-columns: repeat(3, 1fr); gap: 26px; }
}

@media (max-width: 859px) {
  .hp-card-stage { margin-bottom: 8px; }
  /* 手机端卡面小一点 —— 这一屏已经是配角，不该再占满一屏。
     ⚠️ 但**只缩宽度会出事**：卡是固定宽高比（335/370），宽度一缩，
     内部元素（头像 62 + 两条占位线 + chips + 底部那行）的总高不变，
     实测 240 宽时 "HEYOU.CARD / 可互换" 会顶到 chips 上并叠在一起。
     ⇒ 缩宽的同时必须按比例缩内边距、头像、行距和字号（下面这一组）。 */
  .hp-card {
    width: min(268px, 76vw);
    padding: 20px 18px;
    border-radius: 22px;
  }
  .hp-card-ava { width: 52px; height: 52px; border-radius: 15px; }
  .hp-card-name b { font-size: 16px; }
  .hp-card-name span { font-size: 11px; }
  .hp-card-id { gap: 12px; margin-top: 14px; }
  .hp-card-rule { margin: 15px 0 12px; }
  .hp-card-line { height: 8px; }
  .hp-card-line + .hp-card-line { margin-top: 7px; }
  .hp-card-chips { margin-top: 14px; }
  .hp-card-chips i { height: 20px; }
  .hp-card-chips i:nth-child(1) { width: 44px; }
  .hp-card-chips i:nth-child(2) { width: 32px; }
  .hp-card-chips i:nth-child(3) { width: 37px; }
  .hp-card-foot { left: 18px; right: 18px; bottom: 16px; font-size: 10px; }
}

@media (max-width: 560px) {
  .hp-wrap { width: calc(100% - 36px); }
  .hp-hero { padding: 74px 0 66px; }
  .hp-scroll { display: none; }
  .hp-btn { height: 48px; padding: 0 22px; font-size: 15px; }
  .hp-stmt-l { font-size: clamp(28px, 8.4vw, 40px); }

  /* 他遇：池子 6 列 × 4 行（24 个人）。手机上仍用 6 列 ——
     4 列会拉成 6 行、太高，且每颗头像变大后"一片人"的感觉就没了。 */
  .hp-pool { width: min(330px, 88vw); gap: 9px; }
  .hp-gate {
    /* 手机上三关改成两行：第一行「一 + 标题」，第二行描述缩进对齐标题 */
    grid-template-columns: 26px 1fr;
    gap: 4px 12px;
    padding: 15px 0;
  }
  .hp-gate p { grid-column: 2; font-size: 14px; }
  .hp-gate h3 { font-size: 15px; }
  .hp-gates-head { font-size: 17px; }
  .hp-sieve-line span { padding: 5px 11px; font-size: 11px; letter-spacing: 0.12em; }
  /* 卡片窄，右侧「推荐给你」放不下 —— 藏掉，01 那句已经说了同一件事 */
  .hp-chosen { grid-template-columns: 44px 1fr; width: min(340px, 92vw); }
  .hp-chosen-tag { display: none; }
  .hp-chosen-ava { width: 44px; height: 44px; border-radius: 12px; }
  .hp-match-points { gap: 16px; }
  .hp-point p { font-size: 14.5px; }
  /* 手机上这行会正好填满 354px 的两端，像被裁齐的一段 —— 限宽折成两行，居中更稳 */
  .hp-match-note { max-width: 20em; margin-inline: auto; }
}

/* ============================================================
   无障碍：系统开了"减少动态"就全部停住
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .hp-hero-inner,
  .hp-hero::before,
  .hp-rip i,
  .hp-card,
  .hp-card-stage::before,
  .hp-finale::before,
  .hp-match::after,
  .hp-sieve-line::after,
  .hp-marquee-track,
  .hp-scroll i {
    animation: none !important;
  }
  .hp-js .hp-rv { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   首页页脚 —— 比内页页脚更轻，只留必要信息
   ============================================================ */

body.page-home .site-footer { margin-top: 0; border-top: none; }
body.page-home .site-footer .cols { padding-top: 8px; }
