/* ==========================================================================
   超级少年计划：翻页式 H5
   风格：大字开场 + 数据叙事；配色：水泥橙
   ========================================================================== */

:root {
  --paper: #e6e6e3;
  --ink: #000;
  --muted: #6a6a66;
  --rule: #cacac5;
  --signal: #ff5a00;      /* 唯一强调色 */
  --signal-weak: #f7b38c; /* 弱化的数据 */
  --signal-deep: #c24400;
  --turn-bg: #ff5a00;
  --turn-fg: #000;
  --turn-muted: #5a2400;

  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --num: "DIN Condensed", "Bahnschrift Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;

  --vh: 1vh;              /* 由 deck.js 按 innerHeight 校正，规避微信里 100vh 不准 */
  --page-h: calc(var(--vh) * 100);
  --gutter: 22px;
}

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

html {
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
}

html, body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;   /* 禁止下拉露出微信底色 */
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

/* ---------- 翻页框架 ---------- */
.deck {
  position: relative;
  height: var(--page-h);
  overflow: hidden;
  touch-action: none;
}
.track { will-change: transform; }
.track.is-animating { transition: transform .65s cubic-bezier(.7, 0, .2, 1); }

.page {
  position: relative;
  height: var(--page-h);
  min-height: 520px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom);
}

