.page-products{
  --p-max: 1240px;
  --p-pad: clamp(16px, 4.5vw, 48px);
  --p-line: rgba(42, 74, 107, .28);
  --p-line-soft: rgba(42, 74, 107, .14);
  --p-line-light: rgba(245, 247, 249, .18);
  --p-radius: 18px;
  background: var(--paper-050);
  color: var(--ink-900);
  font-family: var(--font-ui);
  font-size: var(--fs-17);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

.page-products *,
.page-products *::before,
.page-products *::after{ box-sizing: border-box; }

.page-products p,
.page-products h1,
.page-products h2,
.page-products h3,
.page-products ol,
.page-products ul,
.page-products figure{ margin: 0; padding: 0; }

.page-products ul,
.page-products ol{ list-style: none; }

.page-products h1,
.page-products h2,
.page-products h3{ font-weight: 700; }

.page-products [id]{ scroll-margin-top: clamp(88px, 12vw, 118px); }

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

.page-products summary:focus-visible,
.page-products a:focus-visible{
  outline: 2px solid var(--cyan-400);
  outline-offset: 3px;
  border-radius: 6px;
}

/* 面包屑 */
.page-products .p-crumb{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 24px;
  font-size: var(--fs-13);
  letter-spacing: .04em;
  color: var(--gray-600);
}
.page-products .p-crumb a{
  color: var(--ink-700);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.page-products .p-crumb a:hover{ color: var(--cyan-700); border-bottom-color: var(--cyan-700); }
.page-products .p-crumb-sep{ color: var(--ink-500); }
.page-products .p-crumb-cur{ color: var(--ink-900); font-weight: 600; }

/* 首屏 */
.page-products .p-hero{ padding-block: clamp(26px, 4vw, 44px) clamp(38px, 5.5vw, 68px); }

.page-products .p-hero-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 52px);
}
@media (min-width: 900px){
  .page-products .p-hero-grid{
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }
}

.page-products .p-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: .12em;
  color: var(--cyan-700);
  margin-bottom: 18px;
}
.page-products .p-eyebrow::before{
  content: "";
  width: 26px;
  height: 2px;
  background: var(--orange-500);
}

.page-products .p-hero h1{
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 14em;
}

.page-products .p-hero-lede{
  margin-top: 22px;
  max-width: 33em;
  font-size: var(--fs-17);
  color: var(--ink-700);
}

.page-products .p-hero-actions{
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .p-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: var(--fs-15);
  font-weight: 600;
  text-decoration: none;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.page-products .p-btn--primary{ background: var(--orange-500); color: var(--white); }
.page-products .p-btn--primary:hover{ background: var(--orange-700); }
.page-products .p-btn--ghost{ background: transparent; color: var(--ink-900); border-color: var(--ink-500); }
.page-products .p-btn--ghost:hover{ color: var(--cyan-700); border-color: var(--cyan-700); }

.page-products .p-hero-visual{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: clamp(16px, 2.6vw, 26px);
  border-radius: var(--p-radius);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(0, 229, 192, .16), transparent 62%),
    var(--ink-900);
}
.page-products .p-hero-cell{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding: 12px 12px 14px;
  border: 1px solid var(--p-line-light);
  border-radius: 12px;
  font-size: var(--fs-13);
  color: rgba(245, 247, 249, .68);
  line-height: 1.4;
}
.page-products .p-hero-cell b{
  font-size: var(--fs-15);
  font-weight: 700;
  color: var(--white);
}
.page-products .p-hero-cell--key{
  background: rgba(0, 229, 192, .12);
  border-color: rgba(0, 229, 192, .55);
}
.page-products .p-hero-cell--key b{ color: var(--cyan-400); }

