.page-products {
  --pv-gap: 32px;
  --pv-cut: 16px;
  background: var(--bg);
  color: var(--cream);
  overflow: hidden;
}

.page-products .services-hero {
  position: relative;
  padding: 24px 0 52px;
  background: linear-gradient(115deg, var(--bg-deep) 0%, var(--bg) 60%, rgba(255, 107, 53, 0.16) 100%);
  border-bottom: 1px solid rgba(192, 197, 209, 0.25);
}

.page-products .services-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -140px;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, transparent 35%, rgba(255, 107, 53, 0.28) 100%);
  transform: rotate(18deg);
  pointer-events: none;
}

.page-products .hero-shell,
.page-products .band-shell {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.page-products .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--silver);
}

.page-products .breadcrumbs a {
  color: var(--silver);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.page-products .hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-top: 36px;
}

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

.page-products .hero-kicker {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 18px;
}

.page-products .hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 8vw, 84px);
  line-height: 0.96;
  letter-spacing: 1px;
  margin: 0 0 10px;
}

.page-products .hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 28px);
  color: var(--silver);
  margin: 0 0 20px;
}

.page-products .hero-lead {
  max-width: 620px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(245, 240, 230, 0.82);
  margin: 0 0 24px;
}

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

.page-products .hero-tags .tag {
  border: 1px solid rgba(192, 197, 209, 0.42);
  color: var(--cream);
  padding: 8px 14px;
  font-size: 13px;
  font-family: var(--font-mono);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-products .hero-tags .tag.is-active,
.page-products .hero-tags .tag:hover {
  background: var(--accent);
  color: var(--bg-deep);
  border-color: var(--accent);
}

.page-products .hero-panel {
  background: var(--accent);
  color: var(--bg-deep);
  padding: 20px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 220px;
}

.page-products .hero-panel-index {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  display: block;
}

.page-products .hero-panel-title {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 8px 0 0;
}

.page-products .hero-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-products .hero-panel-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(7, 26, 58, 0.3);
  padding: 5px 0;
}

.page-products .hero-panel-list li::before {
  content: attr(data-num);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  opacity: 0.8;
}

.page-products .hero-panel-list a {
  color: var(--bg-deep);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  flex: 1;
}

.page-products .service-band {
  position: relative;
  padding: 56px 0 64px;
  border-bottom: 1px solid rgba(192, 197, 209, 0.16);
}

.page-products .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin-bottom: 32px;
  position: relative;
}

.page-products .section-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--silver) 0%, rgba(192, 197, 209, 0.14) 60%, transparent 100%);
}

.page-products .section-index {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 8px;
}

.page-products .section-head h2 {
  font-family: var(--font-display);
  font-size: 32px;
  margin: 0;
  letter-spacing: 0.5px;
  color: var(--cream);
}

.page-products .section-tagline {
  margin: 0;
  font-size: 15px;
  font-family: var(--font-mono);
  color: var(--silver);
}

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

.page-products .feature-list li {
  position: relative;
  padding-left: 26px;
}

.page-products .feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}

.page-products .membership-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.page-products .section-panel {
  background: var(--cream);
  color: var(--ink);
  padding: 28px 24px;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.page-products .membership-copy h3 {
  font-family: var(--font-display);
  font-size: 26px;
  margin: 0 0 14px;
}

.page-products .membership-copy p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 8px;
}

.page-products .membership-visual {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.page-products .league-switcher {
  width: 100%;
  max-width: 480px;
  background: var(--bg-deep);
  border: 1px solid rgba(192, 197, 209, 0.35);
  padding: 16px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.page-products .league-detail-toggle summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  list-style: none;
  padding: 4px 0 10px;
}

.page-products .league-detail-toggle summary::-webkit-details-marker {
  display: none;
}

.page-products .league-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.page-products .league-tab {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 5px 10px;
  border: 1px solid rgba(192, 197, 209, 0.5);
  color: var(--silver);
  border-radius: 4px;
}

.page-products .league-tab.is-current {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-deep);
  font-weight: 700;
}

