/* ============================================================
   炼伴 ForgeMate · Athletic Editorial
   暖纸 + 墨黑 + 电光酸橙；Anton 巨题 / Space Mono 标签。
   与 App 设计令牌同源（AC.*），保证品牌一致。
   ============================================================ */

:root {
  --paper: #F5F1E8;
  --paper2: #EBE5D7;
  --ink: #211E16;
  --ink-soft: #4A4639;
  --muted: #948E7D;
  --line: #DBD4C3;
  --hair: #E6E0D1;
  --lime: #CDEB45;
  --lime-deep: #A7CC2F;
  --lime-soft: #E7F2AE;
  --flare: #EE5130;
  --flare-soft: #F6D9CE;
  --card: #FCFAF3;
  --r: 12px;
  --r-lg: 18px;
  --zh: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --display: "Anton", "PingFang SC", sans-serif;
  --mono: "Space Mono", "SF Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--zh);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 纸张颗粒 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--lime); color: var(--ink); }

a { color: inherit; }

.mono {
  font-family: var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── 顶栏 ─────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1.6px solid var(--ink);
}
.topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}
.brand b { font-size: 20px; font-weight: 900; letter-spacing: 0.02em; }
.brand span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted);
}
.nav { display: flex; gap: 22px; align-items: center; }
.nav a {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.nav a:hover { color: var(--ink); border-color: var(--lime-deep); }
.nav .cta {
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
}
.nav .cta:hover { color: var(--lime); }

/* ── Hero ─────────────────────────────────────── */
.hero { position: relative; padding: 72px 0 56px; }
.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--flare);
  display: inline-block;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(64px, 13vw, 168px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 18px 0 8px;
}
.hero h1 .hollow {
  color: transparent;
  -webkit-text-stroke: 2.5px var(--ink);
}
.hero .zh-mark {
  display: inline-block;
  background: var(--lime);
  font-family: var(--zh);
  font-weight: 900;
  font-size: clamp(22px, 3.4vw, 40px);
  line-height: 1;
  padding: 10px 16px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  box-shadow: 5px 6px 0 var(--ink);
  transform: rotate(-2deg) translateY(-0.6em);
  margin-left: 8px;
}
.hero p.lead {
  max-width: 560px;
  font-size: 17px;
  color: var(--ink-soft);
  margin: 22px 0 30px;
}
.hero p.lead b { color: var(--ink); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--zh);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  border-radius: var(--r);
  padding: 14px 26px;
  border: 2px solid var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 5px 6px 0 rgba(33, 30, 22, 0.25);
}
.btn-primary .arr { color: var(--lime); }
.btn-ghost { background: var(--card); color: var(--ink); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 8px 0 rgba(33, 30, 22, 0.28); }
.btn:active { transform: translate(0, 0); box-shadow: 3px 4px 0 rgba(33, 30, 22, 0.25); }

.hero-note { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--muted); margin-top: 14px; }

/* hero 教练立绘 */
.hero-wrap { position: relative; }
.hero-coaches {
  position: absolute;
  right: 0;
  top: 24px;
  width: 400px;
  height: 460px;
  pointer-events: none;
  display: none;
  z-index: 1;
}
.hc {
  position: absolute;
  width: 210px;
  aspect-ratio: 10 / 15;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--paper2);
}
.hc-ayao {
  left: 0;
  top: 36px;
  transform: rotate(-4deg);
  box-shadow: 6px 7px 0 rgba(33, 30, 22, 0.2);
  animation: hcbob 6s ease-in-out infinite;
}
.hc-ran {
  right: 0;
  top: 92px;
  transform: rotate(3.5deg);
  box-shadow: -6px 7px 0 rgba(33, 30, 22, 0.2);
  animation: hcbob 6s ease-in-out 3s infinite;
}
@keyframes hcbob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
.hc-tag {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%) rotate(-2deg);
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 4px 5px 0 var(--ink);
  font-size: 13px;
  font-weight: 900;
  padding: 6px 14px;
  white-space: nowrap;
}
@media (min-width: 1100px) {
  .hero-coaches { display: block; }
}

/* hero 右下角几何装饰 */
.hero-deco {
  position: absolute;
  right: -40px;
  top: 60px;
  width: 300px;
  height: 300px;
  pointer-events: none;
  opacity: 0.9;
}
.hero-deco .ring {
  position: absolute;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

/* 数据条 */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  margin-top: 52px;
}
.stat {
  padding: 22px 24px;
  border-left: 1.6px solid var(--hair);
}
.stat:first-child { border-left: none; }
.stat .n {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}
.stat .n em { font-style: normal; color: var(--lime-deep); }
.stat .l {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-top: 6px;
}

