.page-products {
  --pr-up: #0E8F76;
  --pr-down: #C4571F;
  --pr-shadow: 10px 10px 0 rgba(6, 18, 14, .9);
  background: var(--ink-900);
  color: var(--cream);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

.page-products p {
  margin: 0 0 14px;
}

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

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

.page-products .media-frame {
  margin: 0;
}

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

.page-products .media-caption {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 8px;
}

/* ---------- 首屏 ---------- */
.page-products .pr-hero {
  position: relative;
  padding: clamp(22px, 4.6vw, 46px) 0 clamp(36px, 6vw, 78px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(720px 420px at 82% 4%, rgba(51, 230, 192, .17), transparent 64%),
    radial-gradient(560px 360px at 6% 0%, rgba(255, 122, 51, .14), transparent 62%),
    var(--ink-900);
}

.page-products .pr-hero .breadcrumbs {
  margin-bottom: clamp(18px, 4vw, 40px);
}

.page-products .pr-hero-grid {
  display: grid;
  gap: clamp(22px, 4vw, 38px);
  align-items: end;
}

.page-products .pr-hero h1 {
  margin: 12px 0 18px;
  font-family: var(--font-sans);
  font-weight: 900;
  font-stretch: 90%;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(1.95rem, 6.2vw, 3.9rem);
  color: var(--cream);
  max-width: 23ch;
}

.page-products .pr-hero-lede {
  font-size: 16.5px;
  line-height: 1.85;
  color: rgba(244, 239, 228, .82);
  max-width: 34em;
}

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

.page-products .pr-hero-aside {
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(18, 48, 41, .94), rgba(11, 29, 23, .92));
  box-shadow: 6px 6px 0 rgba(51, 230, 192, .14);
  padding: 18px 20px;
}

.page-products .pr-aside-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--muted);
}

.page-products .pr-hero-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .pr-hero-stats li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.page-products .pr-hero-stats li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-products .pr-hero-stat-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--cyan);
}

.page-products .pr-hero-stat-label {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  text-align: right;
}

/* ---------- 章节与卡片 ---------- */
.page-products .pr-section {
  padding: clamp(30px, 5.2vw, 68px) 0;
}

.page-products .pr-card {
  position: relative;
  background: linear-gradient(180deg, var(--ink-800), rgba(6, 18, 14, .96));
  border: 1px solid var(--line);
  box-shadow: var(--pr-shadow);
  padding: clamp(18px, 3.2vw, 36px);
}

.page-products .pr-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(18px, 3vw, 28px);
}

.page-products .pr-index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--cyan);
}

.page-products .pr-card-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.32;
  color: var(--cream);
}

.page-products .pr-card p {
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(244, 239, 228, .82);
}

.page-products .annotation {
  font-size: 12px;
  letter-spacing: .04em;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 总览 ---------- */
.page-products .pr-overview-grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}

.page-products .pr-stats {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .pr-stats li {
  background: var(--ink-800);
  padding: 14px 16px;
  display: grid;
  gap: 6px;
}

.page-products .pr-stat-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.2rem, 2.3vw, 1.6rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--orange);
}

