.page-products {
  --px-slant: 6deg;
  --px-pad: clamp(32px, 6vw, 84px);
  --px-gap: clamp(16px, 3vw, 32px);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-products .section {
  padding-block: var(--px-pad);
}

.page-products .breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 14px 0 0;
  list-style: none;
  font-size: 13px;
  color: var(--stone);
}

.page-products .breadcrumb__list > li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--line-strong);
}

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

.page-products .breadcrumb__link:hover,
.page-products .breadcrumb__link:focus-visible {
  text-decoration: underline;
}

/* ---------- hero ---------- */
.page-products .px-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(22px, 4vw, 48px) clamp(40px, 7vw, 88px);
}

.page-products .px-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 38%;
  right: -18%;
  top: -22%;
  bottom: -30%;
  background: linear-gradient(150deg, rgba(196, 32, 42, 0.62), rgba(196, 32, 42, 0) 70%);
  transform: skewY(calc(-1 * var(--px-slant)));
  pointer-events: none;
}

.page-products .px-hero__inner {
  max-width: 900px;
}

.page-products .px-hero__title {
  margin: 10px 0 0;
  font-family: var(--font-head);
  font-size: clamp(32px, 7.4vw, 66px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-products .px-hero__lede {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.75;
  color: var(--stone);
}

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

.page-products .px-hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px var(--px-gap);
  margin: 36px 0 0;
}

.page-products .px-stat {
  border-top: 2px solid var(--line-strong);
  padding-top: 10px;
}

.page-products .px-stat dt {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.page-products .px-stat dd {
  margin: 6px 0 0;
  font-family: var(--font-data);
  font-size: clamp(20px, 3.4vw, 30px);
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

/* ---------- rounds ---------- */
.page-products .px-rounds__grid {
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.page-products .px-rounds__text h2 {
  margin: 10px 0 0;
  font-family: var(--font-head);
  font-size: clamp(24px, 4.2vw, 38px);
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.page-products .px-rounds__copy {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--stone);
  max-width: 60ch;
}

.page-products .px-rounds__list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-products .px-rounds__list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.7;
  color: var(--paper);
}

.page-products .px-rounds__k {
  display: inline-block;
  min-width: 4em;
  margin-right: 10px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-products .px-rounds__figure {
  margin: 0;
  position: relative;
}

.page-products .px-rounds__figure::after {
  content: "";
  position: absolute;
  inset: 12px -10px -12px 12px;
  border: 2px solid rgba(196, 32, 42, 0.5);
  z-index: -1;
}

.page-products .px-rounds__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 2px solid var(--line-strong);
  background: var(--ink-3);
  object-fit: cover;
}

.page-products .px-rounds__figure figcaption,
.page-products .px-compare__figure figcaption,
.page-products .px-sync__figure figcaption,
.page-products .px-paths__figure figcaption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--stone);
}

/* ---------- compare ---------- */
.page-products .px-compare .section-head {
  max-width: 68ch;
}

.page-products .px-compare .section-head h2 {
  margin: 10px 0 0;
  font-family: var(--font-head);
  font-size: clamp(24px, 4.2vw, 38px);
  line-height: 1.14;
}

.page-products .px-compare .lede {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--stone);
}

.page-products .px-compare__frame {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.page-products .px-compare__col {
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--line);
}

.page-products .px-compare__col--before {
  background: var(--paper);
  color: var(--paper-ink);
  border-color: var(--line-paper);
}

.page-products .px-compare__col--after {
  background: var(--ink-2);
  color: var(--paper);
}

.page-products .px-compare__label {
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-products .px-compare__col--before .px-compare__label {
  color: var(--clay);
}

.page-products .px-compare__col--after .px-compare__label {
  color: var(--cyan);
}

.page-products .px-compare__list {
  margin: 0;
}

.page-products .px-diff {
  padding: 14px 0;
  border-top: 1px solid var(--line-paper);
}

.page-products .px-compare__col--after .px-diff {
  border-top-color: var(--line);
}

.page-products .px-diff dt {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}

.page-products .px-diff dd {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.7;
}

.page-products .px-compare__spine {
  display: none;
}

.page-products .px-compare__figure {
  margin: 26px 0 0;
}

.page-products .px-compare__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 2px solid var(--line-strong);
  background: var(--ink-3);
  object-fit: cover;
}

.page-products .px-archive {
  display: grid;
  gap: 18px;
  margin-top: 32px;
  padding: clamp(18px, 3vw, 30px);
  background: var(--ink-2);
  border-left: 4px solid var(--gold);
}

.page-products .px-archive__title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: clamp(18px, 2.6vw, 24px);
  letter-spacing: 0.01em;
}

.page-products .px-archive__text p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--stone);
  max-width: 58ch;
}

.page-products .px-archive__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 2px solid var(--line-strong);
  object-fit: cover;
}

.page-products .px-inline-link {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 211, 198, 0.45);
}

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

/* ---------- sync ---------- */
.page-products .section--paper.px-sync {
  background: var(--paper);
  color: var(--paper-ink);
}

.page-products .px-sync__grid {
  display: grid;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.page-products .px-sync__text h2 {
  margin: 10px 0 0;
  font-family: var(--font-head);
  font-size: clamp(24px, 4.2vw, 38px);
  line-height: 1.14;
  color: var(--paper-ink);
}

.page-products .px-sync__copy {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--paper-soft);
  max-width: 58ch;
}

