.page-products {
  --xp-notch: 22px;
  --xp-gap: clamp(16px, 2.6vw, 30px);
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--sans);
}

.page-products .breadcrumbs {
  padding-top: 16px;
  padding-bottom: 4px;
}

.page-products h2,
.page-products h3 {
  font-family: var(--serif);
  color: var(--ink);
}

.page-products a:focus-visible,
.page-products button:focus-visible,
.page-products summary:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

/* ---------- 首屏框景 ---------- */
.page-products .xp-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3.4vw, 40px) 0 clamp(34px, 5vw, 64px);
  background:
    radial-gradient(120% 100% at 8% -10%, rgba(228, 87, 46, 0.16), rgba(228, 87, 46, 0) 55%),
    radial-gradient(90% 90% at 96% 4%, rgba(217, 181, 109, 0.34), rgba(217, 181, 109, 0) 58%),
    linear-gradient(180deg, #FCF7EE 0%, #F7F1E3 100%);
}

.page-products .xp-hero::after {
  content: "";
  position: absolute;
  right: -14%;
  top: 16%;
  width: 48%;
  height: 1px;
  background: linear-gradient(90deg, rgba(228, 87, 46, 0), rgba(228, 87, 46, 0.5), rgba(217, 181, 109, 0));
  transform: rotate(-24deg);
  pointer-events: none;
}

.page-products .xp-hero__frame {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  padding: clamp(18px, 3vw, 38px);
  box-shadow: var(--shadow-card);
}

.page-products .xp-hero__frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(217, 181, 109, 0.6);
  pointer-events: none;
}

.page-products .xp-hero__frame::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 46px;
  border-top: 3px solid var(--ember);
  border-left: 3px solid var(--ember);
  pointer-events: none;
}

.page-products .xp-hero__grid {
  display: grid;
  gap: var(--xp-gap);
  align-items: start;
  margin-top: 12px;
}

.page-products .xp-hero h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(1.8rem, 4.6vw, 3.05rem);
  line-height: 1.24;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 17em;
}

.page-products .xp-hero__lede {
  margin: 0;
  max-width: 34em;
  font-size: clamp(0.98rem, 1.6vw, 1.05rem);
  line-height: 1.85;
  color: #4A4A4A;
}

.page-products .xp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.page-products .xp-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  list-style: none;
  margin: 26px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.page-products .xp-stats li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.page-products .xp-stats__num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.32rem);
  color: var(--ember-deep);
  line-height: 1.2;
}

.page-products .xp-stats__label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--mist-ink);
}

.page-products .xp-spec {
  position: relative;
  padding: clamp(20px, 3vw, 28px);
  color: #F3EADB;
  background: linear-gradient(155deg, #22344E 0%, var(--ink-deep) 100%);
  clip-path: polygon(0 0, calc(100% - var(--xp-notch)) 0, 100% var(--xp-notch), 100% 100%, 0 100%);
}

.page-products .xp-spec__kicker {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--gold);
}

.page-products .xp-spec__title {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.16rem;
  line-height: 1.4;
  color: #FFF6E8;
}

.page-products .xp-spec__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .xp-spec__list li {
  display: grid;
  gap: 3px;
  padding-top: 12px;
  border-top: 1px dashed rgba(217, 181, 109, 0.4);
}

.page-products .xp-spec__list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.page-products .xp-spec__label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-products .xp-spec__value {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #E4DACB;
}

/* ---------- 图片与展签 ---------- */
.page-products .xp-shot {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--sand), #F4E7D6);
}

.page-products .xp-shot--hero {
  margin-top: clamp(20px, 3vw, 34px);
}

.page-products .xp-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.page-products .xp-shot--hero img {
  aspect-ratio: 16 / 9;
}

.page-products .xp-shot__caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: min(94%, 460px);
  margin: 0;
  padding: 7px 12px;
  border-left: 3px solid var(--ember);
  background: rgba(15, 26, 43, 0.94);
  color: #F7F1E3;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.page-products .xp-shot:hover .xp-shot__caption,
