.page-products {
  --dl-gap: clamp(16px, 2.4vw, 28px);
  --dl-pad: clamp(18px, 2.4vw, 30px);
  --dl-soft: rgba(201, 207, 212, .1);
  display: block;
}

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

.page-products .dl-wrap {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
}

.page-products .breadcrumb {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(14px, 2vw, 22px) clamp(16px, 3vw, 40px) 0;
}

.page-products .dl-head .display-2 {
  margin: 8px 0 12px;
}

/* ============ 首屏 ============ */
.page-products .dl-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4.4vw, 62px) clamp(16px, 3vw, 40px) clamp(30px, 4.4vw, 60px);
  background:
    radial-gradient(880px 420px at 10% 92%, rgba(255, 106, 26, .16), transparent 62%),
    radial-gradient(720px 400px at 92% 4%, rgba(61, 123, 255, .18), transparent 66%),
    var(--ink);
}

.page-products .dl-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.page-products .dl-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 42px);
  align-items: end;
}

.page-products .dl-hero .display-1 {
  margin: 10px 0 16px;
  max-width: 16em;
  line-height: 1.06;
}

.page-products .dl-hero__copy .lede {
  max-width: 48ch;
  color: var(--silver);
}

.page-products .dl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 26px;
}

.page-products .dl-hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .dl-fact {
  padding: 12px 14px;
  background: var(--panel-deep);
}

.page-products .dl-fact dt {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--silver);
}

.page-products .dl-fact dd {
  margin: 0;
  font-size: 15px;
  color: var(--cream);
}

.page-products .dl-hero__figure {
  margin: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.page-products .dl-hero__figure .media-frame__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ============ 设备入口 ============ */
.page-products .dl-devices {
  padding: clamp(34px, 5vw, 72px) clamp(16px, 3vw, 40px);
  background: var(--ink);
}

.page-products .device-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
}

.page-products .device-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 20px;
}

.page-products .device-panel {
  position: relative;
  padding: 20px 16px 22px;
  background: linear-gradient(155deg, #143726 0%, #0c2117 100%);
  border: 1px solid var(--line);
  clip-path: polygon(0 18px, 18px 0, 100% 0, 100% 100%, 0 100%);
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}

.page-products .device-panel::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  width: 54px;
  height: 3px;
  background: var(--orange);
}

.page-products .device-panel:hover {
  border-color: rgba(255, 106, 26, .52);
}

.page-products .device-panel[hidden] {
  display: none;
}

.page-products .device-panel__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.page-products .device-panel__name {
  flex: 1;
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--cream);
}

.page-products .device-panel__scene {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--cream);
}

.page-products .device-panel__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.page-products .device-panel__list li {
  position: relative;
  padding-left: 15px;
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--silver);
}

.page-products .device-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 7px;
  height: 1px;
  background: var(--orange);
}

/* 状态灯 */
.page-products .lamp {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(127, 224, 168, .16), 0 0 14px rgba(127, 224, 168, .68);
}

.page-products .lamp--blue {
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(61, 123, 255, .18), 0 0 14px rgba(61, 123, 255, .6);
}

.page-products .lamp--orange {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 26, .18), 0 0 14px rgba(255, 106, 26, .58);
}

/* ============ 焕新版通道 ============ */
.page-products .dl-channel {
  padding: clamp(34px, 5vw, 72px) clamp(16px, 3vw, 40px);
  background: var(--ink);
}

.page-products .dl-channel__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 3.4vw, 50px);
}

.page-products .dl-channel .display-2 {
  margin: 8px 0 14px;
}

.page-products .dl-channel__copy .lede {
  max-width: 58ch;
  color: var(--silver);
}

.page-products .dl-channel__sub {
  margin: 30px 0 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--cream);
}

.page-products .step-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .step-list__item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.page-products .step-list__item:last-child {
  border-bottom: 1px solid var(--line);
}

.page-products .step-list__no {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--orange);
  padding-top: 2px;
}

.page-products .step-list__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
}

.page-products .step-list__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--silver);
}

.page-products .dl-channel__figure {
  margin: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
  border: 1px solid var(--line);
}

.page-products .dl-channel__figure .media-frame__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ============ 版本记录 ============ */
.page-products .dl-versions {
  padding: clamp(34px, 5vw, 72px) clamp(16px, 3vw, 40px);
  background: var(--cream);
  color: var(--brown);
}

.page-products .dl-versions .eyebrow {
  color: var(--rust);
}

.page-products .dl-versions .display-2 {
  color: var(--brown);
}

.page-products .dl-versions .lede {
  color: rgba(42, 26, 18, .76);
  max-width: 62ch;
}

.page-products .dl-versions__figure {
  margin: 24px 0 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.page-products .dl-versions__figure .media-frame__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .version-scroll {
  margin-top: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(42, 26, 18, .2);
  background: rgba(255, 255, 255, .42);
}

.page-products .version-scroll:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}

.page-products .version-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .version-table th,
.page-products .version-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(42, 26, 18, .12);
}

.page-products .version-table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rust);
  border-bottom: 1px solid rgba(42, 26, 18, .26);
  white-space: nowrap;
}

