/* ==========================================================================
   hub.css —— 第一层（产品全景）和第二层（板块页）专用样式
   通用设计令牌在 style.css 里，这个文件只加它们没有的部分。
   ========================================================================== */

/* --------------------------------------------------------------------------
   第一层：Hero
   高度压到 70-80vh，目的是让下面的状态选择器在首屏底部就能露出来 ——
   用户一进来就该看到「选状态」这件事，而不是滚一屏才发现。
   -------------------------------------------------------------------------- */
/* 固定 500–650px，不用 vh —— 目的是让第一屏底部就能看到地图入口。
   不做 100vh 巨型 Hero：那会把页面核心（地图）推到折线以下。 */
/* ========================= [Eden 移植] 首屏 =========================
   这是本次移植里最大的一处结构改动：**居中 → 左对齐**。

   Eden 首屏的做法，逐条对过：
     · 不设固定高度。高度由内容决定，1440×900 下实测 539.8px，
       正好让下一节的小标签和卡片顶部露出约 265px —— 这个"露头"是
       刻意的节奏，用 58vh 撑高就没有了。
     · 上内边距 clamp(72px, 11vh, 128px)，下内边距 clamp(2.5rem, 5vw, 4rem)。
     · 内容列 820，左对齐；正文只到 640，比标题列窄 180。
       标题和正文左边缘对齐在同一条线上，右边缘不齐 —— 这是有意的。
     · 按钮和补充说明纵向排列、左对齐、间距 12。

   想改回原来的居中版，把 text-align 和三个 margin 改回 auto 即可，
   改前的版本备份在上一级的 _网站备份-eden移植前 目录里。 */
.hub-hero {
  position: relative;
  padding-top: clamp(72px, 11vh, 128px);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: left;
  overflow-x: clip;
}

/* 地图区顶部收紧，让需求切换器尽早露头 */
#map { padding-top: 48px; }
#map .section-header { margin-bottom: 24px; }

/* 手机端不再需要"解除固定高度"的补丁 —— 上面已经不设固定高度了。
   Eden 在 390 下实测：上内边距 92.84（11vh）、下 40（clamp 下限），
   这两个值由 clamp 自己算出来，不用额外写断点。 */
/* [Eden 源码] 首屏顶光：一团极淡的径向光，偏左（25%），只有 3% 透明度。
   原站那团是居中的、7.5% 透明度、1200×760 的大椭圆 —— 亮一倍多，
   而且居中。改成左对齐之后光心也要跟着往左挪，否则光和内容对不上。 */
.hub-hero::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 80%;
  background: radial-gradient(60% 55% at 25% 0%, rgba(255,248,240,.03), transparent 62%);
  pointer-events: none;
}
.hub-hero .container { max-width: calc(var(--container-w-hero) + var(--gutter) * 2); }
.hub-hero .eyebrow { margin-bottom: 20px; }   /* [Eden 实测] mb-5 */
.hub-hero h1 { max-width: none; margin: 0 0 24px; }  /* [Eden 实测] mb-6 */
/* [Eden 实测] 正文 640，比 820 的标题列窄；左边缘与标题对齐 */
.hub-hero .lede { max-width: var(--container-w-hero-lede); margin: 0 0 20px; }
/* [Eden 实测] 纵向、左对齐、gap 12 —— 不是横排居中 */
.hub-hero__cta {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.quiz-box.is-open { display: block; }
.reco.is-shown { display: block; }

@media (max-width: 780px) {
  .state-option { padding: 18px 20px; gap: 14px; }
  .reco-card__inner { padding: 24px 22px; }
  .reco-card--alt .reco-card__inner { padding: 20px 22px; }
  .quiz-box { padding: 24px 20px; }
}

/* --------------------------------------------------------------------------
   产品全景图
   宽屏显示 SVG 关系图，窄屏自动换成分层列表（SVG 缩到手机上字会小到看不清）
   -------------------------------------------------------------------------- */
.product-map {
  position: relative;
  margin-top: 8px;
}
.product-map__svg-wrap {
  position: relative;
  width: 100%;
}
.product-map svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

/* 图上的节点 */
.node { cursor: pointer; }
.node--static { cursor: default; }

.node__box {
  fill: var(--bg-elevated);
  stroke: var(--border);
  stroke-width: 1;
  transition: fill 0.2s ease, stroke 0.2s ease;
}
.node__name {
  fill: var(--text-primary);
  font-weight: 600;
  text-anchor: middle;
  dominant-baseline: middle;
}
.node__price {
  fill: var(--text-muted);
  text-anchor: middle;
  dominant-baseline: middle;
}

/* 中心节点：整张图最重的元素 */
.node--core .node__box {
  fill: #F2ECE2;
  stroke: #FFF8F0;
  stroke-width: 1.5;
}
.node--core .node__name { fill: #0E0C0A; font-size: 24px; font-weight: 700; }
.node--core .node__price { fill: rgba(14,12,10,0.55); font-size: 13px; }
.node--core:hover .node__box { fill: #FFF8F0; }

/* 板块节点 */
.node--cat .node__box {
  fill: var(--bg-elevated-2);
  stroke: var(--border-strong);
}
.node--cat .node__name { font-size: 17px; }
.node--cat .node__price { font-size: 11.5px; }
.node--cat:hover .node__box { fill: #292520; stroke: rgba(255,248,240,0.34); }

/* 产品节点 */
.node--product .node__name { font-size: 13.5px; font-weight: 500; }
.node--product .node__price { font-size: 11.5px; }
.node--product:hover .node__box { fill: var(--bg-elevated-2); stroke: var(--border-strong); }

/* 未上线的产品：整体压暗 */
.node--muted .node__box { stroke-dasharray: 4 3; }
.node--muted .node__name { fill: var(--text-muted); }
.node--muted .node__price { fill: var(--text-faint); }

/* 连线 */
.map-link {
  fill: none;
  stroke: rgba(255,248,240,0.14);
  stroke-width: 1.2;
  transition: stroke 0.2s ease;
}
.map-link--sub { stroke: rgba(255,248,240,0.08); }
.map-link.is-hot { stroke: rgba(255,248,240,0.4); }

/* 中心节点的第二行（价格 + 长期陪伴） */
.node--core .node__price { fill: rgba(14,12,10,0.72); font-size: 12.5px; }
.node--core .node__price2 {
  fill: rgba(14,12,10,0.5);
  font-size: 11.5px;
  text-anchor: middle;
  dominant-baseline: middle;
}

/* 悬浮板块：本区域提亮，其余略暗。不放大画布、不移动，避免失去方位感 */
.node--hover-focus .node__box { stroke: rgba(255,248,240,0.4); }

/* 节点悬浮微放大 3%，180ms */
.node { transition: opacity 180ms var(--ease), transform 180ms var(--ease); }
.node--product:hover, .node--cat:hover {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(1.03);
}
.hover-tip.is-shown { opacity: 1; }

@media (max-width: 780px) { .hover-tip { display: none; } }
.need-desc.is-shown { opacity: 1; max-height: 90px; }

/* 移动端需求条横向滑动 */
@media (max-width: 780px) {
  .need-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .need-bar::-webkit-scrollbar { display: none; }
}
.cmp-note { display: block; font-size: 11.5px; color: var(--text-faint); margin-top: 4px; }
.map-modes-row.is-hidden { display: none; }
.node--dimmed .node__box { stroke-dasharray: none; }

.node--on-path .node__box {
  stroke: rgba(255,248,240,0.5);
  stroke-width: 1.6;
}

@keyframes herePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) { .here-dot { animation: none; } }

/* 图下面的说明 */
.product-map__legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-muted);
}
.product-map__legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.legend-chip {
  width: 22px;
  height: 12px;
  border-radius: 4px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  display: inline-block;
}
.legend-chip--core { background: #F2ECE2; border-color: #FFF8F0; }
.legend-chip--soon { border-style: dashed; }

/* 窄屏：SVG 换成列表 */
/* 产品清单现在是主交互，所有宽度都显示；SVG 关系图只在宽屏作为补充视图 */
.product-map__list { display: block; margin-top: 26px; }

/* 关系图 / 列表的切换断点：920 → 1024。
   依据是实测，不是手感 —— SVG 里最小的一档文字（价格）随视口缩放后的实际字号：
     1440 → 12.9px    1024 → 11.0px    920 → 9.8px    820 → 8.7px    780 → 8.2px
   中文在 9px 以下基本读不了，920 已经是临界点。与其让平板看一张 9.8px 的图，
   不如给它那份带连接线的列表 —— 列表现在能把"产品归属哪个板块"画清楚，
   信息量不比图少，可读性好得多。
   （没有做「图/列表切换」按钮：上一轮明确删掉过这类切换，不再加回来。） */
/* 窄屏也显示关系图 —— 但不是把它压扁。
   SVG 里的字号是按 viewBox 单位定的（.node__name 13.5px 等），
   渲染宽度一缩，字跟着缩：390 宽下最小的字只剩 4px 左右。
   所以这里保持它的原始尺寸，放进一个横向滚动的容器里让人滑着看。
   这是"图表可以比屏幕宽"的那条例外 —— 前提是它有自己的滚动容器，
   而且整页不会跟着横向溢出。 */
@media (max-width: 1024px) {
  .product-map__svg-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;   /* 滑到头不要带着整页一起动 */
    scrollbar-width: thin;
    /* 抵消 .container 的左右留白，让图用满屏宽 */
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }
  .product-map__svg-wrap > svg {
    width: 1000px;        /* viewBox 宽度，1:1 渲染 —— 字号就是 CSS 里写的那个 */
    max-width: none;
    height: auto;
    flex: none;
  }
  /* 手机上有了关系图，竖版树就不再重复出现 */
  .sysmap-wrap { display: none; }
}

/* 滑动提示 —— 不提示的话很多人不知道右边还有东西 */
.map-swipe {
  display: none;
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--text-faint);
}
@media (max-width: 1024px) { .map-swipe { display: block; } }
.drawer-scrim.is-open { opacity: 1; pointer-events: auto; }

