.page-products {
  --pd-shadow: 5px 5px 0 rgba(231, 227, 218, 0.9);
  --pd-shadow-tight: 3px 3px 0 rgba(58, 63, 69, 0.12);
}

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  padding-block: calc(var(--hp-header-h) + 30px) clamp(34px, 6vw, 60px);
}

.page-products .pd-hero__grid {
  display: grid;
  gap: 30px;
  margin-top: 22px;
  align-items: start;
}

.page-products .pd-hero h1 {
  margin: 12px 0 0;
  font-size: clamp(30px, 7.4vw, 56px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--hp-ink);
}

.page-products .pd-hero .hp-lead {
  margin: 18px 0 0;
  max-width: 38ch;
}

.page-products .pd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-products .pd-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 32px 0 0;
  padding: 0;
  border-top: 3px solid var(--hp-blue);
}

.page-products .pd-hero__stats > div {
  padding: 14px 10px 6px 0;
  border-right: 1px dashed var(--hp-line);
}

.page-products .pd-hero__stats > div:last-child {
  border-right: 0;
}

.page-products .pd-hero__stats dt {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--hp-moss);
}

.page-products .pd-hero__stats dd {
  margin: 8px 0 0;
  font-size: clamp(20px, 4.6vw, 26px);
  font-weight: 700;
  line-height: 1;
  color: var(--hp-blue);
}

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

@media (min-width: 900px) {
  .page-products .pd-hero__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 58px;
  }
}

/* ---------- 选择带 ---------- */
.page-products .pd-choose {
  padding-block: clamp(42px, 7vw, 76px);
}

.page-products .pd-choose__head {
  max-width: 62ch;
}

.page-products .pd-choose__head .hp-prose {
  margin-top: 14px;
}

.page-products .pd-filter {
  margin-top: 28px;
}

.page-products .pd-filter__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .hp-filter {
  font: inherit;
  font-size: 14.5px;
  line-height: 1;
  padding: 10px 16px;
  color: var(--hp-ink);
  background: var(--hp-paper);
  border: 1px solid var(--hp-line);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.page-products .hp-filter:hover {
  border-color: var(--hp-ink);
}

.page-products .hp-filter.is-current {
  background: var(--hp-yellow);
  border-color: var(--hp-ink);
  box-shadow: var(--pd-shadow-tight);
  font-weight: 700;
}

.page-products [data-filter-item][hidden] {
  display: none;
}

.page-products .pd-verlist {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .pd-ver {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px 16px;
  padding: 18px 18px 16px;
  background: var(--hp-paper);
  border: 1px solid var(--hp-line);
  box-shadow: var(--pd-shadow);
}

.page-products .pd-ver__id {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.page-products .pd-ver__code {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--hp-blue);
}

.page-products .pd-ver__build {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--hp-moss);
}

.page-products .pd-ver__name {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--hp-ink);
}

.page-products .pd-ver__body p {
  margin: 7px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(58, 63, 69, 0.78);
}

.page-products .pd-ver__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-products .pd-choose__media {
  margin: 42px 0 0;
}

@media (min-width: 760px) {
  .page-products .pd-ver {
    grid-template-columns: 86px minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px 20px;
    padding: 18px 22px;
  }

  .page-products .pd-ver__id {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .page-products .pd-ver__meta {
    justify-content: flex-end;
    max-width: 180px;
  }
}

/* ---------- V3 能力 ---------- */
.page-products .pd-cap {
  padding-block: clamp(42px, 7vw, 76px);
}

.page-products .pd-cap__grid {
  display: grid;
  gap: 34px;
}

.page-products .pd-cap__lead .hp-prose {
  margin-top: 14px;
}

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

.page-products .pd-cap__list > li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 4px 18px;
  padding: 20px 0;
  border-top: 1px solid var(--hp-line);
}

.page-products .pd-cap__list > li:last-child {
  border-bottom: 1px solid var(--hp-line);
}

.page-products .pd-cap__num {
  grid-row: 1 / span 2;
  font-size: 15px;
  font-weight: 700;
  padding-top: 3px;
  color: var(--hp-blue-light);
  letter-spacing: 0.04em;
}

.page-products .pd-cap__list h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--hp-ink);
}

.page-products .pd-cap__list p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(58, 63, 69, 0.78);
}

@media (min-width: 900px) {
  .page-products .pd-cap__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 64px;
  }

  .page-products .pd-cap__lead {
    position: sticky;
    top: calc(var(--hp-header-h) + 32px);
  }
}

/* ---------- 四步装好 ---------- */
.page-products .pd-steps {
  padding-block: clamp(42px, 7vw, 76px);
}

.page-products .pd-steps__figure {
  margin: 0 0 42px;
}

.page-products .pd-steps h2 {
  margin: 12px 0 0;
}

.page-products .pd-steps__lead {
  margin-top: 14px;
}

.page-products .pd-steps__list {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 26px;
}

.page-products .pd-step {
  border-top: 2px solid var(--hp-blue);
  padding-top: 20px;
}

.page-products .pd-step__num {
  display: block;
  font-size: clamp(36px, 8vw, 60px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--hp-blue);
}

.page-products .pd-step h3 {
  margin: 12px 0 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--hp-ink);
}

.page-products .pd-step p {
  margin: 6px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(58, 63, 69, 0.78);
}

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

  .page-products .pd-step {
    padding: 22px 24px 0 0;
    margin-right: 24px;
    border-right: 1px solid var(--hp-line-soft);
  }

  .page-products .pd-step:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: 0;
  }
}

