.page-products {
  --pr-gap: clamp(20px, 3vw, 44px);
}

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

.page-products #compare,
.page-products #install,
.page-products #entry-path {
  scroll-margin-top: 90px;
}

.page-products .pr-crumbs {
  padding-top: clamp(16px, 2.6vw, 30px);
  padding-bottom: clamp(6px, 1.4vw, 14px);
}

/* ---------- 首屏 ---------- */
.page-products .pr-hero {
  padding: clamp(14px, 3vw, 30px) 0 clamp(28px, 4vw, 48px);
  border-bottom: var(--hairline);
}

.page-products .pr-hero__grid {
  display: grid;
  gap: clamp(20px, 4vw, 48px);
}

.page-products .pr-hero__mark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.page-products .pr-hero__v {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(88px, 24vw, 168px);
  line-height: 0.8;
  letter-spacing: -0.045em;
  color: var(--orange);
  text-shadow: 0 0 56px rgba(255, 106, 43, 0.3);
}

.page-products .pr-hero__flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--lime);
}

.page-products .pr-hero__copy {
  max-width: 42em;
}

.page-products .pr-hero__copy h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(29px, 5.6vw, 56px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--paper-100);
  margin: 10px 0 0;
  text-wrap: balance;
}

.page-products .pr-hero__copy .lede {
  margin-top: 18px;
  color: var(--silver-light);
  font-size: clamp(15px, 1.6vw, 17.5px);
  line-height: 1.85;
  max-width: 38em;
}

.page-products .pr-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: var(--hairline);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--silver);
}

.page-products .pr-hero__meta .mono {
  color: var(--silver-light);
}

/* ---------- 版本磁贴 ---------- */
.page-products .pr-tiles {
  padding: clamp(24px, 4vw, 44px) 0;
}

.page-products .pr-tiles__grid {
  display: grid;
  gap: 14px;
}

.page-products .pr-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 200px;
  padding: clamp(20px, 3vw, 30px);
  border-radius: 3px;
  text-decoration: none;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease);
}

.page-products .pr-tile--hot {
  background: var(--orange);
  color: var(--ink-900);
  box-shadow: 0 22px 48px -30px rgba(255, 106, 43, 0.95);
}

.page-products .pr-tile--hot:hover,
.page-products .pr-tile--hot:focus-visible {
  transform: translateY(-3px);
  background: var(--orange-soft);
}

.page-products .pr-tile--dead {
  background: var(--ink-800);
  border: var(--hairline-strong);
  color: var(--silver-light);
}

.page-products .pr-tile__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.page-products .pr-tile__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  opacity: 0.8;
}

.page-products .pr-tile__ver {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.page-products .pr-tile__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(21px, 3.2vw, 29px);
  line-height: 1.22;
  letter-spacing: 0.02em;
  margin: 0;
}

.page-products .pr-tile__desc {
  margin: 9px 0 0;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.88;
}

.page-products .pr-tile__go {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.page-products .pr-tile__go--muted {
  color: var(--silver);
}

/* ---------- 界面局部图 ---------- */
.page-products .pr-shot {
  padding-bottom: clamp(28px, 5vw, 56px);
}

.page-products .pr-shot__fig {
  margin: 0;
}

.page-products .pr-shot__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
  border: var(--hairline);
}

.page-products .pr-shot__fig figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--silver);
}

/* ---------- 版本对比 ---------- */
.page-products .pr-compare {
  padding: clamp(32px, 5vw, 68px) 0;
  border-top: var(--hairline);
  border-bottom: var(--hairline);
}

.page-products .pr-compare__grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.page-products .pr-compare__aside {
  max-width: 340px;
}

.page-products .pr-compare__art {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 3px;
  border: var(--hairline);
}

.page-products .pr-compare__aside-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--silver);
}

.page-products .pr-compare__lede {
  margin: 12px 0 26px;
  color: var(--silver-light);
  font-size: 15.5px;
  line-height: 1.82;
  max-width: 40em;
}

.page-products .ver-switch {
  position: relative;
}

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

