.page-products {
  --dl-gap: clamp(24px, 3.6vw, 48px);
  --dl-edge: clamp(20px, 4vw, 56px);
  overflow-x: hidden;
}

.page-products h1,
.page-products h2,
.page-products h3 {
  margin: 0;
}

.page-products p {
  margin: 0;
}

.page-products ul,
.page-products ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- 首屏 ---------- */

.page-products .dl-hero {
  position: relative;
  background: var(--ink-900);
  color: var(--cream);
  padding: clamp(88px, 11vw, 144px) 0 clamp(48px, 7vw, 88px);
  overflow: hidden;
}

.page-products .dl-hero::before {
  content: "";
  position: absolute;
  left: 46%;
  top: -30%;
  width: 96%;
  height: 170%;
  background: linear-gradient(155deg, rgba(42, 101, 87, .55) 0%, rgba(8, 25, 19, .12) 70%);
  clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-products .dl-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 62%;
  height: 6px;
  background: linear-gradient(90deg, var(--copper) 0%, rgba(192, 139, 62, 0) 100%);
  pointer-events: none;
}

.page-products .dl-hero__shell {
  position: relative;
  z-index: 1;
}

.page-products .dl-hero .breadcrumb {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.page-products .dl-hero__layout {
  display: grid;
  gap: var(--dl-gap);
}

.page-products .dl-hero__title {
  font-size: clamp(40px, 9vw, 86px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: var(--cream);
  margin-top: 14px;
}

.page-products .dl-hero__lead {
  margin-top: clamp(20px, 3vw, 30px);
  max-width: 46em;
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.85;
  color: rgba(239, 233, 220, .84);
}

.page-products .dl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 3.5vw, 38px);
}

.page-products .dl-hero__panel {
  align-self: start;
  background: rgba(8, 25, 19, .58);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-card);
  padding: clamp(22px, 2.4vw, 30px);
  backdrop-filter: blur(6px);
}

.page-products .dl-hero__panel-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-products .dl-hero__vers {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.page-products .dl-hero__vers-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-dark);
}

.page-products .dl-hero__vers-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-products .dl-hero__vers-name {
  font-size: 14px;
  color: rgba(239, 233, 220, .8);
}

.page-products .dl-hero__panel-note {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(239, 233, 220, .6);
}

.page-products .dl-hero .version-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(192, 139, 62, .16);
  border: 1px solid rgba(192, 139, 62, .5);
  color: var(--copper-200);
  font-size: 13px;
  letter-spacing: .04em;
}

/* ---------- 场景 ---------- */

.page-products .dl-scene {
  padding: clamp(56px, 8vw, 104px) 0;
}

.page-products .dl-scene .section-head__title {
  margin-top: 10px;
}

.page-products .dl-scene__grid {
  margin-top: var(--dl-gap);
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
}

.page-products .dl-scene__item {
  position: relative;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(24px, 2.8vw, 34px);
  overflow: hidden;
}

.page-products .dl-scene__item::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(42, 101, 87, .08);
}

.page-products .dl-scene__num {
  display: block;
  font-size: 34px;
  line-height: 1;
  color: var(--copper);
  letter-spacing: -0.02em;
}

.page-products .dl-scene__name {
  margin-top: 16px;
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--char);
}

.page-products .dl-scene__desc {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text-body);
}

.page-products .dl-scene__pick {
  margin-top: 18px;
  display: inline-block;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-700);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(192, 139, 62, .16);
}

/* ---------- 三版对照卡 ---------- */

.page-products .dl-cards {
  padding: clamp(56px, 8vw, 104px) 0;
}

.page-products .dl-cards .section-head__title,
.page-products .dl-cards .section-head__meta {
  color: var(--cream);
}

.page-products .dl-cards .eyebrow {
  color: var(--cyan);
}

.page-products .dl-cards__grid {
  margin-top: var(--dl-gap);
  display: grid;
  gap: clamp(18px, 2.2vw, 24px);
}

.page-products .dl-card {
  display: flex;
  flex-direction: column;
  background: rgba(8, 25, 19, .48);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-card);
  padding: clamp(24px, 2.8vw, 34px);
  border-top: 3px solid var(--ink-500);
}

.page-products .dl-card--std {
  border-top-color: var(--cyan);
}

.page-products .dl-card--big {
  border-top-color: var(--copper);
}

.page-products .dl-card--web {
  border-top-color: var(--ember);
}

