.page-products {
  --pd-gap: clamp(18px, 3vw, 32px);
  --pd-rule: 2px solid var(--oy-sand);
  --pd-ink-soft: var(--oy-taupe);
  background: var(--oy-cream);
  color: var(--oy-ink);
}

/* ---------- 面包屑 ---------- */
.page-products .pd-crumb {
  padding-top: clamp(14px, 3vw, 26px);
}
.page-products .pd-crumb .oy-crumbs a {
  color: var(--oy-navy);
  text-decoration: none;
}
.page-products .pd-crumb .oy-crumbs a:hover {
  color: var(--oy-crimson);
}

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(26px, 5vw, 52px);
  border-bottom: 1px solid var(--oy-sand);
}
.page-products .pd-hero::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -14%;
  width: 78%;
  height: 158%;
  background: linear-gradient(152deg, rgba(15, 46, 76, 0.12), rgba(46, 107, 79, 0.05));
  transform: skewX(-9deg);
  pointer-events: none;
}
.page-products .pd-hero__inner {
  position: relative;
  display: grid;
  gap: clamp(20px, 4vw, 40px);
  padding-top: clamp(18px, 4vw, 42px);
}
.page-products .pd-hero__eyebrow {
  margin: 0 0 10px;
  font-family: var(--oy-mono);
  font-size: var(--oy-fs-1);
  letter-spacing: 0.14em;
  color: var(--oy-ochre);
}
.page-products .pd-hero__title {
  margin: 0 0 14px;
  font-family: var(--oy-serif);
  font-size: clamp(30px, 6.4vw, 54px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--oy-navy);
}
.page-products .pd-hero__lede {
  max-width: 34em;
  margin: 0 0 20px;
}
.page-products .pd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}
.page-products .pd-hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 0;
  margin: 0;
  padding: clamp(16px, 3vw, 24px);
  background: var(--oy-navy);
  color: var(--oy-cream);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), calc(100% - 44px) 100%, 0 100%);
  box-shadow: var(--oy-shadow);
}
.page-products .pd-fact {
  padding: 8px 12px;
  border-left: 2px solid rgba(244, 237, 225, 0.18);
}
.page-products .pd-fact dt {
  margin: 0 0 4px;
  font-family: var(--oy-mono);
  font-size: var(--oy-fs-1);
  letter-spacing: 0.06em;
  color: var(--oy-green-soft);
}
.page-products .pd-fact dd {
  margin: 0;
  font-family: var(--oy-mono);
  font-size: var(--oy-fs-4);
  font-weight: 700;
  color: var(--oy-cream);
  font-variant-numeric: tabular-nums;
}

/* ---------- 章节通用 ---------- */
.page-products .pd-section {
  padding: clamp(34px, 7vw, 70px) 0;
}
.page-products .pd-section + .pd-section {
  border-top: 1px solid var(--oy-sand);
}
.page-products .pd-sechead {
  max-width: 60ch;
  margin-bottom: clamp(20px, 4vw, 34px);
}
.page-products .pd-sechead .oy-h2,
.page-products .pd-verify__main .oy-h2 {
  margin: 0.15em 0 0.5em;
}
.page-products .pd-sechead__lede {
  max-width: 34em;
  margin: 0;
}

/* ---------- 01 安装前确认 ---------- */
.page-products .pd-head {
  display: grid;
  gap: clamp(20px, 4vw, 34px);
  margin-bottom: clamp(22px, 4vw, 38px);
}
.page-products .pd-head__text {
  max-width: 60ch;
}
.page-products .pd-head__text .oy-h2 {
  margin: 0.15em 0 0.5em;
}
.page-products .pd-shot .oy-figure__frame {
  aspect-ratio: 9 / 16;
  max-height: 420px;
}
.page-products .pd-shot img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.03);
}

