.page-products {
  --dl-gap: clamp(1.25rem, 3vw, 2.5rem);
  --dl-radius: 12px;
}

/* ---------- 面包屑 ---------- */
.page-products .crumbs {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1.35rem var(--gutter) 0;
}

/* ---------- 首屏 ---------- */
.page-products .dl-hero {
  position: relative;
  overflow: hidden;
}

.page-products .dl-hero::before {
  content: "";
  position: absolute;
  top: -28%;
  right: -18%;
  width: min(72vw, 760px);
  height: min(72vw, 760px);
  background:
    radial-gradient(circle at 32% 32%, rgba(22, 198, 193, 0.20), transparent 62%),
    radial-gradient(circle at 72% 64%, rgba(255, 90, 60, 0.16), transparent 60%);
  transform: rotate(-12deg);
  pointer-events: none;
}

.page-products .dl-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--dl-gap);
}

.page-products .dl-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 9vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: 0.015em;
  color: var(--paper);
  margin: 0.6rem 0 1.1rem;
}

.page-products .dl-hero__lede {
  max-width: 46ch;
  color: var(--muted);
  font-size: var(--fs-16);
  line-height: 1.85;
}

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

.page-products .dl-hero__board {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(158deg, rgba(18, 26, 58, 0.96), rgba(11, 16, 38, 0.86));
  box-shadow: var(--shadow);
  padding: 1.4rem 1.35rem 1.5rem;
  overflow: hidden;
}

.page-products .dl-hero__board::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--lake), rgba(22, 198, 193, 0) 78%);
}

.page-products .dl-hero__board-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.2em;
  color: var(--lake);
}

.page-products .dl-hero__board-ver {
  margin: 0.5rem 0 0.2rem;
  font-family: var(--font-mono);
  font-size: clamp(2.1rem, 7vw, 3.0625rem);
  line-height: 1;
  color: var(--paper);
}

.page-products .dl-hero__board-sub {
  margin: 0 0 1.15rem;
  font-size: var(--fs-14);
  color: var(--muted);
}

.page-products .dl-hero__board-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.page-products .dl-hero__board-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-14);
  color: var(--paper);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}

.page-products .dl-hero__board-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-products .dl-hero__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  margin-top: clamp(2rem, 5vw, 3.25rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.page-products .dl-stat {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.page-products .dl-stat__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 5vw, 2.4375rem);
  line-height: 1;
  color: var(--lake);
}

.page-products .dl-stat__label {
  display: block;
  margin-top: 0.55rem;
  font-size: var(--fs-14);
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 通用标题组 ---------- */
.page-products .dl-head {
  max-width: 62ch;
}

.page-products .display--sm {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 5.5vw, 3rem);
  line-height: 1.06;
  letter-spacing: 0.02em;
  color: var(--paper);
  margin: 0.4rem 0 0.85rem;
}

.page-products .section-sub {
  font-size: var(--fs-16);
  line-height: 1.85;
  color: var(--muted);
  max-width: 52ch;
  margin: 0;
}

/* ---------- 版本矩阵 ---------- */
.page-products .dl-matrix__figure {
  margin: 2rem 0 0;
}

.page-products .dl-tabs {
  margin-top: 2.25rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.page-products .dl-tabs .tabs__list {
  display: flex;
  gap: 0.2rem;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.page-products .dl-tabs .tabs__list::-webkit-scrollbar {
  display: none;
}

.page-products .dl-tabs .tab {
  flex: 0 0 auto;
  position: relative;
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  letter-spacing: 0.12em;
  padding: 0.85rem 1.05rem 0.95rem;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}

.page-products .dl-tabs .tab::after {
  content: "";
  position: absolute;
  left: 1.05rem;
  right: 1.05rem;
  bottom: -1px;
  height: 2px;
  background: var(--lake);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
}

.page-products .dl-tabs .tab:hover {
  color: var(--paper);
}

.page-products .dl-tabs .tab[aria-selected="true"] {
  color: var(--lake-soft);
}

.page-products .dl-tabs .tab[aria-selected="true"]::after {
  transform: scaleX(1);
}

.page-products .dl-tabs .tabs__panel {
  padding-top: 1.5rem;
}

.page-products .dl-tabs .tabs__panel[hidden],
.page-products .dl-tabs .tabs__panel[aria-hidden="true"] {
  display: none;
}

.page-products .dl-panel__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.page-products .dl-spec {
  margin: 0;
  border-top: 1px solid var(--line);
}

.page-products .dl-spec__row {
  display: grid;
  gap: 0.35rem 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.page-products .dl-spec dt {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lake);
}

.page-products .dl-spec dd {
  margin: 0;
  font-size: var(--fs-16);
  line-height: 1.8;
  color: var(--paper);
  max-width: 52ch;
}

/* ---------- 下载与安装 ---------- */
.page-products .dl-flow {
  border-top: 1px solid var(--line);
}

.page-products .dl-flow__grid {
  display: grid;
  gap: var(--dl-gap);
}

.page-products .dl-steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  counter-reset: dlstep;
}

.page-products .dl-steps > li {
  counter-increment: dlstep;
  position: relative;
  margin-left: 1.1rem;
  padding: 0 0 1.75rem 3.4rem;
  border-left: 1px solid var(--line);
}

.page-products .dl-steps > li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.page-products .dl-steps > li::before {
  content: counter(dlstep, decimal-leading-zero);
  position: absolute;
  left: -1.1rem;
  top: -0.25rem;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--night);
  color: var(--lake);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
}

