.page-products {
  --prod-surface: var(--indigo);
  --prod-panel: var(--teal);
  --prod-radius: var(--radius);
  display: block;
  background: var(--ink);
  color: var(--body-ink);
  font-family: var(--font-body);
}

.page-products .wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- 面包屑 ---------- */
.page-products .prod-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
  padding-top: calc(var(--header-h) + 26px);
  padding-bottom: 16px;
  font-size: 13px;
  color: var(--mist);
}

.page-products .prod-crumbs a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-products .prod-crumbs a:hover,
.page-products .prod-crumbs a:focus-visible {
  color: var(--ice);
  border-bottom-color: var(--line-ice);
}

.page-products .prod-crumbs .breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

/* ---------- 页头 ---------- */
.page-products .prod-head {
  padding-bottom: clamp(30px, 4.5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.page-products .prod-head__eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--ice);
}

.page-products .prod-head__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 6vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--pale);
}

.page-products .prod-head__lede {
  max-width: 62ch;
  margin: 0 0 30px;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--body-ink);
}

.page-products .prod-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.page-products .prod-meta__cell dt {
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-products .prod-meta__cell dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--pale);
}

.page-products .prod-meta__cell dd.num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  color: var(--ice);
  letter-spacing: 0.02em;
}

/* ---------- 分区与标题 ---------- */
.page-products .prod-band {
  padding-block: clamp(48px, 7vw, 104px);
}

.page-products .prod-band--tight {
  padding-block: clamp(30px, 4.4vw, 62px);
}

.page-products .prod-blockhead {
  margin-bottom: clamp(22px, 3vw, 36px);
}

.page-products .prod-blockhead__kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--aurora);
}

.page-products .prod-blockhead__title {
  position: relative;
  margin: 0;
  padding-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--pale);
}

.page-products .prod-blockhead__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--line-ice), transparent 78%);
}

/* ---------- 平台切换条 ---------- */
.page-products .prod-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 clamp(24px, 3.4vw, 40px);
  padding: 0;
  list-style: none;
}

.page-products .prod-tab {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--ice);
  border-radius: var(--prod-radius);
  background: var(--prod-surface);
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.page-products .prod-tab:hover,
.page-products .prod-tab:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-ice);
  box-shadow: var(--shadow-soft);
  outline: none;
}

.page-products .prod-tab__os {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--pale);
}

.page-products .prod-tab__note {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--ice);
}

/* ---------- 图片 ---------- */
.page-products .prod-shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--prod-radius);
  overflow: hidden;
  background: var(--prod-surface);
}

.page-products .prod-shot img,
.page-products .prod-strip img,
.page-products .prod-figure img,
.page-products .prod-texture img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .media-frame__caption {
  padding: 12px 16px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--mist);
  border-top: 1px solid var(--line);
  background: rgba(6, 21, 35, 0.6);
}

/* ---------- 平台卡片 ---------- */
.page-products .prod-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: clamp(26px, 4vw, 46px);
}

.page-products .prod-plat {
  position: relative;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--prod-radius);
  background: linear-gradient(180deg, rgba(29, 24, 64, 0.92), rgba(6, 21, 35, 0.92));
  scroll-margin-top: calc(var(--header-h) + 24px);
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.page-products .prod-plat:hover {
  border-color: var(--line-ice);
  transform: translateY(-2px);
}

.page-products .prod-plat__mark {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 38px;
  height: 2px;
  background: var(--ice);
}

.page-products .prod-plat:nth-child(2) .prod-plat__mark {
  background: var(--aurora);
}

.page-products .prod-plat:nth-child(3) .prod-plat__mark {
  background: var(--amber);
}

.page-products .prod-plat:nth-child(4) .prod-plat__mark {
  background: var(--ice-deep);
}

.page-products .prod-plat__name {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--pale);
}

.page-products .prod-plat__form {
  margin: 0 0 4px;
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--mist);
}