.page-products .xp-shot:focus-within .xp-shot__caption {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .page-products .xp-shot__caption {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 展区快捷条 ---------- */
.page-products .xp-rail {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-products .xp-rail__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 12px;
  padding-bottom: 12px;
  overflow-x: auto;
}

.page-products .xp-rail__label {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  color: var(--mist-ink);
  white-space: nowrap;
}

.page-products .xp-rail__list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .xp-rail__list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.page-products .xp-rail__list a span {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ember);
}

.page-products .xp-rail__list a:hover {
  border-color: var(--ember);
  background: rgba(228, 87, 46, 0.07);
  color: var(--ember-deep);
}

/* ---------- 区块标题 ---------- */
.page-products .xp-head {
  max-width: 44em;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-products .xp-head h2 {
  margin: 8px 0 12px;
  font-weight: 800;
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  line-height: 1.32;
}

.page-products .xp-head p {
  margin: 0;
  line-height: 1.85;
  color: #4E4E4E;
  max-width: 36em;
}

.page-products .xp-head .rule--gold {
  margin-top: 18px;
}

/* ---------- 功能展区 ---------- */
.page-products .xp-modules {
  padding: clamp(40px, 6vw, 80px) 0;
}

.page-products .xp-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: clamp(20px, 3vw, 30px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.page-products .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .filter-chip {
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.page-products .filter-chip:hover {
  border-color: var(--ember);
  color: var(--ember-deep);
}

.page-products .filter-chip[aria-pressed="true"] {
  background: var(--ember);
  border-color: var(--ember);
  color: #FFFFFF;
}

.page-products .filter-status {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--mist-ink);
}

.page-products .xp-modules__grid {
  display: grid;
  gap: var(--xp-gap);
}

.page-products .xp-module {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-products .xp-module[hidden] {
  display: none;
}

.page-products .xp-module:hover {
  transform: translateY(-3px);
}

.page-products .xp-module__num {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--ember);
  opacity: 0.9;
}

.page-products .xp-module__title {
  margin: 0 0 12px;
  font-size: clamp(1.14rem, 2.4vw, 1.34rem);
  font-weight: 700;
  line-height: 1.4;
}

.page-products .xp-module__text {
  margin: 0 0 16px;
  font-size: 0.97rem;
  line-height: 1.85;
  color: #454545;
}

.page-products .xp-module__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  margin: 18px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}

.page-products .xp-module__meta li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-products .xp-module__meta span {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--mist-ink);
}

.page-products .xp-module__meta strong {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

.page-products .xp-module .xp-shot {
  margin-bottom: 4px;
}

.page-products .xp-details {
  border-top: 1px solid var(--line);
}

.page-products .xp-details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.page-products .xp-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  cursor: pointer;
  list-style: none;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
}

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

.page-products .xp-details summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.05rem;
  line-height: 1;
  color: var(--ember);
}

.page-products .xp-details[open] summary::after {
  content: "–";
}

.page-products .xp-details__body {
  padding: 0 0 14px;
}

.page-products .xp-details__body p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.8;
  color: #4E4E4E;
}

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

.page-products .xp-benefits li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.93rem;
  line-height: 1.7;
  color: #454545;
}

.page-products .xp-benefits li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 0.45em;
  background: var(--bamboo);
  transform: rotate(45deg);
}

.page-products .xp-benefits strong {
  font-weight: 700;
  color: var(--ink);
}

.page-products .xp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(140, 59, 34, 0.35);
  color: var(--ember-deep);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-products .xp-link:hover {
  color: var(--ember);
  border-color: var(--ember);
}

/* ---------- 四步流程（深色展区） ---------- */
.page-products .xp-flow {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6.5vw, 88px) 0;
  background: linear-gradient(165deg, #16243A 0%, var(--ink-deep) 100%);
  color: #EFE6D8;
}

.page-products .xp-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 86% 0%, rgba(228, 87, 46, 0.22), rgba(228, 87, 46, 0) 62%);
  pointer-events: none;
}

.page-products .xp-flow__grid {
  position: relative;
  display: grid;
  gap: clamp(24px, 3.5vw, 42px);
}

.page-products .xp-flow .xp-head h2 {
  color: #FBF4E8;
}

.page-products .xp-flow .xp-head p {
  color: #C9C1B3;
}

