.page-products {
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: clip;
}

/* ---------- 首屏框景 ---------- */
.page-products .p-hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(760px 380px at 92% -8%, rgba(121, 199, 178, .2), transparent 62%),
    radial-gradient(680px 340px at -6% 108%, rgba(216, 166, 74, .2), transparent 64%),
    var(--deep);
  padding: calc(var(--header-h) + 26px) 0 clamp(44px, 6vw, 80px);
}

.page-products .p-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--header-h) + 4px);
  height: 10px;
  background: repeating-linear-gradient(90deg, rgba(216, 166, 74, .55) 0 1px, transparent 1px 32px);
  opacity: .55;
  pointer-events: none;
}

.page-products .breadcrumbs {
  font-size: .8125rem;
  margin: 0 0 clamp(18px, 3vw, 28px);
}

.page-products .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-products .breadcrumbs li + li::before {
  content: "/";
  color: rgba(252, 250, 245, .36);
}

.page-products .breadcrumbs a {
  color: rgba(252, 250, 245, .72);
  text-decoration: none;
}

.page-products .breadcrumbs a:hover {
  color: var(--gold);
}

.page-products .breadcrumbs li:last-child a {
  color: var(--paper);
}

.page-products .p-frame {
  position: relative;
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid rgba(252, 250, 245, .2);
  border-radius: var(--radius) var(--r-cut) var(--radius) var(--r-cut);
  background: linear-gradient(145deg, rgba(252, 250, 245, .08), rgba(252, 250, 245, .015));
}

.page-products .p-frame::before,
.page-products .p-frame::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold);
  opacity: .85;
}

.page-products .p-frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.page-products .p-frame::after {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
}

.page-products .p-hero .eyebrow {
  color: var(--gold);
}

.page-products .p-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.06;
  font-size: clamp(2rem, 5.2vw, 4rem);
  margin: .32em 0 .45em;
  color: var(--paper);
}

.page-products .p-hero-lede {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.8;
  color: rgba(252, 250, 245, .8);
}

.page-products .p-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  list-style: none;
  margin: clamp(24px, 3.5vw, 36px) 0 0;
  padding: clamp(18px, 3vw, 26px) 0 0;
  border-top: 1px solid rgba(252, 250, 245, .16);
}

.page-products .p-fact {
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}

.page-products .p-fact strong {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--gold);
}

.page-products .p-fact span {
  display: block;
  margin-top: 4px;
  font-size: .8125rem;
  line-height: 1.5;
  color: rgba(252, 250, 245, .66);
}

.page-products .p-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 32px);
}

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

/* ---------- 章节基调 ---------- */
.page-products .p-band {
  position: relative;
  padding: clamp(46px, 6.5vw, 86px) 0;
}

.page-products .p-band--paper {
  background: var(--paper);
}

.page-products .p-band--deep {
  background: var(--deep);
  color: var(--paper);
}

.page-products .p-band--teal {
  background: var(--teal);
  color: var(--paper);
}

.page-products .p-head {
  max-width: 720px;
  margin-bottom: clamp(24px, 3.5vw, 40px);
}

.page-products .p-head h2 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.12;
  font-size: clamp(1.55rem, 3.1vw, 2.5rem);
  margin: .35em 0 .5em;
}

.page-products .p-head > p:last-child {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-products .p-band--deep .eyebrow,
.page-products .p-band--teal .eyebrow {
  color: var(--gold);
}

.page-products .p-band--deep .p-head > p:last-child,
.page-products .p-band--teal .p-head > p:last-child {
  color: rgba(252, 250, 245, .76);
}

/* ---------- 框景图 ---------- */
.page-products .p-shot {
  margin: 0 0 clamp(22px, 3.5vw, 38px);
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius) var(--r-cut) var(--radius) var(--r-cut);
  overflow: hidden;
  background: var(--deep);
}

.page-products .p-shot img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .p-band--deep .p-shot,
.page-products .p-band--teal .p-shot {
  border-color: rgba(252, 250, 245, .2);
}

/* ---------- 入口矩阵 ---------- */
.page-products .p-entries {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-products .p-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 20px 20px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px var(--r-cut) 16px var(--r-cut);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.page-products .p-entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 3px;
  background: var(--gold);
}

.page-products .p-entry--phone::before {
  background: var(--mint);
}

.page-products .p-entry--pad::before {
  background: var(--indigo);
}

.page-products .p-entry--acct::before {
  background: var(--coral);
}

