.page-products {
  --pp-pad: clamp(56px, 8vw, 104px);
  --pp-gap: clamp(20px, 3.2vw, 44px);
  --pp-track: 1680px;
  color: var(--brown);
  background: var(--paper);
  font-family: var(--font-body);
}

/* ---------- 通用区块 ---------- */
.page-products .pp-sec {
  position: relative;
  padding-block: var(--pp-pad);
  overflow: hidden;
  background-image: linear-gradient(to right, rgba(217, 199, 167, 0.1) 1px, transparent 1px);
  background-size: calc(100% / 4) 100%;
}

.page-products .band--dark.pp-sec {
  background-image:
    repeating-linear-gradient(to bottom, rgba(232, 236, 239, 0.04) 0 1px, transparent 1px 5px),
    linear-gradient(to right, rgba(217, 199, 167, 0.1) 1px, transparent 1px);
  background-size: auto, calc(100% / 4) 100%;
  color: var(--mist);
}

@media (min-width: 900px) {
  .page-products .pp-sec {
    background-size: calc(100% / 6) 100%;
  }
  .page-products .band--dark.pp-sec {
    background-size: auto, calc(100% / 6) 100%;
  }
}

.page-products .pp-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--signal);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.page-products .pp-link:hover,
.page-products .pp-link:focus-visible {
  color: var(--signal);
}

.page-products .pp-side__title {
  margin: 0 0 1.1em;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brown);
}

.page-products .band--dark .pp-side__title {
  color: var(--mist);
}

/* ---------- 01 封面 ---------- */
.page-products .pp-cover__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pp-gap);
}

.page-products .pp-cover__title {
  margin: 0.34em 0 0.42em;
  color: var(--mist);
}

.page-products .pp-cover__lede {
  max-width: 30em;
  color: var(--mist);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.9;
}

.page-products .pp-cover__note {
  max-width: 32em;
  margin-top: 1.1em;
  padding-left: 1em;
  border-left: 2px solid var(--signal);
  color: var(--mint);
  font-size: 0.9rem;
  line-height: 1.85;
}

.page-products .pp-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 2.2em 0 0;
  padding: 0;
  list-style: none;
  background: rgba(217, 199, 167, 0.28);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.page-products .pp-facts__item {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  padding: 1.1em 1.2em;
  background: rgba(10, 31, 51, 0.78);
}

.page-products .pp-facts__num {
  font-family: var(--font-num);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  line-height: 1;
  color: var(--signal);
}

.page-products .pp-facts__unit {
  color: var(--mist);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.page-products .pp-cover__index {
  padding-top: 0.6em;
}

.page-products .pp-index {
  margin: 0.9em 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(217, 199, 167, 0.35);
}

.page-products .pp-index__item {
  border-bottom: 1px solid rgba(217, 199, 167, 0.22);
}

.page-products .pp-index__link {
  display: flex;
  align-items: baseline;
  gap: 0.85em;
  padding: 0.72em 0;
  color: var(--mist);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.page-products .pp-index__link:hover,
.page-products .pp-index__link:focus-visible {
  color: var(--signal);
  padding-left: 0.4em;
}

.page-products .pp-index__code {
  font-family: var(--font-num);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--mint);
}

.page-products .pp-cover__stamp {
  margin-top: 1.4em;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(127, 209, 174, 0.75);
}

.page-products .pp-cover__pan {
  margin: clamp(36px, 6vw, 72px) 0 0;
}

.page-products .pp-cover__pan img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 24 / 9;
  object-fit: cover;
  border-radius: 0;
}

.page-products .pp-cover__pan .media__caption {
  display: block;
  margin-top: 0.8em;
  padding-inline: clamp(20px, 4vw, 56px);
  color: rgba(232, 236, 239, 0.62);
  font-size: 0.76rem;
  line-height: 1.7;
}

/* ---------- 02 分区图 ---------- */
.page-products .pp-map__head {
  max-width: 62ch;
}

.page-products .pp-map__title {
  margin: 0.3em 0 0.5em;
  color: var(--mist);
}

.page-products .pp-map__intro {
  max-width: 34em;
  margin: 0;
  color: rgba(232, 236, 239, 0.78);
  line-height: 1.9;
}

.page-products .pp-map__filters {
  margin-top: 1.8em;
}

.page-products .pp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55em;
}

