/* ============================================================================
   动了吗（/movepaw）专属样式

   分工与大肥鱼的 dshfish.css 一致：
     · 能复用的组件都在 site.css / product.css 里（.xhero / .facts / .grid-2 /
       .grid-3 / .steps / .faq / .dl-* / .callout / .shot），这里**不重写**；
     · 只写这个产品独有的、或需要按本产品尺寸微调的那几样。

   ⚠️ 三个产品各一份样式表，重复的那几十行是**故意的冗余** ——
      共用一份会让「改小星连带改大肥鱼」。这条在大肥鱼方案 §7.1 已经论证过。
   ============================================================================ */

/* ── 1. 子导航标记：一枚猫爪 ─────────────────────────────────────────────
   14×14 的纯 CSS 图形：一个掌垫 + 四个趾垫。
   · 掌垫用 ::before（一个椭圆）
   · 趾垫用 ::after（一个小圆）+ 三个 box-shadow 副本 —— 14px 下再拆伪元素
     就放不下了，box-shadow 是这里唯一能画够四个点的办法。

   ⚠️ 不用图片：14px 的图不值得一次请求（与大肥鱼的小鱼同一个理由）。
   ⚠️ 形状**不属于内容**，所以 subnav 里那个 span 是 aria-hidden。 */
.subnav__mark--paw { position: relative; }

/* 掌垫：偏下、略扁的一个椭圆 */
.subnav__mark--paw::before {
  content: ""; position: absolute;
  left: 3.5px; top: 7.5px; width: 7px; height: 4.5px;
  border-radius: 50%;
  background: var(--c-primary);
}

/* 趾垫：一个圆 + 三个副本，排成上方的弧（外两点略低、内两点略高） */
.subnav__mark--paw::after {
  content: ""; position: absolute;
  left: 1.5px; top: 4.5px; width: 2.4px; height: 2.4px;
  border-radius: 50%;
  background: var(--c-primary);
  box-shadow:
    2.8px -2px 0 0 var(--c-primary),
    5.6px -2px 0 0 var(--c-primary),
    8.4px  0   0 0 var(--c-primary);
}

/* ── 2. 首屏右侧：真实提醒卡片截图 ────────────────────────────────────────
   ⚠️ product.css 里 .xhero__art 位于 `grid-template-columns: 1fr auto` 的 auto 列，
      默认按内容原始尺寸撑开 —— 那里只放过 176px 的图标。这里换成 560px 宽的
      截图，不限定宽度就会把左侧文字挤扁。
   ⚠️ 这张图是**真实截图**，不是渲染图。给它投影是为了让它在 --c-hero-bg 上
      有「浮起来」的层次，不然一张白底 PNG 贴上去像没贴好。 */
.xhero__art--shot { width: min(480px, 42vw); }
.xhero__art--shot img {
  display: block; width: 100%; height: auto;
  border-radius: var(--r-md);
  box-shadow: 0 18px 44px rgba(16, 24, 40, .14), 0 2px 6px rgba(16, 24, 40, .06);
}

/* ── 3. 教程配图 ──────────────────────────────────────────────────────────
   product.css 的 .shot img 是按手机竖图定的（max-width: 270px）。
   动了吗的四张图尺寸差别很大（522×892 到 720×494）：
   · 统一 270 会把选课页压成噪点；
   · 统一 100% 会把竖长的设置窗拉到 620px 宽、1060px 高。
   所以分两档：默认给横图一个较宽的上限，竖图用 .shot--tall 压窄。 */
.shot img { max-width: min(100%, 620px); }
.shot--tall img { max-width: 340px; }

/* ── 4. 对比表（功能页的免费版 / 完整版）────────────────────────────────── */
.cmp { width: 100%; border-collapse: collapse; margin: var(--s-5) 0; font-size: 15px; }
.cmp th, .cmp td { text-align: left; padding: var(--s-3); border-bottom: 1px solid var(--c-border); }
.cmp thead th { font-size: 14px; color: var(--c-text-sub); font-weight: 600; }
.cmp tbody th { font-weight: 600; color: var(--c-text); }
.cmp td { color: var(--c-text-sub); }
.cmp td strong { color: var(--c-text); }
/* 375px 下三列挤得下，只是要收一收内边距 */
@media (max-width: 480px) {
  .cmp { font-size: 13px; }
  .cmp th, .cmp td { padding: var(--s-2); }
}

/* ── 5. 勾选清单（价格页两档的权益列表）────────────────────────────────── */
.check-list {
  list-style: none; margin: var(--s-4) 0; padding: 0;
  display: grid; gap: var(--s-3);
}
.check-list li { position: relative; padding-left: 1.6em; line-height: 1.75; color: var(--c-text-sub); }
.check-list li strong { color: var(--c-text); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--c-primary-strong); font-weight: 700;   /* 白底 6.03:1 ✅ */
}

/* ── 6. 价格卡 ──────────────────────────────────────────────────────────── */
.price-card { display: flex; flex-direction: column; }
.price-card__name { font-size: 18px; margin-bottom: var(--s-2); }
.price-card__amount {
  margin: 0 0 var(--s-5); display: flex; align-items: baseline; gap: var(--s-2);
}
.price-card__amount span {
  font-size: 40px; font-weight: 700; line-height: 1;
  color: var(--c-primary-strong);   /* 白底 6.03:1 ✅ */
}
.price-card__amount small { font-size: 14px; color: var(--c-text-sub); }
/* 按钮永远贴底：两档的权益条数不同，不这么做两个按钮会一高一低 */
.price-card__action { margin-top: auto; padding-top: var(--s-4); }
.price-card__action .btn { width: 100%; }

/* ── 7. 教程里的自检框 ────────────────────────────────────────────────────
   它回答的是「我怎么知道这一步成功了」。教程页每节末尾一个。 */
.self-check {
  margin: var(--s-5) 0 0; padding: var(--s-4);
  background: var(--c-bg-soft);
  border-left: 3px solid var(--c-primary);
  border-radius: var(--r-sm);
}
.self-check strong {
  display: block; font-size: 14px; margin-bottom: var(--s-1);
  color: var(--c-primary-strong);   /* 浅底 6.03:1 以上 ✅ */
}
.self-check p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--c-text-sub); }

/* ── 8. 教程小节编号 ────────────────────────────────────────────────────── */
.guide-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; margin-right: var(--s-2);
  border-radius: 50%;
  background: var(--c-primary-soft); color: var(--c-primary-strong);   /* 5.35:1 ✅ */
  font-size: 15px; font-weight: 700; vertical-align: middle;
}

/* ── 9. 下载页的备用通道块 ────────────────────────────────────────────────
   没有配 mirrors 时整块不渲染（页面里用可选块包着）。 */
.dl-mirror { margin-top: var(--s-4); }
.dl-mirror h3 { margin-bottom: var(--s-2); }
.dl-mirror p {
  margin: 0 0 var(--s-3); font-size: 14px; line-height: 1.7;
  color: var(--c-text-sub);   /* 白底 5.85:1 ✅ */
}
.dl-mirror code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px; font-weight: 600; color: var(--c-text);
  background: var(--c-bg-soft); padding: 1px var(--s-2); border-radius: var(--r-sm);
}

/* ── 10. 更新日志表（教程页）────────────────────────────────────────────── */
.dl-history-table { width: 100%; border-collapse: collapse; margin-top: var(--s-4); font-size: 14px; }
.dl-history-table th, .dl-history-table td {
  text-align: left; padding: var(--s-2) var(--s-3);
  border-bottom: 1px solid var(--c-border);
}
.dl-history-table th { color: var(--c-text-sub); font-weight: 600; }
