.page-products {
  --pd-radius: 12px;
  --pd-gap: 16px;
  color: var(--text);
  overflow-x: hidden;
}

/* ---------- 章节头 ---------- */
.page-products .pd-head {
  margin-bottom: 32px;
}

.page-products .pd-idx {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--orange);
  margin-bottom: 8px;
}

.page-products .pd-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1.24;
  letter-spacing: -0.01em;
  margin: 6px 0 12px;
}

.page-products .pd-head-desc {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.78;
}

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  position: relative;
  padding: calc(var(--header-h) + 44px) 0 56px;
  overflow: hidden;
  isolation: isolate;
}

.page-products .pd-hero::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -22%;
  width: 95%;
  height: 150%;
  background: linear-gradient(150deg, rgba(34, 240, 196, 0.15) 0%, rgba(23, 51, 43, 0.92) 42%, rgba(10, 22, 19, 0) 78%);
  transform: skewY(var(--slant));
  z-index: -1;
  pointer-events: none;
}

.page-products .pd-hero::after {
  content: "";
  position: absolute;
  left: -12%;
  bottom: 22px;
  width: 62%;
  height: 6px;
  background: var(--cyan);
  transform: skewY(var(--slant));
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

.page-products .pd-hero-inner {
  position: relative;
}

.page-products .pd-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.4vw, 3.5rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 10px 0 18px;
  max-width: 18ch;
}

.page-products .pd-lede {
  max-width: 56ch;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

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

.page-products .pd-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-products .pd-hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-products .pd-stat-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.1;
  color: var(--signal);
  font-variant-numeric: tabular-nums;
}

.page-products .pd-stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- 四块能力面板 ---------- */
.page-products .pd-board {
  display: grid;
  gap: var(--pd-gap);
  grid-template-columns: 1fr;
}

.page-products .pd-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
  transition: border-color 200ms var(--ease), transform 200ms var(--ease), background 200ms var(--ease);
}

.page-products .pd-tile:hover,
.page-products .pd-tile:focus-within {
  border-color: var(--cyan);
  background: var(--panel-up);
  transform: translateY(-3px);
}

.page-products .pd-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-products .pd-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(34, 240, 196, 0.1);
  color: var(--cyan);
  flex: none;
}

.page-products .pd-tile-icon svg {
  width: 19px;
  height: 19px;
}

.page-products .pd-tile h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.page-products .pd-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.72;
}

.page-products .pd-tile-foot {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.page-products .pd-tile-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1;
  color: var(--signal);
  font-variant-numeric: tabular-nums;
}

.page-products .pd-tile-unit {
  font-size: 0.76rem;
  color: var(--sage);
  letter-spacing: 0.04em;
}

/* ---------- 分栏区块 ---------- */
.page-products .pd-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.page-products .pd-split-media {
  display: grid;
  gap: 14px;
}

.page-products .pd-thumb {
  max-width: 220px;
}

.page-products .pd-thumb-wide {
  max-width: 100%;
}

.page-products .pd-split-body h3 {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
}

/* ---------- 参数表 ---------- */
.page-products .pd-specs {
  margin: 0 0 22px;
  border-top: 1px solid var(--line);
}

.page-products .pd-specs-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.page-products .pd-specs-row dt {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--sage);
}

.page-products .pd-specs-row dd {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.68;
  color: var(--text);
}

.page-products .pd-specs-row dd b {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--signal);
  font-variant-numeric: tabular-nums;
}

/* ---------- 提示条 ---------- */
.page-products .pd-note {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--orange);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.72;
}

.page-products .pd-note a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 240, 196, 0.4);
}

.page-products .pd-note a:hover,
.page-products .pd-note a:focus-visible {
  border-bottom-color: var(--cyan);
}

/* ---------- 导出格式标签 ---------- */
.page-products .pd-tabs {
  position: relative;
  margin-top: 4px;
}

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

