.page-products {
  --p-line: rgba(244, 247, 242, .14);
  --p-soft: rgba(244, 247, 242, .055);
  --p-card: #0C1F1A;
  background: var(--c-night);
  color: var(--c-line);
  overflow-x: hidden;
}

.page-products .p-hero {
  position: relative;
  padding-top: calc(var(--h-header) + clamp(18px, 4vw, 52px));
  padding-bottom: clamp(40px, 7vw, 92px);
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(200, 255, 61, .16), transparent 55%),
    radial-gradient(95% 80% at 0% 100%, rgba(255, 106, 42, .13), transparent 62%),
    var(--c-night);
  overflow: hidden;
}

.page-products .p-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(244, 247, 242, .055) 0 1px, transparent 1px 96px);
  pointer-events: none;
}

.page-products .p-hero-inner {
  position: relative;
  z-index: 1;
}

.page-products .p-hero-split {
  display: grid;
  gap: clamp(26px, 5vw, 56px);
  grid-template-columns: minmax(0, 1fr);
  margin-top: clamp(20px, 3vw, 34px);
}

.page-products .p-hero-copy h1 {
  font-family: var(--f-display);
  font-size: clamp(34px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: 800;
  margin: 14px 0 0;
}

.page-products .p-hero-lead {
  max-width: 46ch;
  margin: clamp(16px, 2.6vw, 24px) 0 0;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.78;
  color: rgba(244, 247, 242, .78);
}

.page-products .p-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 32px);
}

.page-products .p-board {
  position: relative;
  padding: 24px 22px 20px;
  border: 1px solid var(--p-line);
  border-radius: var(--r-lg);
  background: linear-gradient(152deg, rgba(29, 58, 50, .88), rgba(11, 15, 14, .72));
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lift);
}

.page-products .p-board::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--c-lime), var(--c-orange), var(--c-red));
}

.page-products .p-board-title {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-mist);
}

.page-products .p-board-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .p-board-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--p-line);
}

.page-products .p-board-list li:last-child {
  border-bottom: none;
}

.page-products .p-board-num {
  font-size: clamp(21px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--c-lime);
  font-variant-numeric: tabular-nums;
}

.page-products .p-board-label {
  font-size: 14px;
  color: rgba(244, 247, 242, .74);
  text-align: right;
}

.page-products .p-board-foot {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--p-line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-mist);
}

.page-products .p-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding-bottom: clamp(44px, 8vw, 88px);
}

.page-products .p-index {
  margin-bottom: clamp(20px, 4vw, 32px);
}

.page-products .p-index-title {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-mist);
}

.page-products .p-index-list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0 0 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-products .p-index-list::-webkit-scrollbar {
  display: none;
}

.page-products .p-index-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 9px 15px;
  border: 1px solid var(--p-line);
  border-radius: 999px;
  color: rgba(244, 247, 242, .82);
  text-decoration: none;
  font-size: 14px;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.page-products .p-index-list a .mono {
  color: var(--c-orange);
  font-size: 11px;
  letter-spacing: .1em;
}

.page-products .p-index-list a:hover,
.page-products .p-index-list a:focus-visible {
  background: var(--p-soft);
  border-color: rgba(200, 255, 61, .5);
  color: var(--c-lime);
}

.page-products .p-canvas {
  min-width: 0;
}

.page-products .p-sec {
  padding: clamp(38px, 6.5vw, 78px) 0;
  border-top: 1px solid var(--p-line);
  scroll-margin-top: calc(var(--h-header) + 20px);
}

.page-products .p-canvas > .p-sec:first-child {
  border-top: none;
  padding-top: 6px;
}

.page-products .p-sec .section-title {
  font-family: var(--f-display);
  font-size: clamp(25px, 4.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 8px 0 0;
}

.page-products .p-sec-lead {
  max-width: 62ch;
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(244, 247, 242, .72);
}

.page-products .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: clamp(18px, 3vw, 28px) 0 clamp(20px, 3vw, 30px);
}

.page-products [data-filter-item][hidden] {
  display: none !important;
}

/* ---------- 阶梯卡片 ---------- */
.page-products .p-stairs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-products .p-stair {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px 20px;
  border: 1px solid var(--p-line);
  border-radius: var(--r-md);
  background: linear-gradient(165deg, rgba(29, 58, 50, .7), rgba(11, 15, 14, .94));
  overflow: hidden;
  transition: border-color .3s ease;
}

