.page-products {
  padding-bottom: 96px;
  background:
    radial-gradient(circle at 88% 0%, rgba(224, 160, 32, 0.12), transparent 52%),
    var(--c-base);
  color: var(--c-ink);
}

.page-products .breadcrumb {
  padding-top: 16px;
  padding-bottom: 4px;
}

/* ---------- hero ---------- */
.page-products .pg-hero {
  position: relative;
  overflow: hidden;
  padding: 18px 0 40px;
}

.page-products .pg-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -110px;
  right: -46%;
  width: 132%;
  height: 86%;
  background: linear-gradient(135deg, var(--c-gold) 0%, #edb84a 52%, var(--c-gold-soft) 100%);
  clip-path: polygon(34% 0, 100% 0, 100% 62%, 0 100%);
  opacity: 0.92;
}

.page-products .pg-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 26px;
}

.page-products .pg-hero__title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(1.75rem, 5.4vw, 3.05rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 10px 0 0;
  color: var(--c-ink);
}

.page-products .pg-hero__lede {
  margin: 16px 0 0;
  max-width: 34em;
  font-size: 1rem;
  line-height: 1.75;
  color: #3a3730;
}

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

.page-products .pg-hero__meta {
  list-style: none;
  margin: 26px 0 0;
  padding: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  border-top: 1px solid rgba(140, 90, 43, 0.35);
}

.page-products .pg-hero__meta li {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--c-muted);
}

.page-products .pg-hero__meta b {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--c-green);
  font-variant-numeric: tabular-nums;
}

.page-products .pg-hero__figure {
  margin: 0;
  position: relative;
}

.page-products .pg-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid var(--c-copper);
  background: var(--c-paper);
  box-shadow: 10px 10px 0 -1px rgba(246, 223, 174, 0.95);
}

@media (min-width: 900px) {
  .page-products .pg-hero {
    padding: 34px 0 56px;
  }
  .page-products .pg-hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 48px;
  }
  .page-products .pg-hero::before {
    top: -140px;
    right: -18%;
    width: 78%;
    height: 108%;
    clip-path: polygon(28% 0, 100% 0, 100% 72%, 0 100%);
  }
}

/* ---------- shared section head ---------- */
.page-products .pg-head {
  max-width: 46em;
  margin-bottom: 26px;
}

.page-products .pg-head .section-title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(1.35rem, 3.4vw, 2.05rem);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--c-green);
  margin: 8px 0 0;
}

.page-products .pg-head .lede {
  margin: 12px 0 0;
  color: #3a3730;
}

/* ---------- improvements ---------- */
.page-products .pg-improve__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-products .pg-improve__item {
  position: relative;
  background: var(--c-paper);
  border: 1px solid rgba(140, 90, 43, 0.35);
  border-left: 4px solid var(--c-gold);
  padding: 14px 16px 16px;
  box-shadow: 4px 4px 0 -2px rgba(246, 223, 174, 0.85);
}

.page-products .pg-improve__idx {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--c-copper);
  margin-bottom: 4px;
}

.page-products .pg-improve__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.5;
  margin: 0 0 6px;
  color: var(--c-green);
}

.page-products .pg-improve__item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.72;
  color: #3a3730;
}

.page-products .pg-improve__list > li:first-child .pg-improve__title::first-letter {
  float: left;
  font-size: 2.2em;
  line-height: 0.92;
  padding: 2px 6px 0 0;
  color: var(--c-red);
  font-weight: 800;
}

.page-products .pg-improve__foot {
  margin: 26px 0 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(140, 90, 43, 0.5);
  font-size: 0.86rem;
  line-height: 1.72;
  color: var(--c-muted);
}

@media (min-width: 780px) {
  .page-products .pg-improve__list {
    grid-template-columns: 1fr 1fr;
    column-gap: 36px;
    row-gap: 26px;
    padding-bottom: 20px;
  }
  .page-products .pg-improve__list > li:nth-child(even) {
    transform: translateY(18px);
  }
}

/* ---------- version number decoder ---------- */
.page-products .pg-code__panel {
  position: relative;
  overflow: hidden;
  background: var(--c-paper);
  border: 1px solid var(--c-copper);
  padding: 24px 18px 22px;
  box-shadow: 10px 10px 0 -2px rgba(246, 223, 174, 0.95);
}

.page-products .pg-code__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}

