.page-products {
  background: var(--ink);
  color: var(--warm);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-products .breadcrumb {
  padding-top: 18px;
  padding-bottom: 10px;
}

/* ---------- Hero ---------- */
.page-products .tool-hero {
  position: relative;
  overflow: hidden;
  padding: 4px 0 48px;
  background:
    radial-gradient(120% 90% at 6% -20%, rgba(46, 242, 208, 0.16), transparent 62%),
    radial-gradient(90% 80% at 102% 4%, rgba(255, 122, 26, 0.14), transparent 66%),
    var(--ink);
}

.page-products .tool-hero::after {
  content: "";
  position: absolute;
  left: 26%;
  right: -14%;
  bottom: -30%;
  height: 62%;
  background: linear-gradient(135deg, rgba(255, 122, 26, 0.16), rgba(46, 242, 208, 0.05));
  transform: skewY(-8deg);
  pointer-events: none;
}

.page-products .tool-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: start;
}

.page-products .hero-copy h1 {
  margin: 12px 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 7.6vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--warm);
}

.page-products .hero-copy h1 .hl {
  color: var(--cyan);
  position: relative;
  white-space: nowrap;
}

.page-products .hero-copy h1 .hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 6px;
  background: var(--orange);
  opacity: 0.75;
  z-index: -1;
}

.page-products .hero-lede {
  margin: 0 0 22px;
  max-width: 40em;
  font-size: 16px;
  line-height: 1.78;
  color: var(--fog);
}

.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-products .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
}

.page-products .stat {
  background: var(--ink-2);
  border: 2px solid var(--steel);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.page-products .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(20px, 5.4vw, 28px);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-products .stat-label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: var(--fog);
}

.page-products .hero-figure {
  margin: 0;
  border: 3px solid var(--steel);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
  background: var(--ink-2);
}

.page-products .hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-products .hero-figure figcaption {
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--fog);
  border-top: 2px solid var(--steel);
  background: var(--ink-2);
}

/* ---------- Section basics ---------- */
.page-products .section {
  padding: 48px 0;
  border-top: 2px solid var(--line);
}

.page-products .section-head,
.page-products .tool-index .section-head,
.page-products .board .section-head,
.page-products .scenarios .section-head,
.page-products .compat-main {
  max-width: 100%;
}

.page-products .section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 5.4vw, 38px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 8px 0 12px;
  color: var(--warm);
}

.page-products .section-note {
  margin: 0;
  max-width: 46em;
  font-size: 15px;
  line-height: 1.78;
  color: var(--fog);
}

/* ---------- Tool index cards ---------- */
.page-products .index-cards {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.page-products .tool-card {
  position: relative;
  padding: 22px 20px 20px;
  background: var(--ink-2);
  border: 3px solid var(--steel);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard);
}

.page-products .tool-card--feature {
  background:
    linear-gradient(158deg, rgba(46, 242, 208, 0.13), transparent 58%),
    var(--ink-2);
  border-color: rgba(46, 242, 208, 0.55);
}

.page-products .tool-card--warn {
  background:
    linear-gradient(158deg, rgba(255, 122, 26, 0.12), transparent 58%),
    var(--ink-2);
  border-color: rgba(255, 122, 26, 0.45);
}

.page-products .card-idx {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--steel);
  letter-spacing: -0.02em;
}

.page-products .tool-card .card-title {
  margin: 0 0 10px;
  padding-right: 46px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  line-height: 1.34;
  color: var(--warm);
}

.page-products .tool-card .card-text {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--fog);
}

.page-products .card-points {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 7px;
}

.page-products .card-points li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--warm);
  opacity: 0.86;
}

.page-products .card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  transform: rotate(45deg);
}

.page-products .tool-card--warn .card-points li::before {
  background: var(--orange);
}

/* ---------- Timeline ---------- */
.page-products .timeline-grid {
  display: grid;
  gap: 28px;
}

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

.page-products .tl-item {
  border-bottom: 1px dashed var(--line-soft);
}

.page-products .tl-item:first-child {
  border-top: 1px dashed var(--line-soft);
}

.page-products .tl-item summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 15px 0;
  cursor: pointer;
  list-style: none;
}

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

.page-products .tl-item summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--cyan);
}