.page-products .xp-flow__shot {
  border-color: rgba(217, 181, 109, 0.34);
}

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

.page-products .xp-step {
  border: 1px solid rgba(217, 181, 109, 0.32);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.page-products .xp-step[open] {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}

.page-products .xp-step summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 600;
  color: #FBF4E8;
}

.page-products .xp-step summary::-webkit-details-marker {
  display: none;
}

.page-products .xp-step summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--mono);
  color: var(--gold);
}

.page-products .xp-step[open] summary::after {
  content: "–";
}

.page-products .xp-step__num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ember);
  color: #FFFFFF;
  font-family: var(--mono);
  font-size: 0.8rem;
}

.page-products .xp-step__body {
  margin: 0;
  padding: 0 16px 16px 54px;
  font-size: 0.92rem;
  line-height: 1.8;
  color: #C9C1B3;
}

.page-products .xp-steps__more {
  margin-top: 6px;
}

/* ---------- 适用场景 ---------- */
.page-products .xp-scenes {
  padding: clamp(40px, 6vw, 80px) 0;
}

.page-products .xp-scenes__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.page-products .xp-scene {
  padding: clamp(18px, 2.6vw, 24px);
  background: var(--sand);
  border-left: 3px solid var(--gold);
}

.page-products .xp-scene:nth-child(even) {
  background: #F1E4D1;
}

.page-products .xp-scene--note {
  border-left-color: var(--bamboo);
  background: #EFE7D8;
}

.page-products .xp-scene__label {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--ember-deep);
}

.page-products .xp-scene h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
}

.page-products .xp-scene p {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.75;
  color: #4B4B4B;
}

/* ---------- 版本与更新 ---------- */
.page-products .xp-versions {
  padding: 0 0 clamp(40px, 6vw, 80px);
}

.page-products .xp-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-products .xp-timeline li {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 4px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.page-products .xp-timeline__year {
  font-family: var(--mono);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  color: var(--ember);
  padding-top: 3px;
}

.page-products .xp-timeline h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
}

.page-products .xp-timeline p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.78;
  color: #4E4E4E;
  max-width: 40em;
}

.page-products .xp-figure-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.page-products .xp-figure {
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ember);
}

.page-products .xp-figure strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 4px;
}

.page-products .xp-figure span {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--mist-ink);
}

.page-products .xp-versions__more {
  margin: 22px 0 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: #4E4E4E;
}

.page-products .xp-versions__more a {
  color: var(--ember-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(140, 59, 34, 0.35);
}

.page-products .xp-versions__more a:hover {
  color: var(--ember);
  border-color: var(--ember);
}

/* ---------- 收尾行动区 ---------- */
.page-products .xp-cta {
  padding: 0 0 clamp(48px, 7vw, 90px);
}

.page-products .xp-cta__inner {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 48px);
  background: linear-gradient(140deg, #FBF3E4 0%, #F3E3CE 100%);
  border: 1px solid var(--line-strong);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.page-products .xp-cta__text h2 {
  margin: 8px 0 12px;
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 1.95rem);
  line-height: 1.34;
}

.page-products .xp-cta__text p {
  margin: 0;
  max-width: 38em;
  font-size: 0.95rem;
  line-height: 1.85;
  color: #4A4A4A;
}

.page-products .xp-cta__note {
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--mist-ink);
}

.page-products .xp-cta__note a {
  color: var(--ember-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(140, 59, 34, 0.35);
}

.page-products .xp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

/* ---------- 响应式 ---------- */
@media (min-width: 560px) {
  .page-products .xp-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .xp-figure-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .page-products .xp-timeline li {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 4px 24px;
  }

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

@media (min-width: 900px) {
  .page-products .xp-hero__grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
    gap: clamp(24px, 3.4vw, 48px);
  }

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

  .page-products .xp-module--wide {
    grid-column: 1 / -1;
  }

  .page-products .xp-module--wide .xp-module__split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 36px);
    align-items: start;
  }

  .page-products .xp-flow__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }

  .page-products .xp-scenes__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .page-products .xp-hero__frame {
    padding: clamp(28px, 3vw, 44px);
  }
}

