.page-products {
  --prod-cut: 16px;
  --prod-line: rgba(51, 225, 225, .26);
  --prod-amber-soft: rgba(255, 154, 46, .07);
}

.page-products .svc-crumb {
  padding-top: clamp(14px, 2.5vw, 26px);
}

/* ---------- 首屏 ---------- */
.page-products .svc-hero {
  display: grid;
  gap: var(--gap);
  padding-top: clamp(20px, 4vw, 44px);
  padding-bottom: clamp(18px, 3vw, 32px);
}

.page-products .svc-hero__lead h1 {
  font-family: var(--font-mono);
  font-size: clamp(28px, 5vw, 50px);
  line-height: 1.18;
  letter-spacing: .03em;
  color: var(--white);
  margin: .4em 0 .5em;
}

.page-products .svc-hero__intro {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.85;
  color: var(--mist);
  max-width: 48ch;
  margin: 0 0 20px;
}

.page-products .svc-hero__panel {
  position: relative;
  padding: clamp(20px, 3vw, 30px);
  background: linear-gradient(150deg, var(--ink-layer), var(--ink) 72%);
  border: 1px solid var(--hair);
  clip-path: polygon(0 0, calc(100% - var(--prod-cut)) 0, 100% var(--prod-cut), 100% 100%, var(--prod-cut) 100%, 0 calc(100% - var(--prod-cut)));
}

.page-products .svc-hero__panel::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 40%;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), transparent);
}

.page-products .svc-hero__panel-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .16em;
  color: var(--mist);
}

.page-products .svc-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.page-products .svc-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 12px;
  border-left: 1px solid var(--prod-line);
}

.page-products .svc-stats .stat-value {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: .04em;
  color: var(--cyan);
}

.page-products .svc-stats .stat-label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
}

.page-products .svc-hero__note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--hair);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 标题与通用文本 ---------- */
.page-products h2 {
  font-family: var(--font-mono);
  font-size: clamp(21px, 2.7vw, 31px);
  line-height: 1.3;
  letter-spacing: .04em;
  color: var(--white);
  margin: .35em 0 0;
}

.page-products h3 {
  font-family: var(--font-mono);
  font-size: 17px;
  letter-spacing: .05em;
  color: var(--white);
  margin: 0;
}

.page-products .svc-lead {
  margin: clamp(16px, 2vw, 22px) 0 0;
  max-width: 64ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--mist);
}

.page-products .svc-links {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

.page-products .svc-links a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--hair-cyan);
}

.page-products .svc-links a:hover,
.page-products .svc-links a:focus-visible {
  border-bottom-color: var(--cyan);
}

/* ---------- 图片框 ---------- */
.page-products .svc-fig {
  margin: clamp(20px, 3vw, 32px) 0 0;
  background: var(--ink-layer);
}

.page-products .svc-fig img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .svc-fig--band { aspect-ratio: 16 / 7; }
.page-products .svc-fig--entry { aspect-ratio: 10 / 7; }
.page-products .svc-fig--login { aspect-ratio: 5 / 4; }
.page-products .svc-fig--device { aspect-ratio: 1 / 1; }
.page-products .svc-fig--flow { aspect-ratio: 7 / 3; }

/* ---------- 服务总览带 ---------- */
.page-products .svc-section {
  padding-bottom: clamp(30px, 4.5vw, 56px);
}

.page-products .svc-band {
  display: grid;
  gap: 14px;
  margin-top: clamp(22px, 3.5vw, 40px);
}

.page-products .svc-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px 18px;
  background: var(--ink-layer);
  border: 1px solid var(--hair);
  border-top: 2px solid var(--cyan-dim);
  color: var(--white);
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - var(--prod-cut)) 0, 100% var(--prod-cut), 100% 100%, 0 100%);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.page-products .svc-card__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--cyan);
}

.page-products .svc-card__title {
  font-size: 17px;
}

.page-products .svc-card__use {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--mist);
}

.page-products .svc-card__go {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--hair);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--cyan);
}

.page-products .svc-card:hover {
  transform: translateX(4px);
  border-color: var(--hair-cyan);
  border-top-color: var(--cyan);
  background: linear-gradient(180deg, rgba(51, 225, 225, .08), transparent 58%), var(--ink-layer);
}

.page-products .svc-card:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  transform: translateX(4px);
  border-top-color: var(--cyan);
}

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

/* ---------- 服务详情 ---------- */
.page-products .svc-detail {
  padding: clamp(34px, 5vw, 68px) 0;
  border-top: 1px solid var(--hair);
  scroll-margin-top: 120px;
}

.page-products .svc-detail:target .section-head {
  padding-left: 14px;
  border-left: 3px solid var(--amber);
}

.page-products .svc-split {
  display: grid;
  gap: clamp(20px, 3vw, 42px);
  margin-top: clamp(20px, 3vw, 32px);
}

.page-products .svc-split .svc-fig {
  margin-top: 0;
}