.page-products .p-stair::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--c-lime), rgba(200, 255, 61, 0));
}

.page-products .p-stair::after {
  content: "";
  position: absolute;
  top: -46px;
  right: -46px;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(255, 106, 42, .22), transparent 70%);
  pointer-events: none;
}

.page-products .p-stair:hover {
  border-color: rgba(200, 255, 61, .38);
}

.page-products .p-stair-no {
  margin: 0;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--c-orange);
}

.page-products .p-stair-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.page-products .p-stair-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(244, 247, 242, .74);
}

.page-products .p-stair .tag {
  align-self: flex-start;
  margin: 4px 0 0;
}

/* ---------- 苹果版通勤 ---------- */
.page-products .p-apple-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  margin-top: clamp(20px, 3vw, 30px);
}

.page-products .p-apple-visual {
  position: relative;
}

.page-products .p-apple-media {
  border-radius: var(--r-lg);
  overflow: hidden;
}

.page-products .p-apple-media img,
.page-products .p-teams-media img,
.page-products .p-retrieval-media img,
.page-products .p-keep-media img,
.page-products .p-flow-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .p-phone {
  position: absolute;
  right: 10px;
  bottom: -18px;
  width: 42%;
  max-width: 190px;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, .62));
}

.page-products .p-phone svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .p-entries {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  align-content: start;
}

.page-products .p-entry {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--p-line);
  border-radius: var(--r-md);
  background: var(--p-soft);
}

.page-products .p-entry-no {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--c-orange);
  padding-top: 3px;
}

.page-products .p-entry-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
}

.page-products .p-entry-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(244, 247, 242, .72);
}

/* ---------- 球队库 ---------- */
.page-products .p-teams-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3.4vw, 36px);
  margin-top: clamp(20px, 3vw, 30px);
}

.page-products .p-teams-media {
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-products .p-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--p-line);
  border: 1px solid var(--p-line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-products .p-stats > div {
  background: var(--p-card);
  padding: 15px 15px 13px;
}

.page-products .p-stats dt {
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--c-mist);
}

.page-products .p-stats dd {
  margin: 7px 0 0;
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--c-lime);
  font-variant-numeric: tabular-nums;
}

.page-products .p-teams-text {
  margin: 18px 0 18px;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(244, 247, 242, .74);
}

/* ---------- 数据检索 ---------- */
.page-products .p-readout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(20px, 3vw, 30px) 0 clamp(18px, 3vw, 26px);
  background: var(--p-line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-products .p-readout > div {
  background: linear-gradient(160deg, rgba(29, 58, 50, .92), rgba(11, 15, 14, 1));
  padding: 18px 14px;
}

.page-products .p-readout-num {
  display: block;
  font-size: clamp(21px, 3.4vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--c-lime);
  font-variant-numeric: tabular-nums;
}

.page-products .p-readout > div > span:last-child {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--c-mist);
}

.page-products .p-retrieval-media {
  margin: 0 0 clamp(20px, 3vw, 28px);
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-products .p-dim {
  border: 1px solid var(--p-line);
  border-radius: var(--r-sm);
  background: rgba(244, 247, 242, .035);
  margin-bottom: 10px;
}

.page-products .p-dim:last-child {
  margin-bottom: 0;
}

.page-products .p-dim summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 16px;
}

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

.page-products .p-dim summary::after {
  content: "+";
  margin-left: 12px;
  font-family: var(--f-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--c-orange);
}

.page-products .p-dim[open] summary::after {
  content: "−";
  color: var(--c-lime);
}

.page-products .p-dim-no {
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--c-orange);
}

.page-products .p-dim-name {
  color: var(--c-line);
}

.page-products .p-dim-hint {
  margin-left: auto;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--c-mist);
}

.page-products .p-dim p {
  margin: 0;
  padding: 13px 16px 16px;
  border-top: 1px solid var(--p-line);
  font-size: 14.5px;
  line-height: 1.76;
  color: rgba(244, 247, 242, .74);
}

