.page-products {
  background: var(--crane);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

.page-products figure {
  margin: 0;
}

.page-products h1,
.page-products h2,
.page-products h3 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.page-products h1 {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 14px 0 0;
  max-width: 14em;
}

.page-products h2 {
  font-size: clamp(1.55rem, 3.6vw, 2.5rem);
  line-height: 1.16;
  margin: 12px 0 0;
}

.page-products h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.4;
  margin: 0;
}

.page-products .index-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--warm);
  margin: 0;
}

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

.page-products .breadcrumb {
  margin: 0 0 clamp(18px, 3vw, 30px);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--warm);
}

.page-products .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.page-products .breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: var(--mist);
}

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

.page-products .breadcrumb a:hover {
  border-bottom-color: var(--teal);
}

/* 首屏 */
.page-products .p-hero {
  padding-bottom: clamp(40px, 6vw, 80px);
}

.page-products .hero-grid {
  display: grid;
  gap: clamp(30px, 4vw, 52px);
  align-items: start;
}

.page-products .hero-lede {
  max-width: 32em;
  margin: 22px 0 0;
  font-size: clamp(1rem, 1.7vw, 1.14rem);
  line-height: 1.85;
  color: var(--ink);
}

.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 34px);
}

.page-products .hero-actions .btn {
  min-height: 50px;
  padding-inline: 26px;
}

.page-products .hero-stamp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  font-size: 0.78rem;
  color: var(--warm);
}

.page-products .stamp-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border: 1px solid var(--mist);
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink);
}

.page-products .stamp-sep {
  color: var(--mist);
}

.page-products .hero-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-products .hero-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--mist);
}

.page-products .hero-frame img {
  width: 100%;
  object-fit: cover;
}

.page-products .entry-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-products .entry-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--mist);
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease);
}

.page-products .entry-arrow {
  color: var(--teal);
  transition: transform 0.22s var(--ease);
}

.page-products .entry-pill:hover {
  border-color: var(--red);
  background: #fff;
}

.page-products .entry-pill:hover .entry-arrow {
  transform: translateX(4px);
}

/* 版本铭牌 */
.page-products .p-plate {
  padding-block: clamp(8px, 2vw, 20px) clamp(36px, 5vw, 64px);
}

.page-products .plate {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--crane);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 56px);
}

.page-products .plate::after {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, rgba(232, 119, 106, 0.35), transparent 66%);
  pointer-events: none;
}

.page-products .plate-head {
  position: relative;
  z-index: 1;
  max-width: 40em;
}

.page-products .plate .index-label {
  color: var(--teal-bright);
}

.page-products .plate h2 {
  color: var(--paper);
}

.page-products .plate-note {
  margin: 16px 0 clamp(24px, 3vw, 36px);
  font-size: 0.98rem;
  line-height: 1.8;
  color: rgba(246, 242, 234, 0.82);
}

.page-products .plate-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1px;
  margin: 0;
  background: rgba(246, 242, 234, 0.18);
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-products .plate-item {
  margin: 0;
  padding: 18px 20px;
  background: var(--deep);
}

.page-products .plate-item dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--teal-bright);
}

.page-products .plate-item dd {
  margin: 10px 0 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(246, 242, 234, 0.92);
}

.page-products .plate-item dd strong {
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 4vw, 2.1rem);
  letter-spacing: 0.04em;
  color: var(--paper);
}

/* 通用章节 */
.page-products .section {
  padding-block: clamp(48px, 7vw, 96px);
}

.page-products .section--tight {
  padding-block: clamp(28px, 4vw, 48px);
}

.page-products .chapter-head {
  max-width: 46em;
}

.page-products .chapter-lede {
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--warm);
}

/* 设备切换 */
.page-products .tabs {
  margin-top: clamp(26px, 4vw, 42px);
}

.page-products .tab-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  clip-path: inset(50%);
}

.page-products .tab-bar {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  background: var(--mist);
  border-radius: var(--r-pill);
}

.page-products .tab-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease);
}

.page-products #tab-desktop:checked ~ .tab-bar label[for="tab-desktop"],
.page-products #tab-mobile:checked ~ .tab-bar label[for="tab-mobile"] {
  background: var(--red);
  color: var(--paper);
}

.page-products #tab-desktop:focus-visible ~ .tab-bar label[for="tab-desktop"],
.page-products #tab-mobile:focus-visible ~ .tab-bar label[for="tab-mobile"] {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.page-products .tab-panel {
  display: none;
}

.page-products #tab-desktop:checked ~ .panel-desktop,
.page-products #tab-mobile:checked ~ .panel-mobile {
  display: grid;
  gap: clamp(22px, 3.4vw, 40px);
  margin-top: clamp(20px, 3vw, 30px);
  padding: clamp(20px, 3vw, 36px);
  border-radius: var(--r-lg);
}

.page-products .panel-desktop {
  background: var(--paper);
  border: 1px solid var(--mist);
}

.page-products .panel-mobile {
  background: var(--deep);
  border: 1px solid var(--deep);
}

.page-products .panel-figure {
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-products .panel-figure img {
  width: 100%;
  object-fit: cover;
}

.page-products .panel-figure--tall {
  max-width: 420px;
  justify-self: center;
  width: 100%;
}

.page-products .panel-copy p {
  margin: 14px 0 0;
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--warm);
}

.page-products .cap-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.page-products .cap-list li {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid var(--mist);
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--ink);
}