.page-products .pg-code__segs {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.page-products .pg-seg {
  padding: 4px 0 4px 16px;
  border-left: 2px solid var(--c-copper);
}

.page-products .pg-seg__num {
  margin: 0;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2rem, 8vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-green);
  font-variant-numeric: tabular-nums;
}

.page-products .pg-seg__label {
  margin: 8px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--c-red);
}

.page-products .pg-seg__note {
  margin: 8px 0 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #3a3730;
}

.page-products .pg-code__sample {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed rgba(140, 90, 43, 0.55);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--c-muted);
}

.page-products .pg-code__sample .num {
  font-family: var(--sans);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--c-ink);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.page-products .pg-code__tips {
  margin-top: 22px;
}

.page-products .copy-btn {
  font: inherit;
  font-size: 0.8rem;
  line-height: 1.2;
  padding: 7px 14px;
  border: 1px solid var(--c-copper);
  border-radius: 2px;
  background: var(--c-gold-soft);
  color: var(--c-ink);
  cursor: pointer;
  white-space: nowrap;
}

.page-products .copy-btn:hover {
  background: var(--c-gold);
}

.page-products .copy-btn.is-done {
  background: var(--c-green);
  border-color: var(--c-green);
  color: var(--c-base);
}

@media (min-width: 760px) {
  .page-products .pg-code__panel {
    padding: 34px 30px 28px;
  }
  .page-products .pg-code__segs {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 26px;
  }
  .page-products .pg-seg {
    padding: 18px 4px 0 0;
    border-left: 0;
    border-top: 2px solid var(--c-copper);
  }
}

/* ---------- history timeline ---------- */
.page-products .pg-history {
  background: var(--c-paper);
  border-top: 1px solid rgba(140, 90, 43, 0.28);
  border-bottom: 1px solid rgba(140, 90, 43, 0.28);
}

.page-products .pg-history__head {
  display: grid;
  gap: 18px;
}

.page-products .pg-history__figure {
  margin: 0;
}

.page-products .pg-history__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--c-copper);
  background: var(--c-base);
  box-shadow: 8px 8px 0 -2px rgba(246, 223, 174, 0.95);
}

.page-products .pg-history__hint {
  margin: 24px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--c-copper);
}

.page-products .pg-track {
  display: flex;
  gap: 16px;
  margin: 10px 0 0;
  padding: 8px 2px 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-products .pg-track:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 4px;
}

.page-products .pg-track::-webkit-scrollbar {
  height: 6px;
}

.page-products .pg-track::-webkit-scrollbar-track {
  background: rgba(140, 90, 43, 0.16);
}

.page-products .pg-track::-webkit-scrollbar-thumb {
  background: var(--c-gold);
  border-radius: 99px;
}

.page-products .pg-vcard {
  flex: 0 0 78%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 16px 14px;
  background: var(--c-paper);
  border: 1px solid var(--c-copper);
  box-shadow: 8px 8px 0 -2px rgba(246, 223, 174, 0.95);
  transition: box-shadow 0.25s var(--ease), outline-color 0.25s var(--ease);
  outline: 3px solid transparent;
  outline-offset: 2px;
}

.page-products .pg-vcard--gold {
  background: linear-gradient(158deg, var(--c-gold-soft) 0%, var(--c-paper) 72%);
}

.page-products .pg-vcard:nth-child(even) {
  margin-top: 18px;
}

.page-products .pg-vcard:target {
  outline-color: var(--c-gold);
}

.page-products .pg-vcard__num {
  margin: 0;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--c-green);
  font-variant-numeric: tabular-nums;
}

.page-products .pg-vcard .tag {
  align-self: flex-start;
}

.page-products .pg-vcard__text {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.72;
  color: #3a3730;
}

.page-products .pg-vcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(140, 90, 43, 0.45);
}

.page-products .pg-vcard__file {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--c-muted);
}

.page-products .pg-history__more {
  margin: 8px 0 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--c-muted);
}

.page-products .pg-history__more a {
  color: var(--c-red);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 50, 42, 0.5);
}

@media (min-width: 760px) {
  .page-products .pg-history__head {
    grid-template-columns: 1.5fr 0.8fr;
    align-items: start;
    gap: 34px;
  }
  .page-products .pg-vcard {
    flex: 0 0 300px;
  }
}

