.page-products {
  --prod-trunk: 190px;
  --prod-node-pad: clamp(20px, 3vw, 32px);
  background: var(--night);
  color: var(--text);
}

/* ---------- 面包屑 ---------- */
.page-products .prod-crumb {
  background: var(--night);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

/* ---------- 首屏 ---------- */
.page-products .prod-lead-block {
  position: relative;
  padding: clamp(38px, 6vw, 84px) 0 clamp(34px, 5vw, 62px);
  background:
    radial-gradient(110% 80% at 84% -10%, rgba(200, 255, 61, 0.10), transparent 62%),
    linear-gradient(180deg, var(--night) 0%, var(--grass) 100%);
  border-bottom: 1px solid var(--line);
}

.page-products .prod-lead-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
}

.page-products .prod-lead-copy h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 6.2vw, 66px);
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: var(--cream);
  margin: 0 0 18px;
  text-wrap: balance;
}

.page-products .prod-lead-copy .lead {
  font-size: clamp(16px, 1.9vw, 18px);
  line-height: 1.9;
  color: var(--text);
  margin: 0 0 14px;
  max-width: 60ch;
}

.page-products .prod-lead-sub {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-dim);
  margin: 0 0 26px;
  max-width: 62ch;
}

.page-products .prod-lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 首屏右侧纯 CSS 界面示意 */
.page-products .prod-phone {
  position: relative;
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, var(--surface) 0%, var(--grass) 100%);
  padding: 18px;
}

.page-products .prod-phone::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 52px;
  height: 3px;
  background: var(--live);
}

.page-products .prod-phone-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.page-products .prod-phone-bar span {
  display: block;
  width: 20px;
  height: 3px;
  background: var(--moss);
}

.page-products .prod-phone-bar span:nth-child(1) {
  width: 40px;
  background: var(--live);
}

.page-products .prod-phone-title {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--steel);
  margin: 15px 0 10px;
}

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

.page-products .prod-phone-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(140, 154, 168, 0.18);
}

.page-products .prod-phone-list li .mono {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--steel);
}

.page-products .prod-phone-list li:first-child .mono {
  color: var(--live);
}

.page-products .prod-phone-list li i {
  display: block;
  height: 7px;
  background: var(--moss);
  opacity: 0.45;
}

.page-products .prod-phone-list li:nth-child(1) i { width: 88%; background: var(--live); opacity: 0.5; }
.page-products .prod-phone-list li:nth-child(2) i { width: 64%; }
.page-products .prod-phone-list li:nth-child(3) i { width: 78%; }
.page-products .prod-phone-list li:nth-child(4) i { width: 52%; }
.page-products .prod-phone-list li:nth-child(5) i { width: 70%; }

.page-products .prod-phone-foot {
  margin: 16px 0 0;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--amber);
}

/* ---------- 路径主干 + 节点 ---------- */
.page-products .prod-path {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 4vw, 46px);
  padding-top: clamp(32px, 5vw, 58px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.page-products .prod-spine {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.page-products .prod-spine-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--steel);
  margin: 0 0 12px;
}

.page-products .prod-spine-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page-products .prod-spine-list::-webkit-scrollbar {
  display: none;
}

.page-products .prod-spine-link {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 9px 13px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
}

.page-products .prod-spine-link:hover,
.page-products .prod-spine-link:focus-visible {
  background: var(--grass);
  border-color: var(--line-strong);
  color: var(--cream);
}

.page-products .prod-spine-dot {
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--night);
  border: 1px solid var(--moss);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-products .prod-spine-link:hover .prod-spine-dot,
.page-products .prod-spine-link:focus-visible .prod-spine-dot {
  background: var(--live);
  border-color: var(--live);
}

.page-products .prod-spine-idx {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--steel);
}

.page-products .prod-spine-name {
  font-size: 14px;
}

.page-products .prod-nodes {
  min-width: 0;
}

/* 节点 */
.page-products .prod-node {
  position: relative;
  border-top: 1px solid var(--line-strong);
  padding-top: var(--prod-node-pad);
  margin-bottom: clamp(40px, 6vw, 76px);
}

.page-products .prod-node:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-products .prod-node:last-child {
  margin-bottom: 0;
}

.page-products .prod-node-head {
  margin-bottom: clamp(18px, 2.4vw, 26px);
}

.page-products .prod-node-idx {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--night);
  background: var(--live);
  padding: 3px 9px;
  margin-bottom: 14px;
}

.page-products .prod-node-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--cream);
  margin: 0 0 10px;
}

.page-products .prod-node-line {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: var(--mint);
  margin: 0;
  max-width: 64ch;
}

.page-products .prod-node-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}

.page-products .prod-node-copy p {
  margin: 0 0 16px;
}

.page-products .prod-node-copy p:last-child {
  margin-bottom: 0;
}

.page-products .prod-node-media {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.page-products .prod-node-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.9);
}

