.page-products {
  --pp-soft: #12324f;
  --pp-gap: clamp(14px, 2vw, 24px);
  --pp-r: 16px;
  background: var(--ink-900);
  color: var(--paper);
  overflow-x: hidden;
  padding-bottom: clamp(40px, 6vw, 80px);
}

.page-products a:focus-visible,
.page-products summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.page-products h2,
.page-products h3 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.page-products h2 {
  font-size: clamp(25px, 4.4vw, 40px);
  line-height: 1.16;
  font-weight: 800;
  margin: 0 0 14px;
}

.page-products h3 {
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 10px;
}

.page-products p {
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 12px;
}

/* ---------- hero ---------- */
.pp-hero {
  position: relative;
  padding: clamp(16px, 2.6vw, 32px) 0 clamp(36px, 5vw, 72px);
  background:
    radial-gradient(120% 90% at 82% 0%, rgba(58, 31, 77, 0.55) 0%, transparent 58%),
    radial-gradient(90% 70% at 6% 12%, rgba(16, 43, 69, 0.9) 0%, transparent 60%),
    var(--ink-900);
}

.pp-crumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--dim);
  margin-bottom: clamp(20px, 3vw, 36px);
}

.pp-crumbs a {
  color: var(--cyan);
  text-decoration: none;
}

.pp-crumbs a:hover {
  text-decoration: underline;
}

.pp-hero-grid {
  display: grid;
  gap: clamp(24px, 3.4vw, 40px);
  align-items: start;
}

.pp-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 6.1vw, 58px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--paper);
}

.pp-lead {
  font-size: clamp(15px, 1.7vw, 17px);
  max-width: 40em;
}

.pp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 26px;
}

.pp-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pp-stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--orange);
  background: rgba(10, 27, 46, 0.72);
}

.pp-stats .num {
  font-family: var(--font-mono);
  font-size: clamp(19px, 2.6vw, 24px);
  font-weight: 700;
  color: var(--mint);
  letter-spacing: 0.02em;
}

.pp-stat-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.pp-hero-panel {
  margin: 0;
  padding: 10px 10px 0;
  background: linear-gradient(180deg, rgba(16, 43, 69, 0.95), rgba(10, 27, 46, 0.95));
  border: 1px solid var(--line-strong);
  border-radius: var(--pp-r);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
}

.pp-shot {
  border-radius: 10px;
  overflow: hidden;
  background: var(--ink-900);
}

.pp-shot img,
.pp-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.pp-hero-cap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.pp-hero-cap-ver {
  margin-left: auto;
  color: var(--orange);
  font-weight: 700;
}

/* ---------- section shell ---------- */
.pp-section {
  padding: clamp(40px, 6vw, 88px) 0;
  border-top: 1px solid var(--line);
}

.pp-section-head {
  max-width: 56rem;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.pp-sub {
  font-size: 15px;
  max-width: 44em;
}

/* ---------- entry ---------- */
.pp-seg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 clamp(20px, 3vw, 28px);
}

.pp-entry-grid {
  display: grid;
  gap: var(--pp-gap);
  margin-bottom: clamp(24px, 4vw, 40px);
}

.pp-entry-card {
  position: relative;
  padding: 22px 20px 20px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink-600);
  border-radius: 4px 4px var(--pp-r) var(--pp-r);
}

.pp-entry-card--accent {
  border-top-color: var(--orange);
  background: linear-gradient(180deg, rgba(16, 43, 69, 0.95), rgba(10, 27, 46, 0.95));
  box-shadow: 0 18px 44px -30px rgba(255, 106, 26, 0.85);
}

.pp-entry-card h3 {
  margin-top: 14px;
}

.pp-check {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.pp-check li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

.pp-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  background: var(--mint);
  box-shadow: 0 0 8px rgba(46, 242, 192, 0.7);
}

.pp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(10, 27, 46, 0.7);
  -webkit-overflow-scrolling: touch;
}

.pp-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.pp-table caption {
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  border-bottom: 1px solid var(--line);
}

.pp-table th,
.pp-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.pp-table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: var(--ink-700);
  font-weight: 600;
}

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

.pp-table tbody td {
  color: var(--muted);
}

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

.pp-table .num {
  font-family: var(--font-mono);
  color: var(--mint);
}

/* ---------- data ---------- */
.pp-data {
  background:
    linear-gradient(180deg, rgba(58, 31, 77, 0.42), rgba(5, 11, 20, 0.9)),
    var(--ink-900);
}

.pp-data-grid {
  display: grid;
  gap: clamp(24px, 3.4vw, 44px);
  align-items: start;
}

.pp-data-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.pp-data-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.pp-data-list .status-dot {
  grid-row: span 2;
  margin-top: 6px;
}

.pp-dot--wine {
  background: var(--orange);
  box-shadow: 0 0 10px rgba(255, 106, 26, 0.8) !important;
}

.pp-data-list strong {
  font-size: 15px;
  color: var(--paper);
}

.pp-data-list span:last-child {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

.pp-figure {
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--pp-r);
  overflow: hidden;
  background: var(--ink-800);
}

