.page-products {
  --dl-cut: 20px;
  --dl-soft: rgba(245, 241, 232, 0.68);
  background: var(--cream);
  color: var(--ink);
  display: block;
}

/* ---------- 首屏 ---------- */
.page-products .dl-hero {
  position: relative;
  padding: 1.5rem 0 3.25rem;
  background: linear-gradient(158deg, var(--navy-800) 0%, var(--navy-900) 72%);
  color: var(--cream);
  overflow: hidden;
}

.page-products .dl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(58deg, rgba(245, 241, 232, 0.055) 0 2px, transparent 2px 16px);
  pointer-events: none;
}

.page-products .dl-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -55%;
  width: 46%;
  height: 120%;
  background: linear-gradient(180deg, rgba(228, 87, 46, 0.22), rgba(53, 208, 186, 0.06));
  transform: rotate(18deg);
  pointer-events: none;
}

.page-products .dl-hero > .container {
  position: relative;
  z-index: 1;
}

.page-products .dl-hero .breadcrumb {
  margin-bottom: 2rem;
  color: var(--dl-soft);
}

.page-products .dl-hero .breadcrumb a {
  color: var(--cyan-400);
  text-decoration: none;
}

.page-products .dl-hero .breadcrumb a:hover,
.page-products .dl-hero .breadcrumb a:focus-visible {
  text-decoration: underline;
}

.page-products .dl-hero__grid {
  display: grid;
  gap: 2.25rem;
  align-items: start;
}

.page-products .dl-hero__copy .eyebrow {
  color: var(--cyan-400);
  letter-spacing: 0.14em;
}

.page-products .dl-hero__copy h1 {
  margin: 0.5rem 0 1rem;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-products .dl-hero__copy .lede {
  max-width: 46ch;
  color: rgba(245, 241, 232, 0.86);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin: 0 0 1.5rem;
}

.page-products .hero-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.page-products .hero-list li {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.95rem;
  color: rgba(245, 241, 232, 0.9);
}

.page-products .hero-list .mono {
  color: var(--orange-600);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-products .dl-hero__media {
  margin: 0;
  border: 1px solid rgba(245, 241, 232, 0.16);
  background: rgba(7, 26, 44, 0.4);
}

.page-products .dl-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
}

.page-products .dl-hero__media .media__caption {
  padding: 0.7rem 0.9rem;
  color: rgba(245, 241, 232, 0.7);
  font-size: 0.82rem;
  border-top: 1px solid rgba(245, 241, 232, 0.12);
}

/* ---------- 通用小标题 ---------- */
.page-products .dl-head {
  max-width: 62ch;
  margin-bottom: 2rem;
}

.page-products .dl-head .eyebrow {
  color: var(--terracotta);
  letter-spacing: 0.14em;
}

.page-products .dl-head .section-title {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0.55rem 0 0.9rem;
}

.page-products .dl-head .section-title__index {
  color: var(--orange-600);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.page-products .dl-head .lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.8;
}

/* ---------- 设备面板 ---------- */
.page-products .dl-devices {
  background: var(--cream);
}

.page-products .device-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.page-products .device-card {
  position: relative;
  padding: 1.4rem 1.4rem 1.5rem;
  background: var(--white);
  clip-path: polygon(0 0, calc(100% - var(--dl-cut)) 0, 100% var(--dl-cut), 100% 100%, 0 100%);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.page-products .device-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--line-strong);
  transition: background-color var(--dur) var(--ease);
}

.page-products .device-card:hover,
.page-products .device-card:focus-within {
  transform: translateY(-3px);
  background: var(--white);
}

.page-products .device-card:hover::before,
.page-products .device-card:focus-within::before {
  background: var(--orange-600);
}

.page-products .device-card__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
}

.page-products .device-card__name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--carbon);
}

.page-products .status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 3px rgba(53, 208, 186, 0.18);
  flex: none;
}

.page-products .device-card__text {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-products .device-spec {
  margin: 0 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}

.page-products .device-spec > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.page-products .device-spec dt {
  font-size: 0.82rem;
  color: var(--ink-soft);
  flex: none;
}

.page-products .device-spec dd {
  margin: 0;
  font-size: 0.86rem;
  color: var(--carbon);
  text-align: right;
}

.page-products .device-spec dd.mono {
  color: var(--orange-600);
  font-weight: 700;
}

.page-products .device-card__link {
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-800);
  text-decoration: none;
  border-bottom: 2px solid var(--orange-600);
  padding-bottom: 2px;
  transition: color var(--dur) var(--ease);
}

.page-products .device-card__link:hover,
.page-products .device-card__link:focus-visible {
  color: var(--orange-deep);
}

/* ---------- 功能说明 ---------- */
.page-products .dl-feature {
  background: var(--navy-700);
  color: var(--cream);
}

.page-products .feature-grid {
  display: grid;
  gap: 2.25rem;
  align-items: start;
}

.page-products .feature-copy .eyebrow {
  color: var(--cyan-400);
  letter-spacing: 0.14em;
}

.page-products .feature-copy .section-title {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0.55rem 0 0.9rem;
  color: var(--white);
}

.page-products .feature-copy .section-title__index {
  color: var(--orange-600);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.page-products .feature-lede {
  margin: 0 0 1.75rem;
  max-width: 52ch;
  color: rgba(245, 241, 232, 0.84);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.page-products .feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.page-products .feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(245, 241, 232, 0.14);
}

.page-products .feature-list li:last-child {
  border-bottom: 1px solid rgba(245, 241, 232, 0.14);
}

.page-products .feature-no {
  color: var(--terracotta);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding-top: 0.35rem;
}

.page-products .feature-list h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
}

