.page-products {
  --pp-line: rgba(242, 240, 255, .1);
  --pp-glow: 0 0 24px rgba(255, 107, 53, .35);
}

.page-products .pp-hero {
  position: relative;
  padding: 36px 0 48px;
  overflow: hidden;
  background:
    radial-gradient(600px 360px at 85% 20%, rgba(255, 107, 53, .16), transparent 70%),
    radial-gradient(480px 300px at 8% 85%, rgba(255, 201, 76, .10), transparent 70%);
}

.page-products .pp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 12px);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 92%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 92%);
}

.page-products .pp-hero__grid {
  display: grid;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.page-products .pp-hero__title {
  margin: 14px 0 16px;
  font-family: var(--font-head);
  font-size: clamp(2rem, 7vw, 3.75rem);
  line-height: 1.15;
  color: var(--text-light);
  letter-spacing: -.02em;
}

.page-products .pp-hero__title-accent {
  display: block;
  margin-top: 10px;
  color: var(--accent-gold);
  font-size: .42em;
  letter-spacing: .06em;
}

.page-products .pp-hero__lead {
  max-width: 640px;
  margin: 0 0 24px;
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.8;
}

.page-products .pp-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  color: var(--text-light);
  font-size: .92rem;
}

.page-products .pp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-products .pp-btn-lg {
  justify-content: center;
  padding: 14px 24px;
  min-width: 180px;
}

.page-products .pp-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-products .pp-device-wrap {
  position: relative;
  width: 100%;
  min-height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-products .pp-device {
  position: relative;
  background: var(--primary-dark);
  border: 2px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.page-products .pp-device--desktop {
  width: min(100%, 340px);
  aspect-ratio: 8 / 5.2;
  padding: 9px;
  z-index: 1;
}

.page-products .pp-device__screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #2A2463, #1F1B4D);
  border-radius: 8px;
  overflow: hidden;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-products .pp-device__screen-header {
  display: flex;
  gap: 5px;
}

.page-products .pp-device__screen-header span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  opacity: .85;
}

.page-products .pp-device__screen-header span:nth-child(2) {
  background: var(--accent-orange);
}

.page-products .pp-device__screen-header span:nth-child(3) {
  background: var(--success);
}

.page-products .pp-screen-line {
  height: 6px;
  border-radius: 4px;
  background: rgba(242, 240, 255, .18);
}

.page-products .pp-screen-line--short {
  width: 42%;
}

.page-products .pp-screen-box-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 6px;
}

.page-products .pp-screen-box-row span {
  height: 30px;
  background: rgba(242, 240, 255, .08);
  border-radius: 4px;
}

.page-products .pp-screen-cta {
  width: 58%;
  height: 22px;
  margin-top: auto;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-gold));
  border-radius: 4px;
}

.page-products .pp-device__stand {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 46%;
  height: 12px;
  background: linear-gradient(90deg, #2A2463, #15122E);
  border-radius: 2px 2px 8px 8px;
}

.page-products .pp-device--mobile {
  position: absolute;
  right: 6%;
  bottom: -8px;
  width: 112px;
  aspect-ratio: 9 / 19;
  background: #15122E;
  border-radius: 18px;
  padding: 6px;
  z-index: 2;
}

.page-products .pp-device--mobile .pp-screen-camera {
  width: 26px;
  height: 6px;
  margin: 2px auto 8px;
  background: rgba(255, 255, 255, .25);
  border-radius: 4px;
}

.page-products .pp-device--mobile .pp-screen-line {
  height: 4px;
}

.page-products .pp-device--mobile .pp-screen-box-row {
  grid-template-columns: 1fr;
  gap: 4px;
  margin-top: 4px;
}

.page-products .pp-device--mobile .pp-screen-box-row span {
  height: 14px;
}

.page-products .pp-device--mobile .pp-screen-cta {
  width: 70%;
  height: 14px;
}

.page-products .pp-hero__orbit {
  position: absolute;
  border: 1px dashed rgba(255, 201, 76, .35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.page-products .pp-hero__orbit--one {
  width: 220px;
  height: 220px;
  top: -30px;
  left: 4%;
}

.page-products .pp-hero__orbit--two {
  width: 140px;
  height: 140px;
  bottom: -28px;
  right: 16%;
  border-color: rgba(255, 107, 53, .3);
}

.page-products .pp-downloads,
.page-products .pp-compat,
.page-products .pp-changelog,
.page-products .pp-mobile,
.page-products .pp-install,
.page-products .pp-trust,
.page-products .pp-help {
  margin-top: 56px;
  scroll-margin-top: 120px;
}

.page-products .pp-section-head {
  margin-bottom: 28px;
}

.page-products .pp-download-grid,
.page-products .pp-tabs__panels {
  display: grid;
  gap: 18px;
}

.page-products .pp-tabs {
  margin-bottom: 22px;
}

.page-products .pp-tabs__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-products .pp-tabs__label {
  display: inline-block;
  margin: 0 8px 8px 0;
  padding: 9px 18px;
  border: 1px solid var(--pp-line);
  border-radius: 999px;
  background: rgba(42, 36, 99, .6);
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.page-products .pp-tabs__input:checked + .pp-tabs__label {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: var(--primary-dark);
  font-weight: 700;
  box-shadow: var(--pp-glow);
}

.page-products .pp-tabs__input:focus-visible + .pp-tabs__label {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

.page-products #pp-tab-desktop:checked ~ .pp-tabs__panels .pp-download-card--mobile {
  display: none;
}

.page-products #pp-tab-mobile:checked ~ .pp-tabs__panels .pp-download-card--desktop {
  display: none;
}

.page-products .pp-download-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 22px 22px;
  background: linear-gradient(160deg, #2A2463, #1F1B4D);
  border: 1px solid var(--pp-line);
  border-radius: var(--radius);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .28));
  transition: transform .3s var(--ease), border-color .3s var(--ease), filter .3s var(--ease);
}

.page-products .pp-download-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 53, .5);
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .42));
}

