.page-products {
  position: relative;
  background: var(--bg);
  color: var(--text-body);
  overflow-x: hidden;
  --card-border: rgba(44, 53, 80, .85);
  --glow-green: rgba(0, 255, 136, .2);
  --glow-orange: rgba(255, 106, 0, .2);
}

.page-products .container {
  max-width: min(var(--container), 1200px);
  margin-inline: auto;
  padding-inline: 20px;
  position: relative;
  z-index: 1;
}

.page-products .products-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-products .products-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .13;
  filter: blur(2px) saturate(.72);
  min-height: 100vh;
}

.page-products .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

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

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

.page-products .products-head {
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.page-products .section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(0, 255, 136, .08);
  border: 1px solid rgba(0, 255, 136, .25);
  padding: .3rem .6rem;
  margin-bottom: .75rem;
}

.page-products .page-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
  color: var(--text);
  transform: skewX(var(--skew));
  margin: 0 0 .75rem;
  text-transform: uppercase;
  letter-spacing: -.01em;
}

.page-products .page-lead {
  max-width: 72ch;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  margin: 0;
}

.page-products .products-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.page-products .stat-card {
  background: linear-gradient(145deg, rgba(17, 22, 43, .9), rgba(10, 14, 39, .9));
  border: 1px solid var(--card-border);
  padding: 1.1rem 1.1rem 1rem;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  position: relative;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.page-products .stat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 255, 136, .12), transparent 40%);
  pointer-events: none;
}

.page-products .stat-card:hover {
  border-color: rgba(0, 255, 136, .45);
  box-shadow: 0 0 22px var(--glow-green);
}

.page-products .tape-green {
  border-left: 3px solid var(--green);
}

.page-products .tape-orange {
  border-left-color: var(--orange);
  box-shadow: 0 0 18px rgba(255, 106, 0, .12);
}

.page-products .tape-orange:hover {
  border-color: rgba(255, 106, 0, .45);
  box-shadow: 0 0 22px var(--glow-orange);
}

.page-products .stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  color: var(--text);
  line-height: 1.1;
}

.page-products .stat-label {
  display: block;
  font-family: var(--font-body);
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .4rem;
}

.page-products .products-tabs-wrap {
  padding-bottom: 2rem;
}

.page-products .products-tabs-wrap .container {
  padding-top: 1rem;
  padding-bottom: 1.5rem;
  background: rgba(10, 14, 39, .55);
  border-top: 1px dashed var(--border);
  border-bottom: 1px solid var(--border);
}

.page-products .products-tabs-input {
  position: fixed;
  opacity: 0;
  pointer-events: none;
}

.page-products .tabs-nav {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  padding: .35rem .2rem 0 0;
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
}

.page-products .tabs-nav::-webkit-scrollbar {
  display: none;
}

.page-products .tabs-label {
  flex: 0 0 auto;
  padding: .8rem 1.25rem;
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-bottom: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: .85rem;
  transform: skewX(-5deg);
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  user-select: none;
}

.page-products .tabs-label:hover {
  color: var(--text);
  border-color: var(--green);
}

.page-products #tab-rounds-input:checked ~ .container .tabs-label[for="tab-rounds-input"],
.page-products #tab-lineup-input:checked ~ .container .tabs-label[for="tab-lineup-input"],
.page-products #tab-calendar-input:checked ~ .container .tabs-label[for="tab-calendar-input"] {
  background: var(--green);
  color: #0a0e27;
  border-color: var(--green);
  box-shadow: 0 0 18px rgba(0, 255, 136, .35);
  transform: skewX(-5deg) translateY(-2px);
}

.page-products .tabs-panels {
  border-top: none;
}

.page-products .tab-panel {
  display: none;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(180deg, rgba(17, 22, 43, .72), rgba(10, 14, 39, .85));
  border: 1px solid var(--border);
  border-top: none;
  position: relative;
}

.page-products .tab-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(44, 53, 80, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 53, 80, .18) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.page-products #tab-rounds-input:checked ~ .container .tab-panel-rounds,
.page-products #tab-lineup-input:checked ~ .container .tab-panel-lineup,
.page-products #tab-calendar-input:checked ~ .container .tab-panel-calendar {
  display: block;
  animation: pageProductsFadeIn .25s var(--ease);
}

