.page-products {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.page-products .mono {
  font-family: var(--font-mono);
}

/* ---------- 面包屑 ---------- */
.page-products .pr-crumb-bar {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.page-products .crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--stone);
}

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

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

.page-products .crumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.page-products .crumbs__sep {
  color: var(--line-strong);
}

/* ---------- 首屏 ---------- */
.page-products .pr-hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding: clamp(26px, 6vw, 62px) 0 clamp(30px, 6vw, 70px);
  border-bottom: 1px solid var(--line);
}

.page-products .pr-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), var(--cyan) 42%, var(--blue));
}

.page-products .pr-hero__inner {
  display: grid;
  gap: 26px;
}

.page-products .pr-hero__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay);
}

.page-products .pr-hero__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(29px, 6.4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
}

.page-products .pr-hero__lead {
  margin: 0 0 24px;
  max-width: 48ch;
  font-size: clamp(15px, 1.7vw, 17px);
  color: #2c333b;
}

.page-products .pr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-products .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--blue);
  border: 1px solid var(--blue);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-products .btn:hover {
  background: var(--deep);
  border-color: var(--deep);
}

.page-products .pr-hero__cta--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.page-products .pr-hero__cta--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.page-products .pr-hero__panel {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 20px 20px 22px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.page-products .pr-hero__panel-key {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--orange);
}

.page-products .pr-hero__stats {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
}

.page-products .pr-hero__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 33px);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.page-products .pr-hero__unit {
  margin-left: 2px;
  font-size: .5em;
  color: var(--stone);
}

.page-products .pr-hero__lbl {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--stone);
}

.page-products .pr-hero__panel-note {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
  font-size: 12.5px;
  color: var(--moss);
}

/* ---------- 双栏骨架 ---------- */
.page-products .pr-layout {
  display: grid;
  gap: 32px;
  padding-top: clamp(26px, 5vw, 54px);
  padding-bottom: clamp(36px, 6vw, 76px);
}

.page-products .pr-rail {
  display: none;
}

.page-products .index-rail {
  border-top: 2px solid var(--ink);
  padding-top: 12px;
}

.page-products .index-rail__title {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone);
}

.page-products .index-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-products .index-rail__list a {
  display: block;
  padding: 7px 9px;
  border-left: 2px solid transparent;
  font-size: 13.5px;
  color: var(--stone);
  text-decoration: none;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-products .index-rail__list a:hover {
  color: var(--ink);
  background: var(--mist);
}

.page-products .index-rail__list a[aria-current="true"],
.page-products .index-rail__list li[aria-current="true"] a {
  border-left-color: var(--blue);
  background: var(--mist);
  color: var(--blue);
  font-weight: 600;
}

/* ---------- 章节 ---------- */
.page-products .pr-sec {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.page-products .pr-sec + .pr-sec {
  margin-top: clamp(32px, 5vw, 54px);
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.page-products .pr-sec__head {
  display: grid;
  gap: 4px;
  margin-bottom: 22px;
}

.page-products .pr-sec__num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--orange);
}

.page-products .pr-sec__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 33px);
  font-weight: 700;
  line-height: 1.22;
}

.page-products .pr-sec__note {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--stone);
}

.page-products .pr-lede {
  margin: 0 0 24px;
  max-width: 64ch;
  font-size: 15.5px;
  color: #2c333b;
}

.page-products .pr-lede a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .pr-lede a:hover {
  color: var(--deep);
}

/* ---------- 图片 ---------- */
.page-products .pr-shot {
  margin: 0 0 24px;
  border: 1px solid var(--line);
  background: var(--mist);
  overflow: hidden;
}

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

.page-products .pr-shot__cap {
  display: block;
  padding: 7px 12px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--stone);
}

/* ---------- 服务卡 ---------- */
.page-products .pr-svc {
  display: grid;
  gap: 12px;
}

.page-products .pr-svc__item {
  padding: 18px 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-products .pr-svc__item:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.page-products .pr-svc__idx {
  display: inline-block;
  margin: 0 0 12px;
  padding: 2px 8px;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
}

.page-products .pr-svc__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.page-products .pr-svc__desc {
  margin: 0 0 12px;
  font-size: 14.5px;
  color: #333a42;
}

.page-products .pr-svc__fit {
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed var(--line-strong);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--moss);
}

/* ---------- 主题簇 ---------- */
.page-products .pr-clus {
  display: grid;
  gap: 10px;
}

.page-products .pr-clus__item {
  padding: 14px 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--moss);
}

.page-products .pr-clus__code {
  margin: 0 0 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--moss);
}

.page-products .pr-clus__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.page-products .pr-clus__count {
  margin: 2px 0 10px;
  font-size: 12px;
  color: var(--stone);
}

.page-products .pr-clus__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.page-products .pr-clus__tags li {
  padding: 2px 7px;
  background: var(--mist);
  border: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--stone);
}

/* ---------- 格式带 ---------- */
.page-products .pr-fmt {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.page-products .pr-fmt__item {
  padding: 20px 18px 22px;
  color: var(--paper);
}

.page-products .pr-fmt__item--pdf {
  background: var(--blue);
}

.page-products .pr-fmt__item--png {
  background: var(--moss);
}

.page-products .pr-fmt__item--csv {
  background: var(--clay);
}

.page-products .pr-fmt__ext {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1;
}

.page-products .pr-fmt__desc {
  margin: 0;
  font-size: 13.5px;
  color: rgba(252, 250, 245, .92);
}

.page-products .pr-fmtbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-bottom: 24px;
  padding: 11px 16px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
}

