.page-products {
  --cat-space: clamp(52px, 8vw, 112px);
  --cat-gap: clamp(18px, 3vw, 32px);
  --cat-flare-deep: #C63E14;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  overflow-x: clip;
}

.page-products a {
  color: inherit;
  text-decoration-color: rgba(255, 90, 42, .55);
  text-underline-offset: 3px;
}

.page-products a:hover {
  color: var(--flare);
}

.page-products .cat-h1,
.page-products .chapter-title,
.page-products .step-title {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.16;
}

/* hero */
.page-products .cat-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(26px, 4vw, 52px) 0 var(--cat-space);
  border-bottom: var(--hairline);
  background:
    radial-gradient(1100px 560px at 8% -10%, rgba(28, 107, 74, .5), transparent 62%),
    radial-gradient(900px 520px at 96% 12%, rgba(255, 90, 42, .22), transparent 64%),
    var(--ink);
}

.page-products .cat-hero-fig {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}

.page-products .cat-hero-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
  filter: grayscale(.4) contrast(1.06);
}

.page-products .cat-hero-inner {
  position: relative;
  z-index: 1;
}

.page-products .cat-hero .crumbs {
  margin-bottom: clamp(22px, 3vw, 34px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
}

.page-products .cat-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--steel);
}

.page-products .cat-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--flare);
  box-shadow: 0 0 0 4px rgba(255, 90, 42, .18);
}

.page-products .cat-h1 {
  margin: 0 0 20px;
  font-size: clamp(33px, 7.4vw, 66px);
  max-width: 20em;
}

.page-products .cat-lead {
  max-width: 64ch;
  margin: 0 0 28px;
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(244, 241, 232, .84);
}

.page-products .cat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .cat-quick li {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  padding: 8px 18px;
  border: var(--hairline-strong);
  border-radius: var(--r-pill);
  background: rgba(14, 20, 18, .6);
  font-size: 13px;
  color: var(--steel);
}

.page-products .cat-quick .num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 17px;
  color: var(--flare);
  letter-spacing: .02em;
}

/* sections */
.page-products .cat-sec {
  padding: var(--cat-space) 0;
  border-top: var(--hairline);
}

.page-products .cat-sec--paper {
  background: var(--paper);
  color: #1B211F;
  border-top-color: rgba(102, 115, 111, .55);
}

.page-products .cat-sec--paper .chapter-title {
  color: #0E1412;
}

.page-products .cat-sec--paper .chapter-index {
  color: var(--turf);
}

.page-products .cat-intro {
  max-width: 70ch;
  margin: 0 0 var(--cat-gap);
  color: rgba(244, 241, 232, .82);
}

.page-products .cat-sec--paper .cat-intro--paper {
  color: #333B39;
}

.page-products .cat-sec--paper a {
  color: #174F38;
  text-decoration-color: rgba(23, 79, 56, .5);
}

.page-products .cat-sec--paper a:hover {
  color: var(--cat-flare-deep);
}

/* filter */
.page-products .cat-switch {
  position: relative;
}

.page-products .cat-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  clip-path: inset(50%);
  pointer-events: none;
}

.page-products .chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--cat-gap);
}

.page-products .chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  border: var(--hairline-strong);
  border-radius: var(--r-pill);
  font-size: 14px;
  color: var(--steel);
  cursor: pointer;
  user-select: none;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.page-products .chip:hover {
  background: var(--panel);
  color: var(--paper);
}

.page-products #lg-all:checked ~ .chip-row label[for="lg-all"],
.page-products #lg-football:checked ~ .chip-row label[for="lg-football"],
.page-products #lg-basketball:checked ~ .chip-row label[for="lg-basketball"] {
  background: var(--flare);
  border-color: transparent;
  color: #08150F;
  font-weight: 700;
}

.page-products #lg-all:focus-visible ~ .chip-row label[for="lg-all"],
.page-products #lg-football:focus-visible ~ .chip-row label[for="lg-football"],
.page-products #lg-basketball:focus-visible ~ .chip-row label[for="lg-basketball"] {
  outline: 2px solid var(--steel);
  outline-offset: 3px;
}

.page-products #lg-football:checked ~ .cat-body [data-league="basketball"],
.page-products #lg-basketball:checked ~ .cat-body [data-league="football"] {
  display: none;
}

/* figures */
.page-products .cat-fig {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: var(--hairline);
  border-radius: var(--r-md);
  background: var(--carbon);
}

.page-products .cat-fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-products .cat-fig--side img,
.page-products .cat-fig--free img {
  aspect-ratio: 4 / 3;
}

.page-products .cat-fig figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 11px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .09em;
  color: var(--paper);
  background: linear-gradient(to top, rgba(7, 28, 22, .92), rgba(7, 28, 22, 0));
}

.page-products .cat-figs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: var(--cat-gap);
}

/* tables */
.page-products .table-scroll {
  overflow-x: auto;
  border-top: var(--hairline-strong);
  border-bottom: var(--hairline);
  -webkit-overflow-scrolling: touch;
}

