.page-products {
  --pd-edge: rgba(142, 154, 179, .18);
  --pd-edge-strong: rgba(142, 154, 179, .3);
  --pd-soft: #B9C4D8;
  --pd-panel: rgba(16, 26, 46, .78);
  position: relative;
  isolation: isolate;
  color: #E8EDF7;
}

.page-products::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 760px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(70% 55% at 80% 0%, rgba(176, 38, 255, .26), rgba(176, 38, 255, 0) 66%),
    radial-gradient(58% 44% at 4% 5%, rgba(61, 255, 158, .13), rgba(61, 255, 158, 0) 62%);
}

/* ---------- hero ---------- */
.page-products .pd-hero {
  padding: 26px 0 52px;
}

.page-products .pd-hero h1 {
  margin: 16px 0 20px;
  max-width: 21ch;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(30px, 5.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -.012em;
  color: #FFFFFF;
}

.page-products .pd-hero__lead {
  margin: 0;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--pd-soft);
}

.page-products .pd-hero__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 30px 0 0;
  padding: 0;
  background: var(--pd-edge);
  border: 1px solid var(--pd-edge);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .pd-hero__facts > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 16px;
  background: rgba(10, 18, 31, .74);
}

.page-products .pd-hero__facts dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--muted);
}

.page-products .pd-hero__facts dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--neon);
}

/* ---------- overview panel ---------- */
.page-products .pd-overview {
  padding: 20px 0 56px;
}

.page-products .pd-overview__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 30px 20px 26px;
  border: 1px solid var(--pd-edge);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(16, 26, 46, .95), rgba(10, 18, 31, .88));
}

.page-products .pd-overview__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
  pointer-events: none;
}

.page-products .pd-overview__head .section__lead {
  max-width: 56ch;
  color: var(--pd-soft);
}

.page-products .pd-metrics {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--pd-edge);
  border-radius: 12px;
  overflow: hidden;
}

.page-products .pd-metrics li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px 13px 15px;
  background: rgba(7, 12, 22, .88);
}

.page-products .pd-metrics__no {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--gold);
}

.page-products .pd-metrics__name {
  font-size: 13.5px;
  line-height: 1.45;
  color: #E4EAF6;
}

.page-products .pd-metrics__val {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 17px;
  letter-spacing: .02em;
  color: var(--neon);
}

/* ---------- generic block ---------- */
.page-products .pd-block {
  position: relative;
  z-index: 0;
  padding: 54px 0;
}

.page-products .pd-block--slice::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -4%;
  bottom: -4%;
  width: 100vw;
  z-index: -1;
  pointer-events: none;
  transform: translateX(-50%) skewY(-3deg);
  background: linear-gradient(108deg, rgba(16, 26, 46, .88) 0%, rgba(10, 18, 31, .32) 62%, rgba(176, 38, 255, .10) 100%);
}

.page-products .pd-note {
  margin: 16px 0 0;
  padding-left: 12px;
  border-left: 2px solid rgba(255, 138, 43, .55);
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .pd-sub {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted);
}

/* ---------- filter split ---------- */
.page-products .pd-split {
  align-items: start;
}

.page-products .pd-split__text p {
  margin: 0 0 14px;
  max-width: 38ch;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--pd-soft);
}

.page-products .pd-split__side {
  margin-top: 26px;
}

.page-products .pd-rangelist {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid var(--pd-edge);
}

.page-products .pd-rangelist li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 6px 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--pd-edge);
}

.page-products .pd-rangelist__k {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--orange);
}

.page-products .pd-rangelist__v {
  font-size: 14px;
  line-height: 1.65;
  color: var(--pd-soft);
}

.page-products .pd-filterzone {
  margin-top: 46px;
}

.page-products .pd-table {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid var(--pd-edge);
}

.page-products .pd-table .index-row {
  border-bottom: 1px solid var(--pd-edge);
}

.page-products .pd-table .index-row[data-hidden] {
  display: none;
}

/* ---------- timeline block ---------- */
.page-products .pd-tl {
  align-items: start;
}

.page-products .pd-tl p {
  margin: 0 0 14px;
  max-width: 40ch;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--pd-soft);
}

.page-products .pd-timeline {
  list-style: none;
  position: relative;
  margin: 26px 0 0;
  padding: 0 0 0 24px;
}

.page-products .pd-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--neon) 0%, var(--orange) 68%, rgba(142, 154, 179, .18) 100%);
}

.page-products .pd-timeline__item {
  position: relative;
  padding: 0 0 20px;
}

.page-products .pd-timeline__item:last-child {
  padding-bottom: 0;
}

.page-products .pd-timeline__item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--neon);
  box-shadow: 0 0 0 4px rgba(61, 255, 158, .12);
}

.page-products .pd-timeline__min {
  display: block;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--neon);
}

.page-products .pd-timeline__txt {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--pd-soft);
}

.page-products .pd-side {
  margin-top: 28px;
  padding: 20px 18px 22px;
  border: 1px solid var(--pd-edge);
  border-radius: var(--radius);
  background: rgba(16, 26, 46, .58);
}

.page-products .pd-side__title {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--gold);
}

