.page-products {
  --px-gap: clamp(16px, 3vw, 32px);
  --px-pad: clamp(26px, 5vw, 64px);
  background: var(--page);
  color: var(--text);
}

.page-products .px-hero {
  position: relative;
  padding: clamp(18px, 4vw, 38px) 0 clamp(30px, 5vw, 56px);
  overflow: clip;
}

.page-products .px-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -25%;
  width: min(660px, 95vw);
  height: 560px;
  background: linear-gradient(140deg, rgba(46, 242, 207, 0.16), rgba(20, 92, 73, 0.12) 55%, transparent 78%);
  border-radius: var(--radius-lg);
  transform: rotate(-10deg);
  pointer-events: none;
}

.page-products .px-hero::after {
  content: "";
  position: absolute;
  left: -12%;
  bottom: -18%;
  width: min(420px, 70vw);
  height: 240px;
  background: radial-gradient(circle at 30% 40%, rgba(255, 138, 61, 0.16), transparent 70%);
  pointer-events: none;
}

.page-products .px-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 44px);
  align-items: end;
}

.page-products .px-h1 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 7.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: #F2F8F4;
  text-wrap: balance;
}

.page-products .px-lead {
  margin: 18px 0 0;
  max-width: 48ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: var(--text-dim);
}

.page-products .px-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 28px);
}

.page-products .px-board {
  position: relative;
  padding: clamp(18px, 3vw, 26px);
  background: linear-gradient(160deg, var(--ink-900), #08211B 70%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.42);
}

.page-products .px-board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-products .px-board-id {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.page-products .px-board .score-figure {
  margin: 10px 0 2px;
  font-family: var(--font-mono);
  font-size: clamp(62px, 15vw, 108px);
  font-weight: 700;
  line-height: 1;
  color: var(--score-yellow);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.page-products .px-board-meta {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--mint);
}

.page-products .px-board-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

.page-products .px-board-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-dim);
}

.page-products .px-board-list .mono {
  min-width: 46px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: #EAF3EE;
}

.page-products .px-board-note {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--orange);
}

.page-products .px-tabs {
  position: sticky;
  top: calc(var(--header-h) + 6px);
  z-index: 6;
  margin-bottom: clamp(22px, 4vw, 40px);
}

.page-products .px-tab-shell {
  display: flex;
  gap: 8px;
  padding: 7px;
  overflow-x: auto;
  background: rgba(11, 43, 35, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  scrollbar-width: none;
}

.page-products .px-tab-shell::-webkit-scrollbar {
  display: none;
}

.page-products .px-tab {
  flex: 0 0 auto;
  padding: 9px 17px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: color 160ms var(--ease), background 160ms var(--ease), border-color 160ms var(--ease);
}

.page-products .px-tab:hover,
.page-products .px-tab:focus-visible {
  color: var(--ink-950);
  background: var(--cyan);
  outline: none;
}

.page-products .px-tab--on {
  color: var(--ink-950);
  background: var(--cyan);
}

.page-products .px-section {
  padding: clamp(28px, 5vw, 62px) 0;
}

.page-products .px-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
}

.page-products .px-note-text {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-products .px-title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 4.6vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #F2F8F4;
  text-wrap: balance;
}

.page-products .px-eyebrow-dark {
  color: #6B5B3E;
}

.page-products .px-title-dark {
  color: var(--text-on-paper);
}

.page-products .px-main {
  min-width: 0;
}

.page-products .px-live-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: center;
}

.page-products .px-device {
  position: relative;
  max-width: 340px;
  margin-inline: auto;
  padding: 11px;
  border: 1px solid var(--line-strong);
  border-radius: 40px;
  background: linear-gradient(180deg, #0E3A2F, #061813);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.46);
}

.page-products .px-device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
  object-fit: cover;
}

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

.page-products .px-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--text-dim);
}

.page-products .px-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--cyan);
  transform: rotate(45deg);
}

.page-products .px-list strong {
  color: #EAF3EE;
  font-weight: 600;
}

.page-products .px-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-alt);
}

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

.page-products .px-figure--inset {
  margin-top: clamp(18px, 3vw, 28px);
}

.page-products .px-feed {
  list-style: none;
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 0 0 0 22px;
  border-left: 1px solid var(--line-strong);
  display: grid;
  gap: 20px;
}

.page-products .px-feed li {
  position: relative;
}

.page-products .px-feed li::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(46, 242, 207, 0.14);
}

.page-products .px-feed-node {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.page-products .px-feed-text {
  margin: 6px 0 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--text-dim);
}

.page-products .px-path-wrap {
  margin-top: clamp(18px, 3vw, 26px);
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(20, 92, 73, 0.16);
}

.page-products .px-path {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .px-path-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--mint);
}

.page-products .px-path-label {
  flex: 1 1 0;
  text-align: center;
}

.page-products .px-card-title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: #EAF3EE;
}

.page-products .px-card-text {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dim);
}

.page-products .px-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: clamp(20px, 3vw, 28px);
}

.page-products .px-card {
  padding: clamp(16px, 2.5vw, 22px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(11, 43, 35, 0.65);
}

.page-products .px-band {
  padding: clamp(26px, 5vw, 52px) clamp(20px, 4vw, 46px);
  border-radius: clamp(22px, 3vw, 40px);
  background: var(--paper-50);
  color: var(--text-on-paper);
}

.page-products .px-band-lead {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-on-paper-dim);
}

.page-products .px-cards--paper {
  margin-top: clamp(22px, 3vw, 32px);
}

.page-products .px-card--paper {
  background: #FFFBF2;
  border: 1px solid var(--line-paper);
  border-radius: var(--radius-md);
}

.page-products .px-card--paper .px-card-title {
  color: var(--text-on-paper);
  margin-top: 12px;
}

.page-products .px-card--paper .px-card-text {
  color: var(--text-on-paper-dim);
}

.page-products .px-filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-products .px-filter-col {
  padding: 16px 18px;
  border-left: 2px solid var(--green-700);
  background: rgba(11, 43, 35, 0.55);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.page-products .px-filter-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-products .px-filter-value {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-dim);
}

.page-products .px-mini-note {
  margin: 18px 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--orange);
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--mint);
}

.page-products .px-versions {
  position: relative;
  overflow: hidden;
  border-radius: clamp(22px, 3vw, 40px);
  border: 1px solid var(--line);
  background: var(--ink-950);
}

.page-products .px-versions > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
}

.page-products .px-versions-inner {
  position: relative;
  padding: clamp(24px, 4vw, 48px);
}

.page-products .px-version-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: clamp(20px, 3vw, 30px);
}

.page-products .px-version {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(6, 24, 19, 0.72);
  backdrop-filter: blur(3px);
}

.page-products .px-version-year {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  line-height: 1;
  color: var(--score-yellow);
  font-variant-numeric: tabular-nums;
}

.page-products .px-version .px-card-title {
  margin-top: 10px;
  font-size: 17px;
}

.page-products .px-close-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 30px);
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(20, 92, 73, 0.28), rgba(6, 24, 19, 0.9));
}

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

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

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

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

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

  .page-products .px-board {
    transform: rotate(-1.4deg);
  }

  .page-products .px-grid {
    grid-template-columns: minmax(0, 0.44fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-products .px-note {
    position: sticky;
    top: calc(var(--header-h) + 84px);
  }

  .page-products .px-live-wrap {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    align-items: center;
  }

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

  .page-products .px-close-links {
    justify-content: flex-end;
    max-width: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .px-tab,
  .page-products .px-device,
  .page-products .px-board {
    transition: none;
    transform: none;
  }
}
