.page-products {
  --dl-text: var(--gold-soft);
  --dl-muted: rgba(242, 220, 169, 0.72);
  --dl-card: rgba(18, 49, 41, 0.74);
  --dl-edge: rgba(217, 169, 76, 0.22);
  background: var(--ink);
  color: var(--dl-text);
  font-family: var(--f-body);
  overflow-x: clip;
}

.page-products *,
.page-products *::before,
.page-products *::after {
  box-sizing: border-box;
}

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

.page-products a {
  color: var(--gold);
}

.page-products .section-title {
  color: var(--gold-soft);
  font-family: var(--f-display);
  font-weight: 900;
  letter-spacing: -0.025em;
}

.page-products .section-lede {
  color: var(--dl-muted);
  font-size: var(--fs-17);
  line-height: 1.85;
}

.page-products .eyebrow {
  color: var(--gold);
  font-family: var(--f-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}

.page-products .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  color: var(--stone);
  font-size: var(--fs-14);
}

.page-products .breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-products .breadcrumb li + li::before {
  content: "／";
  color: rgba(217, 169, 76, 0.46);
}

.page-products .breadcrumb a {
  color: var(--gold-soft);
  text-decoration: none;
}

.page-products .breadcrumb a:hover {
  color: var(--gold);
}

/* 首屏 */
.dl-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 48px) 0 64px;
  background:
    radial-gradient(ellipse 80% 70% at 88% 8%, rgba(70, 211, 174, 0.1), transparent 60%),
    radial-gradient(ellipse 70% 80% at 8% 100%, rgba(196, 64, 46, 0.11), transparent 55%),
    linear-gradient(180deg, #0b211b 0%, #0e2a23 100%);
}

.dl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(217, 169, 76, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 169, 76, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
  pointer-events: none;
}

.dl-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: end;
}

.dl-hero-copy {
  min-width: 0;
}

.dl-hero h1 {
  max-width: 12em;
  margin: 0 0 20px;
  color: var(--gold-soft);
  font-family: var(--f-display);
  font-size: var(--fs-56);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: balance;
}

.dl-lede {
  max-width: 38em;
  margin: 0 0 24px;
  color: var(--dl-muted);
  font-size: var(--fs-17);
  line-height: 1.85;
}

.dl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.dl-hero-actions .btn {
  justify-content: center;
}

.dl-hero-note {
  margin: 0;
  color: var(--stone);
  font-size: var(--fs-14);
  line-height: 1.8;
}

.dl-hero-note .mono {
  color: var(--jade);
}

/* 右侧版本卡 */
.dl-status-card {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: linear-gradient(155deg, rgba(27, 74, 61, 0.92), rgba(11, 33, 27, 0.96));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
}

.dl-status-card::after {
  content: "";
  position: absolute;
  top: -42px;
  right: -24px;
  width: 118px;
  height: 158px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-2);
  background: linear-gradient(160deg, rgba(217, 169, 76, 0.15), transparent 70%);
  transform: rotate(18deg);
  opacity: 0.6;
  pointer-events: none;
}

.dl-status-kicker {
  position: relative;
  z-index: 1;
  margin: 0 0 4px;
  color: var(--stone);
  font-size: var(--fs-12);
  letter-spacing: 0.18em;
}

.dl-version {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: var(--gold);
  font-family: var(--f-mono);
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.dl-status-list {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  padding: 0;
}

.dl-status-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-14);
}

.dl-status-list dt {
  color: var(--stone);
}

.dl-status-list dd {
  margin: 0;
  color: var(--gold-soft);
  text-align: right;
}

.dl-status-link {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  color: var(--gold);
  font-size: var(--fs-14);
  text-decoration: none;
}

.dl-status-link:hover {
  color: var(--gold-soft);
}

/* 主流程 */
.dl-flow {
  position: relative;
  padding: 72px 0;
  background: var(--ink);
}

.dl-head {
  max-width: 780px;
  margin-bottom: 30px;
}

.dl-filter {
  min-width: 0;
}

.dl-device-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 22px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 33, 27, 0.72);
}

.dl-chip {
  flex: 0 0 auto;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--dl-muted);
  font-family: var(--f-body);
  font-size: var(--fs-14);
  cursor: pointer;
  white-space: nowrap;
  transition: background 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.dl-chip:hover {
  background: rgba(217, 169, 76, 0.1);
  color: var(--gold-soft);
}

.dl-chip[aria-pressed="true"] {
  background: var(--cinnabar);
  color: #fff;
  box-shadow: 0 4px 16px rgba(196, 64, 46, 0.28);
}

.dl-chip:focus-visible {
  outline: 2px solid var(--jade);
  outline-offset: 2px;
}

.dl-device-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

.dl-device-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-2);
  background: var(--dl-card);
}

.dl-device-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.dl-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.dl-badge {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
}

.dl-card-version {
  color: var(--jade);
  font-size: var(--fs-12);
}

.dl-device-card h3 {
  margin: 0 0 10px;
  color: var(--gold-soft);
  font-family: var(--f-display);
  font-size: var(--fs-21);
  font-weight: 900;
}

