.page-products {
  --p-gap: clamp(56px, 8vw, 108px);
  --p-pad: clamp(16px, 4vw, 32px);
  --p-card: clamp(18px, 2.6vw, 30px);
  background: var(--ink);
  color: var(--court-white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-products .container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--p-pad);
}

.page-products .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--orange);
  margin: 0 0 10px;
}

.page-products .breadcrumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mist);
}

.page-products .breadcrumbs__link {
  color: var(--mist);
  text-decoration: none;
}

.page-products .breadcrumbs__link:hover {
  color: var(--cyan);
}

.page-products .breadcrumbs__sep {
  color: var(--grid);
}

.page-products .breadcrumbs__current {
  color: var(--court-white);
}

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

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

/* ---------- hero ---------- */
.p-hero {
  padding-block: clamp(18px, 3vw, 34px) 0;
}

.p-hero__frame {
  position: relative;
  border: 1px solid var(--grid);
  padding: clamp(22px, 4vw, 52px);
  background-image:
    radial-gradient(120% 90% at 88% 0%, rgba(53, 224, 232, .12), transparent 58%),
    repeating-linear-gradient(90deg, rgba(44, 64, 92, .32) 0 1px, transparent 1px 58px),
    repeating-linear-gradient(0deg, rgba(44, 64, 92, .32) 0 1px, transparent 1px 58px),
    linear-gradient(158deg, rgba(20, 58, 102, .55), rgba(7, 19, 38, .92) 72%);
}

.p-hero__frame::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 68px;
  height: 68px;
  border-top: 2px solid var(--orange);
  border-left: 2px solid var(--orange);
  pointer-events: none;
}

.p-hero__frame::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 46px;
  height: 46px;
  border-right: 2px solid rgba(53, 224, 232, .7);
  border-bottom: 2px solid rgba(53, 224, 232, .7);
  pointer-events: none;
}

.p-hero__body {
  display: grid;
  gap: clamp(22px, 3.4vw, 40px);
  align-items: end;
}

.p-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 7vw, 78px);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 0 0 16px;
}

.p-hero__title em {
  font-style: normal;
  color: var(--orange);
  padding: 0 .06em;
  background: linear-gradient(transparent 64%, rgba(255, 90, 42, .3) 64%);
}

.p-hero__lede {
  margin: 0;
  max-width: 60ch;
  color: var(--mist);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
}

.p-hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.p-hero__media {
  position: relative;
}

.p-hero__media .frame-media {
  border-color: rgba(53, 224, 232, .35);
  box-shadow: var(--shadow-soft);
}

.p-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(28px, 4vw, 44px) 0 0;
  background: var(--grid);
  border: 1px solid var(--grid);
}

.p-fact {
  background: var(--ink);
  padding: 14px 16px;
}

.p-fact dt {
  margin: 0;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mist);
}

.p-fact dd {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(18px, 2.4vw, 26px);
  color: var(--court-white);
  line-height: 1.2;
}

.p-fact__num {
  color: var(--cyan);
}

/* ---------- device picker ---------- */
.p-pick {
  padding-block: clamp(26px, 4vw, 48px) 0;
}

.p-pick__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  border-top: 1px solid var(--grid);
  border-bottom: 1px solid var(--grid);
}

.p-pick__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(19px, 2.8vw, 27px);
  letter-spacing: -.01em;
}

.p-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.page-products .chip {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- shared section rhythm ---------- */
.p-sec {
  padding-block: var(--p-gap) 0;
}

.page-products .section-title {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -.02em;
  margin: 0 0 12px;
}

.page-products .section-lede {
  margin: 0;
  max-width: 68ch;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
}

/* ---------- path map ---------- */
.p-pathmap-wrap {
  margin-top: clamp(22px, 3.6vw, 36px);
  border: 1px solid var(--grid);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(13, 34, 64, .8), rgba(7, 19, 38, .6));
}

.p-pathmap-scroll {
  overflow-x: auto;
  padding: clamp(10px, 2vw, 22px);
}

.p-pathmap {
  display: block;
  width: 100%;
  min-width: 720px;
  height: auto;
}

.p-pathmap .pm-line {
  stroke: rgba(169, 184, 204, .4);
  stroke-width: 2;
  fill: none;
}

.p-pathmap .pm-line--alt {
  stroke: var(--orange);
  stroke-dasharray: 6 7;
}

