.page-products {
  --rail-w: 206px;
  --p-cut: 18px;
  background: var(--ink);
  color: var(--paper);
}

/* ===== Hero ===== */
.page-products .p-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(158deg, var(--ink-2) 0 44%, transparent 44.2%),
    var(--ink);
  padding: clamp(20px, 3.4vw, 42px) 0 clamp(34px, 5vw, 74px);
}

.page-products .p-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(40%, 480px);
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    rgba(198, 255, 61, 0.14) 0 1px,
    transparent 1px 28px
  );
  opacity: 0.55;
}

.page-products .p-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.page-products .p-hero__main .breadcrumb {
  margin-bottom: clamp(18px, 3vw, 30px);
}

.page-products .p-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6.4vw, 4.1rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.005em;
  margin: 0.18em 0 0.42em;
  max-width: 18em;
}

.page-products .p-hero .lede {
  max-width: 36em;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.8;
  margin: 0;
}

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

.page-products .p-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 6px;
}

.page-products .p-hero__stat {
  background: rgba(21, 28, 25, 0.92);
  padding: 14px 16px;
}

.page-products .p-hero__stat b {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  font-weight: 600;
  color: var(--lime);
  line-height: 1.1;
}

.page-products .p-hero__stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== Shell ===== */
.page-products .p-shell {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  padding-block: clamp(30px, 5vw, 68px);
}

/* ===== Rail ===== */
.page-products .p-rail {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  min-width: 0;
}

.page-products .p-rail__title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 12px;
}

.page-products .p-rail__list {
  list-style: none;
  margin: 0;
  padding: 0 0 6px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-products .p-rail__item {
  flex: 0 0 auto;
}

.page-products .p-rail__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-products .p-rail__link:hover,
.page-products .p-rail__link:focus-visible {
  color: var(--lime);
  border-color: var(--lime);
  background: rgba(198, 255, 61, 0.06);
}

.page-products .p-rail__no {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--lime);
  opacity: 0.85;
}

.page-products .p-rail__cta {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--paper);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--lime);
}

.page-products .p-rail__cta:hover,
.page-products .p-rail__cta:focus-visible {
  color: var(--lime);
}

/* ===== Flow / sections ===== */
.page-products .p-flow {
  display: grid;
  gap: clamp(30px, 4.4vw, 60px);
  min-width: 0;
}

.page-products .p-sec {
  border-top: 1px solid var(--line);
  padding-top: clamp(26px, 3.6vw, 40px);
  min-width: 0;
}

.page-products .p-flow > .p-sec:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-products .p-sec__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  line-height: 1.14;
  letter-spacing: 0.005em;
  color: var(--paper);
  margin: 10px 0 14px;
  max-width: 20em;
}

.page-products .p-sec__lead {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.85;
  max-width: 62ch;
  margin: 0;
}

/* ===== Data lines ===== */
.page-products .p-lines {
  list-style: none;
  margin: clamp(20px, 3vw, 32px) 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .p-line {
  background: var(--ink-2);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 14px;
  padding: 16px 18px;
  transition: background 0.2s var(--ease);
}

.page-products .p-line:hover {
  background: var(--panel);
}

.page-products .p-line__no {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--lime);
  letter-spacing: 0.06em;
  padding-top: 3px;
}

.page-products .p-line__body {
  grid-column: 2;
  min-width: 0;
}

.page-products .p-line__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--paper);
  margin: 0 0 5px;
}

.page-products .p-line__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.page-products .p-line .badge {
  grid-column: 2;
  justify-self: start;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

/* ===== Split layouts ===== */
.page-products .p-split {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  margin-top: clamp(20px, 3vw, 30px);
  align-items: start;
}

.page-products .p-split__body {
  min-width: 0;
}

.page-products .p-report {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(20px, 3vw, 30px);
  align-items: start;
}

.page-products .p-report__text {
  min-width: 0;
}

/* ===== Figure ===== */
.page-products .p-figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--p-cut)),
    calc(100% - var(--p-cut)) 100%,
    0 100%
  );
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease);
}

.page-products .p-figure:hover {
  transform: translateY(-3px);
  border-color: rgba(198, 255, 61, 0.4);
}

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

.page-products .p-figure figcaption {
  padding: 10px 14px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--ink-2);
}

/* ===== Feature list ===== */
.page-products .p-feat {
  list-style: none;
  margin: 0 0 clamp(20px, 3vw, 28px);
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .p-feat li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.78;
}

.page-products .p-feat li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  background: var(--lime);
}

/* ===== Table ===== */
.page-products .p-tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--ink-2);
}

.page-products .p-table {
  width: 100%;
  min-width: 380px;
  border-collapse: collapse;
  font-size: 0.87rem;
}

.page-products .p-table caption {
  text-align: left;
  padding: 11px 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
}