/* ---------- tool matrix ---------- */
.page-products .pg-tools__grid {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.page-products .pg-cat {
  position: relative;
  overflow: hidden;
  background: var(--c-paper);
  border: 1px solid var(--c-copper);
  padding: 18px 16px 20px;
}

.page-products .pg-cat::before {
  content: "";
  position: absolute;
  right: -24px;
  top: -24px;
  width: 78px;
  height: 78px;
  background: var(--c-gold-soft);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  opacity: 0.85;
}

.page-products .pg-cat__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-products .pg-cat__icon {
  width: 40px;
  height: 40px;
  flex: none;
  object-fit: contain;
  padding: 4px;
  background: var(--c-base);
  border: 1px solid rgba(140, 90, 43, 0.4);
}

.page-products .pg-cat__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-green);
}

.page-products .pg-cat__scene {
  margin: 10px 0 0;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--c-muted);
}

.page-products .pg-cat__list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .pg-cat__list li {
  padding-top: 8px;
  border-top: 1px dashed rgba(140, 90, 43, 0.35);
  font-size: 0.88rem;
  line-height: 1.65;
  color: #3a3730;
}

.page-products .pg-cat__list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.page-products .pg-cat__list strong {
  display: block;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--c-ink);
  margin-bottom: 2px;
}

@media (min-width: 900px) {
  .page-products .pg-tools__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
      "a a b"
      "c d d";
    gap: 18px;
  }
  .page-products .pg-cat--a { grid-area: a; }
  .page-products .pg-cat--b { grid-area: b; }
  .page-products .pg-cat--c { grid-area: c; }
  .page-products .pg-cat--d { grid-area: d; }
}

/* ---------- download steps ---------- */
.page-products .pg-steps__figure {
  margin: 0 0 8px;
}

.page-products .pg-steps__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(140, 90, 43, 0.45);
  background: var(--c-paper);
}

.page-products .pg-steps__list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.page-products .pg-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding-bottom: 28px;
}

.page-products .pg-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 46px;
  bottom: 4px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--c-copper) 0 5px, transparent 5px 11px);
}

.page-products .pg-step__num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--c-gold);
  background: var(--c-paper);
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--c-green);
  font-variant-numeric: tabular-nums;
}

.page-products .pg-step__title {
  margin: 6px 0 6px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--c-green);
}

.page-products .pg-step__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #3a3730;
}

.page-products .pg-step__pit {
  margin: 10px 0 0;
  padding: 8px 11px;
  font-size: 0.84rem;
  line-height: 1.68;
  color: #5c2a25;
  background: rgba(200, 50, 42, 0.07);
  border-left: 3px solid var(--c-red);
}

.page-products .pg-step__pit b {
  color: var(--c-red);
}

/* ---------- mobile & compatibility ---------- */
.page-products .pg-mobile__grid {
  display: grid;
  gap: 16px;
}

.page-products .pg-mobile__card {
  background: var(--c-paper);
  border: 1px solid var(--c-copper);
  padding: 20px 18px 18px;
  box-shadow: 8px 8px 0 -2px rgba(246, 223, 174, 0.95);
}

.page-products .pg-mobile__title {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--c-green);
}

.page-products .pg-mobile__card p {
  margin: 0 0 10px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #3a3730;
}

.page-products .pg-mobile__card p:last-child {
  margin-bottom: 0;
}

.page-products .pg-mobile__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .pg-mobile__list li {
  position: relative;
  padding: 12px 14px 12px 16px;
  background: rgba(246, 223, 174, 0.35);
  border-left: 3px solid var(--c-moss);
}

.page-products .pg-mobile__key {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--c-green);
  margin-bottom: 3px;
}

.page-products .pg-mobile__list p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #3a3730;
}

@media (min-width: 880px) {
  .page-products .pg-mobile__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }
}

/* ---------- closing links ---------- */
.page-products .pg-next__box {
  background: var(--c-green);
  border: 1px solid var(--c-gold);
  padding: 26px 20px 24px;
  box-shadow: 12px 12px 0 -2px rgba(224, 160, 32, 0.55);
}

.page-products .pg-next__title {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  line-height: 1.4;
  color: var(--c-gold-soft);
}

.page-products .pg-next__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (min-width: 760px) {
  .page-products .pg-next__box {
    padding: 34px 30px 32px;
  }
}
<<<END>>>
