.page-products {
  --pd-card: #fbf7ef;
  --pd-hair: rgba(18, 22, 30, .12);
  --pd-hair-2: rgba(18, 22, 30, .26);
  --pd-body: #3b4351;
  --pd-paper-body: rgba(245, 240, 230, .74);
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;
}

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

/* ---------- 首屏 ---------- */
.pd-hero {
  position: relative;
  padding: clamp(20px, 4vw, 38px) 0 clamp(38px, 6vw, 76px);
  background:
    repeating-linear-gradient(90deg, var(--pd-hair) 0 1px, transparent 1px 104px),
    linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 80%);
  border-bottom: 1px solid var(--pd-hair);
}

.page-products .breadcrumb {
  margin-bottom: clamp(20px, 3.5vw, 36px);
}

.pd-hero__grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}

.pd-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--stone);
}

.pd-eyebrow__dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.pd-title {
  margin: 0 0 clamp(16px, 2.4vw, 24px);
  font-family: var(--font-narrow);
  font-size: clamp(34px, 8vw, 82px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.015em;
}

.pd-lead {
  margin: 0 0 14px;
  max-width: 54ch;
  font-size: clamp(15.5px, 1.9vw, 17.5px);
  line-height: 1.85;
  color: var(--pd-body);
}

.pd-hero__note {
  margin: 0;
  max-width: 54ch;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.75;
  letter-spacing: .03em;
  color: var(--stone);
}

.pd-facts {
  position: relative;
  padding: 22px 20px 8px;
  background: var(--pd-card);
  border: 1px solid var(--pd-hair);
  box-shadow: var(--shadow-1);
}

.pd-facts::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--red);
}

.pd-facts__title {
  margin: 0 0 12px;
  color: var(--stone);
}

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

.pd-facts__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--pd-hair-2);
}

.pd-facts__row:last-child {
  border-bottom: 0;
}

.pd-facts__k {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--stone);
}

.pd-facts__v {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  text-align: right;
  color: var(--ink);
}

.pd-facts__v--red {
  color: var(--red);
}

.pd-fig {
  margin: clamp(26px, 4vw, 48px) 0 0;
}

.pd-fig img {
  width: 100%;
  border: 1px solid var(--pd-hair);
  background: var(--paper-2);
  object-fit: cover;
}

.pd-fig figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .05em;
  color: var(--stone);
}

/* ---------- 章节导航 ---------- */
.pd-watch {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: rgba(245, 240, 230, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--pd-hair);
}

.pd-watch__inner {
  display: flex;
  gap: 6px;
  padding: 9px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pd-watch__inner::-webkit-scrollbar {
  display: none;
}

.page-products .watch-nav__link {
  flex: 0 0 auto;
  padding: 7px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  white-space: nowrap;
  text-decoration: none;
  color: var(--stone);
  border: 1px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}

.page-products .watch-nav__link:hover {
  color: var(--ink);
}

.page-products .watch-nav__link[aria-current="true"],
.page-products .watch-nav__link.is-active {
  color: var(--red);
  border-color: var(--pd-hair-2);
  background: var(--pd-card);
}

/* ---------- 章节通用 ---------- */
.pd-section {
  padding: clamp(46px, 7vw, 98px) 0;
}

.pd-section--sand {
  background: var(--paper-2);
  border-top: 1px solid var(--pd-hair);
  border-bottom: 1px solid var(--pd-hair);
}

.pd-section--ink {
  background: var(--ink);
  color: var(--paper);
}

.pd-head {
  display: grid;
  gap: 12px;
  max-width: 80ch;
  margin-bottom: clamp(28px, 4.5vw, 54px);
}

.pd-head__no {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--red);
}

.pd-head__title {
  margin: 0;
  font-family: var(--font-narrow);
  font-size: clamp(25px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.01em;
}

.pd-head__desc {
  margin: 0;
  max-width: 64ch;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--pd-body);
}

.pd-section--ink .pd-head__no {
  color: var(--red-bright);
}

.pd-section--ink .pd-head__title {
  color: var(--paper);
}

.pd-section--ink .pd-head__desc {
  color: var(--pd-paper-body);
}

/* ---------- 01 四条主线 ---------- */
.pd-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--pd-hair-2);
}

.pd-line {
  position: relative;
  display: grid;
  gap: 10px;
  padding: clamp(22px, 3vw, 32px) 0;
  border-bottom: 1px solid var(--pd-hair);
}

.pd-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease);
}

.pd-line:hover::before,
.pd-line:focus-within::before {
  transform: scaleY(1);
}

.pd-line__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--stone);
}

.pd-line__title {
  margin: 0;
  font-family: var(--font-narrow);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .01em;
}

.pd-line__body {
  margin: 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--pd-body);
}

.pd-line__tag {
  justify-self: start;
  padding: 5px 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--indigo);
  background: var(--pd-card);
  border: 1px solid var(--pd-hair-2);
}

.pd-lines__fig {
  margin-top: clamp(30px, 4.5vw, 52px);
}

/* ---------- 02 区域档位 ---------- */
.pd-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--pd-card);
  border: 1px solid var(--pd-hair-2);
}

