.page-products {
  --pf-rule: rgba(11, 33, 27, 0.14);
  --pf-rule-light: rgba(246, 240, 227, 0.16);
  background: var(--paper);
  color: var(--green-hall);
  font-family: var(--font-body);
  line-height: 1.75;
  overflow-x: hidden;
}

.page-products img {
  max-width: 100%;
  height: auto;
}

/* ---------- 首屏 ---------- */
.page-products .pf-hero {
  position: relative;
  padding: 1.75rem 0 2.75rem;
  background:
    radial-gradient(circle at 86% 4%, rgba(201, 154, 60, 0.22), transparent 52%),
    radial-gradient(circle at 8% 96%, rgba(30, 74, 59, 0.85), transparent 58%),
    var(--green-hall);
  color: var(--paper);
}

.page-products .pf-hero__crumb {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: rgba(246, 240, 227, 0.6);
  margin-bottom: 2rem;
}

.page-products .pf-hero__crumb a {
  color: rgba(246, 240, 227, 0.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 154, 60, 0.5);
}

.page-products .pf-hero__crumb span[aria-hidden] {
  margin: 0 0.45rem;
  color: rgba(201, 154, 60, 0.7);
}

.page-products .pf-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-field);
}

.page-products .pf-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--amber);
  flex: none;
}

.page-products .pf-eyebrow--light {
  color: var(--amber);
}

.page-products .pf-hero__title {
  margin: 0;
  max-width: 15ch;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.15rem, 8vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-products .pf-hero__lede {
  margin: 1.15rem 0 0;
  max-width: 48ch;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(246, 240, 227, 0.82);
}

.page-products .pf-hero__index {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  max-width: 34rem;
  border-top: 1px solid rgba(201, 154, 60, 0.45);
}

.page-products .pf-hero__index li {
  border-bottom: 1px solid rgba(246, 240, 227, 0.12);
}

.page-products .pf-hero__index a {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 0.72rem 0;
  font-size: 0.9375rem;
  color: rgba(246, 240, 227, 0.92);
  text-decoration: none;
  transition: color 0.18s ease, padding-left 0.18s ease;
}

.page-products .pf-hero__index a:hover {
  color: var(--amber);
  padding-left: 0.35rem;
}

.page-products .pf-no {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--amber);
  flex: none;
}

/* ---------- 主体与侧栏 ---------- */
.page-products .pf-body {
  padding: 2.5rem 0 3.5rem;
}

.page-products .pf-body__inner {
  display: grid;
  gap: 2rem;
}

.page-products .pf-rail {
  display: none;
}

.page-products .pf-rail__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}

.page-products .pf-rail__link {
  display: block;
  padding: 0.45rem 0 0.45rem 0.9rem;
  border-left: 2px solid transparent;
  font-size: 0.875rem;
  color: rgba(11, 33, 27, 0.6);
  text-decoration: none;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.page-products .pf-rail__link:hover,
.page-products .pf-rail__link.is-active {
  border-left-color: var(--orange);
  color: var(--green-hall);
  font-weight: 500;
}

/* ---------- 分区通用 ---------- */
.page-products .pf-section {
  padding: 0 0 3rem;
}

.page-products .pf-section + .pf-section {
  padding-top: 2.75rem;
  border-top: 1px solid var(--pf-rule);
}

.page-products .pf-section--field,
.page-products .pf-section--indigo,
.page-products .pf-section--old {
  border-radius: 3px;
  padding: 2.25rem 1.25rem;
  border-top: none;
}

.page-products .pf-section--field {
  background: var(--green-field);
  color: var(--paper);
}

.page-products .pf-section--indigo {
  background: var(--indigo);
  color: var(--paper);
}

.page-products .pf-section--old {
  background: var(--paper-old);
}

.page-products .pf-h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 5.2vw, 2.4rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--green-hall);
}

.page-products .pf-section--field .pf-h2,
.page-products .pf-section--indigo .pf-h2 {
  color: var(--paper);
}

.page-products .pf-lede {
  margin: 0;
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(11, 33, 27, 0.78);
}

.page-products .pf-lede--light {
  color: rgba(246, 240, 227, 0.82);
}

/* ---------- 模块总览 ---------- */
.page-products .pf-modules {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 2px solid var(--green-hall);
}

.page-products .pf-module {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  align-items: start;
  gap: 0.3rem 0.6rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--pf-rule);
}