.page-products .pr-stat-label {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- 赛程分栏 ---------- */
.page-products .pr-split {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}

.page-products .pr-path {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-products .pr-path li {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.page-products .pr-path li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 32px;
  bottom: -12px;
  width: 1px;
  background: var(--line);
}

.page-products .pr-path-num {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.page-products .pr-path strong {
  display: block;
  font-size: 14.5px;
  color: var(--cyan-soft);
  margin-bottom: 4px;
}

.page-products .pr-path p {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(244, 239, 228, .74);
  margin: 0;
}

/* ---------- 纸白区块与表格 ---------- */
.page-products .pr-paper {
  background: var(--paper);
  color: var(--ink-900);
  border: 1px solid var(--line);
  box-shadow: 12px 12px 0 rgba(51, 230, 192, .16);
  padding: clamp(18px, 3.2vw, 36px);
}

.page-products .pr-paper .pr-card-head {
  border-bottom-color: rgba(30, 66, 56, .28);
}

.page-products .pr-paper .pr-card-title {
  color: var(--ink-900);
}

.page-products .pr-paper .pr-index {
  color: var(--pr-up);
}

.page-products .pr-paper-lede {
  font-size: 15.5px;
  line-height: 1.85;
  color: #1b3a32;
  max-width: 42em;
  margin-bottom: 20px;
}

.page-products .pr-paper-figure {
  margin: 0 0 22px;
}

.page-products .pr-paper-figure img {
  max-height: 300px;
  object-fit: cover;
}

.page-products .pr-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(30, 66, 56, .25);
  background: var(--paper);
}

.page-products .pr-standings {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: var(--paper);
  color: var(--ink-900);
  font-size: 14px;
}

.page-products .pr-standings caption {
  caption-side: top;
  text-align: left;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: #4a6a60;
  background: rgba(30, 66, 56, .07);
}

.page-products .pr-standings thead th {
  background: var(--ink-700);
  color: var(--cyan-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-align: left;
  padding: 10px 12px;
  white-space: nowrap;
}

.page-products .pr-standings tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(30, 66, 56, .22);
  color: #10312a;
  white-space: nowrap;
}

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

.page-products .pr-standings tbody tr:nth-child(even) {
  background: rgba(30, 66, 56, .045);
}

.page-products .pr-standings .num {
  text-align: right;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.page-products .pr-delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.page-products .pr-delta svg {
  width: 9px;
  height: 9px;
  fill: currentColor;
}

.page-products .pr-delta--up {
  color: var(--pr-up);
}

.page-products .pr-delta--down {
  color: var(--pr-down);
}

.page-products .pr-delta--flat {
  color: #6b8a80;
}

.page-products .pr-details {
  margin-top: 18px;
  border: 1px dashed var(--line);
  background: rgba(18, 48, 41, .45);
  padding: 0 14px;
}

.page-products .pr-details--paper {
  border-color: rgba(30, 66, 56, .38);
  background: rgba(30, 66, 56, .06);
}

.page-products .pr-details > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cyan-soft);
}

.page-products .pr-details--paper > summary {
  color: #10312a;
}

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

.page-products .pr-details > summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 16px;
  opacity: .7;
}

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

.page-products .pr-details > .pr-table-wrap {
  margin-bottom: 14px;
}

.page-products .pr-paper-note {
  margin-top: 16px;
}

/* ---------- 导出清单 ---------- */
.page-products .pr-formats {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}

.page-products .pr-format {
  border: 1px solid var(--line);
  background: rgba(18, 48, 41, .55);
  padding: 16px 18px;
}

.page-products .pr-format-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--ink-900);
  background: var(--cyan);
  padding: 3px 8px;
  border-radius: var(--radius);
}

.page-products .pr-format:nth-child(2) .pr-format-tag {
  background: var(--orange);
}

.page-products .pr-format h3 {
  margin: 10px 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--cream);
}

.page-products .pr-format p {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(244, 239, 228, .74);
  margin: 0;
}

/* ---------- 三步设置 ---------- */
.page-products .pr-steps {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.page-products .pr-step {
  border: 1px solid var(--line);
  background: rgba(18, 48, 41, .52);
  padding: 14px 16px;
  transition: transform .2s ease, border-color .2s ease;
}

.page-products .pr-step:hover,
.page-products .pr-step:focus-within {
  transform: translateY(-2px);
  border-color: var(--cyan);
}

.page-products .pr-step > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--cream);
}

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

.page-products .pr-step-num {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.page-products .pr-step-body {
  padding-top: 10px;
}

.page-products .pr-step-body p {
  font-size: 13.5px;
  line-height: 1.78;
  color: rgba(244, 239, 228, .76);
}

/* ---------- 场景 ---------- */
.page-products .pr-scenarios {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .pr-scenario {
  background: var(--ink-800);
  padding: 20px 18px;
}

.page-products .pr-scenario-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 8px;
}

.page-products .pr-scenario h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cyan-soft);
}

.page-products .pr-scenario p {
  font-size: 13.5px;
  line-height: 1.78;
  color: rgba(244, 239, 228, .76);
}