@keyframes pageProductsFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.page-products .tab-panel > * {
  position: relative;
  z-index: 1;
}

.page-products .tab-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.page-products .tab-panel h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--text);
  transform: skewX(var(--skew));
  margin: 0;
}

.page-products .live-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .75rem;
  color: var(--green);
  border: 1px solid rgba(0, 255, 136, .3);
  padding: .35rem .6rem;
  background: rgba(0, 255, 136, .08);
  white-space: nowrap;
}

.page-products .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.page-products .tab-intro {
  max-width: 62ch;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-body);
}

.page-products .rounds-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.page-products .rounds-list {
  display: grid;
  gap: .65rem;
}

.page-products .round-row {
  background: rgba(17, 22, 43, .8);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  padding: .9rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.page-products .round-no {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--green);
  min-width: 2.8rem;
  transform: skewX(-5deg);
}

.page-products .round-meta strong {
  display: block;
  font-family: var(--font-head);
  color: var(--text);
  font-size: .9rem;
  margin-bottom: .2rem;
}

.page-products .round-meta span {
  font-size: .78rem;
  color: var(--text-muted);
}

.page-products .tag {
  font-size: .7rem;
  letter-spacing: .08em;
  padding: .22rem .5rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: rgba(44, 53, 80, .35);
  text-transform: uppercase;
  white-space: nowrap;
}

.page-products .tag-green {
  color: var(--green);
  border-color: rgba(0, 255, 136, .3);
}

.page-products .tag-orange {
  color: var(--orange);
  border-color: rgba(255, 106, 0, .3);
}

.page-products .rounds-chart {
  background: rgba(10, 14, 39, .7);
  border: 1px solid var(--border);
  padding: 1rem;
}

.page-products .rounds-chart svg {
  width: 100%;
  height: auto;
  display: block;
}

.page-products .rounds-chart rect {
  transition: opacity .2s;
}

.page-products .rounds-chart rect:hover {
  opacity: .8;
}

.page-products .bar-active {
  fill: var(--green);
}

.page-products .bar-muted {
  fill: var(--border);
}

.page-products .bar-next {
  fill: var(--orange);
}

.page-products .chart-note {
  font-size: .75rem;
  color: var(--text-muted);
  margin: .6rem 0 0;
  line-height: 1.5;
}

.page-products .expand-card {
  border: 1px solid var(--border);
  background: rgba(17, 22, 43, .6);
  padding: .8rem 1rem;
  margin-top: 1.5rem;
}

.page-products .expand-card summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-size: .85rem;
  color: var(--green);
  list-style: none;
}

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

.page-products .expand-card[open] summary {
  color: var(--text);
}

.page-products .expand-card p {
  margin: .5rem 0 0;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.page-products .round-footnote {
  margin-top: 1.25rem;
  padding: 1rem 0 0;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.2rem;
  align-items: center;
  font-size: .82rem;
  color: var(--text-muted);
}

.page-products .round-footnote a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 255, 136, .35);
}

.page-products .lineup-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.page-products .lineup-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: lineup-step;
}

.page-products .lineup-steps li {
  counter-increment: lineup-step;
  padding: .8rem 0 .8rem 2.5rem;
  border-bottom: 1px dashed var(--border);
  font-size: .9rem;
  line-height: 1.6;
  color: var(--text-body);
  position: relative;
}

