.page-products {
  --pr-gap: clamp(.9rem, 2.2vw, 1.4rem);
  --pr-pad: clamp(1rem, 3vw, 1.5rem);
  --pr-line: rgba(30, 94, 102, .65);
  --pr-line-soft: rgba(30, 94, 102, .32);
  background: var(--ink);
  color: var(--fog);
  overflow-wrap: break-word;
  padding-bottom: clamp(2.4rem, 7vw, 5rem);
}

.page-products .pr-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.2rem, 4vw, 2.4rem) 0 clamp(1.8rem, 5vw, 3rem);
}

.page-products .pr-hero::before {
  content: "";
  position: absolute;
  inset: -30% -15% 30% 20%;
  z-index: -2;
  background:
    radial-gradient(58% 58% at 72% 28%, rgba(139, 92, 246, .34), transparent 72%),
    radial-gradient(48% 48% at 14% 8%, rgba(53, 224, 206, .18), transparent 70%);
  pointer-events: none;
}

.page-products .pr-hero__shape {
  position: absolute;
  right: -18%;
  top: -14%;
  width: min(560px, 76vw);
  aspect-ratio: 1 / 1;
  z-index: -1;
  background: linear-gradient(142deg, rgba(53, 224, 206, .18), rgba(139, 92, 246, .14) 54%, transparent 80%);
  clip-path: polygon(30% 0, 100% 0, 100% 70%, 60% 100%, 0 80%, 0 24%);
  pointer-events: none;
}

.page-products .pr-hero__grid {
  display: grid;
  gap: clamp(1.2rem, 4vw, 2.4rem);
}

.page-products .pr-hero__title {
  margin: .5rem 0 .8rem;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.9rem, 6vw, 3.3rem);
  line-height: 1.16;
  letter-spacing: -.01em;
  color: var(--fog);
}

.page-products .pr-hero__title::after {
  content: "";
  display: block;
  width: 74px;
  height: 3px;
  margin-top: 1rem;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 62%, transparent);
}

.page-products .pr-hero__lede {
  max-width: 38em;
  color: var(--slate);
  font-size: clamp(.98rem, 2.4vw, 1.06rem);
  line-height: 1.75;
}

.page-products .pr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.4rem;
}

.page-products .pr-gauge {
  position: relative;
  padding: var(--pr-pad);
  border: 1px solid var(--pr-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(158deg, var(--panel-up), var(--panel) 58%, rgba(4, 12, 22, .96));
  box-shadow: var(--shadow-panel);
}

.page-products .pr-gauge::before {
  content: "";
  position: absolute;
  left: var(--pr-pad);
  right: 44%;
  top: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
}

.page-products .pr-gauge__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}

.page-products .pr-gauge__code {
  font-size: .84rem;
  letter-spacing: .16em;
  color: var(--cyan);
}

.page-products .pr-gauge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(242, 184, 75, .16);
}

.page-products .pr-gauge__note {
  margin: .7rem 0 1rem;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--slate);
}

.page-products .pr-reads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}

.page-products .pr-read {
  padding: .7rem .8rem;
  border: 1px solid var(--pr-line-soft);
  border-radius: var(--radius-sm);
  background: rgba(4, 12, 22, .55);
}

.page-products .pr-read__value {
  display: block;
  font-size: clamp(1.15rem, 3.6vw, 1.5rem);
  color: var(--amber);
  line-height: 1.2;
}

.page-products .pr-read__label {
  display: block;
  margin-top: .25rem;
  font-size: .78rem;
  color: var(--slate);
  letter-spacing: .02em;
}

.page-products .pr-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  list-style: none;
  margin: clamp(1.4rem, 4vw, 2.2rem) 0 0;
  padding: 0;
}

.page-products .pr-rail a {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  padding: .62rem .72rem;
  border: 1px solid var(--pr-line-soft);
  border-radius: var(--radius-sm);
  background: rgba(11, 27, 47, .72);
  color: var(--fog);
  text-decoration: none;
  font-size: .9rem;
  transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}