.page-products .league-detail-info {
  font-size: 14px;
  color: var(--silver);
  line-height: 1.6;
  margin: 12px 0 4px;
}

.page-products .league-detail-meta {
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 12px;
  margin: 0;
}

.page-products .phone-frame {
  position: relative;
  max-width: 300px;
  width: 100%;
  border: 10px solid var(--silver);
  border-radius: 28px;
  overflow: hidden;
  transform: rotate(1.6deg);
  box-shadow: 0 24px 48px rgba(7, 26, 58, 0.5);
}

.page-products .phone-frame::before {
  content: "";
  position: absolute;
  width: 40%;
  height: 24px;
  left: 30%;
  top: 4px;
  background: var(--silver);
  border-radius: 12px;
  z-index: 2;
}

.page-products .phone-frame::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 18px;
  height: 18px;
  background: var(--neon);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.7);
}

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

.page-products .mobile-guide-band {
  background: var(--cream);
  color: var(--ink);
  border-bottom: none;
}

.page-products .mobile-guide-band .section-head h2,
.page-products .sync-band .section-head h2 {
  color: var(--ink);
}

.page-products .mobile-guide-band .section-tagline,
.page-products .sync-band .section-tagline {
  color: var(--rock);
}

.page-products .mobile-guide-band .section-head::after,
.page-products .sync-band .section-head::after {
  background: linear-gradient(90deg, var(--rock) 0%, rgba(138, 141, 145, 0.25) 80%, transparent 100%);
}

.page-products .guide-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-products .guide-copy {
  font-size: 16px;
  line-height: 1.8;
}

.page-products .step-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin: 20px 0;
  display: grid;
  gap: 12px;
}

.page-products .step-list li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 48px;
  min-height: 32px;
  font-weight: 600;
}

.page-products .step-list li::before {
  content: counter(step-counter, decimal-leading-zero);
  font-family: var(--font-mono);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 28px;
  background: var(--accent);
  color: var(--bg-deep);
  display: grid;
  place-items: center;
  font-weight: 800;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}

.page-products .guide-demo {
  min-width: 0;
}

.page-products .orientation-detail summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  cursor: pointer;
  padding: 8px 0;
  list-style: none;
}

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

.page-products .orientation-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 18px;
}

.page-products .phone-device {
  position: relative;
  border: 8px solid var(--ink);
  border-radius: 24px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 18px 36px rgba(16, 24, 40, 0.22);
}

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

.page-products .phone-device.is-portrait {
  max-width: 260px;
  margin: 0 auto;
}

.page-products .phone-device.is-portrait img {
  aspect-ratio: 3 / 4;
}

.page-products .phone-device.is-landscape {
  max-width: 420px;
  margin: 0 auto;
}

.page-products .phone-device.is-landscape img {
  aspect-ratio: 4 / 3;
}

.page-products .orientation-label {
  position: absolute;
  top: 6px;
  right: 10px;
  z-index: 2;
  background: var(--accent);
  color: var(--bg-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 2px;
}

.page-products .navfav-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.page-products .navfav-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  box-shadow: 0 20px 40px rgba(7, 26, 58, 0.4);
}

.page-products .navfav-copy p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 8px;
}

.page-products .data-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.page-products .data-panel {
  background: var(--cream);
  color: var(--ink);
  padding: 24px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.page-products .data-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.page-products .data-panel-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
}

.page-products .data-panel-body {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.page-products .data-ring {
  position: relative;
  width: 130px;
  height: 130px;
}

.page-products .data-ring svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.page-products .ring-track {
  fill: none;
  stroke: rgba(138, 141, 145, 0.35);
  stroke-width: 10;
}

.page-products .ring-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 10;
  stroke-dasharray: 301.6;
  stroke-dashoffset: 125.6;
  transform: rotate(-90deg);
  transform-origin: center;
  stroke-linecap: round;
}

