.page-products {
  display: block;
  overflow-x: hidden;
}

.page-products .hl {
  color: var(--lime);
}

.page-products .section__note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mist);
}

/* ---------- 首屏 ---------- */
.page-products .products-hero {
  position: relative;
  padding: clamp(20px, 3.4vw, 40px) 0 clamp(32px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(90% 120% at 88% -20%, rgba(75, 63, 143, .42), transparent 62%),
    radial-gradient(70% 90% at 6% 0%, rgba(47, 224, 176, .1), transparent 58%);
}

.page-products .products-hero__grid {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  margin-top: clamp(20px, 3vw, 34px);
}

.page-products .products-hero__lead .display {
  margin: 10px 0 0;
}

.page-products .products-hero__lead .lede {
  margin-top: clamp(16px, 2vw, 22px);
}

.page-products .products-hero__facts {
  align-self: end;
  padding: clamp(18px, 2.4vw, 26px);
}

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

.page-products .fact-list li {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.68;
  color: var(--ink-soft);
}

.page-products .fact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 3px;
  background: var(--lime);
  transform: skewX(-16deg);
}

/* ---------- 入口选择器 ---------- */
.page-products .entry-picker {
  margin-top: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  overflow: hidden;
}

.page-products .entry-picker__tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.page-products .entry-picker__tabs::-webkit-scrollbar {
  display: none;
}

.page-products .entry-picker__tabs .tab {
  flex: 0 0 auto;
  white-space: nowrap;
}

.page-products .entry-picker .tab.is-active {
  box-shadow: inset 0 -3px 0 0 var(--lime);
}

.page-products .entry-panel {
  padding: clamp(20px, 3vw, 34px);
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
}

.page-products .entry-panel:not(.is-active) {
  display: none;
}

.page-products .entry-panel h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.3;
  color: var(--ivory);
}

.page-products .entry-panel__body p {
  margin: 0 0 16px;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-products .entry-panel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}

.page-products .bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .bullet-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.66;
  color: var(--ink-soft);
}

.page-products .bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 11px;
  height: 2px;
  background: var(--lime);
}

/* ---------- 设备对照 ---------- */
.page-products .device-compare__grid {
  display: grid;
  gap: var(--gap);
  margin-top: clamp(22px, 3vw, 34px);
}

.page-products .device-pane {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2.6vw, 30px);
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-products .device-pane--desktop {
  border-top: 3px solid var(--lime);
}

.page-products .device-pane--mobile {
  border-top: 3px solid var(--indigo);
}

.page-products .device-pane h3 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--ivory);
}

.page-products .device-pane > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-products .device-pane .media-frame {
  margin: auto 0 0;
}

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

/* ---------- 字段对照 ---------- */
.page-products .field-map__figure {
  margin: clamp(20px, 3vw, 30px) 0 clamp(20px, 3vw, 28px);
}

.page-products .field-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
}

.page-products .field-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 15px;
}

.page-products .field-table caption {
  padding: 16px 18px 0;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--mist);
}

.page-products .field-table th,
.page-products .field-table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.page-products .field-table thead th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--lime);
  background: rgba(198, 255, 61, .06);
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}

.page-products .field-table tbody th {
  font-weight: 600;
  color: var(--ivory);
  white-space: nowrap;
}

.page-products .field-table tbody td {
  color: var(--ink-soft);
  line-height: 1.7;
}

.page-products .field-table tbody tr {
  transition: background-color .16s var(--ease);
}

.page-products .field-table tbody tr:hover th,
.page-products .field-table tbody tr:hover td {
  background: rgba(198, 255, 61, .055);
}

/* ---------- 主客场对比 ---------- */
.page-products .duel-legend {
  display: flex;
  gap: 22px;
  margin-top: clamp(18px, 2.4vw, 26px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
}

.page-products .duel-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
}

.page-products .duel-legend__item::before {
  content: "";
  width: 20px;
  height: 6px;
  border-radius: 2px;
}

.page-products .duel-legend__item.is-home::before {
  background: var(--amber);
}

.page-products .duel-legend__item.is-away::before {
  background: var(--teal);
}

.page-products .metric-band {
  list-style: none;
  margin: clamp(16px, 2.4vw, 26px) 0 0;
  padding: 0;
  display: grid;
}