/* 桌面：右侧 */
@media (min-width: 781px) {
  .drawer {
    top: 0;
    right: 0;
    bottom: 0;
    width: min(440px, 92vw);
    border-radius: var(--radius-card) 0 0 var(--radius-card);
    transform: translateX(105%);
  }
  .drawer.is-open { transform: translateX(0); }
}

/* 移动：底部 Sheet */
@media (max-width: 780px) {
  .drawer {
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 88vh;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    transform: translateY(102%);
  }
  .drawer.is-open { transform: translateY(0); }
}
@media (max-width: 780px) { .drawer__grab { display: block; } }
.drawer__foot .btn-pill,
.drawer__foot .btn-ghost { width: 100%; justify-content: center; }
.acc-cat.is-open .acc-cat__sign { transform: rotate(45deg); }

/* ==========================================================================
   比较表 —— 同类才比，对象控制在 5 个以内
   ========================================================================== */
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}
.cmp th, .cmp td {
  text-align: left;
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.65;
}
.cmp thead th {
  font-size: 12px;
  color: var(--text-faint);
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom-color: var(--border-strong);
}
.cmp thead th:not(:first-child) { color: var(--text-primary); font-size: 15px; letter-spacing: 0; }
.cmp tbody th {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  width: 140px;
}
.cmp td { color: var(--text-body); }
@media (max-width: 780px) {
  .matrix__head { display: none; }
  .matrix__row { grid-template-columns: 1fr; gap: 8px; }
  .matrix__choose { order: -1; }
}

/* 抵扣规则 */
.upgrade-note {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 26px 28px;
  margin-top: 20px;
}
.upgrade-note ul { display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }
.upgrade-note li {
  position: relative; padding-left: 20px;
  font-size: 14.5px; color: var(--text-body); line-height: 1.7;
}
.upgrade-note li::before {
  content: ""; position: absolute; left: 3px; top: 10px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--text-faint);
}
.upgrade-math { display: flex; flex-wrap: wrap; gap: 10px; }
.upgrade-math__item {
  background: var(--bg-elevated-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.upgrade-math__item b { color: var(--text-primary); font-weight: 600; }

/* --------------------------------------------------------------------------
   四大板块卡片（第一层图下面）
   -------------------------------------------------------------------------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.category-card {
  display: block;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease),
              background 0.25s var(--ease);
}
.category-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  background: #1B1814;
}
.category-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.category-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-elevated-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: var(--text-primary);
  flex-shrink: 0;
}
.category-card__title { font-size: 21px; font-weight: 600; color: var(--text-primary); }
.category-card__count { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.category-card__tagline {
  font-size: 15.5px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
}
.category-card__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.chip {
  font-size: 12.5px;
  color: var(--text-muted);
  background: var(--bg-elevated-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  white-space: nowrap;
}
.category-card__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
}
.category-card__more .arrow { transition: transform 0.25s var(--ease); }
.category-card:hover .category-card__more .arrow { transform: translateX(4px); }

@media (max-width: 780px) {
  .category-grid { grid-template-columns: 1fr; }
  .category-card { padding: 26px 22px; }
}

/* --------------------------------------------------------------------------
   第二层：板块页
   -------------------------------------------------------------------------- */
.cat-hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
}
.cat-hero::before {
  content: "";
  position: absolute;
  top: -380px;
  left: 30%;
  transform: translateX(-50%);
  width: 1000px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(255,248,240,0.06), transparent 68%);
  pointer-events: none;
}
/* .breadcrumb 在 style.css 里（第二、三层都要用） */

.cat-hero__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.cat-hero__icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
}
.cat-hero__icon svg { width: 26px; height: 26px; }
.cat-hero__intro { max-width: 640px; margin-top: 18px; }

/* 板块页产品卡片 */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 18px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease),
              background 0.25s var(--ease);
}
.product-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  background: #1B1814;
}
.product-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.product-card__name { font-size: 20px; font-weight: 600; color: var(--text-primary); line-height: 1.35; }
.product-card__price {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.product-card__tag {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 12px;
}
.product-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}
.product-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-card__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
}
.product-card__more .arrow { transition: transform 0.25s var(--ease); }
.product-card:hover .product-card__more .arrow { transform: translateX(4px); }

/* 状态角标 */
.status-badge {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  white-space: nowrap;
}
.status-badge--soon { color: var(--accent); border-color: rgba(255, 107, 82, 0.4); }
.status-badge--draft { color: var(--text-faint); border-style: dashed; }

.product-card--inactive { opacity: 0.72; }
.product-card--inactive:hover { transform: none; }

/* 板块页底部：去别的板块 */
.other-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.other-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-card-sm);
  padding: 18px 20px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.other-cat:hover { border-color: var(--border-strong); background: var(--bg-elevated-2); }
.other-cat__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bg-elevated-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
}
.other-cat__icon svg { width: 17px; height: 17px; }
.other-cat__name { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.other-cat__count { font-size: 12px; color: var(--text-muted); }

@media (max-width: 780px) {
  .other-cats { grid-template-columns: 1fr; }
  .product-list { grid-template-columns: 1fr; }
  .cat-hero__head { gap: 14px; }
  .cat-hero__icon { width: 46px; height: 46px; font-size: 20px; }
}

/* ==========================================================================
   赚钱板块：四条路径 + 展开的两种交付
   桌面 2×2，移动端单列。展开动画克制，不做夸张效果。
   ========================================================================== */
.path-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.path-panel.is-open {
  opacity: 1;
  margin-top: 0;
}
.offer__foot .btn-pill { width: 100%; justify-content: center; }
.offer__foot .btn-ghost { width: 100%; justify-content: center; }

@media (max-width: 880px) {
  .path-grid { grid-template-columns: 1fr; }
  .path-panel { margin-top: -18px; }
  .path-panel__inner { grid-template-columns: 1fr; }
  .path-card { padding: 24px 22px; }
  .offer { padding: 22px 20px; }
}

/* 2026-09-23：业务增长入口（.growth-box）从赚钱板块页删掉了（作者要求），
   样式规则跟着删——没别的页面在用。数据还在 products.js 的 zhuanqian.growth，
   要拿回来的话样式从 git log 里找回来就行。 */

/* ==========================================================================
   业务诊断表单
   ========================================================================== */
.form-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px;
}
.field { margin-bottom: 24px; }
.field label {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.field .hint { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--bg-elevated-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-primary);
  font-size: 14.5px;
  font-family: inherit;
  line-height: 1.6;
  transition: border-color 0.2s ease;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--border-strong); outline: none; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-faint); }
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: var(--accent); }
.field__error {
  display: none;
  font-size: 13px;
  color: var(--accent);
  margin-top: 7px;
}
.field.has-error .field__error { display: block; }

.form-card .btn-pill { width: 100%; justify-content: center; margin-top: 8px; }

/* 提交成功状态 */
.form-success { display: none; text-align: center; padding: 16px 0; }
.form-success.is-shown { display: block; }
.form-success__mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #F2ECE2;
  color: #0E0C0A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 22px;
}
.form-success h3 { font-size: 22px; margin-bottom: 12px; }
.form-success p { font-size: 15px; color: var(--text-muted); line-height: 1.8; }
.form-success ol {
  text-align: left;
  max-width: 420px;
  margin: 24px auto 0;
  padding-left: 0;
  counter-reset: step;
  list-style: none;
}
.form-success ol li {
  counter-increment: step;
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.7;
}
.form-success ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.is-hidden { display: none !important; }

/* 表单未接后端时的说明。刻意做得显眼 ——
   宁可让人看到「暂未开放」，也不能让人填完之后以为有人收到了。 */
.form-notice {
  max-width: 620px;
  margin: 0 auto 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-card-sm);
  padding: 18px 22px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-muted);
}
.form-notice strong { display: block; color: var(--text-primary); margin-bottom: 5px; font-weight: 600; }

.form-fail {
  font-size: 14px;
  color: var(--accent);
  margin-top: 12px;
  text-align: center;
}

form[aria-disabled="true"] .field label,
form[aria-disabled="true"] .field .hint { opacity: 0.5; }
form[aria-disabled="true"] input:disabled,
form[aria-disabled="true"] textarea:disabled,
form[aria-disabled="true"] select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn-pill:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-pill:disabled:hover { transform: none; box-shadow: none; background: var(--text-primary); }

/* 键盘可达性：SVG 节点和所有可聚焦元素都要有看得见的焦点圈 */
.node:focus-visible .node__box {
  stroke: #FFF8F0;
  stroke-width: 2.5;
}
.node:focus { outline: none; }

@media (max-width: 780px) {
  .form-card { padding: 26px 20px; }
}

/* --------------------------------------------------------------------------
   脚本没跑起来时的兜底提示（本地用 file:// 打开某些浏览器会拦 JS）
   -------------------------------------------------------------------------- */
.js-fallback {
  display: none;
  background: var(--bg-elevated);
  border: 1px dashed var(--accent);
  border-radius: var(--radius-card);
  padding: 24px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}
.no-js .js-fallback { display: block; }

/* ==========================================================================
   产品详情页
   这些页面是从 data/products.js 重建的：只渲染真实存在的字段。
   原来的版本是「内容变现训练营」落地页的整页副本，套在每一个产品上，
   里面的课程大纲、学员评价、价格全部与实际产品无关。
   ========================================================================== */