.page-products .pd-tab-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.page-products .pd-tab-label {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.page-products .pd-tab-label:hover {
  border-color: var(--cyan);
  color: var(--text);
}

.page-products .pd-tab-panel {
  display: none;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
}

.page-products .pd-tab-panel p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.76;
  color: var(--muted);
}

.page-products #pd-fmt-csv:checked ~ .pd-tab-labels .pd-tab-label[for="pd-fmt-csv"],
.page-products #pd-fmt-png:checked ~ .pd-tab-labels .pd-tab-label[for="pd-fmt-png"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--paper-ink);
}

.page-products #pd-fmt-csv:checked ~ .pd-tab-panels .pd-tab-panel--csv,
.page-products #pd-fmt-png:checked ~ .pd-tab-panels .pd-tab-panel--png {
  display: block;
}

/* ---------- 跟队信息流 ---------- */
.page-products .pd-feed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

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

.page-products .pd-feed-list li {
  position: relative;
  padding: 15px 0 15px 18px;
  border-left: 1px solid var(--line);
}

.page-products .pd-feed-list li::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 22px;
  width: 2px;
  height: 16px;
  background: var(--cyan);
}

.page-products .pd-feed-k {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--text);
}

.page-products .pd-feed-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.72;
}

.page-products .pd-feed-list b {
  font-family: var(--font-mono);
  color: var(--signal);
  font-variant-numeric: tabular-nums;
}

.page-products .pd-feed-side {
  padding: 24px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
}

.page-products .pd-feed-side h3 {
  margin: 8px 0 16px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.02rem;
}

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

.page-products .pd-mini-steps li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  align-items: start;
  font-size: 0.87rem;
  line-height: 1.66;
  color: var(--muted);
}

.page-products .pd-mini-steps span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.76rem;
  color: var(--orange);
  line-height: 1.66;
}

/* ---------- 版本演进 ---------- */
.page-products .pd-version {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-products .pd-version-bg {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: -1;
}

.page-products .pd-version-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
}

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

.page-products .pd-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--line));
}

.page-products .pd-tl-item {
  position: relative;
  padding: 16px 18px;
  background: rgba(16, 36, 30, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
  outline: none;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}

.page-products .pd-tl-item:hover,
.page-products .pd-tl-item:focus-visible {
  border-color: var(--cyan);
  background: rgba(23, 51, 43, 0.94);
}

.page-products .pd-tl-dot {
  position: absolute;
  left: -27px;
  top: 21px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--cyan);
  box-sizing: content-box;
}

.page-products .pd-tl-era {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--orange);
}

.page-products .pd-tl-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.03rem;
}

.page-products .pd-tl-body p {
  margin: 0;
  font-size: 0.89rem;
  line-height: 1.74;
  color: var(--muted);
}

.page-products .pd-tl-body b {
  font-family: var(--font-mono);
  color: var(--signal);
  font-variant-numeric: tabular-nums;
}

.page-products .pd-tl-more {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--cyan);
  transition: max-height 260ms var(--ease), opacity 260ms var(--ease), margin 260ms var(--ease);
}

.page-products .pd-tl-item:hover .pd-tl-more,
.page-products .pd-tl-item:focus-visible .pd-tl-more,
.page-products .pd-tl-item:focus-within .pd-tl-more {
  max-height: 96px;
  opacity: 1;
  margin-top: 10px;
}

.page-products .pd-version-more {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.page-products .pd-version-more a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 240, 196, 0.4);
}

.page-products .pd-version-more a:hover,
.page-products .pd-version-more a:focus-visible {
  border-bottom-color: var(--cyan);
}

/* ---------- 开始前的准备 ---------- */
.page-products .pd-prep-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-products .pd-prep-card {
  padding: 24px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--orange);
  border-radius: var(--pd-radius);
}

.page-products .pd-prep-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--orange);
}

.page-products .pd-prep-card h3 {
  margin: 8px 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
}

.page-products .pd-prep-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .pd-prep-card li {
  position: relative;
  padding-left: 16px;
  font-size: 0.87rem;
  line-height: 1.68;
  color: var(--muted);
}

