.page-products {
  --pp-pad: clamp(16px, 3.4vw, 40px);
  --pp-block: clamp(48px, 7vw, 96px);
  --pp-rule: 1px solid var(--line);
  --pp-soft: rgba(155, 175, 169, 0.22);
}

/* ---------- hero ---------- */
.page-products .pp-hero {
  padding-bottom: clamp(28px, 5vw, 56px);
}

.page-products .pp-hero__frame {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  border: var(--pp-rule);
  border-radius: 28px 8px 28px 8px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% 6%, rgba(41, 216, 255, 0.2), transparent 62%),
    radial-gradient(90% 80% at 8% 96%, rgba(77, 255, 159, 0.16), transparent 64%),
    var(--stand);
}

.page-products .pp-hero__frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background-image: repeating-linear-gradient(to right, var(--lamp) 0 1px, transparent 1px 44px);
  opacity: 0.55;
  z-index: 3;
  pointer-events: none;
}

.page-products .pp-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.page-products .pp-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 9, 12, 0.5) 0%, rgba(5, 9, 12, 0.86) 62%, rgba(5, 9, 12, 0.96) 100%);
}

.page-products .pp-hero__inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(52px, 9vw, 104px);
  padding-bottom: clamp(34px, 6vw, 72px);
}

.page-products .pp-hero__inner .breadcrumb {
  margin-bottom: clamp(18px, 3vw, 30px);
}

.page-products .pp-hero__lede {
  max-width: 46ch;
  margin: clamp(14px, 2vw, 22px) 0 0;
}

.page-products .pp-hero__meta {
  list-style: none;
  margin: clamp(26px, 4vw, 44px) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(18px, 3vw, 40px);
  border-top: var(--pp-rule);
  padding-top: clamp(16px, 2.4vw, 24px);
}

.page-products .pp-hero__meta li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--mist);
  letter-spacing: 0.02em;
}

.page-products .pp-hero__meta .mono {
  color: var(--lamp);
  font-size: 0.95rem;
}

/* ---------- shared section head ---------- */
.page-products .pp-head {
  max-width: 62ch;
  margin-bottom: clamp(28px, 4.4vw, 52px);
}

.page-products .pp-head__note {
  margin: 14px 0 0;
  color: var(--mist);
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 56ch;
}

/* ---------- category index ---------- */
.page-products .pp-cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 1.5vw, 18px);
}

.page-products .pp-cat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 168px;
  border-radius: 20px 6px 20px 6px;
}

.page-products .pp-cat:nth-child(3n + 2) {
  border-radius: 6px 20px 6px 20px;
}

.page-products .pp-cat__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--volt);
}

/* ---------- inverse scan block ---------- */
.page-products .pp-scan__panel {
  border-radius: 26px 8px 26px 8px;
  padding: clamp(22px, 4vw, 46px);
}

.page-products .pp-scan__head {
  margin-bottom: clamp(18px, 3vw, 28px);
}

.page-products .pp-scan__hint {
  margin: 8px 0 0;
  font-size: 0.9rem;
  opacity: 0.72;
}

.page-products .pp-scan__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  border-top: 1px solid rgba(5, 9, 12, 0.16);
  border-left: 1px solid rgba(5, 9, 12, 0.16);
}

.page-products .pp-scan__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 12px;
  border-right: 1px solid rgba(5, 9, 12, 0.16);
  border-bottom: 1px solid rgba(5, 9, 12, 0.16);
  font-size: 0.86rem;
}

.page-products .pp-scan__item a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  line-height: 1.5;
}

.page-products .pp-scan__item a:hover,
.page-products .pp-scan__item a:focus-visible {
  color: #0a5c3c;
}

.page-products .pp-scan__item .mono {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #0a6f5a;
}

.page-products .pp-scan__dot {
  width: 7px;
  height: 7px;
  background: var(--lamp);
  box-shadow: 0 0 0 3px rgba(77, 255, 159, 0.22);
  flex: none;
}

/* ---------- split blocks ---------- */
.page-products .pp-split__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.page-products .pp-split__media {
  margin: 0;
  border-radius: 22px 6px 22px 6px;
}

.page-products .pp-split__grid--flip .pp-split__media {
  border-radius: 6px 22px 6px 22px;
}

.page-products .pp-steps {
  list-style: none;
  margin: clamp(22px, 3vw, 32px) 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
  counter-reset: pp-step;
}

.page-products .pp-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-top: var(--pp-rule);
  color: var(--body-text);
  font-size: 0.98rem;
  line-height: 1.7;
}

.page-products .pp-steps li .mono {
  flex: none;
  color: var(--lamp);
  font-size: 0.82rem;
  padding-top: 3px;
}

.page-products .pp-steps--tight li {
  padding: 11px 0;
  font-size: 0.94rem;
}

/* ---------- device path ---------- */
.page-products .pp-path__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.page-products .pp-path__media {
  margin: 0;
  border-radius: 6px 24px 6px 24px;
}

.page-products .pp-compare {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 26px);
  border: var(--pp-rule);
  border-radius: 18px 6px 18px 6px;
  background: var(--stand);
}

.page-products .pp-compare__row {
  display: grid;
  grid-template-columns: 76px 1fr 52px;
  align-items: center;
  gap: 12px;
}

.page-products .pp-compare__label {
  font-size: 0.74rem;
  color: var(--mist);
  letter-spacing: 0.04em;
}

.page-products .pp-compare__value {
  font-size: 0.82rem;
  color: var(--white);
  text-align: right;
}

.page-products .pp-compare__track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 20px;
  padding: 0 4px;
}

.page-products .pp-compare__track::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 50%;
  height: 1px;
  background: var(--line);
}

