.page-products {
  --pp-line: rgba(14, 27, 42, .16);
  --pp-line-dark: rgba(243, 233, 218, .18);
  background: var(--paper);
  color: var(--ink-deep);
  overflow-x: hidden;
}

/* ---------- Hero ---------- */
.page-products .pp-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  padding: clamp(16px, 3vw, 26px) 0 clamp(40px, 6vw, 76px);
}

.page-products .pp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--pp-line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--pp-line-dark) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .3;
  pointer-events: none;
}

.page-products .pp-hero::after {
  content: "";
  position: absolute;
  right: -16%;
  top: -22%;
  width: min(520px, 62vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 217, 211, .22), transparent 68%);
  pointer-events: none;
}

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

.page-products .pp-hero .breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
}

.page-products .pp-hero .breadcrumb a {
  color: var(--cyan);
}

.page-products .pp-hero .breadcrumb li {
  color: rgba(255, 255, 255, .62);
}

.page-products .pp-hero__grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  align-items: end;
  margin-top: clamp(18px, 3vw, 34px);
}

.page-products .pp-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 12px 0 18px;
  color: var(--white);
}

.page-products .pp-hero h1 .num {
  font-family: var(--font-mono);
  color: var(--yellow);
  font-size: 1.02em;
}

.page-products .pp-hero .lede {
  max-width: 54ch;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(16px, 1.5vw, 19px);
}

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

.page-products .pp-hero__device {
  margin: 0;
  padding: 10px;
  background: var(--ink-deep);
  border: 1px solid var(--pp-line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
}

.page-products .pp-hero__device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1px;
}

.page-products .pp-hero__device figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--cyan);
  padding: 10px 4px 2px;
}

.page-products .pp-stats {
  list-style: none;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--pp-line-dark);
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-products .pp-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-products .pp-stat__num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1;
  font-weight: 700;
  color: var(--white);
}

.page-products .pp-stat__label {
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(243, 233, 218, .66);
}

/* ---------- Deck: rail + blocks ---------- */
.page-products .pp-deck {
  background: var(--paper);
  color: var(--ink-deep);
  padding: clamp(36px, 5vw, 72px) 0;
}

.page-products .pp-deck__grid {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
}

.page-products .pp-rail {
  align-self: start;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(16px, 2.4vw, 22px);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
}

.page-products .pp-rail__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--cyan);
}

.page-products .pp-rail__title {
  margin: 6px 0 0;
  font-family: var(--font-accent, var(--font-serif));
  font-size: 20px;
  font-weight: 700;
}

.page-products .pp-rail__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.page-products .pp-rail__link {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  padding: 10px 6px;
  border-top: 1px solid var(--pp-line-dark);
  color: var(--paper);
  text-decoration: none;
  font-size: 14px;
  transition: color 160ms ease, background-color 160ms ease;
}

.page-products .pp-rail__link:hover,
.page-products .pp-rail__link:focus-visible {
  color: var(--cyan);
  background: rgba(38, 217, 211, .1);
}

.page-products .pp-rail__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--yellow);
}

.page-products .pp-rail__meta {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--pp-line-dark);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(243, 233, 218, .62);
}

.page-products .pp-deck__main {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  min-width: 0;
}

.page-products .pp-block {
  min-width: 0;
}

.page-products .pp-block .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--red);
}

.page-products .pp-block h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 8px 0 14px;
  color: var(--ink);
}

.page-products .pp-block .prose {
  max-width: 62ch;
  color: #1d2733;
}

.page-products .pp-banner {
  margin: 22px 0 26px;
}

.page-products .pp-banner img,
.page-products .pp-flow__figure img,
.page-products .pp-matrix__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

.page-products .pp-banner .figure__caption {
  font-size: 12px;
  color: var(--slate);
  margin-top: 8px;
}

/* field chips */
.page-products .pp-fields {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.page-products .pp-fieldgroup {
  border-top: 2px solid var(--ink);
  padding-top: 10px;
  min-width: 0;
}

.page-products .pp-fieldgroup__title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink);
}

.page-products .pp-fieldgroup__title span:last-child {
  color: var(--red);
}

.page-products .pp-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
}

.page-products .pp-chip {
  font-size: 12px;
  line-height: 1.5;
  padding: 3px 8px;
  background: var(--white);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius);
  color: #25303c;
}

/* device block */
.page-products .pp-devices {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.page-products .pp-device {
  margin: 0;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  min-width: 0;
}

.page-products .pp-device--phone {
  text-align: center;
}

.page-products .pp-device--phone img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius);
  object-fit: cover;
}

.page-products .pp-device__cap {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .03em;
  color: var(--slate);
}

.page-products .pp-minitable {
  background: var(--ink-deep);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper);
}