.page-products .pp-download-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.page-products .pp-download-card__icon--desktop {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
}

.page-products .pp-download-card__icon--android {
  background: linear-gradient(135deg, var(--success), var(--accent-gold));
}

.page-products .pp-download-card__icon--ios {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
}

.page-products .pp-download-card__platform {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--text-light);
}

.page-products .pp-download-card__version {
  margin: 0;
  color: var(--accent-gold);
  font-size: .88rem;
}

.page-products .pp-download-card__desc {
  margin: 0;
  color: var(--text-dim);
  font-size: .92rem;
  line-height: 1.7;
}

.page-products .pp-download-card__btn {
  margin-top: auto;
  width: 100%;
  text-align: center;
}

.page-products .pp-qr summary {
  list-style: none;
}

.page-products .pp-qr summary::-webkit-details-marker {
  display: none;
}

.page-products .pp-qr__drop {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding: 14px;
  background: var(--primary-dark);
  border: 1px solid rgba(255, 201, 76, .4);
  border-radius: var(--radius-sm);
}

.page-products .pp-qr__drop p {
  margin: 0;
  color: var(--text-dim);
  font-size: .85rem;
  line-height: 1.7;
}

.page-products .pp-qr__svg {
  width: 82px;
  height: 82px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
}

.page-products .pp-qr[open] .pp-qr__drop {
  animation: ppFadeUp .3s var(--ease);
}

@keyframes ppFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-products .pp-compat__panel {
  padding: 28px 22px;
}

.page-products .pp-compat__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.page-products .pp-compat__lead {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--text-dim);
  line-height: 1.75;
}

.page-products .pp-compat__layout {
  display: grid;
  gap: 24px;
  align-items: center;
}

.page-products .pp-compat__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-products .pp-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.page-products .pp-table th {
  padding: 12px 14px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-gold);
  border-bottom: 2px solid rgba(255, 201, 76, .3);
}

.page-products .pp-table td {
  padding: 14px;
  border-bottom: 1px solid var(--pp-line);
  color: var(--text-light);
  font-size: .92rem;
}

.page-products .pp-table tbody tr {
  transition: background .25s var(--ease);
}

.page-products .pp-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, .04);
}

.page-products .pp-table tbody tr:hover {
  background: rgba(255, 107, 53, .08);
}

.page-products .pp-table__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  font-size: .85rem;
  font-weight: 600;
}

.page-products .pp-table__status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}

.page-products .pp-table__status--off {
  color: var(--text-dim);
}

.page-products .pp-table__status--off::before {
  background: var(--text-dim);
  box-shadow: none;
}

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

.page-products .pp-frame-compat,
.page-products .pp-frame-chart,
.page-products .pp-frame-steps,
.page-products .pp-frame-seal {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--pp-line);
}

.page-products .pp-frame-compat img,
.page-products .pp-frame-chart img,
.page-products .pp-frame-steps img,
.page-products .pp-frame-seal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-products .pp-frame-compat {
  aspect-ratio: 8 / 5;
}

.page-products .pp-frame-chart {
  aspect-ratio: 3 / 2;
}

.page-products .pp-frame-steps {
  aspect-ratio: 7 / 3;
}

.page-products .pp-frame-seal {
  aspect-ratio: 1 / 1;
  max-width: 120px;
}

.page-products .pp-figcaption {
  margin-top: 10px;
  font-size: .8rem;
  color: var(--text-dim);
}

.page-products .pp-changelog__layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

.page-products .pp-changelog__list {
  display: grid;
  gap: 14px;
}