.page-products .pr-rail a:hover,
.page-products .pr-rail a:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.page-products .pr-rail__num {
  color: var(--amber);
  font-size: .76rem;
  letter-spacing: .08em;
}

.page-products .pr-section {
  padding: clamp(2rem, 6vw, 3.6rem) 0 0;
}

.page-products .pr-head {
  display: flex;
  align-items: flex-start;
  gap: clamp(.8rem, 2.4vw, 1.3rem);
  margin-bottom: .9rem;
}

.page-products .section-index {
  flex: 0 0 auto;
  font-size: clamp(1.5rem, 5vw, 2.3rem);
  line-height: 1;
  color: rgba(53, 224, 206, .3);
}

@supports (-webkit-text-stroke: 1px #000) {
  .page-products .section-index {
    color: transparent;
    -webkit-text-stroke: 1px rgba(53, 224, 206, .72);
  }
}

.page-products .pr-head h2 {
  margin: .2rem 0 0;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.3rem, 3.6vw, 1.85rem);
  line-height: 1.32;
  color: var(--fog);
}

.page-products .section-kicker {
  margin: 0;
  font-size: .74rem;
  letter-spacing: .16em;
  color: var(--amber);
}

.page-products .pr-intro {
  max-width: 40em;
  margin: 0 0 clamp(1.2rem, 3vw, 1.8rem);
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.78;
}

.page-products .pr-compare {
  display: grid;
  gap: clamp(1.2rem, 3.4vw, 2rem);
}

.page-products .pr-versus {
  display: grid;
  gap: var(--pr-gap);
}

.page-products .pr-pane {
  position: relative;
  padding: var(--pr-pad);
  border: 1px solid var(--pr-line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--panel), rgba(4, 12, 22, .92));
}

.page-products .pr-pane--active {
  border-color: rgba(242, 184, 75, .5);
  background: linear-gradient(168deg, rgba(242, 184, 75, .09), var(--panel) 44%, rgba(4, 12, 22, .94));
}

.page-products .pr-pane--active::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 1.1rem;
  width: 3px;
  height: 46px;
  background: linear-gradient(180deg, var(--amber), transparent);
}

.page-products .pr-pane__tag {
  display: inline-block;
  padding: .18rem .5rem;
  border-radius: var(--radius-xs);
  background: rgba(217, 201, 163, .14);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .06em;
}

.page-products .pr-pane__title {
  margin: .6rem 0 .9rem;
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  font-weight: 700;
  color: var(--fog);
}

.page-products .pr-rows {
  margin: 0;
}

.page-products .pr-row {
  padding-top: .62rem;
  margin-top: .62rem;
  border-top: 1px dashed var(--pr-line-soft);
}

.page-products .pr-row:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.page-products .pr-row dt {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--cyan);
}

.page-products .pr-row dd {
  margin: .2rem 0 0;
  font-size: .93rem;
  line-height: 1.7;
  color: var(--fog);
}

.page-products .pr-figure {
  margin: 0;
}

.page-products .pr-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid var(--pr-line-soft);
  border-radius: var(--radius);
  background: var(--panel);
}

.page-products .pr-figure figcaption {
  margin-top: .55rem;
  font-size: .8rem;
  line-height: 1.6;
  color: var(--slate);
}

.page-products .pr-compare__figure {
  border-radius: var(--radius-lg);
}

.page-products .pr-callout {
  margin: clamp(1.2rem, 3vw, 1.8rem) 0 0;
  font-size: .92rem;
  line-height: 1.75;
}

.page-products .pr-adapt {
  display: grid;
  gap: clamp(1.2rem, 3vw, 1.8rem);
}

.page-products .pr-adapt__label {
  margin: 0 0 .6rem;
  font-size: .74rem;
  letter-spacing: .14em;
  color: var(--slate);
}

