.page-products {
  background: var(--gray);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

.page-products .pp-text {
  font-size: 16px;
  line-height: 1.75;
  color: #33414f;
  max-width: 64ch;
}

.page-products .pp-note {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 64ch;
}

.page-products .pp-note--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-products .pp-links {
  margin: 22px 0 0;
  font-size: 15px;
  color: var(--slate);
}

.page-products .pp-links a {
  color: var(--navy-500);
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 96, 145, 0.35);
  padding-bottom: 1px;
}

.page-products .pp-links a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.page-products .pp-links--onnavy a {
  color: var(--mist);
  border-bottom-color: rgba(215, 241, 242, 0.4);
}

/* ---------- hero ---------- */

.page-products .pp-hero {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  padding: 28px 0 44px;
  overflow: hidden;
}

.page-products .pp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.page-products .pp-hero::after {
  content: "";
  position: absolute;
  right: -18%;
  top: -40%;
  width: 68%;
  height: 180%;
  background: linear-gradient(135deg, rgba(23, 195, 201, 0.24), rgba(31, 96, 145, 0.04) 70%);
  transform: skewX(-15deg);
  pointer-events: none;
}

.page-products .pp-hero__inner {
  position: relative;
  z-index: 1;
}

.page-products .pp-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  margin-bottom: 26px;
}

.page-products .pp-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.page-products .pp-hero__eyebrow {
  color: var(--cyan);
}

.page-products .pp-hero h1 {
  font-family: var(--font-narrow);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 30px;
  line-height: 1.2;
  margin: 12px 0 18px;
  max-width: 17em;
}

.page-products .pp-hero__lede {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.8;
  max-width: 66ch;
  margin: 0;
}

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

.page-products .pp-hero__metrics {
  list-style: none;
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}

.page-products .pp-hero__metrics li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-products .pp-hero__metrics .num {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--cyan);
  border-bottom: 1px solid rgba(23, 195, 201, 0.5);
  align-self: flex-start;
  padding-bottom: 2px;
}

.page-products .pp-hero__metric-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- 通用分栏 ---------- */

.page-products .pp-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.page-products .pp-split__main > h2,
.page-products .pp-packages__head h2,
.page-products .pp-install__head h2,
.page-products .pp-scenes__head h2,
.page-products .pp-ready__main h2 {
  font-family: var(--font-narrow);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 24px;
  line-height: 1.25;
  margin: 10px 0 14px;
  color: var(--navy-900);
}

.page-products .pp-split__side .media {
  margin: 0;
}

/* ---------- 检索区 ---------- */

.page-products .pp-search {
  background: var(--gray);
}

.page-products .quickfind {
  margin-top: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .quickfind__field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.page-products .quickfind__icon {
  color: var(--slate);
  font-size: 17px;
  line-height: 1;
}

.page-products .quickfind__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  background: transparent;
}

.page-products .quickfind__input::placeholder {
  color: #9aa7b6;
}

.page-products .quickfind__count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  white-space: nowrap;
}

.page-products .quickfind__panel {
  background: var(--white);
}

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

.page-products .quickfind__item + .quickfind__item {
  border-top: 1px dashed rgba(201, 210, 222, 0.8);
}

.page-products .quickfind__item[hidden] {
  display: none;
}

.page-products .quickfind__link {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 10px;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}

.page-products .quickfind__link:hover {
  background: var(--mist);
}

.page-products .quickfind__num {
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--navy-500);
}

.page-products .quickfind__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-900);
}

.page-products .quickfind__hint {
  grid-column: 2;
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
}

.page-products .quickfind.is-hitting .quickfind__field {
  box-shadow: inset 0 -2px 0 var(--cyan);
}

.page-products .quickfind__empty {
  margin: 0;
  padding: 16px 14px;
  font-size: 14px;
  color: var(--slate);
}

.page-products .pp-ticks {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .pp-ticks li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.7;
  color: #33414f;
}

.page-products .pp-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--cyan);
  opacity: 0.85;
}

/* ---------- 会员中心 ---------- */

.page-products .pp-member {
  background: var(--paper);
}

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

