.page-products {
  --pp-shadow: 0 18px 44px rgba(20, 22, 26, .1);
  background: var(--paper);
  color: var(--ink-900);
  overflow-x: hidden;
}

.page-products .breadcrumb {
  padding: 22px 0 4px;
}

/* ---------- 首屏 ---------- */
.page-products .hero {
  position: relative;
  padding: clamp(20px, 4vw, 44px) 0 clamp(40px, 7vw, 84px);
  overflow: hidden;
}

.page-products .hero::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -12%;
  width: min(560px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 40%, rgba(255, 90, 31, .32), rgba(255, 197, 61, .18) 46%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}

.page-products .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}

.page-products .hero-main .eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--neutral);
}

.page-products .hero-main h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 11vw, 88px);
  line-height: .98;
  letter-spacing: -.02em;
}

.page-products .hero-lead {
  margin: 0 0 12px;
  max-width: 34ch;
  font-size: clamp(16px, 2.4vw, 19px);
  line-height: 1.7;
  font-weight: 600;
}

.page-products .hero-sub {
  margin: 0 0 26px;
  max-width: 36ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--neutral);
}

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

.page-products .hero-index {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px 20px 16px;
  box-shadow: var(--pp-shadow);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.page-products .hero-index-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--neutral);
}

.page-products .hero-index-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.page-products .hero-index-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 6px;
  color: var(--ink-900);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
  transition: color .18s var(--ease), padding-left .18s var(--ease);
}

.page-products .hero-index-list li:last-child a {
  border-bottom: 0;
}

.page-products .hero-index-list a:hover {
  color: var(--orange);
  padding-left: 12px;
}

.page-products .hero-index-list a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.page-products .idx-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
}

/* ---------- 章节通用 ---------- */
.page-products .spot {
  padding: clamp(12px, 3vw, 28px) 0 clamp(48px, 8vw, 92px);
}

.page-products .spot--alt {
  background: var(--paper-deep);
  padding-top: clamp(40px, 7vw, 76px);
  padding-bottom: clamp(48px, 8vw, 92px);
}

.page-products .section-index {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.page-products .section-index-num {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 13px;
  padding: 3px 9px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
}

.page-products .section-index-label {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--neutral);
  font-weight: 700;
}

.page-products .section-index--dark .section-index-label {
  color: rgba(255, 249, 240, .72);
}

.page-products .spot-head h2,
.page-products .activity-head h2,
.page-products .device-copy h2,
.page-products .tips-band h2,
.page-products .closing-copy h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 5vw, 40px);
  line-height: 1.16;
  letter-spacing: -.01em;
  margin: 0 0 14px;
}

.page-products .prose {
  max-width: 38ch;
  font-size: 16px;
  line-height: 1.78;
  margin: 0 0 26px;
}

/* ---------- 媒体 ---------- */
.page-products .media {
  margin: 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 90, 31, .28), transparent 62%),
    radial-gradient(circle at 76% 72%, rgba(11, 42, 74, .24), transparent 60%),
    var(--coral);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.page-products .media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .media-caption {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--neutral);
  background: #fff;
}

.page-products .activity-band .media-caption {
  background: var(--blue-soft);
  color: rgba(255, 249, 240, .78);
}

/* ---------- 分类矩阵 ---------- */
.page-products .cat-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.page-products .cat-cell {
  background: #fff;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.page-products .cat-cell:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(20, 22, 26, .1);
}

.page-products .cat-cell[open] {
  border-color: var(--orange);
}

.page-products .cat-cell summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 12px;
  min-height: 96px;
}

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

.page-products .cat-cell summary:focus-visible {
  box-shadow: inset 0 0 0 2px var(--focus);
}

.page-products .cat-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 700;
  color: var(--neutral);
  letter-spacing: .06em;
}

.page-products .cat-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ink-900);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s var(--ease);
}

.page-products .cat-cell:hover .cat-icon {
  transform: translateX(3px);
}

.page-products .cat-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
}

.page-products .cat-desc {
  margin: 0;
  padding: 0 12px 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--neutral);
}

.page-products .cat-cell.is-hot {
  background: var(--orange);
  border-color: var(--orange);
}

.page-products .cat-cell.is-hot .cat-num {
  color: rgba(255, 255, 255, .82);
}

.page-products .cat-cell.is-hot .cat-icon {
  stroke: #fff;
}

.page-products .cat-cell.is-hot .cat-name {
  color: #fff;
}

.page-products .cat-cell.is-hot .cat-desc {
  color: rgba(255, 255, 255, .92);
}

.page-products .matrix-note {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--neutral);
}

/* ---------- 入口类型 ---------- */
.page-products .entry-layout {
  display: grid;
  gap: 24px;
}

.page-products .entry-figure {
  align-self: start;
}

.page-products .entry-cards {
  display: grid;
  gap: 14px;
}

.page-products .entry-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  transition: transform .18s var(--ease), border-color .18s var(--ease);
}