.page-products .prod-spec {
  display: grid;
  gap: 0;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .prod-spec li {
  display: grid;
  gap: 4px;
  padding-top: 11px;
  margin-top: 11px;
  border-top: 1px solid var(--line);
}

.page-products .prod-spec .label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-products .prod-spec li > span:last-child {
  font-size: 14px;
  line-height: 1.5;
  color: var(--pale);
}

.page-products .prod-spec .num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  color: var(--ice);
  font-size: 13.5px;
}

/* ---------- 左右分屏 ---------- */
.page-products .prod-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 4.4vw, 58px);
  align-items: start;
}

.page-products .prod-side {
  display: grid;
  gap: clamp(18px, 2.6vw, 28px);
}

.page-products .prod-main {
  display: grid;
  gap: clamp(44px, 5.6vw, 78px);
}

/* ---------- 校验面板 ---------- */
.page-products .prod-verify {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-top: 2px solid var(--aurora);
  border-radius: var(--prod-radius);
  background: var(--prod-panel);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.page-products .prod-verify__kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--aurora);
}

.page-products .prod-verify__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(21px, 2.8vw, 27px);
  line-height: 1.24;
  letter-spacing: -0.015em;
  color: var(--pale);
}

.page-products .prod-verify p {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--body-ink);
}

.page-products .prod-hash {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .prod-hash li {
  padding-top: 13px;
  border-top: 1px solid var(--line-ice);
}

.page-products .prod-hash__os {
  display: block;
  margin-bottom: 7px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-products .prod-hash__value {
  display: block;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums slashed-zero;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ice);
  word-break: break-all;
  user-select: all;
}

.page-products .prod-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--prod-radius);
  overflow: hidden;
  background: var(--prod-surface);
}

/* ---------- 功能清单 ---------- */
.page-products .prod-block__title {
  position: relative;
  margin: 0;
  padding-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--pale);
}

.page-products .prod-block__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--line-ice), transparent 80%);
}

.page-products .prod-block__lede {
  max-width: 60ch;
  margin: 18px 0 26px;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--body-ink);
}

.page-products .prod-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-products .prod-feature {
  border: 1px solid var(--line);
  border-left: 2px solid var(--ice);
  border-radius: var(--prod-radius);
  background: linear-gradient(180deg, rgba(29, 24, 64, 0.78), rgba(6, 21, 35, 0.78));
  transition: border-color 0.22s ease;
}

.page-products .prod-feature[open] {
  border-left-color: var(--amber);
}

.page-products .prod-feature:hover {
  border-color: var(--line-ice);
}

.page-products .prod-feature__sum {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 18px;
  cursor: pointer;
  list-style: none;
}

.page-products .prod-feature__sum::-webkit-details-marker {
  display: none;
}

.page-products .prod-feature__sum::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-num);
  font-size: 16px;
  line-height: 1;
  color: var(--mist);
  transition: color 0.2s ease;
}

.page-products .prod-feature[open] .prod-feature__sum::after {
  content: "−";
  color: var(--amber);
}

.page-products .prod-feature__index {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--ice);
}

.page-products .prod-feature__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--pale);
}

.page-products .prod-feature__hint {
  flex: 1 1 100%;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-products .prod-feature__body {
  margin: 0;
  padding: 0 18px 20px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--body-ink);
}

.page-products .prod-strip {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--prod-radius);
  overflow: hidden;
  background: var(--prod-surface);
}

/* ---------- 版本时间轴 ---------- */
.page-products .prod-timeline {
  position: relative;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .prod-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 7px;
  width: 1px;
  background: linear-gradient(180deg, var(--ice), rgba(138, 221, 255, 0.06));
}

.page-products .prod-timeline__item {
  position: relative;
  padding: 0 0 26px 32px;
}

.page-products .prod-timeline__item:last-child {
  padding-bottom: 0;
}

.page-products .prod-timeline__item::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid var(--ice);
  border-radius: 50%;
  background: var(--ink);
}

.page-products .prod-timeline__item:first-child::before {
  border-color: var(--aurora);
  background: var(--aurora);
}

