.page-products {
  --cat-pad: clamp(20px, 3vw, 28px);
  --cat-gap: clamp(20px, 3.2vw, 40px);
  background: var(--ink-900);
  color: var(--moon);
  font-family: var(--font-sans);
  overflow-x: clip;
}

.page-products .cat-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--score);
}

.page-products .cat-unit {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dust);
  margin-left: 6px;
}

/* ---------- Hero ---------- */

.page-products .cat-hero {
  position: relative;
  padding: clamp(40px, 8vw, 88px) 0 clamp(36px, 6vw, 68px);
  overflow: hidden;
}

.page-products .cat-hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: -14%;
  width: 880px;
  height: 720px;
  background:
    radial-gradient(circle at 42% 46%, rgba(124, 92, 255, .30), transparent 66%),
    radial-gradient(circle at 72% 22%, rgba(61, 227, 206, .12), transparent 70%);
  pointer-events: none;
}

.page-products .cat-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(30px, 5vw, 58px);
}

.page-products .cat-hero__lead .crumbs {
  margin-bottom: 22px;
}

.page-products .cat-hero__title {
  margin: 12px 0 20px;
  font-size: clamp(32px, 6.6vw, 60px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--moon);
}

.page-products .cat-hero__title-step {
  display: block;
  padding-left: clamp(14px, 4vw, 54px);
  color: var(--cyan);
}

.page-products .cat-hero__lede {
  max-width: 58ch;
  margin: 0 0 28px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--dust);
}

.page-products .cat-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .cat-hero__panel {
  align-self: end;
  padding: var(--cat-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(12, 18, 32, .96), rgba(5, 7, 15, .72));
  box-shadow: 0 30px 60px -40px rgba(61, 227, 206, .28);
}

.page-products .cat-hero__panel .eyebrow {
  color: var(--cyan);
}

.page-products .cat-hero__meta {
  margin: 18px 0 0;
}

.page-products .cat-hero__meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.page-products .cat-hero__meta-row dt {
  font-size: 13px;
  color: var(--dust);
  letter-spacing: .04em;
}

.page-products .cat-hero__meta-row dd {
  margin: 0;
}

.page-products .cat-hero__panel-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--rock);
}

/* ---------- Sections ---------- */

.page-products .cat-sec {
  padding: clamp(52px, 8vw, 104px) 0;
}

.page-products .cat-sec--tight {
  padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 7vw, 88px);
}

.page-products .cat-head {
  max-width: 700px;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.page-products .cat-head h2 {
  margin: 8px 0 12px;
  font-size: clamp(25px, 4.2vw, 40px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.page-products .cat-head p {
  margin: 0;
  max-width: 60ch;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--dust);
}

/* ---------- Three content types ---------- */

.page-products .cat-types {
  display: grid;
  gap: 16px;
}

.page-products .cat-type {
  position: relative;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(172deg, rgba(12, 18, 32, .92), rgba(5, 7, 15, .58));
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.page-products .cat-type::after {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(22px, 3vw, 30px);
  width: 46px;
  height: 2px;
  border-radius: 2px;
}

.page-products .cat-type--cyan::after { background: var(--cyan); }
.page-products .cat-type--clay::after { background: var(--clay); }
.page-products .cat-type--amber::after { background: var(--amber); }

.page-products .cat-type:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
}

.page-products .cat-type__n {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--rock);
}

.page-products .cat-type h3 {
  margin: 14px 0 6px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-products .cat-type__time {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--clay);
}

.page-products .cat-type p:last-child {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--dust);
}

/* ---------- Split waterfall ---------- */

.page-products .cat-split__grid {
  display: grid;
  gap: var(--cat-gap);
}

.page-products .cat-split__col {
  display: grid;
  gap: var(--cat-gap);
  align-content: start;
}

.page-products .cat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-800);
  padding: var(--cat-pad);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.page-products .cat-card:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
}

.page-products .cat-card--media {
  padding: 0;
  overflow: hidden;
}

.page-products .cat-card__body {
  padding: var(--cat-pad);
}

.page-products .cat-card__label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border: 1px solid rgba(61, 227, 206, .38);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--cyan);
}

.page-products .cat-card h3 {
  margin: 0 0 12px;
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.page-products .cat-card p {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--dust);
}

.page-products .cat-card p:last-child {
  margin-bottom: 0;
}

.page-products .cat-note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--score) !important;
}

.page-products .cat-figure {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--ink-700);
  border-radius: var(--radius);
}

.page-products .cat-card--media .cat-figure {
  border-radius: 0;
  border-bottom: 1px solid var(--line);
}

.page-products .cat-figure--16x9 { aspect-ratio: 16 / 9; }
.page-products .cat-figure--4x3 { aspect-ratio: 4 / 3; }
.page-products .cat-figure--portrait { aspect-ratio: 5 / 6; }

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