.page-products .pd-deflist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .pd-deflist li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 0;
  border-top: 1px solid var(--pd-edge);
}

.page-products .pd-deflist li:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-products .pd-deflist__k {
  font-size: 14px;
  color: #FFFFFF;
}

.page-products .pd-deflist__v {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- reel ---------- */
.page-products .pd-reel__cover {
  margin: 0 0 34px;
}

.page-products .pd-reel__grid {
  align-items: start;
}

.page-products .pd-reel__grid > div > p {
  margin: 0 0 14px;
  max-width: 40ch;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--pd-soft);
}

.page-products .pd-reel__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px !important;
}

.page-products .pd-rounds {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--pd-edge);
}

.page-products .pd-rounds__item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--pd-edge);
}

.page-products .pd-rounds__no {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--orange);
}

.page-products .pd-rounds__txt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--pd-soft);
}

/* ---------- club ---------- */
.page-products .pd-club {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.page-products .pd-club__figure {
  margin: 0;
}

.page-products .pd-club__main > p {
  margin: 0 0 14px;
  max-width: 56ch;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--pd-soft);
}

.page-products .pd-club__blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 22px;
  background: var(--pd-edge);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .pd-club__block {
  position: relative;
  padding: 18px 16px 20px;
  background: rgba(10, 18, 31, .82);
}

.page-products .pd-club__k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--gold);
}

.page-products .pd-club__block h3 {
  margin: 6px 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.page-products .pd-club__block p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- download ---------- */
.page-products .pd-download {
  padding: 40px 0 56px;
}

.page-products .pd-download__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 30px 20px 26px;
  border: 1px solid var(--pd-edge);
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(14, 59, 46, .92), rgba(7, 12, 22, .95));
}

.page-products .pd-download__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .24;
  pointer-events: none;
}

.page-products .pd-download__head .section__lead {
  max-width: 58ch;
  color: var(--pd-soft);
}

.page-products .pd-docs {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.page-products .pd-docs__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 14px;
  margin: 0 -12px;
  padding: 16px 12px;
  border-top: 1px solid rgba(142, 154, 179, .2);
  transition: background-color .2s ease;
}

.page-products .pd-docs__row:last-child {
  border-bottom: 1px solid rgba(142, 154, 179, .2);
}

.page-products .pd-docs__row:hover {
  background: rgba(61, 255, 158, .05);
}

.page-products .pd-docs__no {
  font-family: var(--mono);
  font-size: 17px;
  letter-spacing: .04em;
  color: var(--neon);
}

.page-products .pd-docs__body h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.page-products .pd-docs__body p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--pd-soft);
}

.page-products .pd-docs__state {
  grid-column: 2;
  justify-self: start;
  padding: 3px 10px;
  border: 1px solid rgba(255, 209, 102, .34);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--gold);
}

/* ---------- scenes ---------- */
.page-products .pd-scenes {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--pd-edge);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .pd-scene {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 18px 24px;
  background: rgba(10, 18, 31, .86);
}

.page-products .pd-scene__no {
  font-family: var(--mono);
  font-size: 32px;
  line-height: 1;
  letter-spacing: -.02em;
  color: rgba(61, 255, 158, .3);
}

.page-products .pd-scene h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.page-products .pd-scene p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--pd-soft);
}

.page-products .pd-scene__path {
  margin-top: auto !important;
  padding-top: 12px;
  border-top: 1px dashed rgba(142, 154, 179, .26);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .02em;
  line-height: 1.7;
  color: var(--muted) !important;
}

/* ---------- versions ---------- */
.page-products .pd-versions {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--pd-edge);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .pd-version {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 18px;
  padding: 20px 18px;
  background: rgba(7, 12, 22, .86);
}

.page-products .pd-version__v {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--orange);
}

.page-products .pd-version h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.page-products .pd-version p {
  grid-column: 2;
  grid-row: 2;
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--pd-soft);
}

.page-products .pd-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
}

/* ---------- media queries ---------- */
@media (min-width: 640px) {
  .page-products .pd-hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .page-products .pd-docs__state {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
}

@media (min-width: 768px) {
  .page-products .pd-hero {
    padding: 36px 0 60px;
  }

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

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

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

@media (min-width: 1024px) {
  .page-products .pd-hero {
    padding: 48px 0 72px;
  }

  .page-products .pd-hero h1 {
    max-width: 17ch;
  }

  .page-products .pd-overview__panel {
    padding: 40px 40px 34px;
  }

  .page-products .pd-split__side {
    margin-top: 0;
  }

  .page-products .pd-side {
    margin-top: 0;
  }

  .page-products .pd-club {
    grid-template-columns: 5fr 7fr;
    gap: 44px;
    align-items: start;
  }

  .page-products .pd-download__panel {
    padding: 40px 40px 34px;
  }

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

  .page-products .pd-version {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .page-products .pd-version__v {
    grid-column: 1;
    grid-row: 1;
  }

  .page-products .pd-version h3 {
    grid-column: 1;
    grid-row: 2;
  }

  .page-products .pd-version p {
    grid-column: 1;
    grid-row: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pd-docs__row {
    transition: none;
  }

  .page-products .pd-docs__row:hover {
    background: transparent;
  }
}
