.page-products {
  --dl-line: rgba(185, 179, 164, 0.18);
  --dl-line-strong: rgba(185, 179, 164, 0.34);
  --dl-ink-soft: rgba(11, 20, 16, 0.68);
  --dl-gap: clamp(20px, 3.4vw, 44px);
}

.page-products .section {
  padding-block: var(--section-y);
}

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

.page-products .dl-hero {
  position: relative;
  overflow: hidden;
}

.page-products .dl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 88% 12%, rgba(18, 230, 192, 0.12), transparent 62%),
    radial-gradient(90% 70% at 4% 96%, rgba(192, 102, 74, 0.14), transparent 60%);
  pointer-events: none;
}

.page-products .dl-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: end;
}

.page-products .dl-hero__copy {
  min-width: 0;
}

.page-products .dl-hero h1 {
  margin: 12px 0 0;
  font-size: clamp(32px, 6.4vw, 56px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  font-weight: 900;
  color: var(--mineral-linen);
  max-width: 20ch;
}

.page-products .dl-hero__lead {
  margin: 20px 0 0;
  max-width: 60ch;
  font-size: var(--fs-17);
  line-height: 1.8;
  color: var(--mineral-stone);
}

.page-products .dl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-products .dl-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(28px, 4vw, 46px) 0 0;
  padding: 1px 0 0;
  list-style: none;
  background: var(--dl-line);
}

.page-products .dl-fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px 18px;
  background: var(--bg-pitch);
  min-width: 0;
}

.page-products .dl-fact__num {
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1;
  color: var(--cyan);
  font-weight: 700;
}

.page-products .dl-fact__label {
  font-size: var(--fs-12);
  line-height: 1.55;
  color: var(--mineral-stone);
}

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

.page-products .dl-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: var(--bg-moss);
  object-fit: cover;
}

.page-products .dl-shot figcaption {
  margin-top: 10px;
  font-size: var(--fs-14);
  line-height: 1.65;
  color: var(--mineral-stone);
}

@media (min-width: 920px) {
  .page-products .dl-hero__grid {
    grid-template-columns: 58fr 42fr;
  }

  .page-products .dl-shot--hero img {
    aspect-ratio: 3 / 2;
  }
}

/* ---------- 通用小标题与导语 ---------- */

.page-products .dl-lead {
  margin: 14px 0 0;
  max-width: 64ch;
  font-size: var(--fs-17);
  line-height: 1.8;
  color: var(--mineral-stone);
}

.page-products .dl-lead--ink {
  color: var(--dl-ink-soft);
}

/* ---------- 三端下载 ---------- */

.page-products .dl-ends {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: clamp(24px, 4vw, 40px);
}

.page-products .dl-end {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 20px;
  background: var(--glass);
  border-left: 2px solid var(--moss-mid);
  border-radius: var(--radius);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.page-products .dl-end:hover,
.page-products .dl-end:focus-within {
  transform: translateY(-4px);
  background: var(--glass-strong);
  border-left-color: var(--cyan);
}

.page-products .dl-end__tag {
  margin: 0;
  font-size: var(--fs-12);
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-products .dl-end__name {
  margin: 0;
  font-size: var(--fs-24);
  line-height: 1.25;
  color: var(--mineral-linen);
  font-weight: 800;
}

.page-products .dl-end__ver {
  margin: 0;
  font-size: var(--fs-14);
  color: var(--mineral-stone);
}

.page-products .dl-end__ver .num {
  color: var(--mineral-clay);
  font-size: var(--fs-16);
}

.page-products .dl-end__upd {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.7;
  color: var(--mineral-stone);
}

.page-products .dl-end__hint {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.75;
  color: rgba(237, 231, 218, 0.72);
}

.page-products .dl-end__cta {
  margin-top: auto;
  padding-top: 12px;
  font-size: var(--fs-14);
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline-cyan);
  align-self: flex-start;
}

.page-products .dl-end__cta:hover,
.page-products .dl-end__cta:focus-visible {
  color: var(--cyan);
}

@media (min-width: 840px) {
  .page-products .dl-ends {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

/* ---------- 费用表 ---------- */

.page-products .dl-plans {
  background: var(--bg-pitch);
}

.page-products .dl-shot--wide {
  margin-top: clamp(24px, 4vw, 40px);
}

.page-products .dl-table {
  margin-top: clamp(28px, 4.4vw, 48px);
  border-top: 1px solid var(--dl-line-strong);
}

.page-products .dl-table__head {
  display: none;
}

.page-products .dl-table__group {
  margin: 0;
  padding: 22px 0 10px;
  font-size: var(--fs-12);
  letter-spacing: 0.2em;
  color: var(--mineral-clay);
  border-bottom: 1px solid var(--hairline);
}

.page-products .dl-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 18px 16px 18px 18px;
  border-bottom: 1px solid var(--dl-line);
  border-left: 3px solid var(--mineral-clay);
  background: var(--glass);
  position: relative;
  transition: background 0.2s ease, border-left-color 0.2s ease;
}

.page-products .dl-row:hover {
  background: var(--glass-strong);
  border-left-color: var(--orange);
}

.page-products .dl-row__name {
  font-size: var(--fs-18);
  font-weight: 800;
  color: var(--mineral-linen);
}

.page-products .dl-row__price {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  color: var(--orange);
  display: flex;
  align-items: baseline;
  gap: 0.4em;
}

.page-products .dl-row__price b {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  line-height: 1;
}

.page-products .dl-row__link {
  font-family: var(--font-sans);
  font-size: var(--fs-14);
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline-cyan);
}

.page-products .dl-row__ask {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: var(--fs-14);
  color: var(--mineral-stone);
}

.page-products .dl-row__desc {
  font-size: var(--fs-14);
  line-height: 1.7;
  color: var(--mineral-stone);
}

.page-products .dl-row__freq {
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  color: var(--moss-mid);
}

.page-products .dl-plans__foot {
  margin: clamp(24px, 3.6vw, 36px) 0 0;
  max-width: 66ch;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--mineral-stone);
}