.page-products .lineup-steps li::before {
  content: counter(lineup-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .6rem;
  font-family: var(--font-head);
  font-size: .9rem;
  color: var(--orange);
}

.page-products .lineup-steps strong {
  color: var(--text);
}

.page-products .lineup-image-frame {
  border: 1px solid var(--border);
  overflow: hidden;
  margin: 0;
}

.page-products .lineup-image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.page-products .calendar-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.page-products .calendar-bullets {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.page-products .calendar-bullets li {
  position: relative;
  padding: .5rem 0 .5rem 1.8rem;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--text-body);
  border-bottom: 1px dashed var(--border);
}

.page-products .calendar-bullets li::before {
  content: "▮";
  position: absolute;
  left: 0;
  top: .55rem;
  color: var(--orange);
}

.page-products .calendar-actions {
  margin-top: 1rem;
}

.page-products .calendar-image-frame {
  border: 1px solid var(--border);
  overflow: hidden;
  margin: 0;
}

.page-products .calendar-image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.page-products .products-dashboard {
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.page-products .dashboard-head {
  margin-bottom: 2rem;
}

.page-products .dashboard-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  color: var(--text);
  transform: skewX(var(--skew));
  margin: .4rem 0 .5rem;
}

.page-products .dashboard-lead {
  max-width: 64ch;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0;
}

.page-products .dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.page-products .dashboard-copy {
  display: grid;
  gap: 1.5rem;
}

.page-products .metric-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .7rem;
}

.page-products .metric-list li {
  padding-left: 1.1rem;
  position: relative;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--text-body);
}

.page-products .metric-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--green);
}

.page-products .dashboard-img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
}

.page-products .dashboard-more {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.2rem;
  margin: .5rem 0 0;
}

.page-products .dashboard-more a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 255, 136, .4);
}

.page-products .dashboard-more span {
  color: var(--text-muted);
}

.page-products .dashboard-svg {
  background: linear-gradient(180deg, rgba(17, 22, 43, .8), rgba(10, 14, 39, .8));
  border: 1px solid var(--border);
  padding: 1.5rem;
  position: relative;
}

.page-products .dashboard-svg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(44, 53, 80, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 53, 80, .16) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.page-products .dashboard-svg > * {
  position: relative;
  z-index: 1;
}

.page-products .dashboard-svg h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--text);
  transform: skewX(-5deg);
  margin: 0 0 1rem;
}

.page-products .dashboard-svg svg {
  width: 100%;
  height: auto;
  display: block;
}

.page-products .products-devices {
  padding-top: 3rem;
  padding-bottom: 4.5rem;
  border-top: 1px solid var(--border);
}

.page-products .devices-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  color: var(--text);
  transform: skewX(var(--skew));
  margin: .4rem 0 .5rem;
}

.page-products .devices-head p:last-child {
  max-width: 68ch;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.page-products .device-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.page-products .device-copy {
  display: grid;
  gap: 1rem;
}

.page-products .device-card {
  background: rgba(17, 22, 43, .75);
  border: 1px solid var(--border);
  padding: 1rem 1.2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  align-items: center;
}

.page-products .device-icon {
  font-family: var(--font-head);
  font-size: .75rem;
  color: var(--orange);
  border: 1px solid rgba(255, 106, 0, .4);
  padding: .35rem .5rem;
  grid-row: span 2;
}

.page-products .device-card h3 {
  font-family: var(--font-head);
  font-size: .95rem;
  color: var(--text);
  margin: 0;
}

.page-products .device-card p {
  margin: .15rem 0 0;
  font-size: .82rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.page-products .device-links {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: .4rem;
}

.page-products .device-image-frame {
  justify-self: center;
  margin: 0;
}

.page-products .device-image-frame img {
  width: min(260px, 70%);
  height: auto;
  display: block;
  border: 1px solid var(--border);
  box-shadow: 0 0 32px rgba(0, 255, 136, .08);
}

@media (min-width: 768px) {
  .page-products .products-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }

  .page-products .rounds-layout {
    grid-template-columns: 1.1fr .9fr;
    align-items: start;
  }

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

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

@media (min-width: 900px) {
  .page-products .dashboard-grid {
    grid-template-columns: 1.15fr .85fr;
    align-items: start;
  }

  .page-products .device-grid {
    grid-template-columns: 1fr 280px;
    align-items: center;
  }

  .page-products .device-image-frame img {
    width: 100%;
    max-width: 280px;
  }

  .page-products .products-head {
    padding-top: clamp(3.5rem, 6vw, 5.5rem);
    padding-bottom: 2rem;
  }

  .page-products .page-lead {
    font-size: 1.05rem;
  }
}
