/*!
 * 黑豹加速器 · 内页版式样式
 * 只在 page 类页面加载（见 functions.php → heibao_child_page_assets）
 * 与首页 heibao.css 分离，避免互相污染
 */

/* ============ 内页变量 ============ */
.hb-page {
  --hb-ink: #0a0b0d;
  --hb-paper: #ffffff;
  --hb-paper-warm: #faf8f4;
  --hb-slate: #f4f5f7;
  --hb-line: #e6e8ec;
  --hb-text: #14161c;
  --hb-muted: #5b6472;
  --hb-accent: #ffb020;
  --hb-accent-deep: #e08a00;
  --hb-serif: Georgia, "Songti SC", "SimSun", "Noto Serif SC", serif;
  --hb-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-family: var(--hb-sans);
  color: var(--hb-text);
  background: var(--hb-paper);
}

.hb-page *,
.hb-page *::before,
.hb-page *::after { box-sizing: border-box; }

.hb-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ 页头通用 ============ */
.hb-hero {
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--hb-line);
}

.hb-hero-inner { max-width: 1180px; }
.hb-hero-inner--center { text-align: center; }

.hb-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--hb-muted);
  margin-bottom: 28px;
}
.hb-crumb a { color: var(--hb-muted); text-decoration: none; }
.hb-crumb a:hover { color: var(--hb-ink); }
.hb-crumb em { font-style: normal; color: var(--hb-text); }
.hb-crumb--onDark,
.hb-crumb--onDark a { color: rgba(255, 255, 255, .55); }
.hb-crumb--onDark a:hover { color: #fff; }
.hb-crumb--onDark em { color: rgba(255, 255, 255, .9); }

.hb-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--hb-accent-deep);
}
.hb-hero--dark .hb-kicker,
.hb-hero--black .hb-kicker { color: var(--hb-accent); }

.hb-hero h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.22;
  letter-spacing: -.02em;
  font-weight: 700;
}

.hb-display {
  font-family: var(--hb-serif);
  font-size: 62px !important;
  line-height: 1.14 !important;
  font-weight: 400 !important;
  letter-spacing: -.01em;
}

.hb-lead {
  margin: 18px 0 0;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--hb-muted);
}
.hb-lead--wide { max-width: 680px; margin-left: auto; margin-right: auto; }

.hb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hb-hero-actions--center { justify-content: center; }

