.page-products {
  --px-line: rgba(14, 58, 92, .16);
  --px-line-soft: rgba(14, 58, 92, .08);
  --px-line-dark: rgba(216, 237, 234, .18);
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;
}

/* ============ 首屏 ============ */
.page-products .px-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 38px) 0 clamp(60px, 9vw, 112px);
  background:
    radial-gradient(120% 96% at 86% 0%, rgba(15, 163, 127, .20) 0%, rgba(15, 163, 127, 0) 58%),
    linear-gradient(158deg, #12405F 0%, #0B2A44 44%, #06192B 100%);
  color: var(--paper);
}

.page-products .px-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(216, 237, 234, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 237, 234, .06) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px;
  -webkit-mask-image: radial-gradient(112% 82% at 78% 6%, #000 0%, transparent 68%);
  mask-image: radial-gradient(112% 82% at 78% 6%, #000 0%, transparent 68%);
  pointer-events: none;
}

.page-products .px-hero > .container {
  position: relative;
  z-index: 1;
}

.page-products .px-breadcrumb {
  margin: 0 0 clamp(24px, 3.6vw, 44px);
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .08em;
}

.page-products .px-breadcrumb li {
  color: rgba(216, 237, 234, .58);
}

.page-products .px-breadcrumb a {
  color: rgba(248, 252, 251, .92);
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 237, 234, .32);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.page-products .px-breadcrumb a:hover {
  color: var(--signal);
  border-color: var(--signal);
}

.page-products .px-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.page-products .px-hero__copy .coordinate {
  color: rgba(216, 237, 234, .84);
}

.page-products .px-hero h1 {
  margin: clamp(14px, 2vw, 20px) 0 0;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(32px, 5.2vw, 60px);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-products .px-hero__lede {
  margin: clamp(18px, 2.4vw, 26px) 0 0;
  max-width: 46ch;
  font-family: var(--ff-serif);
  font-size: clamp(16px, 1.9vw, 21px);
  line-height: 1.74;
  color: rgba(248, 252, 251, .85);
}

.page-products .px-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: clamp(26px, 3.4vw, 38px);
}

.page-products .px-hero__link {
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--paper);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 90, 43, .85);
  transition: color .2s var(--ease);
}

.page-products .px-hero__link:hover {
  color: var(--signal);
}

.page-products .px-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 36px);
  margin: clamp(30px, 4vw, 46px) 0 0;
  padding: clamp(16px, 2vw, 22px) 0 0;
  list-style: none;
  border-top: 1px solid var(--px-line-dark);
}

.page-products .px-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 92px;
}

.page-products .px-hero__facts .mono {
  font-size: clamp(20px, 2.6vw, 28px);
  letter-spacing: -.01em;
  color: var(--signal);
}

.page-products .px-hero__facts li > span:last-child {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(216, 237, 234, .74);
}

.page-products .px-hero__visual {
  margin: 0;
  border-radius: var(--r-shell);
  box-shadow: 0 42px 82px -42px rgba(4, 16, 28, .95);
}

.page-products .px-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-shell);
  object-fit: cover;
}

/* ============ 章节通用 ============ */
.page-products .px-section {
  padding: clamp(56px, 8vw, 104px) 0;
}

.page-products .px-section--mist {
  background: var(--mist);
}

.page-products .px-section .section-head {
  margin-bottom: clamp(32px, 4.6vw, 56px);
}

.page-products .px-section h2 {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(25px, 3.5vw, 42px);
  line-height: 1.14;
  letter-spacing: -.018em;
  color: var(--ocean);
  max-width: 24ch;
  margin: 0;
}

.page-products .px-section .lede {
  max-width: 62ch;
  color: rgba(6, 25, 43, .74);
}

/* ============ 五类视图 ============ */
.page-products .px-views {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .px-view {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 6px 18px;
  padding: clamp(18px, 2.4vw, 26px) clamp(6px, 1.2vw, 14px);
  border-top: 1px solid var(--px-line);
  border-radius: var(--r-sm);
  transition: transform .24s var(--ease), background-color .24s var(--ease), border-color .24s var(--ease);
}

.page-products .px-views .px-view:last-child {
  border-bottom: 1px solid var(--px-line);
}

.page-products .px-view:hover {
  transform: translateX(6px);
  background: var(--paper);
  border-color: var(--signal);
}

.page-products .px-view__no {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--ridge);
}

