.page-products {
  --pr-gap: clamp(16px, 3vw, 28px);
  --pr-rule: 1px solid rgba(32, 36, 34, .16);
  --pr-rule-light: 1px solid rgba(247, 243, 236, .18);
  background: var(--snow);
  color: var(--ink);
  font-family: var(--font-sans);
  padding-bottom: clamp(40px, 6vw, 80px);
  overflow-x: hidden;
}

.page-products a:focus-visible,
.page-products button:focus-visible,
.page-products summary:focus-visible,
.page-products label:focus-visible {
  outline: 3px solid var(--maple);
  outline-offset: 3px;
}

.page-products .pr-crumb-bar {
  padding-top: clamp(16px, 3vw, 28px);
}

/* ---------- 首屏 ---------- */
.page-products .pr-hero {
  padding: clamp(20px, 4vw, 40px) 0 clamp(24px, 5vw, 52px);
  background-image: repeating-linear-gradient(to bottom, rgba(91, 143, 168, .13) 0 1px, transparent 1px 48px);
}

.page-products .pr-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--pr-gap);
  align-items: start;
}

.page-products .pr-hero-copy h1 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(30px, 7vw, 56px);
  line-height: 1.16;
  letter-spacing: -.03em;
  margin: 10px 0 18px;
}

.page-products .pr-hero-copy .lede {
  max-width: 34em;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(32, 36, 34, .86);
  margin: 0 0 22px;
}

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

.page-products .pr-figures {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.page-products .pr-figures li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 3px 3px 0 0 rgba(32, 36, 34, .14);
}

.page-products .pr-figure-num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--maple-dark);
}

.page-products .pr-figure-num em {
  font-style: normal;
  font-size: 12px;
  margin-left: 3px;
  color: var(--ink);
}

.page-products .pr-figure-label {
  font-size: 13px;
  color: rgba(32, 36, 34, .74);
}

.page-products .pr-hero-index {
  background: var(--pine);
  color: var(--snow);
  border: 2px solid var(--ink);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-hard);
  padding: 20px 20px 14px;
}

.page-products .pr-index-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--amber);
  margin: 0 0 10px;
}

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

.page-products .pr-index-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  border-bottom: var(--pr-rule-light);
  color: var(--snow);
  text-decoration: none;
  font-size: 15px;
  transition: color .16s ease, padding-left .16s ease;
}

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

.page-products .pr-index-list a:hover {
  color: var(--amber);
  padding-left: 4px;
}

.page-products .pr-index-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--amber);
}

/* ---------- 通用区块 ---------- */
.page-products .pr-section {
  padding: clamp(32px, 5vw, 64px) 0;
  border-top: 1px solid rgba(32, 36, 34, .14);
}

.page-products .pr-section-head {
  max-width: 44em;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.page-products .pr-section-head .section-title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(24px, 4.4vw, 36px);
  line-height: 1.24;
  letter-spacing: -.02em;
  margin: 8px 0 12px;
}

.page-products .pr-section-lede {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(32, 36, 34, .82);
  margin: 0;
}

/* ---------- 01 归档 ---------- */
.page-products .pr-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--pr-gap);
  align-items: start;
}

.page-products .pr-archive {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.page-products .pr-archive-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  padding: 16px 18px;
  border-bottom: var(--pr-rule);
  transition: background .16s ease;
}

.page-products .pr-archive-item:last-child {
  border-bottom: 0;
}

.page-products .pr-archive-item:hover {
  background: var(--ice-soft);
}

.page-products .pr-archive-num {
  grid-row: span 2;
  align-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--maple);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}

.page-products .pr-archive-body h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.page-products .pr-archive-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(32, 36, 34, .78);
}

.page-products .pr-archive-count {
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--maple-dark);
  letter-spacing: .02em;
}

.page-products .pr-overview-fig {
  margin: 0;
}

.page-products .pr-overview-fig img,
.page-products .pr-batch-fig img,
.page-products .pr-tablet-fig img,
.page-products .pr-steps-fig img,
.page-products .pr-version-fig img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--ice-soft);
  object-fit: cover;
}

.page-products .pr-overview-fig img {
  box-shadow: var(--shadow-hard);
}

.page-products .media-frame-caption {
  margin: 8px 2px 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(32, 36, 34, .66);
}

/* ---------- 02 双入口 ---------- */
.page-products .pr-tabs {
  position: relative;
}

.page-products .pr-tab-input,
.page-products .pr-filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-products .pr-tab-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
}

.page-products .pr-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--paper);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.page-products .pr-tab:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.page-products .pr-tab-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--maple-dark);
}