.hb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.hb-btn-primary {
  background: var(--hb-ink);
  color: #fff;
}
.hb-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -12px rgba(10, 11, 13, .6); }
.hb-btn-ghost {
  background: transparent;
  color: var(--hb-ink);
  border: 1px solid var(--hb-line);
}
.hb-btn-ghost:hover { border-color: var(--hb-ink); }
.hb-hero--dark .hb-btn-primary,
.hb-hero--black .hb-btn-primary { background: var(--hb-accent); color: #14161c; }
.hb-hero--dark .hb-btn-ghost,
.hb-hero--black .hb-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .24); }
.hb-hero--dark .hb-btn-ghost:hover,
.hb-hero--black .hb-btn-ghost:hover { border-color: #fff; }

/* ---- 页头皮肤 ---- */
.hb-hero--paper { background: var(--hb-paper-warm); }
.hb-hero--paper h1 { font-family: var(--hb-serif); font-weight: 400; font-size: 48px; }
.hb-hero--tall { padding: 84px 0 88px; }

.hb-hero--dark { background: var(--hb-ink); color: #fff; border-bottom: 0; }
.hb-hero--dark h1 { color: #fff; }
.hb-hero--dark .hb-lead { color: rgba(255, 255, 255, .68); }

.hb-hero--black { background: #050506; color: #fff; border-bottom: 0; padding-bottom: 72px; }
.hb-hero--black h1 { color: #fff; font-size: 40px; }
.hb-hero--black .hb-lead { color: rgba(255, 255, 255, .62); }

.hb-hero--slate { background: var(--hb-slate); border-bottom: 0; }

.hb-hero--soft { background: #fcfbf8; border-bottom: 0; padding-bottom: 40px; }

.hb-hero--compact { padding: 44px 0 44px; background: #fff; }
.hb-hero--compact h1 { font-size: 36px; }

.hb-hero--doc { padding: 52px 0 40px; background: #fff; border-bottom: 1px solid var(--hb-line); }
.hb-hero--doc h1 { font-size: 38px; }

.hb-hero--device { border-bottom: 0; padding-bottom: 48px; }

.hb-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 40px;
  align-items: end;
}
.hb-hero-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.hb-hero-tags li {
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255, 255, 255, .8);
}

.hb-device-head {
  display: flex;
  gap: 26px;
  align-items: flex-start;
}
.hb-device-glyph {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: var(--hb-accent);
  color: #fff;
  font-size: 30px;
  line-height: 1;
}
.hb-device-note {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--hb-muted);
  letter-spacing: .02em;
}

/* ============ 正文容器 ============ */
.hb-body { padding: 64px 0 72px; }
.hb-body--flush { padding-top: 48px; }
.hb-body--tight { padding: 40px 0 56px; }
.hb-body--dark { background: #050506; color: #fff; }

.hb-doc { max-width: 820px; }
.hb-doc--narrow { max-width: 720px; }
.hb-narrow { max-width: 760px; }

/* ============ 正文排版 ============ */
.hb-prose { font-size: 16.5px; line-height: 1.85; color: var(--hb-text); }
.hb-prose > *:first-child { margin-top: 0; }
.hb-prose p { margin: 0 0 20px; }
.hb-prose h2 {
  margin: 56px 0 18px;
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: -.01em;
  font-weight: 700;
  scroll-margin-top: 90px;
}
.hb-prose h3 {
  margin: 34px 0 12px;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 700;
}
.hb-prose ul,
.hb-prose ol { margin: 0 0 22px; padding-left: 22px; }
.hb-prose li { margin-bottom: 10px; }
.hb-prose a { color: var(--hb-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: rgba(10, 11, 13, .3); }
.hb-prose a:hover { text-decoration-color: var(--hb-accent); }
.hb-prose strong { font-weight: 700; }

/* 编辑体：纸张底 + 衬线 + 首字下沉 + 章节序号 */
.hb-prose--paper {
  font-family: var(--hb-serif);
  font-size: 17.5px;
  line-height: 1.92;
}
.hb-prose--paper > p:first-of-type::first-letter {
  float: left;
  font-size: 62px;
  line-height: .92;
  padding: 6px 12px 0 0;
  color: var(--hb-accent-deep);
}
.hb-prose--paper h2 {
  font-family: var(--hb-serif);
  font-weight: 400;
  font-size: 29px;
  counter-increment: hb-sec;
  margin-top: 64px;
  padding-top: 26px;
  border-top: 1px solid rgba(10, 11, 13, .1);
}
.hb-prose--paper h2::before {
  content: counter(hb-sec, decimal-leading-zero);
  display: block;
  font-family: var(--hb-sans);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--hb-accent-deep);
  margin-bottom: 10px;
}
.hb-prose--paper { counter-reset: hb-sec; }
.hb-prose--paper h3 { font-family: var(--hb-sans); font-size: 17px; }

/* 教程体 */
.hb-prose--device h2 { font-size: 22px; margin-top: 44px; }

/* 法务体 */
.hb-prose--legal {
  font-size: 16px;
  line-height: 1.9;
}
.hb-prose--legal h2 {
  font-size: 20px;
  margin-top: 46px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hb-line);
}
.hb-prose--legal h3 { font-size: 16.5px; margin-top: 26px; }

.hb-doc-meta {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--hb-muted);
}

/* ============ 两栏：正文 + 侧栏 ============ */
.hb-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  gap: 64px;
  padding: 64px 24px 80px;
  align-items: start;
}
.hb-rail { position: sticky; top: 96px; display: grid; gap: 18px; }

.hb-card {
  border: 1px solid var(--hb-line);
  border-radius: 16px;
  padding: 22px 22px 20px;
  background: #fff;
}
.hb-card--facts { background: #fff; }
.hb-card--accent {
  background: var(--hb-ink);
  border-color: var(--hb-ink);
  color: #fff;
}
.hb-card-title {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--hb-accent-deep);
}
.hb-card--accent .hb-card-title { color: var(--hb-accent); }
.hb-card-text { margin: 0 0 14px; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .78); }

.hb-facts { margin: 0; display: grid; gap: 12px; }
.hb-facts > div { display: grid; gap: 2px; }
.hb-facts dt { font-size: 12px; color: var(--hb-muted); }
.hb-facts dd { margin: 0; font-size: 14px; font-weight: 600; }

.hb-link-arrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--hb-accent);
  text-decoration: none;
}
.hb-link-arrow:hover { color: #fff; }

/* ============ 便当格（features） ============ */
.hb-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.hb-bento > * {
  grid-column: span 2;
  border: 1px solid var(--hb-line);
  border-radius: 18px;
  padding: 26px 24px;
  background: #fff;
  position: relative;
  transition: border-color .2s ease, transform .2s ease;
}
.hb-bento > *:hover { border-color: rgba(10, 11, 13, .28); transform: translateY(-2px); }
.hb-bento-wide { grid-column: span 3 !important; }
.hb-bento-full { grid-column: span 6 !important; }
.hb-bento h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}
.hb-bento p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--hb-muted); }
.hb-bento-num {
  display: block;
  font-family: var(--hb-serif);
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--hb-accent-deep);
  margin-bottom: 14px;
}
.hb-bento-dark { background: var(--hb-ink); border-color: var(--hb-ink); }
.hb-bento-dark h3 { color: #fff; }
.hb-bento-dark p { color: rgba(255, 255, 255, .66); }
.hb-bento-dark .hb-bento-num { color: var(--hb-accent); }
.hb-bento-tint { background: var(--hb-paper-warm); }

/* ============ 价格卡（pricing） ============ */
.hb-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.hb-plan-item {
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  border: 1px solid var(--hb-line);
  border-radius: 18px;
  background: #fff;
}
.hb-plan-item.is-hot {
  border-color: var(--hb-ink);
  box-shadow: 0 24px 50px -30px rgba(10, 11, 13, .45);
}
.hb-plan-item header { min-height: 74px; }
.hb-plan-item h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hb-plan-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--hb-accent);
  color: #14161c;
  letter-spacing: .02em;
}
.hb-plan-item header p { margin: 0; font-size: 13.5px; color: var(--hb-muted); line-height: 1.6; }
.hb-plan-price {
  margin: 20px 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--hb-line);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.hb-plan-price b {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
}
.hb-plan-price small { font-size: 14px; color: var(--hb-muted); }
.hb-plan-item ul {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 11px;
  flex: 1;
}
.hb-plan-item li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--hb-text);
}
.hb-plan-item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--hb-accent);
}
.hb-plan-item a {
  display: block;
  text-align: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--hb-ink);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--hb-ink);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.hb-plan-item a:hover { background: var(--hb-ink); color: #fff; }
.hb-plan-item.is-hot a { background: var(--hb-ink); color: #fff; }
.hb-plan-item.is-hot a:hover { background: var(--hb-accent); border-color: var(--hb-accent); color: #14161c; }

/* 规则说明 */
.hb-policy { margin-top: 64px; }
.hb-policy h2 {
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 700;
}
.hb-policy-rows { border-top: 1px solid var(--hb-line); }
.hb-policy-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hb-line);
  font-size: 14.5px;
  line-height: 1.75;
}
.hb-policy-row dt { color: var(--hb-muted); }
.hb-policy-row dd { margin: 0; }

/* 对比表 */
.hb-table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0 0;
  font-size: 14px;
}
.hb-table th,
.hb-table td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid var(--hb-line);
}
.hb-table th {
  font-weight: 600;
  font-size: 13px;
  color: var(--hb-muted);
  border-bottom-color: var(--hb-ink);
}
.hb-table td:not(:first-child),
.hb-table th:not(:first-child) { text-align: center; }