.page-products .px-view h3 {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(19px, 2.2vw, 25px);
  letter-spacing: -.01em;
  color: var(--ocean);
}

.page-products .px-view p {
  margin: 0;
  max-width: 64ch;
  font-size: 15.5px;
  line-height: 1.76;
  color: rgba(6, 25, 43, .76);
}

/* ============ 三步收藏 ============ */
.page-products .px-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2vw, 22px);
}

.page-products .px-step {
  position: relative;
  padding: clamp(22px, 2.8vw, 32px);
  border-radius: var(--r-card);
  background: var(--paper);
  border: 1px solid var(--px-line);
  box-shadow: var(--shadow-1);
  transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease);
}

.page-products .px-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--signal);
}

.page-products .px-step:focus {
  outline: none;
}

.page-products .px-step:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--signal), var(--shadow-lift);
  border-color: var(--signal);
  transform: translateY(-4px);
}

.page-products .px-step__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-pill);
  background: var(--signal-soft);
  color: var(--ink);
  font-size: 13px;
}

.page-products .px-step h3 {
  margin: 16px 0 0;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(19px, 2.1vw, 23px);
  letter-spacing: -.01em;
  color: var(--ocean);
}

.page-products .px-step p {
  margin: 10px 0 0;
  font-size: 15.5px;
  line-height: 1.76;
  color: rgba(6, 25, 43, .76);
}

.page-products .px-steps__figure {
  margin: clamp(30px, 4.2vw, 48px) 0 0;
}

.page-products .px-steps__figure img,
.page-products .px-sync__figure img,
.page-products .px-export__figure img,
.page-products .px-version__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-card);
  object-fit: cover;
}

/* ============ 两端一致 ============ */
.page-products .px-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2vw, 20px);
  margin-bottom: clamp(26px, 3.6vw, 40px);
}

.page-products .px-pair__device {
  padding: clamp(20px, 2.6vw, 28px);
  border-radius: var(--r-card);
  background: var(--paper);
  border: 1px solid var(--px-line);
}

.page-products .px-pair__tag {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--ridge);
}

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

.page-products .px-pair__rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 4px;
  font-size: 15.5px;
  color: var(--ink);
  border-top: 1px solid var(--px-line-soft);
}

.page-products .px-pair__rows li:first-child {
  border-top: 0;
}

.page-products .px-dot {
  width: 9px;
  height: 9px;
  border-radius: var(--r-pill);
  background: var(--data);
  box-shadow: 0 0 0 4px rgba(15, 163, 127, .14);
}

.page-products .px-sync__figure {
  margin: 0;
}

/* ============ 刷新节奏 ============ */
.page-products .px-rhythm {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 34px);
}

.page-products .px-rhythm__strip {
  position: relative;
  height: clamp(76px, 11vw, 112px);
  border-radius: var(--r-card);
  border: 1px solid var(--px-line);
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(90deg, rgba(126, 150, 168, .5) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(126, 150, 168, .22) 0 1px, transparent 1px 8px);
  overflow: hidden;
}

.page-products .px-rhythm__livebar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  height: 38%;
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
  background: linear-gradient(90deg, var(--signal) 0%, rgba(255, 90, 43, .35) 100%);
}

.page-products .px-rhythm__pin {
  position: absolute;
  left: 42%;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--signal);
}

.page-products .px-rhythm__pin::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: var(--r-pill);
  background: var(--signal);
  box-shadow: 0 0 0 5px rgba(255, 90, 43, .18);
}

.page-products .px-rhythm__legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-products .px-rhythm__item {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: var(--r-card);
  background: var(--data-soft);
  border-left: 3px solid var(--data);
}

.page-products .px-rhythm__item--calm {
  background: var(--signal-soft);
  border-left-color: var(--signal);
}

.page-products .px-rhythm__key {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--ocean);
}

.page-products .px-rhythm__val {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(6, 25, 43, .8);
}