.page-products .feature-list p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.78;
  color: rgba(245, 241, 232, 0.78);
}

.page-products .feature-media {
  margin: 0;
  border: 1px solid rgba(245, 241, 232, 0.18);
}

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

.page-products .feature-media .media__caption {
  padding: 0.7rem 0.9rem;
  font-size: 0.82rem;
  color: rgba(245, 241, 232, 0.68);
  border-top: 1px solid rgba(245, 241, 232, 0.14);
}

/* ---------- 安装步骤 ---------- */
.page-products .dl-steps {
  background: var(--white);
}

.page-products .step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  gap: 1.75rem;
}

.page-products .step-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding-bottom: 0.25rem;
}

.page-products .step-item::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 42px;
  bottom: -1.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan-400), rgba(53, 208, 186, 0.15));
}

.page-products .step-item:last-child::before {
  display: none;
}

.page-products .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--cyan-400);
  font-size: 0.82rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.page-products .step-body h3 {
  margin: 0.35rem 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--carbon);
}

.page-products .step-body p {
  margin: 0 0 0.6rem;
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

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

.page-products .step-note {
  padding: 0.7rem 0.9rem;
  background: var(--cream);
  border-left: 3px solid var(--terracotta);
  font-size: 0.88rem !important;
  color: var(--carbon) !important;
}

/* ---------- 客户端内入口 ---------- */
.page-products .dl-inside {
  background: var(--cream);
}

.page-products .inside-grid {
  display: grid;
  gap: 1rem;
}

.page-products .inside-card {
  background: var(--white);
  padding: 1.4rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.page-products .inside-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--carbon);
}

.page-products .inside-card p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-products .inside-card__media {
  margin: 0;
}

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

.page-products .inside-card--text {
  background: var(--navy-800);
  color: var(--cream);
}

.page-products .inside-card--text h3 {
  color: var(--white);
}

.page-products .inside-card--text p {
  color: rgba(245, 241, 232, 0.82);
}

.page-products .inside-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cyan-400);
  text-decoration: none;
  border-bottom: 2px solid rgba(53, 208, 186, 0.4);
  padding-bottom: 2px;
}

.page-products .inside-link:hover,
.page-products .inside-link:focus-visible {
  border-bottom-color: var(--cyan-400);
}

/* ---------- 版本时间轴 ---------- */
.page-products .dl-timeline {
  background: var(--white);
}

.page-products .timeline-banner {
  margin: 0 0 2rem;
}

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

.page-products .timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.page-products .timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  transition: background-color var(--dur) var(--ease);
}

.page-products .timeline-node:hover {
  background: rgba(53, 208, 186, 0.06);
}

.page-products .timeline-dot {
  width: 14px;
  height: 14px;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(193, 102, 63, 0.16);
  flex: none;
}

.page-products .timeline-dot--moss {
  background: var(--moss);
  box-shadow: 0 0 0 4px rgba(107, 127, 91, 0.18);
}

.page-products .timeline-dot--orange {
  background: var(--orange-600);
  box-shadow: 0 0 0 4px rgba(228, 87, 46, 0.2);
}

.page-products .timeline-ver {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--stone);
  text-transform: uppercase;
}

.page-products .timeline-node--current .timeline-ver {
  color: var(--orange-600);
  font-weight: 700;
}

.page-products .timeline-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--carbon);
}

.page-products .timeline-body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.78;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ---------- 常见问题 ---------- */
.page-products .dl-help {
  background: var(--cream);
}

.page-products .help-list {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.page-products .help-item {
  background: var(--white);
  border-left: 4px solid var(--navy-700);
  transition: border-color var(--dur) var(--ease);
}

.page-products .help-item[open] {
  border-left-color: var(--orange-600);
}

.page-products .help-item summary {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 1.1rem 1.2rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--carbon);
}

.page-products .help-item summary::-webkit-details-marker {
  display: none;
}

.page-products .help-item summary::after {
  content: "+";
  margin-left: auto;
  color: var(--terracotta);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform var(--dur) var(--ease);
}

.page-products .help-item[open] summary::after {
  content: "−";
}

.page-products .help-item summary:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: -2px;
}

.page-products .help-no {
  color: var(--terracotta);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.page-products .help-q {
  font-size: 1rem;
}

.page-products .help-a {
  padding: 0 1.2rem 1.2rem;
}

.page-products .help-a p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.82;
  color: var(--ink-soft);
}

.page-products .help-more {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-products .help-more a {
  color: var(--navy-800);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(228, 87, 46, 0.45);
}

.page-products .help-more a:hover,
.page-products .help-more a:focus-visible {
  border-bottom-color: var(--orange-600);
}

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

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

  .page-products .inside-card--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .page-products .dl-hero {
    padding: 2rem 0 4.25rem;
  }

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

  .page-products .feature-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 3.25rem;
  }

  .page-products .feature-media {
    position: sticky;
    top: 2rem;
  }

  .page-products .inside-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .page-products .inside-card--wide {
    grid-column: span 2;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
  }

  .page-products .inside-card--wide .inside-card__media {
    order: 2;
  }
}

@media (min-width: 1080px) {
  .page-products .device-grid {
    gap: 1.25rem;
  }

  .page-products .step-item {
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .device-card,
  .page-products .device-card::before,
  .page-products .timeline-node,
  .page-products .help-item,
  .page-products .help-item summary::after {
    transition: none;
  }

  .page-products .device-card:hover,
  .page-products .device-card:focus-within {
    transform: none;
  }
}
