.page-products {
  --pp-gap: clamp(20px, 3vw, 44px);
  --pp-rail-w: 216px;
  --pp-r: 14px;
  --pp-panel: linear-gradient(160deg, rgba(12, 44, 69, .92), rgba(6, 24, 38, .96));
  background: var(--xh-ink-900);
  color: var(--xh-cream-100);
  overflow-x: hidden;
}

.page-products a {
  color: var(--xh-cyan-300);
}

/* ---------- hero ---------- */
.page-products .pp-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 40px) 0 clamp(26px, 4vw, 46px);
  background:
    radial-gradient(circle at 84% 8%, rgba(51, 230, 242, .16), transparent 48%),
    radial-gradient(circle at 6% 96%, rgba(242, 184, 75, .10), transparent 44%),
    linear-gradient(180deg, var(--xh-ink-800), var(--xh-ink-900));
  border-bottom: 1px solid var(--xh-line);
}

.page-products .pp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(140, 248, 255, .05) 0 1px, transparent 1px 22px);
  pointer-events: none;
}

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

.page-products .pp-hero__body {
  margin-top: clamp(20px, 3.4vw, 36px);
  max-width: 760px;
}

.page-products .pp-hero h1 {
  margin: 10px 0 0;
  font-family: var(--xh-font-display);
  font-weight: 900;
  font-size: clamp(32px, 7vw, 62px);
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--xh-cream-100);
}

.page-products .pp-hero__lead {
  margin: clamp(14px, 2vw, 22px) 0 0;
  max-width: 40em;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.85;
  color: rgba(245, 241, 232, .78);
}

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

.page-products .pp-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: clamp(24px, 3.4vw, 38px) 0 0;
  padding: clamp(14px, 2vw, 18px) 0 0;
  border-top: 1px solid var(--xh-line-soft);
  list-style: none;
  font-size: 13px;
  color: var(--xh-stone-500);
}

.page-products .pp-k {
  font-family: var(--xh-font-mono);
  font-weight: 600;
  color: var(--xh-gold-500);
  margin-right: 5px;
}

/* ---------- shell ---------- */
.page-products .pp-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pp-gap);
  padding-top: clamp(28px, 4.4vw, 56px);
  padding-bottom: clamp(48px, 7vw, 96px);
}

/* ---------- rail ---------- */
.page-products .pp-rail {
  display: none;
}

.page-products .pp-rail__title {
  margin: 0 0 12px;
  padding-left: 4px;
  font-family: var(--xh-font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--xh-stone-500);
}

.page-products .pp-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--xh-line);
}

.page-products .pp-rail .xh-index__item {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 9px 10px 9px 12px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(245, 241, 232, .62);
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: color .22s ease, border-color .22s ease, background .22s ease;
}

.page-products .pp-rail .xh-index__item:hover,
.page-products .pp-rail .xh-index__item:focus-visible {
  color: var(--xh-cyan-100, var(--xh-cyan-300));
  border-left-color: var(--xh-cyan-300);
}

.page-products .pp-rail .xh-index__item.is-active,
.page-products .pp-rail .xh-index__item[aria-current] {
  color: var(--xh-cyan-300);
  border-left-color: var(--xh-cyan-500);
  background: linear-gradient(90deg, rgba(51, 230, 242, .12), transparent 80%);
}

.page-products .xh-index__num {
  font-family: var(--xh-font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--xh-cyan-500);
  letter-spacing: .04em;
}

.page-products .pp-rail__cta {
  display: block;
  margin-top: 18px;
  padding: 11px 14px;
  font-size: 13px;
  text-align: center;
  text-decoration: none;
  color: var(--xh-coral-500);
  border: 1px solid rgba(255, 107, 90, .45);
  background: rgba(255, 107, 90, .08);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: background .22s ease, border-color .22s ease;
}

.page-products .pp-rail__cta:hover,
.page-products .pp-rail__cta:focus-visible {
  background: rgba(255, 107, 90, .18);
  border-color: var(--xh-coral-500);
}

/* ---------- flow / sections ---------- */
.page-products .pp-flow {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 76px);
  min-width: 0;
}

