.page-products {
  --pg-gap: clamp(56px, 8vw, 104px);
  --pg-hair: 1px solid var(--line);
  padding-bottom: clamp(48px, 7vw, 96px);
  overflow-x: clip;
}

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

.page-products .breadcrumb {
  margin-top: 22px;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}

.page-products .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

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

/* ---------- 首屏 ---------- */

.page-products .page-head {
  padding-top: clamp(28px, 5vw, 52px);
  padding-bottom: clamp(40px, 6vw, 76px);
  border-bottom: var(--pg-hair);
}

.page-products .page-head h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 6.4vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 16px 0 0;
  max-width: 15em;
}

.page-products .page-head .lead {
  max-width: 58ch;
  margin: 24px 0 0;
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.82;
  color: var(--muted);
}

.page-products .head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-products .head-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(34px, 5vw, 58px) 0 0;
  padding: 1px;
  background: var(--line);
  border: var(--pg-hair);
}

.page-products .head-stats > div {
  background: var(--ink);
  padding: 18px 18px 22px;
}

.page-products .head-stats dt {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted);
}

.page-products .head-stats dd {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 600;
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

/* ---------- 通用区块 ---------- */

.page-products section {
  padding-top: var(--pg-gap);
}

.page-products .sec-head {
  max-width: 66ch;
}

.page-products .sec-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.4vw, 50px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.005em;
  color: var(--paper);
  margin: 14px 0 0;
}

.page-products .prose {
  max-width: 62ch;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.88;
  color: var(--muted);
}

/* ---------- 能力清单 ---------- */

.page-products .cap-list {
  list-style: none;
  margin: clamp(32px, 5vw, 56px) 0 0;
  padding: 1px;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: var(--pg-hair);
}

.page-products .cap-item {
  background: var(--ink);
  padding: 26px 22px 30px;
  display: flex;
  flex-direction: column;
  transition: background .22s var(--ease);
}

.page-products .cap-item:hover,
.page-products .cap-item:focus-within {
  background: var(--panel);
}

.page-products .cap-item:focus-visible {
  outline: 1px solid var(--cyan);
  outline-offset: -1px;
}

.page-products .cap-item__no {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--orange);
}

.page-products .cap-item__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--paper);
}

.page-products .cap-item__desc {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.82;
  color: var(--paper);
  opacity: .86;
}

.page-products .cap-item__more {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  opacity: .7;
  transition: opacity .22s var(--ease), color .22s var(--ease);
}

.page-products .cap-item:hover .cap-item__more,
.page-products .cap-item:focus-within .cap-item__more {
  opacity: 1;
  color: var(--cyan);
}

/* ---------- 对照表 ---------- */

.page-products .cmp-fig {
  margin: clamp(28px, 4vw, 48px) 0 0;
  border: var(--pg-hair);
  background: var(--panel);
  overflow: hidden;
}

.page-products .table-scroll {
  margin-top: clamp(26px, 4vw, 40px);
  border: var(--pg-hair);
  background: var(--panel);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-products .table-scroll:focus-visible {
  outline: 1px solid var(--cyan);
  outline-offset: 2px;
}

.page-products .cmp-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .cmp-table caption {
  caption-side: top;
  text-align: left;
  padding: 14px 16px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
  border-bottom: var(--pg-hair);
}

.page-products .cmp-table th,
.page-products .cmp-table td {
  padding: 14px 16px;
  text-align: left;
  white-space: nowrap;
  border-bottom: var(--pg-hair);
}

.page-products .cmp-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--paper);
}

.page-products .cmp-table thead th:nth-child(2) {
  color: var(--cyan);
  box-shadow: inset 0 2px 0 var(--cyan);
}

.page-products .cmp-table thead th:nth-child(3) {
  color: var(--orange);
  box-shadow: inset 0 2px 0 var(--orange);
}

.page-products .cmp-table thead th:nth-child(4) {
  color: var(--moss);
  box-shadow: inset 0 2px 0 var(--moss);
}

.page-products .cmp-table thead th:nth-child(5) {
  color: var(--clay);
  box-shadow: inset 0 2px 0 var(--clay);
}

.page-products .cmp-table tbody th {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--panel);
  font-weight: 500;
  color: var(--muted);
}

.page-products .cmp-table tbody td {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}

.page-products .cmp-table tbody tr:hover td,
.page-products .cmp-table tbody tr:hover th {
  background: rgba(36, 224, 210, .06);
}

.page-products .cmp-points {
  list-style: none;
  margin: clamp(26px, 4vw, 40px) 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.page-products .cmp-points li {
  border-left: 2px solid var(--cyan);
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.82;
  color: var(--muted);
}

.page-products .cmp-points strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
}