.page-products .dl-plans__foot a {
  color: var(--blue);
}

@media (min-width: 880px) {
  .page-products .dl-table__head,
  .page-products .dl-row {
    display: grid;
    grid-template-columns:
      minmax(140px, 1.05fr)
      minmax(120px, 0.72fr)
      minmax(220px, 2.35fr)
      minmax(130px, 0.9fr);
    gap: 20px;
    align-items: baseline;
  }

  .page-products .dl-table__head {
    padding: 14px 0;
    font-size: var(--fs-12);
    letter-spacing: 0.2em;
    color: var(--moss-mid);
    border-bottom: 1px solid var(--dl-line-strong);
  }

  .page-products .dl-table__group {
    padding: 26px 0 8px;
  }

  .page-products .dl-row {
    padding: 20px 0 20px 16px;
    background: transparent;
    border-left: 3px solid var(--mineral-clay);
  }

  .page-products .dl-row:hover {
    background: rgba(237, 231, 218, 0.05);
  }

  .page-products .dl-row__desc,
  .page-products .dl-row__freq,
  .page-products .dl-row__price {
    padding-top: 2px;
  }
}

/* ---------- 球队库（浅色章） ---------- */

.page-products .dl-team {
  background: var(--mineral-linen);
  color: var(--ink);
}

.page-products .dl-team .section__head h2 {
  color: var(--ink);
}

.page-products .dl-team .eyebrow {
  color: var(--mineral-clay);
}

.page-products .dl-team__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--dl-gap);
  margin-top: clamp(20px, 3vw, 32px);
}

.page-products .dl-team__body {
  min-width: 0;
}

.page-products .dl-team__body p {
  margin: 0 0 16px;
  max-width: 62ch;
  font-size: var(--fs-16);
  line-height: 1.8;
  color: var(--dl-ink-soft);
}

.page-products .dl-team__list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(11, 20, 16, 0.14);
}

.page-products .dl-team__list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid rgba(11, 20, 16, 0.14);
  font-size: var(--fs-14);
  line-height: 1.7;
  color: var(--ink);
}

.page-products .dl-team__list .num {
  color: var(--mineral-clay);
  font-size: var(--fs-14);
}

.page-products .dl-team__cta {
  margin: 24px 0 0;
}

.page-products .dl-team .btn--ghost {
  border-color: rgba(11, 20, 16, 0.34);
  color: var(--ink);
}

.page-products .dl-team .btn--ghost:hover,
.page-products .dl-team .btn--ghost:focus-visible {
  background: rgba(11, 20, 16, 0.08);
}

.page-products .dl-team .figure__cap {
  color: var(--dl-ink-soft);
}

@media (min-width: 880px) {
  .page-products .dl-team__grid {
    grid-template-columns: 52fr 48fr;
    align-items: start;
    gap: clamp(28px, 5vw, 64px);
  }
}

/* ---------- 功能与指标 ---------- */

.page-products .dl-metrics__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--dl-gap);
  margin-top: clamp(24px, 4vw, 40px);
}

.page-products .dl-metrics__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--dl-line);
  min-width: 0;
}

.page-products .dl-metric {
  padding: 22px 18px 24px;
  background: var(--bg-pitch);
}

.page-products .dl-metric h3 {
  margin: 0 0 10px;
  font-size: var(--fs-18);
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 0.01em;
}

.page-products .dl-metric p {
  margin: 0;
  max-width: 60ch;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--mineral-stone);
}

.page-products .dl-metric a {
  color: var(--blue);
}

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

@media (min-width: 980px) {
  .page-products .dl-metrics__grid {
    grid-template-columns: 56fr 44fr;
    align-items: start;
  }
}

/* ---------- 订阅四步 ---------- */