/* ── 跑马灯 ───────────────────────────────────── */
.marquee {
  background: var(--lime);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  transform: rotate(-1.2deg) scale(1.02);
  margin: 64px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll 26s linear infinite;
  padding: 12px 0;
}
.marquee span {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.06em;
  word-spacing: 1.8em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: 1.8em;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ── 区块标题 ─────────────────────────────────── */
.sec { padding: 30px 0 70px; }
.sec-head {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 16px;
  margin-bottom: 36px;
}
.sec-head .idx {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--flare);
  letter-spacing: 0.2em;
  white-space: nowrap;
  flex: none;
}
.sec-head h2 { min-width: 0; }
.sec-head h2 {
  font-family: var(--zh);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.2;
}
.sec-head h2 mark {
  background: var(--lime);
  padding: 0 8px;
  border-radius: 6px;
}

/* ── 功能卡 ───────────────────────────────────── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.feat {
  position: relative;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 26px 24px 24px;
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
}
.feat:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 9px 0 rgba(33, 30, 22, 0.18);
}
.feat .no {
  font-family: var(--display);
  font-size: 64px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.6px var(--line);
  position: absolute;
  right: 16px;
  top: 12px;
  transition: -webkit-text-stroke-color 0.18s;
}
.feat:hover .no { -webkit-text-stroke-color: var(--lime-deep); }
.feat .tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.feat h3 { font-size: 19px; font-weight: 900; margin: 10px 0 8px; }
.feat p { font-size: 14px; color: var(--ink-soft); max-width: 88%; }
.feat .chip {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  background: var(--paper2);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 4px 10px;
}
.feat.accent { background: var(--ink); color: var(--paper); }
.feat.accent p { color: var(--paper2); }
.feat.accent .tag { color: var(--lime); }
.feat.accent .chip { background: rgba(252, 250, 243, 0.1); border-color: rgba(252, 250, 243, 0.25); color: var(--lime-soft); }
.feat.accent .no { -webkit-text-stroke-color: rgba(252, 250, 243, 0.3); }

/* ── 教练卡 ───────────────────────────────────── */
.coach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.coach-card {
  display: flex;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
}
.coach-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 9px 0 rgba(33, 30, 22, 0.18);
}
.coach-fig {
  flex: 0 0 42%;
  margin: 0;
  border-right: 1.6px solid var(--hair);
  background: var(--paper2);
}
.coach-fig img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.coach-info { flex: 1; padding: 24px 22px 22px; display: flex; flex-direction: column; align-items: flex-start; }
.coach-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.coach-card.ayao .coach-tag { color: var(--flare); }
.coach-card.ran .coach-tag { color: var(--lime-deep); }
.coach-info h3 { font-size: 24px; font-weight: 900; margin: 10px 0 2px; line-height: 1.2; }
.coach-info h3 .en {
  font-family: var(--display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-left: 4px;
}
.coach-info > p { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
.coach-chip {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  background: var(--paper2);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 4px 10px;
}
.coach-card.ayao .coach-chip { background: var(--flare-soft); border-color: var(--flare); }
.coach-card.ran .coach-chip { background: var(--lime-soft); border-color: var(--lime-deep); }

/* ── 真实界面截图 ─────────────────────────────── */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: start;
}
.phone {
  margin: 0;
  text-align: center;
}
.phone img {
  display: block;
  width: 100%;
  border: 2.5px solid var(--ink);
  border-radius: 26px;
  background: var(--ink);
  padding: 7px;
  box-sizing: border-box;
  box-shadow: 8px 10px 0 rgba(33, 30, 22, 0.16);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.phone img:hover { transform: translateY(-6px) rotate(-0.6deg); }
.phone.mid { transform: translateY(22px); }
.phone figcaption {
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.phone .ptag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  background: var(--lime);
  border: 1.4px solid var(--ink);
  border-radius: 6px;
  padding: 2px 8px;
}

/* ── 动作库看板 ───────────────────────────────── */
.lib-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.lib-bars {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 26px 24px;
}
.lib-bar {
  display: grid;
  grid-template-columns: 110px 1fr 44px;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}
.lib-bar .m { font-size: 13px; font-weight: 800; color: var(--ink-soft); }
.lib-bar i {
  display: block;
  height: 16px;
  background: var(--paper2);
  border: 1.4px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.lib-bar b {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--lime), var(--lime-deep));
  border-radius: 999px;
  transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s;
}
.lib-bar.in b, html.no-anim .lib-bar b, html:not(.js) .lib-bar b { width: var(--w); }
.lib-bar .c {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
  color: var(--ink);
}
.lib-note { font-size: 12.5px; color: var(--muted); margin-top: 16px; }
.lib-side {
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.lib-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--lime);
  margin-bottom: 10px;
}
.lib-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lib-chips .chip {
  font-size: 12px;
  font-weight: 700;
  background: rgba(252, 250, 243, 0.08);
  border: 1px solid rgba(252, 250, 243, 0.22);
  border-radius: 7px;
  padding: 4px 10px;
  color: var(--paper2);
}
.lib-level {
  display: flex;
  height: 16px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(252, 250, 243, 0.25);
}
.lib-level i { display: block; }
.lib-level .l1, .lib-legend .l1 { background: var(--lime); }
.lib-level .l2, .lib-legend .l2 { background: var(--lime-deep); }
.lib-level .l3, .lib-legend .l3 { background: var(--flare); }
.lib-legend { display: flex; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.lib-legend span { font-size: 11.5px; color: var(--paper2); display: inline-flex; align-items: center; gap: 6px; }
.lib-legend i { width: 10px; height: 10px; border-radius: 3px; }
.lib-tip { font-size: 13px; color: var(--paper2); line-height: 1.7; margin-top: auto; }
.lib-tip b { color: var(--lime); }

/* ── FAQ ─────────────────────────────────────── */
.faq-list { display: grid; gap: 12px; max-width: 820px; }
.faq-item {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  font-size: 15.5px;
  font-weight: 800;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .q {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--flare);
  flex: none;
}
.faq-item .plus { margin-left: auto; position: relative; width: 14px; height: 14px; flex: none; }
.faq-item .plus::before, .faq-item .plus::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--ink);
  transition: transform 0.25s;
}
.faq-item .plus::before { width: 14px; height: 2.4px; }
.faq-item .plus::after { width: 2.4px; height: 14px; }
.faq-item[open] .plus::after { transform: rotate(90deg); }
.faq-item[open] summary { background: var(--lime-soft); }
.faq-item .a {
  padding: 14px 20px 18px;
  font-size: 14px;
  color: var(--ink-soft);
  border-top: 1.6px solid var(--hair);
}
.faq-item .a a { color: var(--lime-deep); font-weight: 700; }

