.page-products {
  --pp-gap: clamp(18px, 3vw, 36px);
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font-body);
  padding-bottom: clamp(48px, 8vw, 96px);
  overflow-x: hidden;
}

.page-products img {
  max-width: 100%;
  height: auto;
}

.page-products .crumbs {
  padding: 14px var(--edge) 0;
}

.page-products .crumbs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--slate);
}

.page-products .crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

.page-products .crumbs a {
  color: var(--slate);
  text-decoration: none;
}

.page-products .crumbs a:hover {
  color: var(--ink-900);
}

/* ---------- 首屏 ---------- */
.page-products .hero-plans {
  position: relative;
  isolation: isolate;
  margin-top: 12px;
  padding: clamp(30px, 7vw, 72px) var(--edge) clamp(40px, 8vw, 84px);
  background: var(--ink-900);
  color: #fff;
  overflow: hidden;
}

.page-products .hero-plans::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 34%;
  right: -18%;
  bottom: -46%;
  height: 78%;
  background: linear-gradient(120deg, rgba(22, 224, 174, 0.3), rgba(22, 224, 174, 0) 72%);
  transform: rotate(-8deg);
}

.page-products .hero-plans::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  background: var(--ink-800);
  clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%);
}

.page-products .hero-plans__grid {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  max-width: var(--maxw);
  margin: 0 auto;
}

.page-products .hero-plans h1 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 7.2vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.page-products .hero-plans .eyebrow {
  color: var(--mint);
}

.page-products .hero-plans__lede {
  margin: 18px 0 0;
  max-width: 48ch;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
}

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

.page-products .hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.page-products .hero-facts dt {
  margin-bottom: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.page-products .hero-facts dd {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(22px, 4vw, 32px);
  color: var(--mint);
}

.page-products .hero-plans__media {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--ink-800);
  box-shadow: 0 40px 70px -50px rgba(0, 0, 0, 0.9);
}

.page-products .hero-plans__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (min-width: 900px) {
  .page-products .hero-plans__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: end;
  }

  .page-products .hero-plans__media {
    transform: translateY(26px) rotate(-1.2deg);
  }
}

/* ---------- 布局与页签 ---------- */
.page-products .plan-layout {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 76px) var(--edge) 0;
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

.page-products .plan-tabs ol {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 6px;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-products .plan-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-800);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.page-products .plan-tabs a:hover,
.page-products .plan-tabs a:focus-visible {
  border-color: var(--mint);
  color: var(--ink-900);
}

.page-products .plan-tabs .num {
  font-size: 11px;
  color: var(--slate);
}

@media (min-width: 1000px) {
  .page-products .plan-layout {
    grid-template-columns: 182px minmax(0, 1fr);
    align-items: start;
  }

  .page-products .plan-tabs {
    position: sticky;
    top: 24px;
  }

  .page-products .plan-tabs ol {
    flex-direction: column;
    gap: 0;
    overflow: visible;
    border-left: 2px solid var(--line);
    padding: 0;
  }

  .page-products .plan-tabs a {
    width: 100%;
    border: 0;
    border-left: 2px solid transparent;
    margin-left: -2px;
    padding: 12px 10px 12px 14px;
    background: transparent;
    font-size: 13.5px;
  }

  .page-products .plan-tabs a:hover,
  .page-products .plan-tabs a:focus-visible {
    background: #fff;
    border-left-color: var(--mint);
  }
}

/* ---------- 区块通用 ---------- */
.page-products .plan-block {
  padding-top: clamp(8px, 2vw, 16px);
  scroll-margin-top: 88px;
}

.page-products .plan-block + .plan-block {
  margin-top: clamp(48px, 8vw, 96px);
  padding-top: clamp(36px, 6vw, 64px);
  border-top: 1px solid var(--line);
}

.page-products .block-head h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(25px, 4.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

.page-products .block-head__lede {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--graphite);
}

.page-products .eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--mint-deep);
}

.page-products .note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
  border-left: 3px solid var(--paper-2);
  padding-left: 12px;
}

.page-products .inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 18px 0 0;
}

.page-products .inline-links a {
  font-size: 14px;
  color: var(--ink-900);
  text-decoration: none;
  border-bottom: 1px solid var(--mint);
  padding-bottom: 2px;
}