.page-products .pp-section {
  min-width: 0;
  scroll-margin-top: 90px;
}

.page-products .pp-section__head {
  position: relative;
  padding-left: 14px;
  border-left: 3px solid var(--xh-cyan-500);
  margin-bottom: clamp(20px, 3vw, 30px);
}

.page-products .pp-section__num {
  margin: 0 0 6px;
  font-family: var(--xh-font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--xh-gold-500);
}

.page-products .pp-section h2 {
  margin: 0;
  font-family: var(--xh-font-display);
  font-weight: 800;
  font-size: clamp(23px, 3.6vw, 36px);
  line-height: 1.24;
  letter-spacing: -.01em;
  color: var(--xh-cream-100);
}

.page-products .pp-section__lead {
  margin: 12px 0 0;
  max-width: 44em;
  font-size: clamp(14.5px, 1.6vw, 16px);
  line-height: 1.85;
  color: rgba(245, 241, 232, .72);
}

/* ---------- table ---------- */
.page-products .pp-tablewrap {
  background: var(--pp-panel);
  border: 1px solid var(--xh-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-products .pp-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .pp-table__caption {
  padding: 16px 18px 12px;
  text-align: left;
  font-family: var(--xh-font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--xh-stone-500);
}

.page-products .pp-table thead th {
  padding: 10px 18px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--xh-cyan-300);
  background: rgba(51, 230, 242, .09);
  border-bottom: 1px solid var(--xh-line-strong);
  white-space: nowrap;
}

.page-products .pp-table tbody th {
  padding: 16px 18px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--xh-cream-100);
  white-space: nowrap;
  border-bottom: 1px solid var(--xh-line-soft);
  border-left: 2px solid transparent;
}

.page-products .pp-table tbody td {
  padding: 16px 18px;
  line-height: 1.7;
  color: rgba(245, 241, 232, .74);
  border-bottom: 1px solid var(--xh-line-soft);
  vertical-align: top;
}

.page-products .pp-table tbody tr:last-child th,
.page-products .pp-table tbody tr:last-child td {
  border-bottom: none;
}

.page-products .pp-table tbody tr {
  transition: background .22s ease;
}

.page-products .pp-table tbody tr:hover {
  background: rgba(51, 230, 242, .07);
}

.page-products .pp-table tbody tr:hover th {
  border-left-color: var(--xh-cyan-500);
  color: var(--xh-cyan-300);
}

.page-products .pp-nudge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 18px 0 0;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(245, 241, 232, .7);
  border: 1px dashed var(--xh-line-strong);
  border-radius: 2px;
}

.page-products .pp-nudge a {
  color: var(--xh-cyan-500);
  text-decoration: none;
  border-bottom: 1px solid rgba(51, 230, 242, .35);
}

.page-products .pp-nudge a:hover {
  border-bottom-color: var(--xh-cyan-300);
}

/* ---------- mobile block ---------- */
.page-products .pp-mobile {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 32px);
}

.page-products .pp-mobile__frame {
  background: linear-gradient(170deg, var(--xh-ink-700), var(--xh-ink-900));
  border: 1px solid var(--xh-line-strong);
  border-radius: 20px;
  padding: 14px;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 26px 60px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(140, 248, 255, .05);
}

.page-products .pp-mobile__bar {
  display: flex;
  gap: 6px;
  padding: 0 4px 12px;
}

.page-products .pp-mobile__bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(140, 248, 255, .22);
}

.page-products .pp-mobile__bar span:first-child {
  background: rgba(255, 107, 90, .55);
}

.page-products .pp-mobile__bar span:nth-child(2) {
  background: rgba(242, 184, 75, .55);
}

.page-products .pp-mobile__label {
  margin: 0 0 10px;
  padding: 12px 12px 10px;
  font-family: var(--xh-font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--xh-stone-500);
  border-bottom: 1px solid var(--xh-line);
}

.page-products .pp-mobile__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-products .pp-mobile__row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--xh-line);
  background: rgba(51, 230, 242, .06);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}