/* 台账横条 */
.page-products .p-ledger{
  border-top: 1px solid var(--p-line);
  border-bottom: 1px solid var(--p-line);
  padding-block: 24px;
}
.page-products .p-ledger-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 12px;
}
@media (min-width: 760px){
  .page-products .p-ledger-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.page-products .p-ledger-item{ display: flex; flex-direction: column; gap: 4px; }
.page-products .p-ledger-value{
  font-family: var(--font-mono);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.page-products .p-ledger-value em{
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 500;
  font-size: var(--fs-13);
  color: var(--gray-600);
  margin-left: 5px;
}
.page-products .p-ledger-label{
  font-size: var(--fs-13);
  color: var(--gray-600);
  letter-spacing: .04em;
}

/* 章节通用 */
.page-products .p-sec{ padding-block: clamp(46px, 6.5vw, 84px); }
.page-products .p-sec + .p-sec{ border-top: 1px solid var(--p-line-soft); }

.page-products .p-head{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: clamp(24px, 3.6vw, 42px);
}
@media (min-width: 880px){
  .page-products .p-head{
    grid-template-columns: 92px minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }
}
.page-products .p-num{
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--orange-500);
}
.page-products .p-head-title{
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 900;
}
.page-products .p-head-lead{
  font-size: var(--fs-15);
  color: var(--gray-600);
  line-height: 1.7;
}

/* 图片容器 */
.page-products .p-figure{
  overflow: hidden;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  background: var(--ink-700);
}
.page-products .p-figure img{
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}
.page-products .p-figure--flow img{ aspect-ratio: 8 / 3; }
.page-products .p-figure--tools{
  margin-bottom: clamp(22px, 3vw, 34px);
}
.page-products .p-figure--tools img{ aspect-ratio: 16 / 7; }

/* 01 服务地图 */
.page-products .p-map{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  min-width: 0;
}
@media (min-width: 900px){
  .page-products .p-map{
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
  }
  .page-products .p-map-card--a{ grid-column: 1 / span 7; grid-row: 1; }
  .page-products .p-map-card--b{ grid-column: 1 / span 7; grid-row: 2; }
  .page-products .p-map-card--c{ grid-column: 1 / span 6; grid-row: 3; }
  .page-products .p-map-card--d{ grid-column: 7 / span 6; grid-row: 3; }
  .page-products .p-map-figure{
    grid-column: 8 / span 5;
    grid-row: 1 / span 2;
    align-self: stretch;
    min-height: 0;
  }
  .page-products .p-map-figure img{ height: 100%; object-fit: cover; }
}

.page-products .p-map-card{
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  background: var(--white);
  color: var(--ink-900);
  transition: background .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}
.page-products .p-map-card:hover{
  background: var(--ink-700);
  border-color: var(--ink-700);
  color: var(--paper-050);
}

.page-products .p-map-card > summary{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}
.page-products .p-map-card > summary::-webkit-details-marker{ display: none; }

.page-products .p-map-num{
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--orange-500);
}
.page-products .p-map-title{
  font-family: var(--font-display);
  font-size: var(--fs-24);
  font-weight: 900;
  line-height: 1.25;
}
.page-products .p-map-caret{
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s var(--ease);
  opacity: .55;
}
.page-products .p-map-card[open] .p-map-caret{
  transform: rotate(135deg);
  opacity: 1;
}

.page-products .p-map-desc{
  margin-top: 12px;
  font-size: var(--fs-15);
  color: var(--gray-600);
  transition: color .22s var(--ease);
}
.page-products .p-map-list{
  margin-top: 14px;
  border-top: 1px solid var(--p-line-soft);
}
.page-products .p-map-list li{
  position: relative;
  padding: 9px 0 9px 16px;
  font-size: var(--fs-15);
  color: var(--ink-700);
  transition: color .22s var(--ease);
}
.page-products .p-map-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-700);
}
.page-products .p-map-card:hover .p-map-desc,
.page-products .p-map-card:hover .p-map-list li{ color: rgba(245, 247, 249, .84); }
.page-products .p-map-card:hover .p-map-list{ border-top-color: rgba(245, 247, 249, .22); }
.page-products .p-map-card:hover .p-map-list li::before{ background: var(--cyan-400); }

/* 02 适配清单 */
.page-products .p-check-intro{
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 34px);
  margin-bottom: clamp(24px, 3.4vw, 38px);
}
@media (min-width: 880px){
  .page-products .p-check-intro{
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    align-items: center;
  }
}
.page-products .p-check-para{
  font-size: var(--fs-17);
  color: var(--ink-700);
  max-width: 34em;
}
.page-products .p-legend{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--p-line-soft);
}
.page-products .p-legend li{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-13);
  color: var(--gray-600);
}

.page-products .p-dot{
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--ink-500);
  background: var(--paper-100);
}
.page-products .p-dot--fill{ background: var(--cyan-400); border-color: var(--cyan-700); }
.page-products .p-dot--measure{ background: var(--orange-500); border-color: var(--orange-700); }
.page-products .p-dot--proof{ background: transparent; border-color: var(--ink-500); }

.page-products .p-metric-group{
  overflow: hidden;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  background: var(--white);
  margin-bottom: 14px;
}
.page-products .p-metric-head{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px clamp(16px, 2.4vw, 22px);
  background: var(--paper-100);
  border-bottom: 1px solid var(--p-line-soft);
}
.page-products .p-metric-cat{
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--ink-900);
  color: var(--cyan-400);
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  font-weight: 700;
}
.page-products .p-metric-head h3{
  font-size: var(--fs-15);
  font-weight: 700;
  letter-spacing: .02em;
}

.page-products .p-metric-row{
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 12px;
  align-items: start;
  gap: 10px;
  padding: 13px clamp(16px, 2.4vw, 22px);
}
.page-products .p-metric-row + .p-metric-row{ border-top: 1px solid var(--p-line-soft); }
.page-products .p-metric-idx{
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  color: var(--gray-600);
  padding-top: 2px;
}
.page-products .p-metric-name{
  font-size: var(--fs-15);
  font-weight: 600;
  line-height: 1.5;
}
.page-products .p-metric-note{
  margin-top: 3px;
  font-size: var(--fs-13);
  color: var(--gray-600);
  line-height: 1.6;
}
.page-products .p-metric-row .p-dot{ margin-top: 8px; }

/* 03 流程 */
.page-products .p-figure--flow{ margin-bottom: clamp(22px, 3vw, 32px); }