.page-products .metric {
  display: grid;
  grid-template-columns: minmax(88px, .9fr) minmax(0, 3fr) auto;
  grid-template-areas: "name bars values";
  align-items: center;
  gap: 14px;
  padding: 12px 2px;
  border-bottom: 1px dashed var(--line);
}

.page-products .metric__name {
  grid-area: name;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.page-products .metric__bars {
  grid-area: bars;
  display: grid;
  gap: 5px;
}

.page-products .metric__bar {
  display: block;
  height: 8px;
  border-radius: 2px;
  background: rgba(154, 176, 168, .13);
  overflow: hidden;
}

.page-products .metric__fill {
  display: block;
  height: 100%;
  border-radius: 2px;
}

.page-products .metric__bar--home .metric__fill {
  width: var(--hw, 0%);
  background: linear-gradient(90deg, var(--amber), #ffb37d);
}

.page-products .metric__bar--away .metric__fill {
  width: var(--aw, 0%);
  background: linear-gradient(90deg, var(--teal), #8bf2d8);
}

.page-products .metric__values {
  grid-area: values;
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 14px;
  white-space: nowrap;
}

.page-products .metric__values b {
  font-weight: 600;
}

.page-products .metric__home {
  color: var(--amber);
}

.page-products .metric__away {
  color: var(--teal);
}

.page-products .metric__sep {
  color: var(--ink-dim);
}

.page-products .duel-view__figure {
  margin: clamp(24px, 3.2vw, 38px) 0 0;
}

/* ---------- 下载与版本 ---------- */
.page-products .get-started {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(75, 63, 143, .26), transparent 62%);
}

.page-products .get-started__grid {
  display: grid;
  gap: clamp(24px, 3vw, 38px);
}

.page-products .step-list {
  list-style: none;
  margin: clamp(20px, 2.6vw, 28px) 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.page-products .step-list > li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

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

.page-products .step-list__num {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--lime);
}

.page-products .step-list h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--ivory);
}

.page-products .step-list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink-soft);
}

.page-products .get-started__spec {
  align-self: start;
  padding: clamp(18px, 2.4vw, 26px);
}

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

.page-products .spec-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}

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

.page-products .spec-list b {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--lime);
  white-space: nowrap;
}

.page-products .get-started__figure {
  margin: clamp(26px, 3.4vw, 40px) 0 0;
}

/* ---------- 常见问题 ---------- */
.page-products .faq-list {
  margin-top: clamp(20px, 2.8vw, 30px);
  display: grid;
  gap: 10px;
}

.page-products .faq-item {
  padding: 0 clamp(16px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
}

.page-products .faq-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ivory);
  cursor: pointer;
  list-style: none;
}

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

.page-products .faq-item summary::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform .2s var(--ease);
}

.page-products .faq-item[open] summary::before {
  transform: rotate(-135deg) translate(-1px, -1px);
}

.page-products .faq-item p {
  margin: 0 0 18px;
  padding-left: 20px;
  max-width: 70ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.page-products .faq-more {
  margin: clamp(20px, 2.6vw, 28px) 0 0;
  max-width: 72ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-products .faq-more a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid var(--lime-line);
}

.page-products .faq-more a:hover {
  border-bottom-color: var(--lime);
}

/* ---------- 响应式 ---------- */
@media (min-width: 760px) {
  .page-products .entry-panel {
    grid-template-columns: minmax(0, 1.65fr) minmax(170px, .55fr);
    align-items: start;
  }

  .page-products .get-started__grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(240px, .85fr);
    align-items: start;
  }
}

@media (min-width: 900px) {
  .page-products .products-hero__grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(270px, .85fr);
    align-items: end;
  }

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

@media (max-width: 620px) {
  .page-products .metric {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "name values"
      "bars bars";
    gap: 8px 12px;
  }

  .page-products .metric__name {
    font-size: 13px;
  }

  .page-products .metric__values {
    font-size: 13px;
  }

  .page-products .faq-item summary {
    font-size: 15px;
  }
}

@media (max-width: 460px) {
  .page-products .duel-legend {
    gap: 16px;
  }

  .page-products .field-table th,
  .page-products .field-table td {
    padding: 12px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .faq-item summary::before,
  .page-products .field-table tbody tr {
    transition: none;
  }
}

.page-products {
  --aw: 1rem;
  --hw: 1rem;
}