.page-products .pd-steps {
  display: grid;
  gap: 20px;
}
.page-products .pd-step {
  position: relative;
  background: var(--oy-cream);
  border-top: var(--pd-rule);
  padding-top: 16px;
  transition: transform 0.18s var(--oy-ease);
}
.page-products .pd-step__text {
  margin: 0 0 14px;
  font-size: var(--oy-fs-2);
  line-height: 1.7;
  color: var(--oy-taupe);
}
.page-products .pd-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--oy-sand);
  background: var(--oy-cream-deep);
  cursor: pointer;
}
.page-products .pd-check__input {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  appearance: none;
  border: 2px solid var(--oy-navy);
  background: var(--oy-cream);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
}
.page-products .pd-check__input:checked {
  background: var(--oy-green);
  border-color: var(--oy-green);
}
.page-products .pd-check__input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  width: 4px;
  height: 9px;
  border-right: 2px solid var(--oy-cream);
  border-bottom: 2px solid var(--oy-cream);
  transform: rotate(40deg);
}
.page-products .pd-check__input:focus-visible {
  outline: 2px solid var(--oy-orange);
  outline-offset: 2px;
}
.page-products .pd-check__label {
  font-size: var(--oy-fs-2);
  line-height: 1.55;
}

/* ---------- 02 表格与证据框 ---------- */
.page-products .pd-tablewrap {
  overflow-x: auto;
  border: 1px solid var(--oy-sand);
  background: var(--oy-cream);
  box-shadow: var(--oy-shadow);
}
.page-products .pd-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: var(--oy-fs-2);
}
.page-products .pd-table caption {
  padding: 12px 14px;
  text-align: left;
  font-family: var(--oy-mono);
  font-size: var(--oy-fs-1);
  color: var(--oy-taupe);
  border-bottom: 1px solid var(--oy-sand);
}
.page-products .pd-table th,
.page-products .pd-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
  border-bottom: 1px solid var(--oy-sand);
}
.page-products .pd-table thead th {
  font-family: var(--oy-sans);
  font-size: var(--oy-fs-1);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--oy-navy);
  background: var(--oy-cream-deep);
  border-bottom: 2px solid var(--oy-ochre);
}
.page-products .pd-table tbody th {
  font-family: var(--oy-mono);
  font-weight: 700;
  color: var(--oy-navy);
  white-space: nowrap;
}
.page-products .pd-table tbody tr:last-child th,
.page-products .pd-table tbody tr:last-child td {
  border-bottom: 0;
}
.page-products .pd-table .oy-num {
  font-family: var(--oy-mono);
  font-variant-numeric: tabular-nums;
}
.page-products .pd-table td.oy-num {
  color: var(--oy-navy-deep);
  font-weight: 700;
}

.page-products .pd-evidence {
  margin-top: clamp(18px, 3vw, 28px);
  background: var(--oy-cream-deep);
}
.page-products .pd-evidence__list {
  margin: 0;
  padding-left: 1.15em;
  font-size: var(--oy-fs-2);
  line-height: 1.75;
}
.page-products .pd-evidence__list li + li {
  margin-top: 6px;
}

/* ---------- 03 版本演进 ---------- */
.page-products .pd-versionchart {
  margin: 0 0 clamp(18px, 3vw, 28px);
}
.page-products .pd-versionchart .oy-figure__frame {
  aspect-ratio: 16 / 9;
}
.page-products .pd-versionchart img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.04);
}
.page-products .pd-table--versions tbody th {
  width: 84px;
}
.page-products .pd-table--versions tbody tr.is-current > * {
  background: rgba(46, 107, 79, 0.14);
}
.page-products .pd-table--versions tbody tr.is-current > th:first-child {
  box-shadow: inset 3px 0 0 var(--oy-orange);
  color: var(--oy-navy-deep);
}
.page-products .pd-details summary {
  display: inline-block;
  padding-bottom: 2px;
  font-family: var(--oy-mono);
  font-size: var(--oy-fs-1);
  color: var(--oy-navy);
  border-bottom: 1px dashed var(--oy-sand);
  cursor: pointer;
  list-style: none;
}
.page-products .pd-details summary::-webkit-details-marker {
  display: none;
}
.page-products .pd-details summary::before {
  content: "＋ ";
  color: var(--oy-ochre);
}
.page-products .pd-details[open] summary::before {
  content: "－ ";
}
.page-products .pd-details summary:focus-visible {
  outline: 2px solid var(--oy-navy);
  outline-offset: 2px;
}
.page-products .pd-details ul {
  margin: 10px 0 0;
  padding-left: 1.1em;
  font-size: var(--oy-fs-2);
  line-height: 1.75;
}

