.page-products {
  --p-gap: 12px;
  --cyan-line: rgba(51, 242, 210, 0.34);
  --orange-line: rgba(255, 122, 61, 0.42);
  overflow-x: clip;
  color: var(--body-soft);
  font-family: var(--font-body);
  padding-bottom: 72px;
}

.page-products h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 7vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--mist);
  margin: 0 0 16px;
}

.page-products h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(23px, 4.6vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--mist);
  margin: 0 0 12px;
}

.page-products h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.35;
  color: var(--mist);
  margin: 0 0 8px;
}

.page-products h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15.5px;
  line-height: 1.35;
  color: var(--mist);
  margin: 0 0 8px;
}

.page-products .eyebrow {
  margin: 0 0 12px;
}

.page-products .breadcrumb {
  padding-top: 18px;
}

/* ---------- hero ---------- */
.page-products .hero {
  padding: 14px 0 0;
}

.page-products .hero__intro {
  max-width: 780px;
}

.page-products .hero__d {
  margin: 0;
  max-width: 58ch;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--body-soft);
}

.page-products .hero__grid {
  display: grid;
  gap: var(--p-gap);
  margin-top: 26px;
  grid-template-columns: 1fr;
}

.page-products .hero__fig {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.page-products .hero__fig img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.68) brightness(0.86);
}

.page-products .hero__fig figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 34px 16px 14px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--mist);
  background: linear-gradient(to top, rgba(6, 19, 16, 0.94), rgba(6, 19, 16, 0));
}

.page-products .hero__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 2px solid var(--cyan);
}

.page-products .hero__card--b {
  border-left-color: var(--orange);
}

.page-products .hero__card-t {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.3;
  color: var(--mist);
}

.page-products .hero__card-d {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--slate);
}

.page-products .hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin-top: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--slate);
}

.page-products .hero__meta b {
  color: var(--cyan);
  font-size: 16px;
  font-weight: 700;
  margin-right: 4px;
}

@media (min-width: 880px) {
  .page-products .hero__grid {
    grid-template-columns: repeat(12, 1fr);
    grid-template-areas:
      "fig fig fig fig fig fig fig c1 c1 c1 c1 c1"
      "fig fig fig fig fig fig fig c2 c2 c2 c2 c2";
  }

  .page-products .hero__fig {
    grid-area: fig;
    aspect-ratio: auto;
    min-height: 340px;
  }

  .page-products .hero__card--a { grid-area: c1; }
  .page-products .hero__card--b { grid-area: c2; }
}

/* ---------- section frame ---------- */
.page-products .sec {
  position: relative;
  isolation: isolate;
  padding: 58px 0 46px;
}

.page-products .sec--band::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(-50vw + 50%);
  width: 100vw;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, var(--panel) 0%, rgba(11, 33, 28, 0.55) 100%);
}

.page-products .sec__head {
  max-width: 720px;
  margin-bottom: 26px;
}

.page-products .sec__lede {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--slate);
}

.page-products .note {
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid var(--line);
  font-size: 13px;
  line-height: 1.65;
  color: var(--slate);
}

.page-products .note--wide {
  margin-top: 20px;
  padding-left: 0;
  border-left: 0;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.page-products .note a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--cyan-line);
}

/* ---------- matrix ---------- */
.page-products .mx {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}

@media (min-width: 620px) {
  .page-products .mx {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1020px) {
  .page-products .mx {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-flow: dense;
  }

  .page-products .mx__item {
    grid-column: span 2;
  }

  .page-products .mx__item--wide {
    grid-column: span 4;
  }
}

.page-products .mx__item {
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), background 200ms var(--ease);
}

.page-products .mx__item:hover {
  transform: translateY(-2px) scale(1.015);
  border-color: var(--cyan-line);
}

.page-products .mx__item[open] {
  background: var(--raise);
  border-color: var(--cyan-line);
}

.page-products .mx__item > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 16px;
  cursor: pointer;
  list-style: none;
}

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

.page-products .mx__item > summary::marker {
  content: "";
}

.page-products .mx__item > summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1;
  color: var(--cyan);
  transition: transform 240ms var(--ease);
}

.page-products .mx__item[open] > summary::after {
  transform: rotate(45deg);
}

.page-products .mx__no {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-products .mx__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--mist);
}

.page-products .mx__cnt {
  font-size: 11px;
  color: var(--slate);
  padding: 2px 6px;
  border: 1px solid var(--line);
}