/* ============ 设备磁贴（download） ============ */
.hb-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}
.hb-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px 20px 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
  text-decoration: none;
  color: #fff;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.hb-tile:hover {
  background: rgba(255, 255, 255, .07);
  border-color: var(--hb-accent);
  transform: translateY(-3px);
}
.hb-tile-glyph { font-size: 26px; color: var(--hb-accent); line-height: 1; margin-bottom: 10px; }
.hb-tile b { font-size: 16px; font-weight: 700; }
.hb-tile small { font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.hb-tile em {
  margin-top: 14px;
  font-style: normal;
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
}

/* ============ 步骤流（设备页） ============ */
.hb-steps {
  counter-reset: hb-step;
  list-style: none;
  margin: 26px 0 8px;
  padding: 0;
}
.hb-steps li {
  counter-increment: hb-step;
  position: relative;
  padding: 0 0 30px 60px;
}
.hb-steps li::before {
  content: counter(hb-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: -2px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--hb-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}
.hb-steps li::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 44px;
  bottom: 4px;
  width: 1px;
  background: var(--hb-line);
}
.hb-steps li:last-child { padding-bottom: 0; }
.hb-steps li:last-child::after { display: none; }
.hb-steps b {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
  line-height: 1.5;
}
.hb-steps p { margin: 0; font-size: 15px; line-height: 1.8; color: var(--hb-muted); }

/* 系统要求 chips */
.hb-req {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}
.hb-req li {
  padding: 8px 14px;
  border: 1px solid var(--hb-line);
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--hb-muted);
  margin: 0;
}
.hb-req li b { color: var(--hb-text); font-weight: 600; }

