.page-products {
  background: var(--ink-deep);
  color: var(--text);
}

.page-products .pd-crumb {
  padding-top: 18px;
}

.page-products .breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

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

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

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  padding-block: clamp(22px, 4vw, 40px) clamp(34px, 5vw, 60px);
  border-bottom: 1px solid var(--blueprint);
  background:
    linear-gradient(180deg, rgba(44, 64, 72, 0.28) 0%, rgba(7, 19, 16, 0) 42%),
    var(--ink-deep);
}

.page-products .pd-hero__grid {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  grid-template-columns: minmax(0, 1fr);
}

.page-products .pd-hero__lead .lede {
  margin-top: 16px;
  max-width: 40ch;
  color: var(--text);
}

.page-products .pd-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 26px 0 0;
  background: var(--blueprint);
  border: 1px solid var(--blueprint);
}

.page-products .pd-facts > div {
  background: var(--ink-deep);
  padding: 12px 14px 13px;
}

.page-products .pd-facts dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.page-products .pd-facts dd {
  margin: 7px 0 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}

/* 下载卡 */
.page-products .pd-dl {
  position: relative;
  background: var(--charcoal);
  border: 1px solid var(--blueprint);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  overflow: hidden;
}

.page-products .pd-dl::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  background: linear-gradient(225deg, var(--ink-deep) 0 50%, transparent 50%);
  pointer-events: none;
}

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

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

.page-products .pd-dl__body {
  padding: 18px 18px 22px;
}

.page-products .pd-dl__ver {
  margin: 10px 0 4px;
  font-family: var(--font-mono);
  font-size: clamp(30px, 5vw, 40px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--signal);
}

.page-products .pd-dl__sub {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-products .pd-dl__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  border-top: 1px solid var(--blueprint);
}

.page-products .pd-dl__list li {
  padding: 10px 0 10px 14px;
  border-bottom: 1px solid var(--blueprint);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
  position: relative;
}

.page-products .pd-dl__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 1px;
  background: var(--signal-dim);
}

.page-products .pd-dl__actions {
  margin-top: 18px;
}

/* ---------- 场景切换 ---------- */
.page-products .pd-scenes {
  padding-block: clamp(36px, 6vw, 64px);
}

.page-products .pd-lede {
  margin-top: 14px;
  max-width: 44ch;
  color: var(--mist);
}

.page-products .pd-switch {
  margin-top: clamp(22px, 3vw, 30px);
  position: relative;
}

.page-products .pd-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-products .pd-switch__bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.page-products .pd-switch__tab {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 14px 14px;
  background: var(--charcoal);
  border: 1px solid var(--blueprint);
  color: var(--mist);
  cursor: pointer;
  transition: background var(--ease), color var(--ease), transform var(--ease), border-color var(--ease);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 0 100%);
}

.page-products .pd-switch__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--signal-dim);
  transition: color var(--ease);
}

.page-products .pd-switch__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: inherit;
}

.page-products .pd-switch__hint {
  font-size: 12px;
  color: var(--mist);
  transition: color var(--ease);
}

.page-products .pd-switch__tab:hover {
  border-color: var(--signal-dim);
  color: var(--text);
}

.page-products #pd-s-dev:checked ~ .pd-switch__bar .pd-switch__tab[for="pd-s-dev"],
.page-products #pd-s-net:checked ~ .pd-switch__bar .pd-switch__tab[for="pd-s-net"],
.page-products #pd-s-acc:checked ~ .pd-switch__bar .pd-switch__tab[for="pd-s-acc"] {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--text-on-paper);
  transform: translateY(-4px);
}

.page-products #pd-s-dev:checked ~ .pd-switch__bar .pd-switch__tab[for="pd-s-dev"] .pd-switch__num,
.page-products #pd-s-net:checked ~ .pd-switch__bar .pd-switch__tab[for="pd-s-net"] .pd-switch__num,
.page-products #pd-s-acc:checked ~ .pd-switch__bar .pd-switch__tab[for="pd-s-acc"] .pd-switch__num,
.page-products #pd-s-dev:checked ~ .pd-switch__bar .pd-switch__tab[for="pd-s-dev"] .pd-switch__hint,
.page-products #pd-s-net:checked ~ .pd-switch__bar .pd-switch__tab[for="pd-s-net"] .pd-switch__hint,
.page-products #pd-s-acc:checked ~ .pd-switch__bar .pd-switch__tab[for="pd-s-acc"] .pd-switch__hint {
  color: rgba(26, 33, 30, 0.72);
}