.page-products .pp-pill {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--mist);
  background: rgba(232, 236, 239, 0.06);
  border: 1px solid rgba(127, 209, 174, 0.32);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-products .pp-pill:hover,
.page-products .pp-pill:focus-visible {
  border-color: var(--signal);
  color: var(--signal);
}

.page-products .pp-pill[aria-pressed="true"] {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--ink);
  font-weight: 600;
}

.page-products .pp-map__scroll {
  margin-top: clamp(24px, 4vw, 40px);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--signal) rgba(232, 236, 239, 0.16);
}

.page-products .pp-map__scroll:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}

.page-products .pp-map__track {
  min-width: var(--pp-track);
  padding-inline: clamp(16px, 3vw, 40px);
}

.page-products .pp-map__ruler {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 26px;
  margin-bottom: 10px;
  padding-inline: 6%;
  border-top: 1px solid rgba(217, 199, 167, 0.4);
  border-bottom: 1px solid rgba(217, 199, 167, 0.18);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: rgba(217, 199, 167, 0.72);
}

.page-products .pp-map__ruler-mid {
  color: var(--signal);
}

.page-products .pp-map__svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .pp-tier__label {
  font-family: var(--font-body);
  font-size: 20px;
  letter-spacing: 0.14em;
  fill: rgba(232, 236, 239, 0.72);
  text-anchor: middle;
}

.page-products .pp-tier__label--dark {
  fill: rgba(10, 31, 51, 0.78);
}

.page-products .pp-tier rect {
  transition: stroke-opacity 0.25s ease, filter 0.25s ease;
}

.page-products .pp-tier:hover rect {
  filter: brightness(1.28);
}

.page-products .pp-gate circle {
  fill: rgba(10, 31, 51, 0.9);
  stroke: var(--signal);
  stroke-width: 2;
}

.page-products .pp-gate text {
  font-family: var(--font-num);
  font-size: 17px;
  fill: var(--mist);
  text-anchor: middle;
  letter-spacing: 0.04em;
}

.page-products .pp-map__pills {
  position: relative;
  height: 122px;
  margin-top: 6px;
}

.page-products .pp-price {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
  padding: 0.42em 0.75em;
  border-radius: 999px;
  background: rgba(232, 236, 239, 0.08);
  border: 1px solid rgba(217, 199, 167, 0.36);
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.page-products .pp-price::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 1px;
  height: 22px;
  background: rgba(217, 199, 167, 0.45);
}

.page-products .pp-price:nth-child(even) {
  top: 62px;
}

.page-products .pp-price:hover {
  background: var(--signal);
  border-color: var(--signal);
}

.page-products .pp-price:hover .pp-price__num,
.page-products .pp-price:hover .pp-price__unit,
.page-products .pp-price:hover .pp-price__idx {
  color: var(--ink);
}

.page-products .pp-price__idx {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--mint);
}

.page-products .pp-price__num {
  font-family: var(--font-num);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1;
  color: var(--mist);
}

.page-products .pp-price__unit {
  font-size: 0.62rem;
  color: rgba(232, 236, 239, 0.7);
}

.page-products .pp-price--t1 { border-color: rgba(127, 209, 174, 0.7); }
.page-products .pp-price--t2 { border-color: rgba(46, 139, 107, 0.85); }
.page-products .pp-price--t3 { border-color: rgba(11, 110, 79, 0.95); }
.page-products .pp-price--t4 { border-color: rgba(74, 97, 114, 0.95); }

.page-products .pp-price--p01 { left: 48%; top: 0; }
.page-products .pp-price--p02 { left: 34%; top: 62px; }
.page-products .pp-price--p03 { left: 67%; top: 0; }
.page-products .pp-price--p04 { left: 42%; top: 62px; }
.page-products .pp-price--p05 { left: 58%; top: 0; }
.page-products .pp-price--p06 { left: 82%; top: 62px; }
.page-products .pp-price--p07 { left: 29%; top: 0; }
.page-products .pp-price--p08 { left: 51%; top: 62px; }
.page-products .pp-price--p09 { left: 74%; top: 0; }
.page-products .pp-price--p10 { left: 22%; top: 62px; }
.page-products .pp-price--p11 { left: 86%; top: 0; }

.page-products .pp-map__caption {
  margin-top: clamp(24px, 4vw, 40px);
  max-width: 60ch;
  color: rgba(232, 236, 239, 0.66);
  font-size: 0.82rem;
  line-height: 1.85;
}

