.page-products {
  --off-gap: clamp(18px, 2.6vw, 32px);
  --off-pad: clamp(44px, 6vw, 88px);
  --off-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

.page-products .breadcrumb {
  padding-top: clamp(16px, 2.4vw, 26px);
}

.page-products .breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(30, 27, 26, 0.68);
}

.page-products .eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cinnabar);
}

.page-products .section-title {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.page-products .section-head {
  display: grid;
  gap: 10px;
  max-width: 64ch;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-products .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-decoration: none;
}

/* ---------- 首屏 ---------- */
.page-products .off-hero {
  display: grid;
  gap: var(--off-gap);
  padding-block: clamp(20px, 3.4vw, 38px) clamp(34px, 5vw, 60px);
}

.page-products .off-hero__title {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(2.05rem, 6.4vw, 4.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.page-products .off-hero__lead {
  max-width: 36em;
  margin: clamp(14px, 2vw, 22px) 0 0;
  font-size: clamp(0.97rem, 1.3vw, 1.06rem);
  line-height: 1.85;
  color: rgba(30, 27, 26, 0.86);
}

.page-products .off-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin: clamp(18px, 2.4vw, 28px) 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: rgba(30, 27, 26, 0.7);
}

.page-products .off-hero__num {
  display: inline-block;
  margin-right: 7px;
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--cinnabar);
  border-bottom: 2px solid var(--gold);
}

.page-products .off-hero__card {
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid rgba(30, 27, 26, 0.1);
  border-radius: var(--off-radius);
  box-shadow: var(--shadow-soft);
}

.page-products .off-hero__card-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cinnabar);
}

.page-products .off-hero__card-title {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
}

.page-products .off-hero__card-text {
  margin: 10px 0 0;
  font-size: 0.9rem;
  line-height: 1.72;
  color: rgba(30, 27, 26, 0.78);
}

.page-products .off-hero__card-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.page-products .off-hero__versions {
  margin: 18px 0 0;
  padding: 16px 0 0;
  list-style: none;
  display: grid;
  gap: 9px;
  border-top: 1px dashed rgba(30, 27, 26, 0.16);
  font-size: 0.83rem;
  color: rgba(30, 27, 26, 0.7);
}

.page-products .off-hero__versions li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- 产品矩阵 ---------- */
.page-products .off-matrix {
  padding-block: var(--off-pad);
}

.page-products .off-matrix__intro {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(30, 27, 26, 0.78);
}

.page-products .off-matrix__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: clamp(18px, 2.6vw, 26px);
}

.page-products .off-matrix__status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(30, 27, 26, 0.55);
}

.page-products .off-matrix__grid {
  display: grid;
  gap: clamp(14px, 1.8vw, 22px);
  grid-template-columns: 1fr;
}

.page-products .line-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2vw, 26px);
  background: var(--paper-white);
  border: 1px solid rgba(30, 27, 26, 0.1);
  border-top: 3px solid var(--sand);
  border-radius: var(--off-radius);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.page-products .line-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.page-products .line-card--new { border-top-color: var(--gold); }
.page-products .line-card--stable { border-top-color: var(--cinnabar); }
.page-products .line-card--enterprise { border-top-color: var(--indigo); }
.page-products .line-card--family { border-top-color: var(--celadon); }

.page-products .line-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.page-products .line-card__kicker {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(30, 27, 26, 0.58);
}

.page-products .line-card__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 700;
  line-height: 1.3;
}

.page-products .line-card__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.78;
  color: rgba(30, 27, 26, 0.82);
}

.page-products .line-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(30, 27, 26, 0.78);
}

.page-products .line-card__list li {
  position: relative;
  padding-left: 16px;
}

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

.page-products .line-card__link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--cinnabar);
  text-decoration: none;
  border-bottom: 1px solid rgba(199, 55, 47, 0.4);
  padding-bottom: 2px;
}

.page-products .line-card__link:hover {
  border-bottom-color: var(--cinnabar);
}

/* ---------- 新手资料下载 ---------- */
.page-products .off-download {
  padding-block: var(--off-pad);
}

