.page-products {
  background: var(--lr-abyss);
  color: var(--lr-white);
  padding-bottom: clamp(40px, 7vw, 88px);
  overflow-x: clip;
}

.page-products .lr-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(18px, 3vw, 30px);
  font-family: var(--lr-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--lr-mist);
}

.page-products .lr-breadcrumb a {
  color: var(--lr-cyan);
  text-decoration: none;
}

.page-products .lr-breadcrumb a:hover,
.page-products .lr-breadcrumb a:focus-visible {
  color: var(--lr-cyan-soft);
}

/* ---------- hero ---------- */
.page-products .pr-hero {
  position: relative;
  padding: clamp(20px, 4vw, 44px) 0 clamp(30px, 6vw, 68px);
}

.page-products .pr-hero__frame {
  position: relative;
  padding: clamp(20px, 3.6vw, 48px);
  border: 1px solid var(--lr-line);
  background:
    repeating-linear-gradient(0deg, rgba(53, 230, 255, 0.05) 0 1px, transparent 1px 68px),
    repeating-linear-gradient(90deg, rgba(53, 230, 255, 0.05) 0 1px, transparent 1px 68px),
    linear-gradient(155deg, rgba(19, 26, 56, 0.95) 0%, rgba(10, 14, 34, 0.97) 58%, rgba(14, 42, 52, 0.9) 100%);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
  overflow: hidden;
}

.page-products .pr-hero__frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(154, 166, 200, 0.22);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  pointer-events: none;
}

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

.page-products .pr-hero__title {
  margin: 0.35em 0 0.55em;
  font-family: var(--lr-font-display);
  font-weight: 300;
  font-size: clamp(32px, 6.2vw, 74px);
  line-height: 1.08;
  letter-spacing: 0.06em;
  color: var(--lr-white);
}

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

.page-products .pr-board {
  display: grid;
  gap: 14px;
  padding: clamp(16px, 2.4vw, 26px);
  border: 1px solid var(--lr-line-soft);
  border-top: 2px solid var(--lr-cyan);
  background: rgba(14, 42, 52, 0.42);
}

.page-products .pr-board__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(154, 166, 200, 0.22);
}

.page-products .pr-board__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-products .pr-board__num {
  font-family: var(--lr-font-mono);
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1;
  color: var(--lr-cyan);
}

.page-products .pr-board__num em {
  font-style: normal;
  font-size: 0.5em;
  margin-left: 2px;
  color: var(--lr-cyan-soft);
}

.page-products .pr-board__label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--lr-mist);
}

.page-products .pr-hero__scan {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lr-cyan), transparent);
  animation: pr-scan 5.5s linear infinite;
}

@keyframes pr-scan {
  0% { transform: translateX(-60%); }
  100% { transform: translateX(60%); }
}

/* ---------- section frame ---------- */
.page-products .lr-section {
  padding-block: clamp(36px, 5.6vw, 76px);
}

.page-products .pr-head {
  max-width: 780px;
  margin-bottom: clamp(22px, 3.4vw, 40px);
}

.page-products .pr-head__note {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--lr-mist);
}

/* ---------- capability cards ---------- */
.page-products .pr-caps {
  display: grid;
  gap: 18px;
}

.page-products .pr-cap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid var(--lr-line-soft);
  border-left: 2px solid var(--lr-violet);
  background: linear-gradient(170deg, rgba(19, 26, 56, 0.96), rgba(10, 14, 34, 0.94));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.page-products .pr-cap:hover {
  transform: translate(4px, -4px);
  border-color: var(--lr-cyan);
  box-shadow: var(--lr-glow);
}

.page-products .pr-cap__idx {
  margin: 0;
  font-family: var(--lr-font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--lr-violet);
}

.page-products .pr-cap__title {
  margin: 0;
  font-family: var(--lr-font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 26px);
  letter-spacing: 0.01em;
  color: var(--lr-white);
  transform: skew(-4deg);
  transform-origin: left center;
}

.page-products .pr-cap__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--lr-mist);
}