/* ---------- 03 看台层级 ---------- */
.page-products .pp-tiers__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pp-gap);
}

.page-products .pp-tiers__title {
  margin: 0.3em 0 0.55em;
}

.page-products .pp-tiers__lead {
  max-width: 34em;
  margin: 0 0 2em;
  color: var(--slate);
  line-height: 1.9;
}

.page-products .pp-tierlist {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(74, 97, 114, 0.3);
}

.page-products .pp-tierlist__item {
  padding: 1.6em 0;
  border-bottom: 1px solid rgba(74, 97, 114, 0.22);
}

.page-products .pp-tierlist__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.7em 1em;
  margin-bottom: 0.7em;
}

.page-products .pp-tierlist__code {
  font-family: var(--font-num);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--field);
}

.page-products .pp-tierlist__name {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.page-products .pp-tierlist__item p {
  margin: 0;
  max-width: 42em;
  color: var(--slate);
  font-size: 0.94rem;
  line-height: 1.9;
}

.page-products .pp-log {
  margin: 0 0 2em;
  padding: 0;
  list-style: none;
}

.page-products .pp-log__item {
  padding: 0.95em 0;
  border-bottom: 1px dashed rgba(74, 97, 114, 0.3);
}

.page-products .pp-log__item p {
  margin: 0.55em 0 0;
  color: var(--slate);
  font-size: 0.86rem;
  line-height: 1.8;
}

.page-products .pp-tiers__fig {
  margin: 0;
}

.page-products .pp-tiers__fig img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 14 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- 04 遮挡与通道 ---------- */
.page-products .pp-sight__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pp-gap);
}

.page-products .pp-sight__title {
  margin: 0.3em 0 0.55em;
  color: var(--mist);
}

.page-products .pp-sight__lead {
  max-width: 34em;
  margin: 0 0 2em;
  color: rgba(232, 236, 239, 0.78);
  line-height: 1.9;
}

.page-products .pp-blockers {
  margin: 0;
  border-top: 1px solid rgba(217, 199, 167, 0.35);
}

.page-products .pp-blockers__row {
  padding: 1.4em 0;
  border-bottom: 1px solid rgba(217, 199, 167, 0.2);
}

.page-products .pp-blockers__row dt {
  margin-bottom: 0.55em;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--alert);
}

.page-products .pp-blockers__row dd {
  margin: 0;
  max-width: 44em;
  color: rgba(232, 236, 239, 0.76);
  font-size: 0.92rem;
  line-height: 1.9;
}

.page-products .pp-sight__fig,
.page-products .pp-sight__fig2 {
  margin: 2em 0 0;
}

.page-products .pp-sight__fig img,
.page-products .pp-sight__fig2 img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.page-products .pp-sight__fig img {
  aspect-ratio: 3 / 2;
}

.page-products .pp-sight__fig2 img {
  aspect-ratio: 3 / 2;
}

.page-products .pp-sight__note {
  margin: 0 0 1.6em;
  color: rgba(232, 236, 239, 0.68);
  font-size: 0.88rem;
  line-height: 1.85;
}

.page-products .pp-gatelist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: rgba(217, 199, 167, 0.2);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.page-products .pp-gatelist__group {
  padding: 1.15em 1.2em;
  background: rgba(10, 31, 51, 0.82);
}

.page-products .pp-gatelist__zone {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--mint);
}

.page-products .pp-gatelist__codes {
  display: block;
  margin: 0.45em 0 0.6em;
  font-family: var(--font-num);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--signal);
}

.page-products .pp-gatelist__group p {
  margin: 0;
  color: rgba(232, 236, 239, 0.74);
  font-size: 0.86rem;
  line-height: 1.8;
}

/* ---------- 05 终端三版本 ---------- */
.page-products .pp-terminal__title {
  margin: 0.3em 0 0.55em;
}

.page-products .pp-terminal__lead {
  max-width: 36em;
  margin: 0 0 2em;
  color: var(--slate);
  line-height: 1.9;
}

.page-products .pp-terminal__fig {
  margin: 0 0 2.2em;
}

.page-products .pp-terminal__fig img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.page-products .pp-tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-products .pp-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  text-align: left;
}

.page-products .pp-table__caption {
  caption-side: top;
  padding-bottom: 1em;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--slate);
  text-align: left;
}