/* ============ 导出与分享 ============ */
.page-products .px-export {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.page-products .px-export__copy h2 {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(25px, 3.5vw, 42px);
  line-height: 1.14;
  letter-spacing: -.018em;
  color: var(--ocean);
  margin: 0;
  max-width: 22ch;
}

.page-products .px-export__copy .lede {
  max-width: 60ch;
  margin-top: clamp(14px, 2vw, 18px);
  color: rgba(6, 25, 43, .74);
}

.page-products .px-export__list {
  list-style: none;
  margin: clamp(18px, 2.6vw, 26px) 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .px-export__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  line-height: 1.72;
  color: rgba(6, 25, 43, .8);
}

.page-products .px-export__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 10px;
  height: 2px;
  border-radius: var(--r-pill);
  background: var(--signal);
}

.page-products .px-export__copy .btn {
  margin-top: clamp(22px, 3vw, 30px);
}

.page-products .px-export__figure {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 380px;
}

/* ============ 版本节奏 ============ */
.page-products .px-version__figure {
  margin: 0;
}

.page-products .px-version__notes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: clamp(22px, 3vw, 30px);
}

.page-products .px-version__notes p {
  margin: 0;
  padding: 16px 20px;
  border-radius: var(--r-card);
  background: var(--data-soft);
  font-size: 15px;
  line-height: 1.74;
  color: rgba(6, 25, 43, .82);
}

.page-products .px-version__notes strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--ff-display);
  font-weight: 800;
  color: var(--ocean);
}

/* ============ 索引收尾 ============ */
.page-products .px-index-wrap {
  padding: clamp(56px, 8vw, 100px) 0 clamp(64px, 9vw, 116px);
  background:
    radial-gradient(90% 70% at 8% 0%, rgba(15, 163, 127, .18) 0%, rgba(15, 163, 127, 0) 62%),
    linear-gradient(180deg, #06192B 0%, #04101C 100%);
  color: var(--paper);
}

.page-products .px-index__title {
  margin: 0 0 clamp(22px, 3vw, 34px);
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(22px, 2.8vw, 32px);
  letter-spacing: -.016em;
  color: var(--paper);
}

.page-products .px-index {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--px-line-dark);
}

.page-products .px-index__item a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 16px;
  padding: clamp(16px, 2.2vw, 22px) 0;
  border-bottom: 1px solid var(--px-line-dark);
  text-decoration: none;
  color: var(--paper);
  transition: padding-left .24s var(--ease), color .24s var(--ease), border-color .24s var(--ease);
}

.page-products .px-index__item a:hover,
.page-products .px-index__item a:focus-visible {
  padding-left: 12px;
  color: var(--signal);
  border-color: rgba(255, 90, 43, .45);
}

.page-products .px-index__no {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--ridge);
}

.page-products .px-index__name {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -.01em;
}

.page-products .px-index__note {
  grid-column: 1 / -1;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(216, 237, 234, .7);
}

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

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

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

  .page-products .px-index__item a {
    grid-template-columns: 62px minmax(150px, 220px) minmax(0, 1fr);
    align-items: center;
  }

  .page-products .px-index__note {
    grid-column: 3;
  }
}

@media (min-width: 880px) {
  .page-products .px-hero__grid {
    grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
    gap: clamp(40px, 5vw, 76px);
  }

  .page-products .px-view {
    grid-template-columns: 76px minmax(140px, 200px) minmax(0, 1fr);
    align-items: center;
    gap: 0 28px;
  }

  .page-products .px-view p {
    grid-column: 3;
  }

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

  .page-products .px-export__figure {
    max-width: none;
  }
}

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

  .page-products .px-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(clamp(22px, 2.8vw, 32px) + 17px);
    right: calc(-1 * clamp(14px, 2vw, 22px));
    width: clamp(14px, 2vw, 22px);
    height: 2px;
    border-radius: var(--r-pill);
    background: linear-gradient(90deg, var(--signal), rgba(255, 90, 43, .18));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .px-view,
  .page-products .px-step,
  .page-products .px-index__item a {
    transition: none;
  }

  .page-products .px-view:hover,
  .page-products .px-step:hover {
    transform: none;
  }
}
