.page-products {
  --prod-ivory-soft: rgba(244, 241, 232, 0.68);
  --prod-ivory-dim: rgba(244, 241, 232, 0.44);
  --prod-ink-soft: rgba(18, 23, 28, 0.64);
  --prod-hair: rgba(143, 160, 168, 0.24);
  --prod-shear: 16px;
  display: block;
}

/* ---------- 面包屑条 ---------- */
.page-products .apps-crumbbar {
  background: var(--ivory);
  border-bottom: 1px solid rgba(18, 23, 28, 0.1);
  padding: 12px 0;
}

/* ---------- 首屏 ---------- */
.page-products .apps-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(36px, 6vw, 76px) 0 clamp(44px, 7vw, 92px);
}

.page-products .apps-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 46%;
  background: linear-gradient(155deg, var(--night) 0%, var(--arena) 82%);
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.92;
  pointer-events: none;
}

.page-products .apps-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(30px, 5vw, 54px);
}

.page-products .apps-hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(27px, 4.6vw, 50px);
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin: 14px 0 0;
  max-width: 19ch;
}

.page-products .apps-hero__lede {
  margin: 18px 0 0;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.88;
  color: var(--prod-ivory-soft);
}

.page-products .apps-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-products .apps-hero__panel {
  align-self: end;
  padding: 22px 20px 24px;
  background: rgba(23, 58, 74, 0.55);
  box-shadow: inset 0 0 0 1px rgba(198, 242, 78, 0.24);
  clip-path: polygon(0 0, calc(100% - var(--prod-shear)) 0, 100% var(--prod-shear), 100% 100%, var(--prod-shear) 100%, 0 calc(100% - var(--prod-shear)));
}

.page-products .hero-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--fog);
}

.page-products .hero-scale__track {
  position: relative;
  height: 2px;
  margin: 10px 0 22px;
  background: var(--prod-hair);
}

.page-products .hero-scale__mark {
  position: absolute;
  left: 62%;
  top: -5px;
  width: 2px;
  height: 12px;
  background: var(--lime);
}

.page-products .hero-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .hero-facts li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--prod-ivory-soft);
  border-top: 1px dashed rgba(244, 241, 232, 0.16);
  padding-top: 12px;
}

.page-products .hero-facts strong {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
  flex: none;
}

/* ---------- 通用标题组 ---------- */
.page-products .sec-head {
  max-width: 60ch;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.page-products .apps-h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(23px, 3.2vw, 35px);
  line-height: 1.36;
  letter-spacing: 0.01em;
  margin: 10px 0 0;
}

.page-products .apps-lede {
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.9;
  max-width: 46ch;
  opacity: 0.84;
}

/* ---------- 功能矩阵 ---------- */
.page-products .matrix {
  display: grid;
  gap: 14px;
}

.page-products .m-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px 22px;
  background: rgba(244, 241, 232, 0.05);
  box-shadow: inset 0 0 0 1px rgba(244, 241, 232, 0.13);
  clip-path: polygon(0 0, calc(100% - var(--prod-shear)) 0, 100% var(--prod-shear), 100% 100%, 0 100%);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}

.page-products .m-cell:hover {
  transform: translateY(-4px);
  background: rgba(198, 242, 78, 0.07);
  box-shadow: inset 0 0 0 1px rgba(198, 242, 78, 0.42);
}

.page-products .m-cell__idx {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--lime);
}

.page-products .m-cell h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 17.5px;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.page-products .m-cell p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--prod-ivory-soft);
}

.page-products .m-cell--img {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--prod-shear) 100%, 0 calc(100% - var(--prod-shear)));
}

.page-products .m-cell--img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.04);
}