.page-products .inline-links a:hover {
  color: var(--mint-deep);
}

/* ---------- 对照表 ---------- */
.page-products .table-scroll {
  margin-top: clamp(20px, 3vw, 30px);
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
}

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

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

.page-products .compare-table thead th {
  background: var(--ink-900);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.page-products .compare-table tbody th {
  font-weight: 700;
  color: var(--ink-900);
  white-space: nowrap;
}

.page-products .compare-table tbody td {
  line-height: 1.65;
  color: var(--graphite);
}

.page-products .compare-table tbody tr:hover {
  background: var(--paper-2);
}

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

.page-products .compare-table .cell-num {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--mint-deep);
  white-space: nowrap;
}

/* ---------- 常用入口 ---------- */
.page-products .entry-grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(20px, 3vw, 30px);
}

.page-products .path-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-products .path-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.75;
  color: var(--graphite);
}

.page-products .path-list strong {
  display: inline-block;
  margin-right: 6px;
  font-weight: 700;
  color: var(--ink-900);
}

.page-products .entry-copy > p {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.8;
}

.page-products .entry-figure {
  margin: 0;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px;
  box-shadow: var(--shadow-1);
}

.page-products .entry-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.page-products .media__cap {
  margin: 10px 2px 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--slate);
}

@media (min-width: 860px) {
  .page-products .entry-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }
}

.page-products .slot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 8px 6px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12.5px;
  line-height: 1.35;
  text-align: center;
  color: var(--ink-800);
}

.page-products .slot--filled {
  border-left: 3px solid var(--mint);
  font-weight: 500;
}

.page-products .slot--empty {
  border-style: dashed;
  background: transparent;
  color: var(--slate);
}

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

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

/* ---------- iOS 板块 ---------- */
.page-products .ios-grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  margin-top: clamp(20px, 3vw, 30px);
  align-items: center;
}

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

.page-products .ios-copy > p {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.8;
}

.page-products .phone {
  position: relative;
  width: min(260px, 78%);
  margin: 0 auto;
  padding: 12px 10px 16px;
  background: var(--ink-900);
  border-radius: 30px;
  box-shadow: 0 26px 54px -32px rgba(11, 26, 43, 0.8);
}

.page-products .phone::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  width: 54px;
  height: 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.4);
  transform: translateX(-50%);
}

.page-products .phone__screen {
  overflow: hidden;
  border-radius: 22px;
  background: var(--paper);
}

.page-products .phone__screen img {
  display: block;
  width: 100%;
  aspect-ratio: 880 / 1180;
  object-fit: cover;
}

.page-products .filter-demo {
  margin-top: clamp(24px, 4vw, 38px);
  padding: 18px clamp(14px, 3vw, 24px) 22px;
  border: 1px solid var(--line);
  background: #fff;
}

.page-products .filter-demo .filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

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

.page-products .demo-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding: 10px 12px;
  border-left: 3px solid var(--line-soft);
  background: var(--paper);
  font-size: 14px;
  line-height: 1.55;
  color: var(--graphite);
}

.page-products .demo-list li .round {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
}

.page-products .is-filtered-out {
  display: none !important;
}

/* ---------- 战报模块 ---------- */
.page-products .report-grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  margin-top: clamp(20px, 3vw, 30px);
}

@media (min-width: 940px) {
  .page-products .report-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    align-items: start;
  }
}

.page-products .line-card {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.page-products .line-card:last-of-type {
  border-bottom: 1px solid var(--line);
}

.page-products .line-card__no {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--mint);
  color: var(--ink-900);
  font-size: 15px;
  font-weight: 600;
}

.page-products .line-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-900);
}

.page-products .line-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--graphite);
}

.page-products .report-copy > p {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.8;
}

.page-products .report-visual .statline {
  background: var(--ink-900);
  padding: 6px 18px;
}

.page-products .report-visual .statline__row {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.page-products .report-visual .statline__row:last-child {
  border-bottom: 0;
}

.page-products .report-visual .statline__label {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62);
}

.page-products .report-visual .statline__value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(22px, 3.6vw, 30px);
  color: var(--mint);
}

