.page-products {
  background: var(--ink-900);
  color: var(--fog);
}

.page-products .p-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- 首屏 ---------- */
.page-products .p-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.3rem, 4vw, 2.2rem) clamp(2.2rem, 6vw, 4rem);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(6, 18, 37, 0.98), rgba(11, 29, 54, 0.96) 55%, rgba(18, 44, 78, 0.92));
}

.page-products .p-hero::before {
  content: "";
  position: absolute;
  inset: -32% auto auto -12%;
  width: min(520px, 72vw);
  aspect-ratio: 1;
  background: radial-gradient(circle at 30% 70%, rgba(34, 211, 238, 0.22), transparent 66%);
  pointer-events: none;
}

.page-products .p-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -42% auto;
  width: min(620px, 82vw);
  aspect-ratio: 1;
  background: radial-gradient(circle at 70% 30%, rgba(255, 122, 26, 0.26), transparent 62%);
  pointer-events: none;
}

.page-products .breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: clamp(1rem, 3vw, 1.7rem);
  font-size: 0.82rem;
  color: var(--steel);
}

.page-products .breadcrumb a {
  color: var(--ice);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.page-products .breadcrumb a:hover,
.page-products .breadcrumb a:focus-visible {
  color: var(--orange);
}

.page-products .p-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.6rem, 4vw, 2.6rem);
}

.page-products .eyebrow {
  margin: 0;
  color: var(--amber);
}

.page-products .p-hero h1 {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 5.4vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--fog);
}

.page-products .p-hero__lead {
  max-width: 46ch;
  margin: 1rem 0 0;
  font-size: clamp(0.98rem, 2.2vw, 1.06rem);
  line-height: 1.78;
  color: var(--steel);
}

.page-products .p-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: clamp(1.3rem, 3vw, 1.9rem);
}

.page-products .p-hero__panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(18, 44, 78, 0.95), rgba(11, 29, 54, 0.92));
  padding: clamp(1.05rem, 3vw, 1.6rem);
  box-shadow: var(--shadow-lift);
}

.page-products .p-panel__label {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--amber);
}

.page-products .p-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .p-fact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--orange);
  background: rgba(6, 18, 37, 0.62);
}

.page-products .p-fact:nth-child(2n) {
  border-left-color: var(--cyan);
}

.page-products .p-fact__num {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 600;
  line-height: 1;
  color: var(--fog);
}

.page-products .p-fact__txt {
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--steel);
}

/* ---------- 工作台外壳 ---------- */
.page-products .p-shell {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2rem);
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(1.8rem, 4vw, 2.8rem) var(--gutter) clamp(2.4rem, 6vw, 4rem);
}

.page-products .p-rail {
  min-width: 0;
}

.page-products .p-rail__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  color: var(--steel);
}

.page-products .p-rail__list {
  display: flex;
  gap: 0.45rem;
  margin: 0;
  padding: 0 0 0.5rem;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-products .p-rail__list li {
  flex: 0 0 auto;
}

.page-products .p-rail__link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.42rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--steel);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease), background-color 0.22s var(--ease);
}

.page-products .p-rail__link span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--orange);
}

.page-products .p-rail__link:hover,
.page-products .p-rail__link:focus-visible {
  color: var(--fog);
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
}

.page-products .p-stack {
  display: grid;
  gap: clamp(2.2rem, 5vw, 3.6rem);
  min-width: 0;
}

/* ---------- 章节通用 ---------- */
.page-products .p-section {
  min-width: 0;
  scroll-margin-top: calc(var(--header-h) + 1.4rem);
}

.page-products .p-section__head {
  max-width: 62ch;
}

.page-products .p-section__head h2 {
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3.4vw, 1.95rem);
  line-height: 1.26;
  letter-spacing: -0.015em;
  color: var(--fog);
}

.page-products .p-section__lead {
  margin: 0.85rem 0 0;
  font-size: 0.97rem;
  line-height: 1.78;
  color: var(--steel);
}

.page-products .p-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--steel);
}

.page-products .p-note a {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}

.page-products .p-note a:hover,
.page-products .p-note a:focus-visible {
  color: var(--orange);
}

.page-products .p-figure {
  margin: clamp(1.3rem, 3vw, 1.9rem) 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-700);
  line-height: 0;
}

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

/* ---------- 入口路径 ---------- */
.page-products .p-steps {
  display: grid;
  gap: 0.9rem;
  margin: clamp(1.3rem, 3vw, 1.9rem) 0 0;
  padding: 0;
  list-style: none;
}

.page-products .p-step {
  position: relative;
  padding: 1.05rem 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(170deg, rgba(18, 44, 78, 0.88), rgba(11, 29, 54, 0.72));
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}

.page-products .p-step:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
}

.page-products .p-step__idx {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.page-products .p-step__title {
  margin: 0.42rem 0 0.38rem;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--fog);
}

.page-products .p-step__text {
  margin: 0;
  font-size: 0.89rem;
  line-height: 1.72;
  color: var(--steel);
}

/* ---------- 主客场对照 ---------- */
.page-products .p-seasons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: clamp(1.2rem, 3vw, 1.6rem);
}