.detail-price {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 22px;
}
.detail-fields { margin-top: 8px; }
.detail-field {
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.detail-field h3 {
  font-size: 12.5px;
  color: var(--text-faint);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin: 0 0 8px;
}
.detail-field p { font-size: 16px; color: var(--text-body); line-height: 1.8; margin: 0; }
.detail-field .bullet-list { margin: 0; }

.detail-sibling {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
  color: var(--text-muted);
}
.detail-sibling a {
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 1px;
}
.detail-sibling a:hover { border-bottom-color: var(--text-primary); }

/* 没有真实购买渠道时，不放假的「立即购买」按钮 */
.detail-cta {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 26px 28px;
  margin-top: 36px;
}
.detail-cta p { font-size: 14.5px; color: var(--text-muted); margin: 0 0 16px; line-height: 1.75; }

/* ==========================================================================
   未填写的文案区块
   这些区块里现在放的是「第一段写什么、第二段写什么」这类编辑说明，
   访客不该看到。默认整块隐藏，填好真实文案后把 is-draft 这个类删掉即可。
   ========================================================================== */
.is-draft { display: none !important; }

/* 支持深度表里还没上线的层级：压暗 + 加标注，避免被当成可购买的产品 */
.cmp-row--planned { opacity: 0.6; }
.cmp-row--planned th span { color: var(--text-muted); }

/* ==========================================================================
   赚钱项目实战：项目卡片
   2026-09-23：四张卡改成单列——每个项目独占一整行，不再 2×2 拼格子。
   卡片内部横向排布：标题+简介 / 四个字段横排 / 两个入口，把整行的宽度用起来。
   ========================================================================== */
.proj-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
/* 2026-09-23：加大号淡编号 + 左侧色条——跟首页「了解每个板块产品的详情」
   那六个大栏目（secblock）同一套视觉语言，全是「整理中」的卡片也不会显得
   只是一片灰扑扑的字，编号先把节奏立住。橙色是这个板块（赚钱项目实战）
   在 matrix.js 里的方向色，跟首页那条色条呼应。 */
.proj-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid #e0864c;
  border-radius: var(--radius-card);
  padding: 30px 32px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
/* 只改上/右/下三边，左边的橙色条 hover 时不能被 border-color 简写盖掉 */
.proj-card:hover {
  border-top-color: var(--border-strong);
  border-right-color: var(--border-strong);
  border-bottom-color: var(--border-strong);
  background: #1B1814;
}
.proj-card__num {
  flex: none;
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255,248,240,0.14);
  user-select: none;
}
.proj-card__body { flex: 1; min-width: 0; }

.proj-card__head { margin-bottom: 20px; }
.proj-card__name {
  font-family: var(--font-display-cn);
  font-size: 23px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0 0 8px;
}
.proj-card__lede { margin: 0; font-size: 15px; line-height: 1.7; color: var(--text-body); max-width: 640px; }

/* 四个字段横排，宽屏一行四个，窄屏自动折行 */
.proj-card__fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proj-card__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin-bottom: 6px;
}
.proj-card__field p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

