.page-products {
  --pb-gap: clamp(18px, 2.4vw, 32px);
  --pb-rail-top: calc(var(--nav-space) + 20px);
  background: var(--paper);
}

.page-products .pb-hero {
  padding-top: clamp(20px, 3.4vw, 40px);
}

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

/* ---------- workbench ---------- */
.page-products .pb-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--pb-gap);
  align-items: start;
}

.page-products .pb-rail h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 14px 0 18px;
}

.page-products .pb-lead {
  font-size: clamp(15.5px, 1.2vw, 17px);
  line-height: 1.78;
  color: var(--text-body);
  max-width: 34em;
  margin: 0;
}

.page-products .pb-steps {
  list-style: none;
  margin: clamp(22px, 3vw, 32px) 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  counter-reset: none;
}

.page-products .pb-step a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-left: 2px solid var(--line);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: transparent;
  text-decoration: none;
  color: var(--text-body);
  transition: background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}

.page-products .pb-step a:hover,
.page-products .pb-step a:focus-visible {
  border-left-color: var(--copper-500);
  background: var(--moss-100);
  transform: translateX(3px);
}

.page-products .pb-step-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--copper-500);
  flex: none;
}

.page-products .pb-step-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.page-products .pb-step-body strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.page-products .pb-step-body span {
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.page-products .pb-copy {
  margin-top: 20px;
}

/* ---------- tab panel ---------- */
.page-products .pb-panel {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 2.4vw, 30px);
  box-shadow: var(--shadow-card);
}

.page-products .pb-panel .tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.page-products .pb-panel .tab {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 9px 16px;
  border-radius: var(--radius-capsule);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--text-body);
  cursor: pointer;
  transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}

.page-products .pb-panel .tab:hover {
  border-color: var(--moss-600);
}

.page-products .pb-panel .tab[aria-selected="true"] {
  background: var(--moss-600);
  border-color: var(--moss-600);
  color: #fff;
}

.page-products .pb-panel .tab:focus-visible {
  outline: 2px solid var(--copper-500);
  outline-offset: 2px;
}

.page-products .pb-panel .tab-panel {
  border-top: 1px dashed var(--line);
  padding-top: 18px;
  animation: pb-fade .18s var(--ease);
}

.page-products .pb-panel .tab-panel + .tab-panel {
  margin-top: 22px;
}

@keyframes pb-fade {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: none; }
}

.page-products .pb-panel-title {
  font-family: var(--font-head);
  font-size: clamp(19px, 1.9vw, 23px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 10px;
}

.page-products .pb-panel .tab-panel p {
  font-size: 15px;
  line-height: 1.78;
  color: var(--text-body);
  margin: 0 0 14px;
}

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

.page-products .pb-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
}

.page-products .pb-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--copper-500);
  transform: rotate(45deg);
}

/* ---------- split layouts ---------- */
.page-products .pb-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 52px);
  align-items: center;
}

.page-products .pb-split h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.1vw, 40px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 12px 0 16px;
}

.page-products .pb-split p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-body);
  margin: 0 0 14px;
  max-width: 36em;
}

.page-products .img-frame {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--rock-700);
  box-shadow: var(--shadow-card);
}

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

/* ---------- favorites ---------- */
.page-products .pb-check {
  list-style: none;
  margin: 18px 0 16px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .pb-check li {
  position: relative;
  padding: 11px 14px 11px 40px;
  border-radius: var(--radius-md);
  background: var(--moss-100);
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--rock-700);
}

.page-products .pb-check li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 16px;
  width: 11px;
  height: 11px;
  border-left: 2px solid var(--moss-600);
  border-bottom: 2px solid var(--moss-600);
  transform: rotate(-45deg);
}

.page-products .pb-note {
  font-size: 13.5px;
  color: var(--text-muted);
}

.page-products .pb-note a {
  color: var(--moss-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- three-step path ---------- */
.page-products .pb-path-head {
  max-width: 46em;
}

.page-products .pb-path h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.1vw, 40px);
  font-weight: 900;
  line-height: 1.18;
  color: var(--paper);
  margin: 12px 0 16px;
}

.page-products .pb-path-head p {
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(245, 244, 237, .76);
  margin: 0;
}

.page-products .pb-path-fig {
  margin: clamp(24px, 3.4vw, 40px) 0 0;
  border-color: rgba(245, 244, 237, .16);
  background: var(--rock-700);
}

.page-products .pb-path-grid {
  list-style: none;
  margin: clamp(22px, 3vw, 34px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-products .pb-path-grid li {
  position: relative;
  padding: 22px 20px 24px;
  border-radius: var(--radius-md);
  background: rgba(245, 244, 237, .06);
  border: 1px solid rgba(245, 244, 237, .14);
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}

.page-products .pb-path-grid li:hover {
  border-color: rgba(197, 123, 63, .7);
  transform: translateY(-2px);
}

.page-products .pb-path-num {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--copper-300);
  margin-bottom: 10px;
}

.page-products .pb-path-grid h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--paper);
  margin: 0 0 8px;
}