.page-products .dl-steps {
  background: var(--bg-pitch);
}

.page-products .dl-steps__list {
  list-style: none;
  margin: clamp(28px, 4.4vw, 48px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.page-products .dl-step {
  position: relative;
  padding: 20px 18px 22px;
  background: var(--glass);
  border-top: 2px solid var(--hairline-cyan);
  border-radius: var(--radius);
  transition: background 0.22s ease, transform 0.22s ease;
}

.page-products .dl-step:hover {
  background: var(--glass-strong);
  transform: translateY(-4px);
}

.page-products .dl-step__idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  color: var(--cyan);
  font-size: var(--fs-16);
  margin-bottom: 14px;
}

.page-products .dl-step h3 {
  margin: 0 0 8px;
  font-size: var(--fs-18);
  font-weight: 800;
  color: var(--mineral-linen);
}

.page-products .dl-step p {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.78;
  color: var(--mineral-stone);
}

.page-products .dl-steps__foot {
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--dl-line);
  max-width: 70ch;
  font-size: var(--fs-14);
  line-height: 1.85;
  color: var(--mineral-stone);
}

.page-products .dl-steps__foot a {
  color: var(--blue);
}

@media (min-width: 860px) {
  .page-products .dl-steps__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding-bottom: 92px;
  }

  .page-products .dl-step:nth-child(2) {
    transform: translateY(30px);
  }

  .page-products .dl-step:nth-child(3) {
    transform: translateY(60px);
  }

  .page-products .dl-step:nth-child(4) {
    transform: translateY(90px);
  }

  .page-products .dl-step:nth-child(2):hover {
    transform: translateY(26px);
  }

  .page-products .dl-step:nth-child(3):hover {
    transform: translateY(56px);
  }

  .page-products .dl-step:nth-child(4):hover {
    transform: translateY(86px);
  }
}

/* ---------- 搭配建议 ---------- */

.page-products .dl-bundles__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--dl-gap);
  margin-top: clamp(24px, 4vw, 40px);
}

.page-products .dl-bundles__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
}

.page-products .dl-bundle {
  padding: 20px 18px 22px;
  border-left: 2px solid var(--moss-mid);
  background: var(--glass);
  border-radius: var(--radius);
}

.page-products .dl-bundle h3 {
  margin: 0 0 10px;
  font-size: var(--fs-18);
  font-weight: 800;
  color: var(--mineral-linen);
}

.page-products .dl-bundle__pick {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  color: var(--mineral-clay);
  letter-spacing: 0.02em;
}

.page-products .dl-bundle p:not(.dl-bundle__pick) {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--mineral-stone);
}

@media (min-width: 900px) {
  .page-products .dl-bundles__grid {
    grid-template-columns: 60fr 40fr;
    align-items: start;
  }

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

  .page-products .dl-bundle:first-child {
    grid-column: span 2;
  }
}

/* ---------- 测试版球队库价格 ---------- */

.page-products .dl-price-band {
  background: var(--bg-pitch);
  padding-block: clamp(36px, 5vw, 64px);
}

.page-products .dl-price-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--hairline-cyan);
  border-radius: var(--radius);
  background:
    linear-gradient(122deg, rgba(18, 230, 192, 0.12), rgba(192, 102, 74, 0.16) 62%, rgba(8, 21, 15, 0) 100%),
    var(--bg-moss);
}

.page-products .dl-price-band h2 {
  margin: 8px 0 0;
  font-size: clamp(24px, 3.6vw, 32px);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--mineral-linen);
}

.page-products .dl-price-band__note {
  margin: 12px 0 0;
  max-width: 52ch;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--mineral-stone);
}

.page-products .dl-price-band__figure {
  display: flex;
  align-items: baseline;
  gap: 0.32em;
  margin: 0;
}

.page-products .dl-price-band__figure .num {
  font-size: clamp(48px, 9vw, 72px);
  line-height: 0.95;
  font-weight: 700;
  color: var(--orange);
}

.page-products .dl-price-band__unit {
  font-size: var(--fs-16);
  color: var(--mineral-stone);
}

.page-products .dl-price-band__cta {
  margin: 0;
}

@media (min-width: 900px) {
  .page-products .dl-price-band__inner {
    grid-template-columns: minmax(0, 1.5fr) auto auto;
    gap: clamp(24px, 4vw, 56px);
  }

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

/* ---------- 窄屏保护 ---------- */

@media (max-width: 560px) {
  .page-products .dl-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-products .dl-table__group {
    letter-spacing: 0.14em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .dl-end,
  .page-products .dl-step,
  .page-products .dl-row {
    transition: none;
  }

  .page-products .dl-end:hover,
  .page-products .dl-end:focus-within,
  .page-products .dl-step:hover,
  .page-products .dl-step:nth-child(2):hover,
  .page-products .dl-step:nth-child(3):hover,
  .page-products .dl-step:nth-child(4):hover {
    transform: none;
  }
}
