.page-products {
  --pd-gap: clamp(16px, 2.4vw, 28px);
  --pd-hover: #EDE5D6;
}

.page-products .pd-hero {
  display: grid;
  gap: clamp(22px, 4vw, 44px);
  padding-block: clamp(16px, 3vw, 30px) clamp(24px, 4vw, 42px);
  border-bottom: 1px solid var(--rule);
}

.page-products .pd-hero__text,
.page-products .pd-hero__art {
  min-width: 0;
}

.page-products .pd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--brass-deep);
}

.page-products .pd-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--clay);
  border-radius: 50%;
  flex: none;
}

.page-products .pd-hero h1 {
  margin: 12px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.4vw, 50px);
  line-height: 1.18;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0;
}

.page-products .pd-hero h1::after {
  content: "";
  display: block;
  width: 76px;
  height: 3px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--brass), rgba(184, 135, 74, 0));
}

.page-products .pd-lede {
  margin: 18px 0 0;
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.page-products .pd-facts {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-products .pd-facts li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px;
  background: var(--paper-white);
  border-left: 2px solid var(--brass);
}

.page-products .pd-facts strong {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}

.page-products .pd-facts span {
  font-size: 13px;
  color: var(--muted);
}

.page-products .pd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.page-products .pd-deck {
  position: relative;
  width: 100%;
  max-width: 340px;
  height: clamp(200px, 46vw, 268px);
  margin-inline: auto;
}

.page-products .pd-deck__card {
  position: absolute;
  inset: 0;
  display: block;
  background: var(--paper-white);
  border: 1px solid var(--brass);
  box-shadow: var(--shadow-card);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.page-products .pd-deck__card:nth-child(1) {
  transform: translate(-6px, 26px) rotate(-5deg);
  opacity: 0.75;
}

.page-products .pd-deck__card:nth-child(2) {
  transform: translate(8px, 13px) rotate(-2deg);
  opacity: 0.9;
}

.page-products .pd-deck__card:nth-child(3) {
  transform: translate(20px, 0) rotate(1deg);
}

.page-products .pd-deck__card--top {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 22px 24px;
  background: var(--ink);
  border-color: var(--brass);
  color: var(--paper);
}

.page-products .pd-deck__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--brass-lit);
}

.page-products .pd-deck__ver {
  font-family: var(--font-mono);
  font-size: clamp(40px, 9vw, 60px);
  font-weight: 500;
  line-height: 1;
  color: var(--paper-white);
}

.page-products .pd-deck__note {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(245, 239, 227, 0.78);
}

.page-products .pd-index {
  padding-block: clamp(24px, 4vw, 42px);
}

.page-products .pd-index h2 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.3;
  color: var(--text);
}

.page-products .pd-index > p {
  margin: 0 0 20px;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

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

.page-products .pd-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 176px;
  padding: 20px 18px 16px;
  background: var(--paper-white);
  border: 1px solid var(--brass);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow-card);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.page-products .pd-card:hover,
.page-products .pd-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(36, 30, 26, 0.06), 0 18px 30px -22px rgba(12, 32, 25, 0.7);
}

.page-products .pd-card__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--brass-deep);
}

.page-products .pd-card__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
}

.page-products .pd-card__desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .pd-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
}

.page-products .pd-card__foot strong {
  padding: 2px 8px;
  background: var(--rule);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.page-products .pd-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--pd-gap);
  padding-block: clamp(22px, 3.6vw, 40px);
}

.page-products .pd-main {
  display: grid;
  gap: var(--pd-gap);
  min-width: 0;
}

.page-products .pd-drawer {
  background: var(--paper-white);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-card);
  padding: 14px 16px 16px;
}

.page-products .pd-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.page-products .pd-toc a {
  display: inline-block;
  padding: 5px 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text);
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--rule);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-products .pd-toc a:hover,
.page-products .pd-toc a:focus-visible {
  border-color: var(--brass);
  color: var(--brass-deep);
}

.page-products .pd-toc a.is-current {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.page-products .pd-chapter {
  scroll-margin-top: 128px;
  padding: clamp(16px, 2.4vw, 26px);
}

.page-products .pd-chapter .hall-panel__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.page-products .pd-chapter h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.8vw, 28px);
  line-height: 1.3;
  font-weight: 700;
  color: var(--text);
}