.page-products .off-download__intro {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(30, 27, 26, 0.78);
}

.page-products .off-flow {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 0 clamp(18px, 2.6vw, 28px);
}

.page-products .off-download__body {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  grid-template-columns: 1fr;
}

.page-products .media-frame {
  margin: 0;
  border-radius: var(--off-radius);
  overflow: hidden;
  background: var(--sand);
}

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

.page-products .media-frame__caption {
  padding: 10px 14px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(30, 27, 26, 0.62);
  background: var(--paper-white);
  border-top: 1px solid rgba(30, 27, 26, 0.08);
}

.page-products .off-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: clamp(14px, 2vw, 20px);
}

.page-products .off-steps__item {
  position: relative;
  padding: 16px 18px;
  background: var(--paper-white);
  border: 1px solid rgba(30, 27, 26, 0.1);
  border-left: 3px solid var(--cinnabar);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.page-products .off-steps__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-products .off-steps__title {
  margin: 6px 0 0;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.4;
}

.page-products .off-steps__item p {
  margin: 8px 0 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(30, 27, 26, 0.78);
}

.page-products .off-download__hint {
  margin: clamp(18px, 2.4vw, 26px) 0 0;
  font-size: 0.86rem;
  color: rgba(30, 27, 26, 0.68);
}

.page-products .off-download__hint a {
  color: var(--cinnabar);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 稳定版 ---------- */
.page-products .off-stable {
  padding-block: var(--off-pad);
  background: var(--deep);
  color: var(--paper-white);
}

.page-products .off-stable__inner {
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  grid-template-columns: 1fr;
  align-items: start;
}

.page-products .off-stable .eyebrow {
  color: var(--gold);
}

.page-products .off-stable .section-title {
  color: var(--paper-white);
}

.page-products .off-stable__text {
  margin: 14px 0 0;
  max-width: 36em;
  font-size: 0.94rem;
  line-height: 1.82;
  color: rgba(255, 253, 248, 0.82);
}

.page-products .off-stable__version {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 22px 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 248, 0.07);
}

.page-products .off-stable__version-num {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}

.page-products .off-stable__version-label {
  margin: 0 0 8px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: rgba(255, 253, 248, 0.66);
}

.page-products .off-copy {
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 253, 248, 0.42);
  background: transparent;
  color: var(--paper-white);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.page-products .off-copy:hover {
  background: rgba(255, 253, 248, 0.14);
}

.page-products .off-copy[data-copied] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.page-products .off-stable__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.72;
  color: rgba(255, 253, 248, 0.8);
}

.page-products .off-stable__list li {
  padding-left: 18px;
  position: relative;
}

.page-products .off-stable__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 2px;
  background: var(--gold);
}

.page-products .off-stable__list strong {
  color: var(--paper-white);
  font-weight: 600;
}

.page-products .off-stable__facts {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  margin: 24px 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 253, 248, 0.16);
}

.page-products .off-stable__facts dt {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(255, 253, 248, 0.62);
}

.page-products .off-stable__facts dd {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 1.12rem;
  color: var(--gold);
}

/* ---------- 企业比对 ---------- */
.page-products .off-compare {
  padding-block: var(--off-pad);
}

.page-products .off-compare__intro {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(30, 27, 26, 0.78);
}

.page-products .off-compare__media {
  margin-bottom: clamp(18px, 2.6vw, 28px);
}

.page-products .off-compare__tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(30, 27, 26, 0.12);
  border-radius: var(--off-radius);
  background: var(--paper-white);
}

.page-products .off-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.6;
}

.page-products .off-table__caption {
  caption-side: top;
  padding: 14px 18px;
  text-align: left;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: rgba(30, 27, 26, 0.6);
  border-bottom: 1px solid rgba(30, 27, 26, 0.1);
}

.page-products .off-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: var(--indigo);
  color: var(--paper-white);
}

.page-products .off-table tbody th {
  padding: 14px 16px;
  text-align: left;
  white-space: nowrap;
  background: var(--paper);
  border-bottom: 1px solid rgba(30, 27, 26, 0.08);
}

