.page-products {
  --pp-gap: clamp(18px, 3vw, 32px);
  --pp-line: var(--line);
  background: var(--ink);
  color: var(--mist);
  overflow-x: clip;
}

.page-products > section {
  padding: clamp(52px, 8vw, 100px) 0;
}

.page-products h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4.4vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--white);
  margin: 14px 0 0;
}

.page-products h3 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--white);
  margin: 0;
}

.page-products .pp-head {
  max-width: 780px;
}

.page-products .pp-head__sub {
  margin: 18px 0 0;
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--mist);
}

/* ---------- HERO ---------- */

.page-products .pp-hero {
  position: relative;
  padding-top: calc(var(--bar) + 44px);
  padding-bottom: clamp(46px, 7vw, 88px);
  overflow: hidden;
}

.page-products .pp-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-products .pp-hero__bg::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -16%;
  width: 60%;
  height: 128%;
  transform: rotate(-12deg);
  background: linear-gradient(158deg, rgba(255, 90, 31, 0.24), rgba(255, 90, 31, 0) 72%);
  border-left: 2px solid rgba(255, 90, 31, 0.45);
}

.page-products .pp-hero__bg::after {
  content: "";
  position: absolute;
  bottom: -24%;
  left: -12%;
  width: 46%;
  height: 68%;
  transform: rotate(6deg);
  background: rgba(200, 255, 61, 0.07);
  border-top: 2px solid rgba(200, 255, 61, 0.3);
}

.page-products .pp-hero__inner {
  position: relative;
  z-index: 1;
}

.page-products .pp-hero__cols {
  margin-top: clamp(26px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 4.5vw, 54px);
}

.page-products .pp-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 7.4vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.028em;
  color: var(--white);
  margin: 16px 0 0;
}

.page-products .pp-hero__title em {
  display: inline-block;
  font-style: italic;
  color: var(--orange);
  transform: skewX(var(--skew));
  text-shadow: 4px 4px 0 rgba(122, 42, 12, 0.55);
}

.page-products .pp-hero__lede {
  margin: 24px 0 0;
  max-width: 58ch;
  font-size: 17px;
  line-height: 1.78;
  color: var(--mist);
}

.page-products .pp-hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-products .pp-hero__visual {
  position: relative;
  margin: 0;
}

.page-products .pp-hero__visual .media {
  border: 1px solid var(--pp-line);
  box-shadow: var(--shadow-card);
  transform: rotate(-1.4deg);
}

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

.page-products .pp-hero__visual .stamp {
  position: absolute;
  left: 10px;
  bottom: -14px;
  z-index: 2;
}

.page-products .pp-hero__strip {
  list-style: none;
  margin: clamp(40px, 5.5vw, 68px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--pp-line);
  border: 1px solid var(--pp-line);
}

.page-products .pp-hero__strip > li {
  background: var(--ink);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.page-products .pp-hero__strip .stat__num {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 600;
  line-height: 1;
  color: var(--orange);
  letter-spacing: -0.02em;
}

.page-products .pp-hero__strip .stat__label {
  font-size: 13px;
  letter-spacing: 0.07em;
  color: var(--mist);
}

/* ---------- 板块堆叠 ---------- */

.page-products .pp-boards {
  background:
    repeating-linear-gradient(-6deg, rgba(255, 255, 255, 0.014) 0 2px, transparent 2px 9px);
}

.page-products .pp-stack {
  list-style: none;
  margin: clamp(34px, 5vw, 58px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pp-gap);
}

.page-products .pp-board {
  --tilt: rotate(0deg);
  --shift: 0px;
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--pp-line);
  border-left: 3px solid var(--orange);
  padding: 28px 22px 22px;
  box-shadow: var(--shadow-card);
  transform: var(--tilt) translateY(var(--shift));
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-left-color 0.18s ease;
}

.page-products .pp-board:hover,
.page-products .pp-board:focus-within {
  transform: var(--tilt) translateY(calc(var(--shift) - 6px));
  box-shadow: var(--shadow-card-hover);
  border-left-color: var(--lime);
}

.page-products .pp-board .stamp {
  position: absolute;
  top: -11px;
  right: 16px;
}

.page-products .pp-board__no {
  display: block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.page-products .pp-board__name {
  font-size: clamp(19px, 2.3vw, 24px);
  line-height: 1.2;
  margin: 12px 0 10px;
}

.page-products .pp-board__desc {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--mist);
}