.page-products .pr-cap__meta {
  display: grid;
  gap: 6px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  line-height: 1.6;
}

.page-products .pr-cap__meta li {
  display: flex;
  gap: 8px;
  color: var(--lr-white);
}

.page-products .pr-cap__meta span {
  flex: 0 0 auto;
  font-family: var(--lr-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--lr-cyan);
}

/* ---------- split blocks ---------- */
.page-products .pr-split {
  display: grid;
  gap: clamp(22px, 3.4vw, 44px);
  align-items: start;
}

.page-products .pr-split--tight {
  margin-top: clamp(28px, 4vw, 48px);
}

.page-products .pr-split__text p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--lr-mist);
}

.page-products .pr-split__text p:last-child {
  margin-bottom: 0;
}

.page-products .pr-split__text .lr-h2,
.page-products .pr-split__text .lr-h3 {
  margin-bottom: 14px;
}

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

.page-products .pr-points li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--lr-mist);
}

.page-products .pr-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  background: var(--lr-cyan);
  transform: rotate(45deg);
  box-shadow: var(--lr-glow);
}

.page-products .pr-points strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14.5px;
  color: var(--lr-white);
}

.page-products .pr-inline-link {
  margin-top: 18px !important;
}

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

.page-products .pr-inline-link a:hover,
.page-products .pr-inline-link a:focus-visible {
  color: var(--lr-cyan-soft);
  border-bottom-color: var(--lr-cyan-soft);
}

/* ---------- figure / media ---------- */
.page-products .pr-media {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--lr-line);
  background: linear-gradient(150deg, rgba(139, 92, 255, 0.2), rgba(10, 14, 34, 0.92) 62%);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.page-products .pr-media .lr-figure__media {
  overflow: hidden;
  border: 1px solid rgba(53, 230, 255, 0.18);
}

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

.page-products .pr-media .lr-figure__caption {
  margin-top: 10px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--lr-mist);
}

/* ---------- tables ---------- */
.page-products .pr-tablewrap {
  margin-top: clamp(24px, 3.4vw, 40px);
  border: 1px solid var(--lr-line-soft);
  background: rgba(19, 26, 56, 0.72);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-products .pr-table,
.page-products .pr-vtable {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.page-products .pr-table__caption {
  caption-side: top;
  padding: 14px 16px;
  text-align: left;
  font-family: var(--lr-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--lr-cyan);
  border-bottom: 1px solid var(--lr-line);
}

.page-products .pr-table th,
.page-products .pr-vtable th {
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--lr-mist);
  border-bottom: 1px solid var(--lr-line);
  cursor: pointer;
}

.page-products .pr-sort {
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  color: var(--lr-violet);
}

.page-products .pr-table td,
.page-products .pr-vtable td {
  padding: 12px 16px;
  font-family: var(--lr-font-mono);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--lr-white);
  border-bottom: 1px solid rgba(154, 166, 200, 0.14);
  white-space: nowrap;
}

.page-products .pr-table tbody tr:nth-child(even),
.page-products .pr-vtable tbody tr:nth-child(even) {
  background: rgba(154, 166, 200, 0.05);
}

.page-products .pr-table tbody tr:hover,
.page-products .pr-vtable tbody tr:hover {
  background: rgba(53, 230, 255, 0.08);
}

.page-products .pr-table td:first-child {
  font-family: var(--lr-font-body);
  letter-spacing: 0.08em;
  color: var(--lr-cyan-soft);
}

.page-products .pr-vtable td.pr-vtable__label {
  font-family: var(--lr-font-body);
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: var(--lr-alert);
}

.page-products .pr-vtable td {
  white-space: normal;
  min-width: 150px;
}

.page-products .pr-up {
  color: var(--lr-alert);
}

.page-products .pr-down {
  color: var(--lr-pulse);
}

.page-products .pr-table__hint {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--lr-mist);
}

/* ---------- export queue ---------- */
.page-products .pr-queue {
  display: grid;
  gap: 12px;
  margin: clamp(22px, 3vw, 32px) 0 0;
  padding: 0;
  list-style: none;
}

