.page-products {
  --pd-r-a: 24px;
  --pd-r-b: 18px 6px 22px 10px;
  --pd-r-c: 10px 26px 14px 26px;
  display: block;
  background: var(--warm);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

.page-products a:focus-visible,
.page-products summary:focus-visible {
  outline: 2px solid var(--siren);
  outline-offset: 3px;
}

.page-products .crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cool);
}

.page-products .crumbs a {
  color: var(--pitch);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.page-products .crumbs a:hover {
  border-bottom-color: var(--pitch);
}

.page-products .pd-crumbs__sep {
  color: var(--paper);
}

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  position: relative;
  padding: clamp(18px, 3vw, 30px) 0 clamp(30px, 5vw, 62px);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(246, 243, 236, 0) 55%, rgba(231, 225, 214, 0.6) 100%);
}

.page-products .pd-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--line);
  background: linear-gradient(90deg, var(--siren) 0 22%, var(--pitch) 22% 36%, var(--night) 36% 100%);
}

.page-products .pd-hero__grid {
  display: grid;
  gap: clamp(22px, 4vw, 46px);
  margin-top: clamp(20px, 4vw, 36px);
}

.page-products .pd-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(29px, 6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 12px 0 0;
  max-width: 15em;
}

.page-products .pd-hero .lede {
  margin: 16px 0 0;
  max-width: 34em;
  font-size: clamp(15.5px, 1.6vw, 17.5px);
  line-height: 1.75;
  color: rgba(16, 20, 24, 0.8);
}

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

.page-products .pd-hero__panel {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--warm);
  border-radius: var(--pd-r-c);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 26px 52px -34px rgba(14, 27, 46, 0.78);
}

.page-products .pd-hero__panel::before {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -54px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 32%, rgba(255, 198, 26, 0.34), rgba(255, 198, 26, 0) 70%);
}

.page-products .pd-panel__cap {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(246, 243, 236, 0.62);
}

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

.page-products .pd-facts li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(246, 243, 236, 0.14);
}

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

.page-products .pd-facts__num {
  flex: none;
  min-width: 3.6em;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 24px;
  font-weight: 700;
  color: var(--siren);
  letter-spacing: -0.01em;
}

.page-products .pd-facts__label {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(246, 243, 236, 0.76);
}

/* ---------- 主体骨架 ---------- */
.page-products .pd-body {
  padding-bottom: clamp(46px, 8vw, 94px);
}

.page-products .pd-cols {
  display: grid;
  gap: clamp(20px, 4vw, 40px);
}

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

/* ---------- 左侧功能索引 ---------- */
.page-products .pd-index__cap {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cool);
}

.page-products .pd-index__list {
  list-style: none;
  margin: 0;
  padding: 0 0 6px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-products .pd-index__list li {
  flex: none;
}

.page-products .pd-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 8px 13px;
  border: 1px solid var(--pitch);
  border-radius: 999px;
  color: var(--pitch);
  background: transparent;
  font-size: 13px;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.page-products .pd-chip__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cool);
}

.page-products .pd-chip:hover {
  background: var(--mint);
}

.page-products .pd-chip[aria-current="true"] {
  background: var(--siren);
  border-color: var(--siren);
  color: var(--night);
}

.page-products .pd-chip[aria-current="true"] .pd-chip__num {
  color: rgba(14, 27, 46, 0.7);
}

/* ---------- 章节 ---------- */
.page-products .pd-sec {
  padding-top: clamp(30px, 5vw, 54px);
}

.page-products .pd-sec + .pd-sec {
  margin-top: clamp(26px, 5vw, 50px);
  border-top: 1px solid var(--paper);
}

.page-products .pd-sec__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.page-products .pd-sec__num {
  margin: 0;
  flex: none;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--pitch);
  background: var(--mint);
  border-radius: 6px;
  padding: 4px 9px;
}

.page-products .pd-sec h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(21px, 3.4vw, 34px);
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.page-products .pd-sec__intro {
  margin: 14px 0 0;
  max-width: 38em;
  font-size: clamp(15px, 1.5vw, 16.5px);
  line-height: 1.78;
  color: rgba(16, 20, 24, 0.82);
}

/* ---------- 档案卡 ---------- */
.page-products .pd-cards {
  display: grid;
  gap: clamp(14px, 2.5vw, 20px);
  margin-top: clamp(18px, 3vw, 28px);
}

.page-products .pd-card {
  background: rgba(246, 243, 236, 0.92);
  border: 1px solid var(--paper);
  border-radius: var(--pd-r-b);
  padding: 18px 20px 20px;
  box-shadow: var(--shadow-card);
}

.page-products .pd-card:nth-child(2) {
  border-radius: 6px 26px 12px 22px;
}

.page-products .pd-card:nth-child(3) {
  border-radius: 22px 8px 26px 10px;
}

.page-products .pd-card:nth-child(4) {
  border-radius: 12px 22px 6px 26px;
}

.page-products .pd-card:nth-child(5) {
  border-radius: 26px 12px 20px 8px;
}

.page-products .pd-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--paper);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cool);
}

.page-products .pd-card__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.page-products .pd-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(16, 20, 24, 0.78);
}

/* ---------- 图片 ---------- */
.page-products .pd-shot {
  margin: clamp(20px, 3vw, 32px) 0 0;
}

.page-products .pd-shot img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--paper);
  border-radius: var(--pd-r-b);
  background: var(--paper);
}

.page-products .pd-shot .media__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: 0.03em;
  color: var(--cool);
}