/* 两个入口并列摆开，不再拉满整行——整行卡片够宽，按钮各自按内容宽度就好 */
.proj-card__acts {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.proj-card__act {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  font-size: 14.5px;
  color: var(--text-body);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.proj-card__act b { color: var(--text-primary); font-weight: 600; white-space: nowrap; }
.proj-card__act:hover { border-color: var(--text-primary); color: var(--text-primary); }
.proj-card__act--primary {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--bg);
  font-weight: 600;
}
.proj-card__act--primary b { color: var(--bg); }
.proj-card__act--primary:hover { background: #FFF8F0; color: var(--bg); }
.proj-card__act:focus-visible { outline: 2px solid var(--text-primary); outline-offset: 2px; }

.proj-card__soon {
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 13px 18px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-pill);
  text-align: center;
}

/* 通用「整理中」占位态：字段有真内容就显示内容，没有就用这个——
   淡色 + 斜体，一眼看出还没填，跟 matrix.js 的 .secblock__intro.is-pending
   是同一套视觉语言，这里抽成通用类，proj-card 和其它地方都能用。 */
.is-pending { color: var(--text-faint); font-style: italic; }

/* ---- 文档还是陪跑：2026-09-23 重新设计成一张统一卡片 + 中间箭头，
   暗示「先文档、需要时再陪跑」这条路径，不再是两个并列的选项框。
   价格做成大号数字当视觉焦点，陪跑一侧压低一档饱和度，呼应按钮主次。 ---- */
.dcc {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 8px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-card);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(224, 134, 76, 0.10), transparent 55%),
    var(--bg-elevated);
  overflow: hidden;
}
.dcc__col { flex: 1; padding: 30px 32px; min-width: 0; }
.dcc__col--coach { opacity: 0.82; }
.dcc__price {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.dcc__col--doc .dcc__price { color: #e0864c; }
.dcc__name { margin: 0 0 10px; font-size: 15px; font-weight: 600; color: var(--text-primary); }
.dcc__desc { margin: 0; font-size: 14px; line-height: 1.7; color: var(--text-muted); }
.dcc__arrow {
  flex: none;
  display: flex; align-items: center; justify-content: center;
  width: 56px;
  font-size: 18px;
  color: var(--text-faint);
  background: var(--bg);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
@media (max-width: 640px) {
  .dcc { flex-direction: column; }
  /* 只转箭头字符本身，不转整个盒子——转整个盒子会让它撑高的方向和
     实际占用的文档流空间对不上，之前踩过这个坑，把上下两栏的文字挡住了。 */
  .dcc__arrow { width: auto; height: 40px; border-left: none; border-right: none; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .dcc__arrow-glyph { display: inline-block; transform: rotate(90deg); }
}

@media (max-width: 780px) {
  .proj-card { padding: 22px 20px; gap: 14px; }
  .proj-card__num { font-size: 28px; }
  .proj-card__fields { grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
}

/* ==========================================================================
   首页窄屏的分组列表（js/home-list.js）
   不缩小桌面 SVG，也不做折叠 —— 产品名和价格直接可见，点一下就走。
   ========================================================================== */
.hl-core {
  display: block;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  margin-bottom: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.hl-core:hover { border-color: var(--text-primary); background: #1B1814; }
.hl-core__label {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.hl-core__name {
  display: block;
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}
.hl-core__sub {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 5px;
}
.hl-core__price {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 12px;
}

.hl-group {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 8px 18px 10px;
  margin-bottom: 14px;
  background: var(--bg-elevated);
}
.hl-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 10px;
  border-bottom: 1px solid var(--border);
}
.hl-group__name { font-size: 16px; font-weight: 600; color: var(--text-primary); }
.hl-group__go { font-size: 12.5px; color: var(--text-muted); white-space: nowrap; }
.hl-group__head:hover .hl-group__go { color: var(--text-primary); }
.hl-group__tagline {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 12px 0 4px;
}

.hl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
}
.hl-row:last-child { border-bottom: none; }
.hl-group > .hl-row:first-child { border-top: none; }
.hl-row__main { min-width: 0; }
.hl-row__name {
  font-size: 15.5px;
  color: var(--text-body);
  line-height: 1.5;
}
.hl-row:hover .hl-row__name { color: var(--text-primary); }
.hl-row__meta {
  font-size: 13.5px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.hl-row__meta--soon { color: var(--text-faint); }

/* 没有有效页面的产品：不可点，也不假装能买 */
.hl-row--inactive { opacity: 0.55; cursor: default; }

.hl-core:focus-visible,
.hl-row:focus-visible,
.hl-group__head:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 3px;
  border-radius: 6px;
}

/* 窄屏：名称和价格改上下排。
   横排时右边那串「文档 ¥199 · 陪跑 ¥999」是 nowrap 且不收缩，
   会把左边的项目名挤成「轻资 / 产网 / 创」这种三行。 */
@media (max-width: 620px) {
  .hl-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .hl-row__meta { white-space: normal; }
  .hl-group__head { flex-wrap: wrap; }
}

/* ==========================================================================
   窄屏架构列表 —— 用连接线把「归属关系」画出来
   --------------------------------------------------------------------------
   原来这里是六个平行的盒子，看不出谁属于谁。现在补上树状连接线，
   用的是和 SVG 地图完全相同的一套图例：
     实线竖干 + 横叉 = 产品归属于这个板块
     虚线            = 筹备中
   刻意不做的事：不把「创富私享会」画成四个板块的父节点。
   它和单项产品是并列的两种选择，不是升级路径 —— 首页正文也是这么写的，
   画成父子关系会和文案直接打架。
   ========================================================================== */

/* 中心卡下面那行关系说明 */
.hl-rel {
  margin: 10px 2px 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-faint);
}

/* 四个板块的总起点 */
.hl-branches {
  margin: 26px 2px 10px;
  font-family: var(--font-heading);
  font-size: 11.2px;
  letter-spacing: var(--tracking-heading);
  color: var(--text-faint);
}

/* 板块头：这一支的根 */
.hl-group__count {
  margin-left: 8px;
  font-size: 12px;
  color: var(--text-faint);
  white-space: nowrap;
}
.hl-group__head { gap: 6px; }

/* ---- 连接线本体 ----
   每一行自己画一小段竖干 + 一条横叉；最后一行的竖干只画到中点，
   自然形成 └ 的收尾。纯 CSS，不依赖额外 DOM。 */
.hl-group > .hl-row {
  position: relative;
  margin-left: 12px;
  padding-left: 20px;
  border-bottom: none;          /* 用连接线代替原来的分隔线 */
}
.hl-group > .hl-row::before {   /* 竖干 */
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1px solid var(--border-strong);
}
.hl-group > .hl-row:last-child::before { bottom: 50%; }  /* └ 收尾 */
.hl-group > .hl-row::after {    /* 横叉 */
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 13px;
  height: 0;
  border-top: 1px solid var(--border-strong);
}

/* 筹备中：连接线改虚线，和地图图例一致 */
.hl-group > .hl-row--soon::before,
.hl-group > .hl-row--soon::after { border-style: dashed; }

/* 独立产品（1v1 咨询）不画连接线 —— 它不归属于任何板块 */
.hl-group:not(:has(.hl-group__head)) > .hl-row {
  margin-left: 0;
  padding-left: 0;
}
.hl-group:not(:has(.hl-group__head)) > .hl-row::before,
.hl-group:not(:has(.hl-group__head)) > .hl-row::after { display: none; }

/* hover 时这一行的连接线跟着亮，强化「这一条属于这一支」 */
.hl-group > .hl-row:hover::before,
.hl-group > .hl-row:hover::after { border-color: var(--text-muted); }

/* 把竖干从板块头一路接到第一个产品 ——
   原来 tagline 这一段没有线，分支根和它的第一个孩子在视觉上是断的，
   "归属"就读不出来了。给 tagline 补一段只画下半截的竖干。 */
.hl-group__tagline {
  position: relative;
  margin-left: 12px;
  padding-left: 20px;
}
.hl-group__tagline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;            /* 从文字中线开始往下画，接住下面第一行 */
  bottom: -10px;
  width: 0;
  border-left: 1px solid var(--border-strong);
}
/* 没有 tagline 的板块，让第一行自己往上补一截 */
.hl-group__head + .hl-row::before { top: -12px; }

/* 连接线再亮一档 —— .16 在深底上太弱，读不出是一条"干" */
.hl-group > .hl-row::before,
.hl-group > .hl-row::after,
.hl-group__tagline::before { border-color: rgba(255,248,240,0.22); }

/* ==========================================================================
   把「板块」做成真正的栏目面板
   --------------------------------------------------------------------------
   之前每个板块只是一行文字标题 + 下面几行产品，四个板块挤在一起，
   读起来不像四个栏目，像一长条列表。现在每个板块是一块独立面板：
   有自己的边框、自己的标题条、自己的底色，一眼数得出有几个栏目。
   ========================================================================== */

/* 只作用于带板块头的组；1v1 咨询那种独立产品不受影响 */
.hl-group:has(.hl-group__head) {
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  background: var(--bg-elevated);
  overflow: hidden;
  margin-bottom: 14px;
}

/* 标题条：比面板底色再亮一档，把"栏目名"和"栏目内容"分开 */
.hl-group:has(.hl-group__head) > .hl-group__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  background: var(--bg-elevated-2);
  border-bottom: 1px solid var(--border);
  margin: 0;
}
.hl-group__name {
  font-family: var(--font-display-cn);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: var(--tracking-heading);
  color: var(--text-primary);
}
.hl-group__count {
  margin-left: 0;
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 11.5px;
  color: var(--text-muted);
}
.hl-group__go { margin-left: auto; font-size: 12.5px; color: var(--text-muted); }

/* 栏目内容区缩进，连接线也跟着挪进来 */
.hl-group:has(.hl-group__head) > .hl-group__tagline {
  margin: 14px 18px 0 24px;
  padding-left: 20px;
}
.hl-group:has(.hl-group__head) > .hl-row {
  margin-left: 24px;
  margin-right: 8px;
  padding-left: 20px;
}
.hl-group:has(.hl-group__head) > .hl-row:last-child { margin-bottom: 14px; }

/* 「四个板块」那行小标题再明确一点 */
.hl-branches {
  margin: 30px 2px 12px;
  font-size: 12.5px;
  letter-spacing: 0;
  color: var(--text-muted);
}

/* ==========================================================================
   需求入口 + 栏目面板加力
   ========================================================================== */

/* ---- 需求入口：压成一行窄标签 ----
   原来是 5 张大卡片，在手机上占掉半屏，而且和下面的分类筛选做的是同一件事
   （都是筛列表）。这里降成一行文字标签：保留"从问题出发"的入口语言，
   但不再和筛选条抢版面。 */
.needs { margin: 0 0 22px; }
.needs__label { margin: 0 0 10px; font-size: 13px; color: var(--text-faint); }
.needs__grid { display: flex; flex-wrap: wrap; gap: 8px; }
.needs__item {
  padding: 7px 13px;
  font-size: 13px; line-height: 1.4;
  color: var(--text-muted);
  background: transparent;
  border: 1px dashed rgba(255,248,240,0.18);
  border-radius: 99px;
  cursor: pointer;
  transition: color .16s, border-color .16s;
}
.needs__item:hover { color: var(--text-primary); border-color: rgba(255,248,240,.4); }
.needs__item[aria-pressed="true"] {
  color: var(--text-primary);
  border-style: solid;
  border-color: rgba(255,248,240,0.5);
}
.needs__note { display: none; }

/* ---- 栏目面板：边框加力 ----
   原来 .10 的边框在深底上几乎看不见，四块面板糊成一片。
   提到 .20，标题条再加一条更亮的上沿，面板才立得起来。 */
.hl-group:has(.hl-group__head) {
  border-color: rgba(255,248,240,0.20);
  box-shadow: 0 2px 10px rgba(0,0,0,.35), 0 18px 40px -22px rgba(0,0,0,.6);
  margin-bottom: 16px;
}
.hl-group:has(.hl-group__head) > .hl-group__head {
  border-bottom-color: rgba(255,248,240,0.16);
  box-shadow: inset 0 1px 0 rgba(255,248,240,0.06);
}
.hl-group:has(.hl-group__head):hover {
  border-color: rgba(255,248,240,0.34);
}

/* ---- 栏目正文：只说解决什么问题 ---- */
.hl-group__why {
  margin: 0;
  padding: 16px 18px 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
}
.hl-group__why--empty {
  color: var(--text-faint);
  font-style: italic;
}

/* ---- 1v1 咨询那块 ---- */
.hl-group--solo {
  border: 1px solid rgba(255,248,240,0.20);
  border-radius: var(--radius-card);
  background: var(--bg-elevated);
  padding: 4px 18px 14px;
  margin-bottom: 16px;
}
.hl-solo__label {
  margin: 12px 0 2px;
  font-family: var(--font-heading);
  font-size: 11.2px;
  letter-spacing: var(--tracking-heading);
  color: var(--text-faint);
}
.hl-row__why {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}
.hl-group--solo > .hl-row { border: none; padding-left: 0; margin-left: 0; }
.hl-group--solo > .hl-row::before,
.hl-group--solo > .hl-row::after { display: none; }

/* ==========================================================================
   产品详情页
   --------------------------------------------------------------------------
   .ph 是占位标记：内容里以 XXXX 开头的都会加上，虚线框 + 斜体 + 降饱和，
   一眼看出没填完，不会被误当成真承诺。真实内容填进去后标记自动消失。
   ========================================================================== */

.ph {
  display: inline-block;
  padding: 1px 7px;
  border: 1px dashed rgba(255,248,240,0.22);
  border-radius: 5px;
  color: var(--text-faint);
  font-style: italic;
}

/* ---- "关于我"标题：单独放大，比全站通用 h2（clamp 到 40px）更有分量——
   作者在 10 个视觉方案里挑中「时间线」版，标题要求「更大更好看」。 ---- */
.about-h2 { font-size: clamp(1.7rem, 3.4vw, 2.75rem); font-weight: 400; margin: 0 0 40px; }

/* ---- "关于我"两栏：左边时间线，右边联系方式（微信二维码 + 预留其它平台）。
   窄屏堆成一栏，联系方式排到内容下面。 ---- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 64px; align-items: start; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* 时间线：左侧竖线 + 空心圆点，六条依次往下走，比纯编号列表更有叙事感。 */
.about-rail { position: relative; padding-left: 40px; }
.about-rail::before {
  content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 1px;
  background: linear-gradient(rgba(255,248,240,.3), rgba(255,248,240,.05));
}
.about-rail__item { position: relative; padding-bottom: 48px; }
.about-rail__item:last-child { padding-bottom: 0; }
.about-rail__dot {
  position: absolute; left: -40px; top: 5px; width: 17px; height: 17px;
  border-radius: 50%; background: var(--bg); border: 2px solid var(--accent);
}
/* 霞鹜文楷比全站默认正文字体更楷体、更"好看"（作者原话），
   字号也从原来的 17px 提到 19.5px。 */
.about-rail__text {
  font-family: "LXGW WenKai Screen", var(--font-body);
  font-size: 19.5px; line-height: 1.95; letter-spacing: .01em;
  color: var(--text-body);
}

/* 右栏：联系方式 */
.about-grid__contact { display: flex; flex-direction: column; gap: 16px; }
.about-grid__more { font-size: 13px; line-height: 1.6; }
@media (max-width: 860px) {
  .about-grid__contact { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
}

/* ---- 图片位占位框：虚线框 + 斜纹底 + 说明文字，通用样式，目前给微信二维码用 ---- */
.hub-slot {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-card-sm);
  background:
    repeating-linear-gradient(135deg, transparent, transparent 9px,
      rgba(255,248,240,0.022) 9px, rgba(255,248,240,0.022) 18px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.hub-slot__label { font-size: 12px; letter-spacing: 0.08em; color: var(--accent); }
.hub-slot__what { font-size: 14px; color: var(--text-primary); font-weight: 600; line-height: 1.5; }
.hub-slot__spec { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.hub-slot--qr { aspect-ratio: 1 / 1; max-width: 200px; }

/* ---- 项目文档页：「关于这个项目」区块，在购买信息（.dt-block）之前 ---- */
.proj-about { padding: 8px 0 32px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.proj-about__row { margin-bottom: 18px; }
.proj-about__row:last-child { margin-bottom: 0; }
.proj-about__label {
  display: block; font-size: 12px; letter-spacing: 0.06em;
  color: var(--text-faint); margin-bottom: 6px;
}
.proj-about__row p { margin: 0; font-size: 15px; line-height: 1.75; color: var(--text-body); }
.proj-about__empty { margin: 0; font-size: 14px; color: var(--text-faint); font-style: italic; }

/* ---- 项目陪跑页：顶部「先了解这个项目 →」，链到同项目的文档页 ---- */
.proj-about-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; color: var(--text-muted);
  transition: color 0.18s ease;
}
.proj-about-link:hover { color: var(--text-primary); }

.dt-block { padding: 40px 0; border-top: 1px solid var(--border); }
.dt-block:first-child { border-top: none; padding-top: 8px; }
.dt-h2 {
  margin: 6px 0 18px;
  font-family: var(--font-display-cn);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 400;
  letter-spacing: var(--tracking-heading);
}
.dt-h3 { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--text-primary); }
.dt-h3--gap { margin-top: 30px; }
.dt-problem { margin: 0 0 22px; font-size: 17px; line-height: 1.75; color: var(--text-body); }
.dt-note { margin: 0 0 16px; font-size: 13.5px; color: var(--text-faint); }

/* ---- 适合 / 不适合：并列，不折叠。这是决策信息，不该藏起来 ---- */
.dt-two { display: grid; gap: 14px; }
@media (min-width: 680px) { .dt-two { grid-template-columns: 1fr 1fr; } }
.dt-col {
  padding: 20px;
  border: 1px solid rgba(255,248,240,0.16);
  border-radius: var(--radius-card);
  background: var(--bg-elevated);
}
.dt-col--no { background: transparent; border-style: dashed; }
.dt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dt-list li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.65; color: var(--text-body); }
.dt-mark { flex: none; color: var(--text-muted); }
.dt-col--no .dt-list li { color: var(--text-muted); }

/* ---- 交付清单 ---- */
.dt-deliver { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dt-deliver li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card-sm);
  background: var(--bg-elevated);
}
.dt-deliver__name { font-size: 15px; color: var(--text-primary); }
.dt-deliver__note { font-size: 13px; color: var(--text-muted); }
.dt-steps { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.dt-steps li { font-size: 14.5px; line-height: 1.7; color: var(--text-body); }

/* ---- 样章 ---- */
.dt-samples { display: grid; gap: 14px; }
@media (min-width: 680px) { .dt-samples { grid-template-columns: 1fr 1fr; } }
.dt-sample {
  display: block; width: 100%; text-align: left; padding: 0;
  background: none; border: 0; cursor: zoom-in;
}
.dt-sample__box {
  display: grid; place-content: center;
  border: 1px solid rgba(255,248,240,0.16);
  border-radius: var(--radius-card-sm);
  background: var(--bg-elevated-2);
  background-image: repeating-linear-gradient(45deg, rgba(255,248,240,.03) 0 8px, transparent 8px 16px);
  color: var(--text-faint); font-size: 13px; text-align: center; padding: 20px;
}
.dt-sample:hover .dt-sample__box { border-color: rgba(255,248,240,0.34); }
.dt-sample__note { display: block; margin-top: 8px; font-size: 12.5px; color: var(--text-faint); }

.dt-lb { border: 0; padding: 0; background: none; max-width: min(92vw, 860px); }
.dt-lb::backdrop { background: rgba(0, 0, 0, 0.82); backdrop-filter: blur(6px); }
.dt-lb__box {
  display: grid; place-content: center;
  border: 1px solid rgba(255,248,240,0.2); border-radius: var(--radius-card);
  background: var(--bg-elevated-2); color: var(--text-muted); padding: 30px;
  background-image: repeating-linear-gradient(45deg, rgba(255,248,240,.03) 0 8px, transparent 8px 16px);
}
.dt-lb__cap { margin: 12px 0; font-size: 13px; color: var(--text-faint); text-align: center; }
.dt-lb__close { display: block; margin: 0 auto; }

/* ---- 规则表 ---- */
.dt-terms { margin: 0; border-top: 1px solid var(--border); }
.dt-terms > div {
  display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--border);
}
@media (min-width: 560px) { .dt-terms > div { grid-template-columns: 130px minmax(0, 1fr); gap: 18px; } }
.dt-terms dt { font-size: 13.5px; color: var(--text-muted); }
.dt-terms dd { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--text-body); }

/* ---- 案例 ---- */
.dt-case {
  margin-top: 14px; padding: 18px;
  border: 1px solid var(--border); border-radius: var(--radius-card);
  background: var(--bg-elevated); display: grid; gap: 12px;
}
.dt-case__row { display: grid; gap: 3px; }
@media (min-width: 560px) { .dt-case__row { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; } }
.dt-case__k { font-size: 12.5px; color: var(--text-faint); }
.dt-case__v { font-size: 14.5px; line-height: 1.65; color: var(--text-body); }

/* ---- 行动入口 ---- */
.dt-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.is-unset {
  opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important;
}
.is-unset:hover { transform: none !important; }

/* ---- FAQ ---- */
.dt-faq { border-top: 1px solid var(--border); }
.dt-faq__item { border-bottom: 1px solid var(--border); }
.dt-faq__item > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 0; cursor: pointer; list-style: none;
  font-size: 15.5px; color: var(--text-primary);
}
.dt-faq__item > summary::-webkit-details-marker { display: none; }
.dt-faq__chev { flex: none; color: var(--text-muted); transition: transform .2s; }
.dt-faq__item[open] .dt-faq__chev { transform: rotate(45deg); }
.dt-faq__a { margin: 0 0 18px; font-size: 14.5px; line-height: 1.8; color: var(--text-body); }

/* ---- 还不确定选哪个 ---- */
.dt-contact {
  margin-top: 8px; padding: 30px 24px;
  border: 1px solid rgba(255,248,240,0.2); border-radius: var(--radius-card);
  background: var(--bg-elevated);
}
.dt-contact .dt-h2 { margin-top: 0; }

/* ==========================================================================
   赚钱板块项目页：文档版式（短）/ 陪跑版式（讲透）—— 2026-09-23
   没填的块只留标题 + 一行淡色「整理中」，不画虚线框
   ========================================================================== */
.dt-pending { margin: 0; font-size: 13.5px; color: var(--text-faint); letter-spacing: 0.04em; }
.dt-block:has(> .dt-pending) { padding-bottom: 28px; }

/* 文档页要短：块间距收紧，控制在 1440 下两屏以内 */
.dt--doc .dt-block { padding: 28px 0; }
.dt--doc .dt-block:first-child { padding-top: 0; }
.dt--doc .dt-h2 { margin-bottom: 14px; }
.dt--doc .dt-problem { margin-bottom: 14px; font-size: 16px; }
.dt--doc .dt-contact { padding: 26px 24px; }

/* 你拿到什么：一行规格 + 一级目录 */
.dt-meta {
  display: inline-block; margin: 0 0 16px; padding: 5px 12px;
  font-size: 13px; color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 99px;
}
.dt-toc { margin: 0; padding-left: 22px; display: grid; gap: 8px 32px; }
.dt-toc--own { list-style: none; padding-left: 0; }
.dt-toc li { font-size: 14.5px; line-height: 1.6; color: var(--text-body); }
.dt-toc--own li { padding-left: 14px; position: relative; }
.dt-toc--own li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 5px; height: 1px; background: var(--text-faint);
}
@media (min-width: 760px) { .dt-toc--cols { grid-template-columns: 1fr 1fr; } }