.page-products .prod-node-media--tall img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* 要点条 */
.page-products .prod-facts {
  list-style: none;
  margin: clamp(22px, 3vw, 30px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .prod-facts li {
  background: var(--grass);
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.page-products .prod-facts li .mono {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--steel);
}

.page-products .prod-facts li span:last-child {
  font-size: 15px;
  line-height: 1.6;
  color: var(--cream);
}

.page-products .prod-node-next {
  margin: clamp(18px, 2.6vw, 26px) 0 0;
}

/* 时间节奏 */
.page-products .prod-ticker {
  margin: clamp(22px, 3vw, 30px) 0 0;
  border-left: 2px solid var(--amber);
  padding-left: clamp(14px, 2vw, 22px);
}

/* 通栏图 */
.page-products .prod-wide-media {
  margin: clamp(24px, 3vw, 34px) 0 0;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.page-products .prod-wide-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.9);
}

/* 档案树 */
.page-products .prod-tree {
  margin: clamp(24px, 3vw, 32px) 0 0;
  border: 1px solid var(--line);
  background: var(--grass);
  padding: clamp(16px, 2.4vw, 24px);
}

.page-products .prod-tree-root {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--steel);
  margin: 0 0 14px;
}

.page-products .prod-tree-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 1px solid var(--moss);
}

.page-products .prod-tree-item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0 9px 16px;
}

.page-products .prod-tree-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 12px;
  height: 1px;
  background: var(--moss);
}

.page-products .prod-tree-year {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--live);
  min-width: 46px;
}

.page-products .prod-tree-label {
  font-size: 15px;
  color: var(--text);
}

.page-products .prod-tree-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dim);
}

/* ---------- 全宽横条 ---------- */
.page-products .prod-band {
  background: var(--grass);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(20px, 3vw, 30px) 0;
}

.page-products .prod-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
}

.page-products .prod-band-mark {
  width: 4px;
  height: 36px;
  flex: none;
  background: var(--amber);
}

.page-products .prod-band-text {
  flex: 1 1 300px;
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
}

/* ---------- 起步三步 ---------- */
.page-products .prod-start {
  padding: clamp(40px, 6vw, 76px) 0 clamp(36px, 5vw, 62px);
  background: var(--night);
}

.page-products .prod-steps {
  list-style: none;
  margin: clamp(24px, 3.4vw, 38px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .prod-step {
  background: var(--grass);
  padding: var(--prod-node-pad);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-products .prod-step-num {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--live);
}

.page-products .prod-step-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.25;
  color: var(--cream);
  margin: 0;
}

.page-products .prod-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
}

.page-products .prod-step .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- 收束 ---------- */
.page-products .prod-close {
  padding: 0 0 clamp(44px, 6vw, 78px);
  background: var(--night);
}

.page-products .prod-close-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  padding: clamp(22px, 3vw, 34px) 0;
}

.page-products .prod-close-copy {
  flex: 1 1 320px;
}

.page-products .prod-close-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.2;
  color: var(--cream);
  margin: 0 0 10px;
}

.page-products .prod-close-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-dim);
  max-width: 56ch;
}

.page-products .prod-close-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 断点 ---------- */
@media (min-width: 760px) {
  .page-products .prod-node-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  }

  .page-products .prod-node-grid--flip {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  }

  .page-products .prod-node-grid--flip .prod-node-media {
    order: -1;
  }

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

@media (min-width: 920px) {
  .page-products .prod-lead-inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }
}

@media (min-width: 1040px) {
  .page-products .prod-path {
    grid-template-columns: var(--prod-trunk) minmax(0, 1fr);
  }

  .page-products .prod-spine {
    position: sticky;
    top: 92px;
    align-self: start;
    border-top: 0;
    border-bottom: 0;
    padding: 4px 0 40px;
  }

  .page-products .prod-spine-label {
    margin-bottom: 16px;
  }

  .page-products .prod-spine-list {
    flex-direction: column;
    gap: 0;
    overflow: visible;
  }

  .page-products .prod-spine-link {
    position: relative;
    display: block;
    border: 0;
    background: none;
    padding: 12px 12px 12px 22px;
    white-space: normal;
  }

  .page-products .prod-spine-link:hover,
  .page-products .prod-spine-link:focus-visible {
    background: rgba(22, 32, 47, 0.7);
    color: var(--cream);
  }

  .page-products .prod-spine-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: repeating-linear-gradient(180deg, rgba(200, 255, 61, 0.5) 0 5px, transparent 5px 11px);
  }

  .page-products .prod-spine-dot {
    position: absolute;
    left: -3px;
    top: 19px;
  }

  .page-products .prod-spine-idx {
    display: block;
    margin-bottom: 4px;
  }

  .page-products .prod-spine-name {
    display: block;
    line-height: 1.5;
  }

  .page-products .prod-node::before {
    content: "";
    position: absolute;
    left: calc(-1 * clamp(22px, 4vw, 46px));
    top: 40px;
    width: clamp(22px, 4vw, 46px);
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--moss) 0 4px, transparent 4px 9px);
  }

  .page-products .prod-node:first-child::before {
    top: 16px;
  }
}

@media (min-width: 1240px) {
  .page-products {
    --prod-trunk: 214px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .prod-spine-link,
  .page-products .prod-spine-dot {
    transition: none;
  }
}
