.page-products {
  --dl-edge: rgba(169, 247, 220, 0.1);
  --dl-panel-bg: linear-gradient(160deg, rgba(18, 63, 51, 0.82), rgba(7, 12, 10, 0.86));
}

/* ---------- 首屏 ---------- */
.page-products .dl-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.8rem, 5vw, 3.4rem) clamp(2.4rem, 6vw, 4rem);
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(67, 245, 181, 0.14), transparent 62%),
    linear-gradient(180deg, var(--green-900), var(--ink));
  border-bottom: 1px solid var(--line);
}

.page-products .dl-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -58% 34%;
  height: 340px;
  background: repeating-linear-gradient(90deg, rgba(169, 247, 220, 0.07) 0 1px, transparent 1px 48px);
  transform: rotate(-8deg);
  pointer-events: none;
}

.page-products .dl-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.6rem, 4vw, 2.8rem);
}

.page-products .dl-eyebrow {
  margin: 0 0 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-products .dl-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 6.4vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--paper);
  max-width: 18ch;
}

.page-products .dl-lede {
  margin: 1.1rem 0 0;
  max-width: 56ch;
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  line-height: 1.85;
  color: rgba(234, 247, 241, 0.8);
}

.page-products .dl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.page-products .dl-hero-stats {
  list-style: none;
  margin: 1.9rem 0 0;
  padding: 1.2rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.2rem;
  border-top: 1px solid var(--dl-edge);
}

.page-products .dl-stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.page-products .dl-stat-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--steel);
}

.page-products .dl-hero-band {
  padding: 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--dl-panel-bg);
}

.page-products .dl-band-title {
  margin: 0 0 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}

.page-products .dl-band-item {
  display: grid;
  gap: 0.3rem;
  padding: 0.8rem 0.9rem;
  border-left: 2px solid var(--accent);
  background: rgba(67, 245, 181, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.page-products .dl-band-item + .dl-band-item {
  margin-top: 0.6rem;
}

.page-products .dl-band-item strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 0.01em;
}

.page-products .dl-band-tag {
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}

.page-products .dl-band-tag--mint {
  color: var(--mint);
}

.page-products .dl-band-note {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(234, 247, 241, 0.66);
}

/* ---------- 通用章节头 ---------- */
.page-products .dl-head {
  max-width: 62ch;
  margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
}

.page-products .dl-kicker {
  margin: 0 0 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-products .section h2,
.page-products .dl-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 3.4vw, 2.4rem);
  line-height: 1.14;
  letter-spacing: -0.005em;
  color: var(--paper);
}

.page-products .dl-sub {
  margin: 0.8rem 0 0;
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(234, 247, 241, 0.74);
}

/* ---------- 版本入口矩阵 ---------- */
.page-products .dl-matrix {
  display: grid;
  gap: 1.4rem;
}

.page-products .dl-matrix-list {
  display: grid;
  gap: 1rem;
}

.page-products .dl-entry {
  position: relative;
  padding: 1.2rem 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(12, 42, 33, 0.62);
  transition: border-color 240ms ease, transform 240ms ease;
}

.page-products .dl-entry:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.page-products .dl-entry--accent {
  border-color: rgba(67, 245, 181, 0.38);
  background: linear-gradient(160deg, rgba(67, 245, 181, 0.1), rgba(12, 42, 33, 0.7) 46%);
}

.page-products .dl-entry h3 {
  margin: 0.7rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--paper);
}

.page-products .dl-entry p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(234, 247, 241, 0.76);
}

.page-products .dl-entry-points {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.page-products .dl-entry-points li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--steel);
}

.page-products .dl-entry-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.7;
}

.page-products .dl-entry-link {
  display: inline-block;
  margin-top: 0.95rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(67, 245, 181, 0.4);
  padding-bottom: 2px;
}

.page-products .dl-entry-link:hover {
  border-bottom-color: var(--accent);
}

.page-products .dl-matrix-figure {
  margin: 0;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(7, 12, 10, 0.55);
}

.page-products .dl-matrix-figure img,
.page-products .dl-flow-figure img,
.page-products .dl-query-figure img,
.page-products .dl-cap-figure img,
.page-products .dl-fix-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.page-products figcaption {
  margin-top: 0.7rem;
  font-size: 0.76rem;
  line-height: 1.7;
  color: var(--steel);
}