.page-products .pp-mobile__row:nth-child(2) {
  background: rgba(242, 184, 75, .07);
  border-color: rgba(242, 184, 75, .3);
}

.page-products .pp-mobile__row--dim {
  background: rgba(255, 255, 255, .02);
  border-color: var(--xh-line-soft);
  opacity: .74;
}

.page-products .pp-mobile__ic {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 13px;
  font-weight: 700;
  color: var(--xh-ink-900);
  background: var(--xh-cyan-500);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.page-products .pp-mobile__row:nth-child(2) .pp-mobile__ic {
  background: var(--xh-gold-500);
}

.page-products .pp-mobile__row--dim .pp-mobile__ic {
  background: rgba(245, 241, 232, .28);
}

.page-products .pp-mobile__tx {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 14px;
  font-weight: 600;
  color: var(--xh-cream-100);
}

.page-products .pp-mobile__tx em {
  font-style: normal;
  font-family: var(--xh-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--xh-stone-500);
}

.page-products .pp-mobile__ar {
  color: var(--xh-cyan-500);
  font-size: 18px;
  line-height: 1;
}

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

.page-products .pp-mobile__aside .xh-media {
  border: 1px solid var(--xh-line);
  border-radius: 4px;
}

.page-products .pp-list {
  list-style: none;
  margin: 16px 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(245, 241, 232, .74);
}

.page-products .pp-list li {
  padding-left: 14px;
  border-left: 2px solid rgba(51, 230, 242, .3);
}

.page-products .pp-list strong {
  color: var(--xh-cream-100);
  font-weight: 700;
}

/* ---------- nav layers ---------- */
.page-products .pp-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

.page-products .pp-nav__figure {
  margin: 0;
  max-width: 320px;
}

.page-products .pp-nav__figure .xh-media {
  border: 1px solid var(--xh-line);
  border-radius: 4px;
}

.page-products .pp-layers {
  list-style: none;
  margin: 0 0 18px;
  padding: 0 0 0 16px;
  border-left: 1px solid var(--xh-line-strong);
}

.page-products .pp-layers__item {
  position: relative;
  padding: 0 0 22px 0;
}

.page-products .pp-layers__item::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--xh-cyan-500);
  box-shadow: 0 0 0 4px rgba(51, 230, 242, .14);
}

.page-products .pp-layers__item:last-child {
  padding-bottom: 0;
}

.page-products .pp-layers__num {
  font-family: var(--xh-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--xh-gold-500);
}

.page-products .pp-layers h3 {
  margin: 4px 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--xh-cream-100);
}

.page-products .pp-layers p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: rgba(245, 241, 232, .7);
}

.page-products .pp-nav__hint {
  margin: 0 0 14px;
  font-family: var(--xh-font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--xh-cyan-300);
}

.page-products .pp-cols {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.page-products .pp-cols li {
  padding: 10px 12px;
  font-size: 13.5px;
  color: rgba(245, 241, 232, .76);
  background: rgba(12, 44, 69, .7);
  border-left: 2px solid rgba(51, 230, 242, .35);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

/* ---------- archive ---------- */
.page-products .pp-archive {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 28px);
}

.page-products .pp-archive__table {
  border: 1px solid var(--xh-line);
  background: rgba(8, 32, 51, .78);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.page-products .pp-archive__row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 13px 16px;
  font-size: 13.5px;
  color: rgba(245, 241, 232, .74);
  border-bottom: 1px solid var(--xh-line-soft);
}

.page-products .pp-archive__row:nth-child(even) {
  background: rgba(140, 248, 255, .035);
}

.page-products .pp-archive__row:last-child {
  border-bottom: none;
}

.page-products .pp-archive__row--head {
  background: rgba(51, 230, 242, .1);
  border-bottom: 1px solid var(--xh-line-strong);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--xh-cyan-300);
}

.page-products .pp-archive__tag {
  font-family: var(--xh-font-mono);
  font-weight: 600;
  font-size: 13px;
  color: var(--xh-cream-100);
}

.page-products .pp-archive__figure {
  margin: 0;
}

