.page-products {
  --dl-panel: rgba(22, 39, 63, .85);
  --dl-hair: rgba(107, 91, 69, .45);
  --dl-dim: rgba(230, 224, 211, .72);
  --dl-hover: #1c3150;
  background: var(--ink);
  color: var(--text-on-dark);
}

.page-products .dl-hero {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(2.25rem, 5vw, 3.5rem);
}

.page-products .dl-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.page-products .dl-hero-copy .kicker {
  display: block;
  margin-bottom: .6rem;
}

.page-products .dl-hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.16;
  letter-spacing: -.01em;
  color: var(--paper);
  margin: 0 0 1rem;
}

.page-products .dl-hero-copy .lede {
  margin: 0;
  max-width: var(--measure);
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.2vw, 1.13rem);
  line-height: 1.85;
  color: var(--dl-dim);
}

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

.page-products .dl-hero-note {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 1.25rem 0 0;
  font-family: var(--font-mono);
  font-size: .82rem;
  line-height: 1.6;
  color: var(--sand);
}

.page-products .dl-hero-visual {
  display: grid;
  gap: .75rem;
}

.page-products .dl-stack {
  display: flex;
  align-items: flex-end;
  gap: clamp(.45rem, 1.6vw, .9rem);
  height: clamp(180px, 30vw, 300px);
  padding: clamp(.9rem, 2.6vw, 1.6rem);
  border: 3px solid var(--line);
  border-radius: var(--radius-card);
  background:
    radial-gradient(120% 90% at 86% 4%, rgba(217, 164, 65, .18), transparent 62%),
    var(--ink-2);
  box-shadow: var(--shadow-hard);
}

.page-products .dl-dev {
  flex: 1 1 0;
  min-width: 0;
  display: block;
  border-radius: 8px 8px 3px 3px;
  border: 2px solid rgba(217, 164, 65, .5);
  border-bottom-width: 6px;
  background: linear-gradient(180deg, rgba(217, 164, 65, .5), rgba(217, 164, 65, .06));
}

.page-products .dl-dev:nth-child(1) { height: 100%; }
.page-products .dl-dev:nth-child(2) { height: 76%; }
.page-products .dl-dev:nth-child(3) { height: 54%; }
.page-products .dl-dev:nth-child(4) { height: 36%; }

.page-products .dl-stack-cap {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .06em;
  color: rgba(230, 224, 211, .55);
  text-align: right;
}

/* ===== 通用分带 ===== */
.page-products .dl-band {
  position: relative;
  padding: clamp(2.75rem, 7vw, 5rem) 0;
}

.page-products .dl-band--indigo {
  background: var(--ink-2);
}

.page-products .dl-band--paper {
  background: var(--paper);
  color: var(--text-ink);
}

.page-products .dl-band--paper .kicker {
  color: var(--wine);
}

.page-products .dl-band--paper .section-title {
  color: var(--text-ink);
}

.page-products .dl-band--paper .section-lede {
  color: #3a352c;
}

/* ===== 版本矩阵 ===== */
.page-products .vm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(.85rem, 2vw, 1.1rem);
}

.page-products .vm-col {
  border: 3px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--ink);
  overflow: hidden;
  transition: background .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}

.page-products .vm-col:hover,
.page-products .vm-col:focus-within {
  background: var(--dl-hover);
  border-color: var(--amber);
  box-shadow: var(--shadow-hard-amber);
}

.page-products .vm-trigger {
  display: block;
  width: 100%;
  padding: clamp(1.05rem, 2.4vw, 1.5rem);
  background: none;
  border: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.page-products .vm-tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .14em;
  color: var(--amber);
}

.page-products .vm-title {
  display: block;
  margin-top: .65rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.3;
  color: var(--paper);
}

.page-products .vm-sub {
  display: block;
  margin-top: .5rem;
  font-family: var(--font-body);
  font-size: .95rem;
  line-height: 1.7;
  color: var(--dl-dim);
}

.page-products .vm-cue {
  display: inline-block;
  margin-top: .95rem;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .06em;
  color: var(--sand);
}

.page-products .vm-cue::after {
  content: " ↓";
}

