.page-products {
  --pp-rail: 232px;
  --pp-sticky: calc(var(--header-h) + 24px);
  --pp-glass: rgba(18, 41, 74, 0.55);
  --pp-glass-soft: rgba(18, 41, 74, 0.28);
  color: var(--slate-100);
  display: block;
}

.page-products section[id] {
  scroll-margin-top: var(--pp-sticky);
}

/* ---------- 面包屑 ---------- */
.page-products .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 18px 20px 0;
  max-width: var(--shell);
  margin: 0 auto;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
}

.page-products .breadcrumb__item {
  color: var(--slate-400);
  text-decoration: none;
}

.page-products .breadcrumb__item:hover,
.page-products .breadcrumb__item[aria-current="page"] {
  color: var(--mint-400);
}

.page-products .breadcrumb__sep {
  color: var(--line-700);
}

/* ---------- 框景首屏 ---------- */
.page-products .hero-frame {
  padding: 20px 0 8px;
  background: linear-gradient(180deg, var(--ink-950) 0%, var(--ink-900) 100%);
}

.page-products .hero-frame__inner {
  position: relative;
  border: 1px solid var(--line-700);
  border-radius: var(--radius-lg);
  padding: 30px 18px 26px;
  background: var(--pp-glass-soft);
}

.page-products .hero-frame__inner::before,
.page-products .hero-frame__inner::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-style: solid;
  border-color: var(--mint-400);
  opacity: 0.75;
  pointer-events: none;
}

.page-products .hero-frame__inner::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
  border-top-left-radius: var(--radius-lg);
}

.page-products .hero-frame__inner::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 1px 1px 0;
  border-bottom-right-radius: var(--radius-lg);
}

.page-products .eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  color: var(--mint-400);
  margin: 0 0 14px;
}

.page-products .hero-frame__code {
  color: var(--slate-400);
}

.page-products .hero-frame__title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 7.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 18px;
  max-width: 22em;
}

.page-products .hero-frame__lead {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.8;
  color: var(--slate-100);
  max-width: 34em;
  margin: 0 0 20px;
}

.page-products .meta-line {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.02em;
  color: var(--slate-400);
}

.page-products .hero-frame__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-700);
}

.page-products .hero-frame__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* ---------- 骨架布局 ---------- */
.page-products .shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.page-products .rail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-top: 28px;
  padding-bottom: 60px;
}

/* ---------- 锚点导轨（移动端横向） ---------- */
.page-products .anchor-rail {
  border-bottom: 1px solid var(--line-700);
  padding-bottom: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-products .anchor-rail__title {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  color: var(--slate-400);
  margin: 0 0 10px;
}

.page-products .anchor-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: 6px;
  min-width: max-content;
}

.page-products .anchor-rail__link {
  display: block;
  white-space: nowrap;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--slate-400);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.page-products .anchor-rail__link:hover {
  color: var(--slate-100);
}

.page-products .anchor-rail__link[aria-current="true"] {
  color: var(--mint-400);
  border-bottom-color: var(--mint-400);
}

/* ---------- 区块 ---------- */
.page-products .section {
  padding: 34px 0 10px;
}

.page-products .section + .section {
  border-top: 1px solid var(--line-700);
  margin-top: 22px;
}

.page-products .section__head {
  margin-bottom: 22px;
}

.page-products .section__head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 12px;
}

.page-products .section__lead {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.8;
  color: var(--slate-400);
  max-width: 34em;
  margin: 0;
}

.page-products .mono {
  font-family: var(--font-mono);
  font-size: 0.94em;
  letter-spacing: 0.02em;
}

/* ---------- 两条链路 ---------- */
.page-products .lane-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-700);
  border: 1px solid var(--line-700);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-products .lane {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 22px 18px;
  background: var(--ink-800);
}

.page-products .lane__num {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 11vw, 3.5rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: var(--brand-500);
}

.page-products .lane__title {
  font-family: var(--font-head);
  font-size: var(--fs-18);
  font-weight: 700;
  margin: 0 0 8px;
}

.page-products .lane__text {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.8;
  color: var(--slate-100);
  max-width: 34em;
  margin: 0 0 12px;
}

.page-products .lane__link {
  margin: 10px 0 0;
  font-size: var(--fs-14);
}

.page-products .link-quiet {
  color: var(--brand-300);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 160ms var(--ease);
}

.page-products .link-quiet:hover {
  color: var(--mint-400);
}

/* ---------- 图片 ---------- */
.page-products .media-figure {
  margin: 0 0 22px;
}

.page-products .media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-700);
  background: linear-gradient(160deg, var(--ink-800) 0%, var(--ink-950) 100%);
}

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

.page-products .media-frame--wide img { aspect-ratio: 2 / 1; }
.page-products .media-frame--square img { aspect-ratio: 1 / 1; }
.page-products .media-frame--tall img { aspect-ratio: 3 / 4; }
.page-products .media-frame--slim img { aspect-ratio: 3 / 1; }