.page-products .p-table thead th {
  padding: 10px 14px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.page-products .p-table tbody th,
.page-products .p-table tbody td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.page-products .p-table tbody th {
  font-weight: 600;
  color: var(--paper);
  white-space: nowrap;
}

.page-products .p-table tbody td {
  color: var(--muted);
  line-height: 1.65;
}

.page-products .p-table tbody tr:last-child th,
.page-products .p-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .p-table tbody tr {
  transition: background 0.2s var(--ease);
}

.page-products .p-table tbody tr:hover {
  background: rgba(198, 255, 61, 0.07);
}

/* ===== Halls of leagues ===== */
.page-products .p-halls {
  list-style: none;
  margin: clamp(18px, 2.6vw, 26px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .p-halls li {
  background: var(--ink-2);
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 13px 15px;
  font-size: 0.9rem;
  color: var(--paper);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.page-products .p-halls li:hover {
  background: var(--panel);
  color: var(--lime);
}

.page-products .p-halls__no {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--dim);
  letter-spacing: 0.08em;
}

.page-products .p-dims {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .p-dims li {
  border-left: 2px solid var(--line);
  padding-left: 12px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.72;
}

.page-products .p-dims b {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}

/* ===== Accordion ===== */
.page-products .p-acc {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.page-products .p-acc details {
  border-bottom: 1px solid var(--line);
}

.page-products .p-acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  font-size: 0.92rem;
  color: var(--paper);
  transition: color 0.2s var(--ease);
}

.page-products .p-acc summary::-webkit-details-marker {
  display: none;
}

.page-products .p-acc summary:hover,
.page-products .p-acc summary:focus-visible {
  color: var(--lime);
}

.page-products .p-acc summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--lime);
}

.page-products .p-acc details[open] summary::after {
  content: "−";
}

.page-products .p-acc details p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.78;
}

/* ===== Scenes ===== */
.page-products .p-scenes {
  list-style: none;
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .p-scenes li {
  background: var(--ink-2);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 18px 18px 20px;
  transition: background 0.2s var(--ease);
}

.page-products .p-scenes li:hover {
  background: var(--panel);
}

.page-products .p-scenes__no {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--amber);
  letter-spacing: 0.08em;
  padding-top: 4px;
}

.page-products .p-scenes h3 {
  margin: 0 0 7px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--paper);
}

.page-products .p-scenes p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.78;
}

/* ===== Cadence note ===== */
.page-products .p-cadence {
  margin: clamp(20px, 3vw, 28px) 0 0;
  padding: 12px 0 12px 16px;
  border-left: 2px solid var(--lime);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

/* ===== Steps ===== */
.page-products .p-steps {
  list-style: none;
  margin: clamp(22px, 3vw, 32px) 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .p-steps li {
  background: var(--ink-2);
  padding: 16px 18px;
  display: grid;
  gap: 5px;
}

.page-products .p-steps b {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}

.page-products .p-steps strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--paper);
}

.page-products .p-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.72;
}

/* ===== More links ===== */
.page-products .p-more {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .p-more a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--ink-2);
  color: var(--paper);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.page-products .p-more a:hover,
.page-products .p-more a:focus-visible {
  background: var(--panel);
  color: var(--lime);
}

.page-products .p-more span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--dim);
  text-align: right;
}

/* ===== Close ===== */
.page-products .p-close {
  margin-top: clamp(26px, 4vw, 44px);
  padding: clamp(22px, 3.4vw, 34px);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, var(--ink-2) 0%, var(--ink) 68%);
  display: grid;
  gap: 18px;
}

.page-products .p-close h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  color: var(--paper);
}

.page-products .p-close p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
  max-width: 52ch;
}

.page-products .p-close .btn {
  justify-self: start;
}

/* ===== Responsive ===== */
@media (min-width: 600px) {
  .page-products .p-halls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

@media (min-width: 760px) {
  .page-products .p-line {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: start;
  }

  .page-products .p-line__body {
    grid-column: 2;
  }

  .page-products .p-line .badge {
    grid-column: 3;
    margin-top: 2px;
  }

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

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

  .page-products .p-close .btn {
    justify-self: end;
  }
}

@media (min-width: 880px) {
  .page-products .p-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: end;
    gap: clamp(28px, 4vw, 60px);
  }

  .page-products .p-hero__stats {
    margin-top: 0;
  }

  .page-products .p-split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(24px, 3vw, 40px);
  }

  .page-products .p-split--flip {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-products .p-split--lean {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }

  .page-products .p-report {
    grid-template-columns: minmax(0, 1fr) minmax(0, 330px);
    gap: clamp(24px, 3vw, 38px);
  }

  .page-products .p-figure--float {
    margin-top: -14px;
  }
}

@media (min-width: 960px) {
  .page-products .p-shell {
    grid-template-columns: var(--rail-w) minmax(0, 1fr);
    align-items: start;
    gap: clamp(28px, 3.4vw, 56px);
  }

  .page-products .p-rail {
    position: sticky;
    top: 92px;
    border-top: 0;
    border-left: 1px solid var(--line);
    padding: 4px 0 4px 14px;
  }

  .page-products .p-rail__title {
    margin-bottom: 14px;
  }

  .page-products .p-rail__list {
    flex-direction: column;
    gap: 0;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-products .p-rail__link {
    border: 0;
    border-bottom: 1px solid transparent;
    padding: 10px 0;
    white-space: normal;
    width: 100%;
  }

  .page-products .p-rail__link:hover,
  .page-products .p-rail__link:focus-visible {
    background: transparent;
    border-bottom-color: var(--line);
    color: var(--lime);
  }
}

@media (min-width: 1180px) {
  .page-products .p-hero__stat {
    padding: 16px 18px;
  }

  .page-products .p-figure--wide {
    max-width: 860px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products *,
  .page-products *::before,
  .page-products *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .page-products .p-figure:hover {
    transform: none;
  }
}
<<<END>>>