.page-products .ring-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.page-products .ring-num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
}

.page-products .ring-cap {
  font-size: 12px;
  color: var(--rock);
}

.page-products .data-legend {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  align-content: center;
  gap: 8px;
}

.page-products .legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
}

.page-products .legend-dot--home {
  background: var(--accent);
}

.page-products .legend-dot--away {
  background: var(--rock);
}

.page-products .data-sync {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--moss);
  margin: 14px 0 0;
}

.page-products .history-toggle summary {
  display: inline-block;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 6px 12px;
  margin-top: 18px;
  list-style: none;
}

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

.page-products .history-chart {
  margin-top: 12px;
  padding: 12px;
  background: rgba(245, 240, 230, 0.7);
  border: 1px dashed var(--rock);
}

.page-products .history-chart svg {
  width: 100%;
  height: auto;
}

.page-products .history-line--home {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
}

.page-products .history-line--away {
  fill: none;
  stroke: var(--rock);
  stroke-width: 2;
  stroke-dasharray: 4 3;
}

.page-products .history-note {
  font-size: 13px;
  color: var(--rock);
  margin: 8px 0 0;
}

.page-products .data-copy p {
  font-size: 16px;
  line-height: 1.8;
}

.page-products .data-visual-img {
  margin-top: 24px;
}

.page-products .data-visual-img img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
  box-shadow: 0 20px 40px rgba(7, 26, 58, 0.4);
}

.page-products .sync-band {
  background: var(--cream);
  color: var(--ink);
  border-bottom: none;
}

.page-products .sync-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.page-products .sync-copy p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 8px;
}

.page-products .sync-visual {
  position: relative;
}

.page-products .sync-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 2px solid var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.page-products .sync-connector {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(7, 26, 58, 0.88);
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--cream);
}

.page-products .sync-node {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 13px;
  background: var(--accent);
  color: var(--bg-deep);
  padding: 4px 10px;
  border-radius: 3px;
}

.page-products .sync-line {
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px);
}

.page-products .index-card {
  display: block;
  background: rgba(245, 240, 230, 0.06);
  border: 1px solid rgba(192, 197, 209, 0.3);
  padding: 22px;
  text-decoration: none;
  color: var(--cream);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.page-products .index-card:hover {
  background: rgba(255, 107, 53, 0.1);
  border-color: var(--accent);
}

.page-products .index-card-num {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 13px;
}

.page-products .index-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 8px 0 6px;
}

.page-products .index-card p {
  margin: 0;
  font-size: 14px;
  color: rgba(245, 240, 230, 0.75);
}

@media (min-width: 768px) {
  .page-products .section-head h2 {
    font-size: 38px;
  }

  .page-products .hero-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
    gap: 48px;
    align-items: stretch;
  }

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

  .page-products .guide-layout {
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
  }

  .page-products .orientation-stage {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .navfav-layout {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .data-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .page-products .sync-layout {
    grid-template-columns: 1fr 1.2fr;
  }
}

@media (min-width: 1024px) {
  .page-products .services-hero {
    padding: 28px 0 64px;
  }

  .page-products .hero-kicker {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .page-products .hero-lead {
    font-size: 18px;
  }

  .page-products .service-band {
    padding: 72px 0 80px;
  }

  .page-products .section-head {
    margin-bottom: 44px;
  }

  .page-products .membership-layout {
    gap: 56px;
  }

  .page-products .phone-frame {
    margin-top: -40px;
    margin-right: -30px;
    justify-self: end;
  }

  .page-products .guide-layout {
    gap: 56px;
  }

  .page-products .navfav-layout {
    gap: 56px;
  }

  .page-products .data-layout {
    gap: 56px;
  }

  .page-products .sync-layout {
    gap: 48px;
  }
}