.page-products .report-visual .statline__unit {
  font-size: 0.6em;
  margin-left: 2px;
}

.page-products .ratio-card {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.page-products .ratio-row {
  margin-top: 14px;
}

.page-products .ratio-row__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 6px;
  font-size: 13.5px;
  color: var(--ink-800);
}

.page-products .ratio-row__label .num {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ink-900);
}

.page-products .ratio-card .ratio__track {
  height: 12px;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}

.page-products .ratio-card .ratio__fill {
  height: 100%;
  width: var(--v, 0%);
  background: var(--mint);
  transition: width 480ms var(--ease);
}

.page-products .ratio-card .ratio__fill--alt {
  background: var(--ink-700);
}

.page-products .ratio-card .ratio__legend {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--slate);
}

.page-products .report-figure {
  margin: 18px 0 0;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px;
}

.page-products .report-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 1000 / 640;
  object-fit: cover;
}

/* ---------- 场景 ---------- */
.page-products .media--band {
  margin: 0 0 clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
}

.page-products .media--band img {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 520;
  object-fit: cover;
}

.page-products .block-head--wide .block-head__lede {
  max-width: 66ch;
}

.page-products .scene-grid {
  display: grid;
  gap: 1px;
  margin-top: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  background: var(--line);
}

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

.page-products .scene {
  padding: clamp(18px, 3vw, 30px);
  background: var(--paper);
}

.page-products .scene__tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 3px 9px;
  background: var(--violet);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}

.page-products .scene h3 {
  margin: 0 0 10px;
  font-size: clamp(18px, 2.4vw, 21px);
  font-weight: 700;
  color: var(--ink-900);
}

.page-products .scene p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--graphite);
}

.page-products .scene__order {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--slate);
}

.page-products .scene__order .num {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 7px;
  background: var(--paper-2);
  color: var(--ink-800);
  font-size: 11.5px;
}

/* ---------- 三步上手 ---------- */
.page-products .steps {
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-products .step {
  border-bottom: 1px solid var(--line);
}

.page-products .step details {
  background: transparent;
}

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

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

.page-products .step__num {
  flex: 0 0 auto;
  padding: 4px 9px;
  background: var(--mint);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(20px, 3.4vw, 28px);
  line-height: 1.1;
}

.page-products .step__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(16px, 2.3vw, 20px);
  letter-spacing: -0.01em;
  color: var(--ink-900);
}

.page-products .step__short {
  font-size: 13px;
  color: var(--slate);
}

.page-products .step__body-marker {
  display: none;
}

.page-products .step__arrow {
  margin-left: auto;
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--slate);
  transition: transform 200ms var(--ease);
}

.page-products .step details[open] .step__arrow {
  transform: rotate(90deg);
  color: var(--mint-deep);
}

.page-products .step__body {
  padding: 0 4px 20px calc(14px + 58px);
}

.page-products .step__body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--graphite);
}

@media (max-width: 599px) {
  .page-products .step__short {
    display: none;
  }

  .page-products .step__body {
    padding-left: 4px;
  }
}

@media (min-width: 900px) {
  .page-products .step summary {
    padding: 22px 8px;
  }
}

.page-products .copy-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.page-products .copy-bar__text {
  flex: 1 1 260px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-800);
  word-break: break-word;
}

/* ---------- 结尾 ---------- */
.page-products .plan-block--end {
  padding-bottom: clamp(10px, 3vw, 24px);
}

.page-products .cta-pair {
  display: grid;
  gap: 16px;
  margin-top: clamp(20px, 3vw, 30px);
}

@media (min-width: 760px) {
  .page-products .cta-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-products .cta-card {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--mint);
  background: #fff;
  box-shadow: var(--shadow-1);
}

.page-products .cta-card--signal {
  border-top-color: var(--signal);
}

.page-products .cta-card h3 {
  margin: 0 0 10px;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  color: var(--ink-900);
}

.page-products .cta-card p {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--graphite);
}

.page-products .cta-card .btn {
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .page-products .ratio-card .ratio__fill {
    transition: none;
  }

  .page-products .step__arrow {
    transition: none;
  }
}

.page-products {
  --v: 1rem;
}
