.page-products {
  --pd-panel: #0E1624;
  --pd-card: #162233;
  --pd-line: #263850;
  background: var(--ink-900);
  color: var(--moon);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-products h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 3.4vw, 34px);
  line-height: 1.25;
  letter-spacing: .005em;
  margin: 10px 0 0;
  color: var(--moon);
}

.page-products h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.4;
  margin: 0;
  color: var(--moon);
}

.page-products p {
  line-height: 1.85;
}

.page-products [data-reveal] {
  animation: pd-rise .7s var(--ease) both;
}

@keyframes pd-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ---------- hero ---------- */

.page-products .pd-hero {
  position: relative;
  padding: clamp(26px, 5vw, 56px) 0 clamp(40px, 7vw, 84px);
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(33, 245, 227, .13), transparent 62%),
    radial-gradient(80% 80% at 0% 100%, rgba(255, 106, 42, .08), transparent 60%),
    linear-gradient(180deg, #0B1220 0%, var(--ink-900) 100%);
}

.page-products .pd-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.page-products .pd-hero .eyebrow {
  color: var(--cyan);
  margin-top: 18px;
}

.page-products .pd-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 44px);
}

.page-products .pd-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 5.2vw, 52px);
  line-height: 1.14;
  letter-spacing: .01em;
  margin: 14px 0 0;
  color: var(--moon);
}

.page-products .pd-hero__intro {
  margin: 18px 0 0;
  max-width: 56ch;
  font-size: clamp(14.5px, 1.6vw, 17px);
  line-height: 1.9;
  color: var(--mist);
}

.page-products .pd-hero__stats {
  list-style: none;
  margin: 26px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.page-products .pd-hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.page-products .pd-hero__stats .num {
  font-family: var(--font-mono);
  font-size: clamp(20px, 3.4vw, 30px);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-products .pd-hero__stats small {
  font-size: .5em;
  font-weight: 500;
  color: var(--mist);
  margin-left: 3px;
}

.page-products .pd-hero__stats span:last-child {
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--mist);
}

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

.page-products .pd-hero__visual {
  position: relative;
  padding-bottom: 18px;
  z-index: 0;
}

.page-products .pd-hero__visual::before {
  content: "";
  position: absolute;
  top: -12%;
  right: -8%;
  width: 62%;
  height: 70%;
  background: radial-gradient(circle, rgba(33, 245, 227, .22), transparent 68%);
  filter: blur(44px);
  pointer-events: none;
  z-index: -1;
}

.page-products .pd-hero__fig {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transform: rotate(-1.2deg);
  box-shadow: 0 34px 64px -34px rgba(0, 0, 0, .95);
}

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

.page-products .pd-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(22, 34, 51, .94);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--moon);
  box-shadow: 0 12px 26px -16px rgba(0, 0, 0, .9);
}

.page-products .pd-float--ver {
  top: 10px;
  right: 2px;
}

.page-products .pd-float--beta {
  bottom: 0;
  left: 2px;
}

.page-products .pd-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, .18);
}

/* ---------- section heads ---------- */

.page-products .pd-head {
  max-width: 64ch;
}

.page-products .pd-head .eyebrow {
  color: var(--cyan);
}

.page-products .pd-head__note {
  margin: 12px 0 0;
  font-size: 14.5px;
  color: var(--mist);
}

/* ---------- skill tree ---------- */

.page-products .pd-tree {
  padding: clamp(44px, 7vw, 84px) 0;
  background: linear-gradient(180deg, transparent, rgba(14, 22, 36, .8) 40%, transparent);
}

.page-products .pd-tree__flow {
  position: relative;
  margin-top: clamp(26px, 4vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-products .pd-node {
  position: relative;
  background: var(--pd-card);
  border: 1px solid var(--pd-line);
  border-radius: var(--radius);
  transition: border-color .28s var(--ease), box-shadow .28s var(--ease), transform .28s var(--ease);
}

.page-products .pd-node[open] {
  border-color: rgba(33, 245, 227, .52);
  box-shadow: 0 0 0 1px rgba(33, 245, 227, .15), 0 22px 46px -28px rgba(0, 0, 0, .95);
}

.page-products .pd-node > summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 16px 42px 14px 16px;
  display: grid;
  gap: 5px;
}

.page-products .pd-node > summary::-webkit-details-marker {
  display: none;
}

.page-products .pd-node > summary::after {
  content: "+";
  position: absolute;
  top: 13px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 17px;
  line-height: 1;
  color: var(--cyan);
}

.page-products .pd-node[open] > summary::after {
  content: "\2013";
}

.page-products .pd-node__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--cyan);
}

