.page-products {
  background-color: var(--night-black);
  color: var(--text-white);
  padding-bottom: clamp(56px, 8vw, 112px);
  overflow-x: clip;
}

.page-products .prod-wrap {
  position: relative;
  isolation: isolate;
}

.page-products .prod-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(to right, var(--line-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-grid) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.page-products .prod-wrap > .shell {
  position: relative;
  z-index: 1;
}

/* ---------- breadcrumb ---------- */
.page-products .breadcrumb {
  padding-top: clamp(20px, 3vw, 34px);
  margin: 0 0 clamp(14px, 2vw, 24px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
}

.page-products .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--ember-orange);
}

.page-products .breadcrumb a {
  color: var(--dim);
  text-decoration: none;
  transition: color .25s var(--ease);
}

.page-products .breadcrumb a:hover,
.page-products .breadcrumb a:focus-visible {
  color: var(--electric-blue);
}

.page-products .breadcrumb [aria-current="page"] {
  color: var(--text-white);
}

/* ---------- hero ---------- */
.page-products .prod-hero {
  position: relative;
  padding: clamp(10px, 2vw, 20px) 0 clamp(36px, 5vw, 76px);
  border-bottom: 1px solid var(--line-grid);
}

.page-products .prod-hero::before {
  content: "";
  position: absolute;
  inset: -40% -12% auto -12%;
  height: 200%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(closest-side at 16% 14%, rgba(108, 59, 244, .34), transparent 100%),
    radial-gradient(closest-side at 88% 6%, rgba(43, 224, 255, .18), transparent 100%);
}

.page-products .prod-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 48px);
}

.page-products .prod-hero__lead h1 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 5.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -.028em;
  color: var(--text-white);
  max-width: 20ch;
}

.page-products .prod-hero__text {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: clamp(15px, 1.5vw, 16.5px);
  line-height: 1.85;
  color: rgba(247, 245, 255, .72);
}

.page-products .prod-hero__text:first-of-type {
  color: rgba(247, 245, 255, .9);
}

.page-products .prod-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 32px);
}

.page-products .prod-hero__data {
  position: relative;
  align-self: end;
  padding: 22px 22px 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(108, 59, 244, .16), rgba(22, 20, 31, .7) 62%),
    var(--glass-fill);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.page-products .prod-hero__data::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, var(--ember-orange), transparent);
}

.page-products .prod-hero__data-title {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--dim-2);
}

.page-products .prod-hero__data .stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line-grid);
}

.page-products .prod-hero__data .stat:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-products .stat__value {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--neon-green);
}

.page-products .stat__label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--dim);
}

/* ---------- section frame ---------- */
.page-products .prod-sec {
  position: relative;
  padding: clamp(44px, 6vw, 88px) 0;
}

.page-products .prod-sec + .prod-sec {
  border-top: 1px solid var(--line-grid);
}

.page-products .prod-sec + .prod-sec::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(340px, 62%);
  height: 2px;
  background: linear-gradient(90deg, var(--phantom-purple), var(--electric-blue), transparent);
  transform: skewX(-32deg);
  transform-origin: left center;
  opacity: .75;
}

.page-products .prod-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 26px);
}

.page-products .prod-block__idx {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.page-products .prod-block__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ember-orange);
}

.page-products .prod-block__body h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(23px, 3.3vw, 36px);
  line-height: 1.16;
  letter-spacing: -.02em;
  color: var(--text-white);
}

.page-products .prod-lead {
  margin: 0 0 clamp(22px, 3vw, 34px);
  max-width: 70ch;
  font-size: clamp(15px, 1.5vw, 16.5px);
  line-height: 1.85;
  color: rgba(247, 245, 255, .76);
}

.page-products .prod-subhead {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 19px);
  letter-spacing: -.01em;
  color: var(--text-white);
}

.page-products .prod-subhead + .prod-keylist,
.page-products .prod-keylist + .prod-subhead {
  margin-top: 22px;
}

.page-products .prod-link {
  color: var(--electric-blue);
  text-decoration: none;
  border-bottom: 1px solid var(--line-cyan);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}