.page-products .p-season {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(11, 29, 54, 0.6);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--steel);
}

.page-products .p-season.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink-900);
  font-weight: 600;
}

.page-products .p-table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(11, 29, 54, 0.58);
}

.page-products .p-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.91rem;
}

.page-products .p-table caption {
  caption-side: top;
  padding: 0.9rem 1rem 0.2rem;
  text-align: left;
  font-size: 0.8rem;
  color: var(--steel);
}

.page-products .p-table th,
.page-products .p-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(43, 71, 107, 0.72);
}

.page-products .p-table thead th {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ice);
}

.page-products .p-table thead th.is-home {
  color: var(--orange);
}

.page-products .p-table thead th.is-away {
  color: var(--cyan);
}

.page-products .p-table tbody th {
  font-weight: 600;
  color: var(--fog);
  white-space: nowrap;
}

.page-products .p-table tbody td {
  line-height: 1.68;
  color: var(--steel);
}

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

.page-products .p-table tbody tr:hover th,
.page-products .p-table tbody tr:hover td {
  background: rgba(34, 211, 238, 0.06);
}

/* ---------- 收藏队列 ---------- */
.page-products .p-cards {
  display: grid;
  gap: 0.9rem;
  margin: clamp(1.2rem, 3vw, 1.8rem) 0 0;
  padding: 0;
  list-style: none;
}

.page-products .p-card {
  padding: 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(18, 44, 78, 0.55);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}

.page-products .p-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
}

.page-products .p-card__title {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  color: var(--fog);
}

.page-products .p-card__text {
  margin: 0;
  font-size: 0.89rem;
  line-height: 1.72;
  color: var(--steel);
}

/* ---------- 客户端环境 ---------- */
.page-products .p-envs {
  display: grid;
  gap: 0.9rem;
  margin: clamp(1.2rem, 3vw, 1.8rem) 0 0;
  padding: 0;
  list-style: none;
}

.page-products .p-env {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(11, 29, 54, 0.72);
}

.page-products .p-env__name {
  font-family: var(--font-mono);
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

.page-products .p-env p {
  margin: 0;
  font-size: 0.89rem;
  line-height: 1.7;
  color: var(--steel);
}

.page-products .p-env .pill {
  align-self: flex-start;
  margin-top: 0.2rem;
}

/* ---------- 战报联动折叠 ---------- */
.page-products .p-folds {
  display: grid;
  gap: 0.7rem;
  margin-top: clamp(1.2rem, 3vw, 1.8rem);
}

.page-products .p-fold {
  padding: 0 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(11, 29, 54, 0.62);
}

.page-products .p-fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fog);
  cursor: pointer;
  list-style: none;
}

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

.page-products .p-fold summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.1rem;
  line-height: 1;
  color: var(--orange);
}

.page-products .p-fold[open] summary::after {
  content: "–";
  color: var(--cyan);
}

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

.page-products .p-fold p {
  margin: 0 0 1rem;
  font-size: 0.89rem;
  line-height: 1.74;
  color: var(--steel);
}

/* ---------- 支持与排查 ---------- */
.page-products .p-metrics {
  display: grid;
  gap: 0.8rem;
  margin: clamp(1.2rem, 3vw, 1.8rem) 0 0;
  padding: 0;
  list-style: none;
}

.page-products .p-metric {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, rgba(18, 44, 78, 0.92), rgba(6, 18, 37, 0.92));
}

.page-products .p-metric__num {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  font-weight: 600;
  line-height: 1;
  color: var(--orange);
}

.page-products .p-metric__txt {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--steel);
}

.page-products .p-sub {
  margin: clamp(1.6rem, 3vw, 2.2rem) 0 0;
  font-size: 1.02rem;
  color: var(--fog);
}

.page-products .p-trouble {
  display: grid;
  gap: 0.6rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.page-products .p-trouble li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.89rem;
  line-height: 1.72;
  color: var(--steel);
}

.page-products .p-trouble li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--cyan);
}

.page-products .p-trouble li:nth-child(2n)::before {
  background: var(--orange);
}

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

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

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

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

@media (min-width: 940px) {
  .page-products .p-hero__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: end;
  }
}

@media (min-width: 1020px) {
  .page-products .p-shell {
    grid-template-columns: 186px minmax(0, 1fr);
    gap: 2.6rem;
  }

  .page-products .p-rail {
    position: sticky;
    top: calc(var(--header-h) + 1.6rem);
    align-self: start;
  }

  .page-products .p-rail__list {
    flex-direction: column;
    gap: 0.15rem;
    padding-bottom: 0;
    overflow: visible;
  }

  .page-products .p-rail__link {
    padding: 0.5rem 0.6rem;
    border-color: transparent;
    border-radius: var(--radius-sm);
  }

  .page-products .p-rail__link:hover,
  .page-products .p-rail__link:focus-visible {
    border-color: var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .p-step,
  .page-products .p-card,
  .page-products .p-rail__link,
  .page-products .breadcrumb a,
  .page-products .p-note a {
    transition: none;
  }

  .page-products .p-step:hover,
  .page-products .p-card:hover {
    transform: none;
  }
}
<<<END>>>