.page-products .cat-views {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.page-products .cat-views li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: baseline;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--dust);
}

.page-products .cat-views__k {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--cyan);
}

/* ---------- Compare band ---------- */

.page-products .cat-compare {
  position: relative;
  padding: clamp(46px, 7vw, 88px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 130% at 50% 0%, rgba(124, 92, 255, .18), transparent 64%),
    var(--ink-800);
}

.page-products .cat-compare__head {
  max-width: 660px;
  margin-bottom: clamp(24px, 3.5vw, 38px);
}

.page-products .cat-compare__head h2 {
  margin: 8px 0 10px;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.page-products .cat-compare__head p {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--dust);
}

.page-products .cat-seg__bar {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 7, 15, .68);
}

.page-products .cat-seg__opt {
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--dust);
  cursor: pointer;
  transition: color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}

.page-products .cat-seg__opt:hover {
  color: var(--moon);
}

.page-products #seg-two:checked ~ .cat-seg__bar .cat-seg__opt[for="seg-two"],
.page-products #seg-three:checked ~ .cat-seg__bar .cat-seg__opt[for="seg-three"] {
  background: rgba(61, 227, 206, .14);
  color: var(--cyan);
  box-shadow: inset 0 0 0 1px rgba(61, 227, 206, .42);
}

.page-products #seg-two:focus-visible ~ .cat-seg__bar,
.page-products #seg-three:focus-visible ~ .cat-seg__bar {
  box-shadow: 0 0 0 2px rgba(61, 227, 206, .55);
}

.page-products .cat-seg__pane {
  display: none;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(5, 7, 15, .5);
}

.page-products #seg-two:checked ~ .cat-seg__view .cat-seg__pane--two,
.page-products #seg-three:checked ~ .cat-seg__view .cat-seg__pane--three {
  display: block;
}

.page-products .cat-seg__lede {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--moon);
}

.page-products .cat-seg__text {
  margin: 0 0 18px;
  max-width: 58ch;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--dust);
}

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

.page-products .cat-seg__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--dust);
}

.page-products .cat-seg__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.page-products .cat-compare__figure {
  margin: clamp(26px, 4vw, 44px) 0 0;
}

.page-products .cat-compare__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.page-products .cat-compare__figure figcaption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--rock);
}

/* ---------- Coverage ---------- */

.page-products .cat-data {
  display: grid;
  gap: var(--cat-gap);
}

.page-products .cat-stat {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.page-products .cat-stat:first-child {
  border-top: 1px solid var(--line);
}

.page-products .cat-stat__num {
  font-family: var(--font-mono);
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--score);
}

.page-products .cat-stat__unit {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--cyan);
}

.page-products .cat-stat p {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--dust);
}

.page-products .cat-data__figure {
  margin: 0;
}

.page-products .cat-data__figure figcaption {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--dust);
}

/* ---------- Usage paths ---------- */

.page-products .cat-paths {
  display: grid;
  gap: var(--cat-gap);
}

.page-products .cat-paths__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .cat-path {
  padding: clamp(18px, 2.6vw, 26px);
  border: 1px solid var(--line);
  border-left: 2px solid var(--clay);
  border-radius: var(--radius);
  background: rgba(12, 18, 32, .7);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.page-products .cat-path:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  border-left-color: var(--cyan);
}

.page-products .cat-path__k {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--cyan);
}

.page-products .cat-path h3 {
  margin: 10px 0 8px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-products .cat-path p {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--dust);
}

/* ---------- Closing CTA ---------- */

.page-products .cat-cta {
  padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 112px);
}

.page-products .cat-cta__inner {
  display: grid;
  gap: 24px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(115deg, rgba(61, 227, 206, .10), rgba(124, 92, 255, .14) 58%, rgba(255, 138, 61, .10));
}

.page-products .cat-cta__text h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-products .cat-cta__text p {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--dust);
}

.page-products .cat-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsive ---------- */

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

@media (min-width: 900px) {
  .page-products .cat-hero__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
    align-items: end;
  }

  .page-products .cat-split__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-products .cat-split__grid--offset > .cat-split__col:last-child {
    margin-top: clamp(36px, 5vw, 76px);
  }

  .page-products .cat-data {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-products .cat-paths {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    align-items: start;
  }

  .page-products .cat-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .page-products .cat-cta__links {
    justify-content: flex-end;
  }
}

@media (max-width: 520px) {
  .page-products .cat-paths__figure {
    max-width: 260px;
  }

  .page-products .cat-hero__actions .btn,
  .page-products .cat-cta__links .btn {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .cat-type,
  .page-products .cat-card,
  .page-products .cat-path {
    transition: none;
  }
}
