.page-products {
  --p-rail: 232px;
  --p-acc-blue: var(--flag-blue);
  --p-acc-yellow: var(--flag-yellow);
  --p-acc-red: var(--flag-red);
  --p-acc-green: var(--flag-green);
  padding-bottom: 64px;
}

.page-products .p-hero {
  position: relative;
  padding: 26px 0 44px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 84% -22%, rgba(59, 130, 246, 0.2), transparent 62%),
    radial-gradient(80% 60% at -8% 8%, rgba(244, 183, 64, 0.09), transparent 60%);
}

.page-products .p-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--flag-blue), var(--flag-white), var(--flag-red), var(--flag-green), var(--flag-yellow));
  opacity: 0.72;
}

.page-products .p-hero__grid {
  display: grid;
  gap: 28px;
}

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

.page-products .p-hero__title {
  margin: 14px 0 16px;
  font-size: clamp(34px, 8.4vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.page-products .p-hero__lede {
  max-width: 54ch;
  margin: 0;
}

.page-products .p-hero__cta {
  margin-top: 24px;
}

.page-products .p-hero__media {
  min-width: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
}

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

.page-products .p-body {
  display: grid;
  gap: 30px;
  margin-top: 12px;
}

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

/* 左侧索引栏 */
.page-products .p-rail {
  display: none;
}

.page-products .p-rail__sticky {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}

.page-products .p-rail .toc {
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(12, 35, 64, 0.96), rgba(6, 22, 43, 0.96));
  box-shadow: 0 16px 32px rgba(3, 10, 18, 0.34);
}

.page-products .p-rail__quick {
  display: grid;
  gap: 8px;
}

.page-products .p-rail__quick a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--paper);
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.24s var(--ease), background 0.24s var(--ease);
}

.page-products .p-rail__quick a:hover,
.page-products .p-rail__quick a:focus-visible {
  border-color: var(--flag-blue);
  background: rgba(59, 130, 246, 0.14);
}

/* 章节 */
.page-products .p-sec {
  padding: 36px 0 6px;
}

.page-products .p-sec + .p-sec {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.page-products .p-sec .eyebrow {
  color: var(--flag-yellow);
  letter-spacing: 0.2em;
}

.page-products .p-sec .lede {
  margin-top: 10px;
}

/* 功能卡片 */
.page-products .p-cards {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
}

.page-products .p-card {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 20px 18px 18px 24px;
  overflow: hidden;
}

.page-products .p-card::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 20px;
  bottom: 20px;
  width: 3px;
  border-radius: var(--radius-pill);
  background: var(--p-acc, var(--flag-blue));
}

.page-products .p-card--blue { --p-acc: var(--p-acc-blue); }
.page-products .p-card--yellow { --p-acc: var(--p-acc-yellow); }
.page-products .p-card--red { --p-acc: var(--p-acc-red); }
.page-products .p-card--green { --p-acc: var(--p-acc-green); }

.page-products .p-card__num {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--mist);
}

.page-products .p-card__icon {
  width: 32px;
  height: 32px;
  color: var(--p-acc, var(--flag-blue));
}

.page-products .p-card h3 {
  margin: 0;
  font-size: 19px;
}

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

.page-products .p-card .tag {
  justify-self: start;
  margin-top: 2px;
}

/* 步骤 */
.page-products .p-steps {
  list-style: none;
  counter-reset: pstep;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-products .p-steps li {
  position: relative;
  padding-left: 46px;
  font-size: 16px;
  line-height: 1.82;
  color: var(--mist);
}

.page-products .p-steps li::before {
  counter-increment: pstep;
  content: counter(pstep, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(59, 130, 246, 0.14);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.page-products .p-steps strong {
  color: var(--paper);
  font-weight: 700;
}

.page-products .p-note {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--flag-yellow);
  border-radius: 0 12px 12px 0;
  background: rgba(244, 183, 64, 0.08);
  color: var(--paper);
  font-size: 15px;
  line-height: 1.8;
}

/* 图片 */
.page-products .p-figure {
  margin: 24px 0 0;
}

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

.page-products .p-figure--phone {
  max-width: 300px;
  margin-inline: auto;
}

/* 双栏小卡 */
.page-products .p-duo {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.page-products .p-panel {
  padding: 20px 18px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.page-products .p-panel h3 {
  margin: 0;
  font-size: 18px;
}

.page-products .p-panel p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist);
}

/* 图文左右分栏 */
.page-products .p-split {
  display: grid;
  gap: 22px;
  margin-top: 22px;
  align-items: start;
}

.page-products .p-split__text {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.page-products .p-block h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.page-products .p-block p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.82;
  color: var(--mist);
}

/* 上手流程 */
.page-products .p-flow {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .p-flow li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--paper);
  font-size: 15px;
  line-height: 1.5;
}

.page-products .p-flow .mono {
  color: var(--flag-yellow);
  font-size: 12px;
  letter-spacing: 0.16em;
}

/* 版本对照 */
.page-products .p-versions {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.page-products .p-version {
  padding: 20px 18px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.page-products .p-version--current {
  border-color: rgba(244, 183, 64, 0.55);
  box-shadow: 0 0 0 1px rgba(244, 183, 64, 0.28), 0 18px 34px rgba(3, 10, 18, 0.4);
}

.page-products .p-version__label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--mist);
}

.page-products .p-version__label--hot {
  color: var(--flag-yellow);
}

.page-products .p-version h3 {
  margin: 0;
  font-size: 18px;
}

.page-products .p-version ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .p-version li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--mist);
}

.page-products .p-version li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--flag-green);
}

/* 帮助转接 */
.page-products .p-help {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.page-products .p-help__card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 20px 18px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.26s var(--ease), border-color 0.26s var(--ease);
}

.page-products .p-help__card:hover,
.page-products .p-help__card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--flag-blue);
}

.page-products .p-help__card .exhibit-tag {
  justify-self: start;
}

.page-products .p-help__card h3 {
  margin: 0;
  font-size: 18px;
}

.page-products .p-help__card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist);
}

.page-products .p-help__go {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 700;
  color: var(--flag-blue);
}

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

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

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

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

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

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

@media (min-width: 900px) {
  .page-products .p-hero {
    padding: 40px 0 60px;
  }

  .page-products .p-hero__grid {
    grid-template-columns: 1.06fr 0.94fr;
    align-items: center;
    gap: 48px;
  }

  .page-products .p-split {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 34px;
  }

  .page-products .p-split--flip {
    grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  }

  .page-products .p-split--flip .p-figure {
    order: 2;
    margin-top: 0;
  }

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

  .page-products .p-figure--phone {
    max-width: 260px;
  }
}

@media (min-width: 980px) {
  .page-products .p-body {
    grid-template-columns: var(--p-rail) minmax(0, 1fr);
    gap: 52px;
    align-items: start;
  }

  .page-products .p-rail {
    display: block;
  }

  .page-products .p-sec {
    padding-top: 44px;
  }

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