.page-products .cat-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
}

.page-products .cat-caption {
  caption-side: top;
  padding: 0 0 10px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .09em;
  color: var(--steel);
}

.page-products .cat-table th {
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  white-space: nowrap;
  background: var(--panel);
  color: var(--steel);
}

.page-products .cat-table td {
  padding: 14px 16px;
  vertical-align: top;
  border-top: var(--hairline);
  color: rgba(244, 241, 232, .84);
}

.page-products .cat-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, .028);
}

.page-products .cat-table tbody tr:hover td {
  background: rgba(255, 90, 42, .12);
  color: var(--paper);
}

.page-products .cat-table tbody tr:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: -2px;
}

.page-products .cat-table td:first-child {
  color: var(--paper);
  font-weight: 600;
  white-space: nowrap;
}

.page-products .cat-league {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
}

.page-products .cat-league--fb {
  background: rgba(28, 107, 74, .3);
  color: #9FE0BE;
}

.page-products .cat-league--bb {
  background: rgba(183, 195, 192, .16);
  color: var(--steel);
}

.page-products .price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(20px, 3.4vw, 28px);
  letter-spacing: -.01em;
  color: var(--flare);
  white-space: nowrap;
}

.page-products .cat-sec--paper .cat-table th {
  background: var(--panel);
  color: var(--paper);
}

.page-products .cat-sec--paper .cat-table td {
  color: #2A302E;
  border-top-color: rgba(102, 115, 111, .32);
}

.page-products .cat-sec--paper .cat-table td:first-child {
  color: #0E1412;
}

.page-products .cat-sec--paper .cat-table tbody tr:nth-child(even) td {
  background: rgba(7, 28, 22, .045);
}

.page-products .cat-sec--paper .cat-table tbody tr:hover td {
  background: rgba(255, 90, 42, .16);
  color: #0E1412;
}

.page-products .cat-sec--paper .cat-caption {
  color: #4C5C58;
}

.page-products .cat-sec--paper .price {
  color: var(--cat-flare-deep);
}

.page-products .cat-note {
  margin: var(--cat-gap) 0 0;
  font-size: 14px;
  color: rgba(244, 241, 232, .66);
  max-width: 72ch;
}

/* fee layout */
.page-products .cat-fee-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--cat-gap);
}

/* folds */
.page-products .fold {
  margin-top: 6px;
  border-top: var(--hairline);
}

.page-products .fold:last-of-type {
  border-bottom: var(--hairline);
}

.page-products .fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.page-products .fold summary::-webkit-details-marker {
  display: none;
}

.page-products .fold summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--flare);
}

.page-products .fold[open] summary::after {
  content: "−";
}

.page-products .fold summary:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 3px;
}

.page-products .fold p {
  margin: 0 0 16px;
  max-width: 72ch;
  font-size: 15px;
  opacity: .86;
}

.page-products .cat-sec--paper .fold summary::after {
  color: var(--cat-flare-deep);
}

/* free band */
.page-products .cat-sec--free {
  background:
    radial-gradient(760px 380px at 84% 8%, rgba(243, 196, 61, .14), transparent 68%),
    radial-gradient(620px 340px at 4% 92%, rgba(28, 107, 74, .3), transparent 70%),
    var(--carbon);
}

.page-products .cat-free {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--cat-gap);
  align-items: center;
}

.page-products .cat-free-text p {
  max-width: 64ch;
  margin: 0 0 16px;
  color: rgba(244, 241, 232, .82);
}

.page-products .cat-free-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-products .cat-free-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  padding-top: 10px;
  border-top: var(--hairline);
  font-size: 14px;
  color: rgba(244, 241, 232, .72);
}

.page-products .cat-free-key {
  min-width: 64px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--signal);
}

/* path */
.page-products .cat-path-svg {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 var(--cat-gap);
}

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

.page-products .step {
  border-top: var(--hairline-strong);
  padding-top: 16px;
}

.page-products .step-index {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--flare);
}

.page-products .step-title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 22px);
}

.page-products .step p {
  margin: 0;
  max-width: 60ch;
  font-size: 15px;
  color: rgba(244, 241, 232, .8);
}

.page-products .cat-tail {
  margin-top: var(--cat-space);
  padding-top: var(--cat-gap);
  border-top: var(--hairline-strong);
}

.page-products .cat-tail-text {
  max-width: 66ch;
  margin: 0 0 18px;
  color: rgba(244, 241, 232, .78);
}

.page-products .cat-tail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

@media (min-width: 560px) {
  .page-products .cat-figs {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 760px) {
  .page-products .cat-steps {
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 48px);
  }

  .page-products .cat-table {
    min-width: 0;
  }
}

@media (min-width: 860px) {
  .page-products .cat-free {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(26px, 4vw, 56px);
  }
}

@media (min-width: 900px) {
  .page-products .cat-fee-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(26px, 4vw, 56px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .chip {
    transition: none;
  }
}