.page-products .ver-switch__bar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  background: var(--ink-800);
  border: var(--hairline);
  border-radius: 3px;
  overflow: hidden;
}

.page-products .ver-switch__thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: var(--orange);
  border-radius: 2px;
  transition: transform 0.26s var(--ease);
}

.page-products .ver-switch__label {
  position: relative;
  z-index: 1;
  padding: 12px 6px;
  text-align: center;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--silver-light);
  transition: color 0.2s var(--ease);
  user-select: none;
}

.page-products .ver-switch__input:nth-of-type(1):checked ~ .ver-switch__bar .ver-switch__thumb {
  transform: translateX(0);
}

.page-products .ver-switch__input:nth-of-type(2):checked ~ .ver-switch__bar .ver-switch__thumb {
  transform: translateX(100%);
}

.page-products .ver-switch__input:nth-of-type(1):checked ~ .ver-switch__bar .ver-switch__label:nth-of-type(1),
.page-products .ver-switch__input:nth-of-type(2):checked ~ .ver-switch__bar .ver-switch__label:nth-of-type(2) {
  color: var(--ink-900);
  font-weight: 700;
}

.page-products .ver-switch__input:focus-visible ~ .ver-switch__bar {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.page-products .ver-switch__panel {
  display: none;
  margin-top: 18px;
}

.page-products .ver-switch__input:nth-of-type(1):checked ~ #pr-panel-spec {
  display: block;
}

.page-products .ver-switch__input:nth-of-type(2):checked ~ #pr-panel-nav {
  display: block;
}

.page-products .pr-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
  padding: 14px 10px;
  border-bottom: var(--hairline);
}

.page-products .pr-row:nth-child(even) {
  background: rgba(16, 44, 36, 0.55);
}

.page-products .pr-row:not(.pr-row--head):hover {
  background: rgba(255, 106, 43, 0.08);
}

.page-products .pr-row--head {
  border-bottom: var(--hairline-strong);
  padding-top: 0;
  padding-bottom: 8px;
}

.page-products .pr-row--head .pr-row__key {
  display: none;
}

.page-products .pr-row__key {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--silver);
}

.page-products .pr-row__v {
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--silver-light);
}

.page-products .pr-row__v--on {
  color: var(--paper-100);
}

.page-products .pr-row__v--off {
  color: var(--silver);
}

/* ---------- 移动端栏目 ---------- */
.page-products .pr-mobile {
  padding: clamp(32px, 5vw, 68px) 0;
}

.page-products .pr-mobile__grid {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
}

.page-products .pr-mobile__copy p {
  color: var(--silver-light);
  font-size: 15.5px;
  line-height: 1.85;
  max-width: 34em;
}

.page-products .pr-mobile__fig {
  margin: 0;
}

.page-products .pr-mobile__fig img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
  border: var(--hairline);
}

.page-products .pr-mobile__fig figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--silver);
}

/* ---------- 安装三步（奶油纸面） ---------- */
.page-products .pr-install {
  margin: clamp(20px, 4vw, 40px) 0;
  padding: clamp(36px, 6vw, 76px) 0;
  background: var(--paper-100);
  color: var(--brown);
}

.page-products .pr-install .eyebrow {
  color: #7A6A5A;
}

.page-products .pr-install .section-title {
  color: var(--brown);
}

.page-products .pr-install__head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(22px, 3.5vw, 34px);
}

.page-products .pr-install__lede {
  margin: 0;
  color: #5E4F42;
  font-size: 15px;
  line-height: 1.82;
  max-width: 30em;
}

.page-products .pr-install__fig {
  margin: 0 0 clamp(24px, 4vw, 40px);
}

.page-products .pr-install__fig img {
  width: 100%;
  aspect-ratio: 14 / 9;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid rgba(42, 33, 27, 0.14);
}

.page-products .pr-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(20px, 3vw, 28px);
}

.page-products .pr-step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding-top: 20px;
}

.page-products .pr-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(42, 33, 27, 0.18);
}

.page-products .pr-step__num {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--orange);
}