.page-products .pp-steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(201, 210, 222, 0.8);
}

.page-products .pp-steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-products .pp-steps__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange);
  padding-top: 3px;
}

.page-products .pp-steps h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--navy-900);
}

.page-products .pp-steps p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #33414f;
}

.page-products .pp-callout {
  margin-top: 26px;
  background: rgba(23, 195, 201, 0.1);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 18px;
}

.page-products .pp-callout p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #22303d;
}

/* ---------- 安装包 ---------- */

.page-products .pp-packages {
  background: var(--white);
}

.page-products .pp-packages__head {
  max-width: 60ch;
  margin-bottom: 30px;
}

.page-products .pp-packages__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.page-products .pp-pack {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
}

.page-products .pp-pack--mobile {
  background: linear-gradient(180deg, rgba(23, 195, 201, 0.12), rgba(255, 255, 255, 0) 180px), var(--white);
  border-color: rgba(23, 195, 201, 0.45);
}

.page-products .pp-pack--desktop {
  background: linear-gradient(180deg, rgba(255, 122, 47, 0.12), rgba(255, 255, 255, 0) 180px), var(--white);
  border-color: rgba(255, 122, 47, 0.4);
}

.page-products .pp-pack .card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 0;
}

.page-products .pp-pack__media {
  margin: 16px 18px 0;
}

.page-products .pp-pack--mobile .pp-pack__media {
  max-width: 320px;
}

.page-products .pp-pack .card__body {
  padding: 18px;
}

.page-products .pp-pack .card__title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy-900);
  margin: 0 0 14px;
}

.page-products .pp-pack__size {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--navy-900);
  border-bottom: 2px solid var(--cyan);
  padding-bottom: 2px;
}

.page-products .pp-pack--desktop .pp-pack__size {
  border-bottom-color: var(--orange);
}

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

.page-products .pp-pack__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #33414f;
}

.page-products .pp-pack__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy-500);
}

.page-products .pp-gauge {
  margin: 18px 0 12px;
  height: 6px;
  border-radius: 3px;
  background: rgba(201, 210, 222, 0.6);
  overflow: hidden;
}

.page-products .pp-gauge__bar {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--cyan);
}

.page-products .pp-gauge__bar--short {
  width: 28%;
}

.page-products .pp-gauge__bar--long {
  width: 72%;
  background: var(--orange);
}

.page-products .pp-pack__foot {
  margin: 0;
  font-size: 13px;
  color: var(--slate);
}

.page-products .pp-packages__note {
  margin: 24px 0 0;
  font-size: 14px;
  color: var(--slate);
}

/* ---------- 扫码比对 ---------- */

.page-products .pp-scan {
  background: var(--navy-900);
  color: var(--white);
}

.page-products .pp-scan__eyebrow {
  color: var(--cyan);
}

.page-products .pp-scan h2 {
  color: var(--white);
}

.page-products .pp-scan__text {
  color: rgba(255, 255, 255, 0.8);
}

.page-products .pp-paths {
  display: block;
  width: 100%;
  height: auto;
  max-width: 460px;
  margin: 24px 0 8px;
}

.page-products .pp-folds {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.page-products .pp-scan .fold {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(215, 241, 242, 0.24);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.page-products .pp-scan .fold__summary {
  cursor: pointer;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--mist);
  list-style: none;
}

.page-products .pp-scan .fold__summary::-webkit-details-marker {
  display: none;
}

.page-products .pp-scan .fold__summary::after {
  content: "+";
  float: right;
  font-family: var(--font-mono);
  color: var(--cyan);
}

.page-products .pp-scan .fold[open] .fold__summary::after {
  content: "–";
}

.page-products .pp-scan .fold__body {
  padding: 0 16px 16px;
  border-top: 1px solid rgba(215, 241, 242, 0.16);
}

.page-products .pp-scan .fold__body p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

.page-products .pp-scan .media__caption {
  color: rgba(255, 255, 255, 0.6);
}

.page-products .pp-scan .media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(215, 241, 242, 0.24);
  background: rgba(255, 255, 255, 0.04);
}

/* ---------- 安装与更新 ---------- */

