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

.page-products .container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- 首屏 ---------- */
.page-products .console-hero {
  position: relative;
  background: var(--deep);
  color: var(--paper);
  padding-block: clamp(1rem, 2.5vw, 1.75rem) clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
  isolation: isolate;
}

.page-products .console-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--spring) 0 25%,
    var(--summer) 25% 50%,
    var(--autumn) 50% 75%,
    var(--winter) 75% 100%
  );
  z-index: 3;
}

.page-products .console-hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -18%;
  width: min(46rem, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44, 95, 138, .38), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.page-products .console-hero > .container {
  position: relative;
  z-index: 2;
}

.page-products .console-hero__crumbs {
  padding-block: .25rem .5rem;
}

.page-products .console-hero__crumbs .breadcrumbs__link,
.page-products .console-hero__crumbs .breadcrumbs__item {
  color: rgba(247, 244, 236, .62);
  font-size: var(--step--1);
}

.page-products .console-hero__crumbs .breadcrumbs__link:hover,
.page-products .console-hero__crumbs .breadcrumbs__link:focus-visible {
  color: var(--autumn);
}

.page-products .console-hero__crumbs [aria-current="page"] {
  color: rgba(247, 244, 236, .92);
}

.page-products .console-hero__inner {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
  padding-top: clamp(1rem, 3vw, 2rem);
}

@media (min-width: 900px) {
  .page-products .console-hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.page-products .console-hero__figure {
  position: relative;
  margin: 0;
  border: 1px solid rgba(143, 163, 176, .35);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--deep-2);
  box-shadow: 0 32px 70px -42px rgba(0, 0, 0, .9);
}

.page-products .console-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 5;
  object-fit: cover;
}

.page-products .console-hero__stamp {
  position: absolute;
  right: .7rem;
  bottom: .7rem;
  padding: .22rem .6rem;
  background: var(--summer);
  color: var(--deep);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .14em;
  border-radius: 2px;
}

.page-products .hero-kicker {
  margin: 0;
  font-size: var(--step--1);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--autumn);
}

.page-products .console-hero h1 {
  margin: .55rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 1.4rem + 2.8vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -.012em;
  color: var(--paper);
}

.page-products .console-hero__lede {
  margin: 1.05rem 0 0;
  max-width: 36em;
  font-family: var(--font-serif);
  font-size: var(--step-0);
  line-height: 1.8;
  color: rgba(247, 244, 236, .82);
}

.page-products .cap-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .1rem;
}

.page-products .cap-list__item {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .55rem;
  padding-block: .6rem;
  border-top: 1px solid rgba(143, 163, 176, .22);
  font-size: var(--step--1);
  line-height: 1.55;
  color: rgba(247, 244, 236, .88);
}

.page-products .cap-list__item:last-child {
  border-bottom: 1px solid rgba(143, 163, 176, .22);
}

.page-products .cap-list__text {
  flex: 1 1 12rem;
  min-width: 0;
}

.page-products .console-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.6rem;
}

/* ---------- 通用章节 ---------- */
.page-products .stage {
  position: relative;
  padding-block: clamp(2.5rem, 5.5vw, 5rem);
  border-top: 1px solid var(--paper-line);
}

.page-products .stage--dark {
  background: var(--deep);
  color: var(--paper);
  border-top-color: rgba(143, 163, 176, .2);
}

.page-products .stage--sand {
  background: linear-gradient(180deg, #EFEADD 0%, var(--paper) 100%);
  border-top-color: var(--paper-line);
}

.page-products .stage__head {
  display: grid;
  gap: .55rem;
  max-width: 48rem;
  margin-bottom: clamp(1.5rem, 3.2vw, 2.75rem);
}

.page-products .stage__num {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.05em;
  color: var(--slate);
}

.page-products .stage--dark .stage__num {
  color: rgba(143, 163, 176, .62);
}

.page-products .stage__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -.008em;
  color: var(--ink);
}

.page-products .stage--dark .stage__title {
  color: var(--paper);
}

.page-products .stage__lede {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--step-0);
  line-height: 1.85;
  color: rgba(16, 24, 32, .78);
}

.page-products .stage--dark .stage__lede {
  color: rgba(247, 244, 236, .78);
}

.page-products .stage__note {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 46rem;
}

.page-products .stage__note p {
  margin: 0 0 .9rem;
  font-size: var(--step-0);
  line-height: 1.85;
  color: rgba(16, 24, 32, .8);
}

.page-products .stage__note p:last-child {
  margin-bottom: 0;
}

.page-products .stage__tail {
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  max-width: 46rem;
  font-size: var(--step-0);
  line-height: 1.8;
  color: rgba(16, 24, 32, .8);
}

.page-products .text-link {
  color: var(--winter);
  text-decoration: none;
  border-bottom: 1px solid rgba(44, 95, 138, .42);
  padding-bottom: 1px;
}