/* ---------- 04 四个数据模块 ---------- */
.page-products .pd-mods {
  display: grid;
  gap: clamp(16px, 3vw, 24px);
}
.page-products .pd-mods__figure {
  margin: 0;
}
.page-products .pd-mods__figure .oy-figure__frame {
  aspect-ratio: 5 / 7;
}
.page-products .pd-mods__figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  filter: saturate(0.55) contrast(1.06) brightness(0.96);
}

.page-products .pd-module {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s var(--oy-ease);
}
.page-products .pd-module:hover,
.page-products .pd-module:focus-within {
  transform: translateY(-3px);
}
.page-products .pd-module__text {
  margin: 0;
  font-size: var(--oy-fs-2);
  line-height: 1.7;
}
.page-products .pd-module__figure {
  margin: 4px 0 0;
}
.page-products .pd-module__figure .oy-figure__frame {
  aspect-ratio: 3 / 2;
}
.page-products .pd-module__figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  filter: saturate(0.45) contrast(1.08);
}
.page-products .pd-module__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--oy-sand);
}
.page-products .pd-module__stats > div {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.page-products .pd-module__stats dt {
  font-family: var(--oy-mono);
  font-size: var(--oy-fs-1);
  color: var(--oy-taupe);
}
.page-products .pd-module__stats dd {
  margin: 0;
  font-family: var(--oy-mono);
  font-size: var(--oy-fs-2);
  font-weight: 700;
  color: var(--oy-green);
  font-variant-numeric: tabular-nums;
}
.page-products .pd-module__pop {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  font-family: var(--oy-mono);
  font-size: var(--oy-fs-1);
  line-height: 1.5;
  color: var(--oy-cream);
  background: var(--oy-navy);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.16s var(--oy-ease), transform 0.16s var(--oy-ease), visibility 0.16s;
}
.page-products .pd-module:hover .pd-module__pop,
.page-products .pd-module:focus-within .pd-module__pop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.page-products .pd-module__link {
  margin-top: auto;
  align-self: flex-start;
  padding-bottom: 2px;
  font-family: var(--oy-mono);
  font-size: var(--oy-fs-1);
  color: var(--oy-crimson);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.page-products .pd-module__link:hover {
  color: var(--oy-navy);
}
.page-products .pd-module__link:focus-visible {
  outline: 2px solid var(--oy-navy);
  outline-offset: 3px;
}

/* ---------- 05 校验 ---------- */
.page-products .pd-verify {
  display: grid;
  gap: clamp(20px, 4vw, 34px);
  align-items: start;
}
.page-products .pd-verify__main .oy-prose {
  max-width: 34em;
}
.page-products .pd-verify__steps {
  margin: 16px 0;
  padding-left: 1.2em;
  font-size: var(--oy-fs-2);
  line-height: 1.75;
}
.page-products .pd-verify__steps li + li {
  margin-top: 10px;
}
.page-products .pd-verify__side {
  background: var(--oy-navy);
  color: var(--oy-cream);
}
.page-products .pd-verify__side .oy-panel__eyebrow {
  color: var(--oy-green-soft);
}
.page-products .pd-verify__side .oy-panel__title {
  color: var(--oy-cream);
}
.page-products .pd-verify__hash {
  margin: 6px 0 12px;
  font-family: var(--oy-mono);
  font-size: var(--oy-fs-4);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--oy-cream);
  border-bottom: 2px solid var(--oy-ochre);
  padding-bottom: 8px;
}
.page-products .pd-verify__hashnote {
  margin: 0 0 10px;
  font-size: var(--oy-fs-1);
  line-height: 1.7;
  color: rgba(244, 237, 225, 0.82);
}

/* ---------- 06 排查 ---------- */
.page-products .pd-trouble {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: clamp(18px, 3vw, 26px);
}
.page-products .pd-trouble .oy-h3 {
  margin: 0 0 6px;
}
.page-products .pd-trouble p {
  margin: 0;
  max-width: 52ch;
  font-size: var(--oy-fs-2);
  line-height: 1.75;
  color: var(--oy-taupe);
}
.page-products .pd-trouble__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: clamp(22px, 4vw, 32px) 0 0;
}