.page-products .pf-module__no {
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--amber);
  padding-top: 0.28rem;
}

.page-products .pf-module__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-hall);
}

.page-products .pf-module__scene {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(11, 33, 27, 0.72);
}

/* ---------- 图片 ---------- */
.page-products .pf-figure {
  margin: 1.9rem 0 0;
}

.page-products .pf-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(201, 154, 60, 0.35);
}

.page-products .pf-figure__caption {
  margin: 0.6rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(11, 33, 27, 0.58);
}

.page-products .pf-section--field .pf-figure__caption,
.page-products .pf-section--indigo .pf-figure__caption {
  color: rgba(246, 240, 227, 0.66);
}

/* ---------- 技能树 ---------- */
.page-products .pf-tree {
  list-style: none;
  position: relative;
  margin: 2rem 0 0;
  padding: 0 0 0 2.2rem;
}

.page-products .pf-tree::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 0.7rem;
  bottom: 1rem;
  width: 2px;
  background: linear-gradient(to bottom, rgba(201, 154, 60, 0.7), rgba(201, 154, 60, 0.12));
}

.page-products .pf-tree__node {
  position: relative;
  padding: 0 0 1.5rem;
}

.page-products .pf-tree__node::before {
  content: "";
  position: absolute;
  left: -1.62rem;
  top: 0.42rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-field);
  border: 2px solid rgba(201, 154, 60, 0.75);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-products .pf-tree__node.is-lit::before {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(224, 101, 46, 0.18);
}

.page-products .pf-tree__no {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 0.2rem;
}

.page-products .pf-tree__name {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--paper);
}

.page-products .pf-tree__body p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(246, 240, 227, 0.8);
}

/* ---------- 操作记录 ---------- */
.page-products .pf-records {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.75rem;
}

.page-products .pf-records__stat {
  padding: 1.25rem 1.1rem;
  background: var(--green-deep);
  color: var(--paper);
  border-radius: 3px;
}

.page-products .pf-records__num {
  display: block;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--amber);
  letter-spacing: -0.02em;
}

.page-products .pf-records__unit {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(246, 240, 227, 0.82);
}

.page-products .pf-records__note {
  margin: 0.85rem 0 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(246, 240, 227, 0.72);
}

.page-products .pf-events {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--pf-rule);
}

.page-products .pf-events li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--pf-rule);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(11, 33, 27, 0.76);
}

.page-products .pf-events strong {
  font-weight: 700;
  color: var(--green-hall);
}

.page-products .pf-events__no {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--wine);
}

.page-products .pf-tip {
  margin: 1.6rem 0 0;
  padding-left: 0.95rem;
  border-left: 3px solid var(--amber);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(11, 33, 27, 0.78);
}

.page-products .pf-tip a {
  color: var(--green-field);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 帮助栏分类 ---------- */
.page-products .pf-cats {
  list-style: none;
  margin: 1.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-products .pf-cat {
  display: grid;
  grid-template-columns: 2rem 1fr;
  align-items: start;
  gap: 0.5rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(11, 33, 27, 0.1);
}

.page-products .pf-cat:first-child {
  border-top: 1px solid rgba(11, 33, 27, 0.1);
}

.page-products .pf-cat__no {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--wine);
  padding-top: 0.25rem;
}

.page-products .pf-cat__name {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-hall);
}

.page-products .pf-cat p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(11, 33, 27, 0.72);
}

/* ---------- 版本对照 ---------- */
.page-products .pf-compare {
  margin: 1.9rem 0 0;
  border-top: 1px solid rgba(246, 240, 227, 0.2);
}

.page-products .pf-compare__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.3rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(246, 240, 227, 0.16);
}

.page-products .pf-compare__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--amber);
}

.page-products .pf-compare__arrow {
  display: none;
  color: rgba(246, 240, 227, 0.45);
  font-family: var(--font-mono);
}

.page-products .pf-compare__text {
  font-size: 0.9375rem;
  line-height: 1.72;
  color: rgba(246, 240, 227, 0.86);
}

.page-products .pf-cases__more {
  margin: 1.4rem 0 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(246, 240, 227, 0.62);
}

/* ---------- 上手建议 ---------- */
.page-products .pf-start {
  list-style: none;
  margin: 1.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
}

.page-products .pf-start__item {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.55rem;
  align-items: start;
}