.dl-device-card p {
  margin: 0 0 16px;
  color: var(--dl-muted);
  font-size: var(--fs-14);
  line-height: 1.8;
}

.dl-card-specs {
  margin: 0 0 18px;
  padding: 0;
  border-top: 1px solid var(--line-soft);
}

.dl-card-specs div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--fs-12);
}

.dl-card-specs dt {
  color: var(--stone);
}

.dl-card-specs dd {
  margin: 0;
  color: var(--gold-soft);
  text-align: right;
}

.dl-card-link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  color: var(--gold);
  font-size: var(--fs-14);
  text-decoration: none;
}

.dl-card-link:hover {
  color: var(--gold-soft);
}

/* 配图 */
.page-products .figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-3);
  background: var(--ink-2);
}

.page-products .figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .figure-cap {
  margin: 0;
  padding: 12px 16px;
  background: var(--ink-2);
  color: var(--stone);
  font-size: var(--fs-12);
  line-height: 1.7;
}

.dl-device-figure {
  margin-top: 28px;
}

.dl-device-figure img {
  aspect-ratio: 14 / 9;
}

/* 系统要求 */
.dl-req {
  margin-top: 48px;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-3);
  background: linear-gradient(135deg, rgba(18, 49, 41, 0.92), rgba(11, 33, 27, 0.96));
}

.dl-req-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-width: 0;
}

.dl-req h2 {
  margin: 0 0 12px;
  font-size: var(--fs-38);
}

.dl-req .section-lede {
  margin-bottom: 22px;
}

.dl-req-list {
  margin: 0;
  padding: 0;
}

.dl-req-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}

.dl-req-list dt {
  color: var(--gold);
  font-size: var(--fs-14);
  font-weight: 700;
}

.dl-req-list dd {
  margin: 0;
  color: var(--dl-muted);
  font-size: var(--fs-17);
  line-height: 1.75;
}

.dl-req-note {
  margin: 18px 0 0;
  color: var(--stone);
  font-size: var(--fs-14);
  line-height: 1.8;
}

.dl-req-note a {
  color: var(--gold);
}

.dl-req-figure img {
  aspect-ratio: 10 / 7;
}

/* 安装步骤 */
.dl-install {
  margin-top: 56px;
}

.dl-install-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  min-width: 0;
}

.dl-install-figure {
  min-width: 0;
}

.dl-install-figure img {
  aspect-ratio: 3 / 4;
}

.dl-step-groups {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

.dl-step-group {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-2);
  background: rgba(18, 49, 41, 0.64);
}

.dl-step-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.dl-step-group-head h3 {
  margin: 0;
  color: var(--gold-soft);
  font-family: var(--f-display);
  font-size: var(--fs-21);
  font-weight: 900;
}

.dl-step-group-head span {
  flex: 0 0 auto;
  color: var(--jade);
  font-size: var(--fs-12);
}

.dl-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dl-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
}

.dl-step-node {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-1);
  background: var(--felt);
  color: var(--gold);
  font-size: var(--fs-14);
  font-weight: 700;
}

.dl-steps h4 {
  margin: 0 0 4px;
  color: var(--gold-soft);
  font-family: var(--f-body);
  font-size: var(--fs-17);
}

.dl-steps p {
  margin: 0;
  color: var(--dl-muted);
  font-size: var(--fs-14);
  line-height: 1.75;
}

.dl-verify {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 3px solid var(--cinnabar);
  border-radius: 0 var(--r-1) var(--r-1) 0;
  background: linear-gradient(90deg, rgba(196, 64, 46, 0.14), transparent);
}

.dl-verify-title {
  margin: 0 0 8px;
  color: var(--cinnabar-lit);
  font-family: var(--f-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.16em;
}

.dl-verify ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dl-verify li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--dl-muted);
  font-size: var(--fs-14);
}

.dl-verify li .mono {
  color: var(--jade);
}

/* 异常自查 */
.dl-troubleshoot {
  padding: 72px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
}

.dl-trouble-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  min-width: 0;
}

.dl-trouble-grid h2 {
  margin: 0 0 14px;
  font-size: var(--fs-38);
}

.dl-check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.dl-check-list label {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-2);
  background: rgba(11, 33, 27, 0.54);
  color: var(--dl-muted);
  font-size: var(--fs-14);
  line-height: 1.75;
  cursor: pointer;
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
}

.dl-check-list label:hover {
  border-color: var(--line);
  background: rgba(27, 74, 61, 0.36);
}

.dl-check-list label:has(input:checked) {
  border-color: rgba(70, 211, 174, 0.45);
  background: rgba(70, 211, 174, 0.07);
}

.dl-check-list input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.dl-check-box {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-1);
  background: transparent;
}

.dl-check-box::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 7px;
  width: 6px;
  height: 12px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  opacity: 0;
}

.dl-check-list input:checked + .dl-check-box {
  border-color: var(--jade);
  background: var(--jade);
}