.page-products .pp-archive__figure .xh-media {
  border: 1px solid var(--xh-line);
  border-radius: 4px;
}

.page-products .pp-entry {
  list-style: none;
  counter-reset: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.page-products .pp-entry li {
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(245, 241, 232, .72);
  background: linear-gradient(120deg, rgba(12, 44, 69, .8), rgba(6, 24, 38, .6));
  border: 1px solid var(--xh-line-soft);
}

.page-products .pp-entry__num {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 7px;
  font-family: var(--xh-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--xh-ink-900);
  background: var(--xh-cyan-300);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
}

/* ---------- access ---------- */
.page-products .pp-access {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

.page-products .pp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-products .pp-steps__item {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: var(--pp-panel);
  border: 1px solid var(--xh-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: border-color .22s ease, transform .22s ease;
}

.page-products .pp-steps__item:hover {
  border-color: rgba(51, 230, 242, .45);
  transform: translateY(-2px);
}

.page-products .pp-steps__num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-family: var(--xh-font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--xh-ink-900);
  background: var(--xh-gold-500);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}

.page-products .pp-steps h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: var(--xh-cream-100);
}

.page-products .pp-steps p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: rgba(245, 241, 232, .7);
}

.page-products .pp-access__figure {
  margin: 0;
}

.page-products .pp-access__figure .xh-media {
  border: 1px solid var(--xh-line);
  border-radius: 4px;
}

.page-products .pp-assist {
  margin-top: clamp(20px, 3vw, 30px);
  padding: clamp(18px, 3vw, 26px);
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 107, 90, .18), transparent 55%),
    linear-gradient(150deg, rgba(12, 44, 69, .95), rgba(6, 24, 38, .98));
  border: 1px solid rgba(255, 107, 90, .3);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.page-products .pp-assist h3 {
  margin: 0 0 10px;
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 800;
  color: var(--xh-cream-100);
}

.page-products .pp-assist p {
  margin: 0;
  max-width: 46em;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 241, 232, .72);
}

.page-products .pp-assist__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 16px 0 12px;
}

.page-products .pp-assist__mail {
  flex: 1 1 220px;
  min-width: 0;
  padding: 11px 14px;
  font-family: var(--xh-font-mono);
  font-size: 13px;
  color: var(--xh-cyan-300);
  background: rgba(6, 24, 38, .8);
  border: 1px solid var(--xh-line-strong);
  overflow-wrap: anywhere;
}

.page-products .pp-assist__copy {
  flex: 0 0 auto;
}

.page-products .pp-assist__note {
  font-size: 13px;
  color: var(--xh-stone-500);
}

.page-products .xh-copy {
  cursor: pointer;
  font-family: var(--xh-font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  padding: 11px 18px;
  color: var(--xh-ink-900);
  background: var(--xh-cyan-500);
  border: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: background .2s ease;
}

.page-products .xh-copy:hover {
  background: var(--xh-cyan-300);
}

.page-products .xh-copy.is-copied {
  background: var(--xh-moss-500);
}

/* ---------- scenes ---------- */
.page-products .pp-scenes {
  position: relative;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--xh-line);
  background: rgba(8, 32, 51, .6);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  overflow: hidden;
}

.page-products .pp-scenes__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .18;
  pointer-events: none;
}

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

.page-products .pp-scenes__list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-products .pp-scenes__item {
  padding: 16px 18px;
  background: rgba(6, 24, 38, .82);
  border: 1px solid var(--xh-line);
  border-left: 3px solid rgba(51, 230, 242, .45);
  transition: border-left-color .22s ease, transform .22s ease;
}

.page-products .pp-scenes__item:hover {
  border-left-color: var(--xh-cyan-500);
  transform: translateY(-2px);
}

.page-products .pp-scenes__item h3 {
  margin: 0 0 7px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--xh-cream-100);
}

.page-products .pp-scenes__item p {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(245, 241, 232, .7);
}

.page-products .pp-scenes__item a {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--xh-cyan-500);
  border-bottom: 1px solid rgba(51, 230, 242, .4);
  transition: color .2s ease, border-color .2s ease;
}