.page-products .tl-item details[open] > summary::after {
  content: "−";
}

.page-products .tl-id {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--orange);
  border: 1px solid rgba(255, 122, 26, 0.5);
  border-radius: var(--radius-sm);
  padding: 3px 7px;
}

.page-products .tl-title {
  flex: 1 1 12em;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--warm);
}

.page-products .tl-item details > p {
  margin: 0 0 16px;
  padding-left: 2px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--fog);
  max-width: 44em;
}

.page-products .subscribe-strip {
  margin-top: 26px;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 2px solid var(--steel);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-md);
  background: var(--ink-2);
}

.page-products .subscribe-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  color: var(--warm);
}

.page-products .subscribe-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--fog);
}

.page-products .timeline-aside,
.page-products .compat-aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-products .aside-figure {
  margin: 0;
  border: 3px solid var(--steel);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-hard);
  background: var(--ink-2);
}

.page-products .aside-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-products .timeline-aside .aside-figure img {
  aspect-ratio: 3 / 4;
}

.page-products .card--accent {
  padding: 18px;
  background: var(--ink-2);
  border: 3px solid rgba(255, 122, 26, 0.55);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.page-products .card--accent .card-title,
.page-products .compat-aside .card .card-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  color: var(--warm);
}

.page-products .mini-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .mini-steps li {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--fog);
}

.page-products .mini-num {
  display: inline-block;
  min-width: 20px;
  margin-right: 6px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--orange);
}

/* ---------- ALP2 board ---------- */
.page-products .board {
  background:
    radial-gradient(120% 100% at 90% 0%, rgba(46, 242, 208, 0.09), transparent 60%),
    var(--ink);
}

.page-products .board-shell {
  position: relative;
  margin-top: 26px;
  padding: 18px;
  background: var(--ink-2);
  border: 3px solid var(--steel);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard);
}

.page-products .board-figure {
  margin: 0 0 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--line);
}

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

.page-products .board-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-products .board-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.page-products .board-tab {
  display: inline-block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fog);
  background: var(--ink);
  border: 2px solid var(--steel);
  border-radius: var(--radius-sm);
  cursor: pointer;
  user-select: none;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.page-products .board-tab:hover {
  border-color: var(--cyan);
  color: var(--warm);
}

.page-products .board-shell:has(.board-radio:focus-visible) .board-tab {
  outline: 2px dashed var(--cyan);
  outline-offset: 3px;
}

.page-products .board-shell:has(#board-all:checked) label[for="board-all"],
.page-products .board-shell:has(#board-football:checked) label[for="board-football"],
.page-products .board-shell:has(#board-basketball:checked) label[for="board-basketball"],
.page-products .board-shell:has(#board-tennis:checked) label[for="board-tennis"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
  font-weight: 700;
}

.page-products .board-shell:has(#board-football:checked) .board-row:not([data-league="football"]),
.page-products .board-shell:has(#board-basketball:checked) .board-row:not([data-league="basketball"]),
.page-products .board-shell:has(#board-tennis:checked) .board-row:not([data-league="tennis"]) {
  display: none;
}

.page-products .board-head {
  display: none;
}

.page-products .board-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-soft);
}

.page-products .board-row:first-child {
  border-top: 1px solid var(--line-soft);
}

.page-products .cell {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--warm);
}

.page-products .cell-k {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fog);
  text-transform: none;
}

.page-products .cell-rank {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--cyan);
}

.page-products .board-hint {
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--fog);
  border-left: 3px solid var(--orange);
  padding-left: 10px;
}

/* ---------- Compat ---------- */
.page-products .compat-grid {
  display: grid;
  gap: 26px;
}

.page-products .steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .step {
  background: var(--ink-2);
  border: 2px solid var(--steel);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-products .step:has(details[open]) {
  border-color: rgba(46, 242, 208, 0.5);
  box-shadow: 4px 4px 0 rgba(3, 7, 13, 0.6);
}

.page-products .step summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  cursor: pointer;
  list-style: none;
}

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

.page-products .step-num {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--orange);
}

.page-products .step-name {
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 500;
  color: var(--warm);
}

.page-products .step details > p {
  margin: 0;
  padding: 0 14px 15px;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--fog);
}