.page-products {
  --xp-notch: 22px;
  --xp-gap: clamp(16px, 2.6vw, 30px);
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--sans);
}

.page-products .breadcrumbs {
  padding-top: 16px;
  padding-bottom: 4px;
}

.page-products h2,
.page-products h3 {
  font-family: var(--serif);
  color: var(--ink);
}

.page-products a:focus-visible,
.page-products button:focus-visible,
.page-products summary:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

/* ---------- 首屏框景 ---------- */
.page-products .xp-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3.4vw, 40px) 0 clamp(34px, 5vw, 64px);
  background:
    radial-gradient(120% 100% at 8% -10%, rgba(228, 87, 46, 0.16), rgba(228, 87, 46, 0) 55%),
    radial-gradient(90% 90% at 96% 4%, rgba(217, 181, 109, 0.34), rgba(217, 181, 109, 0) 58%),
    linear-gradient(180deg, #FCF7EE 0%, #F7F1E3 100%);
}

.page-products .xp-hero::after {
  content: "";
  position: absolute;
  right: -14%;
  top: 16%;
  width: 48%;
  height: 1px;
  background: linear-gradient(90deg, rgba(228, 87, 46, 0), rgba(228, 87, 46, 0.5), rgba(217, 181, 109, 0));
  transform: rotate(-24deg);
  pointer-events: none;
}

.page-products .xp-hero__frame {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  padding: clamp(18px, 3vw, 38px);
  box-shadow: var(--shadow-card);
}

.page-products .xp-hero__frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(217, 181, 109, 0.6);
  pointer-events: none;
}

.page-products .xp-hero__frame::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 46px;
  border-top: 3px solid var(--ember);
  border-left: 3px solid var(--ember);
  pointer-events: none;
}

.page-products .xp-hero__grid {
  display: grid;
  gap: var(--xp-gap);
  align-items: start;
  margin-top: 12px;
}

.page-products .xp-hero h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(1.8rem, 4.6vw, 3.05rem);
  line-height: 1.24;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 17em;
}

.page-products .xp-hero__lede {
  margin: 0;
  max-width: 34em;
  font-size: clamp(0.98rem, 1.6vw, 1.05rem);
  line-height: 1.85;
  color: #4A4A4A;
}

.page-products .xp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.page-products .xp-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  list-style: none;
  margin: 26px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.page-products .xp-stats li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.page-products .xp-stats__num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.32rem);
  color: var(--ember-deep);
  line-height: 1.2;
}

.page-products .xp-stats__label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--mist-ink);
}

.page-products .xp-spec {
  position: relative;
  padding: clamp(20px, 3vw, 28px);
  color: #F3EADB;
  background: linear-gradient(155deg, #22344E 0%, var(--ink-deep) 100%);
  clip-path: polygon(0 0, calc(100% - var(--xp-notch)) 0, 100% var(--xp-notch), 100% 100%, 0 100%);
}

.page-products .xp-spec__kicker {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--gold);
}

.page-products .xp-spec__title {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.16rem;
  line-height: 1.4;
  color: #FFF6E8;
}

.page-products .xp-spec__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .xp-spec__list li {
  display: grid;
  gap: 3px;
  padding-top: 12px;
  border-top: 1px dashed rgba(217, 181, 109, 0.4);
}

.page-products .xp-spec__list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.page-products .xp-spec__label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-products .xp-spec__value {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #E4DACB;
}

/* ---------- 图片与展签 ---------- */
.page-products .xp-shot {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--sand), #F4E7D6);
}

.page-products .xp-shot--hero {
  margin-top: clamp(20px, 3vw, 34px);
}

.page-products .xp-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.page-products .xp-shot--hero img {
  aspect-ratio: 16 / 9;
}

.page-products .xp-shot__caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: min(94%, 460px);
  margin: 0;
  padding: 7px 12px;
  border-left: 3px solid var(--ember);
  background: rgba(15, 26, 43, 0.94);
  color: #F7F1E3;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.page-products .xp-shot:hover .xp-shot__caption,