.page-products .pr-fmtbar span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  background: var(--cyan);
  transform: rotate(45deg);
  vertical-align: middle;
}

/* ---------- 同栏阶梯 ---------- */
.page-products .pr-col {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .pr-col__step {
  padding: 14px 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
}

.page-products .pr-col__n {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--blue);
}

.page-products .pr-col__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.page-products .pr-col__desc {
  margin: 0;
  font-size: 14px;
  color: #333a42;
}

/* ---------- 场景 ---------- */
.page-products .pr-scn {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-products .pr-scn li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease);
}

.page-products .pr-scn li:hover {
  background: var(--mist);
}

.page-products .pr-scn__num {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--clay);
}

.page-products .pr-scn h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.35;
}

.page-products .pr-scn p {
  margin: 0;
  font-size: 14px;
  color: #333a42;
}

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

.page-products .pr-flow__box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  padding: 10px 14px 12px;
}

.page-products .pr-flow__sum {
  display: flex;
  align-items: baseline;
  gap: 9px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}

.page-products .pr-flow__sum::-webkit-details-marker {
  display: none;
}

.page-products .pr-flow__sum::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 400;
  color: var(--stone);
}

.page-products .pr-flow__box[open] .pr-flow__sum::after {
  content: "–";
  color: var(--blue);
}

.page-products .pr-flow__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--orange);
}

.page-products .pr-flow__desc {
  margin: 9px 0 0;
  font-size: 13.5px;
  color: #333a42;
}

/* ---------- 时间轴 ---------- */
.page-products .pr-time {
  list-style: none;
  margin: 0 0 26px;
  padding: 0 0 0 18px;
  border-left: 2px solid var(--mist);
  display: grid;
  gap: 22px;
}

.page-products .pr-time li {
  position: relative;
}

.page-products .pr-time li::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--clay);
  transform: rotate(45deg);
}

.page-products .pr-time__key {
  display: inline-block;
  margin: 0 0 6px;
  padding: 1px 8px;
  background: var(--mist);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--clay);
}

.page-products .pr-time__title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}

.page-products .pr-time__desc {
  margin: 0;
  font-size: 14px;
  color: #333a42;
}

/* ---------- 行动区 ---------- */
.page-products .pr-cta {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  padding: clamp(30px, 6vw, 58px) 0;
}

.page-products .pr-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 54%, rgba(55, 224, 200, .13) 54%, rgba(55, 224, 200, .13) 55.2%, transparent 55.2%),
    linear-gradient(112deg, transparent 72%, rgba(255, 106, 42, .16) 72%, rgba(255, 106, 42, .16) 73.2%, transparent 73.2%);
}

.page-products .pr-cta__inner {
  position: relative;
  z-index: 1;
}

.page-products .pr-cta__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(23px, 3.8vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cream);
}

.page-products .pr-cta__desc {
  margin: 0 0 22px;
  max-width: 56ch;
  font-size: 15px;
  color: rgba(244, 240, 232, .82);
}

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

.page-products .pr-cta .pr-cta__ghost {
  background: transparent;
  border-color: rgba(55, 224, 200, .5);
  color: var(--cyan);
}

.page-products .pr-cta .pr-cta__ghost:hover {
  background: rgba(55, 224, 200, .14);
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ---------- 回顶 ---------- */
.page-products .pr-tail {
  background: var(--cream);
  padding: 14px 0 18px;
}

.page-products .pr-totop {
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-products .pr-totop:hover {
  color: var(--blue);
  border-color: var(--blue);
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-products .pr-clus {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (min-width: 720px) {
  .page-products .pr-svc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .page-products .pr-svc__item:last-child {
    grid-column: 1 / -1;
  }

  .page-products .pr-fmt {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (min-width: 760px) {
  .page-products .pr-sec__head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: 28px;
  }

  .page-products .pr-sec__num {
    grid-column: 1 / -1;
  }

  .page-products .pr-sec__title {
    grid-column: 1;
    grid-row: 2;
  }

  .page-products .pr-sec__note {
    grid-column: 2;
    grid-row: 2;
    margin: 0 0 4px;
    max-width: 26ch;
    text-align: right;
  }
}

@media (min-width: 900px) {
  .page-products .pr-hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 54%;
    background: var(--deep);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  }

  .page-products .pr-hero__inner {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: center;
    gap: 46px;
  }

  .page-products .pr-flow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
  }

  .page-products .pr-flow__step:nth-child(2) {
    margin-top: 22px;
  }

  .page-products .pr-flow__step:nth-child(3) {
    margin-top: 44px;
  }

  .page-products .pr-flow__step:nth-child(4) {
    margin-top: 66px;
  }

  .page-products .pr-flow__step:nth-child(5) {
    margin-top: 88px;
  }
}

@media (min-width: 960px) {
  .page-products .pr-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .page-products .pr-col__step:nth-child(2) {
    margin-top: 26px;
  }

  .page-products .pr-col__step:nth-child(3) {
    margin-top: 52px;
  }
}

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

  .page-products .pr-rail {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 22px);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-products .pr-svc__item:hover {
    transform: none;
  }

  .page-products .btn,
  .page-products .pr-svc__item,
  .page-products .pr-scn li,
  .page-products .index-rail__list a,
  .page-products .pr-totop {
    transition: none;
  }
}