/* ---------- 收束带 ---------- */
.page-products .pd-outro {
  position: relative;
  overflow: hidden;
  margin-top: clamp(30px, 6vw, 60px);
  background: var(--oy-navy-deep);
  color: var(--oy-cream);
}
.page-products .pd-outro__band {
  position: absolute;
  inset: 0;
  opacity: 0.24;
}
.page-products .pd-outro__band img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  filter: saturate(0.35) contrast(1.05);
}
.page-products .pd-outro__inner {
  position: relative;
  padding-top: clamp(32px, 6vw, 64px);
  padding-bottom: clamp(32px, 6vw, 64px);
}
.page-products .pd-outro__title {
  margin: 0 0 12px;
  color: var(--oy-cream);
}
.page-products .pd-outro__lede {
  max-width: 34em;
  margin: 0;
  color: rgba(244, 237, 225, 0.86);
}
.page-products .pd-outro__links {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page-products .pd-outro__links a {
  display: inline-block;
  padding-bottom: 2px;
  font-family: var(--oy-mono);
  font-size: var(--oy-fs-2);
  color: var(--oy-cream);
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 237, 225, 0.35);
}
.page-products .pd-outro__links a:hover {
  border-bottom-color: var(--oy-orange);
}
.page-products .pd-outro__links a:focus-visible {
  outline: 2px solid var(--oy-cream);
  outline-offset: 3px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 768px) {
  .page-products .pd-outro__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
  }
  .page-products .pd-module__stats {
    gap: 6px 22px;
  }
}

@media (min-width: 900px) {
  .page-products .pd-steps {
    position: relative;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 34px);
    align-items: start;
  }
  .page-products .pd-steps::before,
  .page-products .pd-steps::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--oy-sand);
  }
  .page-products .pd-steps::before {
    left: calc(33.333% - 1px);
  }
  .page-products .pd-steps::after {
    left: calc(66.666% - 1px);
  }
  .page-products .pd-step:nth-child(2) {
    transform: translateY(16px);
  }
  .page-products .pd-step:nth-child(3) {
    transform: translateY(32px);
  }
  .page-products .pd-mods {
    grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr);
    align-items: start;
  }
  .page-products .pd-mods__figure {
    grid-row: span 2;
    position: sticky;
    top: 96px;
  }
}

@media (min-width: 960px) {
  .page-products .pd-hero__inner {
    grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr);
    align-items: end;
    column-gap: clamp(28px, 4vw, 48px);
  }
  .page-products .pd-verify {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    column-gap: clamp(28px, 4vw, 48px);
  }
}

@media (min-width: 1024px) {
  .page-products .pd-head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    column-gap: clamp(24px, 4vw, 48px);
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products *,
  .page-products *::before,
  .page-products *::after {
    transition: none !important;
    animation: none !important;
  }
  .page-products .pd-step:nth-child(2),
  .page-products .pd-step:nth-child(3) {
    transform: none;
  }
}
