.page-products {
  --pp-gap: clamp(14px, 2.4vw, 26px);
  --pp-radius: 20px;
  background: var(--paper);
  color: var(--stone);
  overflow-x: hidden;
}

.page-products .crumbs-wrap {
  padding-top: clamp(14px, 3vw, 24px);
  padding-bottom: 12px;
}

.page-products .breadcrumb a {
  color: var(--turf);
}

.page-products .breadcrumb-item[aria-current] span,
.page-products .breadcrumb-item span[aria-current="page"] {
  color: var(--stone);
}

/* ---------- 首屏 ---------- */
.page-products .tools-hero {
  background:
    radial-gradient(120% 100% at 88% 0%, rgba(79, 242, 200, 0.16), transparent 62%),
    radial-gradient(90% 80% at 0% 100%, rgba(180, 101, 63, 0.18), transparent 60%),
    var(--ink-green);
  color: var(--warm-white);
  padding: clamp(24px, 5vw, 54px) 0 clamp(32px, 6vw, 72px);
  border-radius: 0 0 clamp(20px, 4vw, 34px) clamp(20px, 4vw, 34px);
}

.page-products .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 4vw, 34px);
  align-items: start;
}

.page-products .hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 8vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 10px 0 16px;
  color: var(--warm-white);
}

.page-products .hero-lede {
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  line-height: 1.72;
  color: var(--mist);
  max-width: 46ch;
  margin: 0 0 20px;
}

.page-products .hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.page-products .hero-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.82rem;
  color: var(--mist);
}

.page-products .hero-facts .mono {
  color: var(--neon);
  font-size: 0.95rem;
  margin-right: 4px;
}

.page-products .hero-phone {
  margin: 0;
  justify-self: start;
}

.page-products .phone-frame {
  max-width: 250px;
  padding: 9px;
  border-radius: 30px;
  background: linear-gradient(155deg, var(--turf), var(--ink-green));
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(79, 242, 200, 0.35);
}

.page-products .phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  object-fit: cover;
}

.page-products .hero-phone figcaption {
  margin-top: 12px;
  max-width: 250px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--mist);
}

.page-products .hero-record {
  background: var(--warm-white);
  color: var(--stone);
  border-radius: var(--r-lg);
  padding: clamp(16px, 3vw, 24px);
  box-shadow: 0 18px 40px rgba(11, 43, 36, 0.28);
}

.page-products .hero-record .eyebrow {
  color: var(--clay);
  margin: 0 0 8px;
}

.page-products .record-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.32rem);
  line-height: 1.32;
  color: var(--ink-green);
  margin: 0 0 14px;
}

.page-products .record-note {
  margin: 12px 0 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--turf);
}

/* ---------- 通用表格 ---------- */
.page-products .table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-products .record-table {
  width: 100%;
  min-width: 300px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.page-products .record-table th {
  text-align: left;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--turf);
  font-weight: 700;
  padding: 9px 8px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.page-products .record-table td {
  padding: 12px 8px;
  height: 46px;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}

.page-products .record-table tbody tr:nth-child(even) {
  background: rgba(201, 216, 210, 0.2);
}

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

.page-products .record-table .mono {
  color: var(--ink-green);
  font-weight: 700;
  white-space: nowrap;
}

.page-products .side-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
}

.page-products .side-home {
  background: var(--turf);
}

.page-products .side-away {
  background: var(--clay);
}

.page-products .tag {
  display: inline-block;
  border-radius: var(--r-pill);
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

/* ---------- 章节骨架 ---------- */
.page-products .tools-section {
  padding: clamp(44px, 7vw, 86px) 0;
}

.page-products .tools-section.section--warm {
  background: var(--warm-white);
}

.page-products .chapter-marker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.page-products .chapter-num {
  color: var(--clay);
  font-size: 0.9rem;
  font-weight: 700;
}

.page-products .chapter-bar {
  display: block;
  width: 46px;
  height: 3px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--clay), var(--neon));
}

.page-products .chapter-label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--turf);
  font-weight: 700;
}