.page-products .p-entry:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -26px rgba(11, 42, 74, .55);
}

.page-products .p-entry-meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--ink-mute);
}

.page-products .p-entry h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -.01em;
}

.page-products .p-entry p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-products .p-entry .p-entry-use {
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--ink-mute);
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}

.page-products .p-entry-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: .875rem;
  font-weight: 500;
  color: var(--deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 42, 74, .3);
  padding-bottom: 2px;
}

.page-products .p-entry-link:hover {
  color: var(--coral);
  border-bottom-color: rgba(232, 111, 81, .5);
}

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

@media (min-width: 1024px) {
  .page-products .p-entries {
    grid-template-columns: 1.35fr 1fr 1fr;
  }

  .page-products .p-entry--web {
    grid-row: span 2;
  }

  .page-products .p-entry--acct {
    grid-column: span 2;
  }
}

/* ---------- 按设备定位 ---------- */
.page-products .p-locate {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-products .p-rail {
  background: var(--deep);
  color: var(--paper);
  border-radius: 16px var(--r-cut) 16px var(--r-cut);
  padding: 20px 18px;
}

.page-products .p-rail-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-products .p-rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-products .p-rail-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 8px;
  border-radius: 8px;
  border-left: 2px solid transparent;
  text-decoration: none;
  font-size: .9375rem;
  color: rgba(252, 250, 245, .86);
  transition: background .25s var(--ease), border-color .25s var(--ease);
}

.page-products .p-rail-list a:hover {
  background: rgba(252, 250, 245, .08);
  border-left-color: var(--gold);
  color: var(--paper);
}

.page-products .p-rail-count {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--mint);
}

.page-products .p-rail-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(252, 250, 245, .16);
  font-size: .8125rem;
  line-height: 1.65;
  color: rgba(252, 250, 245, .62);
}

.page-products .p-rail-note a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 166, 74, .4);
}

.page-products .p-dev + .p-dev {
  margin-top: clamp(24px, 3vw, 36px);
}

.page-products .p-dev-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .01em;
}

.page-products .p-dev-title::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  transform: rotate(45deg);
}

.page-products .p-dev-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-products .v-card {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 16px 16px 16px 20px;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 14px var(--r-cut) 14px var(--r-cut);
}

.page-products .v-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 14px 0 0 var(--r-cut);
  background: var(--mint);
}

.page-products .v-card--gray::before {
  background: var(--gold);
}

.page-products .v-card--indigo::before {
  background: var(--indigo);
}

.page-products .v-card--wine::before {
  background: var(--wine);
}

.page-products .v-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.page-products .v-no {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--ink-mute);
}

.page-products .v-card h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -.01em;
}

.page-products .v-card p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.page-products .v-card .v-meta {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .02em;
  color: var(--ink-mute);
}

@media (min-width: 820px) {
  .page-products .p-dev-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (min-width: 900px) {
  .page-products .p-locate {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: clamp(24px, 3.5vw, 44px);
    align-items: start;
  }

  .page-products .p-rail {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

/* ---------- 检索 ---------- */
.page-products .p-search-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 44px);
}

.page-products .p-search-copy h2 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.12;
  font-size: clamp(1.55rem, 3.1vw, 2.4rem);
  margin: .35em 0 .5em;
}

.page-products .p-search-copy > p {
  margin: 0 0 18px;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(252, 250, 245, .78);
}

.page-products .p-index-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .p-glass {
  padding: clamp(16px, 2.6vw, 24px);
  border: 1px solid rgba(252, 250, 245, .24);
  border-radius: var(--radius) var(--r-cut) var(--radius) var(--r-cut);
  background: linear-gradient(150deg, rgba(252, 250, 245, .16), rgba(252, 250, 245, .04));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-products .p-searchbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(16, 24, 32, .06);
}

.page-products .p-searchbar svg {
  flex: 0 0 auto;
  color: var(--deep);
  opacity: .7;
}

.page-products .p-searchbar-text {
  font-size: .9375rem;
  font-weight: 500;
}

.page-products .p-caret {
  width: 1px;
  height: 16px;
  background: var(--coral);
  animation: p-blink 1.2s steps(1) infinite;
}

@keyframes p-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.page-products .p-glass-hint {
  margin: 12px 0 0;
  font-size: .8125rem;
  line-height: 1.6;
  color: rgba(252, 250, 245, .68);
}

.page-products .p-hit {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(252, 250, 245, .18);
}

.page-products .p-hit-count {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--gold);
}

