.page-products {
  --pp-ink: var(--c-ink);
  --pp-paper: var(--c-paper);
  --pp-line: var(--line);
  --pp-shadow: var(--shadow);
  --pp-shadow-sm: var(--shadow-sm);
  --pp-radius: var(--radius);
}

/* ---------- 首屏 ---------- */
.page-products .pp-hero {
  padding: clamp(20px, 3.5vw, 44px) 0 clamp(28px, 5vw, 60px);
  position: relative;
}

.page-products .pp-hero__inner {
  display: grid;
  gap: 28px;
}

.page-products .pp-hero__copy h1 {
  margin: 10px 0 16px;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(30px, 6.2vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}

.page-products .pp-hero__lead {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-slate);
  max-width: 44ch;
}

.page-products .pp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .pp-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: var(--line);
  border-radius: var(--radius);
  background: var(--c-paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.page-products .pp-stat {
  padding: 18px 16px;
  border-bottom: 1px solid var(--c-mist);
  border-right: 1px solid var(--c-mist);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.page-products .pp-stat:nth-child(2n) {
  border-right: none;
}

.page-products .pp-stat:nth-child(n + 3) {
  border-bottom: none;
}

.page-products .pp-stat__num {
  font-size: clamp(22px, 4.4vw, 30px);
  font-weight: 700;
  color: var(--c-ridge);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.page-products .pp-stat__unit {
  font-size: 0.56em;
  margin-left: 2px;
  color: var(--c-moss);
}

.page-products .pp-stat__label {
  font-size: 12.5px;
  color: var(--c-slate);
  letter-spacing: 0.02em;
}

/* ---------- 章节通用 ---------- */
.page-products .pp-section-lead {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-slate);
  max-width: 62ch;
}

.page-products .pp-figure {
  margin: clamp(24px, 4vw, 40px) 0 0;
}

.page-products .pp-figure img,
.page-products .pp-beta__figure img,
.page-products .pp-ios__figure img,
.page-products .pp-device-figure img,
.page-products .pp-export__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  background: var(--c-mist);
}

.page-products .pp-figure figcaption,
.page-products .pp-beta__figure figcaption,
.page-products .pp-ios__figure figcaption,
.page-products .pp-device-figure figcaption,
.page-products .pp-export__figure figcaption {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--c-slate);
}

/* ---------- 能力横向带 ---------- */
.page-products .pp-caps {
  position: relative;
}

.page-products .pp-band {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 8px 20px 4px;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 4px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.page-products .pp-band:focus-visible {
  outline: 2px solid var(--c-electric);
  outline-offset: 4px;
}

.page-products .pp-band::-webkit-scrollbar {
  height: 8px;
}

.page-products .pp-band::-webkit-scrollbar-track {
  background: var(--c-mist);
  border-radius: 999px;
}

.page-products .pp-band::-webkit-scrollbar-thumb {
  background: var(--c-moss);
  border-radius: 999px;
}

.page-products .pp-cap {
  position: relative;
  flex: 0 0 min(320px, 80vw);
  scroll-snap-align: start;
  background: var(--c-paper);
  padding: 22px 20px 20px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.page-products .pp-cap::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: repeating-linear-gradient(to bottom, var(--c-clay) 0 6px, transparent 6px 13px);
  opacity: 0.75;
}

.page-products .pp-cap:first-child::before {
  display: none;
}

.page-products .pp-cap__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.page-products .pp-cap__num {
  font-size: 26px;
  font-weight: 700;
  color: var(--c-clay);
  letter-spacing: 0.04em;
  line-height: 1;
}

.page-products .pp-cap .card__title {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 20px;
  color: var(--c-ink);
  letter-spacing: -0.005em;
}

.page-products .pp-cap .card__body {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-slate);
  flex: 1 1 auto;
}

/* ---------- 折叠面板 ---------- */
.page-products .pp-details {
  border-top: 1px solid var(--c-mist);
  padding-top: 12px;
  margin-top: auto;
}

.page-products .pp-details summary {
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--c-ridge);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.page-products .pp-details summary::before {
  content: "+";
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1;
  color: var(--c-jersey);
  border: 1.5px solid var(--c-jersey);
  border-radius: var(--radius);
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.page-products .pp-details[open] summary::before {
  content: "−";
}

.page-products .pp-details summary:focus-visible {
  outline: 2px solid var(--c-electric);
  outline-offset: 3px;
}

.page-products .pp-details ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.page-products .pp-details li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--c-slate);
}