.page-products .pb-path-grid p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(245, 244, 237, .72);
  margin: 0;
}

/* ---------- library ---------- */
.page-products .pb-library .img-frame {
  align-self: stretch;
}

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

.page-products .pb-chips li {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: var(--radius-capsule);
  border: 1px solid var(--moss-600);
  color: var(--moss-600);
  background: var(--moss-100);
}

.page-products .pb-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}

.page-products .pb-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--rock-800);
}

.page-products .pb-stat-num {
  font-size: clamp(21px, 2.1vw, 26px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--copper-300);
  line-height: 1.1;
}

.page-products .pb-stat-label {
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(245, 244, 237, .74);
}

.page-products .pb-formats {
  display: grid;
  gap: 8px;
}

.page-products .pb-format {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-raised);
  overflow: hidden;
  transition: border-color .18s var(--ease);
}

.page-products .pb-format[open],
.page-products .pb-format:hover {
  border-color: var(--moss-600);
}

.page-products .pb-format summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.page-products .pb-format summary::-webkit-details-marker {
  display: none;
}

.page-products .pb-format summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--copper-500);
  flex: none;
}

.page-products .pb-format[open] summary::after {
  content: "–";
}

.page-products .pb-format p {
  margin: 0;
  padding: 0 16px 15px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-muted);
  max-width: none;
}

/* ---------- iOS panel ---------- */
.page-products .pb-ios {
  background:
    radial-gradient(120% 90% at 82% 0%, rgba(59, 78, 122, .62), transparent 62%),
    var(--indigo-800);
}

.page-products .pb-ios h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.1vw, 40px);
  font-weight: 900;
  line-height: 1.18;
  color: var(--paper);
  margin: 12px 0 16px;
}

.page-products .pb-ios-text p {
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(245, 244, 237, .78);
  margin: 0 0 18px;
  max-width: 34em;
}

.page-products .pb-ios-mods {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.page-products .pb-ios-mods li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(245, 244, 237, .18);
  background: rgba(245, 244, 237, .06);
  font-size: 13.5px;
  color: var(--paper);
}

.page-products .pb-ios-mods .mono {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--copper-300);
}

.page-products .pb-ios-note {
  font-size: 13.5px !important;
  color: rgba(245, 244, 237, .66) !important;
}

.page-products .pb-ios-note a {
  color: var(--copper-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .pb-ios .img-frame {
  border-color: rgba(245, 244, 237, .18);
}

.page-products .pb-ios-diagram {
  margin: clamp(24px, 3.4vw, 40px) 0 0;
  padding: clamp(14px, 2vw, 22px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(245, 244, 237, .16);
  background: rgba(16, 21, 18, .34);
}

.page-products .pb-ios-diagram svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .pb-ios-diagram figcaption {
  margin-top: 12px;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: rgba(245, 244, 237, .6);
}

/* ---------- precheck ---------- */
.page-products .pb-checklist {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--rock-900);
  isolation: isolate;
}

.page-products .pb-checklist-bg {
  position: absolute;
  inset: 0;
}

.page-products .pb-checklist-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .32;
  display: block;
}

.page-products .pb-checklist-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 21, 18, .78), rgba(28, 35, 32, .95));
}

.page-products .pb-checklist-inner {
  position: relative;
  padding: clamp(26px, 4vw, 58px);
}

.page-products .pb-checklist-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 2.9vw, 36px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--paper);
  margin: 12px 0 clamp(20px, 2.6vw, 30px);
  max-width: 20em;
}

.page-products .pb-check-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-products .pb-check-grid li {
  padding: 18px 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(245, 244, 237, .14);
  background: rgba(245, 244, 237, .05);
}

.page-products .pb-check-num {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--copper-300);
  margin-bottom: 8px;
}

.page-products .pb-check-grid strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 6px;
}

.page-products .pb-check-grid p {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.72;
  color: rgba(245, 244, 237, .72);
}

.page-products .pb-checklist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(22px, 3vw, 32px);
}

/* ---------- responsive ---------- */
@media (min-width: 760px) {
  .page-products .pb-path-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (min-width: 880px) {
  .page-products .pb-split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

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

@media (min-width: 960px) {
  .page-products .pb-workbench {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .page-products .pb-rail {
    position: sticky;
    top: var(--pb-rail-top);
    align-self: start;
  }
}

@media (max-width: 520px) {
  .page-products .pb-step a {
    padding: 12px 12px;
  }

  .page-products .pb-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-products .pb-ios-mods {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-products .pb-checklist-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
<<<END>>>