.page-products .mx__list {
  list-style: none;
  margin: 0;
  padding: 0 16px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-products .mx__list li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--body-soft);
  background: var(--ink);
  border: 1px solid var(--line);
  padding: 4px 8px;
}

/* ---------- split blocks ---------- */
.page-products .split {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  align-items: start;
}

.page-products .split__fig {
  position: relative;
  margin: 0;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.page-products .split__fig--square {
  aspect-ratio: 1 / 1;
  max-height: 460px;
}

.page-products .split__fig img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65) brightness(0.9);
}

.page-products .split__fig figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 32px 16px 14px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--mist);
  background: linear-gradient(to top, rgba(6, 19, 16, 0.94), rgba(6, 19, 16, 0));
}

@media (min-width: 900px) {
  .page-products .split {
    grid-template-columns: 1.05fr 1fr;
    gap: 38px;
    align-items: center;
  }

  .page-products .split--rev {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.page-products .bullets {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--body-soft);
}

.page-products .bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
}

.page-products .bullets b {
  color: var(--mist);
  font-weight: 700;
}

/* ---------- export ---------- */
.page-products .export {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

@media (min-width: 780px) {
  .page-products .export {
    grid-template-columns: 1fr 1fr;
  }
}

.page-products .export__box {
  background: var(--panel);
  border: 1px solid var(--line);
}

.page-products .export__box[open] {
  background: var(--raise);
  border-color: var(--cyan-line);
}

.page-products .export__box > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

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

.page-products .export__box > summary::marker {
  content: "";
}

.page-products .export__fmt {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange);
  border: 1px solid var(--orange-line);
  padding: 2px 8px;
}

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

.page-products .export__file {
  list-style: none;
  margin: 0 16px 12px;
  padding: 12px 14px;
  background: var(--ink);
  border: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.95;
  color: var(--body-soft);
}

.page-products .export__file li::before {
  content: "▸ ";
  color: var(--cyan);
}

.page-products .export__use {
  margin: 0 16px 16px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--slate);
}

.page-products .export__fig {
  position: relative;
  margin: 18px 0 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
}

.page-products .export__fig img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.6) brightness(0.88);
}

@media (min-width: 780px) {
  .page-products .export__fig {
    aspect-ratio: 3 / 1;
  }
}

/* ---------- refresh ---------- */
.page-products .pulse__fig {
  position: relative;
  margin: 0 0 4px;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
}

.page-products .pulse__fig img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.6) brightness(0.9);
}

.page-products .ptable-wrap {
  margin-top: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-products .ptable {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.page-products .ptable th,
.page-products .ptable td {
  text-align: left;
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.page-products .ptable thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  border-bottom-color: var(--cyan-line);
}

.page-products .ptable tbody th {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--mist);
  white-space: nowrap;
}

.page-products .ptable tbody td {
  color: var(--body-soft);
  line-height: 1.6;
}

.page-products .ptable tbody tr:hover {
  background: var(--raise);
}

.page-products .ptable td.num {
  color: var(--orange);
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- flow ---------- */
.page-products .flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .page-products .flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1060px) {
  .page-products .flow {
    grid-template-columns: repeat(4, 1fr);
  }
}

.page-products .flow__step {
  position: relative;
  padding: 18px 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}

.page-products .flow__step:hover {
  background: var(--raise);
  transform: translateY(-2px);
}

.page-products .flow__no {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.page-products .flow__step p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--slate);
}

/* ---------- scenes ---------- */
.page-products .sub-h {
  margin: 42px 0 0;
  font-size: 19px;
}

.page-products .scenes {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin-top: 18px;
}

@media (min-width: 680px) {
  .page-products .scenes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1060px) {
  .page-products .scenes {
    grid-template-columns: repeat(4, 1fr);
  }
}

.page-products .scene {
  padding: 18px;
  background: rgba(11, 33, 28, 0.62);
  border-top: 2px solid var(--line);
  transition: border-color 200ms var(--ease);
}

.page-products .scene:hover {
  border-top-color: var(--cyan);
}

.page-products .scene p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--slate);
}

.page-products .scene .tag {
  margin-bottom: 10px;
}

/* ---------- more links ---------- */
.page-products .more {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.page-products .more a {
  display: inline-block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--mist);
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 180ms var(--ease), color 180ms var(--ease);
}

.page-products .more a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

@media (prefers-reduced-motion: reduce) {
  .page-products .mx__item,
  .page-products .flow__step,
  .page-products .scene,
  .page-products .more a {
    transition: none;
  }

  .page-products .mx__item:hover,
  .page-products .flow__step:hover {
    transform: none;
  }
}