.page-products .pp-install {
  background: var(--gray);
}

.page-products .pp-install__head {
  max-width: 56ch;
  margin-bottom: 28px;
}

.page-products .pp-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-products .pp-flow li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.page-products .pp-flow__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  margin-bottom: 8px;
}

.page-products .pp-flow h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-900);
}

.page-products .pp-flow p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #33414f;
}

.page-products .pp-timeline {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-products .pp-timeline__item {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 18px 18px 20px;
  transition: border-left-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-products .pp-timeline__dot {
  position: absolute;
  left: -8px;
  top: 24px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--cyan);
}

.page-products .pp-timeline__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-900);
}

.page-products .pp-timeline__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #33414f;
}

.page-products .pp-timeline__more {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.24s var(--ease), opacity 0.24s var(--ease), margin-top 0.24s var(--ease);
}

.page-products .pp-timeline__item:hover {
  border-left-color: var(--orange);
  transform: translateX(3px);
}

.page-products .pp-timeline__item:hover .pp-timeline__more {
  max-height: 120px;
  opacity: 1;
  margin-top: 8px;
}

/* ---------- 场景 ---------- */

.page-products .pp-scenes {
  background: var(--paper);
}

.page-products .pp-scenes__head {
  max-width: 56ch;
  margin-bottom: 28px;
}

.page-products .pp-scenes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-products .pp-scene {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-products .pp-scene:hover {
  transform: translateY(-4px);
  border-color: var(--navy-500);
}

.page-products .pp-scene h3 {
  margin: 14px 0 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy-900);
}

.page-products .pp-scene p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #33414f;
}

/* ---------- 下载前确认 ---------- */

.page-products .pp-ready {
  background: var(--white);
}

.page-products .pp-ready__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.page-products .pp-check {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.page-products .pp-check li {
  padding-left: 26px;
  position: relative;
}

.page-products .pp-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--orange);
  border-radius: 4px;
}

.page-products .pp-check h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-900);
}

.page-products .pp-check p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #33414f;
}

.page-products .pp-ready__side {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}

.page-products .pp-ready__side .card__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-900);
}

.page-products .pp-ready__side .card__body {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.75;
  color: #33414f;
}

.page-products .pp-ready__btn {
  display: block;
  margin-bottom: 10px;
  text-align: center;
}

.page-products .pp-ready__btn:last-child {
  margin-bottom: 0;
}

/* ---------- 响应式 ---------- */

@media (min-width: 640px) {
  .page-products .pp-hero {
    padding: 34px 0 52px;
  }

  .page-products .pp-hero h1 {
    font-size: 36px;
  }

  .page-products .pp-hero__metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .page-products .pp-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .pp-timeline__item {
    border-left: 0;
    border-top: 3px solid var(--navy-500);
    border-radius: 0 0 var(--radius) var(--radius);
    padding-left: 18px;
  }

  .page-products .pp-timeline__dot {
    left: 20px;
    top: -8px;
  }

  .page-products .pp-timeline__item:hover {
    transform: translateY(-4px);
    border-top-color: var(--orange);
  }
}

@media (min-width: 900px) {
  .page-products .pp-hero h1 {
    font-size: 44px;
  }

  .page-products .pp-hero__lede,
  .page-products .pp-text {
    font-size: 17px;
  }

  .page-products .pp-split {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 48px;
  }

  .page-products .pp-split--flip .pp-split__side {
    order: -1;
  }

  .page-products .pp-split__main > h2,
  .page-products .pp-packages__head h2,
  .page-products .pp-install__head h2,
  .page-products .pp-scenes__head h2,
  .page-products .pp-ready__main h2 {
    font-size: 30px;
  }

  .page-products .pp-packages__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 28px;
    align-items: stretch;
  }

  .page-products .pp-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .pp-ready__inner {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 44px;
  }

  .page-products .pp-scene {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pp-scene,
  .page-products .pp-timeline__item,
  .page-products .quickfind__link {
    transition: none;
  }

  .page-products .pp-scene:hover,
  .page-products .pp-timeline__item:hover {
    transform: none;
  }
}
