.page-products {
  --prod-rail: 230px;
  --prod-gap: clamp(24px, 4vw, 48px);
  --prod-line: rgba(143, 163, 184, 0.22);
  --prod-panel: #102433;
  background: var(--c-ink);
  color: var(--c-paper);
  overflow-x: clip;
}

.page-products * {
  box-sizing: border-box;
}

.page-products .products-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 7vw, 96px) 0 clamp(38px, 6vw, 72px);
  border-bottom: 1px solid var(--prod-line);
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 229, 255, 0.18), transparent 34%),
    radial-gradient(circle at 12% 0%, rgba(255, 90, 31, 0.16), transparent 30%),
    linear-gradient(155deg, #0b1b2b 0%, #0d2733 52%, #0b1b2b 100%);
}

.page-products .products-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(143, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.page-products .products-hero::after {
  content: "05";
  position: absolute;
  right: clamp(6px, 2vw, 24px);
  bottom: -0.14em;
  font-family: var(--font-mono);
  font-size: clamp(7rem, 24vw, 22rem);
  line-height: 0.72;
  letter-spacing: -0.08em;
  color: rgba(244, 247, 250, 0.035);
  pointer-events: none;
}

.page-products .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
}

.page-products .hero-copy {
  min-width: 0;
}

.page-products .hero-accent {
  color: var(--c-orange);
}

.page-products .hero-lead {
  max-width: 62ch;
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.85;
  color: var(--c-paper);
}

.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-products .hero-score {
  position: relative;
  padding: 20px;
  border: 1px solid var(--prod-line);
  background: rgba(11, 27, 43, 0.72);
  backdrop-filter: blur(6px);
}

.page-products .hero-score::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 56px;
  height: 3px;
  background: var(--c-orange);
}

.page-products .score-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--c-cyan);
}

.page-products .status-dot,
.page-products .pulse-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-lime);
  box-shadow: 0 0 12px rgba(198, 255, 0, 0.8);
}

.page-products .status-dot {
  animation: prod-pulse 2.4s ease-in-out infinite;
}

.page-products .hero-stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--prod-line);
}

.page-products .hero-stat .num {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  line-height: 1;
  color: var(--c-cyan);
}

.page-products .hero-stat span:last-child {
  color: var(--c-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.page-products .score-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--prod-line);
  color: var(--c-muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.page-products .breadcrumb {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-muted);
}

.page-products .breadcrumb a {
  color: var(--c-muted);
  text-decoration: none;
}

.page-products .breadcrumb a:hover {
  color: var(--c-cyan);
}

.page-products .products-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--prod-gap);
  align-items: start;
  padding: clamp(32px, 5vw, 56px) 0 0;
}

.page-products .products-stream {
  min-width: 0;
}

.page-products .league-rail {
  position: relative;
  padding: 20px;
  border: 1px solid var(--prod-line);
  background: linear-gradient(180deg, rgba(14, 42, 46, 0.88), rgba(11, 27, 43, 0.94));
}

.page-products .league-rail::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-cyan), transparent);
}

.page-products .rail-head {
  margin-bottom: 16px;
}

.page-products .rail-label {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--c-cyan);
}

.page-products .rail-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: -0.01em;
}

.page-products .rail-desc {
  margin: 8px 0 0;
  color: var(--c-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.page-products .league-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .league-item {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--prod-line);
  font-size: 0.88rem;
}

.page-products .league-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.1);
}

.page-products .league-item:nth-child(2) .league-dot {
  background: var(--c-orange);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.12);
}

.page-products .league-item:nth-child(3) .league-dot {
  background: var(--c-lime);
  box-shadow: 0 0 0 4px rgba(198, 255, 0, 0.1);
}

.page-products .league-item:nth-child(4) .league-dot {
  background: #b48cff;
  box-shadow: 0 0 0 4px rgba(180, 140, 255, 0.12);
}

.page-products .league-item:nth-child(5) .league-dot {
  background: #ff7a9c;
  box-shadow: 0 0 0 4px rgba(255, 122, 156, 0.12);
}

.page-products .league-state {
  padding: 2px 5px;
  border: 1px solid rgba(198, 255, 0, 0.35);
  color: var(--c-lime);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  white-space: nowrap;
}

.page-products .rail-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--prod-line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-cyan);
}

.page-products .rail-note {
  margin: 6px 0 14px;
  color: var(--c-muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.page-products .rail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--c-orange);
  color: var(--c-paper);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-decoration: none;
}

.page-products .rail-link:hover {
  color: var(--c-orange);
}

.page-products .catalog-section {
  position: relative;
  padding: clamp(44px, 6.5vw, 80px) 0;
  border-bottom: 1px solid var(--prod-line);
}

.page-products .catalog-section--preview {
  background: linear-gradient(180deg, rgba(14, 42, 46, 0.55), transparent 55%);
}

.page-products .section-head {
  max-width: 740px;
  margin-bottom: 28px;
}

.page-products .section-head h2,
.page-products .preview-copy h2,
.page-products .member-copy h2 {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.page-products .section-head p {
  margin: 0;
  color: var(--c-muted);
  line-height: 1.8;
}

.page-products .subscribe-grid {
  display: grid;
  gap: 28px;
}

.page-products .subscribe-copy {
  min-width: 0;
}

.page-products .subscribe-copy p {
  margin-top: 0;
  line-height: 1.85;
}

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

.page-products .check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--c-paper);
  font-size: 0.94rem;
  line-height: 1.7;
}

.page-products .check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--c-lime);
  font-family: var(--font-mono);
  font-weight: 700;
}

.page-products .link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.4);
  color: var(--c-cyan);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-decoration: none;
}

.page-products .link-more:hover {
  color: var(--c-orange);
  border-color: var(--c-orange);
}