.page-products .pp-minitable__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px 58px;
  gap: 4px;
  padding: 8px 10px;
  text-align: right;
  border-top: 1px solid var(--pp-line-dark);
}

.page-products .pp-minitable__row span:first-child {
  text-align: left;
  color: var(--cyan);
}

.page-products .pp-minitable__row--head {
  border-top: 0;
  background: rgba(38, 217, 211, .12);
  letter-spacing: .1em;
  color: var(--paper);
}

.page-products .pp-minitable__row--head span:first-child {
  color: var(--paper);
}

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

.page-products .pp-checklist li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.7;
  color: #26313d;
}

.page-products .pp-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border-radius: 1px;
}

/* ---------- Matrix ---------- */
.page-products .pp-matrix {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(40px, 6vw, 80px) 0;
  position: relative;
}

.page-products .pp-matrix::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0 25%, var(--ink-deep) 25% 50%, var(--cyan) 50% 75%, var(--yellow) 75% 100%);
}

.page-products .pp-matrix__head .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--yellow);
}

.page-products .pp-matrix__head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.08;
  margin: 8px 0 14px;
  color: var(--white);
}

.page-products .pp-matrix__head .prose {
  max-width: 64ch;
  color: rgba(243, 233, 218, .78);
}

.page-products .pp-matrix__grid {
  display: grid;
  gap: clamp(22px, 4vw, 36px);
  margin-top: clamp(24px, 4vw, 40px);
}

.page-products .pp-matrix__panel {
  min-width: 0;
}

.page-products .pp-matrix__caption {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--cyan);
}

.page-products .pp-matrix__table {
  border: 1px solid var(--pp-line-dark);
  background: rgba(255, 255, 255, .035);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .pp-matrix__row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 44px 56px 40px;
  gap: 6px;
  align-items: center;
  padding: 10px 10px;
  font-size: 12px;
  border-top: 1px solid var(--pp-line-dark);
}

.page-products .pp-matrix__row span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-products .pp-matrix__row--head {
  border-top: 0;
  background: rgba(38, 217, 211, .12);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--cyan);
}

.page-products .pp-matrix__idx {
  font-family: var(--font-mono);
  color: rgba(243, 233, 218, .55);
}

.page-products .pp-score {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
}

.page-products .pp-result {
  font-size: 11px;
  text-align: center;
  padding: 2px 0;
  border-radius: 1px;
  font-weight: 700;
}

.page-products .pp-result--win {
  background: var(--green);
  color: var(--ink-deep);
}

.page-products .pp-result--draw {
  background: var(--slate);
  color: var(--white);
}

.page-products .pp-result--loss {
  background: var(--red);
  color: var(--white);
}

.page-products .pp-bar {
  display: flex;
  height: 30px;
  margin-top: 14px;
  border: 1px solid var(--pp-line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .pp-bar__seg {
  height: 100%;
}

.page-products .pp-bar__seg--win {
  background: var(--green);
}

.page-products .pp-bar__seg--draw {
  background: var(--slate);
}

.page-products .pp-bar__seg--loss {
  background: var(--red);
}

.page-products .pp-bar__legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 12px 0 0;
  padding: 0;
  font-size: 13px;
  color: rgba(243, 233, 218, .82);
}

.page-products .pp-bar__legend li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.page-products .pp-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 1px;
  display: inline-block;
}

.page-products .pp-legend__dot--win {
  background: var(--green);
}

.page-products .pp-legend__dot--draw {
  background: var(--slate);
}

.page-products .pp-legend__dot--loss {
  background: var(--red);
}

.page-products .pp-split {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--pp-line-dark);
}

.page-products .pp-split__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  font-size: 13px;
  color: rgba(243, 233, 218, .7);
}

.page-products .pp-split__item strong {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--yellow);
  font-weight: 700;
}

.page-products .pp-matrix__figure {
  margin: 0;
  border: 1px solid var(--pp-line-dark);
  padding: 8px;
}

/* ---------- Local ---------- */
.page-products .pp-local {
  background: var(--paper-warm);
  color: var(--ink-deep);
  padding: clamp(40px, 6vw, 76px) 0;
}

.page-products .pp-local .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--cyan-ink);
}

.page-products .pp-local h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 46px);
  line-height: 1.1;
  margin: 8px 0 14px;
  color: var(--ink);
}

.page-products .pp-local .lede {
  max-width: 62ch;
  color: #26313d;
}

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

.page-products .pp-city {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius);
  font-size: 14px;
}

.page-products .pp-city__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  padding: 2px 6px;
  background: var(--ink);
  color: var(--cyan);
  border-radius: 1px;
}

.page-products .pp-regions {
  display: grid;
  gap: 14px;
  margin-top: clamp(22px, 3vw, 32px);
}