/* ---------- 上手路径 ---------- */
.page-products .p-steps {
  list-style: none;
  margin: clamp(20px, 3vw, 30px) 0 clamp(24px, 3.6vw, 36px);
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--p-line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-products .p-steps li {
  background: #0A1A15;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-products .p-step-no {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--c-orange);
}

.page-products .p-step-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.page-products .p-steps li p {
  margin: 0;
  font-size: 14px;
  line-height: 1.74;
  color: rgba(244, 247, 242, .72);
}

.page-products .p-audience {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-bottom: clamp(26px, 4vw, 40px);
}

.page-products .p-aud {
  padding: 22px 20px 26px;
  background: linear-gradient(150deg, rgba(232, 217, 168, .1), rgba(11, 15, 14, .92) 62%);
  border: 1px solid var(--p-line);
  border-radius: var(--r-md);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), 0 100%);
}

.page-products .p-aud-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--c-paper);
}

.page-products .p-aud-text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.74;
  color: rgba(244, 247, 242, .72);
}

.page-products .p-aud-link {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 255, 61, .45);
  padding-bottom: 2px;
}

.page-products .p-aud-link:hover,
.page-products .p-aud-link:focus-visible {
  border-bottom-color: var(--c-lime);
}

/* ---------- 收藏入口 ---------- */
.page-products .p-keep {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--p-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: clamp(24px, 4vw, 36px);
}

.page-products .p-keep-media {
  margin: 0;
  min-height: 200px;
}

.page-products .p-keep-body {
  padding: clamp(22px, 3.4vw, 36px);
  background: linear-gradient(160deg, rgba(29, 58, 50, .82), rgba(11, 15, 14, .96));
  backdrop-filter: blur(8px);
}

.page-products .p-keep-body .eyebrow {
  margin: 0 0 8px;
}

.page-products .p-keep-title {
  margin: 0 0 10px;
  font-family: var(--f-display);
  font-size: clamp(21px, 3vw, 28px);
  line-height: 1.16;
  letter-spacing: -.02em;
}

.page-products .p-keep-text {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(244, 247, 242, .74);
}

.page-products .p-flow-media {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
}

/* ---------- 收口 ---------- */
.page-products .p-cta {
  margin-top: clamp(30px, 5vw, 52px);
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--p-line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 106, 42, .26), transparent 60%),
    linear-gradient(150deg, #10302A, #0B0F0E);
}

.page-products .p-cta h2 {
  margin: 0 0 12px;
  font-family: var(--f-display);
  font-size: clamp(22px, 3.4vw, 32px);
  line-height: 1.14;
  letter-spacing: -.02em;
}

.page-products .p-cta p {
  max-width: 58ch;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(244, 247, 242, .76);
}

.page-products .p-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-products .p-stairs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 860px) {
  .page-products .p-hero-split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: end;
  }

  .page-products .p-apple-grid {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: start;
  }

  .page-products .p-teams-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
  }

  .page-products .p-keep {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  }

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

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

  .page-products .p-phone {
    right: -4%;
    width: 44%;
    max-width: 200px;
  }
}

@media (min-width: 1000px) {
  .page-products .p-layout {
    grid-template-columns: 212px minmax(0, 1fr);
    gap: clamp(28px, 4vw, 60px);
    align-items: start;
  }

  .page-products .p-index {
    position: sticky;
    top: calc(var(--h-header) + 28px);
    margin-bottom: 0;
    padding-top: 10px;
  }

  .page-products .p-index-list {
    flex-direction: column;
    gap: 2px;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-products .p-index-list a {
    border: none;
    border-left: 2px solid transparent;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    padding: 11px 12px;
    white-space: normal;
    font-size: 14px;
  }

  .page-products .p-index-list a:hover,
  .page-products .p-index-list a:focus-visible {
    background: var(--p-soft);
    border-left-color: var(--c-lime);
    color: var(--c-lime);
  }
}

@media (min-width: 1080px) {
  .page-products .p-stairs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding-bottom: 60px;
  }

  .page-products .p-stair:nth-child(3n+2) {
    transform: translateY(28px);
  }

  .page-products .p-stair:nth-child(3n+3) {
    transform: translateY(56px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .p-stair,
  .page-products .p-index-list a {
    transition: none;
  }

  .page-products .p-stair:nth-child(3n+2),
  .page-products .p-stair:nth-child(3n+3) {
    transform: none;
  }
}