.page-products .media-figure__cap {
  display: block;
  margin-top: 8px;
  font-family: var(--font-serif);
  font-size: var(--fs-12);
  letter-spacing: 0.02em;
  color: var(--slate-400);
}

/* ---------- 分段切换 ---------- */
.page-products .segmented {
  margin-top: 22px;
}

.page-products .segmented__list {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: var(--ink-800);
  border: 1px solid var(--line-700);
  border-radius: 999px;
  max-width: 100%;
}

.page-products .segmented__btn {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  letter-spacing: 0.02em;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--slate-400);
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease);
}

.page-products .segmented__btn[aria-selected="true"] {
  background: var(--brand-600);
  color: #ffffff;
}

.page-products .segmented__btn:focus-visible {
  outline: 2px solid var(--mint-400);
  outline-offset: 2px;
}

.page-products .segmented__panel {
  margin-top: 18px;
  padding: 20px 18px;
  border-radius: var(--radius-md);
  background: var(--pp-glass);
  border: 1px solid var(--line-700);
}

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

.page-products .panel-lead {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.8;
  color: var(--slate-400);
  max-width: 34em;
  margin: 0 0 18px;
}

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

.page-products .step-list > li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.page-products .step-num {
  font-family: var(--font-mono);
  font-size: var(--fs-16);
  font-weight: 700;
  color: var(--mint-400);
  padding-top: 3px;
}

.page-products .step-list p {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.8;
  color: var(--slate-100);
  margin: 0;
  max-width: 34em;
}

/* ---------- 现象筛选 ---------- */
.page-products .split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

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

.page-products .chip {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-700);
  background: var(--pp-glass-soft);
  color: var(--slate-400);
  cursor: pointer;
  transition: color 160ms var(--ease), border-color 160ms var(--ease), background 160ms var(--ease);
}

.page-products .chip:hover {
  color: var(--slate-100);
}

.page-products .chip[aria-pressed="true"] {
  color: var(--mint-400);
  border-color: var(--mint-400);
  background: rgba(47, 224, 196, 0.08);
}

.page-products .chip:focus-visible {
  outline: 2px solid var(--mint-400);
  outline-offset: 2px;
}

.page-products .filter-status {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
  color: var(--slate-400);
  margin: 0 0 14px;
}

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

.page-products .symptom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 16px 4px 16px 0;
  border-bottom: 1px solid var(--line-700);
  border-left: 2px solid transparent;
  padding-left: 14px;
}

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

.page-products .symptom:hover {
  border-left-color: var(--brand-500);
}

.page-products .symptom__tag {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  color: var(--brand-300);
}

.page-products .symptom__title {
  font-family: var(--font-head);
  font-size: var(--fs-16);
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 6px;
}

.page-products .symptom__text {
  font-family: var(--font-body);
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--slate-400);
  margin: 0;
  max-width: 34em;
}

.page-products .boundary {
  margin-top: 20px;
  border: 1px solid var(--line-700);
  border-radius: var(--radius-md);
  background: var(--pp-glass-soft);
  padding: 0 16px;
}

.page-products .boundary__summary {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  color: var(--slate-100);
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
}

.page-products .boundary__summary::-webkit-details-marker {
  display: none;
}

.page-products .boundary__summary::before {
  content: "+ ";
  color: var(--mint-400);
}

.page-products .boundary[open] .boundary__summary::before {
  content: "− ";
}

.page-products .boundary__text {
  font-family: var(--font-body);
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--slate-400);
  max-width: 34em;
  margin: 0 0 16px;
}

/* ---------- 四个环节 ---------- */
.page-products .stage-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.page-products .stage {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line-700);
}

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

.page-products .stage__num {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 10vw, 3.5rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: var(--brand-500);
}

.page-products .stage__title {
  font-family: var(--font-head);
  font-size: var(--fs-18);
  font-weight: 700;
  margin: 0 0 8px;
}

.page-products .stage__text {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.8;
  color: var(--slate-400);
  margin: 0;
  max-width: 34em;
}

.page-products .stage-note {
  font-family: var(--font-body);
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--slate-400);
  max-width: 34em;
  margin: 18px 0 0;
}

/* ---------- 标签体系 ---------- */
.page-products .tag-dims {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-products .tag-dim {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--pp-glass);
  border: 1px solid var(--line-700);
}

.page-products .tag-dim__title {
  font-family: var(--font-head);
  font-size: var(--fs-18);
  font-weight: 700;
  margin: 0 0 4px;
}

.page-products .tag-dim__hint {
  font-family: var(--font-body);
  font-size: var(--fs-12);
  color: var(--slate-400);
  margin: 0 0 14px;
}

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

.page-products .tag-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-700);
}

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

.page-products .tag-name {
  font-family: var(--font-body);
  font-size: var(--fs-14);
  color: var(--slate-100);
}

.page-products .tag-count {
  color: var(--mint-400);
  font-size: var(--fs-14);
}