.p-pathmap .pm-node {
  fill: var(--tactical);
  stroke: var(--cyan);
  stroke-width: 2;
}

.p-pathmap .pm-node--alt {
  fill: rgba(255, 90, 42, .18);
  stroke: var(--orange);
}

.p-pathmap .pm-num {
  fill: var(--cyan);
  font-family: var(--font-mono);
  font-size: 15px;
  text-anchor: middle;
  dominant-baseline: central;
}

.p-pathmap .pm-num--alt {
  fill: var(--orange);
}

.p-pathmap .pm-name {
  fill: var(--court-white);
  font-family: var(--font-body);
  font-size: 15px;
  text-anchor: middle;
}

.p-pathmap .pm-name--alt {
  fill: var(--orange);
  font-family: var(--font-mono);
  font-size: 14px;
}

/* ---------- steps accordion ---------- */
.page-products .accordion {
  margin-top: clamp(22px, 3.4vw, 34px);
  border-top: 1px solid var(--grid);
}

.page-products .accordion__item {
  border-bottom: 1px solid var(--grid);
}

.page-products .accordion__trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 2px;
  background: transparent;
  border: 0;
  color: var(--court-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15px, 2.1vw, 19px);
  text-align: left;
  cursor: pointer;
}

.page-products .accordion__trigger:hover {
  color: var(--cyan);
}

.page-products .accordion__trigger:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-products .accordion__idx {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange);
  letter-spacing: .08em;
}

.page-products .accordion__panel {
  padding: 0 2px 20px 42px;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
}

.page-products .accordion__panel p {
  margin: 0 0 8px;
}

.p-steps__h {
  margin: 0;
}

.p-steps__name {
  flex: 1 1 auto;
}

.p-steps__mark {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 1px solid var(--grid);
  border-radius: 50%;
}

.p-steps__mark::before,
.p-steps__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--cyan);
  transform: translate(-50%, -50%);
}

.p-steps__mark::before {
  width: 8px;
  height: 1.5px;
}

.p-steps__mark::after {
  width: 1.5px;
  height: 8px;
  transition: opacity .18s var(--ease);
}

.page-products .accordion__trigger[aria-expanded="true"] .p-steps__mark::after {
  opacity: 0;
}

.p-steps__note {
  color: rgba(169, 184, 204, .92);
  border-left: 2px solid var(--ember);
  padding-left: 12px;
  margin: 12px 0 0;
  font-size: 14px;
}

.p-steps__note strong {
  color: var(--court-white);
  font-weight: 700;
}

/* ---------- modules ---------- */
.p-mods-media {
  margin-top: clamp(22px, 3.6vw, 36px);
}

.p-mods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: clamp(16px, 2.6vw, 24px);
}

.p-mod {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--p-card);
  border: 1px solid var(--grid);
  border-top: 2px solid rgba(53, 224, 232, .4);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(20, 58, 102, .72), rgba(13, 34, 64, .92));
  box-shadow: var(--shadow-soft);
}

.p-mod__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--cyan);
}

.p-mod__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(19px, 2.3vw, 24px);
  line-height: 1.25;
}

.p-mod__text {
  margin: 0;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.75;
}

.p-mod__list {
  list-style: none;
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(169, 184, 204, .95);
}

.p-mod__list li {
  position: relative;
  padding-left: 16px;
}

.p-mod__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  background: var(--grid);
  transform: rotate(45deg);
}

.p-mod__figure {
  margin-top: 4px;
}

.p-mod__link {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--orange);
  text-decoration: none;
}

.p-mod__link::after {
  content: " →";
}

.p-mod__link:hover {
  color: var(--ember);
}

.p-mod__link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.p-mod--b {
  border-top-color: rgba(255, 90, 42, .65);
}

.p-mod--e {
  border-top-color: rgba(255, 90, 42, .65);
}

.p-mod--f {
  border-top-color: rgba(185, 242, 39, .5);
}

/* ---------- matrix ---------- */
.p-matrix-media {
  margin-top: clamp(22px, 3.6vw, 36px);
}

.p-matrix {
  margin-top: clamp(16px, 2.6vw, 24px);
  border: 1px solid var(--grid);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--grid);
}

.p-matrix__head {
  display: none;
}

.p-matrix__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  scroll-margin-top: 96px;
}

