.page-products {
  --pp-rail-w: 32px;
  --pp-rail-gap: 14px;
}

.page-products .hero {
  padding: 26px 0 46px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 92% at 84% -12%, rgba(47, 227, 208, 0.11), transparent 58%),
    radial-gradient(86% 74% at 4% 0%, rgba(27, 31, 75, 0.85), transparent 62%);
}

.page-products .hero__inner {
  display: grid;
  gap: 26px;
  margin-top: 20px;
}

.page-products .hero__lead { min-width: 0; }

.page-products .hero__title,
.page-products h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.06;
  font-size: clamp(32px, 8.4vw, 62px);
  color: var(--ink);
  margin: 10px 0 16px;
  max-width: 20ch;
}

.page-products .hero__lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink);
  max-width: 60ch;
}

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

.page-products .hero-status {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(27, 31, 75, 0.78), rgba(14, 31, 58, 0.86));
  padding: 18px 18px 16px;
  box-shadow: 0 14px 32px rgba(4, 10, 22, 0.42);
}

.page-products .hero-status__title {
  margin: 0 0 12px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-soft);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.page-products .hero-status__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(30, 46, 74, 0.9);
}

.page-products .hero-status__row:last-of-type { border-bottom: 0; }

.page-products .hero-status__k {
  font-size: 14px;
  color: var(--muted);
}

.page-products .hero-status__v {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 20px;
  color: var(--orange);
  letter-spacing: -0.01em;
}

.page-products .hero-status__note {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 纵向时间轴主干 ---------- */

.page-products .spine-wrap { padding-top: 52px; padding-bottom: 26px; }
.page-products .spine-wrap--tight { padding-top: 44px; }

.page-products .spine { position: relative; }

.page-products .spine::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 10px;
  bottom: 46px;
  width: 1px;
  background: linear-gradient(180deg, rgba(47, 227, 208, 0.45), var(--line) 14%, var(--line) 86%, rgba(47, 227, 208, 0.25));
}

.page-products .node {
  position: relative;
  display: grid;
  grid-template-columns: var(--pp-rail-w) minmax(0, 1fr);
  column-gap: var(--pp-rail-gap);
  padding-bottom: 56px;
}

.page-products .node:last-child { padding-bottom: 34px; }

.page-products .node__rail { position: relative; }

.page-products .node__dot {
  position: absolute;
  left: 10px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 1px solid var(--muted);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.page-products .node__num {
  display: block;
  padding-top: 26px;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color 180ms ease;
}

.page-products .node.is-lit .node__dot {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(47, 227, 208, 0.14);
}

.page-products .node.is-lit .node__num { color: var(--cyan); }

.page-products .node__body { min-width: 0; }

.page-products .node__body h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.14;
  font-size: clamp(23px, 5.4vw, 38px);
  color: var(--ink);
  margin: 8px 0 12px;
  max-width: 24ch;
}

.page-products .node__lede {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink);
  max-width: 68ch;
}

/* ---------- 配图 ---------- */

.page-products .shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-mid);
}

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

.page-products .shot--tall img { aspect-ratio: 9 / 16; object-fit: cover; }
.page-products .shot--wide img { aspect-ratio: 3 / 2; object-fit: cover; }
.page-products .shot--panel img { aspect-ratio: 4 / 3; object-fit: cover; }

.page-products .shot__cap {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* ---------- 分栏 ---------- */

.page-products .split { display: grid; gap: 22px; margin-top: 24px; }

/* ---------- 查询三入口 ---------- */

.page-products .entry-list { display: grid; gap: 12px; }

.page-products .entry {
  border: 1px solid var(--line);
  border-left: 2px solid rgba(47, 227, 208, 0.35);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(14, 31, 58, 0.72), rgba(10, 18, 36, 0.72));
  padding: 16px 18px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.page-products .entry:hover,
.page-products .entry:focus-within {
  transform: translateY(-2px);
  border-color: var(--cyan);
  border-left-color: var(--cyan);
  box-shadow: 0 12px 26px rgba(4, 10, 22, 0.5);
}

.page-products .entry__tag {
  margin: 0;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-products .entry__title {
  margin: 7px 0 7px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
}

.page-products .entry__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
}

/* ---------- 版本对比表 ---------- */

.page-products .vt {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(10, 18, 36, 0.62);
}

.page-products .vt__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-indigo);
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan-soft);
  text-transform: uppercase;
}

.page-products .vt__row { border-top: 1px solid var(--line); }
.page-products .vt__row:nth-child(even) { background: rgba(14, 31, 58, 0.5); }

.page-products .vt__row > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
  transition: background-color 160ms ease;
}

.page-products .vt__row > summary::-webkit-details-marker { display: none; }

.page-products .vt__row > summary:hover { background: rgba(47, 227, 208, 0.06); }
.page-products .vt__row > summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.page-products .vt__name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.page-products .vt__name::before {
  content: "▸";
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--cyan);
  transition: transform 160ms ease;
}

.page-products .vt__row[open] .vt__name::before { transform: rotate(90deg); }