.page-products .section-head {
  max-width: 62ch;
  margin-bottom: clamp(22px, 4vw, 36px);
}

.page-products .section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.62rem, 4.4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink-green);
  margin: 0 0 12px;
}

.page-products .section-lede {
  margin: 0;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--stone);
}

/* ---------- 01 排名速查 ---------- */
.page-products .rank-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
}

.page-products .pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.page-products .pill {
  border: 1px solid var(--line);
  background: var(--warm-white);
  color: var(--ink-green);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: transform 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.page-products .pill:hover {
  transform: translateY(-2px);
  border-color: var(--neon);
}

.page-products .pill[aria-selected="true"] {
  background: var(--ink-green);
  color: var(--neon);
  border-color: var(--ink-green);
}

.page-products .rank-items {
  display: grid;
  gap: 12px;
}

.page-products .ability {
  background: var(--warm-white);
  border-radius: var(--pp-radius);
  padding: 16px 18px 18px;
  border-left: 4px solid var(--neon);
  box-shadow: 0 1px 0 var(--line);
}

.page-products .ability--clay {
  border-left-color: var(--clay);
}

.page-products .ability--turf {
  border-left-color: var(--turf);
}

.page-products .ability h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink-green);
}

.page-products .ability p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.68;
  color: var(--stone);
}

.page-products .rank-figure {
  margin: 0;
}

/* ---------- 02 小屏测试版 ---------- */
.page-products .mini-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 28px);
  align-items: start;
}

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

.page-products .step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--pp-radius);
  padding: 16px 18px;
}

.page-products .step-num {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  background: var(--ink-green);
  color: var(--neon);
  font-weight: 700;
  font-size: 0.95rem;
}

.page-products .step h3 {
  margin: 2px 0 4px;
  font-size: 1rem;
  color: var(--ink-green);
}

.page-products .step p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--stone);
}

.page-products .speed-card {
  background: var(--ink-green);
  color: var(--warm-white);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3.4vw, 30px);
}

.page-products .speed-figure {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--neon);
  font-family: var(--font-mono);
}

.page-products .speed-figure .mono {
  font-size: clamp(2.6rem, 8vw, 3.8rem);
  font-weight: 700;
  line-height: 1;
}

.page-products .speed-unit {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--mist);
}

.page-products .speed-copy {
  margin: 12px 0 16px;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--warm-white);
}

.page-products .speed-notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line-dark);
  padding-top: 14px;
}

.page-products .speed-notes li {
  position: relative;
  padding-left: 16px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--mist);
}

.page-products .speed-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--neon);
}

/* ---------- 03 四级检索 ---------- */
.page-products .cards-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
}

.page-products .path-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .path-step {
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  display: grid;
  gap: 2px;
}

.page-products .path-num {
  color: var(--clay);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page-products .path-step strong {
  font-size: 1rem;
  color: var(--ink-green);
}

.page-products .path-step span:last-child {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--turf);
}

.page-products .cards-copy {
  margin: 0 0 16px;
  font-size: 0.96rem;
  line-height: 1.72;
  color: var(--stone);
  max-width: 52ch;
}

.page-products .tag-demo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .cards-figure {
  margin: 0;
}

/* ---------- 04 记录卡片 ---------- */
.page-products .table-card {
  background: var(--paper);
  border-radius: var(--pp-radius);
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid var(--line);
  border-top: 4px solid var(--turf);
}

.page-products .table-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
  margin-bottom: 10px;
}

.page-products .table-card-head h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink-green);
}

.page-products .table-meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--turf);
  letter-spacing: 0.04em;
}

.page-products .record-table--full {
  min-width: 520px;
}

.page-products .table-hint {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--turf);
  line-height: 1.6;
}

.page-products .rec-disclosure {
  margin-top: 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--warm-white);
  overflow: hidden;
}

.page-products .rec-disclosure summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink-green);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.page-products .rec-disclosure summary::before {
  content: "+";
  font-family: var(--font-mono);
  color: var(--clay);
  font-size: 1.1rem;
  line-height: 1;
}

.page-products .rec-disclosure[open] summary::before {
  content: "–";
  color: var(--neon);
}