.page-products .vm-col .accordion-inner {
  padding: 1rem clamp(1.05rem, 2.4vw, 1.5rem) clamp(1.15rem, 2.4vw, 1.5rem);
  border-top: 1px solid var(--dl-hair);
}

.page-products .vm-spec {
  margin: 0;
}

.page-products .vm-spec dt {
  margin-top: .85rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  color: var(--celadon);
}

.page-products .vm-spec dt:first-child {
  margin-top: 0;
}

.page-products .vm-spec dd {
  margin: .35rem 0 0;
  font-family: var(--font-body);
  font-size: .92rem;
  line-height: 1.8;
  color: var(--dl-dim);
}

.page-products .vm-figure {
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 0;
}

/* ===== 老用户切换 ===== */
.page-products .sw-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.page-products .sw-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  counter-reset: sw;
}

.page-products .sw-step {
  position: relative;
  padding-left: 3.4rem;
  counter-increment: sw;
}

.page-products .sw-step::before {
  content: counter(sw, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .05rem;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .82rem;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .5);
}

.page-products .sw-step::after {
  content: "";
  position: absolute;
  left: 1.08rem;
  top: 2.5rem;
  bottom: -1.5rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(217, 164, 65, .55), rgba(217, 164, 65, .04));
}

.page-products .sw-step:last-child::after {
  display: none;
}

.page-products .sw-step-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.4;
  color: var(--paper);
}

.page-products .sw-step-body {
  margin: .5rem 0 0;
  max-width: var(--measure);
  font-family: var(--font-body);
  font-size: .97rem;
  line-height: 1.85;
  color: var(--dl-dim);
}

.page-products .sw-aside {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border: 3px solid var(--line);
  border-radius: var(--radius-card);
  background:
    radial-gradient(95% 70% at 74% 8%, rgba(217, 164, 65, .16), transparent 66%),
    var(--ink-2);
  box-shadow: var(--shadow-hard);
}

.page-products .sw-aside .img-frame {
  margin: 0;
}

.page-products .sw-aside-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .12em;
  color: var(--sand);
}

.page-products .sync-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.page-products .sync-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .34rem .75rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(79, 168, 139, .55);
  background: rgba(79, 168, 139, .12);
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--mist);
}

.page-products .sync-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--celadon);
  flex: none;
}

/* ===== 家庭设备接入 ===== */
.page-products .dev-figure {
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
}

.page-products .dev-rail-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.page-products .dev-rail {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0 0 1.1rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--amber) transparent;
}

.page-products .dev-card {
  flex: 0 0 min(80vw, 330px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: clamp(1.1rem, 2.6vw, 1.5rem);
  border: 3px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--ink);
  transition: border-color .28s var(--ease), background .28s var(--ease);
}

.page-products .dev-card:hover {
  border-color: var(--celadon);
  background: var(--dl-hover);
}

.page-products .dev-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  align-self: flex-start;
  padding: .28rem .68rem;
  border-radius: var(--radius-pill);
  background: rgba(168, 216, 200, .12);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--mist);
}

.page-products .dev-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  line-height: 1.25;
  color: var(--paper);
}

.page-products .dev-path {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: .45rem;
  font-family: var(--font-body);
  font-size: .93rem;
  line-height: 1.75;
  color: var(--dl-dim);
}

.page-products .dev-note {
  margin: auto 0 0;
  padding-top: .85rem;
  border-top: 1px dashed var(--dl-hair);
  font-family: var(--font-body);
  font-size: .88rem;
  line-height: 1.75;
  color: rgba(230, 224, 211, .6);
}

.page-products .dev-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

.page-products .dev-remote {
  margin: 0;
  max-width: 340px;
}

.page-products .dev-detail-title {
  margin: 0 0 .85rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  line-height: 1.3;
  color: var(--paper);
}

.page-products .dev-detail-body p {
  margin: 0 0 .85rem;
  max-width: 40em;
  font-family: var(--font-body);
  font-size: .97rem;
  line-height: 1.85;
  color: var(--dl-dim);
}

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

.page-products .dev-cast {
  margin: clamp(1.75rem, 4vw, 2.75rem) 0 0;
}

/* ===== 三步装好 ===== */
.page-products .steps3 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.6vw, 1.5rem);
  counter-reset: st3;
}

