.page-products {
  background: var(--ink);
  color: var(--warm);
  overflow-x: clip;
}

.page-products [id] {
  scroll-margin-top: 96px;
}

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

.page-products a {
  color: var(--gold-lt);
}

.page-products .crumbs {
  padding: clamp(16px, 3vw, 24px) 0 0;
}

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  position: relative;
  padding: clamp(22px, 4vw, 40px) 0 clamp(34px, 6vw, 70px);
  background:
    radial-gradient(120% 90% at 90% 0%, rgba(201, 162, 75, 0.12), transparent 62%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}

.page-products .pd-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--line) 0 1px,
    transparent 1px 14px
  );
  opacity: 0.9;
  pointer-events: none;
}

.page-products .pd-hero__inner {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

.page-products .pd-hero__copy .eyebrow {
  margin-bottom: 14px;
}

.page-products .pd-hero__copy .lede {
  margin-top: 16px;
  max-width: 56ch;
  color: var(--silver);
}

.page-products .pd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 30px);
}

.page-products .pd-hero__figure {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--gold-dim);
  background: linear-gradient(160deg, var(--iron), var(--char));
}

.page-products .pd-hero__figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-products .pd-hero__figure::before,
.page-products .pd-hero__figure::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid var(--gold);
  pointer-events: none;
}

.page-products .pd-hero__figure::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.page-products .pd-hero__figure::after {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
}

.page-products .media-frame__caption {
  display: block;
  padding: 10px 2px 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--silver);
  line-height: 1.7;
}

/* ---------- 首屏数据条 ---------- */
.page-products .pd-stats {
  list-style: none;
  margin: clamp(28px, 5vw, 46px) 0 0;
  padding: 1px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.page-products .pd-stats li {
  background: var(--ink-2);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-products .pd-stats__num {
  font-family: var(--f-num);
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.page-products .pd-stats__k {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--silver);
  line-height: 1.6;
}

/* ---------- 章节骨架 ---------- */
.page-products .pd-sec {
  padding: clamp(38px, 6vw, 76px) 0;
  border-top: 1px solid var(--line-soft);
}

.page-products .pd-head {
  margin-bottom: clamp(22px, 4vw, 34px);
  max-width: 66ch;
}

.page-products .pd-head .eyebrow {
  margin-bottom: 12px;
}

.page-products .pd-head .lede {
  margin-top: 12px;
  color: var(--silver);
  max-width: 60ch;
}

.page-products .pd-head--split {
  max-width: none;
}

.page-products .pd-note {
  margin-top: 18px;
  padding-left: 14px;
  border-left: 2px solid var(--gold-dim);
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--silver);
}

/* ---------- 三条路径 ---------- */
.page-products .pd-paths {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(14px, 2.4vw, 20px);
}

.page-products .pd-paths__item {
  position: relative;
  padding: clamp(20px, 3vw, 28px);
  background: var(--iron);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--gold-dim);
}

.page-products .pd-paths__item p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--silver);
}

.page-products .pd-paths__num {
  display: block;
  font-family: var(--f-num);
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 12px;
}

.page-products .pd-paths__item .h-md {
  color: var(--warm);
  font-size: clamp(18px, 2.2vw, 22px);
}

.page-products .pd-paths__pick {
  display: inline-block;
  margin-top: 16px;
  padding: 5px 10px;
  border: 1px solid var(--gold-dim);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold-lt);
  background: rgba(201, 162, 75, 0.08);
}

/* ---------- 宽窄分栏 ---------- */
.page-products .pd-split {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
}

.page-products .pd-split__main {
  min-width: 0;
}

/* ---------- 对照表 ---------- */
.page-products .pd-tablewrap {
  max-height: 560px;
  overflow: auto;
  border: 1px solid var(--line-soft);
  background: var(--iron);
  -webkit-overflow-scrolling: touch;
}

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

.page-products .pd-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--char);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--gold-dim);
  white-space: nowrap;
}

.page-products .pd-table tbody th {
  text-align: left;
  padding: 15px 16px;
  color: var(--warm);
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid var(--line-soft);
  background: var(--iron);
}

.page-products .pd-table td {
  padding: 15px 16px;
  color: var(--silver);
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.page-products .pd-table tbody tr:nth-child(even) td,
.page-products .pd-table tbody tr:nth-child(even) th {
  background: var(--ink-2);
}

.page-products .pd-table tbody tr:hover td,
.page-products .pd-table tbody tr:hover th {
  background: var(--char);
  color: var(--warm);
}

/* ---------- 侧栏 ---------- */
.page-products .pd-figure {
  margin: 0 0 16px;
  border: 1px solid var(--line-soft);
  padding: 8px;
  background: var(--iron);
}

.page-products .pd-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.page-products .pd-sidepanel {
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--cinnabar);
  padding: 18px 18px 20px;
  background: var(--ink-2);
}

.page-products .pd-sidepanel__title {
  font-family: var(--f-display);
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--warm);
  margin: 0 0 12px;
}

.page-products .pd-tick {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .pd-tick li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--silver);
}

.page-products .pd-tick li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* ---------- 季度归档 ---------- */
.page-products .pd-archive {
  display: grid;
  gap: clamp(20px, 3.4vw, 34px);
}