.page-products .dl-steps h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-body);
  font-size: var(--fs-20);
  font-weight: 600;
  color: var(--paper);
}

.page-products .dl-steps p {
  margin: 0;
  max-width: 46ch;
  font-size: var(--fs-16);
  line-height: 1.8;
  color: var(--muted);
}

.page-products .dl-flow__note {
  margin: 1.75rem 0 0;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--muted);
  max-width: 52ch;
}

.page-products .dl-flow__note a {
  color: var(--lake);
  text-decoration: none;
  border-bottom: 1px solid rgba(22, 198, 193, 0.4);
}

.page-products .dl-flow__note a:hover {
  color: var(--lake-soft);
}

.page-products .dl-flow__aside {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.page-products .dl-tip__label {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pulse);
}

.page-products .dl-tip p:last-child {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 入口排查 ---------- */
.page-products .dl-fix {
  border-top: 1px solid var(--line);
}

.page-products .dl-svg {
  width: 100%;
  height: auto;
  margin: 2.25rem 0 0.5rem;
  overflow: visible;
}

.page-products .dl-svg__line {
  stroke: var(--line);
  stroke-width: 2;
}

.page-products .dl-svg__pulse {
  stroke: var(--pulse);
  stroke-width: 2;
  stroke-dasharray: 6 14;
  animation: dl-dash 3.2s linear infinite;
}

.page-products .dl-svg__node {
  fill: var(--night);
  stroke: var(--lake);
  stroke-width: 2;
}

.page-products .dl-svg__node--active {
  fill: var(--pulse);
  stroke: var(--pulse);
}

.page-products .dl-svg__text {
  fill: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}

@keyframes dl-dash {
  to {
    stroke-dashoffset: -80;
  }
}

.page-products .dl-fix__grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.page-products .dl-fix__card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--dl-radius);
  background: var(--panel-deep);
  padding: 1.35rem 1.25rem 1.4rem 1.5rem;
}

.page-products .dl-fix__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--lake);
  border-radius: var(--dl-radius) 0 0 var(--dl-radius);
}

.page-products .dl-fix__card:first-child::before {
  background: var(--pulse);
}

.page-products .dl-fix__idx {
  margin: 0 0 0.45rem;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.18em;
  color: var(--muted);
}

.page-products .dl-fix__card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-body);
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--paper);
}

.page-products .dl-fix__card p:last-child {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--muted);
}

.page-products .dl-fix__figure {
  margin: 2.25rem 0 0;
}

.page-products .dl-fix__more {
  margin: 1.5rem 0 0;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--muted);
}

.page-products .dl-fix__more a {
  color: var(--lake);
  text-decoration: none;
  border-bottom: 1px solid rgba(22, 198, 193, 0.4);
}

.page-products .dl-fix__more a:hover {
  color: var(--lake-soft);
}

/* ---------- 小屏适配 ---------- */
.page-products .dl-small {
  border-top: 1px solid var(--line);
}

.page-products .dl-small__grid {
  display: grid;
  gap: var(--dl-gap);
  margin-top: 2rem;
}

.page-products .dl-small__figure {
  margin: 0;
}

.page-products .dl-small__cards {
  display: grid;
  gap: 1.25rem;
}

.page-products .dl-small__item {
  border-top: 1px solid var(--line);
  padding-top: 0.95rem;
}

.page-products .dl-small__level {
  display: flex;
  align-items: center;
  margin: 0 0 0.45rem;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  color: var(--muted);
}

.page-products .dl-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.5rem;
  flex: 0 0 auto;
}

.page-products .dl-dot--red {
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.16);
}