/* 先看看 / 去陪跑 / 买完怎么拿到 */
.dt-trial, .dt-next {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14.5px; color: var(--text-primary);
  border-bottom: 1px solid rgba(255,248,240,0.28);
  transition: border-color .18s;
}
.dt-trial { margin-top: 14px; }
.dt-trial:hover, .dt-next:hover { border-bottom-color: var(--text-primary); }
.dt-next { margin: 4px 0 28px; }
.dt-after { margin: 14px 0 0; font-size: 14px; line-height: 1.7; color: var(--text-body); }
.dt-after__k { display: block; font-size: 12px; color: var(--text-faint); margin-bottom: 4px; }

/* 陪跑节奏：每条自己带「第 1 周：」，只画一根时间线 */
.dt-rhythm { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 1px solid var(--border); display: grid; gap: 14px; }
.dt-rhythm li { font-size: 14.5px; line-height: 1.7; color: var(--text-body); }
.dt-terms__line { display: block; }

/* 陪跑页顶部：陪跑 = 这份实操文档 + 有人带你做 */
.proj-about-eq { display: block; margin-top: 6px; font-size: 13.5px; color: var(--text-muted); }
.proj-about-eq a { color: var(--text-primary); border-bottom: 1px solid rgba(255,248,240,0.28); }
.proj-about-eq a:hover { border-bottom-color: var(--text-primary); }

/* ==========================================================================
   产品全景：分类筛选 + 卡片 + 预览抽屉
   ========================================================================== */