.page-products .prod-rel__sum {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  cursor: pointer;
  list-style: none;
}

.page-products .prod-rel__sum::-webkit-details-marker {
  display: none;
}

.page-products .prod-rel__ver {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums slashed-zero;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--pale);
}

.page-products .prod-rel__tag {
  padding: 3px 9px;
  border: 1px solid var(--line-ice);
  border-radius: var(--prod-radius);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ice);
}

.page-products .prod-rel__title {
  flex: 1 1 100%;
  font-size: 15px;
  line-height: 1.6;
  color: var(--body-ink);
}

.page-products .prod-rel[open] .prod-rel__title {
  color: var(--pale);
}

.page-products .prod-rel__body {
  padding: 12px 0 0;
}

.page-products .prod-rel__body p {
  margin: 0;
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--mist);
}

.page-products .prod-texture {
  margin: 34px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--prod-radius);
  overflow: hidden;
  background: var(--prod-surface);
}

/* ---------- 入口调整 ---------- */
.page-products .prod-entry {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 42px);
  padding: clamp(24px, 3.4vw, 42px);
  border: 1px solid var(--line);
  border-left: 2px solid var(--amber);
  border-radius: var(--prod-radius);
  background: linear-gradient(118deg, rgba(29, 24, 64, 0.72), rgba(6, 21, 35, 0.4));
}

.page-products .prod-entry__kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--amber);
}

.page-products .prod-entry__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--pale);
}

.page-products .prod-entry__body p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--body-ink);
}

.page-products .prod-entry__body p:last-child {
  margin-bottom: 0;
}

/* ---------- 安装排障 ---------- */
.page-products .prod-fixes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .prod-fix {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.page-products .prod-fix:last-child {
  border-bottom: 1px solid var(--line);
}

.page-products .prod-fix__title {
  margin: 0 0 7px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--pale);
}

.page-products .prod-fix__desc {
  margin: 0;
  max-width: 68ch;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--body-ink);
}

.page-products .prod-fix__link {
  align-self: start;
  justify-self: start;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid var(--line-ice);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-products .prod-fix__link:hover,
.page-products .prod-fix__link:focus-visible {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.page-products .prod-tip {
  margin: 24px 0 0;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--mist);
}

.page-products .prod-tip a {
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid var(--line-ice);
}

.page-products .prod-tip a:hover,
.page-products .prod-tip a:focus-visible {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

/* ---------- 行动区 ---------- */
.page-products .prod-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 40px);
  padding: clamp(26px, 3.8vw, 48px);
  border: 1px solid var(--line);
  border-top: 2px solid var(--amber);
  border-radius: var(--prod-radius);
  background: linear-gradient(132deg, rgba(124, 32, 64, 0.32), rgba(29, 24, 64, 0.62) 56%, rgba(6, 21, 35, 0.94));
}

.page-products .prod-cta__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(23px, 3.4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--pale);
}

.page-products .prod-cta__text {
  margin: 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--body-ink);
}

.page-products .prod-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .prod-cta__actions .btn {
  flex: 0 1 auto;
}

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

  .page-products .prod-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .page-products .prod-fix {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .page-products .prod-entry {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

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

  .page-products .prod-cta {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
  }

  .page-products .prod-cta__actions {
    justify-content: flex-end;
  }
}

@media (min-width: 980px) {
  .page-products .prod-split {
    grid-template-columns: minmax(280px, 33%) minmax(0, 1fr);
    gap: clamp(34px, 3.6vw, 62px);
  }

  .page-products .prod-side {
    position: sticky;
    top: calc(var(--header-h) + 26px);
  }
}

@media (min-width: 1200px) {
  .page-products .prod-split {
    grid-template-columns: minmax(320px, 30%) minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .prod-tab,
  .page-products .prod-plat,
  .page-products .prod-feature,
  .page-products .prod-fix__link {
    transition: none;
  }

  .page-products .prod-tab:hover,
  .page-products .prod-plat:hover {
    transform: none;
  }
}