.page-products .step3 {
  position: relative;
  padding: clamp(1.2rem, 3vw, 1.75rem);
  padding-left: clamp(3.4rem, 7vw, 4rem);
  border: 3px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--ink-2);
  counter-increment: st3;
  transition: border-color .28s var(--ease);
}

.page-products .step3:hover {
  border-color: var(--celadon);
}

.page-products .step3-check {
  position: absolute;
  left: clamp(1.1rem, 2.6vw, 1.6rem);
  top: clamp(1.25rem, 3vw, 1.8rem);
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--celadon);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .45);
}

.page-products .step3-check::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: .4rem;
  height: .7rem;
  border: solid var(--ink);
  border-width: 0 2.5px 2.5px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.page-products .step3-title {
  margin: 0 0 .65rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.3;
  color: var(--paper);
}

.page-products .step3-body {
  margin: 0 0 .75rem;
  font-family: var(--font-body);
  font-size: .96rem;
  line-height: 1.85;
  color: var(--dl-dim);
}

.page-products .step3-done {
  margin: 0;
  padding: .6rem .85rem;
  border-left: 3px solid var(--celadon);
  background: rgba(79, 168, 139, .09);
  font-family: var(--font-mono);
  font-size: .8rem;
  line-height: 1.7;
  color: var(--mist);
}

/* ===== 迭代节奏 ===== */
.page-products .cad-timeline {
  display: grid;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .cad-timeline .timeline-item {
  position: relative;
  padding-left: 2rem;
}

.page-products .cad-timeline .timeline-meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .12em;
  color: var(--amber);
}

.page-products .cad-title {
  margin: .4rem 0 .4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.1vw, 1.28rem);
  line-height: 1.35;
  color: var(--paper);
}

.page-products .cad-body {
  margin: 0;
  max-width: 44em;
  font-family: var(--font-body);
  font-size: .95rem;
  line-height: 1.85;
  color: var(--dl-dim);
}

.page-products .cad-link {
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
}

/* ===== 下载前先看一眼 ===== */
.page-products .dl-faq {
  display: grid;
  gap: .85rem;
}

.page-products .dl-faq .accordion-item {
  border: 2px solid rgba(26, 26, 26, .25);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, .5);
  overflow: hidden;
}

.page-products .dl-faq .accordion-item:hover {
  border-color: var(--wine);
}

.page-products .faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.15rem;
  background: none;
  border: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.page-products .faq-q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.5;
  color: var(--text-ink);
}

.page-products .faq-trigger::after {
  content: "＋";
  flex: none;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--wine);
}

.page-products .dl-faq .accordion-inner {
  padding: 0 1.15rem 1.15rem;
}

.page-products .dl-faq .accordion-inner p {
  margin: 0;
  max-width: 46em;
  font-family: var(--font-body);
  font-size: .96rem;
  line-height: 1.85;
  color: #3a352c;
}

.page-products .dl-faq-foot {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.5rem, 3.5vw, 2.25rem);
  padding-top: 1.25rem;
  border-top: 2px solid rgba(26, 26, 26, .18);
}

.page-products .dl-faq-foot p {
  margin: 0;
  max-width: 44em;
  font-family: var(--font-body);
  font-size: .95rem;
  line-height: 1.8;
  color: #3a352c;
}

.page-products .dl-faq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

.page-products .dl-band--paper .btn-ghost {
  border-color: rgba(26, 26, 26, .35);
  color: var(--text-ink);
}

.page-products .dl-band--paper .btn-ghost:hover {
  border-color: var(--wine);
  color: var(--wine);
}

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

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

  .page-products .cad-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 2rem;
  }

  .page-products .dl-faq-foot {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .page-products .dl-hero-grid {
    grid-template-columns: 1.05fr .95fr;
  }

  .page-products .sw-grid {
    grid-template-columns: 1.15fr .85fr;
  }

  .page-products .dev-detail {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  }
}

@media (min-width: 1040px) {
  .page-products .vm-grid {
    grid-template-columns: 1.6fr 1.26fr 1fr .78fr;
    align-items: start;
  }

  .page-products .cad-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .page-products .dev-remote {
    max-width: 100%;
  }

  .page-products .sw-step {
    padding-left: 3rem;
  }
}

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