.pp-figure img {
  aspect-ratio: 3 / 2;
}

.pp-figure figcaption {
  padding: 12px 16px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--dim);
  border-top: 1px solid var(--line);
}

.pp-figure--wide img {
  aspect-ratio: 3 / 2;
}

.pp-figure--dark {
  border-color: rgba(255, 106, 26, 0.4);
}

/* ---------- clips ---------- */
.pp-clips-grid {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
  align-items: start;
}

.pp-clip-layers {
  display: grid;
  gap: 12px;
}

.pp-clip-card {
  position: relative;
  padding: 18px 20px 16px 66px;
  background: linear-gradient(120deg, rgba(91, 31, 58, 0.6), rgba(10, 27, 46, 0.9));
  border: 1px solid var(--line);
  border-left: 3px solid var(--wine);
  border-radius: 4px;
}

.pp-clip-num {
  position: absolute;
  left: 18px;
  top: 18px;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.04em;
}

.pp-clip-card h3 {
  margin-bottom: 6px;
}

.pp-clip-card p {
  margin: 0;
  font-size: 13.5px;
}

/* ---------- catalog ---------- */
.pp-catalog {
  background: linear-gradient(180deg, rgba(16, 43, 69, 0.85), rgba(5, 11, 20, 0.95));
}

.pp-catalog-grid {
  display: grid;
  gap: var(--pp-gap);
  align-items: start;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.pp-catalog-main {
  padding: clamp(18px, 2.4vw, 26px);
  background: rgba(5, 11, 20, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--pp-r);
}

.pp-filter-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--dim);
  margin-bottom: 10px;
}

.pp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.pp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.pp-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}

.pp-step-num {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
  background: var(--mint);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 82% 100%, 0 100%);
}

.pp-steps h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.pp-steps p {
  margin: 0;
  font-size: 13.5px;
}

.pp-export-panel {
  padding: 20px;
  border: 1px solid rgba(255, 106, 26, 0.42);
  border-radius: var(--pp-r);
  background: linear-gradient(180deg, rgba(16, 43, 69, 0.96), rgba(10, 27, 46, 0.96));
  box-shadow: 0 22px 50px -34px rgba(255, 106, 26, 0.9);
}

.pp-export-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.pp-export-head .eyebrow {
  margin: 0;
}

.pp-export {
  position: relative;
}

.pp-export summary {
  list-style: none;
  cursor: pointer;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-900);
  background: var(--orange);
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.pp-export summary::-webkit-details-marker {
  display: none;
}

.pp-export summary:hover {
  background: var(--orange-hi);
}

.pp-export ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 8px;
  display: grid;
  gap: 6px;
  background: var(--ink-900);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.pp-export li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  align-items: baseline;
  padding: 8px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.pp-export li:last-child {
  border-bottom: 0;
}

.pp-export li .num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--mint);
}

.pp-export-meta {
  display: grid;
  gap: 0;
  margin: 0 0 14px;
}

.pp-export-meta > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.pp-export-meta dt {
  font-size: 13px;
  color: var(--muted);
}

.pp-export-meta dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
}

.pp-export-note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--dim);
}

/* ---------- device ---------- */
.pp-device-grid {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
  align-items: start;
}

.pp-figure--wire {
  border-color: rgba(125, 232, 255, 0.34);
}

.pp-figure--wire img {
  aspect-ratio: 8 / 5;
}

.pp-keys {
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--pp-r);
}

.pp-keys h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.pp-key-list {
  margin: 0;
  display: grid;
  gap: 0;
}

.pp-key-list > div {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.pp-key-list dt {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 4px;
}

.pp-key-list dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- cta ---------- */
.pp-cta {
  margin-top: clamp(30px, 5vw, 60px);
  padding: clamp(30px, 5vw, 60px) 0;
  border-top: 1px solid rgba(255, 106, 26, 0.4);
  background:
    linear-gradient(120deg, rgba(255, 106, 26, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(58, 31, 77, 0.6), rgba(5, 11, 20, 0.95));
}

.pp-cta-inner {
  display: grid;
  gap: 20px;
  align-items: center;
}

.pp-cta h2 {
  font-size: clamp(24px, 4vw, 36px);
}

.pp-cta p {
  max-width: 40em;
  margin-bottom: 0;
}

.pp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pp-cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: clamp(20px, 3vw, 30px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.pp-cta-links a {
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(125, 232, 255, 0.3);
  padding-bottom: 2px;
}

.pp-cta-links a:hover {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

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

@media (min-width: 760px) {
  .pp-entry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pp-cta-inner {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 900px) {
  .pp-hero-grid {
    grid-template-columns: 1.04fr 0.96fr;
  }

  .pp-data-grid,
  .pp-clips-grid,
  .pp-device-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pp-catalog-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  }

  .pp-figure {
    position: sticky;
    top: 96px;
  }

  .pp-figure--wide,
  .pp-figure--wire {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products *,
  .page-products *::before {
    animation: none !important;
    transition: none !important;
  }
}
