.page-products {
  --xp-line: rgba(157, 180, 198, .20);
  --xp-line-strong: rgba(157, 180, 198, .42);
  --xp-card: #0E2C4C;
  --xp-paper2: #FBF2E2;
  --xp-ink-shadow: rgba(16, 24, 32, .18);
  --xp-soft: rgba(244, 234, 216, .78);
  background: var(--ink);
  color: var(--paper);
  overflow-x: hidden;
}

.page-products h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.2;
}

/* 面包屑 */
.page-products .xp-crumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 18px 0 0;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--mist);
}

.page-products .xp-crumb a {
  color: var(--mist);
  text-decoration: none;
}

.page-products .xp-crumb a:hover {
  color: var(--gold-lift);
}

.page-products .xp-crumb li[aria-current="page"] {
  color: var(--gold);
}

/* 首屏 */
.page-products .xp-hero {
  position: relative;
  display: grid;
  gap: 30px;
  padding-top: 26px;
  padding-bottom: 44px;
}

.page-products .xp-hero::before {
  content: "";
  position: absolute;
  inset: -40px -20vw 0 20%;
  background: radial-gradient(58% 62% at 72% 8%, rgba(53, 224, 208, .14), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.page-products .xp-hero__copy,
.page-products .xp-hero__board {
  position: relative;
  z-index: 1;
}

.page-products h1 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-products .xp-hero__lede {
  margin: 18px 0 0;
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(244, 234, 216, .84);
}

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

.page-products .xp-device {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--xp-line-strong);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(18, 58, 94, .9), rgba(7, 26, 47, .55));
  box-shadow: 12px 16px 0 -2px rgba(242, 169, 59, .22);
  transform: rotate(-1.2deg);
}

.page-products .xp-device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-products .xp-device figcaption {
  margin-top: 10px;
  padding: 0 2px;
  font-size: .74rem;
  line-height: 1.6;
  color: var(--mist);
}

.page-products .xp-meter {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
}

.page-products .xp-meter li {
  padding: 10px 12px 12px;
  background: rgba(18, 58, 94, .6);
  border-top: 2px solid var(--gold);
}

.page-products .xp-meter .num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  letter-spacing: .02em;
  color: var(--gold-lift);
}

.page-products .xp-meter em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: .72rem;
  line-height: 1.5;
  color: rgba(244, 234, 216, .7);
}

/* 章节预览 */
.page-products .xp-preview {
  padding-bottom: 12px;
}

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

.page-products .xp-preview__list a {
  display: block;
  height: 100%;
  padding: 16px 14px 18px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, rgba(18, 58, 94, .55), rgba(11, 42, 74, .32));
  border: 1px solid var(--xp-line);
  border-top: 2px solid var(--cyan);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}

.page-products .xp-preview__list a:hover,
.page-products .xp-preview__list a:focus-visible {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.page-products .xp-preview__num {
  display: block;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  color: var(--cyan);
}

.page-products .xp-preview__t {
  display: block;
  margin-top: 8px;
  font-size: .96rem;
  font-weight: 700;
}

.page-products .xp-preview__d {
  display: block;
  margin-top: 6px;
  font-size: .76rem;
  line-height: 1.65;
  color: rgba(244, 234, 216, .68);
}

/* 区块骨架 */
.page-products .xp-block {
  position: relative;
  padding: 52px 0;
}

.page-products .xp-block--stand {
  background: var(--ink-stand);
}

.page-products .xp-block--stand::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg, rgba(53, 224, 208, .07), transparent 46%);
  pointer-events: none;
}

.page-products .xp-block--stand > .container {
  position: relative;
  z-index: 1;
}

.page-products .xp-block--paper {
  background: var(--paper);
  color: var(--print-ink);
}

.page-products .xp-head {
  max-width: 62ch;
}

.page-products .xp-head h2 {
  margin: 12px 0 0;
  font-size: clamp(1.5rem, 4.4vw, 2.3rem);
}

.page-products .xp-head__lede {
  margin: 16px 0 0;
  font-size: .95rem;
  line-height: 1.85;
  color: var(--xp-soft);
}

.page-products .xp-block--paper .xp-head__lede {
  color: rgba(16, 24, 32, .74);
}

/* 技能树 */
.page-products .xp-tree__wire {
  display: block;
  width: 100%;
  height: auto;
  margin: 30px 0 10px;
}

.page-products .xp-wire {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.5;
  stroke-dasharray: 6 9;
  opacity: .5;
}

.page-products .xp-wire--live {
  stroke: var(--gold);
  stroke-dasharray: none;
  opacity: .85;
}

.page-products .xp-node {
  fill: var(--gold);
}

.page-products .xp-node--mid {
  fill: var(--cyan);
}

.page-products .xp-node--end {
  fill: var(--alert);
}

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

.page-products .xp-tree__stage {
  padding: 20px 18px 22px;
  background: rgba(18, 58, 94, .45);
  border-left: 3px solid var(--gold);
}

.page-products .xp-tree__stage h3 {
  margin: 12px 0 0;
  font-size: 1.08rem;
  font-weight: 700;
}

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

.page-products .xp-tree__stage li {
  position: relative;
  padding-left: 18px;
  font-size: .85rem;
  line-height: 1.72;
  color: rgba(244, 234, 216, .82);
}

.page-products .xp-tree__stage li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

/* 指标矩阵 */
.page-products .xp-matrix {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
}

.page-products .xp-matrix__item {
  padding: 14px 12px 16px;
  background: var(--xp-paper2);
  border: 1px solid rgba(16, 24, 32, .16);
  box-shadow: 4px 4px 0 var(--xp-ink-shadow);
}

.page-products .xp-matrix__num {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  color: #7A6A4A;
}