.page-products .disclosure-body {
  padding: 0 16px 16px;
}

.page-products .card-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 2px solid var(--mist);
  display: grid;
  gap: 12px;
}

.page-products .card-timeline li {
  position: relative;
  font-size: 0.9rem;
  line-height: 1.62;
  color: var(--stone);
  padding-left: 6px;
}

.page-products .card-timeline li::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warm-white);
  border: 2px solid var(--clay);
}

.page-products .card-timeline .mono {
  color: var(--ink-green);
  font-weight: 700;
  margin-right: 8px;
}

.page-products .table-link {
  margin: 16px 0 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--turf);
}

.page-products a {
  color: inherit;
}

.page-products .table-link a,
.page-products .export-card a,
.page-products .scene-links a {
  color: var(--ink-green);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--neon);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* ---------- 05 导出 ---------- */
.page-products .export-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2.6vw, 22px);
  align-items: start;
}

.page-products .export-card {
  background: var(--warm-white);
  border-radius: var(--pp-radius);
  padding: 20px clamp(16px, 3vw, 24px) 22px;
  border: 1px solid var(--line);
}

.page-products .export-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--neon);
  background: var(--ink-green);
  border-radius: var(--r-pill);
  padding: 4px 10px;
  margin-bottom: 10px;
}

.page-products .export-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--ink-green);
}

.page-products .export-card p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--stone);
}

/* ---------- 06 使用场景 ---------- */
.page-products .scene-band {
  position: relative;
  margin-top: clamp(20px, 4vw, 40px);
  padding: clamp(28px, 5vw, 64px) 0 clamp(38px, 6vw, 76px);
  background: var(--ink-green);
  color: var(--warm-white);
  border-radius: clamp(20px, 4vw, 36px) clamp(20px, 4vw, 36px) 0 0;
  overflow: hidden;
}

.page-products .scene-figure {
  margin: 0 0 clamp(22px, 4vw, 36px);
  opacity: 0.72;
}

.page-products .scene-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
}

.page-products .scene-band .section-title {
  color: var(--warm-white);
}

.page-products .scene-band .section-lede {
  color: var(--mist);
}

.page-products .scene-band .chapter-label,
.page-products .scene-band .chapter-num {
  color: var(--neon);
}

.page-products .scene-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-products .scene-card {
  background: rgba(251, 247, 236, 0.08);
  border: 1px solid var(--line-dark);
  border-radius: var(--pp-radius);
  padding: 18px 18px 20px;
  backdrop-filter: blur(2px);
}

.page-products .scene-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  color: var(--neon);
}

.page-products .scene-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--mist);
}

.page-products .scene-links {
  margin: 22px 0 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--mist);
  max-width: 60ch;
}

.page-products .scene-links a {
  color: var(--neon);
  text-decoration-color: var(--neon);
}

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

  .page-products .mini-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
}

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

  .page-products .hero-copy {
    grid-column: 1 / 6;
  }

  .page-products .hero-phone {
    grid-column: 1 / 4;
  }

  .page-products .hero-record {
    grid-column: 4 / 9;
  }

  .page-products .rank-grid,
  .page-products .cards-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .page-products .rank-main,
  .page-products .cards-main {
    grid-column: 1 / 6;
  }

  .page-products .rank-figure {
    grid-column: 6 / 9;
    margin-top: 40px;
  }

  .page-products .cards-figure {
    grid-column: 6 / 9;
  }

  .page-products .path-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .export-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .page-products .export-card:nth-child(1) {
    grid-column: 1 / 5;
  }

  .page-products .export-card:nth-child(2) {
    grid-column: 5 / 9;
    margin-top: 36px;
  }

  .page-products .export-card:nth-child(3) {
    grid-column: 2 / 8;
  }

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

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

  .page-products .speed-card {
    margin-top: 28px;
  }
}

@media (min-width: 1080px) {
  .page-products .hero-copy h1 {
    max-width: 14ch;
  }

  .page-products .rank-figure {
    margin-top: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pill,
  .page-products .pill:hover {
    transition: none;
    transform: none;
  }
}