.page-products .xp-shot:focus-within .xp-shot__caption {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .page-products .xp-shot__caption {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 展区快捷条 ---------- */
.page-products .xp-rail {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-products .xp-rail__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 12px;
  padding-bottom: 12px;
  overflow-x: auto;
}

.page-products .xp-rail__label {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  color: var(--mist-ink);
  white-space: nowrap;
}

.page-products .xp-rail__list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .xp-rail__list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.page-products .xp-rail__list a span {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ember);
}

.page-products .xp-rail__list a:hover {
  border-color: var(--ember);
  background: rgba(228, 87, 46, 0.07);
  color: var(--ember-deep);
}

/* ---------- 区块标题 ---------- */
.page-products .xp-head {
  max-width: 44em;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-products .xp-head h2 {
  margin: 8px 0 12px;
  font-weight: 800;
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  line-height: 1.32;
}

.page-products .xp-head p {
  margin: 0;
  line-height: 1.85;
  color: #4E4E4E;
  max-width: 36em;
}

.page-products .xp-head .rule--gold {
  margin-top: 18px;
}

/* ---------- 功能展区 ---------- */
.page-products .xp-modules {
  padding: clamp(40px, 6vw, 80px) 0;
}

.page-products .xp-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: clamp(20px, 3vw, 30px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.page-products .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .filter-chip {
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.page-products .filter-chip:hover {
  border-color: var(--ember);
  color: var(--ember-deep);
}

.page-products .filter-chip[aria-pressed="true"] {
  background: var(--ember);
  border-color: var(--ember);
  color: #FFFFFF;
}

.page-products .filter-status {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--mist-ink);
}

.page-products .xp-modules__grid {
  display: grid;
  gap: var(--xp-gap);
}

.page-products .xp-module {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-products .xp-module[hidden] {
  display: none;
}

.page-products .xp-module:hover {
  transform: translateY(-3px);
}

.page-products .xp-module__num {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--ember);
  opacity: 0.9;
}

.page-products .xp-module__title {
  margin: 0 0 12px;
  font-size: clamp(1.14rem, 2.4vw, 1.34rem);
  font-weight: 700;
  line-height: 1.4;
}

.page-products .xp-module__text {
  margin: 0 0 16px;
  font-size: 0.97rem;
  line-height: 1.85;
  color: #454545;
}

.page-products .xp-module__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  margin: 18px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}

.page-products .xp-module__meta li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-products .xp-module__meta span {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--mist-ink);
}

.page-products .xp-module__meta strong {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

.page-products .xp-module .xp-shot {
  margin-bottom: 4px;
}

.page-products .xp-details {
  border-top: 1px solid var(--line);
}

.page-products .xp-details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.page-products .xp-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  cursor: pointer;
  list-style: none;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
}

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

.page-products .xp-details summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.05rem;
  line-height: 1;
  color: var(--ember);
}

.page-products .xp-details[open] summary::after {
  content: "–";
}

.page-products .xp-details__body {
  padding: 0 0 14px;
}

.page-products .xp-details__body p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.8;
  color: #4E4E4E;
}

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

.page-products .xp-benefits li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.93rem;
  line-height: 1.7;
  color: #454545;
}

.page-products .xp-benefits li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 0.45em;
  background: var(--bamboo);
  transform: rotate(45deg);
}

.page-products .xp-benefits strong {
  font-weight: 700;
  color: var(--ink);
}

.page-products .xp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(140, 59, 34, 0.35);
  color: var(--ember-deep);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-products .xp-link:hover {
  color: var(--ember);
  border-color: var(--ember);
}

/* ---------- 四步流程（深色展区） ---------- */
.page-products .xp-flow {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6.5vw, 88px) 0;
  background: linear-gradient(165deg, #16243A 0%, var(--ink-deep) 100%);
  color: #EFE6D8;
}

.page-products .xp-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 86% 0%, rgba(228, 87, 46, 0.22), rgba(228, 87, 46, 0) 62%);
  pointer-events: none;
}

.page-products .xp-flow__grid {
  position: relative;
  display: grid;
  gap: clamp(24px, 3.5vw, 42px);
}

.page-products .xp-flow .xp-head h2 {
  color: #FBF4E8;
}

.page-products .xp-flow .xp-head p {
  color: #C9C1B3;
}