.page-products .product-shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--prod-line);
  background: #0e2230;
}

.page-products .product-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(11, 27, 43, 0.55));
}

.page-products .product-shot img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-products .product-shot figcaption {
  position: relative;
  z-index: 1;
  padding: 10px 14px;
  border-top: 1px solid var(--prod-line);
  color: var(--c-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.5;
}

.page-products .product-shot--wide {
  width: 100%;
}

.page-products .product-shot--phone {
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
}

.page-products .product-shot--member {
  border-color: rgba(255, 90, 31, 0.35);
}

.page-products .audience-note {
  margin: 24px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--c-orange);
  background: rgba(255, 90, 31, 0.07);
  color: var(--c-paper);
  font-size: 0.92rem;
  line-height: 1.7;
}

.page-products .device-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.page-products .device-tab {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid var(--prod-line);
  background: rgba(14, 42, 46, 0.4);
  color: var(--c-paper);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-products .device-tab:hover,
.page-products .device-tab:focus-visible {
  border-color: var(--c-cyan);
  background: rgba(0, 229, 255, 0.07);
  color: var(--c-cyan);
}

.page-products .device-panel {
  display: grid;
  gap: 24px;
  padding: clamp(20px, 3.5vw, 34px);
  border: 1px solid var(--prod-line);
  background: linear-gradient(135deg, rgba(14, 42, 46, 0.72), rgba(11, 27, 43, 0.9));
  scroll-margin-top: calc(var(--topbar-h) + 24px);
}

.page-products .device-panel + .device-panel {
  margin-top: 16px;
}

.page-products .device-panel:target {
  border-color: var(--c-cyan);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.22), 0 24px 60px rgba(0, 0, 0, 0.2);
}

.page-products .device-copy {
  min-width: 0;
}

.page-products .device-copy h3 {
  margin: 12px 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.page-products .device-copy p {
  color: var(--c-paper);
  font-size: 0.94rem;
  line-height: 1.8;
}

.page-products .device-copy .check-list {
  margin-top: 16px;
}

.page-products .preview-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-products .preview-copy {
  min-width: 0;
}

.page-products .preview-copy p {
  line-height: 1.85;
}

.page-products .preview-list {
  display: grid;
  gap: 11px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .preview-list li {
  display: flex;
  gap: 10px;
  color: var(--c-paper);
  font-size: 0.93rem;
  line-height: 1.7;
}

.page-products .preview-list li::before {
  content: "//";
  flex: none;
  padding-top: 0.2em;
  color: var(--c-orange);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.page-products .member-section {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6.5vw, 80px) 0;
  border-bottom: 1px solid var(--prod-line);
  background: linear-gradient(135deg, var(--c-ink-3) 0%, #241640 55%, var(--c-ink) 100%);
  scroll-margin-top: calc(var(--topbar-h) + 24px);
}

.page-products .member-section::before {
  content: "";
  position: absolute;
  right: -18%;
  top: -40%;
  width: 70%;
  height: 180%;
  background: rgba(255, 90, 31, 0.07);
  transform: rotate(-14deg);
  pointer-events: none;
}

.page-products .member-section:target {
  outline: 2px solid var(--c-orange);
  outline-offset: 8px;
}

.page-products .member-glow {
  position: absolute;
  right: -120px;
  top: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.page-products .member-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 30px;
  align-items: center;
}

.page-products .member-copy {
  min-width: 0;
}

.page-products .member-copy p {
  line-height: 1.85;
}

.page-products .member-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  background: var(--c-orange);
  color: var(--c-ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transform: rotate(-2deg);
}

.page-products .member-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.page-products .member-actions .link-more {
  margin-top: 0;
}

.page-products .path-section {
  padding: clamp(44px, 6.5vw, 80px) 0 clamp(54px, 7vw, 90px);
  background:
    radial-gradient(circle at 18% 28%, rgba(0, 229, 255, 0.08), transparent 38%),
    var(--c-ink);
  scroll-margin-top: calc(var(--topbar-h) + 24px);
}

.page-products .path-tree {
  position: relative;
  margin-top: 28px;
}

.page-products .path-lines {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -10px;
  opacity: 0.9;
}

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

.page-products .path-step {
  min-width: 0;
}

.page-products .path-step details {
  height: 100%;
  border: 1px solid var(--prod-line);
  background: rgba(14, 42, 46, 0.52);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-products .path-step details[open] {
  border-color: var(--c-cyan);
  background: rgba(0, 229, 255, 0.055);
}

.page-products .path-step summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px;
  cursor: pointer;
  list-style: none;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
}

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

.page-products .path-step p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--c-muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.page-products .step-index {
  flex: none;
  color: var(--c-orange);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.page-products a:focus-visible,
.page-products summary:focus-visible {
  outline: 2px solid var(--c-orange);
  outline-offset: 3px;
}

@keyframes prod-pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(198, 255, 0, 0.3);
  }
  50% {
    opacity: 0.65;
    box-shadow: 0 0 0 6px rgba(198, 255, 0, 0);
  }
}

@media (min-width: 560px) {
  .page-products .path-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .page-products .subscribe-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }
}

@media (min-width: 800px) {
  .page-products .device-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
  }

  .page-products .device-panel--mobile {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}

@media (min-width: 820px) {
  .page-products .preview-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }
}

@media (min-width: 860px) {
  .page-products .member-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

@media (min-width: 900px) {
  .page-products .hero-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
    align-items: end;
  }
}

@media (min-width: 980px) {
  .page-products .path-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .page-products .products-layout {
    grid-template-columns: var(--prod-rail) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
  }

  .page-products .league-rail {
    position: sticky;
    top: calc(var(--topbar-h) + 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products *,
  .page-products *::before,
  .page-products *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