.page-products .text-link:hover,
.page-products .text-link:focus-visible {
  color: var(--summer);
  border-bottom-color: var(--summer);
}

/* ---------- 版面导览 ---------- */
.page-products .layout-map {
  display: grid;
  gap: .5rem;
  padding: .6rem;
  background: var(--deep);
  border-radius: var(--radius);
  border: 1px solid rgba(143, 163, 176, .22);
}

@media (min-width: 720px) {
  .page-products .layout-map {
    grid-template-columns: minmax(0, 2fr) minmax(0, 7fr) minmax(0, 3fr);
    align-items: stretch;
  }
}

.page-products .layout-map__cell {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 1rem .9rem;
  background: var(--deep-2);
  border: 1px solid rgba(143, 163, 176, .2);
  border-radius: 2px;
  min-width: 0;
}

.page-products .layout-map__cell--main {
  background: linear-gradient(160deg, rgba(44, 95, 138, .45), rgba(14, 26, 36, .92));
  border-color: rgba(44, 95, 138, .72);
}

.page-products .layout-map__cell span {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: .12em;
  color: var(--autumn);
}

.page-products .layout-map__cell p {
  margin: 0;
  font-size: var(--step--1);
  line-height: 1.65;
  color: rgba(247, 244, 236, .86);
}

/* ---------- 数据面板 ---------- */
.page-products .panel-grid {
  display: grid;
  gap: clamp(1.25rem, 2.6vw, 2rem);
  align-items: start;
}

@media (min-width: 880px) {
  .page-products .panel-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.page-products .panel-grid__media {
  margin: 0;
  border: 1px solid rgba(143, 163, 176, .3);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--deep-2);
}

.page-products .panel-grid__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-products .fold-list {
  display: grid;
  gap: .5rem;
  min-width: 0;
}

.page-products .fold {
  border: 1px solid rgba(143, 163, 176, .26);
  border-radius: 2px;
  background: rgba(18, 34, 46, .72);
  overflow: hidden;
}

.page-products .fold[open] {
  border-color: rgba(44, 95, 138, .68);
  background: rgba(18, 34, 46, .95);
}

.page-products .fold__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .8rem .9rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--paper);
  list-style: none;
}

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

.page-products .fold__summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1;
  color: var(--autumn);
}

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

.page-products .fold__summary:hover,
.page-products .fold__summary:focus-visible {
  color: var(--summer);
}

.page-products .fold__body {
  padding: 0 .9rem .9rem;
}

.page-products .fold__body p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--step--1);
  line-height: 1.8;
  color: rgba(247, 244, 236, .8);
}

/* ---------- 比分图表 ---------- */
.page-products .chart {
  margin: clamp(1.75rem, 3.5vw, 2.75rem) 0 0;
  padding: 1rem .85rem .6rem;
  border: 1px solid rgba(143, 163, 176, .24);
  border-radius: var(--radius);
  background: rgba(18, 34, 46, .55);
}

.page-products .chart__cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .2rem .75rem;
  margin-bottom: .6rem;
}

.page-products .chart__cap-label {
  font-size: var(--step--1);
  letter-spacing: .14em;
  color: var(--summer);
}

.page-products .chart__cap-text {
  font-size: var(--step--1);
  color: rgba(247, 244, 236, .66);
}

.page-products .chart__svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .chart__grid line {
  stroke: rgba(143, 163, 176, .18);
  stroke-width: 1;
}

.page-products .chart__line {
  fill: none;
  stroke: var(--summer);
  stroke-width: 2.4;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.page-products .chart__nodes circle {
  fill: var(--paper);
  stroke: var(--summer);
  stroke-width: 2.4;
}

.page-products .chart__axis text {
  fill: rgba(143, 163, 176, .85);
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ---------- 时间轴节点 ---------- */
.page-products .timeline {
  display: grid;
  gap: .4rem;
  margin: clamp(1.25rem, 2.6vw, 1.9rem) 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 820px) {
  .page-products .timeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .5rem;
  }
}

.page-products .timeline__node {
  position: relative;
  display: grid;
  gap: .3rem;
  padding: .7rem .75rem;
  border: 1px solid rgba(143, 163, 176, .24);
  border-left: 2px solid var(--autumn);
  border-radius: 2px;
  background: rgba(18, 34, 46, .5);
  min-width: 0;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}

.page-products .timeline__node:hover,
.page-products .timeline__node:focus,
.page-products .timeline__node:focus-visible {
  background: rgba(44, 95, 138, .3);
  border-left-color: var(--summer);
  outline: 2px solid var(--autumn);
  outline-offset: 1px;
}

.page-products .timeline__minute {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--autumn);
}

.page-products .timeline__summary {
  font-size: var(--step--1);
  line-height: 1.65;
  color: rgba(247, 244, 236, .72);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .24s var(--ease), opacity .24s var(--ease);
}