.page-products .xp-flow__shot {
  border-color: rgba(217, 181, 109, 0.34);
}

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

.page-products .xp-step {
  border: 1px solid rgba(217, 181, 109, 0.32);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.page-products .xp-step[open] {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}

.page-products .xp-step summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 600;
  color: #FBF4E8;
}

.page-products .xp-step summary::-webkit-details-marker {
  display: none;
}

.page-products .xp-step summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--mono);
  color: var(--gold);
}

.page-products .xp-step[open] summary::after {
  content: "–";
}

.page-products .xp-step__num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ember);
  color: #FFFFFF;
  font-family: var(--mono);
  font-size: 0.8rem;
}

.page-products .xp-step__body {
  margin: 0;
  padding: 0 16px 16px 54px;
  font-size: 0.92rem;
  line-height: 1.8;
  color: #C9C1B3;
}

.page-products .xp-steps__more {
  margin-top: 6px;
}

/* ---------- 适用场景 ---------- */
.page-products .xp-scenes {
  padding: clamp(40px, 6vw, 80px) 0;
}

.page-products .xp-scenes__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.page-products .xp-scene {
  padding: clamp(18px, 2.6vw, 24px);
  background: var(--sand);
  border-left: 3px solid var(--gold);
}

.page-products .xp-scene:nth-child(even) {
  background: #F1E4D1;
}

.page-products .xp-scene--note {
  border-left-color: var(--bamboo);
  background: #EFE7D8;
}

.page-products .xp-scene__label {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--ember-deep);
}

.page-products .xp-scene h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
}

.page-products .xp-scene p {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.75;
  color: #4B4B4B;
}

/* ---------- 版本与更新 ---------- */
.page-products .xp-versions {
  padding: 0 0 clamp(40px, 6vw, 80px);
}

.page-products .xp-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-products .xp-timeline li {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 4px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.page-products .xp-timeline__year {
  font-family: var(--mono);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  color: var(--ember);
  padding-top: 3px;
}

.page-products .xp-timeline h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
}

.page-products .xp-timeline p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.78;
  color: #4E4E4E;
  max-width: 40em;
}

.page-products .xp-figure-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.page-products .xp-figure {
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ember);
}

.page-products .xp-figure strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 4px;
}

.page-products .xp-figure span {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--mist-ink);
}

.page-products .xp-versions__more {
  margin: 22px 0 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: #4E4E4E;
}

.page-products .xp-versions__more a {
  color: var(--ember-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(140, 59, 34, 0.35);
}

.page-products .xp-versions__more a:hover {
  color: var(--ember);
  border-color: var(--ember);
}

/* ---------- 收尾行动区 ---------- */
.page-products .xp-cta {
  padding: 0 0 clamp(48px, 7vw, 90px);
}

.page-products .xp-cta__inner {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 48px);
  background: linear-gradient(140deg, #FBF3E4 0%, #F3E3CE 100%);
  border: 1px solid var(--line-strong);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.page-products .xp-cta__text h2 {
  margin: 8px 0 12px;
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 1.95rem);
  line-height: 1.34;
}

.page-products .xp-cta__text p {
  margin: 0;
  max-width: 38em;
  font-size: 0.95rem;
  line-height: 1.85;
  color: #4A4A4A;
}

.page-products .xp-cta__note {
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--mist-ink);
}

.page-products .xp-cta__note a {
  color: var(--ember-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(140, 59, 34, 0.35);
}

.page-products .xp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

/* ---------- 响应式 ---------- */
@media (min-width: 560px) {
  .page-products .xp-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .xp-figure-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .page-products .xp-timeline li {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 4px 24px;
  }

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

@media (min-width: 900px) {
  .page-products .xp-hero__grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
    gap: clamp(24px, 3.4vw, 48px);
  }

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

  .page-products .xp-module--wide {
    grid-column: 1 / -1;
  }

  .page-products .xp-module--wide .xp-module__split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 36px);
    align-items: start;
  }

  .page-products .xp-flow__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }

  .page-products .xp-scenes__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .page-products .xp-hero__frame {
    padding: clamp(28px, 3vw, 44px);
  }
}