/* ---------- 触发点 ---------- */
.page-products .pd-triggers {
  display: grid;
  gap: 12px;
  margin-top: clamp(18px, 3vw, 26px);
}

.page-products .pd-trigger {
  background: var(--mint);
  border-radius: var(--pd-r-a);
  padding: 16px 18px 18px;
}

.page-products .pd-trigger__time {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--pitch);
}

.page-products .pd-trigger__desc {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.68;
  color: rgba(16, 20, 24, 0.82);
}

/* ---------- 渠道 / 要点行 ---------- */
.page-products .pd-channels {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .pd-channels--tight {
  margin-top: 0;
}

.page-products .pd-channel {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding: 12px 14px;
  background: var(--paper);
  border-radius: 12px;
}

.page-products .pd-channel__tag {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--night);
  background: var(--siren);
  border-radius: 5px;
  padding: 3px 8px;
}

.page-products .pd-channel__text {
  flex: 1 1 12em;
  min-width: 0;
  font-size: 14px;
  line-height: 1.68;
  color: rgba(16, 20, 24, 0.8);
}

/* ---------- 提示条 ---------- */
.page-products .pd-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 4px solid var(--siren);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 198, 26, 0.16);
  font-size: 14px;
  line-height: 1.72;
  color: rgba(16, 20, 24, 0.84);
}

.page-products .pd-note a {
  color: var(--pitch);
}

/* ---------- 步骤条 ---------- */
.page-products .pd-steps {
  list-style: none;
  margin: clamp(18px, 3vw, 26px) 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .pd-step__fold {
  background: rgba(246, 243, 236, 0.94);
  border: 1px solid var(--paper);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

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

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

.page-products .pd-step__fold > summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1;
  color: var(--pitch);
}

.page-products .pd-step__fold[open] > summary::after {
  content: "–";
}

.page-products .pd-step__num {
  flex: none;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--night);
  background: var(--siren);
  border-radius: 6px;
  padding: 4px 8px;
}

.page-products .pd-step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}

.page-products .pd-step__hint {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--cool);
}

.page-products .pd-step__body {
  padding: 12px 16px 16px;
  border-top: 1px dashed var(--paper);
  font-size: 14.5px;
  line-height: 1.76;
  color: rgba(16, 20, 24, 0.8);
}

/* ---------- 双栏叙事 ---------- */
.page-products .pd-split {
  display: grid;
  gap: clamp(16px, 3vw, 28px);
  margin-top: clamp(18px, 3vw, 26px);
}

.page-products .pd-split__main p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(16, 20, 24, 0.82);
}

.page-products .pd-split__main p:last-child {
  margin-bottom: 0;
}

/* ---------- 版本行 ---------- */
.page-products .pd-versions {
  list-style: none;
  margin: clamp(18px, 3vw, 26px) 0 0;
  padding: 0;
}

.page-products .pd-vrow {
  display: grid;
  gap: 5px 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--paper);
}

.page-products .pd-vrow:first-child {
  border-top: 1px dashed var(--paper);
}

.page-products .pd-vrow__key {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--pitch);
}

.page-products .pd-vrow__text {
  font-size: 14.5px;
  line-height: 1.74;
  color: rgba(16, 20, 24, 0.82);
}

/* ---------- 结尾动作区 ---------- */
.page-products .pd-cta {
  margin-top: clamp(36px, 6vw, 72px);
  padding: clamp(24px, 4vw, 46px);
  background: var(--night);
  color: var(--warm);
  border-radius: var(--pd-r-c);
  position: relative;
  overflow: hidden;
}

.page-products .pd-cta::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--line);
  background: linear-gradient(90deg, var(--siren) 0 30%, var(--pitch) 30% 52%, var(--night-2) 52% 100%);
}

.page-products .pd-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--warm);
}

.page-products .pd-cta__text {
  margin: 14px 0 0;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(246, 243, 236, 0.78);
}

.page-products .pd-cta__acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: clamp(18px, 3vw, 26px);
}

.page-products .pd-cta .link-more {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--siren);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 198, 26, 0.5);
  padding-bottom: 2px;
}

.page-products .pd-cta .link-more:hover {
  border-bottom-color: var(--siren);
}

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

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

  .page-products .pd-vrow {
    grid-template-columns: 118px minmax(0, 1fr);
    align-items: baseline;
  }
}

@media (min-width: 860px) {
  .page-products .pd-hero__grid {
    grid-template-columns: minmax(0, 1.22fr) minmax(290px, 0.78fr);
    align-items: end;
  }

  .page-products .pd-split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

@media (min-width: 1000px) {
  .page-products .pd-body {
    padding-top: clamp(8px, 2vw, 20px);
  }

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

  .page-products .pd-index {
    position: sticky;
    top: clamp(16px, 3vw, 34px);
  }

  .page-products .pd-index__list {
    display: grid;
    gap: 2px;
    overflow: visible;
    padding: 0;
    border-left: 1px solid var(--paper);
  }

  .page-products .pd-chip {
    border: 1px solid transparent;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    padding: 9px 12px;
    color: var(--ink);
    box-shadow: inset 3px 0 0 transparent;
  }

  .page-products .pd-chip:hover {
    background: var(--mint);
    box-shadow: inset 3px 0 0 var(--pitch);
  }

  .page-products .pd-chip[aria-current="true"] {
    background: var(--mint);
    border-color: transparent;
    color: var(--night);
    box-shadow: inset 3px 0 0 var(--pitch);
  }

  .page-products .pd-chip[aria-current="true"] .pd-chip__num {
    color: var(--pitch);
  }
}

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