.page-products .dl-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.page-products .dl-card__name {
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.page-products .dl-card .version-badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(192, 139, 62, .16);
  border: 1px solid rgba(192, 139, 62, .5);
  color: var(--copper-200);
  font-size: 13px;
  letter-spacing: .04em;
}

.page-products .dl-card__tag {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--cyan);
}

.page-products .dl-card__list {
  margin-top: 20px;
  display: grid;
  gap: 12px;
  flex: 1;
}

.page-products .dl-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(239, 233, 220, .82);
}

.page-products .dl-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
}

.page-products .dl-card__foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-dark);
  font-size: 13px;
  line-height: 1.75;
  color: rgba(239, 233, 220, .58);
}

/* ---------- 版本号拆解 ---------- */

.page-products .dl-num {
  padding: clamp(56px, 8vw, 104px) 0;
}

.page-products .dl-num__grid {
  align-items: start;
  gap: var(--dl-gap);
}

.page-products .dl-num .section-head__title {
  margin-top: 10px;
  color: var(--char);
}

.page-products .dl-num__lead {
  margin-top: 18px;
  max-width: 40em;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-body);
}

.page-products .dl-num__segs {
  margin-top: clamp(24px, 3vw, 34px);
  display: grid;
  gap: 16px;
}

.page-products .dl-num__seg {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "key val"
    "desc desc";
  gap: 4px 16px;
  align-items: baseline;
  padding: 18px 20px;
  background: rgba(239, 233, 220, .62);
  border-left: 3px solid var(--copper);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.page-products .dl-num__seg-key {
  grid-area: key;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ink-700);
}

.page-products .dl-num__seg-val {
  grid-area: val;
  font-size: 30px;
  line-height: 1;
  color: var(--copper);
}

.page-products .dl-num__seg-desc {
  grid-area: desc;
  margin-top: 6px;
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-body);
}

.page-products .dl-num__tail {
  margin-top: clamp(22px, 3vw, 32px);
  font-family: var(--font-serif);
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text-body);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ---------- 通用模块 ---------- */

.page-products .dl-mod {
  padding: clamp(56px, 8vw, 104px) 0;
}

.page-products .dl-mod__grid {
  gap: var(--dl-gap);
  align-items: start;
}

.page-products .dl-mod .section-head__title {
  margin-top: 10px;
  color: var(--char);
}

.page-products .dl-mod__lead {
  margin-top: 18px;
  max-width: 38em;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-body);
}

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

.page-products .dl-mod__item {
  padding-left: 20px;
  border-left: 2px solid var(--ink-500);
}

.page-products .dl-mod__item-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--char);
}

.page-products .dl-mod__item p {
  margin-top: 8px;
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-body);
}

.page-products .dl-mod .figure {
  margin: 0;
}

/* ---------- 大屏版 ---------- */

.page-products .dl-mod--big .section-head__title {
  color: var(--char);
}

.page-products .dl-big__intro {
  margin-top: clamp(22px, 3vw, 30px);
  max-width: 54em;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-body);
}

.page-products .dl-big__cols {
  margin-top: var(--dl-gap);
  display: grid;
  gap: var(--dl-gap);
}

.page-products .dl-big__list {
  display: grid;
  gap: 18px;
}

.page-products .dl-big__list li {
  padding: 18px 20px;
  background: rgba(239, 233, 220, .6);
  border-radius: var(--r-sm);
}

.page-products .dl-big__k {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ink-700);
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(79, 224, 200, .22);
}

.page-products .dl-big__list p {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-body);
}

.page-products .dl-big__figure {
  margin: 0;
}

/* ---------- 流程 ---------- */

.page-products .dl-flow {
  padding: clamp(56px, 8vw, 104px) 0;
}

.page-products .dl-flow .section-head__title {
  color: var(--cream);
}

.page-products .dl-flow .section-head__meta {
  color: rgba(239, 233, 220, .62);
}

.page-products .dl-flow .eyebrow {
  color: var(--cyan);
}

.page-products .dl-flow__figure {
  margin: var(--dl-gap) 0 0;
}

.page-products .dl-flow__list {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid;
  gap: 18px;
}

.page-products .dl-flow__step {
  position: relative;
  padding: clamp(22px, 2.6vw, 30px);
  background: rgba(8, 25, 19, .5);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-card);
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
}