.page-products .pp-scenes__item a:hover,
.page-products .pp-scenes__item a:focus-visible {
  color: var(--xh-cyan-300);
  border-bottom-color: var(--xh-cyan-300);
}

/* ---------- final ---------- */
.page-products .pp-final {
  margin-top: clamp(22px, 3vw, 32px);
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  justify-content: space-between;
  border-top: 2px solid var(--xh-cyan-500);
  background: linear-gradient(120deg, rgba(51, 230, 242, .1), rgba(242, 184, 75, .07));
}

.page-products .pp-final__text {
  margin: 0;
  flex: 1 1 320px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(245, 241, 232, .82);
}

.page-products .pp-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- media ---------- */
.page-products .xh-media {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  background: linear-gradient(140deg, var(--xh-ink-700), var(--xh-ink-900));
}

.page-products .xh-media--portrait {
  aspect-ratio: 3 / 4;
}

.page-products .xh-media--wide {
  aspect-ratio: 3 / 2;
}

.page-products .xh-media__caption {
  margin: 9px 0 0;
  font-family: var(--xh-font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--xh-stone-500);
}

/* ---------- buttons ---------- */
.page-products .xh-btn {
  display: inline-block;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.page-products .xh-btn:hover {
  transform: translateY(-2px);
}

.page-products .xh-btn--primary {
  color: var(--xh-ink-900);
  background: var(--xh-cyan-500);
}

.page-products .xh-btn--primary:hover {
  background: var(--xh-cyan-300);
}

.page-products .xh-btn--ghost {
  color: var(--xh-cyan-300);
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(140, 248, 255, .4);
}

.page-products .xh-btn--ghost:hover {
  background: rgba(51, 230, 242, .12);
}

.page-products .xh-btn--amber {
  color: var(--xh-ink-900);
  background: var(--xh-gold-500);
}

.page-products .xh-btn--amber:hover {
  background: #ffcb6b;
}

/* ---------- chips ---------- */
.page-products .xh-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--xh-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  white-space: nowrap;
}

.page-products .xh-chip--cyan {
  color: var(--xh-cyan-300);
  background: rgba(51, 230, 242, .12);
}

.page-products .xh-chip--gold {
  color: var(--xh-gold-500);
  background: rgba(242, 184, 75, .12);
}

.page-products .xh-chip--green {
  color: var(--xh-moss-500);
  background: rgba(111, 175, 143, .14);
}

.page-products .xh-chip--coral {
  color: var(--xh-coral-500);
  background: rgba(255, 107, 90, .13);
}

.page-products .xh-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pp-breathe 2.8s ease-in-out infinite;
}

@keyframes pp-breathe {
  0%, 100% { opacity: .45; }
  50% { opacity: 1; }
}

/* ---------- reveal ---------- */
.page-products .xh-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}

.page-products .xh-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */
@media (min-width: 700px) {
  .page-products .pp-mobile,
  .page-products .pp-nav,
  .page-products .pp-access,
  .page-products .pp-archive {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

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

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

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

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

@media (min-width: 900px) {
  .page-products .pp-shell {
    grid-template-columns: var(--pp-rail-w) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
  }

  .page-products .pp-rail {
    display: block;
    position: sticky;
    top: 96px;
    align-self: start;
  }

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

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

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

@media (max-width: 640px) {
  .page-products .pp-hero__meta {
    gap: 8px 18px;
    font-size: 12.5px;
  }

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

  .page-products .pp-scenes {
    padding: 14px;
  }

  .page-products .pp-final {
    flex-direction: column;
    align-items: stretch;
  }

  .page-products .pp-final__actions .xh-btn {
    flex: 1 1 auto;
  }

  .page-products .pp-assist__row {
    flex-direction: column;
    align-items: stretch;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-products .xh-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-products .xh-dot {
    animation: none;
  }

  .page-products .xh-btn:hover,
  .page-products .pp-steps__item:hover,
  .page-products .pp-scenes__item:hover {
    transform: none;
  }
}

.page-products {
  --xh-cyan-100: currentColor;
}