.page-products .problem-board {
  margin-top: 24px;
  padding: 18px;
  background: var(--ink-2);
  border: 2px solid var(--steel);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-md);
}

.page-products .problem-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  color: var(--warm);
}

.page-products .problem-chips {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .problem-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--fog);
}

.page-products .compat-aside .card {
  padding: 18px;
  background: var(--ink-2);
  border: 2px solid var(--steel);
  border-radius: var(--radius-md);
}

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

.page-products .plain-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--warm);
}

.page-products .plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--cyan);
  border-radius: 2px;
}

/* ---------- V4 ---------- */
.page-products .v4 {
  background:
    linear-gradient(200deg, rgba(46, 242, 208, 0.07), transparent 45%),
    var(--ink);
}

.page-products .v4-body {
  display: grid;
  gap: 20px;
  margin-top: 26px;
}

.page-products .v4-figure {
  margin: 0;
  border: 3px solid var(--steel);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-hard);
}

.page-products .v4-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 7;
  object-fit: cover;
}

.page-products .v4-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}

.page-products .v4-versions {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  border-top: 2px solid var(--line);
}

.page-products .v4-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line-soft);
}

.page-products .v4-ver {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--fog);
}

.page-products .v4-row--now .v4-ver {
  color: var(--cyan);
}

.page-products .v4-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--warm);
  opacity: 0.88;
}

/* ---------- Scenarios ---------- */
.page-products .scenario-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.page-products .scenario {
  padding: 18px;
  background: var(--ink-2);
  border: 2px solid var(--steel);
  border-radius: var(--radius-md);
  transition: border-color 200ms ease, transform 200ms ease;
}

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

.page-products .scenario-key {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--cyan);
  border-radius: 2px;
}

.page-products .scenario .card-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  line-height: 1.4;
  color: var(--warm);
}

.page-products .scenario .card-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--fog);
}

.page-products .cadence {
  margin-top: 26px;
  padding: 20px;
  background: var(--ink-2);
  border: 3px solid var(--steel);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard);
}

.page-products .cadence-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  color: var(--warm);
}

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

.page-products .cadence-list li {
  display: grid;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--fog);
}

.page-products .cadence-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.page-products .cadence-key {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--cyan);
}

.page-products .next-links {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 2px solid var(--line);
}

.page-products .next-title {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--fog);
}

.page-products .next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Tablet ---------- */
@media (min-width: 680px) {
  .page-products .tool-hero {
    padding-bottom: 58px;
  }

  .page-products .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .page-products .v4-meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  .page-products .tool-hero {
    padding-bottom: 72px;
  }

  .page-products .tool-hero-inner {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: 36px;
    align-items: start;
  }

  .page-products .hero-figure {
    transform: translateY(10px);
  }

  .page-products .section {
    padding: 66px 0;
  }

  .page-products .index-cards {
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
    grid-template-rows: auto auto;
  }

  .page-products .tool-card--feature {
    grid-row: span 2;
    padding: 28px 26px;
  }

  .page-products .tool-card--feature .card-title {
    font-size: 24px;
    max-width: 14em;
  }

  .page-products .tool-card--feature .card-text {
    font-size: 15.5px;
  }

  .page-products .timeline-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
    gap: 40px;
    align-items: start;
  }

  .page-products .compat-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr);
    gap: 40px;
    align-items: start;
  }

  .page-products .board-shell {
    padding: 24px;
  }

  .page-products .board-head {
    display: grid;
    grid-template-columns: 1.5fr 1.3fr 0.8fr 1fr 0.7fr;
    gap: 12px;
    padding: 0 8px 10px;
    border-bottom: 2px solid var(--steel);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--fog);
  }

  .page-products .board-row {
    grid-template-columns: 1.5fr 1.3fr 0.8fr 1fr 0.7fr;
    align-items: center;
    gap: 12px;
    padding: 12px 8px;
  }

  .page-products .cell-k {
    display: none;
  }

  .page-products .cell {
    font-size: 14px;
  }

  .page-products .v4-body {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 28px;
    align-items: start;
  }

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

  .page-products .scenario-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .scenario,
  .page-products .board-tab {
    transition: none;
  }

  .page-products .scenario:hover {
    transform: none;
  }
}
<<<END>>>