.page-products .xp-matrix__name {
  display: block;
  margin-top: 6px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--print-ink);
}

.page-products .xp-matrix__note {
  display: block;
  margin-top: 6px;
  font-size: .76rem;
  line-height: 1.6;
  color: rgba(16, 24, 32, .66);
}

.page-products .xp-figure {
  margin: 26px 0 0;
}

.page-products .xp-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--xp-line);
  object-fit: cover;
}

.page-products .xp-figure figcaption {
  margin-top: 9px;
  font-size: .76rem;
  line-height: 1.6;
  color: var(--mist);
}

.page-products .xp-block--paper .xp-figure img {
  border-color: rgba(16, 24, 32, .2);
}

.page-products .xp-block--paper .xp-figure figcaption {
  color: rgba(16, 24, 32, .6);
}

/* 折叠面板 */
.page-products .xp-acc {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.page-products .xp-acc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  text-align: left;
}

.page-products .xp-block--paper .xp-acc__head {
  color: var(--print-ink);
}

.page-products .xp-acc__sign {
  flex: none;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: #A8823C;
}

.page-products .xp-acc__panel {
  font-size: .88rem;
  line-height: 1.85;
}

.page-products .xp-acc__panel p {
  margin: 0 0 10px;
}

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

/* 两栏图文 */
.page-products .xp-split {
  display: grid;
  gap: 28px;
}

.page-products .xp-split h2 {
  margin: 12px 0 0;
  font-size: clamp(1.5rem, 4.4vw, 2.2rem);
}

.page-products .xp-checks {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
}

.page-products .xp-checks li {
  position: relative;
  padding-left: 22px;
  font-size: .9rem;
  line-height: 1.75;
  color: rgba(244, 234, 216, .84);
}

.page-products .xp-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--cyan);
  transform: rotate(45deg);
}

/* 三步路径 */
.page-products .xp-steps {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
}

.page-products .xp-step {
  position: relative;
  padding: 22px 18px 20px;
  background: rgba(7, 26, 47, .6);
  border: 1px solid var(--xp-line);
}

.page-products .xp-step__n {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--gold);
}

.page-products .xp-step h3 {
  margin: 12px 0 0;
  font-size: 1rem;
  font-weight: 700;
}

.page-products .xp-step p {
  margin: 8px 0 0;
  font-size: .84rem;
  line-height: 1.7;
  color: rgba(244, 234, 216, .76);
}

/* 回访四维度 */
.page-products .xp-dims {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
}

.page-products .xp-dim {
  padding: 16px;
  background: rgba(18, 58, 94, .42);
  border-top: 2px solid var(--cyan);
}

.page-products .xp-dim strong {
  display: block;
  font-size: .95rem;
  color: var(--gold-lift);
}

.page-products .xp-dim span {
  display: block;
  margin-top: 7px;
  font-size: .8rem;
  line-height: 1.72;
  color: rgba(244, 234, 216, .76);
}

/* 规格 */
.page-products .xp-spec {
  margin-top: 26px;
}

.page-products .xp-spec .xp-acc__head {
  color: var(--print-ink);
}

.page-products .xp-spec__body {
  margin: 18px 0 0;
  padding: 0;
}

.page-products .xp-spec__row {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(16, 24, 32, .24);
}

.page-products .xp-spec__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-products .xp-spec__key {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .08em;
  color: #7A6A4A;
}

.page-products .xp-spec__val {
  margin: 0;
  font-size: .88rem;
  line-height: 1.72;
  color: rgba(16, 24, 32, .84);
}

/* 行动条 */
.page-products .xp-cta {
  display: grid;
  gap: 16px;
  margin-top: 34px;
  padding: 24px 20px;
  border: 1px solid var(--xp-line-strong);
  background: linear-gradient(118deg, rgba(18, 58, 94, .72), rgba(7, 26, 47, .45));
}

.page-products .xp-cta p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.75;
  color: rgba(244, 234, 216, .82);
}

.page-products .xp-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 中等屏幕 */
@media (min-width: 700px) {
  .page-products .xp-preview__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page-products .xp-spec__row {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 18px;
    align-items: baseline;
  }
}

/* 桌面 */
@media (min-width: 880px) {
  .page-products .xp-tree {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

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

  .page-products .xp-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    padding: 26px 28px;
  }
}

@media (min-width: 900px) {
  .page-products .xp-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    gap: 44px;
    align-items: center;
  }

  .page-products .xp-split > .xp-figure {
    margin-top: 0;
  }
}

@media (min-width: 960px) {
  .page-products .xp-block {
    padding: 84px 0;
  }

  .page-products .xp-hero {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: 48px;
    align-items: start;
    padding-top: 46px;
    padding-bottom: 56px;
  }
}

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

  .page-products .xp-matrix {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .page-products .xp-matrix__item:nth-child(7),
  .page-products .xp-matrix__item:nth-child(10) {
    grid-column: span 2;
    background: var(--ink-stand);
    border-color: var(--ink-stand);
    box-shadow: 5px 5px 0 rgba(242, 169, 59, .34);
  }

  .page-products .xp-matrix__item:nth-child(7) .xp-matrix__num,
  .page-products .xp-matrix__item:nth-child(10) .xp-matrix__num {
    color: var(--cyan);
  }

  .page-products .xp-matrix__item:nth-child(7) .xp-matrix__name,
  .page-products .xp-matrix__item:nth-child(10) .xp-matrix__name {
    color: var(--gold-lift);
  }

  .page-products .xp-matrix__item:nth-child(7) .xp-matrix__note,
  .page-products .xp-matrix__item:nth-child(10) .xp-matrix__note {
    color: rgba(244, 234, 216, .78);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .xp-preview__list a {
    transition: none;
  }

  .page-products .xp-device {
    transform: none;
  }
}