/* 疑难折叠 */
.hb-trouble { margin-top: 44px; }
.hb-trouble h2 { margin-bottom: 4px; }
.hb-trouble details {
  border-bottom: 1px solid var(--hb-line);
  padding: 0;
}
.hb-trouble summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 15.5px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.hb-trouble summary::-webkit-details-marker { display: none; }
.hb-trouble summary::after {
  content: "+";
  color: var(--hb-accent-deep);
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
}
.hb-trouble details[open] summary::after { content: "–"; }
.hb-trouble details > div { padding: 0 0 18px; font-size: 15px; line-height: 1.85; color: var(--hb-muted); }

/* 平台切换 */
.hb-switch { border-top: 1px solid var(--hb-line); padding: 34px 0 56px; background: var(--hb-paper-warm); }
.hb-switch-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hb-switch-label { margin: 0; font-size: 13px; color: var(--hb-muted); }
.hb-switch-links { display: flex; gap: 10px; flex-wrap: wrap; }
.hb-switch-links a {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--hb-line);
  background: #fff;
  font-size: 14px;
  text-decoration: none;
  color: var(--hb-ink);
  transition: border-color .18s ease;
}
.hb-switch-links a:hover { border-color: var(--hb-ink); }
.hb-switch-all { border-style: dashed !important; color: var(--hb-muted) !important; }

/* ============ 问答（faq） ============ */
.hb-faq-wrap {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  gap: 56px;
  padding: 48px 24px 72px;
  align-items: start;
}
.hb-faq-rail { position: sticky; top: 96px; }
.hb-rail-title {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hb-muted);
  font-weight: 600;
}
.hb-faq-rail nav,
.hb-toc nav { display: grid; gap: 2px; }
.hb-faq-rail a,
.hb-toc a {
  display: block;
  padding: 7px 0 7px 12px;
  border-left: 2px solid transparent;
  font-size: 13.5px;
  color: var(--hb-muted);
  text-decoration: none;
  line-height: 1.5;
}
.hb-faq-rail a:hover,
.hb-toc a:hover { color: var(--hb-ink); border-left-color: var(--hb-accent); }

.hb-faq-body h2 {
  margin-top: 46px;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: none;
  color: var(--hb-muted);
  font-weight: 600;
}
.hb-faq-body h2:first-child { margin-top: 0; }
.hb-qa {
  border-bottom: 1px solid var(--hb-line);
}
.hb-qa summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.6;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.hb-qa summary::-webkit-details-marker { display: none; }
.hb-qa summary::after {
  content: "+";
  color: var(--hb-accent-deep);
  font-weight: 400;
  flex: 0 0 auto;
}
.hb-qa[open] summary::after { content: "–"; }
.hb-qa-body {
  padding: 0 44px 22px 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--hb-muted);
}
.hb-qa-body p { margin: 0 0 12px; }
.hb-qa-body p:last-child { margin-bottom: 0; }
.hb-qa-body ul { margin: 0 0 12px; padding-left: 20px; }