/* ---------- 左右错位排布 ---------- */

.page-products .split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.page-products .split__fig {
  margin: 0;
  border: var(--pg-hair);
  background: var(--panel);
  overflow: hidden;
}

.page-products .split__fig--tall {
  max-width: 360px;
}

.page-products .check-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.82;
  color: var(--muted);
}

.page-products .check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 8px;
  height: 8px;
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}

/* ---------- 轮次订阅 ---------- */

.page-products .sub-track {
  list-style: none;
  margin: clamp(32px, 5vw, 52px) 0 0;
  padding: 1px;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: var(--pg-hair);
}

.page-products .sub-track li {
  position: relative;
  background: var(--ink);
  padding: 30px 22px 34px;
}

.page-products .sub-track li::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--magenta));
  opacity: .85;
}

.page-products .sub-track__no {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--orange);
}

.page-products .sub-track h3 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: .01em;
}

.page-products .sub-track p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 版本快照 ---------- */

.page-products .snap-fig {
  margin: clamp(28px, 4vw, 46px) 0 0;
  border: var(--pg-hair);
  background: var(--panel);
  overflow: hidden;
}

.page-products .diff-list {
  list-style: none;
  margin: clamp(24px, 4vw, 36px) 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: var(--pg-hair);
}

.page-products .diff-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: baseline;
  background: var(--ink);
  padding: 18px 20px;
  position: relative;
}

.page-products .diff-list li.is-changed {
  background: var(--panel);
  box-shadow: inset 3px 0 0 var(--orange);
}

.page-products .diff-list__ver {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
}

.page-products .diff-list__label {
  font-size: 14px;
  color: var(--paper);
}

.page-products .diff-list__note {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.page-products .snap-more {
  margin: 22px 0 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.page-products .snap-more a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(36, 224, 210, .4);
  transition: border-color .18s var(--ease);
}

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

/* ---------- 适用场景 ---------- */

.page-products .scene-fig {
  margin: clamp(28px, 4vw, 46px) 0 0;
  border: var(--pg-hair);
  overflow: hidden;
}

.page-products .scene-grid {
  display: grid;
  gap: 1px;
  margin-top: 1px;
  padding: 1px;
  background: var(--line);
  border: var(--pg-hair);
  border-top: none;
}

.page-products .scene-card {
  background: var(--ink);
  padding: 26px 22px 32px;
}

.page-products .scene-card h3 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--paper);
  letter-spacing: .01em;
}

.page-products .scene-card p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 三步流程 ---------- */

.page-products .step-rail {
  list-style: none;
  margin: clamp(32px, 5vw, 52px) 0 0;
  padding: 1px;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: var(--pg-hair);
}

.page-products .step-rail__item {
  position: relative;
  background: var(--ink);
  padding: 30px 22px 34px;
  transition: background .22s var(--ease);
}

.page-products .step-rail__item::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--line);
  transition: background .22s var(--ease);
}

.page-products .step-rail__item:hover::after,
.page-products .step-rail__item:target::after {
  background: var(--cyan);
}

.page-products .step-rail__item:target {
  background: var(--panel);
}

.page-products .step-rail__no {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  transition: color .22s var(--ease);
}

.page-products .step-rail__item:hover .step-rail__no,
.page-products .step-rail__item:target .step-rail__no {
  color: var(--cyan);
}

.page-products .step-rail__item h3 {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: .01em;
}

.page-products .step-rail__item p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 收尾 ---------- */

.page-products .next-box {
  position: relative;
  overflow: hidden;
  border: var(--pg-hair);
  background: var(--panel);
  padding: clamp(28px, 5vw, 56px);
}

.page-products .next-box::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 45%;
  background: radial-gradient(circle at 100% 0, rgba(36, 224, 210, .16), transparent 68%);
  pointer-events: none;
}

.page-products .next-box > * {
  position: relative;
}

.page-products .next-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- 断点 ---------- */

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

  .page-products .cmp-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .diff-list li {
    grid-template-columns: 140px 1fr auto;
  }
}

@media (min-width: 900px) {
  .page-products .sub-track,
  .page-products .step-rail,
  .page-products .scene-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .page-products .split {
    grid-template-columns: 1.05fr .95fr;
  }

  .page-products .split--reverse {
    grid-template-columns: .8fr 1.2fr;
  }
}

@media (max-width: 480px) {
  .page-products .head-stats {
    grid-template-columns: 1fr;
  }

  .page-products .split__fig--tall {
    max-width: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-products .cap-item,
  .page-products .cap-item__more,
  .page-products .step-rail__item,
  .page-products .step-rail__item::after,
  .page-products .step-rail__no {
    transition: none;
  }
}