.pd-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.pd-table caption {
  padding: 14px 16px 0;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .05em;
  color: var(--stone);
}

.pd-table th,
.pd-table td {
  padding: 15px 16px;
  text-align: left;
  border-bottom: 1px solid var(--pd-hair);
}

.pd-table thead th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  white-space: nowrap;
  color: var(--stone);
  background: var(--paper-2);
}

.pd-table tbody tr:last-child td {
  border-bottom: 0;
}

.pd-table tbody tr:hover {
  background: rgba(179, 37, 27, .05);
}

.pd-table td:first-child {
  font-weight: 700;
}

.pd-mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--red);
}

.pd-note {
  margin: 16px 0 0;
  max-width: 70ch;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--stone);
}

/* ---------- 03 编号规则 ---------- */
.pd-format {
  display: grid;
  gap: 8px;
  margin: 0 0 clamp(26px, 4vw, 44px);
  padding: clamp(18px, 2.6vw, 26px);
  background: var(--ink);
  color: var(--paper);
}

.pd-format__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--stone-2);
}

.pd-format__value {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(15px, 2.6vw, 24px);
  font-weight: 700;
  letter-spacing: .03em;
  word-break: break-word;
  color: #fff;
}

.pd-format__legend {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--pd-paper-body);
}

.pd-codes {
  display: grid;
  gap: 14px;
}

.pd-code {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 20px 18px 18px;
  background: var(--pd-card);
  border: 1px solid var(--pd-hair);
  border-top: 2px solid var(--indigo);
}

.pd-code--red {
  border-top-color: var(--red);
}

.pd-code__prefix {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--indigo);
}

.pd-code--red .pd-code__prefix {
  color: var(--red);
}

.pd-code__name {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .02em;
}

.pd-code__body {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--pd-body);
}

.pd-codes__fig {
  margin-top: clamp(28px, 4vw, 48px);
}

/* ---------- 04 年度节点 ---------- */
.pd-years {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 78ch;
}

.pd-years::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(245, 240, 230, .22);
}

.pd-year {
  position: relative;
  padding: 0 0 clamp(24px, 3vw, 34px) 34px;
}

.pd-year:last-child {
  padding-bottom: 0;
}

.pd-year::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 6px;
  width: 11px;
  height: 11px;
  background: var(--red-bright);
  transform: rotate(45deg);
}

.pd-year__num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--red-bright);
}

.pd-year__title {
  margin: 6px 0 6px;
  font-family: var(--font-narrow);
  font-size: 19px;
  font-weight: 800;
  color: var(--paper);
}

.pd-year__body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--pd-paper-body);
}

/* ---------- 05 服务节奏 ---------- */
.pd-support {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
}

.pd-support__col {
  padding-left: 20px;
  border-left: 1px solid var(--pd-hair-2);
}

.pd-support__no {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--red);
}

.pd-support__title {
  margin: 0 0 8px;
  font-family: var(--font-narrow);
  font-size: 19px;
  font-weight: 800;
}

.pd-support__body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--pd-body);
}

.pd-support__fig {
  margin-top: clamp(30px, 4.5vw, 50px);
}

/* ---------- 继续查阅 ---------- */
.pd-next {
  padding: clamp(46px, 6vw, 88px) 0;
  background: var(--indigo-deep);
  color: var(--paper);
}

.pd-next__label {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red-bright);
}

.pd-next__title {
  margin: 0 0 clamp(24px, 3.5vw, 40px);
  font-family: var(--font-narrow);
  font-size: clamp(24px, 3.8vw, 38px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.01em;
  color: var(--paper);
}

.pd-next__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: rgba(245, 240, 230, .16);
  border: 1px solid rgba(245, 240, 230, .16);
}

.pd-next__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 16px;
  padding: 20px 18px;
  background: var(--indigo-deep);
  text-decoration: none;
  color: var(--paper);
  transition: background .3s var(--ease);
}

.pd-next__link:hover,
.pd-next__link:focus-visible {
  background: rgba(179, 37, 27, .22);
}

.pd-next__idx {
  grid-row: span 2;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--red-bright);
}

.pd-next__name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
}

.pd-next__hint {
  font-size: 13px;
  line-height: 1.72;
  color: var(--pd-paper-body);
}

/* ---------- 显现动画 ---------- */
.page-products [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.page-products [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 断点 ---------- */
@media (min-width: 760px) {
  .pd-support {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(22px, 3vw, 40px);
  }

  .pd-codes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

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

@media (min-width: 900px) {
  .pd-hero__grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .95fr);
    align-items: start;
    gap: clamp(32px, 5vw, 72px);
  }

  .pd-head {
    grid-template-columns: 92px minmax(0, 1fr);
    column-gap: 24px;
    align-items: start;
  }

  .pd-head__no {
    grid-column: 1;
    grid-row: 1 / span 2;
    padding-top: 8px;
  }

  .pd-line {
    grid-template-columns: 84px minmax(0, 200px) minmax(0, 1fr) 132px;
    align-items: start;
    column-gap: 24px;
  }

  .pd-line__tag {
    justify-self: end;
  }
}

@media (min-width: 1100px) {
  .pd-codes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pd-line::before {
    transition: none;
  }
}