/* ---- 分类筛选条 ---- */
.cat-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 20px;
}
.cat-chip {
  padding: 9px 16px;
  font-size: 14px;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid rgba(255,248,240,0.16);
  border-radius: 99px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .16s, border-color .16s, background .16s;
}
.cat-chip:hover { color: var(--text-primary); border-color: rgba(255,248,240,.34); }
.cat-chip[aria-pressed="true"] {
  color: var(--bg);
  background: linear-gradient(to bottom, #FFF8F0, #E6DFD5);
  border-color: transparent;
  font-weight: 500;
}

/* ---- 卡片网格：Reforge 三段式 ----
   标题+标签 / 用途 / 价格+入口，三段之间用真正的留白隔开。
   Reforge 扫读清楚不是因为字好看，是因为这三段边界明确。 */
.cat-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
/* 1200 起才三列。768–1199 保持两列 —— 1024 下三列每列只有约 310px，
   中文长标题会挤成三行，规格也要求这一段是一到两列。 */
@media (min-width: 1200px) { .cat-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.cat-empty { margin: 18px 0; font-size: 14px; color: var(--text-faint); }

.rcard {
  display: flex; flex-direction: column;
  width: 100%; text-align: left;
  padding: 20px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,248,240,0.14);
  border-radius: var(--radius-card);
  cursor: pointer;
  transition: border-color .16s, background .16s;
}
.rcard:hover { border-color: rgba(255,248,240,0.36); background: var(--bg-elevated-2); }

/* 上段：名称 + 右上角形式标签 */
.rcard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.rcard__name {
  margin: 0;
  font-family: var(--font-display-cn);
  font-size: 19px; font-weight: 400; line-height: 1.35;
  letter-spacing: var(--tracking-heading);
  color: var(--text-primary);
}
.rcard__tag {
  flex: none;
  padding: 3px 9px;
  font-family: var(--font-heading);
  font-size: 11px; letter-spacing: var(--tracking-heading);
  color: var(--text-muted);
  border: 1px solid rgba(255,248,240,0.2);
  border-radius: 6px;
  white-space: nowrap;
}
.rcard__tag.is-soon { border-style: dashed; color: var(--text-faint); }

/* 中段：解决什么问题。两行截断 —— 超过两行会变成一堵墙，扫不动 */
.rcard__why {
  margin: 16px 0 0;
  font-size: 14px; line-height: 1.7;
  color: var(--text-muted);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  line-clamp: 2; overflow: hidden;
}

/* 下段：价格 + 入口。用上边框和中段断开 */
.rcard__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 20px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.rcard__price { font-size: 14px; color: var(--text-primary); }
.rcard__price.is-soon { color: var(--text-faint); }
.rcard__go { font-size: 13px; color: var(--text-faint); white-space: nowrap; }
.rcard:hover .rcard__go { color: var(--text-primary); }

/* ---- 预览抽屉 ----
   桌面：右侧滑入。手机：底部升起。两种都锁背景滚动。 */
body.sheet-open { overflow: hidden; }

.sheet {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0; transition: opacity .18s ease;
  display: flex; align-items: flex-end; justify-content: center;
}
.sheet.is-open { opacity: 1; }
.sheet__panel {
  width: 100%; max-height: 88vh; overflow-y: auto;
  padding: 22px 20px 26px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,248,240,0.2);
  border-radius: 22px 22px 0 0;
  transform: translateY(14px); transition: transform .2s ease;
  -webkit-overflow-scrolling: touch;
}
.sheet.is-open .sheet__panel { transform: none; }

@media (min-width: 860px) {
  .sheet { align-items: stretch; justify-content: flex-end; }
  .sheet__panel {
    width: min(460px, 92vw); max-height: none; height: 100%;
    border-radius: 22px 0 0 22px;
    padding: 28px 26px 34px;
    transform: translateX(16px);
  }
}

.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sheet__cat { font-size: 11.5px; color: var(--text-faint); }
.sheet__close {
  padding: 7px 14px; font-size: 13px; color: var(--text-muted);
  background: rgba(255,248,240,.05);
  border: 1px solid rgba(255,248,240,.14); border-radius: 99px; cursor: pointer;
}
.sheet__close:hover { color: var(--text-primary); background: rgba(255,248,240,.1); }
.sheet__name {
  margin: 0 0 6px;
  font-family: var(--font-display-cn);
  font-size: 26px; font-weight: 400;
  letter-spacing: var(--tracking-heading);
}
.sheet__price { margin: 0 0 12px; font-size: 15px; color: var(--text-primary); }
.sheet__price.is-soon { color: var(--text-faint); }
.sheet__one { margin: 0 0 20px; font-size: 15px; line-height: 1.7; color: var(--text-body); }

.sheet__body { border-top: 1px solid var(--border); }
.sheet__row { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.sheet__k { font-size: 12.5px; color: var(--text-faint); }
.sheet__v { font-size: 14.5px; line-height: 1.7; color: var(--text-body); }

.sheet__two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.sheet__two-item {
  display: grid; gap: 4px; padding: 14px;
  border: 1px solid var(--border); border-radius: var(--radius-card-sm);
  background: var(--bg-elevated-2);
}
.sheet__two-k { font-size: 12.5px; color: var(--text-faint); }
.sheet__two-v { font-size: 15px; color: var(--text-primary); }

.sheet__foot { margin-top: 24px; }
.sheet__foot .btn-pill { width: 100%; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .sheet, .sheet__panel { transition: none; }
}

/* ==========================================================================
   竖版体系图 —— 真·树状图（连接线用 CSS 画，不是 SVG）
   --------------------------------------------------------------------------
   用 CSS 画线而不是 SVG：SVG 文字跟着 viewBox 缩放，窄屏必糊；
   HTML 文字永远是这里写的字号。每个节点还天然可点、可聚焦、读屏能念。

   线的画法：每个节点自己画一小段竖干 + 一条横叉，
   最后一个的竖干只画到中点，自然形成 └ 收尾。
   ========================================================================== */

.tree {
  --line: rgba(255,248,240,0.26);
  --line-soon: rgba(255,248,240,0.16);
  margin: 0 0 30px;
}

/* ---- 根 ---- */
.tree__root {
  display: inline-block;
  padding: 11px 18px;
  font-family: var(--font-display-cn);
  font-size: 17px;
  letter-spacing: var(--tracking-heading);
  color: var(--text-primary);
  background: var(--bg-elevated-2);
  border: 1px solid rgba(255,248,240,0.3);
  border-radius: var(--radius-card-sm);
}

/* ---- 主干 ---- */
.tree__limb { position: relative; margin-top: 0; padding-left: 16px; }
.tree__limb::before {          /* 从根垂下来的主干 */
  content: "";
  position: absolute;
  left: 0; top: -12px; bottom: 14px;
  border-left: 1px solid var(--line);
}
.tree__limb-name {
  position: relative;
  margin: 0; padding: 14px 0 12px 16px;
  font-size: 12.5px; line-height: 1.5;
  color: var(--text-muted);
}
.tree__limb-name::before {     /* 接到主干上的横叉 */
  content: "";
  position: absolute;
  left: 0; top: 50%; width: 13px;
  border-top: 1px solid var(--line);
}
.tree__limb--alt { margin-top: 4px; }

/* ---- 分支（板块） ---- */
.tree__branches { display: grid; }
.tree__branch { position: relative; padding-left: 16px; }
.tree__branch::before {        /* 分支自己的竖干 */
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  border-left: 1px solid var(--line);
}
.tree__branch:last-child::before { bottom: auto; height: 27px; }  /* └ 收尾 */

.tree__cat {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  margin-left: 14px; padding: 12px 14px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,248,240,0.22);
  border-radius: var(--radius-card-sm);
  transition: border-color .16s, background .16s;
}
.tree__cat::before {           /* 接到分支干上的横叉 */
  content: "";
  position: absolute;
  left: -14px; top: 50%; width: 14px;
  border-top: 1px solid var(--line);
}
.tree__cat:hover { border-color: rgba(255,248,240,0.45); background: var(--bg-elevated-2); }
.tree__cat-icon { color: var(--text-muted); font-size: 14px; }
.tree__cat-name {
  font-family: var(--font-display-cn);
  font-size: 16px; letter-spacing: var(--tracking-heading);
  color: var(--text-primary);
}
.tree__cat-n {
  margin-left: auto; padding: 1px 7px;
  border: 1px solid var(--border); border-radius: 99px;
  font-size: 11px; color: var(--text-faint); white-space: nowrap;
}

/* ---- 叶子（产品） ---- */
.tree__leaves { padding: 4px 0 10px 30px; display: grid; }
.tree__leaf {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px;
  padding: 9px 0 9px 18px;
}
.tree__leaf::before {          /* 叶子串在一条竖干上 */
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  border-left: 1px solid var(--line);
}
.tree__leaf:last-child::before { bottom: 50%; }   /* └ 收尾 */
.tree__leaf::after {           /* 横叉 */
  content: "";
  position: absolute;
  left: 0; top: 50%; width: 12px;
  border-top: 1px solid var(--line);
}
/* 筹备中：线改虚线，和地图图例一致 */
.tree__leaf.is-soon::before,
.tree__leaf.is-soon::after { border-style: dashed; border-color: var(--line-soon); }

.tree__leaf-name { font-size: 15px; color: var(--text-body); }
a.tree__leaf:hover .tree__leaf-name { color: var(--text-primary); }
a.tree__leaf:hover::before, a.tree__leaf:hover::after { border-color: var(--text-muted); }
.tree__leaf-meta { font-size: 12.5px; color: var(--text-faint); }
.tree__leaf.is-soon .tree__leaf-name { color: var(--text-muted); }
.tree__leaf-sub { flex-basis: 100%; font-size: 12.5px; line-height: 1.55; color: var(--text-muted); }

/* ---- 并列的那一支 ---- */
.tree__leaves--alt { padding-left: 16px; }
.tree__leaf--alt {
  padding: 12px 14px 12px 26px;
  margin-bottom: 8px;
  border: 1px solid rgba(255,248,240,0.16);
  border-radius: var(--radius-card-sm);
}
.tree__leaf--alt::before { left: -14px; }
.tree__leaf--alt::after { left: -14px; width: 14px; }
.tree__leaf--alt.is-core { background: var(--bg-elevated); border-color: rgba(255,248,240,.28); }
.tree__leaf--alt .tree__leaf-name {
  font-family: var(--font-display-cn);
  font-size: 16px; letter-spacing: var(--tracking-heading);
  color: var(--text-primary);
}