.page-products #pd-s-dev:focus-visible ~ .pd-switch__bar .pd-switch__tab[for="pd-s-dev"],
.page-products #pd-s-net:focus-visible ~ .pd-switch__bar .pd-switch__tab[for="pd-s-net"],
.page-products #pd-s-acc:focus-visible ~ .pd-switch__bar .pd-switch__tab[for="pd-s-acc"] {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* 面板 */
.page-products .pd-pane {
  display: none;
  gap: clamp(14px, 2vw, 20px);
  margin-top: 26px;
}

.page-products #pd-s-dev:checked ~ .pd-panes .pd-pane--dev,
.page-products #pd-s-net:checked ~ .pd-panes .pd-pane--net,
.page-products #pd-s-acc:checked ~ .pd-panes .pd-pane--acc {
  display: grid;
}

.page-products .pd-pane__intro {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--blueprint);
}

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

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

.page-products .pd-pane__intro p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
}

.page-products .pd-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--mist);
}

.page-products .pd-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  font-size: 13px;
  color: var(--mist);
}

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

/* 分组卡片 */
.page-products .pd-group {
  background: var(--charcoal);
  border: 1px solid var(--blueprint);
  padding: 15px 16px 10px;
  transition: border-color var(--ease);
}

.page-products .pd-group:hover {
  border-color: var(--signal-dim);
}

.page-products .pd-group > h4 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--blueprint);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}

.page-products .pd-group > h4 span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-products .pd-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .pd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--blueprint);
  font-size: 14px;
}

.page-products .pd-row:last-child {
  border-bottom: 0;
}

.page-products .pd-row__name {
  line-height: 1.6;
  color: var(--text);
  min-width: 0;
  word-break: break-word;
}

.page-products .pd-list--tall .pd-row {
  align-items: flex-start;
}

.page-products .pd-list--tall .tag {
  flex-shrink: 0;
  margin-top: 2px;
}

.page-products .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* 网络自查项 */
.page-products .pd-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.page-products .pd-steps li {
  display: flex;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--blueprint);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.page-products .pd-steps li:last-child {
  border-bottom: 0;
}

.page-products .pd-steps__num {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--signal);
  padding-top: 3px;
}

.page-products .pd-steps b {
  font-weight: 700;
  color: var(--text);
}

/* ---------- 历史资料库（纸面） ---------- */
.page-products .pd-legacy {
  background: var(--paper);
  color: var(--text-on-paper);
  padding-block: clamp(34px, 5vw, 58px);
  position: relative;
}

.page-products .pd-legacy::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(26, 33, 30, 0.16) 0 1px,
    transparent 1px 4px
  );
}

.page-products .pd-legacy .wrap {
  position: relative;
}

.page-products .pd-sec-label--paper {
  color: rgba(26, 33, 30, 0.6);
}

.page-products .pd-legacy__h {
  color: var(--text-on-paper);
}

.page-products .pd-legacy__lede {
  max-width: 46ch;
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(26, 33, 30, 0.82);
}

.page-products .pd-legacy__intro {
  display: grid;
  gap: 20px;
  margin-top: 26px;
  align-items: start;
}

.page-products .pd-legacy__figure {
  margin: 0;
  border: 1px solid var(--paper-dim);
  background: rgba(255, 255, 255, 0.35);
}

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

.page-products .pd-finder {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--paper-dim);
  border: 1px solid var(--paper-dim);
}

.page-products .pd-finder li {
  background: var(--paper);
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(26, 33, 30, 0.86);
}

.page-products .pd-finder__key {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-on-paper);
  margin-bottom: 4px;
}

.page-products .pd-arch {
  margin-top: 30px;
  border-top: 1px solid var(--paper-dim);
}

.page-products .pd-arch__item {
  display: grid;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--paper-dim);
}

.page-products .pd-arch__ver {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-on-paper);
}