.page-products .pp-table th,
.page-products .pp-table td {
  padding: 1.05em 1.1em;
  border-bottom: 1px solid rgba(74, 97, 114, 0.26);
  vertical-align: top;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--slate);
}

.page-products .pp-table thead th {
  border-bottom: 1px solid var(--field);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--field);
  white-space: nowrap;
}

.page-products .pp-table tbody th {
  width: 12em;
  color: var(--brown);
  font-weight: 400;
}

.page-products .pp-table__code {
  display: inline-block;
  padding: 0.3em 0.75em;
  border-radius: 999px;
  background: rgba(11, 110, 79, 0.12);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--field);
  white-space: nowrap;
}

.page-products .pp-terminal__note {
  margin: 2em 0 0;
  max-width: 44em;
  color: var(--slate);
  font-size: 0.86rem;
  line-height: 1.85;
}

.page-products .pp-terminal__links,
.page-products .pp-install__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4em;
  margin: 1.2em 0 0;
  font-size: 0.88rem;
}

/* ---------- 06 版本节奏 ---------- */
.page-products .pp-release__title {
  margin: 0.3em 0 0.55em;
  color: var(--mist);
}

.page-products .pp-release__lead {
  max-width: 38em;
  margin: 0 0 2.4em;
  color: rgba(232, 236, 239, 0.76);
  line-height: 1.9;
}

.page-products .pp-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: rgba(217, 199, 167, 0.22);
}

.page-products .pp-timeline__node {
  padding: 1.5em 1.3em;
  background: rgba(10, 31, 51, 0.86);
}

.page-products .pp-timeline__phase {
  display: inline-block;
  padding: 0.24em 0.7em;
  border: 1px solid rgba(127, 209, 174, 0.55);
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--mint);
}

.page-products .pp-timeline__name {
  margin: 0.9em 0 0.5em;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--mist);
}

.page-products .pp-timeline__node p {
  margin: 0;
  max-width: 40em;
  color: rgba(232, 236, 239, 0.7);
  font-size: 0.86rem;
  line-height: 1.85;
}

/* ---------- 07 获取与安装 ---------- */
.page-products .pp-install__title {
  margin: 0.3em 0 1.6em;
}

.page-products .pp-install__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pp-gap);
}

.page-products .pp-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.page-products .pp-steps__item {
  display: grid;
  grid-template-columns: 2.6em 1fr;
  gap: 1em;
  padding: 1.35em 0;
  border-bottom: 1px solid rgba(74, 97, 114, 0.24);
}

.page-products .pp-steps__idx {
  font-family: var(--font-num);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--signal);
}

.page-products .pp-steps__name {
  margin: 0 0 0.45em;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.page-products .pp-steps__item p {
  margin: 0;
  max-width: 38em;
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.85;
}

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

.page-products .pp-notes li {
  position: relative;
  padding: 0.85em 0 0.85em 1.3em;
  border-bottom: 1px dashed rgba(74, 97, 114, 0.32);
  color: var(--slate);
  font-size: 0.86rem;
  line-height: 1.85;
}

.page-products .pp-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--field);
}

.page-products .pp-chapter-nav {
  margin-top: clamp(40px, 6vw, 72px);
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-products .pp-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

@media (min-width: 960px) {
  .page-products .pp-cover__inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
  }
  .page-products .pp-cover__main {
    grid-column: 1 / span 8;
  }
  .page-products .pp-cover__index {
    grid-column: 10 / span 3;
  }

  .page-products .pp-tiers__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: clamp(32px, 5vw, 72px);
  }

  .page-products .pp-sight__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: clamp(32px, 5vw, 72px);
  }

  .page-products .pp-install__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(32px, 5vw, 64px);
  }

  .page-products .pp-timeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-products .pp-timeline__node {
    padding: 1.6em 1.2em;
  }

  .page-products .pp-terminal__fig img {
    aspect-ratio: 21 / 9;
  }
}

@media (max-width: 480px) {
  .page-products .pp-price {
    padding: 0.36em 0.58em;
  }
  .page-products .pp-price__num {
    font-size: 0.98rem;
  }
  .page-products .pp-steps__item {
    grid-template-columns: 2.1em 1fr;
    gap: 0.8em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pp-link,
  .page-products .pp-index__link,
  .page-products .pp-pill,
  .page-products .pp-price,
  .page-products .pp-tier rect {
    transition: none;
  }
}