.page-products .dl-flow__step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  border-radius: var(--r-card) 0 0 var(--r-card);
  background: var(--copper);
  transform: scaleY(.4);
  transform-origin: top;
  transition: transform 260ms var(--ease);
}

.page-products .dl-flow__step:hover::before,
.page-products .dl-flow__step:focus-within::before {
  transform: scaleY(1);
}

.page-products .dl-flow__step:hover,
.page-products .dl-flow__step:focus-within {
  background: rgba(23, 69, 59, .55);
  border-color: rgba(192, 139, 62, .45);
}

.page-products .dl-flow__num {
  display: block;
  font-size: 26px;
  line-height: 1;
  color: var(--copper);
}

.page-products .dl-flow__name {
  margin-top: 12px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.page-products .dl-flow__text {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.85;
  color: rgba(239, 233, 220, .8);
}

.page-products .dl-flow__hint {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-dark);
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(79, 224, 200, .82);
}

.page-products .dl-flow__foot {
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: clamp(22px, 3vw, 32px);
  border-top: 1px solid var(--line-dark);
  display: grid;
  gap: 20px;
}

.page-products .dl-flow__foot p {
  max-width: 52em;
  font-family: var(--font-serif);
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(239, 233, 220, .78);
}

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

/* ---------- 环境表 ---------- */

.page-products .dl-env {
  padding: clamp(56px, 8vw, 104px) 0;
}

.page-products .dl-env__scroll {
  margin-top: var(--dl-gap);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--cream-soft);
}

.page-products .dl-env__table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .dl-env__table thead th {
  background: var(--ink-900);
  color: var(--cream);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .02em;
  text-align: left;
  padding: 16px 18px;
  white-space: nowrap;
}

.page-products .dl-env__table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--stone);
  color: var(--char);
  font-weight: 600;
  font-size: 13.5px;
  text-align: left;
  padding: 15px 18px;
  white-space: nowrap;
  border-right: 1px solid var(--line);
}

.page-products .dl-env__table tbody td {
  padding: 15px 18px;
  color: var(--text-body);
  font-family: var(--font-serif);
  line-height: 1.7;
  border-bottom: 1px solid var(--line);
}

.page-products .dl-env__table tbody tr:nth-child(even) td {
  background: rgba(207, 201, 188, .34);
}

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

.page-products .dl-env__note {
  margin-top: 20px;
  max-width: 56em;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 收尾 ---------- */

.page-products .dl-cta {
  padding: clamp(56px, 8vw, 96px) 0;
}

.page-products .dl-cta__inner {
  display: grid;
  gap: var(--dl-gap);
  align-items: center;
}

.page-products .dl-cta .eyebrow {
  color: var(--cyan);
}

.page-products .dl-cta__title {
  margin-top: 12px;
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.24;
  color: var(--cream);
}

.page-products .dl-cta__text {
  margin-top: 18px;
  max-width: 48em;
  font-family: var(--font-serif);
  font-size: 14.5px;
  line-height: 1.88;
  color: rgba(239, 233, 220, .8);
}

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

/* ---------- 焦点可见 ---------- */

.page-products .dl-flow__step:focus-visible,
.page-products .dl-env__scroll:focus-visible,
.page-products a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ---------- 响应式 ---------- */

@media (min-width: 640px) {
  .page-products .dl-scene__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-products .dl-scene__item:first-child {
    grid-column: 1 / -1;
  }
  .page-products .dl-cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-products .dl-card--web {
    grid-column: 1 / -1;
  }
  .page-products .dl-flow__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-products .dl-flow__foot {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

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

  .page-products .dl-scene__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-products .dl-scene__item:first-child {
    grid-column: auto;
  }

  .page-products .dl-cards__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-products .dl-card--web {
    grid-column: auto;
  }

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

  .page-products .dl-flow__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
  }

  .page-products .dl-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 1100px) {
  .page-products .dl-num__segs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-products .dl-num__seg {
    grid-template-columns: 1fr;
    grid-template-areas:
      "key"
      "val"
      "desc";
    border-left: 0;
    border-top: 3px solid var(--copper);
    border-radius: 0 0 var(--r-sm) var(--r-sm);
    padding: 22px 20px;
  }
  .page-products .dl-num__seg-val {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .dl-flow__step,
  .page-products .dl-flow__step::before {
    transition: none;
  }
  .page-products .dl-flow__step::before {
    transform: scaleY(1);
  }
}