/* ---------- 同步流程 ---------- */
.page-products .apps-sync .sync__grid {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.page-products .steptrack {
  margin: 24px 0 4px;
  height: 12px;
}

.page-products .steptrack svg {
  display: block;
  width: 100%;
  height: 12px;
  overflow: visible;
}

.page-products .steptrack__line {
  stroke: rgba(18, 23, 28, 0.2);
  stroke-width: 1;
  stroke-dasharray: 3 5;
}

.page-products .steptrack__dot {
  fill: rgba(18, 23, 28, 0.28);
}

.page-products .steptrack__dot--on {
  fill: var(--arena);
}

.page-products .steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-products .step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px dashed rgba(18, 23, 28, 0.16);
}

.page-products .step:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-products .step__idx {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--arena);
  padding-top: 3px;
}

.page-products .step h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 16.5px;
  line-height: 1.4;
}

.page-products .step p {
  margin: 7px 0 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--prod-ink-soft);
  max-width: 42ch;
}

.page-products .sync-note {
  align-self: start;
  background: var(--ink);
  color: var(--ivory);
  padding: 26px 24px 28px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.page-products .sync-note__num {
  font-family: var(--font-mono);
  font-size: clamp(46px, 8vw, 64px);
  font-weight: 700;
  line-height: 0.9;
  margin: 0;
  color: var(--lime);
}

.page-products .sync-note__unit {
  margin: 8px 0 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--sand);
}

.page-products .sync-note__txt {
  margin: 16px 0 0;
  font-size: 14.5px;
  line-height: 1.88;
  color: var(--prod-ivory-soft);
}

/* ---------- 收藏夹 ---------- */
.page-products .saved__grid {
  display: grid;
  gap: clamp(26px, 4vw, 50px);
}

.page-products .saved__points {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .saved__points li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--prod-ivory-soft);
}

.page-products .saved__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--lime);
  transform: rotate(45deg);
}

.page-products .cap-meter {
  position: relative;
  height: 10px;
  margin-top: 26px;
  max-width: 320px;
  background: repeating-linear-gradient(90deg, rgba(244, 241, 232, 0.3) 0 1px, transparent 1px 10%);
}

.page-products .cap-meter__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 76%;
  background: rgba(198, 242, 78, 0.18);
  border-right: 2px solid var(--lime);
}

.page-products .saved__media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.page-products .saved__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72);
}

/* ---------- 字段说明 ---------- */
.page-products .fields__grid {
  display: grid;
  gap: clamp(24px, 3.5vw, 38px);
}

.page-products .apps-fields,
.page-products .apps-fields .fields__grid {
  scroll-margin-top: 24px;
}

.page-products .fieldcard {
  background: var(--ink);
  color: var(--ivory);
  padding: 20px 18px 22px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.page-products .fieldcard__top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.page-products .pill {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 4px 9px;
  color: var(--sand);
  box-shadow: inset 0 0 0 1px rgba(216, 168, 91, 0.42);
}

.page-products .pill--lime {
  color: var(--lime);
  box-shadow: inset 0 0 0 1px rgba(198, 242, 78, 0.42);
}

.page-products .fieldcard__rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .fieldcard__row {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0 11px 18px;
  border-bottom: 1px dashed rgba(244, 241, 232, 0.16);
}

.page-products .fieldcard__row:last-child {
  border-bottom: 0;
}

.page-products .fieldcard__row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.page-products .fieldcard__key {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--fog);
  flex: none;
}

.page-products .fieldcard__val {
  font-size: 13.5px;
  line-height: 1.6;
  text-align: right;
  color: var(--ivory);
}

.page-products .fieldcard__val--num {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--lime);
}

.page-products .fieldcard__cap {
  margin: 12px 0 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--prod-ink-soft);
}

.page-products .fieldlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-products .fieldlist__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(18, 23, 28, 0.12);
}

.page-products .fieldlist__item:first-child {
  padding-top: 0;
}

.page-products .fieldlist__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-products .fieldlist__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--arena);
  padding-top: 4px;
}

.page-products .fieldlist__body h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.4;
}

.page-products .fieldlist__body p {
  margin: 6px 0 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--prod-ink-soft);
  max-width: 42ch;
}

.page-products .fields__media {
  margin: 0;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--prod-shear) 100%, 0 calc(100% - var(--prod-shear)));
}

.page-products .fields__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.05);
}