.page-products .pf-start__no {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.1;
  color: rgba(201, 154, 60, 0.9);
}

.page-products .pf-start__item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-hall);
}

.page-products .pf-start__item p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(11, 33, 27, 0.74);
}

/* ---------- 行内链接 ---------- */
.page-products .pf-inline-link {
  margin: 1.35rem 0 0;
  font-size: 0.9375rem;
}

.page-products .pf-inline-link a {
  color: var(--green-field);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 154, 60, 0.6);
  padding-bottom: 2px;
}

.page-products .pf-inline-link--light a {
  color: var(--amber);
  border-bottom-color: rgba(201, 154, 60, 0.55);
}

/* ---------- 结尾行动 ---------- */
.page-products .pf-cta {
  margin-top: 1rem;
  padding: 1.9rem 1.25rem;
  background: var(--green-hall);
  color: var(--paper);
  border-radius: 3px;
  display: grid;
  gap: 1.4rem;
}

.page-products .pf-cta__title {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.6vw, 1.9rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--paper);
}

.page-products .pf-cta__text p {
  margin: 0;
  max-width: 46ch;
  font-size: 0.9375rem;
  line-height: 1.78;
  color: rgba(246, 240, 227, 0.78);
}

.page-products .pf-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- 宽屏 ---------- */
@media (min-width: 760px) {
  .page-products .pf-hero {
    padding: 2.25rem 0 3.75rem;
  }

  .page-products .pf-hero__lede {
    font-size: 1.0625rem;
  }

  .page-products .pf-hero__index {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
    max-width: none;
  }

  .page-products .pf-modules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }

  .page-products .pf-module:nth-last-child(2) {
    border-bottom: 1px solid var(--pf-rule);
  }

  .page-products .pf-records {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
    align-items: start;
    gap: 2.5rem;
  }

  .page-products .pf-cats {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }

  .page-products .pf-cat:nth-child(2) {
    border-top: 1px solid rgba(11, 33, 27, 0.1);
  }

  .page-products .pf-start {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
    row-gap: 1.9rem;
  }

  .page-products .pf-compare__row {
    grid-template-columns: 10rem 1.5rem 1fr;
    align-items: baseline;
    gap: 0.9rem;
  }

  .page-products .pf-compare__arrow {
    display: block;
  }

  .page-products .pf-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 2.25rem 2rem;
  }

  .page-products .pf-cta__actions {
    flex-wrap: nowrap;
  }
}

@media (min-width: 960px) {
  .page-products .pf-body {
    padding: 3.5rem 0 4.5rem;
  }

  .page-products .pf-body__inner {
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
  }

  .page-products .pf-rail {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 1.75rem);
    padding-top: 0.35rem;
    align-self: start;
  }

  .page-products .pf-section {
    padding-bottom: 3.75rem;
  }

  .page-products .pf-section + .pf-section {
    padding-top: 3.5rem;
  }

  .page-products .pf-section--field,
  .page-products .pf-section--indigo,
  .page-products .pf-section--old {
    padding: 2.75rem 2.5rem;
    margin-left: -2.5rem;
    margin-right: -2.5rem;
  }

  .page-products .pf-figure {
    margin-top: 2.25rem;
  }

  .page-products .pf-module__scene,
  .page-products .pf-cat p,
  .page-products .pf-events li,
  .page-products .pf-compare__text,
  .page-products .pf-start__item p {
    max-width: 46ch;
  }
}

@media (min-width: 1200px) {
  .page-products .pf-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    column-gap: 4rem;
    align-items: end;
  }

  .page-products .pf-hero__crumb {
    grid-column: 1 / -1;
    margin-bottom: 2.75rem;
  }

  .page-products .pf-hero__title,
  .page-products .pf-hero__lede {
    grid-column: 1;
  }

  .page-products .pf-hero__eyebrow,
  .page-products .pf-hero__eyebrow {
    grid-column: 1;
  }

  .page-products .pf-hero__index {
    grid-column: 2;
    grid-row: 2 / span 3;
    align-self: end;
    grid-template-columns: 1fr;
    border-top-color: rgba(201, 154, 60, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pf-hero__index a,
  .page-products .pf-rail__link,
  .page-products .pf-tree__node::before {
    transition: none;
  }

  .page-products .pf-hero__index a:hover {
    padding-left: 0;
  }
}