.page-products .pd-check {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 34px;
  padding: 16px 20px;
  background: var(--hp-mist);
  border: 1px dashed var(--hp-line);
}

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

.page-products .pd-check__code {
  font-size: clamp(16px, 3.6vw, 19px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--hp-blue-deep);
}

.page-products .pd-check__hint {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(58, 63, 69, 0.78);
}

.page-products .pd-check__hint a {
  color: var(--hp-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .pd-spec {
  margin-top: 46px;
}

.page-products .pd-spec__title {
  margin: 0 0 14px;
  font-size: clamp(18px, 4vw, 22px);
  font-weight: 700;
  color: var(--hp-ink);
}

.page-products .pd-spec__scroll {
  overflow-x: auto;
  border: 1px solid var(--hp-line);
  background: var(--hp-paper);
}

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

.page-products .pd-spec caption {
  text-align: left;
  padding: 12px 16px 0;
  color: rgba(58, 63, 69, 0.7);
}

.page-products .pd-spec thead th {
  background: var(--hp-blue);
  color: #ffffff;
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.page-products .pd-spec tbody th,
.page-products .pd-spec tbody td {
  padding: 12px 16px;
  text-align: left;
  font-weight: 400;
  color: var(--hp-ink);
  border-bottom: 1px solid var(--hp-line-soft);
  white-space: nowrap;
}

.page-products .pd-spec tbody th {
  font-weight: 700;
}

.page-products .pd-spec tbody tr:nth-child(even) {
  background: rgba(231, 227, 218, 0.45);
}

/* ---------- 版本时间线 ---------- */
.page-products .pd-timeline {
  padding-block: clamp(42px, 7vw, 76px);
}

.page-products .pd-timeline__head {
  max-width: 62ch;
}

.page-products .pd-timeline__head .hp-prose {
  margin-top: 14px;
}

.page-products .pd-timeline__ruler {
  margin: 34px 0 0;
}

.page-products .pd-tl {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .pd-tl__node {
  position: relative;
  padding-left: 22px;
}

.page-products .pd-tl__node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  background: var(--hp-paper);
  border: 2px solid var(--hp-blue);
}

.page-products .pd-tl__node::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 26px;
  bottom: -14px;
  width: 1px;
  background: var(--hp-line);
}

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

.page-products .pd-tl__node details {
  border: 0;
}

.page-products .pd-tl__node summary {
  display: block;
  cursor: pointer;
  list-style: none;
  padding-right: 8px;
}

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

.page-products .pd-tl__code {
  display: block;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--hp-blue-deep);
}

.page-products .pd-tl__when {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--hp-moss);
}

.page-products .pd-tl__node details p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(58, 63, 69, 0.8);
}

.page-products .pd-timeline__more {
  margin: 34px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(58, 63, 69, 0.78);
}

.page-products .pd-timeline__more a {
  color: var(--hp-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .pd-timeline__terrain {
  margin: 42px 0 0;
}

@media (min-width: 860px) {
  .page-products .pd-tl {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    margin-top: 40px;
    position: relative;
  }

  .page-products .pd-tl::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 4px;
    height: 2px;
    background: linear-gradient(90deg, var(--hp-blue) 0%, var(--hp-blue-light) 62%, var(--hp-sand) 100%);
  }

  .page-products .pd-tl__node {
    padding: 30px 26px 0 0;
  }

  .page-products .pd-tl__node::before {
    top: 0;
    left: 0;
  }

  .page-products .pd-tl__node::after {
    display: none;
  }
}

/* ---------- 排错 ---------- */
.page-products .pd-trouble {
  padding-block: clamp(42px, 7vw, 76px);
}

.page-products .pd-trouble h2 {
  margin: 12px 0 0;
}

.page-products .pd-trouble__grid {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-products .pd-trouble__grid > li {
  padding: 22px 20px 20px;
  background: var(--hp-paper);
  border: 1px solid var(--hp-line);
  border-left: 4px solid var(--hp-red);
}

.page-products .pd-trouble__grid h3 {
  margin: 14px 0 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--hp-ink);
}

.page-products .pd-trouble__grid p {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(58, 63, 69, 0.78);
}

.page-products .pd-trouble__more {
  margin: 28px 0 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(58, 63, 69, 0.78);
}

.page-products .pd-trouble__more a {
  color: var(--hp-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 820px) {
  .page-products .pd-trouble__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .page-products .pd-trouble__grid > li {
    padding: 24px 24px 22px;
  }
}

/* ---------- 团队版本 ---------- */
.page-products .pd-team {
  padding-block: clamp(46px, 8vw, 86px);
  color: var(--hp-on-deep);
}

.page-products .pd-team .hp-eyebrow {
  color: var(--hp-yellow);
}

.page-products .pd-team .hp-eyebrow::before {
  background: var(--hp-yellow);
}

.page-products .pd-team h2 {
  margin: 12px 0 0;
  font-size: clamp(24px, 5.4vw, 40px);
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
}

.page-products .pd-team__grid {
  display: grid;
  gap: 32px;
}

.page-products .pd-team__main p {
  margin: 16px 0 0;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--hp-on-deep);
  max-width: 46ch;
}

.page-products .pd-team__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

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

.page-products .pd-team__check li {
  position: relative;
  padding: 14px 0 14px 26px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--hp-on-deep);
  border-bottom: 1px solid rgba(245, 244, 240, 0.18);
}

.page-products .pd-team__check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 9px;
  height: 9px;
  background: var(--hp-yellow);
}

@media (min-width: 900px) {
  .page-products .pd-team__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 64px;
    align-items: start;
  }
}