.page-products .pr-task {
  display: grid;
  gap: 9px;
  padding: 12px 14px;
  border-left: 2px solid var(--lr-cyan);
  background: rgba(14, 42, 52, 0.42);
}

.page-products .pr-task__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--lr-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--lr-mist);
}

.page-products .pr-bar {
  position: relative;
  display: block;
  height: 6px;
  background: rgba(154, 166, 200, 0.18);
  overflow: hidden;
}

.page-products .pr-bar__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--lr-cyan), var(--lr-violet));
}

.page-products .pr-bar__fill--74 { width: 74%; }
.page-products .pr-bar__fill--31 { width: 31%; }
.page-products .pr-bar__fill--96 { width: 96%; }

/* ---------- onboarding flow ---------- */
.page-products .pr-flow {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pr-flow;
}

.page-products .pr-step {
  position: relative;
  padding: 18px;
  border: 1px solid var(--lr-line-soft);
  background: linear-gradient(180deg, rgba(19, 26, 56, 0.92), rgba(10, 14, 34, 0.88));
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.page-products .pr-step:hover,
.page-products .pr-step:focus-within {
  transform: translateY(-6px);
  border-color: var(--lr-cyan);
  box-shadow: var(--lr-glow);
  z-index: 2;
}

.page-products .pr-step__num {
  margin: 0;
  font-family: var(--lr-font-mono);
  font-size: 22px;
  line-height: 1;
  color: var(--lr-cyan);
}

.page-products .pr-step__title {
  margin: 10px 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--lr-white);
  transform: skew(-4deg);
  transform-origin: left center;
}

.page-products .pr-step__detail {
  margin: 0;
  font-size: 13px;
  line-height: 1.68;
  color: var(--lr-mist);
}

.page-products .pr-flow__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: clamp(22px, 3vw, 32px);
}

.page-products .pr-flow__actions p {
  flex: 1 1 320px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--lr-mist);
}

/* ---------- paper CTA ---------- */
.page-products .pr-cta {
  padding-block: clamp(30px, 5vw, 64px);
}

.page-products .pr-cta .lr-panel--paper {
  padding: clamp(22px, 3.4vw, 44px);
  border: 2px solid var(--lr-ink);
  box-shadow: 8px 8px 0 rgba(53, 230, 255, 0.28);
  color: var(--lr-ink);
}

.page-products .pr-cta .lr-panel--paper .lr-index-label {
  color: var(--lr-pulse);
}

.page-products .pr-cta .lr-panel--paper .lr-h2 {
  color: var(--lr-ink);
  margin-bottom: 14px;
}

.page-products .pr-cta .lr-panel--paper p {
  margin: 0;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--lr-ink);
}

.page-products .pr-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .pr-cta__links a {
  display: inline-block;
  padding: 10px 16px;
  border: 2px solid var(--lr-ink);
  font-size: 14px;
  font-weight: 600;
  color: var(--lr-ink);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-products .pr-cta__links a:hover,
.page-products .pr-cta__links a:focus-visible {
  background: var(--lr-ink);
  color: var(--lr-paper);
}

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

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

@media (min-width: 760px) {
  .page-products .pr-flow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
  }

  .page-products .pr-step + .pr-step {
    margin-left: -1px;
  }
}

@media (min-width: 940px) {
  .page-products .pr-hero__grid {
    grid-template-columns: minmax(0, 1.42fr) minmax(0, 0.9fr);
    align-items: end;
  }

  .page-products .pr-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .page-products .pr-split--flip > .pr-split__text {
    order: 2;
  }

  .page-products .pr-split--flip > .pr-media {
    order: 1;
  }
}

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

  .page-products .pr-cap:nth-child(2) {
    margin-top: 24px;
  }

  .page-products .pr-cap:nth-child(3) {
    margin-top: 44px;
  }

  .page-products .pr-cap:nth-child(4) {
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products *,
  .page-products *::before,
  .page-products *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .page-products .pr-hero__scan {
    transform: none;
  }
}