.page-products .pp-compare__track i {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}

.page-products .pp-compare__track--old i {
  background: var(--mist);
  opacity: 0.7;
}

.page-products .pp-compare__track--new i {
  background: var(--lamp);
  box-shadow: 0 0 0 4px rgba(77, 255, 159, 0.16);
}

.page-products .pp-path__steps {
  margin-top: clamp(18px, 3vw, 26px);
  border-top: var(--pp-rule);
}

/* ---------- save / sync ---------- */
.page-products .pp-state {
  list-style: none;
  margin: clamp(22px, 3vw, 30px) 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-products .pp-state li {
  display: grid;
  grid-template-columns: 14px 84px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: var(--pp-rule);
  font-size: 0.9rem;
}

.page-products .pp-state__dot {
  width: 9px;
  height: 9px;
}

.page-products .pp-state__dot--idle {
  background: var(--mist);
  box-shadow: none;
}

.page-products .pp-state__dot--saved {
  background: var(--lamp);
  box-shadow: 0 0 0 4px rgba(77, 255, 159, 0.18);
}

.page-products .pp-state__dot--sync {
  background: var(--volt);
  box-shadow: 0 0 0 4px rgba(41, 216, 255, 0.2);
  animation: pp-pulse 1.6s ease-in-out infinite;
}

@keyframes pp-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.page-products .pp-state__name {
  color: var(--white);
  font-size: 0.88rem;
}

.page-products .pp-state__desc {
  color: var(--mist);
  font-size: 0.86rem;
}

.page-products .pp-save__links {
  margin: clamp(20px, 3vw, 28px) 0 0;
}

.page-products .pp-link {
  color: var(--volt);
  text-decoration: none;
  border-bottom: 1px solid rgba(41, 216, 255, 0.4);
  padding-bottom: 2px;
  font-size: 0.95rem;
}

.page-products .pp-link:hover,
.page-products .pp-link:focus-visible {
  color: var(--lamp);
  border-bottom-color: var(--lamp);
}

/* ---------- speed ---------- */
.page-products .pp-speed__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3.4vw, 40px);
  align-items: start;
}

.page-products .pp-speed__media {
  margin: 0;
  border-radius: 24px 6px 24px 6px;
}

.page-products .pp-speed__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
}

.page-products .pp-stat {
  padding: clamp(16px, 2.4vw, 24px) clamp(14px, 2vw, 20px);
  border-top: var(--pp-rule);
  display: grid;
  gap: 8px;
  align-content: start;
}

.page-products .pp-stat--lamp {
  background: rgba(77, 255, 159, 0.06);
  border-top-color: var(--lamp);
}

.page-products .pp-stat__num {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  color: var(--white);
  letter-spacing: -0.01em;
}

.page-products .pp-stat--lamp .pp-stat__num {
  color: var(--lamp);
}

.page-products .pp-stat__name {
  font-size: 0.84rem;
  color: var(--mist);
  line-height: 1.6;
}

/* ---------- scenes ---------- */
.page-products .pp-scene-group {
  border-top: var(--pp-rule);
}

.page-products .pp-scene {
  border-bottom: var(--pp-rule);
}

.page-products .pp-scene__trigger {
  width: 100%;
}

.page-products .pp-scene__code {
  color: var(--lamp);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.page-products .pp-scene__hint {
  margin-left: auto;
  font-size: 0.74rem;
  color: var(--mist);
  white-space: nowrap;
}

.page-products .pp-scene__lead {
  margin: 0 0 12px;
  color: var(--mist);
  font-family: var(--font-serif);
  font-size: 0.96rem;
}

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

.page-products .pp-scene__list li {
  color: var(--body-text);
  font-size: 0.94rem;
  line-height: 1.7;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.page-products .pp-scene__list a {
  color: var(--volt);
  text-decoration: none;
  margin-right: 6px;
}

.page-products .pp-scene__list a .mono {
  color: var(--lamp);
  font-size: 0.78rem;
}

.page-products .pp-scene__list a:hover,
.page-products .pp-scene__list a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .pp-scene__foot {
  margin: 16px 0 0;
  font-size: 0.76rem;
  color: var(--mist);
  letter-spacing: 0.04em;
}

/* ---------- cta ---------- */
.page-products .pp-cta__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 36px);
  align-items: center;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(255, 138, 43, 0.35);
  border-radius: 26px 8px 26px 8px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(255, 138, 43, 0.16), transparent 62%),
    var(--stand);
}

.page-products .pp-cta__body p {
  margin: 12px 0 0;
  color: var(--mist);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 52ch;
}

.page-products .pp-cta__inner .btn {
  justify-self: start;
}

/* ---------- responsive ---------- */
@media (min-width: 620px) {
  .page-products .pp-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-products .pp-split__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }

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

  .page-products .pp-split__grid--flip .pp-split__body {
    order: 2;
  }

  .page-products .pp-split__grid--flip .pp-split__media {
    order: 1;
  }

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

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

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

  .page-products .pp-cta__inner .btn {
    justify-self: end;
  }
}

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

  .page-products .pp-cat {
    grid-column: span 3;
  }

  .page-products .pp-cat--w4 {
    grid-column: span 4;
  }

  .page-products .pp-cat--w6 {
    grid-column: span 6;
  }
}

@media (max-width: 480px) {
  .page-products .pp-compare__row {
    grid-template-columns: 64px 1fr 44px;
    gap: 8px;
  }

  .page-products .pp-state li {
    grid-template-columns: 14px 1fr;
    row-gap: 4px;
  }

  .page-products .pp-state__desc {
    grid-column: 2;
  }

  .page-products .pp-scan__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pp-state__dot--sync {
    animation: none;
  }
}
<<<END>>>