.hb-help { background: var(--hb-ink); color: #fff; padding: 52px 0; }
.hb-help-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.hb-help h2 { margin: 0 0 8px; font-size: 22px; }
.hb-help p { margin: 0; font-size: 15px; color: rgba(255, 255, 255, .64); max-width: 560px; line-height: 1.7; }
.hb-help .hb-btn-primary { background: var(--hb-accent); color: #14161c; }

/* ============ 目录（doc） ============ */
.hb-doc-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 232px;
  gap: 64px;
  padding: 48px 24px 88px;
  align-items: start;
}
.hb-toc {
  position: sticky;
  top: 96px;
  padding-left: 8px;
  border-left: 1px solid var(--hb-line);
}

/* ============ 联络（contact） ============ */
.hb-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.hb-contact-card {
  border: 1px solid var(--hb-line);
  border-radius: 18px;
  padding: 28px 26px;
  background: #fff;
}
.hb-contact-card--main {
  background: var(--hb-ink);
  border-color: var(--hb-ink);
  color: #fff;
  grid-column: span 2;
}
.hb-contact-card h2 {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hb-muted);
  font-weight: 600;
}
.hb-contact-card--main h2 { color: rgba(255, 255, 255, .55); }
.hb-contact-mail {
  display: inline-block;
  margin: 6px 0 10px;
  font-size: 26px;
  font-weight: 700;
  color: var(--hb-accent);
  text-decoration: none;
  letter-spacing: -.01em;
  word-break: break-all;
}
.hb-contact-card p { margin: 0; font-size: 14.5px; line-height: 1.8; }
.hb-contact-card--main p { color: rgba(255, 255, 255, .7); }
.hb-contact-card ul { margin: 12px 0 0; padding-left: 20px; font-size: 14.5px; line-height: 1.85; }
.hb-contact-card li { margin-bottom: 6px; }

/* ============ 收尾 / 安静区块 ============ */
.hb-next { border-top: 1px solid var(--hb-line); padding: 44px 0 64px; background: var(--hb-paper-warm); }
.hb-next-label {
  margin: 0 0 16px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hb-muted);
  font-weight: 600;
}
.hb-next-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.hb-next-links a {
  display: block;
  padding: 20px 22px;
  border: 1px solid rgba(10, 11, 13, .1);
  border-radius: 14px;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
  color: var(--hb-ink);
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}
.hb-next-links a:hover { border-color: var(--hb-ink); transform: translateY(-2px); }
.hb-next-links a span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: var(--hb-muted);
}

.hb-quiet { padding: 60px 0 72px; background: var(--hb-paper-warm); border-top: 1px solid var(--hb-line); }
.hb-quiet--dark { background: #0d0e11; border-top: 0; color: #fff; }
.hb-quiet--alert { background: #fff7e8; border-top: 1px solid #f3e2c0; }
.hb-quiet-inner h2 { margin: 0 0 10px; font-size: 24px; letter-spacing: -.01em; }
.hb-quiet--dark .hb-quiet-inner h2 { color: #fff; }
.hb-quiet-text { margin: 0; max-width: 700px; font-size: 15.5px; line-height: 1.8; color: var(--hb-muted); }
.hb-quiet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.hb-quiet-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hb-quiet-grid > * {
  display: block;
  padding: 20px 22px;
  border: 1px solid rgba(10, 11, 13, .1);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: var(--hb-ink);
}
.hb-quiet-grid > *:hover { border-color: var(--hb-ink); }
.hb-quiet-grid b { display: block; font-size: 16px; margin-bottom: 4px; }
.hb-quiet-grid span { font-size: 13.5px; color: var(--hb-muted); line-height: 1.65; }
.hb-quiet--dark .hb-quiet-grid > * {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .12);
  color: #fff;
}
.hb-quiet--dark .hb-quiet-grid span { color: rgba(255, 255, 255, .55); }
.hb-quiet-foot { margin: 26px 0 0; font-size: 14px; color: var(--hb-muted); }
.hb-quiet--dark .hb-quiet-foot { color: rgba(255, 255, 255, .5); }
.hb-quiet-foot a { color: inherit; text-decoration: underline; }

.hb-closing { padding: 64px 0 76px; border-top: 1px solid var(--hb-line); }
.hb-closing-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}
.hb-closing-item b { display: block; font-size: 16px; margin-bottom: 8px; }
.hb-closing-item p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.8; color: var(--hb-muted); }
.hb-closing-item a { font-size: 14px; font-weight: 600; color: var(--hb-ink); text-decoration: none; border-bottom: 1px solid var(--hb-accent); padding-bottom: 2px; }