.page-products .prod-link:hover,
.page-products .prod-link:focus-visible {
  color: var(--neon-green);
  border-color: var(--neon-green);
}

/* ---------- matrix ---------- */
.page-products .prod-matrix {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line-grid);
  border: 1px solid var(--line-grid);
}

.page-products .prod-matrix > li {
  display: flex;
}

.page-products .prod-cell {
  flex: 1 1 auto;
  display: block;
  padding: 22px 20px 24px;
  background: var(--void-gray);
  color: inherit;
  text-decoration: none;
  transition: background-color .28s var(--ease), transform .28s var(--ease), box-shadow .28s var(--ease);
}

.page-products .prod-cell:hover,
.page-products .prod-cell:focus-visible {
  background: #1C1832;
  box-shadow: inset 0 0 0 1px var(--electric-blue);
  transform: translateY(-2px);
}

.page-products .prod-cell__idx {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--ember-orange);
}

.page-products .prod-cell__name {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.01em;
  color: var(--text-white);
}

.page-products .prod-cell__desc {
  display: block;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--dim);
}

.page-products .prod-cell__for {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .06em;
  color: var(--neon-green);
}

/* ---------- media ---------- */
.page-products .prod-figure {
  margin: 0 0 clamp(24px, 3vw, 36px);
}

.page-products .media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-grid);
  border-radius: var(--radius);
  background: var(--void-gray);
}

.page-products .media-frame__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .media-frame__caption {
  display: block;
  padding: 10px 14px 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--dim-2);
  border-top: 1px solid var(--line-grid);
  background: rgba(11, 10, 18, .72);
}

.page-products .prod-archive {
  margin: 0 0 clamp(24px, 3vw, 36px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

/* ---------- point list ---------- */
.page-products .prod-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-products .prod-point {
  position: relative;
  padding: 18px 18px 20px 20px;
  background: rgba(22, 20, 31, .82);
  border-left: 2px solid var(--deep-purple);
  transition: border-color .28s var(--ease), background-color .28s var(--ease);
}

.page-products .prod-point:hover {
  border-left-color: var(--electric-blue);
  background: rgba(28, 24, 48, .9);
}

.page-products .prod-point__no {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--ember-orange);
}

.page-products .prod-point h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -.01em;
  color: var(--text-white);
}

.page-products .prod-point p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--dim);
}

/* ---------- dimension cards ---------- */
.page-products .prod-dims {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0 0 clamp(26px, 3vw, 40px);
}

.page-products .prod-dim {
  position: relative;
  padding: 20px 18px 22px;
  background: var(--void-gray);
  border: 1px solid var(--line-grid);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}

.page-products .prod-dim:hover {
  border-color: rgba(180, 255, 58, .62);
  transform: translateY(-2px);
}

.page-products .prod-dim__no {
  display: inline-block;
  margin-bottom: 12px;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--ember-orange);
  border: 1px solid var(--deep-purple);
}

.page-products .prod-dim h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-white);
}

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

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

.page-products .prod-split__text p {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--dim);
}

.page-products .prod-figure--side {
  margin: 0;
}

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

.page-products .prod-keylist li {
  position: relative;
  padding: 12px 14px 12px 22px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--dim);
  background: rgba(22, 20, 31, .74);
  border-left: 2px solid var(--deep-purple);
}

.page-products .prod-keylist li::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 21px;
  width: 5px;
  height: 5px;
  background: var(--electric-blue);
}

.page-products .prod-keylist strong {
  margin-right: 6px;
  font-weight: 600;
  color: var(--text-white);
}

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

.page-products .prod-scenelist li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--dim);
}

.page-products .prod-scenelist li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ember-orange);
}

/* ---------- card flow ---------- */
.page-products .prod-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0 0 clamp(24px, 3vw, 36px);
  padding: 0;
  list-style: none;
}

.page-products .prod-card {
  padding: 20px 18px 22px;
  background: var(--void-gray);
  border: 1px solid var(--line-grid);
  border-top: 2px solid var(--phantom-purple);
  transition: border-top-color .28s var(--ease), transform .28s var(--ease);
}

