.page-products {
  --pp-hair: 1px solid var(--c-line);
  --pp-gap: clamp(52px, 7vw, 108px);
  --pp-card-pad: clamp(20px, 2.6vw, 32px);
}

.page-products .apps-body {
  display: grid;
  gap: var(--pp-gap);
  min-width: 0;
}

/* ---------- 左侧工具轴补充 ---------- */
.page-products .rail-title {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-slate);
}

.page-products .rail-note {
  margin-top: 26px;
  padding-top: 18px;
  border-top: var(--pp-hair);
}

.page-products .rail-note-num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1;
  color: var(--c-lime);
}

.page-products .rail-note-txt {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-slate);
}

/* ---------- 首屏 ---------- */
.page-products .apps-hero {
  padding-top: clamp(20px, 3vw, 48px);
}

.page-products .hero-title {
  margin: 12px 0 0;
  max-width: 20ch;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.08;
  color: var(--c-white);
}

.page-products .hero-lede {
  margin: 20px 0 0;
  max-width: 62ch;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.8;
  color: var(--c-cream);
}

.page-products .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: clamp(28px, 4vw, 48px);
}

.page-products .hero-card {
  padding: var(--pp-card-pad);
}

.page-products .hero-card--main {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(280px, 34vw, 380px);
  overflow: hidden;
  padding: 0;
}

.page-products .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.5) contrast(1.15);
}

.page-products .hero-card--main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 12, 0.3) 0%, rgba(10, 14, 12, 0.94) 82%);
}

.page-products .hero-card-body {
  position: relative;
  z-index: 1;
  padding: var(--pp-card-pad);
  display: grid;
  gap: 12px;
  justify-items: start;
}

.page-products .hero-card-body h2,
.page-products .hero-card--side h2 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--c-white);
}

.page-products .hero-card-body p,
.page-products .hero-card--side p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-cream);
  max-width: 46ch;
}

.page-products .hero-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 6px;
}

.page-products .hero-stat .stat-value {
  font-family: var(--font-mono);
  font-size: clamp(52px, 7vw, 84px);
  line-height: 0.9;
  color: var(--c-lime);
  letter-spacing: -0.04em;
}

.page-products .stat-unit {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--c-slate);
}

/* ---------- 章节头补强 ---------- */
.page-products .section-head .lede {
  max-width: 60ch;
}

.page-products .filter-bar {
  margin-top: 24px;
}

.page-products .filter-count {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-slate);
}

.page-products .filter-count b {
  font-family: var(--font-mono);
  color: var(--c-lime);
}

/* ---------- 工具网格 ---------- */
.page-products .tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 26px;
}

.page-products .tool-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--pp-card-pad);
}

.page-products .tool-no {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--c-amber);
}

.page-products .tool-card h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--c-white);
}

.page-products .tool-scene {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-slate);
}

.page-products .tool-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-products .tool-list li {
  position: relative;
  margin: 0;
  padding: 12px 0 12px 18px;
  border-top: var(--pp-hair);
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-cream);
}

.page-products .tool-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 9px;
  height: 1px;
  background: var(--c-lime);
}

/* ---------- 工具详情分栏 ---------- */
.page-products .tool-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 52px);
}

.page-products .tool-aside {
  align-self: start;
}

.page-products .tool-aside h2 {
  margin: 8px 0 12px;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.15;
  color: var(--c-white);
}

.page-products .aside-tags {
  margin: 0 0 12px;
}

.page-products .aside-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-slate);
}

.page-products .tool-main {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.page-products .tool-kicker {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-amber);
}

.page-products .tool-main p {
  margin: 0;
  max-width: 66ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-cream);
}

/* ---------- 筛选组合 ---------- */
.page-products .combo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--pp-hair);
}

.page-products .combo-list li {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-bottom: var(--pp-hair);
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-slate);
}

.page-products .combo-key {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--c-lime);
}

/* ---------- 折线图 ---------- */
.page-products .viz-frame {
  margin: 0;
  padding: 20px 16px 12px;
  border: var(--pp-hair);
  background: linear-gradient(150deg, var(--c-deep), var(--c-ink));
}

.page-products .viz {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .viz-grid line {
  stroke: var(--c-line);
  stroke-width: 1;
}

.page-products .viz-bars rect {
  fill: var(--c-turf);
}

.page-products .viz-line {
  fill: none;
  stroke: var(--c-lime);
  stroke-width: 2;
  stroke-linejoin: round;
}

.page-products .viz-dot {
  fill: var(--c-cinnabar);
}

.page-products .viz-axis text {
  fill: var(--c-slate);
  font-family: var(--font-mono);
  font-size: 12px;
  text-anchor: middle;
}

.page-products .viz-frame figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-slate);
}

/* ---------- 指标块 ---------- */
.page-products .metric-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--c-line);
  border: var(--pp-hair);
}

.page-products .metric {
  display: grid;
  gap: 8px;
  padding: 18px 16px;
  background: var(--c-ink);
}

.page-products .metric-num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1;
  color: var(--c-lime);
  letter-spacing: -0.03em;
}

.page-products .metric-label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-slate);
}

/* ---------- 图片框 ---------- */
.page-products .media-frame img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .alert-media {
  max-width: 360px;
}

/* ---------- 提醒标签 ---------- */
.page-products .alert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- 字段表 ---------- */
.page-products .table-scroll {
  overflow-x: auto;
  border: var(--pp-hair);
}