/* 提示条 */
.hb-notice {
  display: grid;
  gap: 4px;
  margin-top: 32px;
  padding: 18px 22px;
  border-radius: 14px;
  max-width: 760px;
  font-size: 14.5px;
  line-height: 1.7;
}
.hb-notice b { font-size: 14px; }
.hb-notice--warn { background: #fff4e0; border: 1px solid #f0d9ae; color: #6b4a00; }
.hb-notice--warn strong { color: #3d2a00; }

/* 引用块 */
.hb-quote {
  margin: 44px 0;
  padding: 4px 0 4px 28px;
  border-left: 3px solid var(--hb-accent);
  font-family: var(--hb-serif);
  font-size: 22px;
  line-height: 1.65;
  color: var(--hb-ink);
}

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
  .hb-split { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-bottom: 64px; }
  .hb-rail { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-doc-wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-bottom: 72px; }
  .hb-toc { position: static; border-left: 0; padding-left: 0; border-top: 1px solid var(--hb-line); padding-top: 20px; }
  .hb-toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-faq-wrap { grid-template-columns: 168px minmax(0, 1fr); gap: 36px; }
  .hb-bento > * { grid-column: span 3; }
  .hb-bento-wide { grid-column: span 6 !important; }
  .hb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-quiet-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-hero h1 { font-size: 38px; }
  .hb-display { font-size: 50px !important; }
}

@media (max-width: 780px) {
  .hb-shell { padding: 0 18px; }
  .hb-hero { padding: 36px 0 44px; }
  .hb-hero--tall { padding: 52px 0 56px; }
  .hb-hero h1 { font-size: 30px; }
  .hb-display { font-size: 38px !important; }
  .hb-hero--paper h1 { font-size: 32px; }
  .hb-lead { font-size: 15.5px; margin-top: 14px; }

  .hb-body { padding: 40px 0 48px; }
  .hb-split { padding: 40px 18px 52px; }
  .hb-rail { grid-template-columns: minmax(0, 1fr); }

  .hb-bento { grid-template-columns: minmax(0, 1fr); }
  .hb-bento > *,
  .hb-bento-wide,
  .hb-bento-full { grid-column: span 1 !important; }

  .hb-plans { grid-template-columns: minmax(0, 1fr); }
  .hb-plan-item header { min-height: 0; }
  .hb-policy-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .hb-table { font-size: 13px; }
  .hb-table th, .hb-table td { padding: 10px 8px; }

  .hb-tiles { grid-template-columns: minmax(0, 1fr); margin-top: 30px; }

  .hb-device-head { gap: 16px; }
  .hb-device-glyph { width: 56px; height: 56px; border-radius: 16px; font-size: 22px; }

  .hb-faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 32px 18px 52px; }
  .hb-faq-rail { position: static; }
  .hb-faq-rail nav { display: flex; flex-wrap: wrap; gap: 8px; }
  .hb-faq-rail a { padding: 6px 12px; border: 1px solid var(--hb-line); border-radius: 999px; border-left-width: 1px; }
  .hb-qa-body { padding-right: 0; }

  .hb-prose { font-size: 16px; }
  .hb-prose--paper { font-size: 16.5px; }
  .hb-prose h2 { margin-top: 40px; font-size: 22px; }
  .hb-prose--paper > p:first-of-type::first-letter { font-size: 44px; }

  .hb-contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hb-contact-card--main { grid-column: span 1; }
  .hb-contact-mail { font-size: 19px; }

  .hb-next-links,
  .hb-closing-inner,
  .hb-quiet-grid,
  .hb-quiet-grid--four { grid-template-columns: minmax(0, 1fr); }

  .hb-help-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hb-quote { font-size: 18px; padding-left: 18px; }
  .hb-toc nav { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .hb-page *,
  .hb-page *::before,
  .hb-page *::after {
    transition: none !important;
    animation: none !important;
  }
}