/* ---------- 设备选择器 ---------- */
.page-products .dl-picker {
  position: relative;
  margin-top: clamp(1.6rem, 3.5vw, 2.4rem);
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--dl-panel-bg);
}

.page-products .dl-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page-products .dl-picker-label {
  margin: 0 0 0.9rem;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  color: var(--mint);
}

.page-products .dl-picker-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-products .dl-picker-tabs label {
  cursor: pointer;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  line-height: 1.2;
  color: var(--steel);
  background: rgba(7, 12, 10, 0.5);
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}

.page-products .dl-picker-tabs label:hover {
  color: var(--paper);
  border-color: var(--line-strong);
}

.page-products #dl-dev-mobile:checked ~ .dl-picker-tabs label[for="dl-dev-mobile"],
.page-products #dl-dev-ios:checked ~ .dl-picker-tabs label[for="dl-dev-ios"],
.page-products #dl-dev-desktop:checked ~ .dl-picker-tabs label[for="dl-dev-desktop"] {
  color: var(--on-accent);
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}

.page-products #dl-dev-mobile:focus-visible ~ .dl-picker-tabs label[for="dl-dev-mobile"],
.page-products #dl-dev-ios:focus-visible ~ .dl-picker-tabs label[for="dl-dev-ios"],
.page-products #dl-dev-desktop:focus-visible ~ .dl-picker-tabs label[for="dl-dev-desktop"] {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

.page-products .dl-picker-panels {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--dl-edge);
}

.page-products .dl-panel {
  display: none;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(234, 247, 241, 0.82);
}

.page-products .dl-panel p {
  margin: 0;
}

.page-products #dl-dev-mobile:checked ~ .dl-picker-panels [data-for="dl-dev-mobile"],
.page-products #dl-dev-ios:checked ~ .dl-picker-panels [data-for="dl-dev-ios"],
.page-products #dl-dev-desktop:checked ~ .dl-picker-panels [data-for="dl-dev-desktop"] {
  display: block;
}

/* ---------- 四步流程 ---------- */
.page-products .dl-flow-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(12, 42, 33, 0.7), rgba(8, 35, 28, 0.3)),
    var(--green-900);
  border-block: 1px solid var(--line);
}

.page-products .dl-flow-map {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 0 0 1.4rem;
}

.page-products .dl-flow-grid {
  display: grid;
  gap: 1.5rem;
}

.page-products .dl-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  counter-reset: dl-step;
}

.page-products .dl-step {
  position: relative;
  padding: 1.1rem 1.15rem 1.15rem 3.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(7, 12, 10, 0.5);
}

.page-products .dl-step::before {
  counter-increment: dl-step;
  content: counter(dl-step, decimal-leading-zero);
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(67, 245, 181, 0.5);
  background: rgba(67, 245, 181, 0.13);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
}

.page-products .dl-step h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--paper);
}

.page-products .dl-step p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(234, 247, 241, 0.74);
}

.page-products .dl-flow-figure {
  margin: 0;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(7, 12, 10, 0.5);
  align-self: start;
}

/* ---------- 阵容变动查询 ---------- */
.page-products .dl-query-grid {
  display: grid;
  gap: 1.5rem;
}

.page-products .dl-index-block {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.8rem;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(12, 42, 33, 0.55);
}

.page-products .dl-index-no {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: rgba(67, 245, 181, 0.14);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
}

.page-products .dl-index-block h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--paper);
}

.page-products .dl-index-block p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.78;
  color: rgba(234, 247, 241, 0.72);
}

.page-products .dl-query-copy .btn {
  margin-top: 1.3rem;
}

.page-products .dl-query-figure {
  margin: 0;
  padding: 0.9rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--dl-panel-bg);
  align-self: start;
}

/* ---------- 能力对照表 ---------- */
.page-products .dl-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(18, 63, 51, 0.7), rgba(7, 12, 10, 0.78));
}

.page-products .dl-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.page-products .dl-table caption {
  caption-side: top;
  padding: 0.85rem 1rem;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}

.page-products .dl-table th,
.page-products .dl-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--dl-edge);
}

.page-products .dl-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--green-850);
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--line-strong);
}

.page-products .dl-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--green-900);
  color: var(--paper);
  font-weight: 600;
  white-space: nowrap;
}