.page-products .pr-step__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(17px, 2vw, 20px);
  letter-spacing: 0.02em;
  color: var(--brown);
  margin: 0 0 8px;
}

.page-products .pr-step__body p {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.8;
  color: #4A3C31;
}

.page-products .pr-step__check {
  border-left: 2px solid var(--orange);
  padding-left: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: #6B5B4D;
}

.page-products .pr-step__check .mono {
  color: var(--brown);
  letter-spacing: 0.08em;
  margin-right: 6px;
}

/* ---------- 灰度节奏 ---------- */
.page-products .pr-release {
  padding: clamp(32px, 5vw, 64px) 0;
}

.page-products .pr-timeline {
  list-style: none;
  margin: 4px 0 26px;
  padding: 0;
}

.page-products .pr-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 2px 14px;
  padding-bottom: 26px;
}

.page-products .pr-timeline__item::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 18px;
  bottom: 0;
  width: 1px;
  background: rgba(159, 176, 173, 0.34);
}

.page-products .pr-timeline__item:last-child::before {
  display: none;
}

.page-products .pr-timeline__dot {
  grid-column: 1;
  grid-row: 1;
  width: 11px;
  height: 11px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(198, 242, 78, 0.14);
}

.page-products .pr-timeline__key {
  grid-column: 2;
  grid-row: 1;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.page-products .pr-timeline__item p {
  grid-column: 2;
  grid-row: 2;
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--silver-light);
  max-width: 44em;
}

/* ---------- 入口路径 ---------- */
.page-products .pr-path {
  padding: clamp(32px, 5vw, 68px) 0;
  border-top: var(--hairline);
}

.page-products .pr-path__grid {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
}

.page-products .pr-path__copy p {
  color: var(--silver-light);
  font-size: 15.5px;
  line-height: 1.85;
  max-width: 34em;
}

.page-products .pr-path__list {
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .pr-path__list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--silver-light);
}

.page-products .pr-path__step {
  font-size: 12px;
  color: var(--orange);
  padding-top: 3px;
}

.page-products .pr-path__fig {
  margin: 0;
}

.page-products .pr-path__fig img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 3px;
  border: var(--hairline);
}

.page-products .pr-path__fig figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--silver);
}

/* ---------- 收尾 ---------- */
.page-products .pr-close {
  padding: clamp(30px, 5vw, 60px) 0 clamp(40px, 6vw, 80px);
}

.page-products .pr-close__inner {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 4vw, 40px);
  background: var(--ink-800);
  border: var(--hairline);
  border-radius: 3px;
}

.page-products .pr-close__inner p {
  margin: 8px 0 0;
  color: var(--silver-light);
  font-size: 14.5px;
  line-height: 1.82;
  max-width: 36em;
}

.page-products .pr-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 媒体查询 ---------- */
@media (min-width: 760px) {
  .page-products .pr-tiles__grid {
    grid-template-columns: 1.42fr 1fr;
  }

  .page-products .pr-row {
    grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr);
    gap: 4px 22px;
    padding: 16px 14px;
    align-items: start;
  }

  .page-products .pr-row__key {
    grid-column: auto;
    padding-top: 2px;
  }

  .page-products .pr-row--head {
    padding-bottom: 10px;
  }

  .page-products .pr-row--head .pr-row__key {
    display: block;
  }

  .page-products .pr-row__v {
    font-size: 15px;
  }
}

@media (min-width: 860px) {
  .page-products .pr-install__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: end;
    gap: 32px;
  }

  .page-products .pr-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 30px;
  }
}

@media (min-width: 900px) {
  .page-products .pr-hero__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: end;
  }

  .page-products .pr-compare__grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
  }

  .page-products .pr-compare__aside {
    max-width: none;
    position: sticky;
    top: 96px;
  }

  .page-products .pr-mobile__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
  }

  .page-products .pr-path__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }
}

@media (min-width: 820px) {
  .page-products .pr-close__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pr-tile,
  .page-products .ver-switch__thumb,
  .page-products .ver-switch__label {
    transition: none;
  }
}