.page-products .timeline__node:hover .timeline__summary,
.page-products .timeline__node:focus .timeline__summary,
.page-products .timeline__node:focus-within .timeline__summary {
  max-height: 6rem;
  opacity: 1;
}

@media (hover: none) {
  .page-products .timeline__summary {
    max-height: 6rem;
    opacity: 1;
  }
}

/* ---------- 三端视图 ---------- */
.page-products .devices__figure {
  margin: 0 0 clamp(1.25rem, 2.6vw, 2rem);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
}

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

.page-products .devices {
  display: grid;
  gap: .75rem;
}

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

.page-products .device {
  display: grid;
  gap: .45rem;
  align-content: start;
  padding: 1rem;
  border: 1px solid var(--paper-line);
  border-top: 3px solid var(--winter);
  border-radius: var(--radius);
  background: #FFFDF7;
  min-width: 0;
}

.page-products .device:nth-child(1) {
  border-top-color: var(--spring);
}

.page-products .device:nth-child(3) {
  border-top-color: var(--summer);
}

.page-products .device__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  line-height: 1.3;
  color: var(--ink);
}

.page-products .device__text {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--step--1);
  line-height: 1.8;
  color: rgba(16, 24, 32, .76);
}

/* ---------- 回看路径 ---------- */
.page-products .path-figure {
  margin: 0 0 clamp(1.25rem, 2.6vw, 2rem);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
}

.page-products .path-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 7;
  object-fit: cover;
}

.page-products .path {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

@media (min-width: 820px) {
  .page-products .path {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

.page-products .path__step {
  position: relative;
  display: grid;
  gap: .4rem;
  align-content: start;
  padding: 1rem 1rem 1.1rem;
  background: rgba(255, 253, 247, .78);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  min-width: 0;
}

.page-products .path__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--deep);
  color: var(--autumn);
  font-size: var(--step--1);
  font-weight: 700;
}

.page-products .path__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  line-height: 1.3;
  color: var(--ink);
}

.page-products .path__text {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--step--1);
  line-height: 1.8;
  color: rgba(16, 24, 32, .76);
}

/* ---------- 版本刻度尺 ---------- */
.page-products .legend-figure {
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
}

.page-products .legend-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.page-products .ruler {
  display: flex;
  align-items: flex-end;
  gap: .25rem;
  margin: 0;
  padding: 0 0 .25rem;
  list-style: none;
  border-bottom: 2px solid var(--slate);
  min-width: 0;
}

.page-products .ruler__tick {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 2.2rem;
  border-left: 2px solid var(--slate);
}

.page-products .ruler__tick:first-child {
  border-left-color: var(--spring);
}

.page-products .ruler__tick--now {
  border-left-color: var(--summer);
  border-left-width: 4px;
}

.page-products .ruler__label {
  position: absolute;
  left: 0;
  top: calc(100% + .35rem);
  display: block;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .06em;
  color: var(--winter);
  white-space: nowrap;
}

.page-products .ruler__tick--now .ruler__label {
  color: var(--summer);
  font-weight: 700;
}

@media (min-width: 640px) {
  .page-products .ruler__tick {
    height: 3rem;
  }
  .page-products .ruler__label {
    font-size: var(--step--1);
  }
}

/* ---------- 适用场景 ---------- */
.page-products .scenes {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .page-products .scenes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
  }
}

.page-products .scene {
  display: grid;
  gap: .5rem;
  align-content: start;
  padding: 1rem;
  border: 1px solid rgba(143, 163, 176, .26);
  border-radius: var(--radius);
  background: rgba(18, 34, 46, .7);
  min-width: 0;
}

.page-products .scene__text {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--step--1);
  line-height: 1.8;
  color: rgba(247, 244, 236, .8);
}

.page-products .closing {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
  padding: clamp(1.15rem, 2.6vw, 1.75rem);
  border: 1px solid rgba(217, 164, 65, .42);
  border-left: 4px solid var(--autumn);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(217, 164, 65, .12), rgba(14, 26, 36, .2));
}

@media (min-width: 860px) {
  .page-products .closing {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: center;
    gap: 2rem;
  }
}

.page-products .closing__title {
  margin: 0 0 .5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-1);
  line-height: 1.3;
  color: var(--paper);
}

.page-products .closing__text {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--step--1);
  line-height: 1.85;
  color: rgba(247, 244, 236, .78);
}

.page-products .closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

@media (min-width: 860px) {
  .page-products .closing__actions {
    justify-content: flex-end;
  }
}

/* ---------- 窄屏兜底 ---------- */
@media (max-width: 480px) {
  .page-products .console-hero__actions .btn,
  .page-products .closing__actions .btn {
    flex: 1 1 100%;
    text-align: center;
  }

  .page-products .layout-map__cell,
  .page-products .device,
  .page-products .path__step,
  .page-products .scene {
    padding: .85rem;
  }

  .page-products .ruler__label {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .timeline__node,
  .page-products .timeline__summary {
    transition: none;
  }
}