.page-products .pd-node__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--moon);
}

.page-products .pd-node__hint {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--mist);
}

.page-products .pd-node__body {
  margin-top: 2px;
  padding: 12px 16px 18px;
  border-top: 1px dashed var(--pd-line);
}

.page-products .pd-node__body p {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--mist);
}

.page-products .pd-node__link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(33, 245, 227, .42);
  padding-bottom: 2px;
}

/* ---------- pre-match desk ---------- */

.page-products .pd-desk {
  padding: clamp(44px, 7vw, 84px) 0;
}

.page-products .pd-desk__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

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

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

.page-products .pd-desk__fig figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--mist);
}

.page-products .pd-desk .eyebrow {
  color: var(--cyan);
}

.page-products .pd-desk__lead {
  margin: 14px 0 0;
  font-size: 14.5px;
  color: var(--mist);
}

.page-products .pd-desk__foot {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--pd-line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .03em;
  line-height: 1.9;
  color: var(--mist);
}

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

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

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

.page-products .pd-list strong {
  color: var(--moon);
  font-weight: 600;
}

/* ---------- standings board ---------- */

.page-products .pd-board {
  padding: clamp(10px, 3vw, 24px) 0 clamp(44px, 7vw, 84px);
}

.page-products .pd-board__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 4vw, 40px);
  align-items: center;
  padding: clamp(20px, 4vw, 44px);
  border: 1px solid var(--pd-line);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background:
    linear-gradient(rgba(38, 56, 80, .3) 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, rgba(38, 56, 80, .3) 1px, transparent 1px) 0 0 / 48px 100%,
    radial-gradient(90% 120% at 100% 0%, rgba(33, 245, 227, .11), transparent 58%),
    var(--pd-panel);
}

.page-products .pd-board .eyebrow {
  color: var(--cyan);
}

.page-products .pd-board__lead {
  margin: 14px 0 0;
  font-size: 14.5px;
  color: var(--mist);
}

.page-products .pd-list--compact {
  margin-top: 16px;
  gap: 10px;
}

.page-products .pd-list--compact li {
  font-size: 13.5px;
}

.page-products .pd-board__figures {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--pd-line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.page-products .pd-board__figures div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.page-products .pd-board__figures .num {
  font-family: var(--font-mono);
  font-size: clamp(19px, 3vw, 28px);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-products .pd-board__figures small {
  font-size: .52em;
  font-weight: 500;
  color: var(--mist);
  margin-left: 2px;
}

.page-products .pd-board__figures span:last-child {
  font-size: 12px;
  color: var(--mist);
}

.page-products .pd-board__fig {
  margin: 0;
  border: 1px solid var(--pd-line);
  border-radius: var(--radius);
  overflow: hidden;
}

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

/* ---------- membership ---------- */

.page-products .pd-member {
  padding: clamp(44px, 7vw, 84px) 0;
  background:
    radial-gradient(70% 100% at 0% 50%, rgba(245, 184, 75, .12), transparent 62%),
    var(--ink-900);
}

.page-products .pd-member .eyebrow {
  color: var(--gold);
}

.page-products .pd-member__grid {
  margin-top: clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

.page-products .pd-member__fig {
  margin: 0;
  border: 1px solid rgba(245, 184, 75, .42);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 28px 56px -34px rgba(245, 184, 75, .55);
}

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

.page-products .pd-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-products .pd-benefits li {
  padding: 16px 16px 18px;
  border: 1px solid rgba(245, 184, 75, .3);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(245, 184, 75, .14), rgba(22, 34, 51, .72) 58%);
}

.page-products .pd-benefits h3 {
  margin: 0 0 6px;
  font-size: 15px;
  letter-spacing: .03em;
  color: var(--gold);
}

.page-products .pd-benefits p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- beta entry ---------- */

.page-products .pd-beta {
  padding: clamp(44px, 7vw, 84px) 0;
  background: linear-gradient(180deg, transparent, rgba(255, 106, 42, .07) 50%, transparent);
}

.page-products .pd-beta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.page-products .pd-beta .eyebrow {
  color: var(--orange);
}

.page-products .pd-beta__lead {
  margin: 14px 0 0;
  font-size: 14.5px;
  color: var(--mist);
}

.page-products .pd-beta__meta {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .pd-beta__meta li {
  padding: 7px 12px;
  border: 1px solid var(--pd-line);
  border-radius: 999px;
  background: var(--pd-card);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--mist);
}

.page-products .pd-beta__meta .num {
  color: var(--orange);
  margin-right: 4px;
}

.page-products .pd-beta__foot {
  margin: 18px 0 0;
  font-size: 13.5px;
  color: var(--mist);
}

.page-products .pd-beta__foot a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 106, 42, .45);
}