.page-products .vt__field,
.page-products .vt__freq { display: none; }

.page-products .vt__teams {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 16px;
  color: var(--orange);
  text-align: right;
}

.page-products .vt__note {
  margin: 0;
  padding: 0 16px 15px 34px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .vt__foot {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
  border-left: 2px solid rgba(47, 227, 208, 0.4);
  padding-left: 12px;
}

/* ---------- 中段氛围图 ---------- */

.page-products .interlude {
  position: relative;
  margin: 6px 0 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-mid);
}

.page-products .interlude img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.72;
}

.page-products .interlude::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 18, 36, 0.92) 6%, rgba(10, 18, 36, 0.42) 58%, rgba(10, 18, 36, 0.86) 100%);
  pointer-events: none;
}

.page-products .interlude__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
  padding: 22px var(--gutter) 24px;
  max-width: 720px;
}

.page-products .interlude__line {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(19px, 4.2vw, 30px);
  line-height: 1.2;
  color: var(--ink);
}

.page-products .interlude__sub {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--cyan-soft);
}

/* ---------- 关注置顶 ---------- */

.page-products .pin-copy { min-width: 0; }

.page-products .pin-copy .tick-list { margin: 0; }

.page-products .pin-copy__foot {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

/* ---------- 提醒三档 ---------- */

.page-products .alert-steps { min-width: 0; }

.page-products .alert-step {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

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

.page-products .alert-step__num {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 27px;
  line-height: 1;
  color: var(--orange);
}

.page-products .alert-step__num em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.page-products .alert-step__title {
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.page-products .alert-step__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.page-products .alert-hint {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(27, 31, 75, 0.45);
}

.page-products .link-inline {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 227, 208, 0.45);
  transition: border-color 160ms ease, color 160ms ease;
}

.page-products .link-inline:hover,
.page-products .link-inline:focus-visible {
  color: var(--cyan-soft);
  border-bottom-color: var(--cyan-soft);
}

/* ---------- 官方入口列表 ---------- */

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

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

.page-products .way__link {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 20px;
  gap: 14px;
  align-items: center;
  padding: 18px 2px;
  text-decoration: none;
  color: inherit;
  transition: background-color 160ms ease;
}

.page-products .way__link:hover,
.page-products .way__link:focus-visible {
  background: rgba(47, 227, 208, 0.055);
}

.page-products .way__link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.page-products .way__idx {
  font-family: var(--font-num);
  font-size: 13px;
  color: var(--cyan);
}

.page-products .way__main { display: block; min-width: 0; }

.page-products .way__title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.page-products .way__text {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .way__arrow {
  color: var(--muted);
  transition: transform 180ms ease, color 180ms ease;
}

.page-products .way__link:hover .way__arrow,
.page-products .way__link:focus-visible .way__arrow {
  transform: translateX(4px);
  color: var(--cyan);
}

.page-products .ways__foot {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

/* ---------- 收尾 ---------- */

.page-products .closer {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(90% 120% at 12% 0%, rgba(27, 31, 75, 0.92), transparent 66%),
    linear-gradient(180deg, var(--bg-mid), var(--bg-deep));
  padding: 46px 0 52px;
}

.page-products .closer__inner { min-width: 0; }

.page-products .closer__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(22px, 5vw, 34px);
  line-height: 1.15;
  color: var(--ink);
  max-width: 22ch;
}

.page-products .closer__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
  max-width: 62ch;
}

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

.page-products .node p,
.page-products .node h2,
.page-products .node h3 { overflow-wrap: anywhere; }

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

@media (min-width: 720px) {
  .page-products .vt__head,
  .page-products .vt__row > summary {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr) 128px 104px;
  }

  .page-products .vt__field,
  .page-products .vt__freq { display: block; }

  .page-products .vt__freq {
    font-family: var(--font-num);
    font-size: 13px;
    color: var(--cyan-soft);
  }

  .page-products .vt__field {
    font-size: 14px;
    color: var(--muted);
  }
}

@media (min-width: 900px) {
  .page-products { --pp-rail-w: 46px; --pp-rail-gap: 26px; }

  .page-products .spine::before { left: 22px; }
  .page-products .node__dot { left: 17px; }
  .page-products .node { padding-bottom: 78px; }

  .page-products .hero { padding: 40px 0 62px; }

  .page-products .hero__inner {
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr);
    align-items: end;
    gap: 48px;
  }

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

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

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

  .page-products .interlude__cap { padding: 30px 0 32px; left: var(--gutter); }
}

@media (min-width: 1100px) {
  .page-products .hero__title,
  .page-products h1 { font-size: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .entry,
  .page-products .way__arrow,
  .page-products .node__dot,
  .page-products .node__num,
  .page-products .vt__name::before,
  .page-products .way__link {
    transition: none;
  }

  .page-products .entry:hover,
  .page-products .entry:focus-within { transform: none; }

  .page-products .way__link:hover .way__arrow,
  .page-products .way__link:focus-visible .way__arrow { transform: none; }
}