.page-products .version-table tbody tr:hover {
  background: rgba(255, 106, 26, .09);
}

.page-products .version-table tbody th {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--brown);
  white-space: nowrap;
}

.page-products .version-table tbody td {
  color: rgba(42, 26, 18, .84);
  line-height: 1.72;
}

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

/* ============ 阅读设置 ============ */
.page-products .dl-reader {
  padding: clamp(34px, 5vw, 72px) clamp(16px, 3vw, 40px);
  background: var(--ink);
}

.page-products .reader-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.8vw, 34px);
  margin-top: 26px;
  align-items: start;
}

.page-products .reader-layout__figure {
  margin: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  border: 1px solid var(--line);
}

.page-products .reader-layout__figure .media-frame__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .reader-demo {
  position: relative;
  padding: var(--dl-pad);
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.page-products .reader-demo__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.page-products .reader-demo__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.page-products .reader-demo__btn {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  color: var(--silver);
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.page-products .reader-demo__btn:hover {
  border-color: var(--orange);
  color: var(--cream);
}

.page-products #reader-sm:checked ~ .reader-demo__controls label[for="reader-sm"],
.page-products #reader-md:checked ~ .reader-demo__controls label[for="reader-md"],
.page-products #reader-lg:checked ~ .reader-demo__controls label[for="reader-lg"] {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}

.page-products #reader-sm:focus-visible ~ .reader-demo__controls label[for="reader-sm"],
.page-products #reader-md:focus-visible ~ .reader-demo__controls label[for="reader-md"],
.page-products #reader-lg:focus-visible ~ .reader-demo__controls label[for="reader-lg"] {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.page-products .reader-demo__stage {
  padding: 20px 18px;
  background: rgba(8, 23, 15, .72);
  border-left: 3px solid var(--orange);
}

.page-products .reader-demo__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.78;
  color: var(--cream);
  transition: font-size .18s var(--ease), line-height .18s var(--ease);
}

.page-products #reader-sm:checked ~ .reader-demo__stage .reader-demo__text {
  font-size: 15px;
  line-height: 1.7;
}

.page-products #reader-md:checked ~ .reader-demo__stage .reader-demo__text {
  font-size: 17px;
  line-height: 1.78;
}

.page-products #reader-lg:checked ~ .reader-demo__stage .reader-demo__text {
  font-size: 21px;
  line-height: 1.86;
  letter-spacing: .01em;
}

.page-products .reader-demo__hint {
  margin: 16px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--silver);
}

/* ============ 自查三步 ============ */
.page-products .dl-check {
  padding: clamp(34px, 5vw, 72px) clamp(16px, 3vw, 40px);
  background: linear-gradient(180deg, rgba(11, 31, 22, .96), rgba(8, 23, 15, 1));
}

.page-products .dl-check__figure {
  margin: 22px 0 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  border: 1px solid var(--line);
}

.page-products .dl-check__figure .media-frame__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .check-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.page-products .check-step {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}

.page-products .check-step:hover {
  border-color: rgba(255, 106, 26, .48);
  background: #143726;
}

.page-products .check-step__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.page-products .check-step__lamp {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(201, 207, 212, .08);
  transition: background-color .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}

.page-products .check-step__input:checked ~ .check-step__lamp {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 0 5px rgba(127, 224, 168, .16), 0 0 16px rgba(127, 224, 168, .6);
}

.page-products .check-step__input:focus-visible ~ .check-step__body {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.page-products .check-step__body {
  display: block;
}

.page-products .check-step__no {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--orange);
}

.page-products .check-step__title {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--cream);
  transition: color .18s var(--ease);
}

.page-products .check-step__input:checked ~ .check-step__body .check-step__title {
  color: var(--green);
}

.page-products .check-step__desc {
  display: block;
  font-size: 14px;
  line-height: 1.78;
  color: var(--silver);
}

/* ============ 转接区 ============ */
.page-products .dl-help {
  padding: clamp(32px, 4.4vw, 64px) clamp(16px, 3vw, 40px);
  background: var(--ink);
}

.page-products .dl-help__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 40px);
  align-items: center;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(255, 106, 26, .12), transparent 58%),
    var(--panel-deep);
  clip-path: polygon(0 22px, 22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.page-products .dl-help .display-3 {
  margin: 0 0 12px;
}

.page-products .dl-help__text {
  margin: 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--silver);
}

.page-products .dl-help__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============ 响应式 ============ */
@media (min-width: 640px) {
  .page-products .dl-hero__facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

  .page-products .check-step {
    padding: 20px 22px;
  }
}

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

  .page-products .reader-layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

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

  .page-products .dl-help__links {
    justify-content: flex-end;
  }
}

@media (min-width: 960px) {
  .page-products .dl-channel__grid {
    grid-template-columns: minmax(0, 6.5fr) minmax(0, 4fr);
    align-items: start;
  }

  .page-products .dl-channel__figure {
    position: sticky;
    top: 96px;
  }
}

@media (min-width: 1100px) {
  .page-products .device-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .page-products .device-panel:nth-child(even) {
    transform: translateY(16px);
  }
}

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

  .page-products .device-panel:nth-child(even) {
    transform: none;
  }
}