.page-products .dl-table tbody td {
  color: rgba(234, 247, 241, 0.72);
}

.page-products .dl-table tbody tr:nth-child(even) td {
  background: rgba(169, 247, 220, 0.035);
}

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

.page-products .dl-yes {
  color: var(--accent);
  font-weight: 600;
}

.page-products .dl-history {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.6rem;
  padding: 1.2rem;
  border-left: 2px solid rgba(67, 245, 181, 0.45);
  background: rgba(12, 42, 33, 0.4);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.page-products .dl-history-copy h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--paper);
}

.page-products .dl-history-copy p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(234, 247, 241, 0.72);
}

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

.page-products .dl-timeline li {
  display: grid;
  grid-template-columns: 3.6rem 1fr;
  gap: 0.7rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed var(--dl-edge);
}

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

.page-products .dl-tl-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
}

.page-products .dl-tl-text {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--steel);
}

.page-products .dl-cap-figure {
  margin: 1.6rem 0 0;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(7, 12, 10, 0.5);
}

/* ---------- 故障快查 ---------- */
.page-products .dl-fix-grid {
  display: grid;
  gap: 1.5rem;
}

.page-products .dl-faq {
  margin-top: 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(12, 42, 33, 0.55);
}

.page-products .dl-faq:first-of-type {
  margin-top: 1.2rem;
}

.page-products .dl-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--paper);
}

.page-products .dl-faq summary::-webkit-details-marker {
  display: none;
}

.page-products .dl-faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--accent);
  flex: none;
}

.page-products .dl-faq[open] summary::after {
  content: "–";
}

.page-products .dl-faq[open] summary {
  border-bottom: 1px solid var(--dl-edge);
}

.page-products .dl-faq p {
  margin: 0;
  padding: 0.85rem 1.1rem 1rem;
  font-size: 0.86rem;
  line-height: 1.82;
  color: rgba(234, 247, 241, 0.72);
}

.page-products .dl-fix-figure {
  margin: 0;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--dl-panel-bg);
  align-self: start;
}

/* ---------- 设备建议与收尾 ---------- */
.page-products .dl-device {
  display: grid;
  gap: 1.4rem;
  padding: clamp(1.1rem, 3vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(67, 245, 181, 0.1), transparent 60%),
    rgba(12, 42, 33, 0.6);
}

.page-products .dl-device-copy p {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(234, 247, 241, 0.76);
}

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

.page-products .dl-device-list li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.8rem;
  align-items: baseline;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed var(--dl-edge);
}

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

.page-products .dl-device-key {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.page-products .dl-device-list li > span:last-child {
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--steel);
}

.page-products .dl-cta {
  margin-top: 1.6rem;
  padding: clamp(1.3rem, 3.5vw, 2.2rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(67, 245, 181, 0.3);
  background: linear-gradient(150deg, rgba(67, 245, 181, 0.13), rgba(7, 12, 10, 0.9) 62%);
}

.page-products .dl-cta p {
  margin: 0.85rem 0 0;
  max-width: 62ch;
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(234, 247, 241, 0.76);
}

.page-products .dl-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.3rem;
}

.page-products .dl-cta-fine {
  margin-top: 1.1rem;
  font-size: 0.78rem;
  color: var(--steel);
}

.page-products .dl-cta-fine a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products a:focus-visible,
.page-products summary:focus-visible,
.page-products label:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- 宽屏 ---------- */
@media (min-width: 640px) {
  .page-products .dl-hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .page-products .dl-matrix-list .dl-entry--accent {
    grid-column: span 2;
  }

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

  .page-products .dl-history {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 1.6rem;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .page-products .dl-hero-inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: start;
  }

  .page-products .dl-matrix {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.7fr);
    gap: 1.6rem;
    align-items: start;
  }

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

  .page-products .dl-matrix-list .dl-entry--accent {
    grid-column: span 2;
  }

  .page-products .dl-flow-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 1.8rem;
    align-items: start;
  }

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

  .page-products .dl-query-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2rem;
    align-items: start;
  }

  .page-products .dl-fix-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 2rem;
    align-items: start;
  }

  .page-products .dl-device {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem;
    align-items: start;
  }

  .page-products .dl-matrix-figure {
    position: sticky;
    top: 5.5rem;
  }
}

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

  .page-products .dl-entry:hover {
    transform: none;
  }
}