.page-products .pp-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 1.5px;
  background: var(--c-clay);
}

.page-products .pp-band__hint {
  display: block;
  margin: 4px 0 0;
}

/* ---------- 测试版专区 ---------- */
.page-products .pp-beta {
  background: var(--c-batch);
  border-top: var(--line);
  border-bottom: var(--line);
  padding-block: clamp(34px, 6vw, 68px);
  position: relative;
}

.page-products .pp-beta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 8px;
  background: repeating-linear-gradient(to right, var(--c-ink) 0 12px, transparent 12px 26px);
  opacity: 0.22;
}

.page-products .pp-beta__inner {
  display: grid;
  gap: 28px;
}

.page-products .pp-beta .eyebrow {
  color: var(--c-ink);
}

.page-products .pp-beta .eyebrow::before {
  background: var(--c-clay);
}

.page-products .pp-beta__copy h2 {
  margin: 10px 0 14px;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(24px, 4.4vw, 36px);
  line-height: 1.2;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}

.page-products .pp-beta__copy > p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-ink);
  max-width: 52ch;
  opacity: 0.86;
}

.page-products .pp-beta__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 2px solid var(--c-ink);
}

.page-products .pp-beta__list li {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(11, 31, 28, 0.28);
}

.page-products .pp-beta__list strong {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 15.5px;
  color: var(--c-ink);
}

.page-products .pp-beta__list span {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-ink);
  opacity: 0.82;
}

.page-products .pp-beta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.page-products .pp-beta__figure {
  margin: 0;
}

.page-products .pp-beta__figure figcaption {
  color: var(--c-ink);
  opacity: 0.75;
}

/* ---------- iOS 资料下载 ---------- */
.page-products .pp-ios__grid {
  display: grid;
  gap: 28px;
  margin-top: clamp(24px, 4vw, 40px);
}

.page-products .pp-ios__figure {
  margin: 0;
}

.page-products .pp-ios__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: var(--line);
}

.page-products .pp-ios__item {
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--c-mist);
}

.page-products .pp-ios__item:last-child {
  border-bottom: var(--line);
}

.page-products .pp-ios__idx {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--c-electric);
  margin-bottom: 6px;
}

.page-products .pp-ios__item h3 {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 18px;
  color: var(--c-ink);
}

.page-products .pp-ios__item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-slate);
}

/* ---------- 设备要求 ---------- */
.page-products .pp-devices {
  background: var(--c-paper);
}

.page-products .pp-devices__grid {
  display: grid;
  gap: 26px;
  margin-top: clamp(24px, 4vw, 36px);
}

.page-products .pp-table-wrap {
  overflow-x: auto;
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--pp-shadow-sm);
  background: var(--c-paper);
  -webkit-overflow-scrolling: touch;
}

.page-products .pp-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.page-products .pp-table__caption {
  caption-side: top;
  text-align: left;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--c-paper);
  background: var(--c-ink);
}

.page-products .pp-table th,
.page-products .pp-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--c-mist);
  vertical-align: top;
}

.page-products .pp-table thead th {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--c-slate);
  background: var(--c-mist);
  font-weight: 700;
}

.page-products .pp-table tbody th {
  font-weight: 800;
  color: var(--c-ink);
}

.page-products .pp-table tbody td {
  color: var(--c-slate);
  line-height: 1.7;
}

.page-products .pp-table tbody tr:last-child th,
.page-products .pp-table tbody tr:last-child td {
  border-bottom: none;
}

.page-products .pp-devices__note {
  border: var(--line);
  border-radius: var(--radius);
  background: var(--c-mist);
  padding: 20px 18px;
  box-shadow: var(--pp-shadow-sm);
}

.page-products .pp-devices__note h3 {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 16px;
  color: var(--c-ink);
}

.page-products .pp-devices__note ol {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  counter-reset: note;
  display: grid;
  gap: 10px;
}

.page-products .pp-devices__note li {
  position: relative;
  counter-increment: note;
  padding-left: 30px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-ink);
}

.page-products .pp-devices__note li::before {
  content: counter(note, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--c-jersey);
  letter-spacing: 0.04em;
}

.page-products .pp-devices__note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-slate);
  padding-top: 12px;
  border-top: 1px solid rgba(74, 84, 80, 0.25);
}