.page-products .pd-archive__figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-soft);
  padding: 8px;
  background: linear-gradient(180deg, var(--iron), var(--ink-2));
}

.page-products .pd-archive__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-products .pd-archive__badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  margin: 0;
  padding: 8px 12px;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--warm);
  background: rgba(11, 12, 14, 0.86);
  border: 1px solid var(--cinnabar);
}

.page-products .pd-archive__badge span {
  font-family: var(--f-num);
  font-size: 24px;
  line-height: 1;
  color: var(--gold);
}

.page-products .pd-archive__list {
  min-width: 0;
}

.page-products .pd-fold {
  border: 1px solid var(--line-soft);
  background: var(--iron);
}

.page-products .pd-fold + .pd-fold {
  margin-top: 8px;
}

.page-products .pd-fold__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.page-products .pd-fold__head::-webkit-details-marker {
  display: none;
}

.page-products .pd-fold__head::after {
  content: "+";
  margin-left: auto;
  font-family: var(--f-num);
  font-size: 20px;
  line-height: 1;
  color: var(--gold);
}

.page-products .pd-fold[open] .pd-fold__head::after {
  content: "–";
}

.page-products .pd-fold[open] .pd-fold__head {
  border-bottom: 1px solid var(--line-soft);
  background: var(--char);
}

.page-products .pd-fold__title {
  font-size: 15px;
  color: var(--warm);
  letter-spacing: 0.02em;
}

.page-products .pd-fold__meta {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--silver);
}

.page-products .pd-fold__body {
  padding: 16px 16px 18px;
}

.page-products .pd-fold__head:focus-visible {
  outline: 2px solid var(--gold-lt);
  outline-offset: -2px;
}

/* ---------- 差异清单 ---------- */
.page-products .pd-scenes {
  display: grid;
  gap: clamp(14px, 2.4vw, 22px);
}

.page-products .pd-scene {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line-soft);
  background: var(--iron);
}

.page-products .pd-scene--gold {
  border-top: 2px solid var(--gold);
}

.page-products .pd-scene--silver {
  border-top: 2px solid var(--silver);
}

.page-products .pd-scene__title {
  font-family: var(--f-display);
  font-size: clamp(17px, 2vw, 20px);
  letter-spacing: 0.01em;
  color: var(--warm);
  margin: 0 0 16px;
}

.page-products .pd-wide {
  margin: clamp(24px, 4vw, 38px) 0 0;
  border: 1px solid var(--line-soft);
  padding: 8px;
  background: var(--ink-2);
}

.page-products .pd-wide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- 路径卡片 ---------- */
.page-products .pd-steps {
  display: grid;
  gap: 10px;
}

.page-products .pd-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--warm);
  border: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(201, 162, 75, 0.1), transparent 62%);
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease);
}

.page-products .pd-step:hover,
.page-products .pd-step:focus-visible {
  border-color: var(--gold);
  transform: translateX(3px);
}

.page-products .pd-step:focus-visible {
  outline: 2px solid var(--gold-lt);
  outline-offset: 2px;
}

.page-products .pd-step__num {
  font-family: var(--f-num);
  font-size: 24px;
  line-height: 1.1;
  color: var(--gold);
  flex: 0 0 auto;
}

.page-products .pd-step__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.page-products .pd-step__body strong {
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--warm);
}

.page-products .pd-step__body span {
  font-size: 13px;
  line-height: 1.75;
  color: var(--silver);
}

/* ---------- 收束 ---------- */
.page-products .pd-closing {
  margin-top: clamp(28px, 4.4vw, 44px);
  display: grid;
  gap: clamp(16px, 3vw, 28px);
  border: 1px solid var(--line-soft);
  background: linear-gradient(140deg, var(--char), var(--red-deep) 190%);
  padding: 8px;
}

.page-products .pd-closing__figure {
  margin: 0;
}

.page-products .pd-closing__figure img {
  width: 100%;
  aspect-ratio: 11 / 7;
  object-fit: cover;
}

.page-products .pd-closing__copy {
  padding: 14px 14px 18px;
}

.page-products .pd-closing__copy p {
  margin: 12px 0 18px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--silver);
  max-width: 48ch;
}

.page-products .pd-closing__copy .h-md {
  color: var(--warm);
  font-size: clamp(18px, 2.2vw, 22px);
}

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

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

@media (min-width: 860px) {
  .page-products .pd-paths {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .page-products .pd-paths__item:nth-child(2) {
    margin-top: 34px;
  }

  .page-products .pd-paths__item:nth-child(3) {
    margin-top: 68px;
  }

  .page-products .pd-scenes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .page-products .pd-head--split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(20px, 4vw, 48px);
    align-items: end;
  }

  .page-products .pd-head--split .lede {
    margin-top: 0;
  }

  .page-products .pd-closing {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: center;
    padding: 8px 8px 8px 0;
  }

  .page-products .pd-closing__copy {
    padding: 10px 8px 10px 0;
  }
}

@media (min-width: 980px) {
  .page-products .pd-hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: end;
  }

  .page-products .pd-split {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }

  .page-products .pd-archive {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 1180px) {
  .page-products .pd-split {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pd-step {
    transition: none;
  }

  .page-products .pd-step:hover,
  .page-products .pd-step:focus-visible {
    transform: none;
  }
}