.p-matrix__row + .p-matrix__row {
  border-top: 1px solid var(--grid);
}

.p-matrix__dev {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--tactical);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--court-white);
}

.p-matrix__cell {
  padding: 14px 16px;
  background: var(--navy);
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

.p-matrix__k {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(169, 184, 204, .68);
}

.p-matrix__row:target .p-matrix__dev {
  background: var(--orange);
  color: var(--ink);
}

.p-matrix__row:target .p-matrix__cell {
  background: rgba(20, 58, 102, .95);
  color: var(--court-white);
}

.p-matrix__foot {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--mist);
}

.p-matrix__foot a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 224, 232, .4);
}

.p-matrix__foot a:hover {
  color: var(--court-white);
}

/* ---------- versions ---------- */
.p-ver__grid {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
}

.p-ver__cards {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.p-ver__card {
  padding: 18px 20px;
  border: 1px solid var(--grid);
  border-radius: var(--radius);
  background: rgba(13, 34, 64, .62);
}

.p-ver__card--alt {
  border-color: rgba(255, 90, 42, .5);
  background: linear-gradient(150deg, rgba(217, 58, 26, .16), rgba(13, 34, 64, .7));
}

.p-ver__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--cyan);
}

.p-ver__card--alt .p-ver__tag {
  color: var(--orange);
}

.p-ver__card h3 {
  margin: 8px 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.p-ver__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

.p-timeline {
  list-style: none;
  margin: 26px 0 0;
  padding: 0 0 0 22px;
  position: relative;
}

.p-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(var(--cyan), rgba(44, 64, 92, .5));
}

.p-timeline li {
  position: relative;
  padding-bottom: 20px;
}

.p-timeline li:last-child {
  padding-bottom: 0;
}

.p-timeline li::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--cyan);
}

.p-timeline__when {
  display: inline-block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--orange);
}

.p-timeline__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

.p-ver__side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.p-ver__note {
  padding: 20px;
  border: 1px solid var(--grid);
  border-left: 2px solid var(--cyan);
  border-radius: var(--radius);
  background: rgba(20, 58, 102, .45);
}

.p-ver__note-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--court-white);
}

.p-ver__note p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

.p-ver__note .btn {
  text-decoration: none;
}

/* ---------- scenarios ---------- */
.p-scene__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 30px);
}

.p-scene__card {
  padding: 20px;
  border-left: 2px solid var(--cyan);
  background: linear-gradient(90deg, rgba(20, 58, 102, .6), rgba(7, 19, 38, 0));
}

.p-scene__card:nth-child(even) {
  border-left-color: var(--orange);
}

.p-scene__card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}

.p-scene__card p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

.p-scene__card .btn {
  text-decoration: none;
}

.p-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(30px, 5vw, 52px);
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--grid);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(255, 90, 42, .16), rgba(7, 19, 38, .9) 62%);
}

.p-end__text {
  margin: 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--court-white);
}

.p-end__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.p-end__acts .btn {
  text-decoration: none;
}

/* ---------- responsive ---------- */
@media (min-width: 700px) {
  .p-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .p-scene__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p-ver__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p-mods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p-mod--a,
  .p-mod--d {
    grid-column: span 2;
  }
}

@media (min-width: 900px) {
  .p-hero__body {
    grid-template-columns: 1.4fr .6fr;
    align-items: end;
  }

  .p-ver__grid {
    grid-template-columns: 1.35fr .65fr;
    align-items: start;
  }

  .p-matrix__head {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr 1fr 1.2fr;
    background: var(--ink);
    border-bottom: 1px solid var(--grid);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--mist);
  }

  .p-matrix__head span {
    padding: 12px 16px;
  }

  .p-matrix__row {
    grid-template-columns: 1.1fr 1.3fr 1fr 1.2fr;
  }

  .p-matrix__k {
    display: none;
  }
}

@media (min-width: 1040px) {
  .p-mods {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
  }

  .p-mod--a { grid-column: span 7; }
  .p-mod--b { grid-column: span 5; margin-top: 24px; }
  .p-mod--c { grid-column: span 5; }
  .p-mod--d { grid-column: span 7; margin-top: 24px; }
  .p-mod--e { grid-column: span 6; }
  .p-mod--f { grid-column: span 6; }
}

@media (prefers-reduced-motion: reduce) {
  .p-steps__mark::after {
    transition: none;
  }
}
<<<END>>>