.page-products .pp-changelog__item {
  background: var(--primary-light);
  border: 1px solid var(--pp-line);
  border-left: 3px solid var(--accent-orange);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.page-products .pp-changelog__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.page-products .pp-changelog__summary::-webkit-details-marker {
  display: none;
}

.page-products .pp-changelog__version {
  min-width: 66px;
  font-weight: 800;
  color: var(--accent-gold);
}

.page-products .pp-changelog__title {
  flex: 1;
  color: var(--text-light);
  font-weight: 600;
}

.page-products .pp-changelog__summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--text-dim);
  transition: transform .25s var(--ease), color .25s var(--ease);
}

.page-products .pp-changelog__item[open] .pp-changelog__summary::after {
  transform: rotate(45deg);
  color: var(--accent-orange);
}

.page-products .pp-changelog__content {
  margin: 0;
  padding: 0 20px 20px;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--text-dim);
}

.page-products .pp-changelog__content li {
  position: relative;
  padding-left: 20px;
  line-height: 1.7;
}

.page-products .pp-changelog__content li::before {
  content: "›";
  position: absolute;
  left: 2px;
  color: var(--accent-gold);
  font-family: var(--font-mono);
}

.page-products .pp-changelog__aside {
  display: grid;
  gap: 16px;
}

.page-products .pp-changelog__aside figure {
  margin: 0;
}

.page-products .pp-changelog__aside-text {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.75;
  font-size: .92rem;
}

.page-products .pp-mobile__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-products .pp-mobile__shot {
  justify-self: center;
}

.page-products .pp-frame-mobile {
  position: relative;
  overflow: hidden;
  width: min(240px, 72%);
  aspect-ratio: 1 / 2;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--shadow);
}

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

.page-products .pp-mobile__copy .section-title {
  margin-top: 10px;
}

.page-products .pp-mobile__list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--text-light);
}

.page-products .pp-mobile__list li {
  position: relative;
  padding-left: 24px;
  line-height: 1.7;
}

.page-products .pp-mobile__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .45em;
  width: 9px;
  height: 9px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
}

.page-products .pp-steps {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.page-products .pp-step {
  position: relative;
  padding: 24px 20px 20px;
  background: rgba(42, 36, 99, .7);
  border: 1px solid var(--pp-line);
  border-radius: var(--radius-sm);
}

.page-products .pp-step__num {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-gold);
  opacity: .55;
  margin-bottom: 14px;
}

.page-products .pp-step__title {
  margin: 0 0 8px;
  color: var(--text-light);
  font-family: var(--font-head);
  font-size: 1.06rem;
}

.page-products .pp-step p {
  margin: 0;
  color: var(--text-dim);
  font-size: .9rem;
  line-height: 1.7;
}

.page-products .pp-install__figure {
  margin: 28px 0 0;
}

.page-products .pp-trust__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.page-products .pp-trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px 18px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--pp-line);
  border-radius: var(--radius);
}

.page-products .pp-trust__seal {
  margin: 0 auto 16px;
}

.page-products .pp-trust__num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1.2;
  margin-bottom: 8px;
}

.page-products .pp-trust__title {
  margin: 0 0 8px;
  color: var(--text-light);
  font-family: var(--font-head);
  font-size: 1.08rem;
}

.page-products .pp-trust__desc {
  margin: 0;
  color: var(--text-dim);
  font-size: .88rem;
  line-height: 1.7;
}

.page-products .pp-help__grid {
  display: grid;
  gap: 28px;
}

.page-products .pp-help__intro .section-title {
  margin-top: 10px;
}

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

.page-products .pp-help__note {
  margin-top: 18px;
  font-size: .85rem;
}

.page-products .pp-help__faq details {
  margin-top: 14px;
  padding: 16px 18px;
  background: var(--primary-light);
  border: 1px solid var(--pp-line);
  border-radius: var(--radius-sm);
}

.page-products .pp-help__faq summary {
  list-style: none;
  cursor: pointer;
  color: var(--text-light);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.page-products .pp-help__faq summary::-webkit-details-marker {
  display: none;
}

.page-products .pp-help__faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--accent-gold);
}

.page-products .pp-help__faq details[open] summary::after {
  content: "−";
}

.page-products .pp-help__faq p {
  margin: 12px 0 0;
  color: var(--text-dim);
  line-height: 1.75;
}

.page-products section[id] {
  scroll-margin-top: 120px;
}

@media (min-width: 640px) {
  .page-products .pp-download-grid,
  .page-products .pp-tabs__panels {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (min-width: 900px) {
  .page-products .pp-hero {
    padding: 64px 0 80px;
  }

  .page-products .pp-hero__grid {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 40px;
  }

  .page-products .pp-compat__panel {
    padding: 36px 32px;
  }

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

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

  .page-products .pp-changelog__aside {
    position: sticky;
    top: 120px;
  }

  .page-products .pp-mobile__grid {
    grid-template-columns: 260px 1fr;
    gap: 40px;
  }

  .page-products .pp-help__grid {
    grid-template-columns: .85fr 1.15fr;
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .page-products .pp-download-grid,
  .page-products .pp-tabs__panels {
    grid-template-columns: repeat(3, 1fr);
  }

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

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