.page-products .svc-split__body > p {
  margin: 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 编号步骤 ---------- */
.page-products .step-list {
  list-style: none;
  position: relative;
  counter-reset: pstep;
  margin: 20px 0 0;
  padding: 0 0 0 30px;
}

.page-products .step-list::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan-dim), transparent);
}

.page-products .step-list > li {
  position: relative;
  counter-increment: pstep;
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--white);
}

.page-products .step-list > li:last-child {
  margin-bottom: 0;
}

.page-products .step-list > li::before {
  content: counter(pstep, decimal-leading-zero);
  position: absolute;
  left: -30px;
  top: 4px;
  width: 22px;
  text-align: center;
  background: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--cyan);
}

/* ---------- 结果说明 ---------- */
.page-products .result-note {
  margin: 20px 0 0;
  padding: 14px 16px 14px 18px;
  border-left: 3px solid var(--amber);
  background: var(--prod-amber-soft);
  font-size: 15px;
  line-height: 1.78;
  color: var(--white);
}

/* ---------- 报错两条线 ---------- */
.page-products .code-split {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.page-products .code-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--ink-layer);
  border: 1px solid var(--hair);
  border-left: 2px solid var(--hair-amber);
}

.page-products .code-line p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

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

/* ---------- 自查清单 ---------- */
.page-products .check-list {
  list-style: none;
  display: grid;
  gap: 11px;
  margin: 20px 0 0;
  padding: 0;
}

.page-products .check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.page-products .check-list__box {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 4px 0 0;
  border: 1px solid var(--hair-strong);
  background: var(--ink-layer);
  cursor: pointer;
}

.page-products .check-list__box:checked {
  border-color: var(--cyan);
  background: var(--scan);
}

.page-products .check-list__box:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(40deg);
}

.page-products .check-list__box:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-products .check-list label {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--white);
  cursor: pointer;
}

/* ---------- 通道对照 ---------- */
.page-products .channel-grid {
  display: grid;
  gap: 14px;
  margin-top: clamp(20px, 3vw, 28px);
}

.page-products .channel-card {
  display: grid;
  gap: 8px;
  padding: 22px 20px;
  background: var(--ink-layer);
  border: 1px solid var(--hair);
}

.page-products .channel-card--old {
  border-left: 3px solid var(--amber);
}

.page-products .channel-card--new {
  border-left: 3px solid var(--cyan);
}

.page-products .channel-badge {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--amber);
}

.page-products .channel-card--new .channel-badge {
  color: var(--cyan);
}

.page-products .channel-rule {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: .04em;
  color: var(--white);
}

.page-products .channel-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

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

/* ---------- 服务流程 ---------- */
.page-products .flow-grid {
  display: grid;
  gap: 14px;
  margin-top: clamp(20px, 3vw, 32px);
}

.page-products .flow-node {
  position: relative;
  padding: 20px 18px;
  background: var(--ink-layer);
  border: 1px solid var(--hair);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.page-products .flow-node__num {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .14em;
  color: var(--cyan);
}

.page-products .flow-node h3 {
  font-size: 15.5px;
  margin-bottom: 8px;
}

.page-products .flow-node p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--mist);
}

.page-products .flow-node__time {
  display: block;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--hair);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--amber);
}

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

.page-products .timing-band {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 0;
}

.page-products .timing-band li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 18px;
  border-left: 2px solid var(--cyan-dim);
  background: linear-gradient(90deg, rgba(14, 59, 63, .55), transparent 92%);
}

.page-products .timing-value {
  font-family: var(--font-mono);
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: .04em;
  color: var(--white);
}

.page-products .timing-label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
}

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

/* ---------- 收口 ---------- */
.page-products .svc-cta {
  margin-top: clamp(34px, 5vw, 64px);
  margin-bottom: clamp(40px, 6vw, 80px);
  padding: clamp(26px, 4vw, 46px) clamp(20px, 3vw, 40px);
  border: 1px solid var(--hair);
  background: linear-gradient(140deg, rgba(51, 225, 225, .09), transparent 62%), var(--ink-layer);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.page-products .svc-cta h2 {
  margin: 0 0 12px;
}

.page-products .svc-cta p {
  margin: 0 0 22px;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

.page-products .svc-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 桌面栅格 ---------- */
@media (min-width: 900px) {
  .page-products .svc-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: end;
    gap: clamp(24px, 4vw, 56px);
  }

  .page-products .svc-split {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: start;
  }

  .page-products .svc-split--reverse .svc-split__media {
    order: 2;
  }
}

@media (min-width: 1080px) {
  .page-products .svc-band {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }

  .page-products .svc-card {
    min-height: 200px;
  }

  .page-products .svc-card:nth-child(2) { margin-top: 16px; }
  .page-products .svc-card:nth-child(3) { margin-top: 32px; }
  .page-products .svc-card:nth-child(4) { margin-top: 48px; }
  .page-products .svc-card:nth-child(5) { margin-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .svc-card,
  .page-products .svc-card:hover,
  .page-products .svc-card:focus-visible {
    transition: none;
    transform: none;
  }
}