/* ── 三步走 ───────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 2px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; }
.step { background: var(--card); padding: 28px 24px 30px; border-left: 1.6px solid var(--hair); position: relative; }
.step:first-child { border-left: none; }
.step .sno {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--flare);
}
.step h3 { font-size: 18px; font-weight: 900; margin: 10px 0 6px; }
.step p { font-size: 13.5px; color: var(--ink-soft); }

/* ── 对话演示 ─────────────────────────────────── */
.chat-demo {
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: 30px clamp(20px, 4vw, 44px) 34px;
  box-shadow: 0 26px 50px -28px rgba(33, 30, 22, 0.55);
}
.chat-demo .bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}
.chat-demo .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); opacity: 0.5; }
.chat-demo .bar i:first-child { background: var(--flare); opacity: 1; }
.chat-demo .bar i:nth-child(2) { background: var(--lime); opacity: 1; }
.chat-demo .bar b { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--muted); margin-left: 8px; font-weight: 400; }
.bubble { max-width: 78%; padding: 12px 16px; border-radius: 14px; font-size: 14.5px; margin-bottom: 14px; line-height: 1.65; }
.bubble.user { background: var(--lime); color: var(--ink); margin-left: auto; border-bottom-right-radius: 4px; font-weight: 700; }
.bubble.coach { background: var(--card); color: var(--ink); border-bottom-left-radius: 4px; }
.bubble.coach .who { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; color: var(--flare); display: block; margin-bottom: 4px; }
.bubble.coach .act {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
  background: var(--lime-soft);
  border: 1.4px solid var(--lime-deep);
  border-radius: 7px;
  padding: 3px 10px;
}

/* ── Beta CTA ─────────────────────────────────── */
.beta {
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--lime-soft), var(--card) 55%);
  padding: clamp(28px, 5vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.beta h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 900; line-height: 1.25; }
.beta p { color: var(--ink-soft); font-size: 14.5px; margin-top: 8px; max-width: 480px; }

/* ── 页脚 ─────────────────────────────────────── */
footer {
  border-top: 2px solid var(--ink);
  background: var(--paper2);
  padding: 36px 0 30px;
  margin-top: 80px;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.foot .fbrand b { font-size: 18px; font-weight: 900; }
.foot .fbrand .mono { display: block; font-size: 9.5px; color: var(--muted); margin-top: 4px; }
.foot ul { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { font-size: 13px; font-weight: 700; color: var(--ink-soft); text-decoration: none; border-bottom: 1.6px solid transparent; }
.foot a:hover { color: var(--ink); border-color: var(--lime-deep); }
.legalline {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── 滚动动效 ─────────────────────────────────── */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--lime-deep));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 1000;
  pointer-events: none;
}