.page-products .px-sync__steps {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .px-sync__steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--line-paper);
  font-size: 15px;
  line-height: 1.72;
}

.page-products .px-sync__steps strong {
  display: block;
  font-family: var(--font-head);
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--paper-ink);
}

.page-products .px-sync__num {
  display: inline-block;
  padding: 3px 7px;
  background: var(--red);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
}

.page-products .px-sync__figure {
  margin: 0;
}

.page-products .px-sync__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 2px solid var(--line-paper);
  background: var(--ink-3);
  object-fit: cover;
}

.page-products .px-sync__figure figcaption {
  color: var(--paper-soft);
}

/* ---------- paths ---------- */
.page-products .px-paths .filter-bar {
  margin-top: 22px;
}

.page-products .px-map {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 26px;
  background: var(--ink-2);
  border: 1px solid var(--line);
}

.page-products .px-map__line {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-linecap: round;
}

.page-products .px-map__hub {
  fill: var(--red);
}

.page-products .px-map__node {
  fill: var(--ink);
  stroke: var(--cyan);
  stroke-width: 3;
}

.page-products .px-map__hubtext,
.page-products .px-map__label {
  font-family: var(--font-head);
  font-size: 22px;
  fill: var(--paper);
  letter-spacing: 0.02em;
}

.page-products .px-map__hubtext {
  fill: var(--stone);
  font-size: 19px;
}

.page-products .px-paths__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--px-gap);
  margin-top: 26px;
}

.page-products .px-path {
  padding: 20px 20px 22px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
}

.page-products .px-path__idx {
  margin: 0;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.page-products .px-path h3 {
  margin: 8px 0 0;
  font-family: var(--font-head);
  font-size: 21px;
  letter-spacing: 0.01em;
}

.page-products .px-path__chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 10px 0 0;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--stone);
}

.page-products .px-path__chain span {
  padding: 3px 8px;
  border: 1px solid var(--line);
  background: rgba(14, 17, 19, 0.6);
}

.page-products .px-path__chain span + span::before {
  content: "› ";
  color: var(--cyan);
}

.page-products .px-path__use {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--stone);
}

.page-products .px-paths__figure {
  margin: 26px 0 0;
}

.page-products .px-paths__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 2px solid var(--line-strong);
  object-fit: cover;
}

/* ---------- steps ---------- */
.page-products .px-start .section-head h2 {
  margin: 10px 0 0;
  font-family: var(--font-head);
  font-size: clamp(24px, 4.2vw, 38px);
  line-height: 1.14;
}

.page-products .px-start .lede {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--stone);
}

.page-products .px-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .px-step {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "num title"
    "num text";
  gap: 4px 14px;
  padding: 18px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
}

.page-products .px-step__num {
  grid-area: num;
  align-self: start;
  padding: 5px 8px;
  background: var(--gold);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.page-products .px-step__title {
  grid-area: title;
  margin: 0;
  font-family: var(--font-head);
  font-size: 17px;
  letter-spacing: 0.02em;
}

.page-products .px-step p {
  grid-area: text;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--stone);
}

/* ---------- config ---------- */
.page-products .section--paper.px-config {
  background: var(--paper);
  color: var(--paper-ink);
}

.page-products .px-config .section-head h2 {
  margin: 10px 0 0;
  font-family: var(--font-head);
  font-size: clamp(24px, 4.2vw, 38px);
  line-height: 1.14;
  color: var(--paper-ink);
}

.page-products .px-config .lede {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--paper-soft);
}

.page-products .px-config .filter-bar {
  margin-top: 20px;
}

.page-products .px-tips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .px-tip {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line-paper);
  border-left: 3px solid var(--clay);
}

.page-products .px-tip h3 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--paper-ink);
}

.page-products .px-tip p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--paper-soft);
}

.page-products .px-config .px-inline-link {
  color: var(--clay);
  border-bottom-color: rgba(140, 74, 50, 0.45);
}

.page-products .px-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 2px solid var(--line-paper);
}

.page-products .px-help p {
  flex: 1 1 320px;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--paper-soft);
}

/* ---------- responsive ---------- */
@media (min-width: 640px) {
  .page-products .px-hero__stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .px-paths__list,
  .page-products .px-tips {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .page-products .px-rounds__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .page-products .px-compare__frame {
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 72px);
  }

  .page-products .px-compare__spine {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    background: linear-gradient(180deg, var(--red), var(--cyan));
    transform: skewX(calc(-1 * var(--px-slant)));
  }

  .page-products .px-archive {
    grid-template-columns: 1fr 260px;
    align-items: center;
  }

  .page-products .px-sync__grid {
    grid-template-columns: 1fr 0.9fr;
  }

  .page-products .px-steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }

  .page-products .px-step {
    grid-template-columns: 1fr;
    grid-template-areas:
      "num"
      "title"
      "text";
    gap: 8px;
  }

  .page-products .px-step__num {
    justify-self: start;
  }
}

@media (min-width: 1024px) {
  .page-products .px-paths__list {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(18px, 2.4vw, 28px);
  }

  .page-products .px-tips {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products * {
    transition: none !important;
    animation: none !important;
  }
}
</main>