.page-products .pp-board__keys {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .pp-board__keys li {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 5px 10px;
  border: 1px solid var(--pp-line);
  color: var(--lime);
  border-radius: 2px;
}

/* ---------- 桌面端 ---------- */

.page-products .pp-desk {
  background: var(--ink-2);
  border-top: 1px solid var(--pp-line);
  border-bottom: 1px solid var(--pp-line);
}

.page-products .pp-desk__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 50px);
  align-items: center;
}

.page-products .pp-desk__copy > p {
  margin: 18px 0 0;
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--mist);
}

.page-products .pp-desk__list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .pp-desk__list li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--mist);
}

.page-products .pp-dot {
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  background: var(--lime);
  transform: rotate(var(--skew-alt));
  border: 1px solid var(--green-deep);
}

.page-products .pp-desk__figure {
  margin: 0;
  border: 1px solid var(--pp-line);
  box-shadow: var(--shadow-card);
  transform: rotate(1.2deg);
}

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

.page-products .pp-wire {
  margin-top: clamp(36px, 5vw, 62px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 36px);
}

.page-products .pp-wire__board {
  border: 1px solid var(--pp-line);
  background: var(--ink);
  padding: 22px 18px 8px;
}

.page-products .pp-wire__hint {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--lime);
}

.page-products .pp-wire__svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .pp-wire__frame {
  fill: none;
  stroke: var(--pp-line);
  stroke-width: 2;
}

.page-products .pp-wire__pane rect {
  fill: #12121a;
  stroke: var(--pp-line);
  stroke-width: 2;
  transition: stroke 0.15s ease, fill 0.15s ease;
}

.page-products .pp-wire__pane:hover rect {
  stroke: var(--orange);
  fill: #1d1512;
}

.page-products .pp-wire__svg text {
  font-family: var(--font-mono);
  font-size: 15px;
  fill: var(--white);
}

.page-products .pp-wire__svg .pp-wire__sub {
  font-size: 12px;
  fill: var(--mist);
}

.page-products .pp-wire__detail {
  margin: 0;
  border: 1px solid var(--pp-line);
  background: var(--ink);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-products .pp-wire__detail img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--pp-line);
}

.page-products .pp-wire__detail figcaption {
  font-size: 14px;
  line-height: 1.65;
  color: var(--mist);
}

/* ---------- 短战报 ---------- */

.page-products .pp-read__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(34px, 5vw, 56px);
  align-items: start;
}

.page-products .pp-read__copy > p {
  margin: 18px 0 0;
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--mist);
}

.page-products .pp-read__segs {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--pp-line);
  border: 1px solid var(--pp-line);
}

.page-products .pp-read__segs li {
  background: var(--ink);
  padding: 20px 20px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.page-products .pp-read__no {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--orange);
  transform: skewX(var(--skew));
}

.page-products .pp-read__segs h3 {
  font-size: 17px;
  line-height: 1.3;
}

.page-products .pp-read__segs p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--mist);
}

.page-products .pp-read__side {
  position: relative;
  padding-top: 26px;
}

.page-products .pp-ring {
  position: absolute;
  top: 0;
  left: -8px;
  z-index: 2;
  width: clamp(96px, 13vw, 124px);
  aspect-ratio: 1;
}

.page-products .pp-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.page-products .pp-ring__track {
  fill: none;
  stroke: var(--pp-line);
  stroke-width: 8;
}

.page-products .pp-ring__fill {
  fill: none;
  stroke: var(--lime);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 327 327;
  stroke-dashoffset: 72;
  animation: pp-ring-draw 1.1s ease-out both;
}

@keyframes pp-ring-draw {
  from { stroke-dashoffset: 327; }
  to { stroke-dashoffset: 72; }
}

.page-products .pp-ring__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1;
}

.page-products .pp-ring__label b {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 600;
  color: var(--white);
}

.page-products .pp-ring__label i {
  display: block;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--lime);
  margin-top: 4px;
}

.page-products .pp-read__figure {
  margin: 0;
  border: 1px solid var(--pp-line);
  box-shadow: var(--shadow-card);
  background: var(--ink-2);
  padding: 12px;
}

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

.page-products .pp-read__cap {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--mist);
  border-left: 3px solid var(--lime);
  padding-left: 14px;
}

/* ---------- 数据看板 ---------- */

.page-products .pp-metrics {
  background: var(--ink-2);
  border-top: 1px solid var(--pp-line);
  border-bottom: 1px solid var(--pp-line);
}

.page-products .pp-metric-grid {
  list-style: none;
  margin: clamp(30px, 4.5vw, 48px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--pp-line);
  border: 1px solid var(--pp-line);
}

.page-products .pp-metric {
  background: var(--ink);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.15s ease;
}