.page-products .entry-card:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
}

.page-products .entry-tag {
  display: inline-block;
  margin: 0 0 10px;
}

.page-products .entry-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.page-products .entry-card p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--neutral);
}

/* ---------- 活动中心 ---------- */
.page-products .activity-band {
  background: var(--blue);
  color: var(--paper);
  padding: clamp(44px, 8vw, 88px) 0;
}

.page-products .activity-head p {
  margin: 0 0 28px;
  max-width: 40ch;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(255, 249, 240, .82);
}

.page-products .tablist {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255, 249, 240, .22);
  padding-bottom: 0;
  scrollbar-width: thin;
}

.page-products .tab {
  flex: 0 0 auto;
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  color: rgba(255, 249, 240, .66);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  padding: 12px 14px;
  cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.page-products .tab:hover {
  color: #fff;
}

.page-products .tab[aria-selected="true"] {
  color: #fff;
  border-bottom-color: var(--mint);
}

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

.page-products .tabpanel {
  padding-top: 26px;
}

.page-products .tabpanel + .tabpanel {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 249, 240, .16);
}

.page-products .tabpanel h3 {
  margin: 0 0 12px;
  font-size: clamp(20px, 3.6vw, 26px);
  font-weight: 900;
  line-height: 1.25;
}

.page-products .tabpanel p {
  margin: 0 0 16px;
  max-width: 40ch;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(255, 249, 240, .86);
}

.page-products .panel-foot {
  font-size: 13px;
  color: rgba(255, 249, 240, .66);
}

.page-products .rule-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.page-products .rule-list li {
  position: relative;
  padding: 14px 16px 14px 18px;
  background: var(--blue-soft);
  border-left: 3px solid var(--yellow);
  font-size: 14px;
  line-height: 1.72;
  color: rgba(255, 249, 240, .88);
}

.page-products .rule-list strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 15px;
}

.page-products .timeline {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.page-products .timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
}

.page-products .timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 18px;
  bottom: -16px;
  width: 2px;
  background: rgba(47, 211, 165, .36);
}

.page-products .tl-dot {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(47, 211, 165, .18);
}

.page-products .tl-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.page-products .tl-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 249, 240, .78);
  max-width: none;
}

.page-products .fav-figure {
  max-width: 300px;
  margin-bottom: 18px;
}

.page-products .activity-figure {
  margin-top: 30px;
}

/* ---------- 换设备 ---------- */
.page-products .device-layout {
  display: grid;
  gap: 26px;
}

.page-products .device-copy p {
  margin: 0 0 14px;
  max-width: 38ch;
  font-size: 16px;
  line-height: 1.78;
}

.page-products .device-points {
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-products .device-points li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-700);
}

.page-products .device-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--mint);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.page-products .device-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 小窍门 ---------- */
.page-products .tips-band {
  background: var(--coral);
  padding: clamp(44px, 8vw, 84px) 0;
  margin-top: clamp(20px, 5vw, 48px);
}

.page-products .tips-band h2 {
  max-width: 22ch;
}

.page-products .tips-list {
  margin: 26px 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.page-products .tips-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 18px 18px 16px;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}

.page-products .tips-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.2;
}

.page-products .tips-list h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.page-products .tips-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--neutral);
}

.page-products .tips-link {
  margin: 0;
  max-width: 44ch;
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-700);
}

.page-products .tips-link a {
  color: var(--orange-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

.page-products .tips-link a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* ---------- 收尾 ---------- */
.page-products .closing {
  padding: clamp(40px, 7vw, 76px) 0 clamp(50px, 8vw, 88px);
}

.page-products .closing-inner {
  display: grid;
  gap: 20px;
  align-items: center;
  border-top: 2px solid var(--ink-900);
  padding-top: clamp(24px, 4vw, 40px);
}

.page-products .closing-copy h2 {
  margin: 0 0 8px;
}

.page-products .closing-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--neutral);
  max-width: 34ch;
}

.page-products .closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-products .cat-matrix {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (min-width: 900px) {
  .page-products .hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr);
    align-items: end;
  }

  .page-products .entry-layout {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 32px;
    align-items: start;
  }

  .page-products .device-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 40px;
    align-items: center;
  }

  .page-products .device-figure {
    order: 0;
  }

  .page-products .closing-inner {
    grid-template-columns: 1fr auto;
  }

  .page-products .tips-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .closing-actions {
    justify-content: flex-end;
  }
}

@media (min-width: 1080px) {
  .page-products .cat-matrix {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
  }

  .page-products .cat-cell summary {
    min-height: 108px;
  }

  .page-products .entry-cards {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .cat-cell,
  .page-products .cat-icon,
  .page-products .entry-card,
  .page-products .hero-index-list a,
  .page-products .tab {
    transition: none;
  }

  .page-products .cat-cell:hover,
  .page-products .entry-card:hover {
    transform: none;
  }

  .page-products .cat-cell:hover .cat-icon {
    transform: none;
  }
}
