.page-products {
  --p-cut: 16px;
  --p-cut-sm: 12px;
  --p-card-bg: #131C46;
  --p-panel-line: #2A3668;
  display: block;
  padding-bottom: 88px;
}

/* ---------- 面包屑 ---------- */
.page-products .crumbs {
  margin: 26px 0 24px;
}

/* ---------- 首屏双端拼贴 ---------- */
.page-products .phero {
  display: grid;
  gap: 26px;
}

.page-products .phero__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--mute);
}

.page-products .phero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(33px, 8vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--hi);
}

.page-products .phero__lede {
  margin: 0;
  max-width: 40em;
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.78;
  color: rgba(233, 236, 255, 0.88);
}

.page-products .phero__stage {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  align-items: end;
}

@media (min-width: 840px) {
  .page-products .phero__stage {
    grid-template-columns: minmax(0, 1.7fr) minmax(190px, 0.82fr);
    gap: 18px;
  }
}

/* ---------- 图片容器（全页通用） ---------- */
.page-products .fig {
  margin: 0;
  background: var(--p-card-bg);
  border: 1px solid var(--p-panel-line);
  overflow: hidden;
  position: relative;
  clip-path: polygon(
    var(--p-cut) 0,
    100% 0,
    100% calc(100% - var(--p-cut)),
    calc(100% - var(--p-cut)) 100%,
    0 100%,
    0 var(--p-cut)
  );
}

.page-products .fig img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-products .fig figcaption {
  padding: 11px 15px;
  border-top: 1px solid var(--p-panel-line);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--mute);
}

@media (min-width: 840px) {
  .page-products .fig--wide img {
    aspect-ratio: 16 / 10;
  }
  .page-products .fig--tall img {
    aspect-ratio: 9 / 15;
    object-position: top center;
  }
}

.page-products .fig--mid {
  margin: 24px 0 20px;
  max-width: 640px;
}

/* ---------- 章节 ---------- */
.page-products .chapters {
  display: grid;
  gap: 54px;
  margin-top: 70px;
}

.page-products .chapter {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .page-products .chapter {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 30px 34px;
    align-items: start;
  }
}

.page-products .chapter__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 6.4vw, 62px);
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--p-panel-line);
}

@supports not (-webkit-text-stroke: 1px black) {
  .page-products .chapter__num {
    color: var(--p-panel-line);
  }
}

.page-products .chapter__kicker {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-products .chapter__title {
  margin: 0 0 16px;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: clamp(23px, 3.1vw, 32px);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--hi);
}

.page-products .chapter__body > p {
  margin: 0 0 16px;
  max-width: 40em;
  font-size: 17px;
  line-height: 1.78;
  color: rgba(233, 236, 255, 0.86);
}

.page-products .chapter__body > p:last-child {
  margin-bottom: 0;
}

.page-products .chapter__body a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(63, 227, 210, 0.42);
  padding-bottom: 1px;
}

.page-products .chapter__body a:hover,
.page-products .chapter__body a:focus-visible {
  border-bottom-color: var(--cyan);
}

/* ---------- 场景卡片 ---------- */
.page-products .scenes {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .page-products .scenes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-products .scene {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 20px 18px 22px;
  background: var(--p-card-bg);
  border: 1px solid var(--p-panel-line);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--p-cut-sm)),
    calc(100% - var(--p-cut-sm)) 100%,
    0 100%
  );
}

.page-products .scene__num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.page-products .scene__title {
  margin: 0;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.42;
  color: var(--hi);
}

.page-products .scene__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--mute);
}

/* ---------- 对照表 ---------- */
.page-products .table-wrap {
  margin: 8px 0 22px;
  overflow-x: auto;
  background: var(--p-card-bg);
  border: 1px solid var(--p-panel-line);
  clip-path: polygon(
    var(--p-cut) 0,
    100% 0,
    100% 100%,
    0 100%,
    0 var(--p-cut)
  );
  -webkit-overflow-scrolling: touch;
}

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

.page-products .table__caption {
  caption-side: top;
  padding: 16px 18px 0;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mute);
}

.page-products .table th,
.page-products .table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--p-panel-line);
  vertical-align: top;
}

.page-products .table thead th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(63, 227, 210, 0.05);
  white-space: nowrap;
}

.page-products .table tbody th {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 15px;
  color: var(--hi);
  white-space: nowrap;
}

.page-products .table tbody td {
  color: var(--mute);
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.02em;
}

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

/* ---------- 指标 ---------- */
.page-products .metrics {
  list-style: none;
  margin: 10px 0 22px;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 800px) {
  .page-products .metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-products .metric {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px 16px 20px;
  background: linear-gradient(165deg, #16204F 0%, #0E1738 100%);
  border: 1px solid var(--p-panel-line);
  border-top: 2px solid var(--amber);
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    0 100%,
    0 var(--p-cut-sm)
  );
}

.page-products .metric__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--amber);
}

.page-products .metric__lab {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--mute);
}

/* ---------- 收束通道 ---------- */
.page-products .lanes {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-top: 26px;
}

@media (min-width: 760px) {
  .page-products .lanes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.page-products .lane {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px 20px 24px;
  background: var(--p-card-bg);
  border: 1px solid var(--p-panel-line);
  text-decoration: none;
  clip-path: polygon(
    0 0,
    calc(100% - var(--p-cut-sm)) 0,
    100% var(--p-cut-sm),
    100% 100%,
    0 100%
  );
  transition: border-color 200ms ease, transform 200ms ease;
}

.page-products .lane--accent {
  border-color: rgba(63, 227, 210, 0.45);
  background: linear-gradient(155deg, #16244F 0%, #0E1738 100%);
}

.page-products .lane:hover,
.page-products .lane:focus-visible {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.page-products .lane__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.page-products .lane__title {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.45;
  color: var(--hi);
}

.page-products .lane__go {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

/* ---------- 窄屏保护 ---------- */
@media (max-width: 420px) {
  .page-products .metrics {
    grid-template-columns: 1fr;
  }

  .page-products .fig--mid {
    max-width: 100%;
  }

  .page-products .table {
    min-width: 560px;
  }
}

/* ---------- 动效增强（无 JS 时内容完整可读） ---------- */
.page-products .scene,
.page-products .metric,
.page-products .fig[data-reveal] {
  opacity: 1;
}

.page-products.has-js .scene[data-reveal],
.page-products.has-js .metric[data-reveal],
.page-products.has-js .fig[data-reveal] {
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 360ms ease, transform 360ms ease;
}

.page-products.has-js .scene.is-in,
.page-products.has-js .metric.is-in,
.page-products.has-js .fig.is-in {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .page-products.has-js .scene[data-reveal],
  .page-products.has-js .metric[data-reveal],
  .page-products.has-js .fig[data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-products .lane {
    transition: none;
  }
}