.page-products .pp-metric:hover {
  background: #14141d;
}

.page-products .pp-metric__k {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--orange);
}

.page-products .pp-metric__v {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--mist);
}

.page-products .pp-metrics__figure {
  margin: clamp(28px, 4vw, 44px) 0 0;
  border: 1px solid var(--pp-line);
  box-shadow: var(--shadow-card);
  transform: rotate(-0.8deg);
}

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

/* ---------- 三步开始 ---------- */

.page-products .pp-steps {
  list-style: none;
  margin: clamp(34px, 5vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pp-gap);
  counter-reset: pp-step;
}

.page-products .pp-step {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--pp-line);
  padding: 26px 22px 22px;
  box-shadow: var(--shadow-card);
}

.page-products .pp-step::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--lime));
}

.page-products .pp-step__no {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--lime);
}

.page-products .pp-step h3 {
  font-size: clamp(18px, 2.1vw, 22px);
  margin: 12px 0 10px;
  line-height: 1.25;
}

.page-products .pp-step p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--mist);
}

/* ---------- 使用场景 ---------- */

.page-products .pp-scenes__grid {
  margin-top: clamp(32px, 4.5vw, 52px);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pp-gap);
}

.page-products .pp-scene {
  position: relative;
  border: 1px solid var(--pp-line);
  background: var(--ink-2);
  padding: 26px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.page-products .pp-scene:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.page-products .pp-scene__tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  color: var(--ink);
  transform: skewX(var(--skew));
}

.page-products .pp-scene--orange {
  border-top: 3px solid var(--orange);
}

.page-products .pp-scene--orange .pp-scene__tag {
  background: var(--orange);
}

.page-products .pp-scene--lime {
  border-top: 3px solid var(--lime);
}

.page-products .pp-scene--lime .pp-scene__tag {
  background: var(--lime);
}

.page-products .pp-scene--white {
  border-top: 3px solid var(--white);
}

.page-products .pp-scene--white .pp-scene__tag {
  background: var(--paper);
}

.page-products .pp-scene h3 {
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.22;
}

.page-products .pp-scene > p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--mist);
}

.page-products .pp-scene__list {
  list-style: none;
  margin: auto 0 0;
  padding: 18px 0 0;
  border-top: 1px dashed var(--pp-line);
  display: grid;
  gap: 10px;
}

.page-products .pp-scene__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--mist);
}

.page-products .pp-scene__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  background: var(--lime);
  transform: rotate(var(--skew-hard));
}

/* ---------- 收尾 ---------- */

.page-products .pp-cta {
  background: linear-gradient(112deg, #12121a 0 58%, rgba(255, 90, 31, 0.16) 58% 100%);
  border-top: 1px solid var(--pp-line);
}

.page-products .pp-cta__inner {
  display: grid;
  gap: 26px;
}

.page-products .pp-cta__copy p {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--mist);
}

.page-products .pp-cta__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .pp-cta__fine {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--mist);
}

.page-products .pp-cta__fine a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .pp-cta__fine a:hover {
  color: var(--orange);
}

/* ---------- 响应式 ---------- */

@media (min-width: 720px) {
  .page-products .pp-hero__strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .pp-hero__strip > li {
    padding: 22px 20px 20px;
  }

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

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

@media (min-width: 900px) {
  .page-products .pp-hero__cols {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    align-items: end;
  }

  .page-products .pp-hero__visual {
    margin-bottom: 10px;
  }

  .page-products .pp-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 38px);
  }

  .page-products .pp-board:nth-child(4n + 1) {
    --tilt: rotate(-1.2deg);
    --shift: 0px;
  }

  .page-products .pp-board:nth-child(4n + 2) {
    --tilt: rotate(0.9deg);
    --shift: 22px;
  }

  .page-products .pp-board:nth-child(4n + 3) {
    --tilt: rotate(0.7deg);
    --shift: -8px;
  }

  .page-products .pp-board:nth-child(4n + 4) {
    --tilt: rotate(-0.8deg);
    --shift: 14px;
  }

  .page-products .pp-read__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

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

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

  .page-products .pp-cta__fine {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .page-products .pp-desk__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .page-products .pp-wire {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .page-products .pp-wire__detail {
    justify-content: center;
  }
}

@media (min-width: 1000px) {
  .page-products .pp-metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pp-ring__fill {
    animation: none;
  }

  .page-products .pp-board,
  .page-products .pp-scene {
    transition: none;
  }

  .page-products .pp-board:hover,
  .page-products .pp-board:focus-within,
  .page-products .pp-scene:hover {
    transform: var(--tilt, none) translateY(0);
  }
}