.page-products .fields__media figcaption {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--prod-ink-soft);
  padding: 12px 2px 0;
}

/* ---------- 版本轨道 ---------- */
.page-products .vtrack {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  gap: 4px;
}

.page-products .vtrack::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: repeating-linear-gradient(180deg, rgba(244, 241, 232, 0.3) 0 5px, transparent 5px 11px);
}

.page-products .vtrack__item {
  position: relative;
  padding: 16px 0 16px 34px;
}

.page-products .vtrack__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 15px;
  height: 15px;
  background: var(--night);
  box-shadow: inset 0 0 0 1px var(--sand);
  transform: rotate(45deg);
}

.page-products .vtrack__ver {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lime);
  margin-bottom: 8px;
}

.page-products .vtrack__body h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.4;
}

.page-products .vtrack__body p {
  margin: 7px 0 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--prod-ivory-soft);
  max-width: 48ch;
}

/* ---------- 场景 ---------- */
.page-products .scenes {
  display: grid;
  gap: clamp(22px, 3.5vw, 40px);
}

.page-products .scenes__cards {
  display: grid;
  gap: 14px;
}

.page-products .scene {
  padding: 20px 18px 22px;
  background: rgba(244, 241, 232, 0.05);
  box-shadow: inset 0 0 0 1px rgba(244, 241, 232, 0.13);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.page-products .scene h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.42;
}

.page-products .scene p {
  margin: 9px 0 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--prod-ivory-soft);
}

.page-products .scene__path {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--lime);
}

.page-products .scene__path span {
  display: inline-block;
  margin-right: 8px;
  color: var(--sand);
  letter-spacing: 0.16em;
  font-size: 11px;
}

.page-products .scenes__media {
  display: grid;
  gap: 14px;
}

.page-products .scenes__figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  clip-path: polygon(0 0, var(--prod-shear) 0, 0 var(--prod-shear), 0 100%, 100% 100%, 100% 0);
}

.page-products .scenes__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
}

/* ---------- 收尾 ---------- */
.page-products .apps-next .next__grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.page-products .next__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .next__link {
  display: block;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--ivory);
  background: rgba(244, 241, 232, 0.06);
  box-shadow: inset 0 0 0 1px rgba(244, 241, 232, 0.16);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease);
}

.page-products .next__link:hover,
.page-products .next__link:focus-visible {
  transform: translateX(4px);
  background: rgba(198, 242, 78, 0.1);
  box-shadow: inset 0 0 0 1px rgba(198, 242, 78, 0.5);
}

.page-products .next__link-t {
  display: block;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.01em;
}

.page-products .next__link-d {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--prod-ivory-soft);
}

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

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

/* ---------- 桌面 ---------- */
@media (min-width: 960px) {
  .page-products .apps-hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
  }

  .page-products .matrix {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .page-products .m-cell--a {
    grid-column: span 3;
  }

  .page-products .m-cell--img {
    grid-column: span 3;
    aspect-ratio: auto;
    min-height: 100%;
  }

  .page-products .m-cell--c,
  .page-products .m-cell--d,
  .page-products .m-cell--e {
    grid-column: span 2;
  }

  .page-products .m-cell--f,
  .page-products .m-cell--g {
    grid-column: span 3;
  }

  .page-products .sync__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
  }

  .page-products .saved__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: center;
  }

  .page-products .fields__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 26px 28px;
  }

  .page-products .fields__diagram {
    grid-column: 1 / span 5;
  }

  .page-products .fieldlist {
    grid-column: 6 / span 7;
  }

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

  .page-products .scenes {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
  }

  .page-products .scenes__media {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-products .scenes__figure {
    aspect-ratio: 4 / 3;
  }

  .page-products .next__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-products .next__links {
    gap: 12px;
  }
}

/* ---------- 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-products .m-cell,
  .page-products .next__link {
    transition: none;
  }

  .page-products .m-cell:hover,
  .page-products .next__link:hover,
  .page-products .next__link:focus-visible {
    transform: none;
  }
}
