/* ============================================================
   香香腐宅 BoyLove · APP 下载站
   1. 设计变量  2. 基础重置  3. 通用组件
   4. 页头/页脚  5. 首页  6. 漫画库  7. 作品详情  8. 响应式
   ============================================================ */

/* ---------- 1. 设计变量 ---------- */
:root {
  --bg: #08060f;
  --bg-soft: #0c0916;
  --panel: #140f1f;
  --panel-2: #161022;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);

  --text: #ffffff;
  --text-2: #a9a3bc;
  --text-3: #6f6885;

  --accent: #ff2d78;
  --accent-soft: #ff77b0;
  --violet: #a78bfa;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --sans: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  --pad: 72px;
  --header-h: 76px;
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. 通用组件 ---------- */
.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent-soft);
}
.kicker::before {
  content: "";
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); background: #ff4789; }
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: var(--panel-2);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: #1f1730; border-color: rgba(255, 255, 255, 0.3); }

.btn--sm { padding: 10px 18px; font-size: 14px; border-radius: 12px; }
.btn svg { flex: none; }

.btn--link {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--panel);
  border: 1px solid #2e2340;
  font-size: 13px;
  font-weight: 500;
  color: #d7cee8;
}
.btn--link:hover { background: #1c1529; border-color: #3d2f54; }

/* 分区标题 */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.sec-head__title {
  margin-top: 12px;
  font-size: 40px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.sec-head__desc {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-3);
}

/* 作品卡片 */
.card { display: block; }
.card__cover {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #2b1c3a, #0f0a16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card:hover .card__cover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 45, 120, 0.35);
}
.card__title {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-3);
}

/* ---------- 4. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(8, 6, 15, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 11px; }
/* 站方 LOGO（原图 assets/brand/logo.png） */
.brand__logo {
  width: 38px;
  height: 38px;
  flex: none;
  object-fit: contain;
  border-radius: 10px;
}
.brand__name { font-size: 20px; font-weight: 700; letter-spacing: 0.01em; }
.brand__en {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-3);
  padding-top: 2px;
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.18s ease;
}
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; }