.page-products #entry-resource:checked ~ .pr-tab-bar label[for="entry-resource"],
.page-products #entry-panel:checked ~ .pr-tab-bar label[for="entry-panel"] {
  background: var(--maple);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.page-products #entry-resource:checked ~ .pr-tab-bar label[for="entry-resource"] .pr-tab-num,
.page-products #entry-panel:checked ~ .pr-tab-bar label[for="entry-panel"] .pr-tab-num {
  color: rgba(255, 255, 255, .82);
}

.page-products .pr-tab-input:focus-visible ~ .pr-tab-bar {
  outline: 3px solid var(--maple);
  outline-offset: 4px;
  border-radius: 999px;
}

.page-products .pr-tab-panels {
  margin-top: 18px;
}

.page-products .pr-tab-panel {
  display: none;
  padding: clamp(18px, 3vw, 28px);
  background: var(--ice-soft);
  border: 2px solid var(--ink);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-soft);
}

.page-products #entry-resource:checked ~ .pr-tab-panels .pr-panel-resource,
.page-products #entry-panel:checked ~ .pr-tab-panels .pr-panel-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  animation: pr-slide-in .22s ease both;
}

@keyframes pr-slide-in {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.page-products .pr-panel-text h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.page-products .pr-panel-text p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(32, 36, 34, .86);
}

.page-products .pr-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .pr-checklist li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.7;
}

.page-products .pr-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--maple);
}

.page-products .pr-panel-side {
  padding: 16px;
  background: var(--snow);
  border: 2px solid var(--ink);
  border-radius: 12px;
  align-self: start;
}

.page-products .pr-panel-tag {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--ice);
}

.page-products .pr-panel-scene {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(32, 36, 34, .82);
}

/* ---------- 03 平板资料 ---------- */
.page-products .pr-batch {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--pr-gap);
  align-items: start;
  margin-bottom: clamp(24px, 4vw, 36px);
}

.page-products .pr-batch-fig {
  margin: 0;
}

.page-products .pr-batch-tagline {
  margin: 0 0 12px;
}

.page-products .pr-batch-copy p {
  font-size: 15.5px;
  line-height: 1.78;
  margin: 0 0 16px;
  color: rgba(32, 36, 34, .86);
}

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

.page-products .pr-batch-points li {
  padding: 12px 14px;
  background: var(--paper);
  border-left: 4px solid var(--ice);
  border-radius: 0 10px 10px 0;
  font-size: 14.5px;
  line-height: 1.7;
}

.page-products .pr-batch-points strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--pine);
  margin-bottom: 3px;
}

.page-products .pr-table-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--pr-gap);
  align-items: start;
}

.page-products .pr-filter {
  position: relative;
  min-width: 0;
}

.page-products .pr-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.page-products .pr-chip {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .03em;
  padding: 7px 15px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--snow);
  cursor: pointer;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.page-products .pr-chip:hover {
  transform: translateY(-2px);
}

.page-products #f-all:checked ~ .pr-filter-bar label[for="f-all"],
.page-products #f-account:checked ~ .pr-filter-bar label[for="f-account"],
.page-products #f-index:checked ~ .pr-filter-bar label[for="f-index"],
.page-products #f-panel:checked ~ .pr-filter-bar label[for="f-panel"],
.page-products #f-version:checked ~ .pr-filter-bar label[for="f-version"] {
  background: var(--pine);
  color: var(--snow);
}

.page-products .pr-filter-input:focus-visible ~ .pr-filter-bar {
  outline: 3px solid var(--maple);
  outline-offset: 4px;
  border-radius: 999px;
}

.page-products .pr-table-wrap {
  overflow-x: auto;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.page-products .pr-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .pr-table th {
  background: var(--pine);
  color: var(--snow);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .06em;
  text-align: left;
  padding: 11px 12px;
  white-space: nowrap;
}

.page-products .pr-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(32, 36, 34, .12);
  vertical-align: middle;
  line-height: 1.6;
}

.page-products .pr-table tbody tr:nth-child(even) {
  background: rgba(220, 233, 239, .5);
}

.page-products .pr-table tbody tr:hover {
  background: var(--ice-soft);
}

.page-products .pr-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .pr-code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--maple-dark);
  letter-spacing: .02em;
}

.page-products #f-account:checked ~ .pr-table-wrap tbody tr:not(.is-account),
.page-products #f-index:checked ~ .pr-table-wrap tbody tr:not(.is-index),
.page-products #f-panel:checked ~ .pr-table-wrap tbody tr:not(.is-panel),
.page-products #f-version:checked ~ .pr-table-wrap tbody tr:not(.is-version) {
  display: none;
}