.page-products .cap-key {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--teal);
}

.page-products .panel-mobile h3 {
  color: var(--paper);
}

.page-products .panel-mobile .panel-copy p {
  color: rgba(246, 242, 234, 0.82);
}

.page-products .panel-mobile .cap-list li {
  border-top-color: rgba(246, 242, 234, 0.2);
  color: rgba(246, 242, 234, 0.92);
}

.page-products .panel-mobile .cap-key {
  color: var(--teal-bright);
}

/* 测试版色带 */
.page-products .p-beta {
  padding-block: clamp(48px, 7vw, 96px);
}

.page-products .beta-grid {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.page-products .beta-copy .index-label {
  color: var(--teal-bright);
}

.page-products .beta-copy h2 {
  color: var(--paper);
}

.page-products .beta-lede {
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(246, 242, 234, 0.86);
  max-width: 34em;
}

.page-products .beta-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

.page-products .beta-points {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.page-products .beta-points li {
  position: relative;
  padding: 0 0 0 22px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(246, 242, 234, 0.9);
}

.page-products .beta-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 2px;
  background: var(--red-bright);
}

.page-products .beta-sheets {
  margin-top: clamp(22px, 3vw, 30px);
}

.page-products .beta-figure {
  border-radius: var(--r-lg);
  overflow: hidden;
}

.page-products .beta-figure img {
  width: 100%;
  object-fit: cover;
}

/* 手风琴补充（深色带内） */
.page-products .sheet + .sheet {
  margin-top: 12px;
}

.page-products .beta-copy .sheet {
  background: rgba(246, 242, 234, 0.06);
  border-radius: var(--r-md);
  border-color: rgba(246, 242, 234, 0.24);
}

.page-products .beta-copy .sheet summary {
  color: var(--paper);
}

.page-products .beta-copy .sheet .sheet-body p {
  color: rgba(246, 242, 234, 0.84);
}

/* 安装五步 */
.page-products .steps {
  list-style: none;
  margin: clamp(26px, 4vw, 42px) 0 0;
  padding: 0;
}

.page-products .steps li {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: clamp(18px, 2.6vw, 26px) 0;
  border-top: 1px solid var(--mist);
}

.page-products .steps li:last-child {
  border-bottom: 1px solid var(--mist);
}

.page-products .step-num {
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  letter-spacing: 0.02em;
  color: var(--red);
  line-height: 1;
}

.page-products .step-body p {
  margin: 10px 0 0;
  font-size: 0.96rem;
  line-height: 1.85;
  color: var(--warm);
  max-width: 52em;
}

.page-products .install-foot {
  margin: clamp(24px, 3vw, 34px) 0 0;
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--warm);
}

.page-products .link-arrow {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(14, 111, 110, 0.35);
  transition: border-color 0.2s var(--ease);
}

.page-products .link-arrow:hover {
  border-bottom-color: var(--teal);
}

/* 版本记录 */
.page-products .records-grid {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
}

.page-products .track {
  position: relative;
  list-style: none;
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 0 0 0 24px;
  border-left: 1px solid var(--mist);
}

.page-products .track li {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 0 0 clamp(20px, 3vw, 28px);
}

.page-products .track li::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 0.45em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--mist);
  border: 2px solid var(--crane);
}

.page-products .track li.is-current::before {
  background: var(--red);
}

.page-products .track-ver {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--teal);
}

.page-products .track-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink);
}

.page-products .track-note {
  margin: 0;
  padding-left: 24px;
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--warm);
}

.page-products .record-more {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.92rem;
}

.page-products .records-figure {
  margin-top: clamp(30px, 4vw, 48px);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--mist);
}

.page-products .records-figure img {
  width: 100%;
  object-fit: cover;
}

/* 结尾联系 */
.page-products .p-cta {
  padding-block: clamp(48px, 6vw, 88px);
}

.page-products .cta-grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

.page-products .cta-copy .index-label {
  color: var(--teal-bright);
}

.page-products .cta-copy h2 {
  color: var(--paper);
}

.page-products .cta-copy p {
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(246, 242, 234, 0.84);
  max-width: 36em;
}

.page-products .cta-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-products .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
}

.page-products .cta-actions .btn {
  min-height: 50px;
  padding-inline: 26px;
}

.page-products .p-cta .btn--ghost {
  color: var(--paper);
  border-color: rgba(246, 242, 234, 0.55);
}

.page-products .p-cta .btn--ghost:hover {
  border-color: var(--paper);
  color: var(--paper);
}

.page-products .cta-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.page-products .cta-key {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--red-bright);
}

.page-products .cta-contact a,
.page-products .cta-value {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 242, 234, 0.35);
}

.page-products .cta-contact a:hover {
  border-bottom-color: var(--paper);
}

.page-products .cta-note {
  margin: 6px 0 0;
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(246, 242, 234, 0.62);
  max-width: 30em;
}

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

  .page-products .plate-item--wide {
    grid-column: 1 / -1;
  }
}

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

  .page-products #tab-desktop:checked ~ .panel-desktop {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: center;
  }

  .page-products #tab-mobile:checked ~ .panel-mobile {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    align-items: center;
  }

  .page-products .beta-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .page-products .records-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

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

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

  .page-products .plate-item--wide {
    grid-column: 1 / -1;
  }

  .page-products .steps li {
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 26px;
  }
}