.page-products .pd-beta__fig {
  margin: 0;
  padding: 10px;
  border: 1px dashed rgba(255, 106, 42, .5);
  border-radius: var(--radius);
  background: rgba(22, 34, 51, .6);
}

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

/* ---------- entries ---------- */

.page-products .pd-entry {
  padding: clamp(44px, 7vw, 84px) 0;
}

.page-products .pd-entry .eyebrow {
  color: var(--cyan);
}

.page-products .pd-entry__grid {
  margin-top: clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-products .pd-entry__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 24px;
  border: 1px solid var(--pd-line);
  border-radius: var(--radius);
  background: var(--pd-panel);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.page-products .pd-entry__card:hover {
  transform: translateY(-3px);
  border-color: rgba(33, 245, 227, .45);
}

.page-products .pd-entry__card .tag {
  align-self: flex-start;
}

.page-products .pd-entry__card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--mist);
}

.page-products .pd-entry__hint {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--pd-line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--mist) !important;
}

.page-products .pd-entry__note {
  margin: 22px 0 0;
  font-size: 13.5px;
  color: var(--mist);
}

.page-products .pd-entry__note a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(33, 245, 227, .42);
}

/* ---------- closing ---------- */

.page-products .pd-cta {
  padding: 0 0 clamp(48px, 7vw, 88px);
}

.page-products .pd-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: clamp(26px, 4vw, 42px) 0;
  border-top: 1px solid var(--pd-line);
  border-bottom: 1px solid var(--pd-line);
}

.page-products .pd-cta__inner p {
  margin: 12px 0 0;
  max-width: 62ch;
  font-size: 14px;
  color: var(--mist);
}

.page-products .pd-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- responsive ---------- */

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

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

  .page-products .pd-entry__card:nth-child(2) {
    background: linear-gradient(160deg, rgba(33, 245, 227, .13), var(--pd-panel) 62%);
    border-color: rgba(33, 245, 227, .38);
  }
}

@media (min-width: 820px) {
  .page-products .pd-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .page-products .pd-cta__links {
    justify-content: flex-end;
  }
}

@media (min-width: 860px) {
  .page-products .pd-tree__flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .page-products .pd-tree__flow::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 3%;
    right: 3%;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--violet) 50%, var(--orange));
    opacity: .45;
  }

  .page-products .pd-node {
    margin-right: 12px;
  }

  .page-products .pd-node:last-child {
    margin-right: 0;
  }
}

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

  .page-products .pd-hero__visual {
    transform: translateY(20px);
  }

  .page-products .pd-desk__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }

  .page-products .pd-board__panel {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  }

  .page-products .pd-member__grid {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    align-items: start;
  }

  .page-products .pd-beta__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  }

  .page-products .pd-desk__grid {
    gap: clamp(32px, 5vw, 60px);
  }
}

@media (max-width: 420px) {
  .page-products .pd-hero__stats .num {
    font-size: 20px;
  }

  .page-products .pd-hero__stats span:last-child {
    font-size: 11px;
  }

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

  .page-products .pd-board__figures span:last-child {
    font-size: 10.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products [data-reveal] {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .page-products .pd-node,
  .page-products .pd-entry__card {
    transition: none;
  }

  .page-products .pd-hero__fig {
    transform: none;
  }

  .page-products .pd-hero__visual {
    transform: none;
  }
}
