.page-products {
  --pp-space: clamp(40px, 6vw, 88px);
  --pp-gap: clamp(24px, 3vw, 48px);
  --pp-line: 2px solid rgba(242, 234, 217, .16);
  --pp-line-ink: 2px solid rgba(35, 24, 15, .22);
}

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

.page-products h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.18;
  letter-spacing: .01em;
  margin: 10px 0 0;
}

.page-products h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .01em;
}

/* ---------- 面包屑 ---------- */
.page-products .products-crumb {
  padding-top: clamp(16px, 2.4vw, 28px);
}

/* ---------- 首屏 ---------- */
.page-products .product-hero {
  position: relative;
  margin-top: clamp(14px, 2vw, 22px);
  padding-block: clamp(28px, 4.5vw, 60px) clamp(44px, 6vw, 88px);
  background:
    radial-gradient(110% 80% at 84% 4%, rgba(75, 240, 176, .13), transparent 58%),
    radial-gradient(80% 60% at 6% 96%, rgba(240, 169, 59, .08), transparent 60%),
    linear-gradient(180deg, var(--ink-deep) 0%, var(--ink) 72%);
  border-top: var(--pp-line);
  overflow: hidden;
}

.page-products .product-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.page-products .product-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 6.2vw, 72px);
  line-height: 1.04;
  letter-spacing: .005em;
  color: var(--cream);
  margin: 14px 0 0;
  max-width: 15ch;
}

.page-products .product-hero__lede {
  margin: 22px 0 0;
  max-width: 58ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.9;
  color: var(--mist);
}

.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* 设备对照表 */
.page-products .compat-wrap {
  margin-top: clamp(28px, 3.4vw, 40px);
  overflow-x: auto;
  border-top: 2px solid rgba(75, 240, 176, .55);
  -webkit-overflow-scrolling: touch;
}

.page-products .compat {
  width: 100%;
  min-width: 430px;
  border-collapse: collapse;
  font-size: 13px;
}

.page-products .compat th,
.page-products .compat td {
  padding: 11px 12px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid rgba(242, 234, 217, .14);
}

.page-products .compat thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--mist);
  border-bottom: 2px solid rgba(242, 234, 217, .3);
}

.page-products .compat tbody th {
  font-weight: 600;
  color: var(--cream);
}

.page-products .compat tbody td {
  font-family: var(--font-mono);
  color: var(--mist);
  letter-spacing: .02em;
}

.page-products .compat td.is-full {
  color: var(--neon);
}

.page-products .compat td.is-full::before {
  content: "✓ ";
  font-size: 12px;
}

/* 首屏图 */
.page-products .product-hero__media {
  margin: 0;
  border: 3px solid var(--cream);
  background: var(--turf);
  position: relative;
}

.page-products .product-hero__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon), var(--amber) 55%, var(--red));
}

/* ---------- 设备带 ---------- */
.page-products .device-band {
  padding-block: var(--pp-space);
  background: var(--turf);
  border-top: var(--pp-line);
  border-bottom: var(--pp-line);
}

.page-products .device-band h2 {
  color: var(--cream);
  max-width: 22ch;
}

.page-products .device-band__banner {
  width: 100%;
  margin-block: clamp(24px, 3vw, 44px);
  border: 2px solid rgba(242, 234, 217, .14);
  background: var(--ink-deep);
}

.page-products .device-band__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pp-gap);
  align-items: start;
}

.page-products .device-card {
  padding: 20px 22px;
  background: rgba(8, 12, 11, .55);
  border: 2px solid rgba(242, 234, 217, .14);
  border-left: 3px solid var(--neon);
  transition: border-color .16s var(--ease), background .16s var(--ease);
}

.page-products .device-card + .device-card {
  margin-top: 14px;
}

.page-products .device-card:hover {
  background: rgba(8, 12, 11, .78);
  border-color: rgba(169, 255, 221, .4);
  border-left-color: var(--neon-mist);
}

.page-products .device-card__spec {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--neon);
}

.page-products .device-card h3 {
  margin: 10px 0 8px;
  font-size: clamp(17px, 2.1vw, 21px);
  color: var(--cream);
}

.page-products .device-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--mist);
}

.page-products .device-band__phone {
  margin: 0;
  border: 2px solid rgba(242, 234, 217, .2);
  background: var(--ink-deep);
}

/* ---------- 阵容变动回溯 ---------- */
.page-products .recall {
  padding-block: var(--pp-space);
  background: var(--ink);
}

.page-products .recall h2 {
  color: var(--cream);
}

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

.page-products .recall__lede {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--mist);
  max-width: 42ch;
}

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

.page-products .recall__path {
  position: relative;
  padding: 22px 24px 22px 74px;
  background: rgba(20, 35, 29, .62);
  border: 2px solid rgba(242, 234, 217, .14);
  border-left: 3px solid var(--neon);
  transition: transform .16s var(--ease), border-color .16s var(--ease);
}

.page-products .recall__path + .recall__path {
  margin-top: 14px;
}

.page-products .recall__path:hover {
  transform: translateX(4px);
  border-color: rgba(169, 255, 221, .36);
}

.page-products .path-idx {
  position: absolute;
  left: 24px;
  top: 23px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--neon);
}

.page-products .recall__path h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--cream);
}

.page-products .recall__path p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--mist);
}