.page-products .pp-region {
  background: var(--white);
  border-top: 3px solid var(--red);
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  min-width: 0;
}

.page-products .pp-region__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
}

.page-products .pp-region p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #26313d;
}

.page-products .pp-region__meta {
  margin-top: 10px !important;
  font-family: var(--font-mono);
  font-size: 11px !important;
  letter-spacing: .06em;
  color: var(--slate) !important;
}

/* ---------- Coop ---------- */
.page-products .pp-coop {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(40px, 6vw, 80px) 0;
}

.page-products .pp-coop .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--red);
}

.page-products .pp-coop h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.08;
  margin: 8px 0 14px;
  color: var(--white);
}

.page-products .pp-coop .lede {
  max-width: 58ch;
  color: rgba(243, 233, 218, .78);
}

.page-products .pp-coop__list {
  margin-top: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--pp-line-dark);
}

.page-products .pp-coop__row {
  display: grid;
  gap: 10px;
  padding: 22px 0;
  border-bottom: 1px solid var(--pp-line-dark);
  min-width: 0;
}

.page-products .pp-coop__num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1;
  font-weight: 700;
  color: var(--yellow);
}

.page-products .pp-coop__body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--white);
}

.page-products .pp-coop__body p {
  margin: 0;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(243, 233, 218, .78);
}

.page-products .pp-coop__fit {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--cyan);
}

.page-products .pp-coop__fit span {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 6px;
  background: rgba(38, 217, 211, .14);
  border: 1px solid rgba(38, 217, 211, .5);
  border-radius: 1px;
}

/* ---------- Flow ---------- */
.page-products .pp-flow {
  background: var(--paper);
  color: var(--ink-deep);
  padding: clamp(40px, 6vw, 76px) 0;
}

.page-products .pp-flow .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--red);
}

.page-products .pp-flow h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 46px);
  line-height: 1.1;
  margin: 8px 0 22px;
  color: var(--ink);
}

.page-products .pp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ink);
}

.page-products .pp-step {
  padding: 16px 0 18px;
  border-bottom: 1px dashed var(--paper-edge);
  min-width: 0;
}

.page-products .pp-step__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--red);
}

.page-products .pp-step h3 {
  margin: 4px 0 6px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
}

.page-products .pp-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #26313d;
}

.page-products .pp-flow__figure {
  margin: 26px 0 0;
}

.page-products .pp-flow__note {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--cyan);
  font-size: 14px;
  line-height: 1.8;
  color: #26313d;
  max-width: 66ch;
}

/* ---------- Next ---------- */
.page-products .pp-next {
  background: var(--ink-deep);
  color: var(--paper);
  padding: clamp(36px, 5vw, 62px) 0;
}

.page-products .pp-next h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  margin: 0 0 18px;
  color: var(--white);
}

.page-products .pp-next__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--pp-line-dark);
}

.page-products .pp-next__list li {
  border-bottom: 1px solid var(--pp-line-dark);
}

.page-products .pp-next__list a {
  display: block;
  padding: 14px 4px 14px 0;
  color: var(--paper);
  text-decoration: none;
  font-size: 15px;
  transition: color 160ms ease, padding-left 160ms ease;
}

.page-products .pp-next__list a::before {
  content: "→";
  font-family: var(--font-mono);
  color: var(--cyan);
  margin-right: 10px;
}

.page-products .pp-next__list a:hover,
.page-products .pp-next__list a:focus-visible {
  color: var(--yellow);
  padding-left: 6px;
}

.page-products .pp-next__contact {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(243, 233, 218, .72);
  max-width: 62ch;
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .page-products .pp-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .page-products .pp-matrix__row {
    grid-template-columns: 48px minmax(0, 1fr) 56px 72px 52px;
    font-size: 13px;
    padding: 11px 14px;
  }

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

  .page-products .pp-coop__row {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: start;
    padding: 26px 0;
  }

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

  .page-products .pp-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }
}

@media (min-width: 760px) {
  .page-products .pp-devices {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    align-items: start;
  }
}

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

  .page-products .pp-matrix__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: start;
  }

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

@media (min-width: 960px) {
  .page-products .pp-deck__grid {
    grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
    align-items: start;
  }

  .page-products .pp-rail {
    position: sticky;
    top: 96px;
  }

  .page-products .pp-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 22px;
  }

  .page-products .pp-coop__row {
    grid-template-columns: 96px minmax(0, 1fr) 220px;
    align-items: center;
    column-gap: 24px;
  }

  .page-products .pp-coop__fit {
    grid-column: auto;
    text-align: right;
  }

  .page-products .pp-next__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }
}

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

.page-products {
  --font-accent: inherit;
}