.page-products .field-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.page-products .field-table th {
  padding: 14px;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-slate);
  border-bottom: var(--pp-hair);
  white-space: nowrap;
}

.page-products .field-table td {
  padding: 15px 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-cream);
  border-bottom: var(--pp-hair);
  vertical-align: top;
}

.page-products .field-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .field-table td:first-child {
  color: var(--c-white);
  font-weight: 600;
}

.page-products .export-note {
  margin: 0;
  padding-left: 16px;
  border-left: 2px solid var(--c-amber);
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-cream);
}

/* ---------- 战术板 ---------- */
.page-products .pitch-wrap {
  display: grid;
  gap: 16px;
}

.page-products .pitch {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  border: var(--pp-hair);
  background-color: var(--c-deep);
  background-image:
    repeating-linear-gradient(180deg, rgba(201, 242, 77, 0.05) 0 9%, transparent 9% 18%),
    linear-gradient(160deg, var(--c-turf), var(--c-deep));
}

.page-products .pitch::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(201, 242, 77, 0.22);
}

.page-products .pitch::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(201, 242, 77, 0.22);
  border-radius: 50%;
}

.page-products .pm {
  position: absolute;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: rgba(10, 14, 12, 0.86);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-cream);
}

.page-products .pm.is-change {
  border-color: var(--c-cinnabar);
  color: var(--c-cinnabar);
  box-shadow: 0 0 0 3px rgba(226, 75, 60, 0.16);
}

.page-products .pm-1 { left: 50%; top: 92%; }
.page-products .pm-2 { left: 16%; top: 74%; }
.page-products .pm-3 { left: 38%; top: 79%; }
.page-products .pm-4 { left: 62%; top: 79%; }
.page-products .pm-5 { left: 84%; top: 74%; }
.page-products .pm-6 { left: 28%; top: 54%; }
.page-products .pm-7 { left: 50%; top: 58%; }
.page-products .pm-8 { left: 72%; top: 54%; }
.page-products .pm-9 { left: 20%; top: 28%; }
.page-products .pm-10 { left: 50%; top: 20%; }
.page-products .pm-11 { left: 80%; top: 28%; }

.page-products .pitch-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--c-slate);
}

.page-products .pitch-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-products .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
}

.page-products .dot-change {
  border-color: var(--c-cinnabar);
  background: rgba(226, 75, 60, 0.3);
}

/* ---------- 版本与步骤 ---------- */
.page-products .version-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  border-top: var(--pp-hair);
}

.page-products .version-row {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: var(--pp-hair);
}

.page-products .version-no {
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1.3;
  color: var(--c-amber);
}

.page-products .version-txt {
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-cream);
}

.page-products .steps {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--c-line);
  border: var(--pp-hair);
}

.page-products .step {
  display: grid;
  gap: 8px;
  padding: 20px 18px;
  background: var(--c-ink);
}

.page-products .step-no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--c-lime);
}

.page-products .step h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--c-white);
}

.page-products .step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-slate);
}

/* ---------- 收尾 ---------- */
.page-products .cta-section {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(40px, 6vw, 96px);
}

.page-products .cta-band {
  display: grid;
  gap: 24px;
  padding: clamp(26px, 3.6vw, 48px);
  border: var(--pp-hair);
  background: linear-gradient(120deg, var(--c-deep) 0%, var(--c-ink) 62%);
}

.page-products .cta-text h2 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.15;
  color: var(--c-white);
}

.page-products .cta-text p {
  margin: 14px 0 0;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-cream);
}

.page-products .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
}

.page-products .related {
  border-top: var(--pp-hair);
  padding-top: 26px;
}

.page-products .related-title {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-slate);
}

.page-products .related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--c-line);
}

.page-products .related-list li {
  display: grid;
  gap: 6px;
  padding: 16px 4px;
  background: var(--c-ink);
}

.page-products .related-list a {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--c-lime);
  text-decoration: none;
}

.page-products .related-list span {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-slate);
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-products .metric-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products .related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products .cta-band {
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .page-products .hero-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    gap: 20px;
  }

  .page-products .hero-card--main {
    grid-column: span 8;
  }

  .page-products .hero-card--side {
    grid-column: span 4;
    margin-top: 24px;
  }

  .page-products .tool-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
  }

  .page-products .tool-card--w7 {
    grid-column: span 7;
  }

  .page-products .tool-card--w5 {
    grid-column: span 5;
  }

  .page-products .tool-card--drop {
    margin-top: 20px;
  }

  .page-products .tool-split {
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  }

  .page-products .tool-split--flip .tool-aside {
    order: 2;
  }

  .page-products .tool-split--flip .tool-main {
    order: 1;
  }

  .page-products .tool-aside {
    position: sticky;
    top: calc(var(--hdr-h-condensed) + 28px);
  }

  .page-products .combo-list li {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    align-items: baseline;
    gap: 20px;
  }

  .page-products .alert-tags {
    justify-content: flex-start;
  }

  .page-products .steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-products .related-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .version-row {
    grid-template-columns: 92px 1fr;
    align-items: baseline;
  }
}

@media (min-width: 1100px) {
  .page-products .tool-split--flip {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
  }

  .page-products .pitch {
    max-width: 460px;
  }
}