.page-products .pp-device-figure {
  margin: clamp(24px, 4vw, 38px) 0 0;
}

/* ---------- 导出记录 ---------- */
.page-products .pp-export {
  background: var(--c-ink);
  color: var(--c-paper);
  border-top: var(--line);
  border-bottom: var(--line);
  padding-block: clamp(36px, 6vw, 72px);
}

.page-products .pp-export__inner {
  display: grid;
  gap: 30px;
}

.page-products .pp-export .eyebrow {
  color: var(--c-batch);
}

.page-products .pp-export .eyebrow::before {
  background: var(--c-batch);
}

.page-products .pp-export__copy h2 {
  margin: 10px 0 14px;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(24px, 4.4vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--c-paper);
}

.page-products .pp-export__copy > p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-mist);
  max-width: 50ch;
}

.page-products .pp-export__specs {
  margin: 0 0 26px;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(220, 230, 225, 0.3);
}

.page-products .pp-export__specs > div {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(220, 230, 225, 0.3);
}

.page-products .pp-export__specs dt {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--c-batch);
}

.page-products .pp-export__specs dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--c-mist);
}

.page-products .pp-export__figure {
  margin: 0;
}

.page-products .pp-export__figure figcaption {
  color: var(--c-mist);
}

/* ---------- 上手三步 ---------- */
.page-products .pp-steps__list {
  list-style: none;
  margin: clamp(24px, 4vw, 40px) 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.page-products .pp-step {
  position: relative;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--c-paper);
  box-shadow: var(--pp-shadow);
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-products .pp-step::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 20px;
  width: 34px;
  height: 6px;
  background: var(--c-jersey);
}

.page-products .pp-step__num {
  align-self: flex-start;
  display: inline-block;
  padding: 5px 11px;
  background: var(--c-ink);
  color: var(--c-paper);
  border-radius: var(--radius);
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

.page-products .pp-step h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 20px;
  color: var(--c-ink);
}

.page-products .pp-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-slate);
}

/* ---------- 使用场景 ---------- */
.page-products .pp-scenes__grid {
  display: grid;
  gap: 20px;
  margin-top: clamp(24px, 4vw, 40px);
}

.page-products .pp-scene {
  border: var(--line);
  border-radius: var(--radius);
  background: var(--c-paper);
  box-shadow: var(--pp-shadow-sm);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.page-products .pp-scene::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 76px;
  height: 76px;
  border: 2px solid var(--c-mist);
  border-radius: 50%;
  pointer-events: none;
}

.page-products .pp-scene h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.35;
  color: var(--c-ink);
  letter-spacing: -0.005em;
}

.page-products .pp-scene p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--c-slate);
}

/* ---------- 结尾窄条 ---------- */
.page-products .pp-next {
  background: var(--c-jersey);
  border-top: var(--line);
  border-bottom: var(--line);
  padding-block: clamp(22px, 3.6vw, 34px);
}

.page-products .pp-next__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.page-products .pp-next p {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.55;
  color: var(--c-paper);
  max-width: 48ch;
}

.page-products .pp-next__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.page-products .pp-next__link {
  color: var(--c-paper);
  font-weight: 700;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.page-products .pp-next__link:hover,
.page-products .pp-next__link:focus-visible {
  color: var(--c-ink);
}

/* ---------- 响应式 ---------- */
@media (min-width: 760px) {
  .page-products .pp-band {
    gap: 24px;
    padding-right: 4px;
  }

  .page-products .pp-cap {
    flex-basis: 336px;
  }

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

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

@media (min-width: 960px) {
  .page-products .pp-hero {
    padding-top: clamp(32px, 4vw, 56px);
  }

  .page-products .pp-hero__inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr);
    align-items: end;
    gap: 40px;
  }

  .page-products .pp-hero__copy {
    padding-right: 8px;
  }

  .page-products .pp-beta__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: 44px;
  }

  .page-products .pp-ios__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 40px;
  }

  .page-products .pp-ios__item:first-child {
    padding-top: 0;
  }

  .page-products .pp-devices__grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }

  .page-products .pp-export__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 44px;
  }
}

@media (min-width: 1180px) {
  .page-products .pp-band {
    gap: 28px;
  }

  .page-products .pp-cap {
    flex-basis: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pp-cap,
  .page-products .pp-step,
  .page-products .pp-scene {
    transition-duration: 120ms;
    transform: none;
  }
}