/* 仅在 JS 可用且未要求减少动效时隐藏待显元素 */
html.js:not(.no-anim) [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
html.js:not(.no-anim) [data-reveal="left"] { transform: translateX(-44px); }
html.js:not(.no-anim) [data-reveal="right"] { transform: translateX(44px); }
html.js:not(.no-anim) [data-reveal].in { opacity: 1; transform: none; }
/* hover 位移效果与 reveal 的 transform 过渡兼容 */
html.js:not(.no-anim) .feat[data-reveal].in:hover,
html.js:not(.no-anim) .coach-card[data-reveal].in:hover {
  transform: translate(-3px, -3px);
}

/* 聊天气泡逐条出现 + 打字点 */
html.js:not(.no-anim) .bubble {
  transition: opacity 0.45s, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
html.js:not(.no-anim) .bubble.hide {
  opacity: 0;
  transform: translateY(14px) scale(0.96);
}
.bubble.typing { width: 74px; }
.dots { display: inline-flex; gap: 5px; align-items: center; height: 1em; }
.dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  animation: dotpulse 1s infinite ease-in-out;
}
.dots i:nth-child(2) { animation-delay: 0.16s; }
.dots i:nth-child(3) { animation-delay: 0.32s; }
@keyframes dotpulse {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* 教练立绘：悬停轻微放大 */
.coach-fig { overflow: hidden; }
.coach-fig img { transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.coach-card:hover .coach-fig img { transform: scale(1.05); }

/* hero 中文标 · 轻微摇摆 */
.hero .zh-mark { animation: bob 5s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: rotate(-2deg) translateY(-0.6em); }
  50% { transform: rotate(1.4deg) translateY(-0.72em); }
}

/* 跑马灯悬停暂停 */
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ── 入场动画 ─────────────────────────────────── */
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.rise { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.18s; }
.d3 { animation-delay: 0.3s; }
.d4 { animation-delay: 0.44s; }

@media (prefers-reduced-motion: reduce) {
  .rise, .marquee-track, .hero .zh-mark, .dots i, .hc { animation: none; }
}

/* ── 法律文档页 ───────────────────────────────── */
.doc-hero { padding: 56px 0 8px; }
.doc-hero h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 900; line-height: 1.15; }
.doc-hero h1 mark { background: var(--lime); padding: 0 10px; border-radius: 8px; }
.doc-meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--muted); margin-top: 12px; }
.doc {
  max-width: 760px;
  background: var(--card);
  border: 1.6px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 44px);
  margin: 28px auto 0;
}
.doc h1 { display: none; } /* 标题由 doc-hero 呈现 */
.doc h2 {
  font-size: 19px;
  font-weight: 900;
  margin: 34px 0 10px;
  padding-left: 12px;
  border-left: 4px solid var(--lime-deep);
}
.doc h2:first-of-type { margin-top: 0; }
.doc p { font-size: 14.5px; color: var(--ink-soft); margin: 10px 0; }
.doc strong { color: var(--ink); }
.doc ul { padding-left: 22px; margin: 10px 0; }
.doc li { font-size: 14.5px; color: var(--ink-soft); margin: 6px 0; }
.doc blockquote {
  background: color-mix(in srgb, var(--lime-soft) 55%, transparent);
  border-left: 3px solid var(--lime-deep);
  border-radius: 8px;
  padding: 10px 16px;
  margin: 14px 0;
  color: var(--ink-soft);
  font-size: 13.5px;
}
.doc a { color: var(--lime-deep); font-weight: 700; }
.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  margin-top: 26px;
  border-bottom: 2px solid var(--lime-deep);
  padding-bottom: 2px;
}

/* ── 响应式 ───────────────────────────────────── */
@media (max-width: 760px) {
  .feat-grid { grid-template-columns: 1fr; }
  .coach-grid { grid-template-columns: 1fr; }
  .coach-fig { flex-basis: 38%; }
  .lib-grid { grid-template-columns: 1fr; }
  .lib-bar { grid-template-columns: 92px 1fr 40px; }
  .shot-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .phone.mid { transform: none; }
  .steps { grid-template-columns: 1fr; }
  .step { border-left: none; border-top: 1.6px solid var(--hair); }
  .step:first-child { border-top: none; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1.6px solid var(--hair); }
  .stat:first-child { border-top: none; }
  .nav a:not(.cta) { display: none; }
  .hero-deco { display: none; }
}