.page-products .prod-card:hover {
  border-top-color: var(--electric-blue);
  transform: translateY(-2px);
}

.page-products .prod-card__tag {
  display: inline-block;
  margin-bottom: 12px;
}

.page-products .prod-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-white);
}

.page-products .prod-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--dim);
}

.page-products .prod-note {
  padding: 20px 20px 22px;
  background: rgba(22, 20, 31, .78);
  border: 1px dashed var(--line-soft);
}

.page-products .prod-note p {
  margin: 0;
  max-width: 72ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--dim);
}

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

.page-products .prod-groups__text p {
  margin: 0 0 14px;
  max-width: 66ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--dim);
}

.page-products .prod-topiclist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--line-grid);
  border: 1px solid var(--line-grid);
}

.page-products .prod-topiclist li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 15px 16px;
  background: var(--night-black);
}

.page-products .prod-topiclist span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-white);
}

.page-products .prod-topiclist em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--neon-green);
}

/* ---------- devices ---------- */
.page-products .prod-devices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .prod-device {
  position: relative;
  padding: 18px 16px 22px;
  background: rgba(22, 20, 31, .84);
  border: 1px solid var(--line-grid);
}

.page-products .prod-device::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--electric-blue), transparent);
  opacity: .55;
}

.page-products .prod-device h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-white);
}

.page-products .prod-device p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--dim);
}

/* ---------- scenes ---------- */
.page-products .prod-scenes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-grid);
  border: 1px solid var(--line-grid);
}

.page-products .prod-scene {
  padding: 26px 22px 28px;
  background: var(--night-black);
}

.page-products .prod-scene--mid {
  background: rgba(22, 20, 31, .9);
}

.page-products .prod-scene__idx {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--ember-orange);
}

.page-products .prod-scene h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.01em;
  color: var(--text-white);
}

.page-products .prod-scene__combo {
  margin: 0 0 14px;
  padding-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: .02em;
  color: var(--electric-blue);
  border-bottom: 1px dashed var(--line-grid);
}

.page-products .prod-scene p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--dim);
}

/* ---------- version compare ---------- */
.page-products .prod-version {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 0 0 clamp(22px, 3vw, 32px);
  background: var(--line-grid);
  border: 1px solid var(--line-grid);
}

.page-products .prod-version__col {
  padding: 24px 22px 28px;
  background: var(--night-black);
}

.page-products .prod-version__col--new {
  background: linear-gradient(158deg, rgba(108, 59, 244, .2), rgba(11, 10, 18, .92) 64%);
}

.page-products .prod-version__label {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--dim-2);
}

.page-products .prod-version__label--new {
  color: var(--neon-green);
}

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

.page-products .prod-version__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--dim);
}

.page-products .prod-version__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 1px;
  background: var(--deep-purple);
}

.page-products .prod-version__col--new .prod-version__list li::before {
  background: var(--neon-green);
}

.page-products .prod-tail {
  margin: 0;
  max-width: 72ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--dim);
}

/* ---------- responsive ---------- */
@media (min-width: 640px) {
  .page-products .prod-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

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

  .page-products .prod-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 52px);
  }

  .page-products .prod-split--flip {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  }

  .page-products .prod-groups {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    gap: clamp(28px, 4vw, 52px);
  }

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

@media (min-width: 880px) {
  .page-products .prod-block {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: clamp(28px, 4vw, 60px);
  }

  .page-products .prod-block__idx {
    position: sticky;
    top: calc(var(--header-h) + 26px);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: start;
  }
}

@media (min-width: 900px) {
  .page-products .prod-hero__inner {
    grid-template-columns: minmax(0, 1.55fr) minmax(290px, .85fr);
    align-items: end;
    gap: clamp(34px, 5vw, 76px);
  }
}

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

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

@media (prefers-reduced-motion: reduce) {
  .page-products .prod-cell,
  .page-products .prod-dim,
  .page-products .prod-card,
  .page-products .prod-point {
    transition: none;
  }

  .page-products .prod-cell:hover,
  .page-products .prod-cell:focus-visible,
  .page-products .prod-dim:hover,
  .page-products .prod-card:hover {
    transform: none;
  }
}