.page-products .pd-prep-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 2px;
  background: var(--cyan);
}

/* ---------- 三步上手 ---------- */
.page-products .pd-steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-products .pd-step {
  position: relative;
  z-index: 1;
  padding: 0 18px 4px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
  transition: border-color 200ms var(--ease);
}

.page-products .pd-step:hover,
.page-products .pd-step:focus-within {
  border-color: var(--cyan);
}

.page-products .pd-step summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
}

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

.page-products .pd-step summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  line-height: 1;
  color: var(--cyan);
  transition: transform 200ms var(--ease);
}

.page-products .pd-step details[open] summary::after {
  content: "−";
}

.page-products .pd-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.page-products .pd-step-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.99rem;
}

.page-products .pd-step-body {
  padding: 0 0 16px 48px;
}

.page-products .pd-step-body p {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.74;
  color: var(--muted);
}

/* ---------- 使用边界（米白面板） ---------- */
.page-products .pd-limits .panel--paper {
  background: var(--paper);
  color: var(--paper-ink);
}

.page-products .pd-limits-panel {
  padding: 30px 22px;
  border-radius: 16px;
}

.page-products .pd-limits .pd-head {
  margin-bottom: 24px;
}

.page-products .pd-limits .pd-head h2 {
  color: var(--paper-ink);
  margin-bottom: 0;
}

.page-products .pd-limits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .pd-limits-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.89rem;
  line-height: 1.74;
  color: var(--paper-ink);
}

.page-products .pd-limits-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 2px;
  background: var(--orange);
}

.page-products .pd-limits-list b {
  display: block;
  margin-bottom: 2px;
  font-weight: 700;
  font-size: 0.91rem;
  letter-spacing: 0.01em;
}

/* ---------- 页尾下一步 ---------- */
.page-products .pd-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 30px 22px;
  background: linear-gradient(120deg, rgba(23, 51, 43, 0.92), rgba(16, 36, 30, 0.6));
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: var(--pd-radius);
}

.page-products .pd-cta h2 {
  margin: 6px 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.38rem, 3vw, 1.95rem);
  line-height: 1.24;
}

.page-products .pd-cta-text p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.74;
}

.page-products .pd-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: none;
}

/* ---------- 响应式 ---------- */
@media (min-width: 520px) {
  .page-products .pd-specs-row {
    grid-template-columns: 6.5em 1fr;
    gap: 4px 16px;
  }
}

@media (min-width: 760px) {
  .page-products .pd-prep-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .page-products .pd-limits-panel {
    padding: 40px 44px;
  }

  .page-products .pd-limits-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 32px;
  }
}

@media (min-width: 820px) {
  .page-products .pd-cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 48px;
  }
}

@media (min-width: 860px) {
  .page-products .pd-board {
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
      "a b b"
      "c c d";
    gap: 18px;
  }

  .page-products .pd-tile--a { grid-area: a; }
  .page-products .pd-tile--b { grid-area: b; }
  .page-products .pd-tile--c { grid-area: c; }
  .page-products .pd-tile--d { grid-area: d; }
}

@media (min-width: 880px) {
  .page-products .pd-feed-grid {
    grid-template-columns: 7fr 5fr;
    gap: 40px;
    align-items: start;
  }

  .page-products .pd-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .page-products .pd-steps::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 44px;
    right: 44px;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), rgba(255, 107, 51, 0.2));
    z-index: 0;
  }
}

@media (min-width: 940px) {
  .page-products .pd-split-grid {
    grid-template-columns: 5fr 6fr;
    gap: 44px;
  }

  .page-products .pd-split--reverse .pd-split-grid {
    grid-template-columns: 6fr 5fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pd-tile,
  .page-products .pd-tl-item,
  .page-products .pd-tl-more,
  .page-products .pd-tab-label,
  .page-products .pd-step {
    transition: none !important;
  }

  .page-products .pd-tile:hover,
  .page-products .pd-tile:focus-within {
    transform: none;
  }
}