/* 右侧页码：数字页码 + 页码点 */
.indicator {
  position: fixed;
  right: 3px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: 16px;
  z-index: 10;
  pointer-events: none;
}
/* 右上角页码：03 / 07 */
.pager {
  position: fixed;
  top: 16px; right: var(--gutter);
  display: flex; align-items: baseline; gap: 4px;
  font-family: var(--num); line-height: 1;
  z-index: 10;
  pointer-events: none;
}
.pager b { font-size: 20px; font-weight: 700; color: var(--ink); }
.pager span { font-size: 13px; color: var(--muted); }
.dots { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dots i { width: 4px; height: 4px; border-radius: 2px; background: var(--ink); opacity: .25; transition: height .3s ease, opacity .3s ease; }
.dots i.is-current { height: 14px; opacity: .9; }

/* 深色封面上：页码与页码点改为浅色 */
body.on-dark .pager b { color: #fff; }
body.on-dark .pager span { color: rgba(255, 255, 255, .55); }
body.on-dark .dots i { background: #fff; }
.pager b, .pager span, .dots i { transition: color .3s ease, background-color .3s ease, height .3s ease, opacity .3s ease; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.next-btn {
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: grid; place-items: center;
}
.next-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.page.is-active .next-btn { animation: bob 1.6s ease-in-out 3.8s infinite; }

/* ==========================================================================
   封面：超级少年培养计划
   深炭灰底 + 白色大字 + 从底部冲起的橙色成长柱：稳重，同时保留开场冲击
   ========================================================================== */
.cover {
  justify-content: flex-start;
  padding: clamp(40px, calc(var(--vh) * 10), 100px) var(--gutter) calc(clamp(78px, calc(var(--vh) * 11.5), 104px) + env(safe-area-inset-bottom));
  /* 深炭灰底，右下角透出橙色柔光，增加纵深 */
  background:
    radial-gradient(ellipse 90% 45% at 88% 100%, rgba(255, 90, 0, .22), transparent 70%),
    #1c1c1a;
  color: #fff;
}

/* 白色细网格，下半部分最清晰，向上淡出 */
.cover::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(to top, #000 20%, transparent 85%);
  mask-image: linear-gradient(to top, #000 20%, transparent 85%);
  pointer-events: none;
}
.cover > * { position: relative; }

.cover__age {
  align-self: flex-start;
  margin-bottom: clamp(14px, calc(var(--vh) * 2.6), 24px);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: var(--signal);
  background: rgba(255, 90, 0, .14);
  opacity: 0;
}
.cover.is-active .cover__age { animation: fade .5s ease .1s forwards; }

.cover__title { align-self: flex-start; font-weight: 600; }
.cover__name, .cover__sub { display: block; opacity: 0; transform: translateY(14px); }
.cover__name {
  font-size: min(66px, 17vw, calc(var(--vh) * 8.6));
  line-height: 1.08;
  letter-spacing: .02em;
  color: #fff;
}
.cover__sub { margin-top: 10px; font-size: min(21px, 5.4vw); font-weight: 400; letter-spacing: .55em; color: rgba(255, 255, 255, .6); }
.cover__slogan {
  position: relative;
  margin-top: clamp(16px, calc(var(--vh) * 3), 28px);
  padding-top: 14px;
  font-size: min(18px, 4.8vw, calc(var(--vh) * 2.6));
  line-height: 1.6;
  font-weight: 600;
  color: rgba(255, 255, 255, .88);
  opacity: 0; transform: translateY(10px);
}
.cover__slogan::before { content: ""; position: absolute; left: 0; top: 0; width: 32px; height: 3px; background: var(--signal); }
.cover.is-active .cover__name { animation: in .7s cubic-bezier(.2, .8, .2, 1) .15s forwards; }
.cover.is-active .cover__sub { animation: in .6s cubic-bezier(.2, .8, .2, 1) .35s forwards; }
.cover.is-active .cover__slogan { animation: in .6s cubic-bezier(.2, .8, .2, 1) .55s forwards; }

/* 主视觉：白色成长柱从底部冲起，最后一根最高、实心，顶端圆点向外扩散光圈 */
.cover__art { width: 100%; margin-top: auto; }
.cover__bars {
  position: relative;
  display: flex; align-items: flex-end; gap: 10px;
  height: clamp(150px, calc(var(--vh) * 34), 320px);
  border-bottom: 2px solid rgba(255, 255, 255, .22);
}
.cover__bars i {
  position: relative;
  flex: 1;
  height: var(--h);
  background: rgba(255, 90, 0, .38);
  border-radius: 8px 8px 0 0;
  transform: scaleY(0);
  transform-origin: bottom;
}
.cover__bars .cover__top { background: var(--signal); box-shadow: 0 0 44px rgba(255, 90, 0, .55); }
.cover__top::after, .cover__top::before {
  content: "";
  position: absolute; left: 50%; bottom: calc(100% + 12px);
  width: 16px; height: 16px; margin-left: -8px;
  border-radius: 50%;
  background: var(--signal);
  opacity: 0;
}
.cover.is-active .cover__bars i { animation: shoot .8s cubic-bezier(.2, 1.25, .35, 1) forwards; animation-delay: calc(var(--i) * .1s + .7s); }
.cover.is-active .cover__bars .cover__top { animation-duration: 1s; }
.cover.is-active .cover__top::after { animation: pop .45s cubic-bezier(.2, 1.6, .4, 1) 1.8s forwards; }
.cover.is-active .cover__top::before { animation: ring 2.2s ease-out 2.2s infinite; }

.cover__steps { display: flex; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.cover__steps li {
  flex: 1;
  text-align: center;
  font-size: min(12px, 3.1vw);
  line-height: 1.3;
  color: rgba(255, 255, 255, .5);
  white-space: nowrap;
  opacity: 0;
}
.cover__steps li:last-child { color: var(--signal); font-weight: 600; }
.cover.is-active .cover__steps li { animation: fade .4s ease 1.5s forwards; }

.cover__hint {
  position: absolute;
  left: 50%; bottom: calc(18px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 16px;
  font-size: 13px; color: rgba(255, 255, 255, .6);
  opacity: 0;
}
.cover__hint svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cover.is-active .cover__hint { animation: fade .4s ease 2.3s forwards; }
.cover.is-active .cover__hint svg { animation: nudge 1.4s ease-in-out 2.8s infinite; }

@keyframes shoot { 0% { transform: scaleY(0); } 100% { transform: scaleY(1); } }

/* ==========================================================================
   数据页（.dp）：顶栏 + 大字提问 + 图表 + 出处 + 橙色结论横幅
   动画只在 .is-active 时播放，翻回来会重播
   ========================================================================== */
.dp__top { padding: 18px calc(var(--gutter) + 70px) 0 var(--gutter); display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.dp__top b { flex: none; font-size: 15px; letter-spacing: .08em; }
.dp__top span { color: var(--muted); text-align: right; }

.dp__headline {
  padding: clamp(14px, calc(var(--vh) * 3.4), 34px) var(--gutter) 0;
  font-weight: 600;
  font-size: min(42px, 9.5vw, calc(var(--vh) * 5.8));
  line-height: 1.16;
  letter-spacing: -.02em;
}
.dp__headline span { display: block; opacity: 0; transform: translateY(12px); }
.dp__ask { margin-top: .18em; }
.dp.is-active .dp__headline span { animation: in .5s cubic-bezier(.2, .8, .2, 1) forwards; }
.dp.is-active .dp__headline span:nth-child(2) { animation-delay: .15s; }
.dp.is-active .dp__headline span:nth-child(3) { animation-delay: .5s; }

/* ---------- AI 时代的机遇：成长路径 + 三个价值方向 ---------- */
.dp__lead { margin: clamp(14px, calc(var(--vh) * 2.4), 22px) var(--gutter) 0; padding-left: 14px; border-left: 3px solid var(--signal); font-size: min(15px, 3.9vw, calc(var(--vh) * 2.2)); line-height: 1.8; color: var(--muted); }
.dp__lead-key { font-size: min(17px, 4.4vw, calc(var(--vh) * 2.5)); font-weight: 600; color: var(--ink); }
.dp__lead-key + p { margin-top: 6px; }
.dp__lead em { font-style: normal; font-weight: 600; color: var(--signal-deep); }

.opp__board { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: clamp(22px, calc(var(--vh) * 4), 40px); margin: clamp(14px, calc(var(--vh) * 2.4), 24px) var(--gutter) 0; }

/* 成长路径：一条进度线，橙色从左往右生长，依次点亮四个节点 */
.path {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 0; padding: 0; list-style: none;
}
/* 底线与生长线：从第一个圆点中心连到最后一个圆点中心 */
.path::before, .path::after {
  content: "";
  position: absolute; left: 12.5%; right: 12.5%; top: 8px;
  height: 2px;
  background: var(--rule);
}
.path::after { background: var(--signal); transform: scaleX(0); transform-origin: left; }
.opp.is-active .dp__turn { animation-delay: 3.4s; }
.opp.is-active .path::after { animation: fill 1.2s cubic-bezier(.4, 0, .2, 1) 1.6s forwards; }

.path li {
  position: relative;
  padding-top: 26px;
  text-align: center;
  font-size: min(13px, 3.4vw);
  color: var(--muted);
}
.path li::before {
  content: "";
  position: absolute; left: 50%; top: 2px;
  width: 14px; height: 14px; margin-left: -7px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 2px var(--rule);
  z-index: 1;
}
.path .is-end { font-size: min(15px, 3.9vw); font-weight: 600; color: var(--ink); }
.path .is-end::before { top: -3px; width: 24px; height: 24px; margin-left: -12px; }
/* 生长线经过时点亮圆点（与 1.6s 起、1.2s 长的生长线同步） */
.opp.is-active .path li::before { animation: light .3s ease forwards; animation-delay: calc(var(--i) * .4s + 1.6s); }
.opp.is-active .path li { animation: ink .3s ease forwards; animation-delay: calc(var(--i) * .4s + 1.6s); }
.opp.is-active .path .is-end::before { animation: light .3s ease 2.8s forwards, glow 2.4s ease-out 3.2s infinite; }

/* 三个价值方向：从“社会价值”展开的三行 */
.values { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.values li { display: grid; grid-template-columns: min(80px, 22vw) 1fr; align-items: baseline; gap: 10px; padding: clamp(12px, calc(var(--vh) * 2), 18px) 0; border-bottom: 1px solid var(--rule); }
.values b { font-size: min(17px, 4.4vw, calc(var(--vh) * 2.5)); }
.values span { font-size: min(14px, 3.7vw, calc(var(--vh) * 2.1)); line-height: 1.6; color: var(--muted); }

@keyframes fill { to { transform: scaleX(1); } }
@keyframes light { to { background: var(--signal); box-shadow: inset 0 0 0 2px var(--signal); } }
@keyframes ink { to { color: var(--ink); } }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 0, .45); } 100% { box-shadow: 0 0 0 12px rgba(255, 90, 0, 0); } }

/* ---------- 趋势：中美大厂新闻列表（公司名 + 一句话 + 出处） ---------- */
.corps {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  margin: clamp(10px, calc(var(--vh) * 2), 20px) var(--gutter) 0;
}
.corps h2 { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.corps ul + h2 { margin-top: clamp(10px, calc(var(--vh) * 2), 18px); }
.corps ul { margin: 0; padding: 0; list-style: none; }
.corps li {
  display: grid; grid-template-columns: min(84px, 22vw) 1fr; align-items: start; gap: 8px;
  padding: clamp(5px, calc(var(--vh) * 1), 10px) 0;
  border-bottom: 1px solid var(--rule);
}
.corps li:first-child { border-top: 1.5px solid var(--ink); }
.corps b {
  justify-self: start;
  padding: 1px 6px;
  font-size: min(12.5px, 3.3vw); font-weight: 600; line-height: 1.6;
  color: var(--paper); background: var(--ink);
  border-radius: 3px;
  white-space: nowrap;
}
.corps p { font-size: min(14.5px, 3.8vw, calc(var(--vh) * 2.15)); font-weight: 600; line-height: 1.5; }
.corps span { margin-left: 6px; font-size: 11.5px; font-weight: 400; color: var(--muted); white-space: nowrap; }

/* ---------- 人物案例页（姜睦然、陈广宇）---------- */
.reveal { opacity: 0; transform: translateY(12px); }
.dp.is-active .reveal { animation: in .5s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: var(--d); }

.who { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: clamp(8px, calc(var(--vh) * 1.6), 14px) var(--gutter) 0; }
.who b { font-size: min(20px, 5.2vw); }
.who span { font-size: 13px; color: var(--muted); }

/* 名人评价引用（如马斯克） */
.praise {
  margin: clamp(8px, calc(var(--vh) * 1.4), 12px) var(--gutter) 0;
  padding: 6px 12px;
  border-left: 3px solid var(--signal);
  background: rgba(255, 255, 255, .5);
}
.praise p { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: min(18px, 4.7vw, calc(var(--vh) * 2.7)); font-weight: 600; line-height: 1.35; }
.praise p b { margin-left: 8px; font-family: var(--sans); font-style: normal; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.praise cite { display: block; margin-top: 2px; font-style: normal; font-size: 12px; color: var(--muted); }

.timeline { flex: 1; display: flex; flex-direction: column; justify-content: center; margin: clamp(6px, calc(var(--vh) * 1.4), 14px) var(--gutter) 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: min(78px, 21vw) 1fr; gap: 10px; padding: clamp(6px, calc(var(--vh) * 1.3), 12px) 0; border-top: 1px solid var(--rule); }
.timeline li:last-child { border-bottom: 1px solid var(--rule); }
.timeline b { font-family: var(--num); font-weight: 700; font-size: min(18px, 4.6vw); line-height: 1.3; color: var(--muted); }
.timeline p { font-size: min(14px, 3.7vw, calc(var(--vh) * 2.2)); line-height: 1.45; }
/* 每一步对应的能力标签 */
.timeline em {
  display: inline-block;
  margin-right: 6px;
  padding: 0 5px;
  font-style: normal; font-size: 11.5px; font-weight: 600; line-height: 1.6;
  color: var(--signal-deep);
  border: 1px solid var(--signal);
  border-radius: 3px;
  vertical-align: 1px;
}
.timeline .is-key em { color: var(--ink); background: var(--signal); }
.timeline .is-key b { color: var(--signal); }
.timeline .is-key p { font-weight: 600; }

/* 姜睦然页横幅原文较长，字号略小，保证每行不折行 */
.jmr .dp__turn p { font-size: min(18px, 4.6vw, calc(var(--vh) * 2.5)); }

/* ---------- 投入理念：天赋 × 兴趣四象限 ---------- */
.quad__lead { margin: clamp(8px, calc(var(--vh) * 1.6), 14px) var(--gutter) 0; font-size: min(15px, 3.9vw, calc(var(--vh) * 2.3)); color: var(--muted); }

.quad__chart {
  flex: 1;
  display: grid;
  grid-template-columns: 20px 1fr;
  grid-template-rows: 1fr 22px;
  margin: clamp(10px, calc(var(--vh) * 2), 20px) var(--gutter) 0;
  min-height: 0;
}
.quad__grid {
  grid-column: 2; grid-row: 1;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px;
  height: 100%; max-height: 360px;
  align-self: center;
  padding: 0 0 6px 6px;
  border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
}
/* 坐标轴文字与箭头 */
.quad__axis { margin: 0; font-size: 13px; font-weight: 600; }
.quad__axis--y { grid-column: 1; grid-row: 1; writing-mode: vertical-rl; align-self: start; justify-self: center; padding-top: 4px; }
.quad__axis--y::before { content: "▲"; display: block; margin-bottom: 4px; font-size: 9px; }
.quad__axis--x { grid-column: 2; grid-row: 2; justify-self: end; align-self: end; }
.quad__axis--x::after { content: " ▶"; font-size: 9px; }

.quad__cell {
  display: flex; flex-direction: column; justify-content: center;
  padding: 10px 12px;
  border-radius: 6px;
  opacity: 0; transform: scale(.92);
}
.quad__cell b { font-size: min(20px, 5.2vw, calc(var(--vh) * 2.9)); line-height: 1.25; }
.quad__cell span { margin-top: 4px; font-size: min(12.5px, 3.3vw); opacity: .8; }
/* 颜色深浅 = 投入力度 */
.quad__cell.is-all-in { background: var(--signal); color: var(--ink); }
.quad__cell.is-focus { background: var(--signal-weak); color: var(--ink); }
.quad__cell.is-careful { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); }
.quad__cell.is-no { background: var(--rule); color: var(--muted); }
.quad__cell.is-no b { text-decoration: line-through; text-decoration-thickness: 2px; }

.quad.is-active .quad__cell { animation: tile .45s cubic-bezier(.2, 1.3, .4, 1) forwards; animation-delay: var(--d); }
.quad.is-active .quad__cell.is-all-in { animation: tile .45s cubic-bezier(.2, 1.3, .4, 1) var(--d) forwards, pulse .6s ease 2.3s; }

@keyframes tile { to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { transform: scale(1.04); } }

.dp__source { padding: 6px var(--gutter) 0; font-size: 10.5px; line-height: 1.5; color: var(--muted); }

.dp__turn {
  margin-top: clamp(10px, calc(var(--vh) * 2), 20px);
  margin-bottom: calc(-1 * env(safe-area-inset-bottom));
  padding: clamp(16px, calc(var(--vh) * 3), 26px) var(--gutter) calc(clamp(16px, calc(var(--vh) * 3), 26px) + env(safe-area-inset-bottom));
  background: var(--turn-bg); color: var(--turn-fg);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  transform: translateY(100%);
}
.dp.is-active .dp__turn { animation: slide .6s cubic-bezier(.2, .8, .2, 1) 3s forwards; }
.dp__turn p { font-weight: 600; font-size: min(24px, 6.2vw, calc(var(--vh) * 3.3)); line-height: 1.35; }
.dp__turn small { display: block; margin-top: 6px; font-size: 14px; font-weight: 400; color: var(--turn-muted); }

/* ---------- 项目价值：四步递进（发现 → 转化 → 赋能 → 落地） ---------- */
.offer__list {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  margin: clamp(10px, calc(var(--vh) * 2), 20px) var(--gutter) 0;
  padding: 0; list-style: none;
}
.offer__list li {
  position: relative;
  display: grid; grid-template-columns: 46px 1fr; gap: 10px;
  padding: clamp(8px, calc(var(--vh) * 1.6), 14px) 0;
  border-top: 1px solid var(--rule);
}
.offer__list li:first-child { border-top: 1.5px solid var(--ink); }
.offer__list li:last-child { border-bottom: 1px solid var(--rule); }
.offer__list b { font-family: var(--num); font-weight: 700; font-size: min(30px, 7.8vw, calc(var(--vh) * 4)); line-height: 1; color: var(--signal-weak); }
.offer__list h2 { font-size: min(17px, 4.4vw, calc(var(--vh) * 2.4)); line-height: 1.35; }
.offer__list p { margin-top: 3px; font-size: min(13.5px, 3.5vw, calc(var(--vh) * 2)); line-height: 1.5; color: var(--muted); }
.offer__list .is-end b { color: var(--signal); }
.offer__list .is-end h2 { color: var(--signal-deep); }

/* ---------- 培养体系：周期数字 + 台阶图 ---------- */
.cycle {
  display: grid; grid-template-columns: 1fr 1fr;
  margin: clamp(10px, calc(var(--vh) * 2.2), 22px) var(--gutter) 0;
  padding: clamp(8px, calc(var(--vh) * 1.4), 14px) 0;
  list-style: none;
  border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--rule);
}
.cycle li + li { padding-left: 14px; border-left: 1px solid var(--rule); }
.cycle b { font-family: var(--num); font-weight: 700; font-size: min(44px, 11vw, calc(var(--vh) * 6)); line-height: 1; color: var(--signal); }
.cycle i { margin-left: 3px; font-style: normal; font-size: 15px; font-weight: 600; color: var(--signal); }
.cycle span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }

/* 台阶：逐级变宽、逐级加深 */
.stairs {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  margin: clamp(10px, calc(var(--vh) * 2), 20px) var(--gutter) 0;
  padding: 0; list-style: none;
}
.stairs li {
  width: var(--w);
  display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 6px;
  padding: clamp(8px, calc(var(--vh) * 1.4), 12px) 12px;
  border-radius: 6px;
  transform: scaleX(0); transform-origin: left;
}
.stairs li:nth-child(1) { background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.stairs li:nth-child(2) { background: #fbd6c0; }
.stairs li:nth-child(3) { background: var(--signal-weak); }
.stairs li:nth-child(4) { background: var(--signal); }
.stairs b { font-family: var(--num); font-weight: 700; font-size: 18px; color: var(--signal-deep); }
.stairs li:nth-child(4) b { color: var(--ink); }
.stairs h2 { font-size: min(15px, 3.9vw, calc(var(--vh) * 2.2)); line-height: 1.35; }
.stairs p { margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--ink); opacity: .7; }
.stairs li > * { opacity: 0; }
.system.is-active .stairs li { animation: stair .5s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * .25s + .9s); }
.system.is-active .stairs li > * { animation: fade .3s ease forwards; animation-delay: calc(var(--i) * .25s + 1.25s); }
@keyframes stair { to { transform: scaleX(1); } }

/* ---------- 阶段页（第 9–12 页）：周次 + 内容 + 阶段成果 ---------- */
.stage__meta {
  display: flex; align-items: baseline; gap: 10px;
  margin: clamp(8px, calc(var(--vh) * 1.6), 14px) var(--gutter) 0;
  font-size: min(14px, 3.7vw); color: var(--muted);
}
.stage__meta b { flex: none; padding: 2px 8px; font-size: 13px; font-weight: 600; color: var(--paper); background: var(--ink); border-radius: 3px; }

.modules { flex: 1; display: flex; flex-direction: column; justify-content: center; margin: clamp(8px, calc(var(--vh) * 1.6), 16px) var(--gutter) 0; padding: 0; list-style: none; counter-reset: mod; }
.modules li { position: relative; padding: clamp(8px, calc(var(--vh) * 1.4), 12px) 0 clamp(8px, calc(var(--vh) * 1.4), 12px) 16px; border-top: 1px solid var(--rule); }
.modules li:first-child { border-top: 1.5px solid var(--ink); }
.modules li:last-child { border-bottom: 1px solid var(--rule); }
.modules li::before { content: ""; position: absolute; left: 0; top: calc(clamp(8px, calc(var(--vh) * 1.4), 12px) + .5em); width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.modules h2 { font-size: min(16px, 4.2vw, calc(var(--vh) * 2.3)); line-height: 1.35; }
.modules p { margin-top: 2px; font-size: min(13.5px, 3.5vw, calc(var(--vh) * 2)); line-height: 1.5; color: var(--muted); }

.stage__output {
  display: flex; align-items: baseline; gap: 10px;
  margin: clamp(8px, calc(var(--vh) * 1.6), 14px) var(--gutter) 0;
  padding: 10px 12px;
  font-size: min(14px, 3.7vw); font-weight: 600; line-height: 1.5;
  background: #fff; border-left: 3px solid var(--signal);
}
.stage__output b { flex: none; font-size: 12px; color: var(--signal-deep); }

/* 阶段 2：兴趣发展四阶段 */
.phases {
  flex: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); align-content: center; gap: 6px;
  margin: clamp(10px, calc(var(--vh) * 2), 20px) var(--gutter) 0;
  padding: 0; list-style: none;
}
.phases li {
  position: relative;
  padding: 12px 8px 14px;
  border-radius: 6px;
  opacity: 0; transform: translateY(10px);
}
.phases li:nth-child(1) { background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.phases li:nth-child(2) { background: #fbd6c0; }
.phases li:nth-child(3) { background: var(--signal-weak); }
.phases li:nth-child(4) { background: var(--signal); }
.phases b { display: block; font-size: min(20px, 5.2vw); }
.phases p { margin-top: 6px; font-size: min(12.5px, 3.3vw); line-height: 1.45; }
.phases li + li::before {
  content: "";
  position: absolute; left: -6px; top: 22px;
  width: 6px; height: 6px;
  border-top: 2px solid var(--signal-deep); border-right: 2px solid var(--signal-deep);
  transform: translateX(-2px) rotate(45deg);
}
.stage.is-active .phases li { animation: in .45s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * .3s + .9s); }
.phases__note { margin: 10px var(--gutter) 0; font-size: 13px; color: var(--muted); }

/* 阶段 4：两条路线 */
.tracks { flex: 1; display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 10px; margin: clamp(10px, calc(var(--vh) * 2), 20px) var(--gutter) 0; }
.tracks section { padding: 12px; border-top: 3px solid var(--signal); background: rgba(255, 255, 255, .5); }
.tracks h2 { font-size: min(17px, 4.4vw); }
.tracks ol { margin: 8px 0 0; padding: 0; list-style: none; counter-reset: step; }
.tracks li { position: relative; padding: 5px 0 5px 22px; font-size: min(13.5px, 3.5vw); line-height: 1.4; counter-increment: step; }
.tracks li::before { content: counter(step); position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--num); font-size: 11px; line-height: 16px; text-align: center; }

/* ---------- 培养团队与遴选 ---------- */
.labs { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; margin: clamp(10px, calc(var(--vh) * 2), 20px) var(--gutter) 0; padding: 0; list-style: none; }
.labs li {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px;
  padding: clamp(10px, calc(var(--vh) * 1.6), 14px) 14px;
  background: #fff;
  border-left: 3px solid var(--signal);
}
.labs span { grid-row: 1 / 3; align-self: center; padding-right: 12px; font-size: 13px; font-weight: 600; color: var(--muted); border-right: 1px solid var(--rule); }
.labs b { font-size: min(17px, 4.4vw, calc(var(--vh) * 2.5)); line-height: 1.35; }
.labs i { font-style: normal; font-size: 12.5px; color: var(--signal-deep); }

.admit {
  display: grid; grid-template-columns: 1fr 1fr;
  margin: clamp(10px, calc(var(--vh) * 2), 20px) var(--gutter) 0;
  padding: clamp(8px, calc(var(--vh) * 1.4), 12px) 0;
  border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--rule);
}
.admit div + div { padding-left: 14px; border-left: 1px solid var(--rule); }
.admit dt { font-size: 13px; color: var(--muted); }
.admit dd { margin: 2px 0 0; font-size: min(22px, 5.6vw, calc(var(--vh) * 3)); font-weight: 600; color: var(--ink); }
.admit div:last-child dd { color: var(--signal-deep); }

/* ---------- 预约面试 ---------- */
.book__lead { margin: clamp(8px, calc(var(--vh) * 1.6), 14px) var(--gutter) 0; font-size: min(15px, 3.9vw); color: var(--muted); }
.book__panel {
  margin: clamp(16px, calc(var(--vh) * 3.4), 32px) var(--gutter) 0;
  padding: clamp(16px, calc(var(--vh) * 2.6), 24px) 18px;
  background: #fff;
  border-top: 3px solid var(--signal);
}
.field + .field { margin-top: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.field input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  font: inherit;
  font-size: 17px; /* 不小于 16px，避免 iOS 聚焦时自动放大 */
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--rule);
  border-radius: 8px;
  outline: none;
  -webkit-appearance: none; appearance: none;
  -webkit-user-select: text; user-select: text;
  transition: border-color .15s ease, background-color .15s ease;
}
.field input::placeholder { color: #9a9a95; }
.field input:focus { border-color: var(--ink); background: #fff; }
.field input[aria-invalid="true"] { border-color: var(--signal); }
.form-error { margin-top: 12px; font-size: 14px; color: var(--signal-deep); }
.book__submit {
  width: 100%; height: 54px; margin-top: 20px;
  font-size: 18px; font-weight: 600; letter-spacing: .1em;
  color: var(--ink); background: var(--signal);
  border-radius: 8px;
  box-shadow: 0 4px 0 var(--signal-deep);
  transition: transform .1s ease, box-shadow .1s ease;
}
.book__submit:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--signal-deep); }
.book__submit[disabled] { opacity: .6; }
.book__legal { margin-top: 12px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.book__done { padding: 12px 0; text-align: center; outline: none; }
.book__done h2 { font-size: 26px; color: var(--signal-deep); }
.book__done p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* 矮屏（如微信内的小屏手机）：收紧数据页的间距，保证结论横幅完整显示 */
@media (max-height: 680px) {
  .dp__top { padding-top: 12px; }
  .dp__headline { line-height: 1.08; }
  .dp__source { font-size: 10px; line-height: 1.4; }
  .dp__turn {
    padding-top: 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
  .dp__turn small { margin-top: 3px; }
}

/* 新闻页、人物页在较矮屏幕上隐藏次要信息（微信内常见高度约 700–780px） */
@media (max-height: 800px) {
  .timeline .is-minor, .corps .is-minor { display: none; }
}
@media (max-height: 700px) {
  .praise cite { display: none; }
  .timeline li { padding: 5px 0; }
  .corps ul + h2 { margin-top: 6px; }
  .corps li { padding: 5px 0; }
  .opp__board { gap: 8px; }
  .values li { padding: 6px 0; }
}

/* ---------- 动画 ---------- */
@keyframes in { to { opacity: 1; transform: none; } }
@keyframes grow { to { transform: scaleY(1); } }
@keyframes slide { to { transform: none; } }
@keyframes bob { 50% { transform: translateY(4px); } }
@keyframes ring { 0% { opacity: .45; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
@keyframes pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes nudge { 50% { transform: translateY(-5px); } }
@keyframes fade { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; }
  .track.is-animating { transition-duration: .01ms; }
  .cover.is-active .cover__top::before, .page.is-active .next-btn, .cover.is-active .cover__hint svg { animation: none; }
  .opp.is-active .path .is-end::before { animation: light .01ms forwards; }
}

/* ==========================================================================
   PC：暂时居中显示竖屏，后续单独适配
   ========================================================================== */
@media (min-width: 768px) {
  body { background: #d4d4d0; }
  .deck { max-width: 480px; margin: 0 auto; background: var(--paper); box-shadow: 0 0 0 1px var(--rule); }
  .indicator { right: calc(50% - 240px + 3px); }
  .pager { right: calc(50% - 240px + var(--gutter)); }
}