.page-products .pr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

.page-products .pr-chip {
  display: inline-block;
  padding: .4rem .72rem;
  border: 1px solid var(--pr-line);
  border-radius: 999px;
  background: rgba(11, 27, 47, .8);
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: .78rem;
  text-decoration: none;
  transition: border-color .22s var(--ease), color .22s var(--ease), background .22s var(--ease);
}

.page-products .pr-chip:hover,
.page-products .pr-chip:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(53, 224, 206, .1);
}

.page-products .pr-chip--quiet {
  border-color: rgba(217, 201, 163, .38);
  color: var(--paper);
}

.page-products .pr-devices {
  display: grid;
  gap: .75rem;
}

.page-products .pr-device {
  padding: .9rem 1rem 1rem;
  border: 1px solid var(--pr-line-soft);
  border-left: 2px solid rgba(53, 224, 206, .5);
  border-radius: var(--radius-sm);
  background: rgba(11, 27, 47, .6);
  scroll-margin-top: 90px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}

.page-products .pr-device:hover {
  border-left-color: var(--cyan);
  background: rgba(14, 35, 56, .8);
}

.page-products .pr-device__name {
  margin: 0;
  font-size: .9rem;
  letter-spacing: .04em;
  color: var(--cyan);
}

.page-products .pr-device__size {
  margin: .3rem 0 .5rem;
  font-size: .8rem;
  color: var(--amber);
}

.page-products .pr-device__text {
  margin: 0;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--slate);
}

.page-products .pr-device--note {
  border-left-color: rgba(217, 201, 163, .6);
  background: rgba(217, 201, 163, .06);
}

.page-products .pr-device--note .pr-device__name {
  color: var(--paper);
}

.page-products .pr-steps {
  display: grid;
  gap: clamp(1.2rem, 3vw, 1.8rem);
}

.page-products .pr-step-list {
  position: relative;
  display: grid;
  gap: .85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .pr-step-list::before {
  content: "";
  position: absolute;
  left: 1.42rem;
  top: 1.6rem;
  bottom: 1.6rem;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan), rgba(53, 224, 206, .1));
}

.page-products .pr-step {
  position: relative;
  padding: 1rem 1rem 1rem 3.2rem;
  border: 1px solid var(--pr-line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel-up), rgba(4, 12, 22, .93));
}

.page-products .pr-step__num {
  position: absolute;
  left: .95rem;
  top: 1rem;
  font-size: .95rem;
  color: var(--amber);
}

.page-products .pr-step__title {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fog);
}

.page-products .pr-step p {
  margin: 0;
  font-size: .93rem;
  line-height: 1.75;
  color: var(--slate);
}

.page-products .pr-step__meta {
  margin-top: .7rem !important;
  font-size: .74rem !important;
  letter-spacing: .08em;
  color: var(--cyan) !important;
}

.page-products .pr-step-figure img {
  border-radius: var(--radius-lg);
}

.page-products .pr-steps__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.2rem;
  margin-top: clamp(1.2rem, 3vw, 1.8rem);
  padding-top: 1rem;
  border-top: 1px solid var(--pr-line-soft);
}

.page-products .pr-steps__foot p {
  flex: 1 1 18em;
  margin: 0;
  font-size: .92rem;
  line-height: 1.72;
  color: var(--slate);
}

.page-products .pr-rules {
  display: grid;
  gap: .8rem;
}

.page-products .pr-rule {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(217, 201, 163, .3);
  border-radius: var(--radius-sm);
  background: rgba(217, 201, 163, .06);
  box-shadow: 5px 5px 0 -1px rgba(217, 201, 163, .1);
}

.page-products .pr-rule:nth-child(2) {
  border-color: rgba(53, 224, 206, .34);
  background: rgba(53, 224, 206, .06);
  box-shadow: 5px 5px 0 -1px rgba(53, 224, 206, .12);
}