.tree__legend { margin: 14px 0 0; font-size: 11.5px; line-height: 1.7; color: var(--text-faint); }

/* 宽屏用横版 SVG 关系图，这张竖版收起，不重复 */
@media (min-width: 1025px) { .tree { display: none; } }

/* 体系图收尾区：和上面的产品清单断开 */
.sysmap-wrap { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.sysmap-wrap__h {
  margin: 0 0 18px;
  font-family: var(--font-display-cn);
  font-size: 19px; font-weight: 400;
  letter-spacing: var(--tracking-heading);
  color: var(--text-primary);
}

/* ==========================================================================
   产品架构矩阵 —— 替掉放射图
   --------------------------------------------------------------------------
   归属关系靠「在同一列里」表达，不靠连线。连线在深色底上永远太淡，
   而且线一多就追不出谁连谁 —— 这是原来那张放射图最大的毛病。
   ========================================================================== */

.mx { margin: 0; }
.mx__band-label {
  margin: 0 0 12px;
  font-size: 12.5px; line-height: 1.6;
  color: var(--text-faint);
}

/* 窄屏放不下四列就整体横滑。滑动只在这个容器内，整页不会横向溢出。 */
.mx__scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  padding-bottom: 4px;
}
.mx__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(158px, 1fr));
  gap: 10px;
  align-items: start;
}