.page-products .pd-chapter h3 {
  margin: 22px 0 10px;
  font-family: var(--font-serif);
  font-size: 17.5px;
  line-height: 1.4;
  color: var(--ink);
}

.page-products .pd-chapter p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text);
}

.page-products .pd-chapter p:last-child {
  margin-bottom: 0;
}

.page-products .pd-figure {
  margin: 18px 0;
  padding: 7px;
  background: var(--paper-white);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-card);
}

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

.page-products .pd-figure figcaption {
  margin-top: 8px;
  padding: 8px 4px 2px;
  border-top: 1px dashed var(--rule);
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.page-products .pd-steps {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  counter-reset: pd-step;
}

.page-products .pd-steps li {
  counter-increment: pd-step;
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 11px 0;
  border-top: 1px dashed var(--rule);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
}

.page-products .pd-steps li::before {
  content: counter(pd-step, decimal-leading-zero);
  justify-self: start;
  padding: 1px 6px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
}

.page-products .pd-points {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .pd-points li {
  padding: 12px 14px;
  background: var(--paper);
  border-left: 2px solid var(--brass);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
}

.page-products .pd-points strong {
  color: var(--ink);
  font-weight: 700;
}

.page-products .pd-tablewrap {
  margin: 18px 0 12px;
  overflow-x: auto;
  border: 1px solid var(--rule);
  background: var(--paper-white);
}

.page-products .pd-versiontable {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.6;
}

.page-products .pd-versiontable caption {
  caption-side: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-align: left;
  color: var(--muted);
}

.page-products .pd-versiontable thead th {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: left;
  padding: 11px 12px;
  border-bottom: 3px double var(--brass);
}

.page-products .pd-versiontable tbody th,
.page-products .pd-versiontable tbody td {
  padding: 11px 12px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.page-products .pd-versiontable tbody th {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.page-products .pd-versiontable tbody td {
  color: var(--text);
}

.page-products .pd-versiontable tbody tr:nth-child(even) {
  background: var(--paper);
}

.page-products .pd-versiontable tbody tr {
  transition: background-color var(--dur) var(--ease);
}

.page-products .pd-versiontable tbody tr:hover {
  background: var(--pd-hover);
}

.page-products .pd-next {
  margin-top: clamp(6px, 1.4vw, 12px);
  padding: clamp(20px, 3vw, 32px);
  background: var(--ink-deep);
  color: var(--paper);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.page-products .pd-next h2 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.6vw, 26px);
  line-height: 1.3;
  color: var(--paper);
}

.page-products .pd-next > p {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--brass-lit);
}

.page-products .pd-next__grid {
  display: grid;
  border-top: 1px solid rgba(245, 239, 227, 0.22);
}

.page-products .pd-next__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 13px 2px;
  border-bottom: 1px solid rgba(245, 239, 227, 0.22);
  color: var(--paper);
  text-decoration: none;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.page-products .pd-next__item:hover,
.page-products .pd-next__item:focus-visible {
  color: var(--brass-lit);
  padding-left: 10px;
}

.page-products .pd-next__label {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
}

.page-products .pd-next__desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(245, 239, 227, 0.72);
}

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

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

@media (min-width: 860px) {
  .page-products .pd-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: center;
  }

  .page-products .pd-deck {
    margin-inline: 0 auto;
  }

  .page-products .pd-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .pd-card:nth-child(2),
  .page-products .pd-card:nth-child(4) {
    margin-top: 22px;
  }

  .page-products .pd-next__grid {
    border-top: 1px solid rgba(245, 239, 227, 0.22);
  }
}

@media (min-width: 960px) {
  .page-products .pd-body {
    grid-template-columns: 236px minmax(0, 1fr);
    align-items: start;
    gap: clamp(24px, 3vw, 40px);
  }

  .page-products .pd-drawer {
    position: sticky;
    top: 122px;
  }

  .page-products .pd-toc {
    display: grid;
    gap: 0;
  }

  .page-products .pd-toc a {
    padding: 10px 2px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--rule);
    font-size: 14px;
  }

  .page-products .pd-toc a.is-current {
    background: transparent;
    border-color: var(--rule);
    color: var(--ink);
    font-weight: 700;
    box-shadow: inset 2px 0 0 var(--brass);
    padding-left: 10px;
  }
}
<<<END>>>