/* ---------- 5. 首页 ---------- */
.hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at 76% 34%, rgba(147, 51, 234, 0.26), transparent 46%),
    radial-gradient(circle at 62% 8%, rgba(255, 45, 120, 0.14), transparent 42%);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 600px;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: #1a1226;
  border: 1px solid #3a2b4d;
  font-size: 12px;
  font-weight: 500;
  color: #e3d9f2;
}
.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero h1 {
  margin: 26px 0 0;
  font-size: clamp(38px, 4.3vw, 62px);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero__sub {
  margin-top: 22px;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.78;
  color: var(--text-2);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}
.stats__num {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.stats__label { font-size: 12px; color: var(--text-3); }
/* 文字型数据（不写具体数量） */
.stats__num--text { font-size: 22px; letter-spacing: 0.01em; }

/* 手机模型 */
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 12px 0;
}
.phone {
  position: relative;
  z-index: 1;
  width: 288px;
  padding: 9px;
  border-radius: 44px;
  background: #0f0b17;
  border: 1.5px solid #33264a;
  box-shadow: 0 40px 90px -40px rgba(255, 45, 120, 0.5);
}
.phone__screen {
  border-radius: 36px;
  background: var(--bg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.phone__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.phone__title { font-size: 14px; font-weight: 700; }
.phone__tag {
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: #26102b;
  font-size: 9px;
  font-weight: 500;
  color: var(--accent-soft);
}
.phone__feature {
  position: relative;
  aspect-ratio: 252 / 320;
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
}
.phone__feature img { width: 100%; height: 100%; object-fit: cover; }
.phone__feature-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--bg);
  font-size: 10px;
  font-weight: 500;
  color: var(--accent-soft);
}
.phone__name { font-size: 15px; font-weight: 700; }
.phone__sub { margin-top: 5px; font-size: 11px; color: #8b82a0; }
.phone__mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.phone__mini div {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
}
.phone__mini img { width: 100%; height: 100%; object-fit: cover; }

.float-card {
  position: absolute;
  z-index: 2;
  top: 84px;
  right: 0;
  width: 214px;
  padding: 13px 15px;
  border-radius: var(--radius);
  background: #140f1f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.95);
}
.float-card strong { display: block; font-size: 13px; }
.float-card span { display: block; margin-top: 4px; font-size: 10px; line-height: 1.5; color: #8b82a0; }

/* 热门漫画墙 */
.section--hot { padding: 24px 0 88px; }
.grid-latest {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}
.grid-latest .card__cover { border-radius: 16px; }
.more-link { margin-top: 36px; }

/* 功能特性 */
.section--features {
  padding: 72px 0;
  background: var(--bg-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.feature-head { max-width: 620px; margin-bottom: 44px; }
.feature-head h2 {
  margin-top: 14px;
  font-size: 38px;
  line-height: 1.32;
  font-weight: 700;
}
.feature-head p { margin-top: 12px; font-size: 15px; color: #8b82a0; }

.grid-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature {
  padding: 26px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.feature:hover { border-color: rgba(255, 45, 120, 0.35); background: #1a1327; }
.feature svg { color: var(--accent-soft); }
.feature h3 { margin: 16px 0 0; font-size: 17px; font-weight: 600; }
.feature p { margin-top: 8px; font-size: 13px; line-height: 1.7; color: #8b82a0; }

/* 下载区 */
.section--download { padding: 56px 0; }
.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  padding: 52px 56px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 45, 120, 0.22), transparent 52%),
    linear-gradient(120deg, #330f33 0%, #170d24 56%, #21123d 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.download-card h2 {
  margin-top: 18px;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.42;
  font-weight: 700;
}
.download-card__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.download-card__note {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.7;
  color: #9c93af;
  max-width: 620px;
}
[hidden] { display: none !important; }

.qr {
  flex: none;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}
/* 二维码由 app.js 运行时绘制成 SVG，指向 go.html 中转页 */
.qr__code { width: 148px; height: 148px; }
.qr__code svg { display: block; width: 100%; height: 100%; }
.qr__fallback { padding: 42px 8px; font-size: 12px; line-height: 1.6; color: #1a1226; }
.qr figcaption { margin-top: 12px; font-size: 11px; font-weight: 500; color: #1a1226; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #0a0712;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 0 44px;
  margin-top: 0;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__logo {
  width: 30px;
  height: 30px;
  flex: none;
  object-fit: contain;
  border-radius: 8px;
}
.footer__name { font-size: 15px; font-weight: 600; }
.footer__tagline { margin-top: 10px; font-size: 12px; color: var(--text-3); }
.footer__cols { display: flex; gap: 56px; }
.footer__col h4 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}
.footer__col a {
  display: block;
  font-size: 12px;
  line-height: 2;
  color: #8b82a0;
  transition: color 0.18s ease;
}
.footer__col a:hover { color: #fff; }

.footer__bottom {
  max-width: 1440px;
  margin: 32px auto 0;
  padding: 18px var(--pad) 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: #5c5570;
}
.footer__bottom a { font-family: var(--mono); }
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* ---------- 6. 漫画库 ---------- */
.page-head { padding: 64px 0 32px; }
.page-head h1 {
  margin-top: 12px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.page-head p {
  margin-top: 16px;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.75;
  color: #8b82a0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 0 36px;
}
.chip {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--panel);
  border: 1px solid #2e2340;
  font-size: 13px;
  font-weight: 500;
  color: #c6bcd8;
  cursor: pointer;
  transition: all 0.18s ease;
}
.chip:hover { border-color: #4a3a66; color: #fff; }
.chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.grid-library {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px 20px;
  padding-bottom: 72px;
}
.grid-library .card__title { font-size: 14px; margin-top: 11px; }
.grid-library .card__meta { font-size: 11px; }

.empty {
  padding: 80px 0;
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
}

/* ---------- 7. 作品详情 ---------- */
.detail {
  display: grid;
  grid-template-columns: 384px 1fr;
  gap: 56px;
  padding: 56px 0;
  align-items: start;
}
.detail__cover {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 1);
}
.detail__cover img { width: 100%; height: 100%; object-fit: cover; }

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-3);
}
.crumbs a { color: var(--text-3); }
.crumbs a:hover { color: #fff; }
.crumbs span { color: var(--text-2); }

.detail h1 {
  margin: 18px 0 0;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.28;
  font-weight: 700;
}
.detail__sub { margin-top: 12px; font-size: 14px; color: #8b82a0; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--panel-2);
  font-size: 11px;
  font-weight: 500;
  color: #c6bcd8;
}
.tag--hot { background: #26102b; color: var(--accent-soft); }

.detail__desc {
  margin-top: 22px;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-2);
}

.detail__stats { display: flex; gap: 40px; margin-top: 28px; }
.detail__stats strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.detail__stats span { font-size: 11px; color: var(--text-3); }

.detail__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.section--chapters { padding: 24px 0 56px; }
.section--chapters h2,
.section--related h2 { font-size: 26px; font-weight: 700; }

.chapter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}
.chapter-head span {
  font-family: var(--mono);
  font-size: 12px;
  color: #8b82a0;
}
.chapters {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}
.chapter {
  padding: 13px 8px;
  border-radius: var(--radius-sm);
  background: var(--panel);
  border: 1px solid transparent;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: #c6bcd8;
  text-align: center;
  transition: all 0.18s ease;
}
.chapter:hover { border-color: #4a3a66; color: #fff; }
.chapter[data-current="true"] {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.section--related { padding: 24px 0 72px; }
.grid-related {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 26px;
}

/* ---------- 8. 子页面通用（下载 / 功能 / 关于） ---------- */
.page-hero { padding: 68px 0 44px; }
.page-hero h1 {
  margin-top: 14px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.page-hero p {
  margin-top: 18px;
  max-width: 660px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-2);
}

.section-block { padding: 24px 0 72px; }
.section-block > .wrap > h2 { font-size: 26px; font-weight: 700; }
.section-lead { margin-top: 10px; max-width: 620px; font-size: 14px; line-height: 1.8; color: #8b82a0; }

/* 类型快捷入口 */
.type-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
a.chip { text-decoration: none; }
.chip__num {
  margin-left: 7px;
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.62;
}

/* 下载页：版本行 */
.dl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 12px;
  color: #9c93af;
}
.dl-meta b { color: #fff; font-weight: 600; }

/* 提示条 */
.notice {
  display: flex;
  gap: 14px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: #1a1226;
  border: 1px solid #3a2b4d;
}
.notice svg { flex: none; margin-top: 2px; color: var(--accent-soft); }
.notice p { font-size: 13px; line-height: 1.75; color: #c6bcd8; }
.notice strong { color: #fff; }

/* 安装步骤 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.step {
  padding: 26px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.step__n {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-soft);
}
.step h3 { margin: 12px 0 0; font-size: 17px; font-weight: 600; }
.step p { margin-top: 8px; font-size: 13px; line-height: 1.75; color: #8b82a0; }

/* FAQ（原生 details，零 JS） */
.faq { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.faq details {
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 18px;
  color: var(--accent-soft);
  flex: none;
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { color: #fff; }
.faq p { padding: 0 22px 20px; font-size: 14px; line-height: 1.85; color: var(--text-2); }

/* 功能页：阅读体验分栏（无 Hero 光晕背景） */
.reading {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 48px;
  align-items: center;
}

/* 功能页：能力卡 */
.capabilities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
.capability {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease;
}
.capability:hover { border-color: rgba(255, 45, 120, 0.32); }
.capability svg { color: var(--accent-soft); }
.capability h3 { margin: 18px 0 0; font-size: 20px; font-weight: 600; }
.capability p { margin-top: 10px; font-size: 14px; line-height: 1.8; color: var(--text-2); }
.capability ul { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.capability li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: #8b82a0;
}
.capability li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* 关于页 */
.prose { max-width: 740px; }
.prose h2 { margin: 44px 0 0; font-size: 25px; font-weight: 700; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 14px; font-size: 15px; line-height: 1.95; color: var(--text-2); }
.prose ul { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.prose li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-2);
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.milestones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 12px; }
.milestone {
  padding: 26px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.milestone strong {
  display: block;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.milestone span { display: block; margin-top: 6px; font-size: 12px; color: var(--text-3); }

.contact-list { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.contact-card {
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
}
.contact-card h3 { font-size: 13px; font-weight: 500; color: var(--text-3); }
.contact-card a,
.contact-card p { margin-top: 6px; font-size: 15px; font-family: var(--mono); color: #fff; }
.contact-card a:hover { color: var(--accent-soft); }

/* ---------- 9. 响应式 ---------- */
@media (max-width: 1180px) {
  :root { --pad: 40px; }
  .hero .wrap { grid-template-columns: 1fr 460px; gap: 32px; }
  .phone { width: 258px; }
  .float-card { width: 190px; top: 60px; }
  .grid-library { grid-template-columns: repeat(4, 1fr); }
  .grid-features { grid-template-columns: repeat(2, 1fr); }
  .chapters { grid-template-columns: repeat(5, 1fr); }
  .detail { grid-template-columns: 300px 1fr; gap: 36px; }
  .milestones { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .nav { display: none; }
  .hero { padding: 40px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  /* 移动端首屏先给价值主张与 CTA，手机模型下移并收窄 */
  .phone { width: 240px; }
  .phone-stage { padding: 0; }
  .float-card { display: none; }
  .grid-latest { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
  .grid-library { grid-template-columns: repeat(3, 1fr); }
  .grid-related { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: 40px 0 32px; }
  .reading { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .capabilities { grid-template-columns: 1fr; }
  .section-block { padding: 16px 0 52px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .sec-head__title { font-size: 30px; }
  .download-card { flex-direction: column; align-items: flex-start; padding: 36px; gap: 32px; }
  .detail { grid-template-columns: 1fr; }
  .detail__cover { max-width: 320px; }
  .chapters { grid-template-columns: repeat(4, 1fr); }
  .stats { gap: 28px; }
}

@media (max-width: 560px) {
  :root { --pad: 18px; --header-h: 64px; }
  .brand__en { display: none; }
  .hero h1 { font-size: 32px; }
  .hero__sub { font-size: 15px; }
  .grid-latest { grid-template-columns: repeat(2, 1fr); }
  .grid-library { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .grid-features { grid-template-columns: 1fr; }
  .chapters { grid-template-columns: repeat(3, 1fr); }
  .stats { flex-wrap: wrap; gap: 20px 28px; }
  .section--features { padding: 48px 0; }
  .footer__cols { gap: 32px; }
  .footer__bottom { padding-top: 16px; }
}

/* ---------- 9. 无障碍：尊重减弱动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