.mx__col {
  border: 1px solid rgba(255,248,240,0.18);
  border-radius: var(--radius-card);
  background: var(--bg-elevated);
  overflow: hidden;
}
.mx__head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 13px 14px;
  background: var(--bg-elevated-2);
  border-bottom: 1px solid rgba(255,248,240,0.14);
}
.mx__head:hover { background: #25211C; }
.mx__head-t { display: flex; align-items: center; gap: 6px; min-width: 0; }
.mx__icon { color: var(--text-muted); font-size: 13px; }
.mx__head-name {
  font-family: var(--font-display-cn);
  font-size: 15.5px; letter-spacing: var(--tracking-heading);
  color: var(--text-primary);
}
.mx__head-n {
  flex: none; padding: 1px 6px;
  border: 1px solid var(--border); border-radius: 99px;
  font-size: 10.5px; color: var(--text-faint); white-space: nowrap;
}

.mx__body { padding: 8px; display: grid; gap: 6px; }
.mx__cell {
  display: grid; gap: 2px;
  padding: 10px 11px;
  border: 1px solid rgba(255,248,240,0.10);
  border-radius: 9px;
  background: rgba(255,248,240,0.02);
  transition: border-color .16s, background .16s;
}
a.mx__cell:hover { border-color: rgba(255,248,240,0.38); background: rgba(255,248,240,.055); }
.mx__cell-name { font-size: 13.5px; line-height: 1.45; color: var(--text-body); }
a.mx__cell:hover .mx__cell-name { color: var(--text-primary); }
.mx__cell-meta { font-size: 11.5px; color: var(--text-faint); }
.mx__cell.is-soon { border-style: dashed; }
.mx__cell.is-soon .mx__cell-name { color: var(--text-muted); }
.mx__cell--empty { border-style: dashed; font-size: 12px; }

.mx__swipe { margin: 10px 0 0; font-size: 12px; color: var(--text-faint); }

/* 并列的那一组：单独一条横带，物理上就不在四列之上或之下 */
.mx__alt { margin-top: 26px; padding-top: 20px; border-top: 1px dashed rgba(255,248,240,.16); }
.mx__alt-row { display: grid; gap: 10px; }
@media (min-width: 620px) { .mx__alt-row { grid-template-columns: 1fr 1fr; } }
.mx__alt-item {
  display: grid; gap: 3px;
  padding: 15px 16px;
  border: 1px solid rgba(255,248,240,0.18);
  border-radius: var(--radius-card);
  background: transparent;
  transition: border-color .16s, background .16s;
}
.mx__alt-item.is-core { background: var(--bg-elevated); border-color: rgba(255,248,240,.3); }
.mx__alt-item:hover { border-color: rgba(255,248,240,0.45); background: var(--bg-elevated-2); }
.mx__alt-name {
  font-family: var(--font-display-cn);
  font-size: 17px; letter-spacing: var(--tracking-heading);
  color: var(--text-primary);
}
.mx__alt-sub { font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.mx__alt-meta { margin-top: 2px; font-size: 13.5px; color: var(--text-primary); }

.mx__note { margin: 16px 0 0; font-size: 11.5px; line-height: 1.7; color: var(--text-faint); }

/* ==========================================================================
   矩阵手机策略：从四列横滑 → 方向分组纵向堆叠
   --------------------------------------------------------------------------
   横滑要求用户先发现"右边还有东西"，而四个方向里有两个在第一屏外，
   等于自媒体和 AI 被藏起来了。改成纵向分组，四个方向一眼全在。
   也不用 transform:scale 缩整张矩阵 —— 那样字会糊。
   ========================================================================== */
@media (max-width: 767px) {
  .mx--stack .mx__scroll {
    overflow-x: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
  .mx--stack .mx__cols {
    grid-template-columns: 1fr;   /* 四个方向依次往下排 */
    gap: 12px;
  }
  .mx--stack .mx__swipe { display: none; }   /* 不再需要滑动提示 */
  /* 分组里的产品横向铺开，省高度 */
  .mx--stack .mx__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  /* 平板：2×2，不硬撑四列 */
  .mx__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mx__scroll { overflow-x: visible; margin-inline: 0; padding-inline: 0; }
  .mx__swipe { display: none; }
}

/* ==========================================================================
   目录筛选区：需求 / 方向 / 交付形式 + 结果摘要
   --------------------------------------------------------------------------
   三组控件视觉上要分得开，否则读者不知道它们是三个独立维度。
   选中态不只变颜色，还要有填充，满足对比度和色盲可辨。
   ========================================================================== */

.flt { margin: 0 0 26px; }
.flt__label {
  margin: 0 0 10px;
  font-size: 13px; line-height: 1.6;
  color: var(--text-faint);
}
.flt__row { display: flex; flex-wrap: wrap; gap: 8px; }
.flt__needs { margin-bottom: 20px; }

/* 需求：虚线框，表示"可跳过的入口" */
.flt__need {
  min-height: 40px; padding: 8px 14px;
  font: inherit; font-size: 13.5px; line-height: 1.4;
  color: var(--text-muted);
  background: transparent;
  border: 1px dashed rgba(255,248,240,0.2);
  border-radius: 99px; cursor: pointer;
  transition: color .16s, border-color .16s, background .16s;
}
.flt__need:hover { color: var(--text-primary); border-color: rgba(255,248,240,.42); }
.flt__need[aria-pressed="true"] {
  color: var(--bg); background: var(--text-primary);
  border-style: solid; border-color: var(--text-primary); font-weight: 500;
}

/* 结果摘要 + 清除 */
.flt__sumrow {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.flt__sum { margin: 0; font-size: 14px; color: var(--text-body); }
.flt__clear {
  min-height: 36px; padding: 7px 14px;
  font: inherit; font-size: 13px; color: var(--text-muted);
  background: transparent; border: 1px solid rgba(255,248,240,.2);
  border-radius: 99px; cursor: pointer; white-space: nowrap;
}
.flt__clear:hover { color: var(--text-primary); border-color: rgba(255,248,240,.45); }
.flt__clear[hidden] { display: none; }

/* 空结果 */
.cat-empty { display: grid; gap: 14px; justify-items: start; padding: 26px 0; }
.cat-empty__t { margin: 0; font-size: 15px; color: var(--text-muted); }
.cat-empty:empty { display: none; padding: 0; }

/* 卡片补的两处 */
.rcard__cat { margin: 8px 0 0; font-size: 11.5px; color: var(--text-faint); }
.rcard__go {
  min-height: 36px; padding: 6px 14px;
  font: inherit; font-size: 13px; color: var(--text-muted);
  background: rgba(255,248,240,.04);
  border: 1px solid rgba(255,248,240,.16);
  border-radius: 99px; cursor: pointer; white-space: nowrap;
}
.rcard:hover .rcard__go, .rcard__go:hover { color: var(--text-primary); border-color: rgba(255,248,240,.42); }
.rcard { cursor: default; }
.rcard:hover { transform: none; }

/* 抽屉里的双交付 */
.sheet__oh { margin: 22px 0 10px; font-size: 13px; color: var(--text-faint); }
.sheet__offs { display: grid; gap: 10px; }
.sheet__off {
  padding: 14px 15px;
  border: 1px solid rgba(255,248,240,.16);
  border-radius: var(--radius-card-sm);
  background: rgba(255,248,240,.025);
}
.sheet__off-t { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sheet__off-n { font-size: 15px; color: var(--text-primary); }
.sheet__off-p { font-size: 14px; color: var(--text-body); white-space: nowrap; }
.sheet__off-l { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.sheet__off-l li { font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.sheet__off-go {
  display: inline-block; margin-top: 10px;
  font-size: 13.5px; color: var(--text-primary);
  border-bottom: 1px solid rgba(255,248,240,.3);
}
.sheet__off-no, .sheet__nolink { margin: 10px 0 0; font-size: 13px; color: var(--text-faint); }

/* 手机：抽屉接近全屏，底部动作不被安全区吃掉 */
@media (max-width: 859px) {
  .sheet__panel {
    max-height: 92dvh; max-height: 92vh;
    padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  }
  .flt__row { gap: 7px; }
  .flt__sumrow { flex-wrap: wrap; }
}

/* ── 2026-09-20 产品架构改版新增 ──────────────────────────────────
   .mx__cell-up   矩阵格里的升级来源（架构图上那条箭头的文字化）
   .mx__alt-incl  私享会/咨询格里的"自动含权益""任意支柱可单独约" */
.mx__cell-up {
  display: block; margin-top: 4px;
  font-size: 11.5px; line-height: 1.5;
  color: var(--text-faint);
}
.mx__alt-incl {
  display: block; margin-top: 6px;
  font-size: 12px; line-height: 1.55;
  color: var(--text-faint);
}

/* ==========================================================================
   2026-09-22 产品全景改版：关系图 + 展开标签
   四列常驻矩阵换成这一套。配色全用已有变量，没有新配色。
   ========================================================================== */
.mx--map { margin: 0; }

/* ---- 关系图：极光风（图-G），HTML 实现，东方大楷、真字号不缩放 ---- */
.aurora {
  position: relative;
  max-width: 900px;
  margin: 8px auto 34px;
  padding: 30px 20px;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
}
.aurora__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.aurora__blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.aurora__blob.b1 { width: 46%; height: 60%; left: 8%;  top: 4%;   background: radial-gradient(circle, #7c5cf0 0%, transparent 70%); }
.aurora__blob.b2 { width: 50%; height: 62%; right: 4%; bottom: 2%; background: radial-gradient(circle, #4cc2b0 0%, transparent 70%); opacity: .45; }
.aurora__blob.b3 { width: 40%; height: 50%; right: 12%; top: 2%;  background: radial-gradient(circle, #e0864c 0%, transparent 70%); opacity: .38; }

/* 不设 width/height:100%——容器 .aurora 只有 min-height、没有确定的 height，
   SVG 这种替换元素在这种情况下会退回按 viewBox 的正方形比例撑高，导致连线错位。
   只用 inset:0 让浏览器按父容器最终渲染出的真实尺寸铺满，宽高交给 js/aurora.js 按实际节点位置算。 */
.aurora__lines { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
/* stroke 实际由 js/aurora.js 按方向设成渐变（url(#...)），这里的纯色只是 JS 没跑起来时的兜底 */
.aurora__lines line { stroke: rgba(255,248,240,.22); stroke-width: 1.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }

.aurora__grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  align-items: center; justify-items: center;
  gap: 30px 40px;
  max-width: 760px; margin: 0 auto;
}
.a-tl { grid-area: 1 / 1; } .a-tr { grid-area: 1 / 3; }
.a-bl { grid-area: 2 / 1; } .a-br { grid-area: 2 / 3; }
.aurora__center { grid-area: 1 / 2 / 3 / 3; grid-column: 2; grid-row: 1 / 3; }

.aurora__node {
  display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 240px; min-height: 88px;
  padding: 20px 18px; text-align: center; text-decoration: none;
  border-radius: 18px;
  background: rgba(255,248,240,.06);
  border: 1px solid rgba(255,248,240,.28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: border-color .18s, background .18s, transform .18s;
}
.aurora__node:hover { background: rgba(255,248,240,.11); border-color: rgba(255,248,240,.5); transform: translateY(-2px); }
.aurora__node span {
  font-family: var(--font-display-cn);
  font-size: 25px; line-height: 1.3; color: #FFF8F0; letter-spacing: .01em;
}
.aurora__center {
  display: flex; align-items: center; justify-content: center;
  width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(255,248,240,.16), rgba(255,248,240,.03));
  border: 1px solid rgba(255,248,240,.5);
}
.aurora__center span {
  font-family: var(--font-display-cn);
  font-size: 24px; line-height: 1.35; color: #FFF8F0; text-align: center;
  padding: 0 16px;
}

@media (max-width: 680px) {
  .aurora { padding: 24px 14px; min-height: 0; }
  .aurora__lines { display: none; }
  .aurora__grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 14px; }
  .a-tl,.a-tr,.a-bl,.a-br,.aurora__center { grid-area: auto; grid-column: auto; grid-row: auto; }
  .aurora__center { order: -1; width: 160px; height: 160px; }
  .aurora__node { max-width: none; min-height: 0; padding: 18px; }
  .aurora__node span { font-size: 22px; }
  .aurora__center span { font-size: 21px; }
}

/* ---- 标签：复用 .btn-ghost，展开态填白区分 ---- */
.mxt {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px;
  max-width: 760px; margin: 0 auto;
}
.mxt__tab { cursor: pointer; }
.mxt__tab[aria-expanded="true"] {
  color: var(--bg);
  background: var(--accent);
  border-color: transparent;
  font-weight: 500;
}

/* ---- 展开面板：标签下方原地展开，同时只开一个 ---- */
.mxt__panel {
  max-width: 760px;
  margin: 16px auto 0;
  padding: 16px;
  border: 1px solid var(--border-card);
  border-radius: 14px;
  background: rgba(255,248,240,0.02);
}
.mxt__cells {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.mxt__more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px; color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .16s, border-color .16s;
}
.mxt__more:hover { color: var(--text-primary); border-bottom-color: var(--border-strong); }

@media (max-width: 560px) {
  .mxt__cells { grid-template-columns: 1fr; }  /* 窄屏面板一列 */
}

/* ==========================================================================
   2026-09-22 板块大栏目 · 栏目-A（大编号 + 左色条，去图标，名称走东方大楷放大）
   每块独占一行：编号 | 名称+问题 | 介绍 | 入口。编号极淡，只做节奏，不表顺序。
   ========================================================================== */
.mx--secs { margin-top: 30px; }
.mx__secs-title {
  margin: 0 0 22px; text-align: center;
  font-size: 15px; line-height: 1.6; color: var(--text-muted);
}
.secgrid { display: flex; flex-direction: column; gap: 14px; }

/* 分组标题：01 前一段「单点产品」、05 前一段「复合服务」。
   原来只在 04/05 之间放一行 13px 小字，太不显眼，改成两段清楚的大字标题。 */
.secgrid__group {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  padding-top: 18px; margin-top: 4px;
  border-top: 1px solid var(--border-card);
}
.secgrid__group:first-child { padding-top: 0; margin-top: 0; border-top: none; }
.secgrid__group-title {
  margin: 0;
  font-family: var(--font-display-cn);
  font-size: 20px; font-weight: 600; color: var(--text-primary);
}
.secgrid__group-sub { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-muted); }

@media (max-width: 760px) {
  .secgrid__group { flex-direction: column; gap: 4px; }
}

.secblock {
  display: grid;
  grid-template-columns: 66px minmax(190px, 250px) 1fr auto;
  align-items: center; column-gap: 28px;
  padding: 26px 32px 26px 22px;
  border: 1px solid var(--border-card);
  border-left: 3px solid #8a8a92;      /* 颜色由 JS 按方向覆盖 */
  border-radius: 16px;
  background: var(--bg-elevated);
  text-decoration: none;
  transition: border-color .18s, background .18s, transform .18s;
}
.secblock:hover { background: var(--bg-elevated-2); transform: translateY(-2px); }

.secblock__num {
  font-family: var(--font-heading);
  font-size: 40px; font-weight: 700; line-height: 1;
  color: rgba(255,248,240,.18);        /* 装饰用，但不能太淡看不清 */
  text-align: center; user-select: none;
}
.secblock__left { min-width: 0; }
.secblock__name {
  margin: 0;
  font-family: var(--font-display-cn);
  font-size: 26px; line-height: 1.3; color: var(--text-primary); font-weight: 600;
}
.secblock__problem { margin: 10px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--text-faint); }
.secblock__intro { margin: 0; font-size: 18px; line-height: 1.75; color: var(--text-body); }
.secblock__intro.is-pending { color: var(--text-faint); font-style: italic; }
.secblock__go { justify-self: end; white-space: nowrap; font-size: 16px; color: var(--text-muted); transition: color .18s, transform .18s; }
.secblock:hover .secblock__go { color: var(--text-primary); transform: translateX(3px); }

@media (max-width: 760px) {
  .secblock {
    grid-template-columns: 44px 1fr;
    grid-template-areas: "num name" "num intro" "num go";
    row-gap: 10px; column-gap: 16px;
    padding: 22px 20px 22px 16px;
  }
  .secblock__num { grid-area: num; align-self: start; font-size: 30px; }
  .secblock__left { grid-area: name; }
  .secblock__intro { grid-area: intro; }
  .secblock__go { grid-area: go; justify-self: start; }
  .secblock__name { font-size: 22px; }
}

/* ==========================================================================
   微信联系卡片（js/wechat.js）—— 首页「关于我」、私享会页、详情页「还不确定选哪个」
   ========================================================================== */
.wx-card { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin: 4px 0 6px; }
.wx-card__qr {
  width: 148px; height: 148px; flex: none;
  padding: 8px; background: #FFF8F0; border-radius: 12px;
}
.wx-card__side { display: grid; gap: 10px; justify-items: start; min-width: 0; }
.wx-card__id { margin: 0; display: flex; align-items: baseline; gap: 10px; font-size: 15px; color: var(--text-primary); }
.wx-card__id b { font-weight: 600; letter-spacing: 0.02em; }
.wx-card__k { font-size: 12px; color: var(--text-faint); }
.wx-card__tip { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--text-faint); }
.dt-contact .wx-card { margin-bottom: 8px; }

/* 样章真图（products.js 里 samples 写了 src）：不画斜纹占位，图片完整显示不裁切 */
.dt-sample__box.has-img, .dt-lb__box.has-img {
  display: block; padding: 0; overflow: hidden;
  background: var(--bg-elevated-2); background-image: none;
}
.dt-sample__box.has-img { max-height: 420px; }
.dt-lb__box.has-img { max-height: 82vh; }
.dt-sample__img { display: block; width: 100%; height: 100%; object-fit: contain; }