.page-products .p-flow{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 900px){
  .page-products .p-flow{
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
  }
}
.page-products .p-step{
  position: relative;
  padding: 16px 16px 18px;
  border: 1px solid var(--p-line);
  border-radius: 14px;
  background: var(--white);
}
.page-products .p-step::before{
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: 14px 0 0 14px;
  background: var(--orange-500);
}
@media (min-width: 900px){
  .page-products .p-step:not(:last-child)::after{
    content: "";
    position: absolute;
    right: -13px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid var(--orange-500);
    border-right: 2px solid var(--orange-500);
    transform: translateY(-50%) rotate(45deg);
  }
}
.page-products .p-step-num{
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  font-weight: 700;
  color: var(--orange-700);
}
.page-products .p-step-name{
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: var(--fs-24);
  font-weight: 900;
  line-height: 1.2;
}
.page-products .p-step-role{
  margin-top: 10px;
  font-size: var(--fs-13);
  color: var(--gray-600);
  line-height: 1.65;
}
.page-products .p-step-out{
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--p-line);
  font-size: var(--fs-13);
  color: var(--ink-700);
  font-weight: 600;
}

/* 04 后台工具 */
.page-products .p-tool-rows{
  border-top: 1px solid var(--p-line);
}
.page-products .p-tool-row{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-block: clamp(22px, 3vw, 32px);
  border-bottom: 1px solid var(--p-line-soft);
}
@media (min-width: 820px){
  .page-products .p-tool-row{
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
  }
}
.page-products .p-tool-num{
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--orange-500);
}
.page-products .p-tool-name{
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: var(--fs-24);
  font-weight: 900;
  line-height: 1.25;
}
.page-products .p-tool-who{
  margin-top: 8px;
  font-size: var(--fs-13);
  color: var(--gray-600);
}
.page-products .p-tool-body p{
  font-size: var(--fs-15);
  color: var(--ink-700);
  max-width: 36em;
}
.page-products .p-tool-list{
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 16px;
}
@media (min-width: 640px){
  .page-products .p-tool-list{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
}
.page-products .p-tool-list li{
  position: relative;
  padding-left: 16px;
  font-size: var(--fs-15);
  color: var(--ink-700);
}
.page-products .p-tool-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--cyan-700);
}

/* 05 移动端核对 */
.page-products .p-mobile{
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
}
@media (min-width: 840px){
  .page-products .p-mobile{
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(32px, 5vw, 72px);
  }
}
.page-products .p-phone{
  position: relative;
  width: min(270px, 74vw);
  margin-inline: auto;
  padding: 8px;
  border: 8px solid var(--ink-900);
  border-radius: 36px;
  background: var(--ink-900);
}
.page-products .p-phone-notch{
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 62px;
  height: 6px;
  border-radius: var(--r-pill);
  background: rgba(245, 247, 249, .3);
  z-index: 2;
}
.page-products .p-phone-img{
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 26px;
  object-fit: cover;
}

.page-products .p-mobile-steps{
  display: grid;
  gap: 18px;
}
.page-products .p-mstep{
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding-left: 4px;
  border-left: 2px solid var(--paper-100);
  transition: border-color .2s var(--ease);
}
.page-products .p-mstep:hover{ border-left-color: var(--cyan-400); }
.page-products .p-mstep-num{
  font-family: var(--font-mono);
  font-size: var(--fs-19);
  font-weight: 700;
  color: var(--ink-500);
  line-height: 1.3;
}
.page-products .p-mstep-name{
  font-size: var(--fs-17);
  font-weight: 700;
}
.page-products .p-mstep-desc{
  margin-top: 6px;
  font-size: var(--fs-15);
  color: var(--gray-600);
  line-height: 1.7;
}

/* 06 起步路径 */
.page-products .p-start{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 860px){
  .page-products .p-start{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.page-products .p-start-item{
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  background: var(--white);
  text-decoration: none;
  color: var(--ink-900);
  transition: border-color .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
}
.page-products .p-start-item:hover{
  border-color: var(--ink-700);
  background: var(--paper-100);
  transform: translateY(-3px);
}
.page-products .p-start-tag{
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--ink-900);
  color: var(--cyan-400);
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: .06em;
}
.page-products .p-start-title{
  font-family: var(--font-display);
  font-size: var(--fs-19);
  font-weight: 900;
  line-height: 1.35;
}
.page-products .p-start-desc{
  font-size: var(--fs-13);
  color: var(--gray-600);
  line-height: 1.7;
}
.page-products .p-start-go{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  font-size: var(--fs-13);
  font-weight: 700;
  color: var(--orange-700);
}
.page-products .p-start-item:hover .p-start-go{ color: var(--orange-500); }

.page-products .p-more{
  margin-top: clamp(22px, 3vw, 32px);
  padding-top: 18px;
  border-top: 1px solid var(--p-line-soft);
  font-size: var(--fs-13);
  color: var(--gray-600);
}
.page-products .p-more a{
  color: var(--cyan-700);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 128, 107, .35);
}
.page-products .p-more a:hover{ border-bottom-color: var(--cyan-700); }