.page-products .pd-arch__body {
  margin: 0;
  display: grid;
  gap: 8px;
}

.page-products .pd-arch__body > div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.page-products .pd-arch__body dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(26, 33, 30, 0.58);
}

.page-products .pd-arch__body dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-on-paper);
}

.page-products .pd-legacy__foot {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(26, 33, 30, 0.78);
}

.page-products .pd-legacy__foot a {
  color: var(--text-on-paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 33, 30, 0.45);
  transition: border-color var(--ease), color var(--ease);
}

.page-products .pd-legacy__foot a:hover,
.page-products .pd-legacy__foot a:focus-visible {
  border-bottom-color: var(--text-on-paper);
}

/* ---------- 检查表 ---------- */
.page-products .pd-checklist {
  padding-block: clamp(36px, 6vw, 66px);
  background: var(--charcoal);
  border-top: 1px solid var(--blueprint);
}

.page-products .pd-check {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  max-width: 760px;
}

.page-products .pd-check li {
  position: relative;
  padding: 0 0 26px 44px;
}

.page-products .pd-check li::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 30px;
  bottom: 0;
  width: 1px;
  background: var(--blueprint);
  transition: background var(--ease);
}

.page-products .pd-check li:last-child {
  padding-bottom: 0;
}

.page-products .pd-check li:last-child::after {
  display: none;
}

.page-products .pd-check__box {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.page-products .pd-check label {
  display: block;
  position: relative;
  cursor: pointer;
}

.page-products .pd-check label::before {
  content: "";
  position: absolute;
  left: -44px;
  top: 1px;
  width: 23px;
  height: 23px;
  border: 1px solid var(--blueprint);
  background: var(--ink-deep);
  transition: background var(--ease), border-color var(--ease);
}

.page-products .pd-check label::after {
  content: "";
  position: absolute;
  left: -35px;
  top: 6px;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--text-on-paper);
  border-bottom: 2px solid var(--text-on-paper);
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform 120ms ease;
}

.page-products .pd-check__box:checked + label::before {
  background: var(--signal);
  border-color: var(--signal);
}

.page-products .pd-check__box:checked + label::after {
  transform: rotate(45deg) scale(1);
}

.page-products .pd-check__box:focus-visible + label::before {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.page-products .pd-check li:has(.pd-check__box:checked)::after {
  background: var(--signal-dim);
}

.page-products .pd-check__title {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}

.page-products .pd-check__desc {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

.page-products .pd-check__desc em {
  display: block;
  margin-top: 5px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--signal-dim);
}

.page-products .pd-tail {
  margin-top: clamp(28px, 4vw, 42px);
  padding-top: 20px;
  border-top: 1px solid var(--blueprint);
  max-width: 760px;
}

.page-products .pd-tail p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
}

.page-products .pd-tail p a {
  color: var(--signal);
  text-decoration: none;
  border-bottom: 1px solid var(--signal-dim);
  transition: border-color var(--ease);
}

.page-products .pd-tail p a:hover,
.page-products .pd-tail p a:focus-visible {
  border-bottom-color: var(--signal);
}

.page-products .pd-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--blueprint);
}

.page-products .pd-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}

.page-products .pd-links a:hover,
.page-products .pd-links a:focus-visible {
  color: var(--signal);
  border-bottom-color: var(--signal-dim);
}

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

  .page-products .pd-arch__ver {
    writing-mode: vertical-rl;
    letter-spacing: 0.16em;
    padding-top: 2px;
  }
}

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

  .page-products .pd-pane__intro {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
  }

  .page-products .pd-legacy__intro {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: stretch;
  }
}

@media (min-width: 960px) {
  .page-products .pd-hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: start;
  }

  .page-products .pd-switch__tab {
    padding: 16px 20px 17px;
  }

  .page-products .pd-switch__name {
    font-size: 19px;
  }

  .page-products .pd-check__title {
    font-size: 18px;
  }
}

@media (max-width: 420px) {
  .page-products .pd-switch__tab {
    padding: 11px 10px 12px;
  }

  .page-products .pd-switch__name {
    font-size: 15px;
  }

  .page-products .pd-switch__hint {
    font-size: 11px;
  }

  .page-products .pd-arch__body > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}