.page-products .pr-scenario .pr-scenario-step {
  font-size: 12.5px;
  color: var(--orange-soft);
  margin-bottom: 0;
}

/* ---------- 权益分档 ---------- */
.page-products .pr-plans {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.page-products .pr-plan {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 48, 41, .88), rgba(11, 29, 23, .94));
  padding: 20px 18px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.page-products .pr-plan:hover,
.page-products .pr-plan:focus-within {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: 0 12px 0 -8px rgba(51, 230, 192, .5);
}

.page-products .pr-plan--team {
  border-color: rgba(255, 178, 122, .6);
}

.page-products .pr-plan--team:hover,
.page-products .pr-plan--team:focus-within {
  border-color: var(--orange);
  box-shadow: 0 12px 0 -8px rgba(255, 122, 51, .5);
}

.page-products .pr-plan-name {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--cyan);
  text-transform: uppercase;
}

.page-products .pr-plan--team .pr-plan-name {
  color: var(--orange);
}

.page-products .pr-plan-desc {
  margin: 0 0 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(244, 239, 228, .72);
}

.page-products .pr-plan .tag {
  margin-bottom: 4px;
  display: inline-block;
}

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

.page-products .pr-plan-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.72;
  color: rgba(244, 239, 228, .8);
}

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

.page-products .pr-plan--team .pr-plan-list li::before {
  background: var(--orange);
}

/* ---------- 版本对比 ---------- */
.page-products .pr-compare {
  display: grid;
  border: 1px solid var(--line);
}

.page-products .pr-compare-col {
  padding: 20px 18px;
  background: rgba(6, 18, 14, .55);
}

.page-products .pr-compare-col + .pr-compare-col {
  border-top: 1px solid var(--line);
}

.page-products .pr-compare-col--now {
  background: rgba(51, 230, 192, .07);
}

.page-products .pr-compare-col h3 {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .18em;
  color: var(--muted);
}

.page-products .pr-compare-col--now h3 {
  color: var(--cyan);
}

.page-products .pr-compare-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .pr-compare-col li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(244, 239, 228, .8);
}

.page-products .pr-compare-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 1px;
  background: var(--line);
}

.page-products .pr-compare-col--now li::before {
  height: 2px;
  background: var(--cyan);
}

/* ---------- 收尾 ---------- */
.page-products .pr-closing {
  padding-bottom: clamp(44px, 7vw, 92px);
}

.page-products .pr-closing-inner {
  border-top: 1px solid var(--line);
  padding-top: clamp(22px, 4vw, 40px);
  display: grid;
  gap: 16px;
}

.page-products .pr-closing h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.page-products .pr-closing p {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(244, 239, 228, .8);
  max-width: 40em;
}

.page-products .pr-closing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.page-products .pr-closing-links a {
  font-size: 14px;
  color: var(--cyan);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(51, 230, 192, .38);
  transition: color .2s ease, border-color .2s ease;
}

.page-products .pr-closing-links a:hover {
  color: var(--cyan-soft);
  border-bottom-color: var(--cyan-soft);
}

/* ---------- 响应式 ---------- */
@media (min-width: 560px) {
  .page-products .pr-stats {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .pr-formats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 760px) {
  .page-products .pr-compare {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .pr-compare-col + .pr-compare-col {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

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

  .page-products .pr-scenarios {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .page-products .pr-hero-grid {
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  }

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

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

  .page-products .pr-split--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  }

  .page-products .pr-paper-figure img {
    max-height: 340px;
  }
}

@media (min-width: 880px) {
  .page-products .pr-plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .page-products .pr-plan--pro {
    padding-top: 34px;
  }

  .page-products .pr-plan--team {
    padding-top: 52px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-products .pr-step,
  .page-products .pr-plan,
  .page-products .pr-closing-links a {
    transition: none;
  }

  .page-products .pr-step:hover,
  .page-products .pr-step:focus-within,
  .page-products .pr-plan:hover,
  .page-products .pr-plan:focus-within {
    transform: none;
  }
}