/* ---------- 参数速查 ---------- */
.page-products .param-group {
  margin-top: 12px;
  border: 1px solid var(--line-700);
  border-radius: var(--radius-md);
  background: var(--ink-800);
  overflow: hidden;
}

.page-products .param-group__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  cursor: pointer;
  list-style: none;
  border-bottom: 1px solid transparent;
}

.page-products .param-group__summary::-webkit-details-marker {
  display: none;
}

.page-products .param-group[open] .param-group__summary {
  border-bottom-color: var(--line-700);
}

.page-products .param-group__title {
  font-family: var(--font-head);
  font-size: var(--fs-16);
  font-weight: 700;
}

.page-products .param-group__count {
  font-size: var(--fs-12);
  color: var(--mint-400);
}

.page-products .param-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-products .param-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: var(--fs-14);
}

.page-products .param-table__cap {
  caption-side: top;
  text-align: left;
  padding: 12px 16px 6px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
  color: var(--slate-400);
}

.page-products .param-table thead th {
  text-align: left;
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  color: var(--slate-400);
  background: var(--ink-900);
  border-bottom: 1px solid var(--line-700);
  white-space: nowrap;
}

.page-products .param-table tbody td {
  padding: 12px 16px;
  vertical-align: top;
  line-height: 1.7;
  color: var(--slate-100);
  border-bottom: 1px solid var(--line-700);
}

.page-products .param-table tbody tr:nth-child(even) td {
  background: rgba(6, 16, 32, 0.4);
}

.page-products .param-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .param-table td.mono {
  color: var(--brand-300);
  white-space: nowrap;
}

/* ---------- 记录与复核 ---------- */
.page-products .field-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  border-top: 1px solid var(--line-700);
}

.page-products .field {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: baseline;
  gap: 6px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-700);
}

.page-products .field__num {
  font-size: var(--fs-12);
  color: var(--brand-500);
}

.page-products .field__name {
  font-family: var(--font-head);
  font-size: var(--fs-16);
  font-weight: 700;
}

.page-products .field__text {
  grid-column: 2;
  font-family: var(--font-body);
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--slate-400);
  margin: 0;
  max-width: 34em;
}

.page-products .notice {
  border-left: 3px solid var(--line-700);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--pp-glass-soft);
  margin: 0 0 22px;
}

.page-products .notice--warn {
  border-left-color: var(--amber-400);
  background: rgba(255, 154, 60, 0.07);
}

.page-products .notice p {
  font-family: var(--font-body);
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--slate-100);
  margin: 0;
  max-width: 34em;
}

.page-products .records-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.page-products .records-note {
  font-family: var(--font-body);
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--slate-400);
  max-width: 34em;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-700);
}

/* ---------- 平板 ---------- */
@media (min-width: 700px) {
  .page-products .shell {
    padding-left: 32px;
    padding-right: 32px;
  }

  .page-products .hero-frame__inner {
    padding: 44px 36px 36px;
  }

  .page-products .lane-list {
    grid-template-columns: 1fr 1fr;
  }

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

  .page-products .tag-dim:last-child {
    grid-column: 1 / -1;
  }

  .page-products .stage {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 28px;
  }

  .page-products .symptom {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 6px 18px;
    align-items: start;
  }

  .page-products .symptom__tag {
    padding-top: 3px;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 1024px) {
  .page-products .rail-layout {
    grid-template-columns: var(--pp-rail) minmax(0, 1fr);
    gap: 48px;
    padding-top: 40px;
  }

  .page-products .anchor-rail {
    position: sticky;
    top: var(--pp-sticky);
    align-self: start;
    overflow: visible;
    border-bottom: 0;
    border-left: 1px solid var(--line-700);
    padding-bottom: 0;
  }

  .page-products .anchor-rail__list {
    flex-direction: column;
    gap: 0;
    min-width: 0;
  }

  .page-products .anchor-rail__link {
    border-bottom: 0;
    border-left: 2px solid transparent;
    margin-left: -1px;
    padding: 8px 12px 8px 14px;
    white-space: normal;
  }

  .page-products .anchor-rail__link[aria-current="true"] {
    border-bottom-color: transparent;
    border-left-color: var(--mint-400);
  }

  .page-products .section {
    padding-top: 44px;
  }

  .page-products .split {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 36px;
    align-items: start;
  }

  .page-products .split--reverse {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .page-products .split--reverse .split__aside {
    order: -1;
  }

  .page-products .split__aside {
    position: sticky;
    top: var(--pp-sticky);
  }

  .page-products .tag-dims {
    grid-template-columns: 1fr;
  }

  .page-products .tag-dim:last-child {
    grid-column: auto;
  }

  .page-products .hero-frame__title {
    font-size: clamp(2.5rem, 4.2vw, 3.5rem);
  }
}

/* ---------- 动效 ---------- */
.page-products [data-reveal] {
  opacity: 1;
}

.page-products .js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
}

.page-products .js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .page-products .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