.page-products .pr-tablet-side {
  padding: 18px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-panel);
}

.page-products .pr-tablet-fig {
  margin: 0 0 16px;
}

.page-products .pr-tablet-side h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
}

.page-products .pr-tablet-side p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(32, 36, 34, .82);
}

.page-products .pr-aside-note {
  padding-left: 12px;
  border-left: 3px solid var(--amber);
  color: rgba(32, 36, 34, .74);
}

/* ---------- 04 步骤 ---------- */
.page-products .pr-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-products .pr-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  background: var(--snow);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 0 rgba(32, 36, 34, .13);
}

.page-products .pr-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--pine);
}

.page-products .pr-step:nth-child(1) .pr-step-num {
  background: var(--maple);
}

.page-products .pr-step:nth-child(2) .pr-step-num {
  background: var(--ice);
}

.page-products .pr-step-body h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
}

.page-products .pr-step-body p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(32, 36, 34, .84);
}

.page-products .pr-steps-fig {
  margin: 22px 0 0;
}

/* ---------- 05 版本 ---------- */
.page-products .pr-version-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--pr-gap);
  align-items: start;
}

.page-products .pr-version-fig {
  margin: 0;
}

.page-products .pr-fold {
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  margin-bottom: 12px;
  overflow: hidden;
}

.page-products .pr-fold:last-child {
  margin-bottom: 0;
}

.page-products .pr-fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  list-style: none;
}

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

.page-products .pr-fold summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--maple);
  flex: none;
}

.page-products .pr-fold[open] summary::after {
  content: "−";
}

.page-products .pr-fold[open] summary {
  background: var(--ice-soft);
  border-bottom: 1px solid rgba(32, 36, 34, .18);
}

.page-products .pr-fold p {
  margin: 0;
  padding: 14px 16px 16px;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(32, 36, 34, .84);
}

/* ---------- 06 直达与联系 ---------- */
.page-products .pr-faq {
  list-style: none;
  margin: 0 0 clamp(24px, 4vw, 36px);
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius-panel);
  overflow: hidden;
  background: var(--snow);
}

.page-products .pr-faq li {
  border-bottom: var(--pr-rule);
}

.page-products .pr-faq li:last-child {
  border-bottom: 0;
}

.page-products .pr-faq a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15.5px;
  line-height: 1.55;
  transition: background .16s ease, padding-left .16s ease;
}

.page-products .pr-faq a:hover {
  background: var(--ice-soft);
  padding-left: 24px;
}

.page-products .pr-faq-arrow {
  font-family: var(--font-mono);
  color: var(--maple);
  flex: none;
}

.page-products .pr-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding: clamp(20px, 3vw, 30px);
  background: var(--pine);
  color: var(--snow);
  border: 2px solid var(--ink);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-hard);
}

.page-products .pr-contact-main h3 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3.4vw, 26px);
  margin: 0 0 10px;
  letter-spacing: -.01em;
}

.page-products .pr-contact-main p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(247, 243, 236, .86);
}

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

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

.page-products .pr-contact-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 10px 0;
  border-bottom: var(--pr-rule-light);
}

.page-products .pr-contact-list li:last-child {
  border-bottom: 0;
}

.page-products .pr-contact-list .contact-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--amber);
  min-width: 72px;
}

.page-products .pr-contact-list .contact-value {
  font-size: 14.5px;
  color: var(--snow);
  overflow-wrap: anywhere;
}

.page-products .pr-legal-note {
  margin: 20px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(32, 36, 34, .7);
}

.page-products .pr-legal-note a {
  color: var(--maple-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pr-tab-panel,
  .page-products #entry-resource:checked ~ .pr-tab-panels .pr-panel-resource,
  .page-products #entry-panel:checked ~ .pr-tab-panels .pr-panel-panel {
    animation: none;
  }

  .page-products .pr-tab:hover,
  .page-products .pr-chip:hover,
  .page-products .pr-index-list a:hover,
  .page-products .pr-faq a:hover {
    transform: none;
  }
}

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

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

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

  .page-products .pr-step {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
  }

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

@media (min-width: 900px) {
  .page-products .pr-hero-inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(24px, 4vw, 48px);
  }

  .page-products .pr-overview-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  }

  .page-products .pr-version-grid {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  }

  .page-products #entry-resource:checked ~ .pr-tab-panels .pr-panel-resource,
  .page-products #entry-panel:checked ~ .pr-tab-panels .pr-panel-panel {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 28px;
  }
}

@media (min-width: 980px) {
  .page-products .pr-table-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 32px);
  }
}