/* ---------- 射门统计 ---------- */
.page-products .shots {
  padding-block: var(--pp-space);
  background: var(--turf);
  border-top: var(--pp-line);
  border-bottom: var(--pp-line);
}

.page-products .shots h2 {
  color: var(--cream);
  max-width: 24ch;
}

.page-products .slice-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-block: clamp(22px, 3vw, 34px);
}

.page-products .slice {
  padding: 16px 4px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--neon-mist);
  background: linear-gradient(180deg, rgba(75, 240, 176, .24), rgba(75, 240, 176, .04));
  border: 1px solid rgba(75, 240, 176, .35);
}

.page-products .shots__lede {
  margin: 0 0 clamp(22px, 3vw, 34px);
  max-width: 66ch;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--mist);
}

.page-products .field-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-products .field {
  padding: 18px 20px;
  background: rgba(8, 12, 11, .55);
  border: 2px solid rgba(242, 234, 217, .14);
}

.page-products .field h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--neon-mist);
}

.page-products .field p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--mist);
}

/* ---------- 排名带 ---------- */
.page-products .rank-strip {
  padding-block: var(--pp-space);
  background: var(--ink);
}

.page-products .rank-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pp-gap);
  align-items: center;
}

.page-products .rank-strip__media {
  margin: 0;
  border: 2px solid rgba(242, 234, 217, .2);
  background: var(--turf);
}

.page-products .rank-strip h2 {
  color: var(--cream);
}

.page-products .rank-strip__copy p {
  margin: 18px 0 0;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--mist);
  max-width: 56ch;
}

.page-products .rank-legend {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.page-products .rank-legend__item {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  padding: 6px 14px;
  border: 1px solid transparent;
}

.page-products .rank-legend__item--up {
  color: var(--amber);
  border-color: rgba(240, 169, 59, .45);
  background: linear-gradient(90deg, rgba(240, 169, 59, .18), rgba(240, 169, 59, 0));
}

.page-products .rank-legend__item--down {
  color: var(--red);
  border-color: rgba(216, 68, 42, .45);
  background: linear-gradient(90deg, rgba(216, 68, 42, .18), rgba(142, 35, 18, 0));
}

/* ---------- 安装步骤 ---------- */
.page-products .install {
  padding-block: var(--pp-space);
}

.page-products .install h2 {
  color: var(--brown);
}

.page-products .install .label-index {
  color: rgba(35, 24, 15, .68);
}

.page-products .steps {
  list-style: none;
  margin: clamp(26px, 3.4vw, 42px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-products .step {
  padding: 24px 22px 26px;
  border: 3px solid var(--brown);
  background: transparent;
  box-shadow: 6px 6px 0 rgba(35, 24, 15, .18);
}

.page-products .step__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--brown);
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 3px solid var(--brown);
}

.page-products .step h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--brown);
}

.page-products .step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(35, 24, 15, .82);
}

.page-products .install__figure {
  margin: clamp(30px, 4vw, 50px) 0 0;
  border: 3px solid var(--brown);
  box-shadow: 8px 8px 0 rgba(35, 24, 15, .2);
  background: var(--cream);
}

.page-products .install__figure .figure-caption {
  color: rgba(35, 24, 15, .72);
  border-top: var(--pp-line-ink);
}

/* ---------- 版本记录 ---------- */
.page-products .releases {
  padding-block: var(--pp-space);
  background: var(--ink);
}

.page-products .releases h2 {
  color: var(--cream);
}

.page-products .release-list {
  margin-top: clamp(24px, 3vw, 40px);
  border-top: 2px solid rgba(242, 234, 217, .18);
}

.page-products .release {
  border-bottom: 2px solid rgba(242, 234, 217, .18);
}

.page-products .release summary {
  position: relative;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 18px 46px 18px 4px;
  cursor: pointer;
  list-style: none;
}

.page-products .release summary::-webkit-details-marker {
  display: none;
}

.page-products .release summary::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--neon);
  transition: color .16s var(--ease);
}

.page-products .release[open] summary::after {
  content: "-";
}

.page-products .release summary:hover .release__name {
  color: var(--neon-mist);
}

.page-products .release__ver {
  flex: none;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--neon);
}

.page-products .release__name {
  font-size: clamp(16px, 1.9vw, 19px);
  font-weight: 600;
  color: var(--cream);
  transition: color .16s var(--ease);
}

.page-products .release p {
  margin: 0;
  padding: 0 52px 22px 4px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--mist);
  max-width: 78ch;
}

/* ---------- 尾部指引 ---------- */
.page-products .products-cta {
  padding-block: clamp(38px, 5vw, 76px);
}

.page-products .products-cta h2 {
  color: var(--brown);
  max-width: 20ch;
}

.page-products .products-cta .label-index {
  color: rgba(35, 24, 15, .68);
}

.page-products .cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

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

@media (min-width: 720px) {
  .page-products .slice-bar {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 880px) {
  .page-products .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .page-products .device-band__grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  }

  .page-products .rank-strip__grid {
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  }
}

@media (min-width: 960px) {
  .page-products .product-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  }

  .page-products .recall__grid {
    grid-template-columns: minmax(0, .38fr) minmax(0, .62fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .device-card,
  .page-products .recall__path,
  .page-products .release summary::after,
  .page-products .release__name {
    transition: none;
  }

  .page-products .recall__path:hover {
    transform: none;
  }
}