.page-products .p-hit-line {
  font-size: .8125rem;
  line-height: 1.6;
  color: rgba(252, 250, 245, .72);
}

.page-products .p-results {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: clamp(22px, 3vw, 34px);
}

.page-products .p-result {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(252, 250, 245, .2);
  border-radius: 14px var(--r-cut) 14px var(--r-cut);
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.page-products .p-result:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .55);
}

.page-products .p-result-cat {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
}

.page-products .p-result h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.4;
}

.page-products .p-result p {
  margin: 0;
  font-size: .875rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.page-products .p-result-go {
  margin-top: 2px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--coral);
}

.page-products mark {
  background: rgba(121, 199, 178, .35);
  color: inherit;
  padding: 0 2px;
  border-radius: 3px;
}

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

@media (min-width: 960px) {
  .page-products .p-search-split {
    grid-template-columns: 1.05fr .95fr;
    align-items: start;
  }
}

/* ---------- 焕新版三步 ---------- */
.page-products .p-steps-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3.5vw, 40px);
}

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

.page-products .p-step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px var(--r-cut) 14px var(--r-cut);
  overflow: hidden;
}

.page-products .p-step summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.page-products .p-step summary::-webkit-details-marker {
  display: none;
}

.page-products .p-step summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  line-height: 1;
  color: var(--deep);
}

.page-products .p-step-details[open] summary::after {
  content: "–";
}

.page-products .p-step-no {
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--deep);
  background: var(--gold);
  border-radius: 5px;
  padding: 2px 7px;
}

.page-products .p-step-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
}

.page-products .p-step-body {
  padding: 0 18px 18px;
}

.page-products .p-step-body p {
  margin: 0 0 10px;
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-products .p-step-body ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.page-products .p-shot--steps {
  margin: 0;
}

@media (min-width: 920px) {
  .page-products .p-steps-wrap {
    grid-template-columns: 1.15fr .85fr;
    align-items: start;
  }
}

/* ---------- 版本动态 ---------- */
.page-products .p-log {
  list-style: none;
  margin: clamp(22px, 3vw, 32px) 0 0;
  padding: 0;
}

.page-products .p-log-item {
  display: grid;
  gap: 10px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(252, 250, 245, .16);
}

.page-products .p-log-item:first-child {
  border-top: 1px solid rgba(252, 250, 245, .16);
}

.page-products .p-log-time {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .04em;
  color: var(--gold);
}

.page-products .p-log-main {
  display: grid;
  gap: 6px;
}

.page-products .p-log-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page-products .p-log-code {
  font-family: var(--font-mono);
  font-size: .8125rem;
  color: rgba(252, 250, 245, .7);
}

.page-products .p-log-main h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.4;
}

.page-products .p-log-main p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.7;
  color: rgba(252, 250, 245, .72);
}

.page-products .p-log-more {
  margin: 22px 0 0;
  font-size: .9375rem;
  line-height: 1.7;
  color: rgba(252, 250, 245, .72);
}

.page-products .p-log-more a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 166, 74, .4);
}

@media (min-width: 760px) {
  .page-products .p-log-item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
  }
}

/* ---------- 安装问答 ---------- */
.page-products .p-faqs {
  display: grid;
  gap: 10px;
}

.page-products .p-faq {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 12px var(--r-cut) 12px var(--r-cut);
}

.page-products .p-faq summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
  font-size: .98rem;
  font-weight: 500;
}

.page-products .p-faq summary::-webkit-details-marker {
  display: none;
}

.page-products .p-faq summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  line-height: 1;
  color: var(--deep);
}

.page-products .p-faq[open] summary::after {
  content: "–";
}

.page-products .p-faq p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-products .p-faq p a {
  color: var(--deep);
  text-decoration: underline;
  text-decoration-color: rgba(11, 42, 74, .35);
  text-underline-offset: 3px;
}

.page-products .p-help {
  display: grid;
  gap: 18px;
  margin-top: clamp(26px, 4vw, 40px);
  padding: clamp(20px, 3vw, 30px);
  background: var(--deep);
  color: var(--paper);
  border-radius: var(--radius) var(--r-cut) var(--radius) var(--r-cut);
}

.page-products .p-help h3 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
}

.page-products .p-help p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.7;
  color: rgba(252, 250, 245, .74);
}

.page-products .p-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (min-width: 820px) {
  .page-products .p-help {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .p-caret {
    animation: none;
  }

  .page-products .p-entry,
  .page-products .p-result {
    transition: none;
  }
}