.page-products .pr-rule__title {
  margin: 0 0 .45rem;
  font-size: .98rem;
  font-weight: 700;
  color: var(--fog);
}

.page-products .pr-rule__title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: .5rem;
  vertical-align: middle;
  background: var(--amber);
  transform: rotate(45deg);
}

.page-products .pr-rule p {
  margin: 0;
  font-size: .91rem;
  line-height: 1.72;
  color: var(--slate);
}

.page-products .pr-check-wrap {
  margin-top: clamp(1.3rem, 3.4vw, 2rem);
  padding: var(--pr-pad);
  border: 1px solid var(--pr-line);
  border-radius: var(--radius);
  background: rgba(11, 27, 47, .72);
}

.page-products .pr-check-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--fog);
}

.page-products .pr-check-hint {
  margin: .35rem 0 0;
  font-size: .84rem;
  color: var(--slate);
}

.page-products .pr-checks {
  display: grid;
  gap: .55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.page-products .pr-checks label {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .91rem;
  line-height: 1.65;
  color: var(--fog);
  cursor: pointer;
}

.page-products .pr-checks input {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: .22rem;
  accent-color: var(--cyan);
  cursor: pointer;
}

.page-products .pr-rule-figure {
  margin-top: clamp(1.3rem, 3.4vw, 2rem);
}

.page-products .pr-migrate {
  display: grid;
  gap: clamp(1.2rem, 3vw, 1.8rem);
}

.page-products .pr-migrate__body p {
  margin: 0 0 .9rem;
  font-size: .96rem;
  line-height: 1.78;
  color: var(--slate);
}

.page-products .pr-migrate__body strong {
  color: var(--fog);
  font-weight: 700;
}

.page-products .pr-list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .55rem;
}

.page-products .pr-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: .93rem;
  line-height: 1.72;
  color: var(--slate);
}

.page-products .pr-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 7px;
  height: 7px;
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}

.page-products .pr-end {
  position: relative;
  margin-top: clamp(1.8rem, 4.5vw, 3rem);
  padding-top: 1.4rem;
}

.page-products .pr-end::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 54%, var(--amber));
  opacity: .8;
}

.page-products .pr-end__lead {
  margin: 0 0 .8rem;
  font-size: .95rem;
  color: var(--fog);
}

.page-products .pr-end__links {
  display: grid;
  gap: .45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .pr-end__links a {
  display: inline-block;
  color: var(--slate);
  font-size: .9rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .22s var(--ease), border-color .22s var(--ease);
}

.page-products .pr-end__links a:hover,
.page-products .pr-end__links a:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

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

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

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

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

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

@media (min-width: 900px) {
  .page-products .pr-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: end;
    gap: clamp(1.8rem, 4vw, 3rem);
  }

  .page-products .pr-gauge {
    transform: translateY(-6px);
  }

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

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

  .page-products .pr-compare__figure {
    margin-top: .4rem;
  }

  .page-products .pr-adapt {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    align-items: start;
  }

  .page-products .pr-adapt__aside {
    position: sticky;
    top: 1.2rem;
  }

  .page-products .pr-steps {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: start;
  }

  .page-products .pr-migrate {
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    align-items: start;
  }

  .page-products .pr-rule-figure {
    margin-top: 1.6rem;
  }
}

@media (min-width: 1100px) {
  .page-products .pr-devices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .pr-compare {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
    align-items: start;
    gap: clamp(1.4rem, 3vw, 2.2rem);
  }

  .page-products .pr-compare__figure {
    margin-top: 2.4rem;
  }

  .page-products .pr-step-figure {
    margin-top: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pr-rail a,
  .page-products .pr-chip,
  .page-products .pr-device,
  .page-products .pr-end__links a {
    transition: none;
  }

  .page-products .pr-rail a:hover,
  .page-products .pr-rail a:focus-visible {
    transform: none;
  }
}