.page-products .off-table td {
  padding: 14px 16px;
  vertical-align: top;
  border-bottom: 1px solid rgba(30, 27, 26, 0.08);
  color: rgba(30, 27, 26, 0.82);
}

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

.page-products .off-table tbody tr:hover {
  background: rgba(217, 164, 65, 0.13);
}

.page-products .off-compare__notes {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin-top: clamp(20px, 3vw, 30px);
}

.page-products .off-compare__notes .accordion {
  background: var(--paper-white);
  border: 1px solid rgba(30, 27, 26, 0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.page-products .accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.page-products .accordion__trigger::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--cinnabar);
  line-height: 1;
}

.page-products .accordion__trigger[aria-expanded="true"]::after {
  content: "−";
}

.page-products .accordion__panel {
  padding: 0 16px 16px;
  font-size: 0.88rem;
  line-height: 1.76;
  color: rgba(30, 27, 26, 0.78);
}

.page-products .accordion__panel p {
  margin: 0;
}

.page-products .off-compare__cta {
  display: grid;
  gap: 14px;
  margin-top: clamp(20px, 3vw, 30px);
  padding: clamp(18px, 2.4vw, 26px);
  border-left: 4px solid var(--indigo);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--paper-white);
}

.page-products .off-compare__cta p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(30, 27, 26, 0.8);
}

.page-products .off-compare__cta .btn {
  justify-self: start;
}

/* ---------- 家庭收藏 ---------- */
.page-products .off-family {
  padding-block: var(--off-pad);
}

.page-products .off-family__inner {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  grid-template-columns: 1fr;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid rgba(94, 140, 122, 0.42);
  border-radius: var(--radius);
  background: linear-gradient(158deg, rgba(94, 140, 122, 0.12), rgba(255, 253, 248, 0.94) 58%);
}

.page-products .off-family__text {
  margin: 14px 0 0;
  max-width: 36em;
  font-size: 0.93rem;
  line-height: 1.8;
  color: rgba(30, 27, 26, 0.8);
}

.page-products .off-family__notes {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.page-products .off-family__notes li {
  padding: 11px 13px;
  background: var(--paper-white);
  border: 1px solid rgba(94, 140, 122, 0.26);
  border-left: 3px solid var(--celadon);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(30, 27, 26, 0.82);
}

.page-products .off-family__media img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- 收束 CTA ---------- */
.page-products .off-cta {
  padding-block: var(--off-pad);
  background: var(--indigo);
  color: var(--paper-white);
}

.page-products .off-cta__inner {
  display: grid;
  gap: clamp(18px, 2.6vw, 28px);
}

.page-products .off-cta .eyebrow {
  color: var(--gold);
}

.page-products .off-cta .section-title {
  color: var(--paper-white);
}

.page-products .off-cta__head {
  max-width: 60ch;
}

.page-products .off-cta__text {
  margin: 14px 0 0;
  font-size: 0.94rem;
  line-height: 1.82;
  color: rgba(255, 253, 248, 0.82);
}

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

/* ---------- 断点 ---------- */
@media (min-width: 760px) {
  .page-products .off-matrix__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (min-width: 940px) {
  .page-products .off-hero {
    grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(28px, 4vw, 56px);
  }

  .page-products .off-download__body {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
  }

  .page-products .off-stable__inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
  }

  .page-products .off-family__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
  }

  .page-products .off-compare__cta {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 1040px) {
  .page-products .off-matrix__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .page-products .line-card--new { grid-column: span 3; }
  .page-products .line-card--stable { grid-column: span 3; }
  .page-products .line-card--enterprise { grid-column: span 4; }
  .page-products .line-card--family { grid-column: span 2; }
}

@media (max-width: 520px) {
  .page-products .off-hero__points {
    gap: 10px 18px;
  }

  .page-products .off-stable__version {
    flex-wrap: wrap;
    gap: 12px;
  }

  .page-products .off-table {
    min-width: 760px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .line-card,
  .page-products .off-table tbody tr,
  .page-products .off-copy {
    transition: none;
  }

  .page-products .line-card:hover {
    transform: none;
  }
}