.page-products .dl-dot--yellow {
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 209, 102, 0.16);
}

.page-products .dl-dot--green {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.16);
}

.page-products .dl-small__item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-body);
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--paper);
}

.page-products .dl-small__item p:last-child {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 多端对照 ---------- */
.page-products .dl-cmp {
  border-top: 1px solid var(--line);
}

.page-products .dl-cmp__scroll {
  margin-top: 2rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--dl-radius);
  background: var(--panel-deep);
}

.page-products .dl-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: var(--fs-14);
}

.page-products .dl-table caption {
  padding: 1.1rem 1.25rem 0.4rem;
  text-align: left;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.12em;
  color: var(--muted);
}

.page-products .dl-table th,
.page-products .dl-table td {
  padding: 0.85rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.page-products .dl-table thead th {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lake);
  background: rgba(22, 198, 193, 0.07);
}

.page-products .dl-table tbody th {
  font-weight: 500;
  color: var(--paper);
}

.page-products .dl-table td {
  color: var(--muted);
}

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

.page-products .dl-table tbody tr:hover {
  background: rgba(22, 198, 193, 0.05);
}

/* ---------- 版本节奏 ---------- */
.page-products .dl-log {
  border-top: 1px solid var(--line);
}

.page-products .dl-log__grid {
  display: grid;
  gap: var(--dl-gap);
  margin-top: 2rem;
}

.page-products .dl-log__list {
  margin: 0;
}

.page-products .dl-log__item {
  position: relative;
  margin-left: 0.4rem;
  padding: 0 0 2rem 1.85rem;
  border-left: 1px solid var(--line);
}

.page-products .dl-log__item:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.page-products .dl-log__item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0.4rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pulse);
  box-shadow: 0 0 0 4px rgba(255, 90, 60, 0.14);
}

.page-products .dl-log__item:first-child::before {
  background: var(--lake);
  box-shadow: 0 0 0 4px rgba(22, 198, 193, 0.18);
}

.page-products .dl-log__time {
  margin: 0 0 0.3rem;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pulse);
}

.page-products .dl-log__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-20);
  font-weight: 600;
  line-height: 1.45;
  color: var(--paper);
}

.page-products .dl-log__item .disclosure__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  margin-top: 0.6rem;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lake);
  transition: color 0.3s var(--ease);
}

.page-products .dl-log__item .disclosure__trigger:hover {
  color: var(--lake-soft);
}

.page-products .dl-log__item .disclosure__sign {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: var(--fs-14);
  line-height: 1;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-products .dl-log__item .disclosure__trigger[aria-expanded="true"] .disclosure__sign {
  transform: rotate(45deg);
  border-color: var(--lake);
}

.page-products .dl-log__item .disclosure__panel {
  padding-top: 0.7rem;
  max-width: 52ch;
  color: var(--muted);
  font-size: var(--fs-14);
  line-height: 1.85;
}

.page-products .dl-log__item .disclosure__panel p {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.85;
  color: var(--muted);
}

.page-products .dl-log__item .disclosure__panel[hidden],
.page-products .dl-log__item .disclosure__panel[aria-hidden="true"] {
  display: none;
}

.page-products .dl-log__figure {
  margin: 0;
  align-self: start;
}

/* ---------- 后续路径 ---------- */
.page-products .dl-next {
  border-top: 1px solid var(--line);
}

.page-products .dl-next__grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.page-products .dl-next__card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--dl-radius);
  background: var(--panel-deep);
  padding: 1.4rem 1.3rem;
  text-decoration: none;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-products .dl-next__card:hover {
  border-color: var(--lake);
  transform: translateY(-3px);
}

.page-products .dl-next__t {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: var(--fs-20);
  letter-spacing: 0.03em;
  color: var(--paper);
}

.page-products .dl-next__d {
  display: block;
  font-size: var(--fs-14);
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-products .dl-spec__row {
    grid-template-columns: 7.5rem minmax(0, 1fr);
    align-items: baseline;
  }

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

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

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

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

@media (min-width: 900px) {
  .page-products .dl-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.72fr);
    align-items: end;
  }

  .page-products .dl-flow__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  }

  .page-products .dl-log__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: start;
  }
}

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

@media (min-width: 980px) {
  .page-products .dl-small__grid {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.4fr);
    align-items: start;
  }
}

@media (max-width: 639px) {
  .page-products .dl-svg {
    display: none;
  }

  .page-products .dl-hero__actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .page-products .dl-table {
    min-width: 640px;
  }
}

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

  .page-products .dl-tabs .tab::after,
  .page-products .dl-next__card {
    transition: none;
  }
}