.dl-check-list input:checked + .dl-check-box::after {
  opacity: 1;
}

.dl-check-list input:focus-visible + .dl-check-box {
  outline: 2px solid var(--jade);
  outline-offset: 2px;
}

.dl-check-list strong {
  color: var(--gold-soft);
}

.dl-trouble-note {
  margin: 20px 0 0;
  color: var(--dl-muted);
  font-size: var(--fs-14);
  line-height: 1.85;
}

.dl-trouble-note a {
  color: var(--gold);
}

.dl-trouble-aside {
  align-self: start;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--felt);
}

.dl-aside-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: var(--f-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.16em;
}

.dl-symptom-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dl-symptom-list li {
  position: relative;
  padding-left: 18px;
  color: var(--dl-muted);
  font-size: var(--fs-14);
  line-height: 1.7;
}

.dl-symptom-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cinnabar);
}

.dl-aside-divider {
  height: 1px;
  margin: 18px 0;
  background: var(--line-soft);
}

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

/* 新手房 */
.dl-rookie {
  padding: 72px 0;
  background:
    radial-gradient(ellipse 60% 70% at 20% 50%, rgba(217, 169, 76, 0.07), transparent 65%),
    var(--ink);
}

.dl-rookie-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-width: 0;
}

.dl-rookie-figure {
  min-width: 0;
}

.dl-rookie-figure img {
  aspect-ratio: 3 / 2;
}

.dl-rookie h2 {
  margin: 0 0 14px;
  font-size: var(--fs-38);
}

.dl-rookie .section-lede {
  margin-bottom: 20px;
}

.dl-rookie .section-lede a {
  color: var(--gold);
}

.dl-pace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 0 0 24px;
}

.dl-pace-grid > div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-2);
  background: var(--ink-2);
}

.dl-pace-grid > div > span {
  display: block;
  color: var(--jade);
  font-family: var(--f-mono);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.dl-pace-grid h3 {
  margin: 6px 0 4px;
  color: var(--gold-soft);
  font-family: var(--f-body);
  font-size: var(--fs-14);
}

.dl-pace-grid p {
  margin: 0;
  color: var(--stone);
  font-size: var(--fs-12);
  line-height: 1.7;
}

/* 版本说明 */
.dl-version {
  padding: 72px 0 88px;
  background: linear-gradient(180deg, var(--ink), var(--ink-2));
}

.dl-version-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  min-width: 0;
}

.dl-version h2 {
  margin: 0 0 14px;
  font-size: var(--fs-38);
}

.dl-version .section-lede {
  margin-bottom: 18px;
}

.dl-details {
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
}

.dl-details:last-of-type {
  border-bottom: 1px solid var(--line-soft);
}

.dl-details summary {
  color: var(--gold-soft);
  font-size: var(--fs-17);
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
}

.dl-details summary:hover {
  color: var(--gold);
}

.dl-details summary:focus-visible {
  outline: 2px solid var(--jade);
  outline-offset: 3px;
}

.dl-details ul {
  margin: 12px 0 0;
  padding-left: 1.2em;
  color: var(--dl-muted);
  font-size: var(--fs-14);
  line-height: 1.8;
}

.dl-details p {
  margin: 12px 0 0;
  color: var(--dl-muted);
  font-size: var(--fs-14);
  line-height: 1.8;
}

.dl-rollback {
  margin-top: 24px;
  padding: 20px;
  border-left: 3px solid var(--cinnabar);
  border-radius: 0 var(--r-2) var(--r-2) 0;
  background: rgba(196, 64, 46, 0.08);
}

.dl-rollback h3 {
  margin: 0 0 8px;
  color: var(--gold-soft);
  font-family: var(--f-display);
  font-size: var(--fs-21);
  font-weight: 900;
}

.dl-rollback p {
  margin: 0 0 14px;
  color: var(--dl-muted);
  font-size: var(--fs-14);
  line-height: 1.8;
}

.dl-version-figure {
  min-width: 0;
}

.dl-version-figure img {
  aspect-ratio: 1 / 1;
}

/* 响应式 */
@media (min-width: 680px) {
  .dl-hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(240px, 4fr);
  }

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

  .dl-req-list div {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .dl-req-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

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

@media (min-width: 980px) {
  .dl-hero {
    padding-top: calc(var(--header-h) + 88px);
    padding-bottom: 96px;
  }

  .dl-hero h1 {
    font-size: var(--fs-76);
  }

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

  .dl-install-layout {
    grid-template-columns: minmax(220px, 4fr) minmax(0, 7fr);
    gap: 32px;
  }

  .dl-install-figure {
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }

  .dl-trouble-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 48px;
  }

  .dl-rookie-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: 48px;
  }

  .dl-version-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 48px;
  }
}

@media (max-width: 479px) {
  .dl-hero-actions .btn {
    width: 100%;
  }

  .dl-status-card {
    padding: 20px;
  }

  .dl-version {
    font-size: 38px;
  }

  .dl-step-group-head {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products *,
  .page-products *::before,
  .page-products *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
