.page-products {
  --product-gap: clamp(1.25rem, 4vw, 3.5rem);
  --product-pad: clamp(1.25rem, 4vw, 3rem);
  --product-edge: rgba(0, 255, 135, 0.22);
  background:
    radial-gradient(rgba(0, 255, 135, 0.07) 1px, transparent 1px),
    linear-gradient(135deg, rgba(30, 60, 130, 0.22), transparent 45%),
    var(--navy-base);
  background-size: 28px 28px, auto, auto;
  position: relative;
  overflow: hidden;
}

.page-products .breadcrumb {
  margin-bottom: clamp(1rem, 4vw, 2rem);
}

.page-products .product-hero {
  position: relative;
  z-index: 1;
  padding-top: clamp(1.5rem, 5vw, 3rem);
}

.page-products .product-hero__grid {
  display: grid;
  gap: var(--product-gap);
  align-items: center;
}

.page-products .product-hero__content {
  position: relative;
}

.page-products .product-hero__content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin: 0.5rem 0 1rem;
  text-wrap: balance;
}

.page-products .product-hero__content .lead {
  margin-top: 1rem;
  max-width: 34rem;
}

.page-products .product-hero__content > p:not(.kicker):not(.lead) {
  color: var(--text-muted);
  max-width: 36rem;
  line-height: 1.7;
  margin-top: 0.85rem;
}

.page-products .hero-cta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.page-products .product-frame {
  display: block;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--product-edge);
  background: var(--navy-surface);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
}

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

.page-products .product-frame--wide {
  aspect-ratio: 7 / 6;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.page-products .product-frame--calendar {
  border-radius: var(--radius-md);
  border: 2px solid rgba(0, 255, 135, 0.2);
  transform: rotate(-1deg);
  box-shadow: 14px 14px 0 rgba(0, 255, 135, 0.06);
}

.page-products .product-frame--player {
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 106, 0, 0.2);
  transform: rotate(1deg);
  box-shadow: -14px 14px 0 rgba(255, 106, 0, 0.05);
}

.page-products .product-frame--phone {
  max-width: 340px;
  margin-inline: auto;
  border-radius: 2rem;
  border: 2px solid rgba(0, 255, 135, 0.25);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}

.page-products .product-frame--download {
  border-radius: var(--radius-md);
  border: 2px solid rgba(0, 255, 135, 0.25);
}

.page-products .module-index__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: clamp(2rem, 6vw, 4rem);
}

.page-products .module-index__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: rgba(18, 43, 80, 0.65);
  border: 1px solid rgba(168, 192, 224, 0.18);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.page-products .module-index__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  background: linear-gradient(var(--orange), var(--green));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.page-products .module-index__card:hover,
.page-products .module-index__card:focus-visible {
  border-color: var(--line-glow);
  background: rgba(18, 43, 80, 0.92);
  transform: translateY(-3px);
}

.page-products .module-index__card:hover::before,
.page-products .module-index__card:focus-visible::before {
  opacity: 1;
}

.page-products .module-index__tag {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
}

.page-products .module-index__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-top: 0.4rem;
}

.page-products .module-index__hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.page-products .overview-banner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  background: rgba(0, 255, 135, 0.12);
  border: 1px solid rgba(0, 255, 135, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-products .overview-banner__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1.25rem 1rem;
  background: var(--navy-base);
  text-align: center;
}

.page-products .overview-banner__num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--green);
}

.page-products .overview-banner__text {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.page-products .product-module {
  position: relative;
}

.page-products .product-module__grid {
  display: grid;
  gap: var(--product-gap);
  align-items: center;
  position: relative;
  z-index: 1;
}

.page-products .product-module__content {
  position: relative;
}

.page-products .product-module__content .kicker {
  margin-bottom: 0.5rem;
}

.page-products .product-module__content h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.page-products .product-module__content p {
  color: var(--text-muted);
  max-width: 38rem;
  line-height: 1.7;
}

.page-products .product-media-stack {
  position: relative;
}

.page-products .product-media-stack__note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.page-products .product-media-stack__note::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--green);
  opacity: 0.7;
  flex-shrink: 0;
}

.page-products .product-media-stack--center .product-media-stack__note {
  display: flex;
  justify-content: center;
}

.page-products .spec-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.8rem;
}

.page-products .spec-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  align-items: baseline;
  padding-left: 1rem;
  border-left: 2px solid rgba(255, 106, 0, 0.5);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.page-products .spec-list__label {
  font-weight: 600;
  color: var(--text);
  min-width: 4.5rem;
}

.page-products .metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.25rem;
  margin-top: 1.75rem;
}

.page-products .metric-row .metric {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.page-products .metric-row .metric-value {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.page-products .metric-row .metric-label {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.page-products .field-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.25rem 0;
}

.page-products .field-chip {
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(0, 255, 135, 0.35);
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(0, 255, 135, 0.06);
  color: var(--text);
}

.page-products .data-detail {
  margin-top: 1.5rem;
  border: 1px solid rgba(168, 192, 224, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(18, 43, 80, 0.4);
  overflow: hidden;
}

.page-products .data-detail summary {
  cursor: pointer;
  list-style: none;
  padding: 0.9rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.page-products .data-detail summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--orange);
  transition: transform 0.2s ease;
}

.page-products .data-detail[open] summary::after {
  transform: rotate(45deg);
}

.page-products .data-detail p {
  margin: 0;
  padding: 0 1.25rem 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.page-products .data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  z-index: 1;
}

.page-products .data-grid__card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  background: linear-gradient(135deg, rgba(43, 94, 255, 0.14), rgba(18, 43, 80, 0.55));
  border: 1px solid rgba(168, 192, 224, 0.2);
  border-radius: var(--radius-md);
}

.page-products .data-grid__label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.page-products .data-grid__value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--green);
}

.page-products .replay-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  margin-top: 1.5rem;
  border: 1px solid rgba(255, 106, 0, 0.45);
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.08);
  font-size: 0.85rem;
  color: var(--text);
}

.page-products .replay-badge__icon {
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy-base);
  font-size: 0.65rem;
  padding-left: 2px;
}

.page-products .product-side-note {
  display: none;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  position: absolute;
  right: -2.5rem;
  top: 0;
  bottom: 0;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-right: 1px solid rgba(0, 255, 135, 0.3);
  padding-right: 0.6rem;
}

.page-products .help-head {
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.page-products .help-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.02em;
  margin: 0.25rem 0 0.6rem;
  line-height: 1.15;
}

.page-products .help-head .lead {
  color: var(--text-muted);
}

.page-products .help-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.page-products .help-card {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: var(--radius-lg);
  margin: 0;
  position: relative;
}

.page-products .help-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
}

.page-products .help-card p {
  color: inherit;
  opacity: 0.85;
  line-height: 1.7;
}

.page-products .panel--glow.help-card {
  background: linear-gradient(135deg, rgba(43, 94, 255, 0.16), rgba(18, 43, 80, 0.8));
  border: 1px solid rgba(0, 255, 135, 0.28);
}

.page-products .panel--paper.help-card {
  background: var(--paper);
  color: #33475B;
  border: 1px solid rgba(51, 71, 91, 0.15);
}

.page-products .panel--paper.help-card h3 {
  color: var(--navy-base);
}

.page-products .help-card__meta {
  margin-top: 1.25rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(168, 192, 224, 0.3);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.page-products .panel--paper.help-card .help-card__meta {
  border-top-color: rgba(51, 71, 91, 0.25);
  color: #60748B;
}

.page-products .help-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  background: rgba(18, 43, 80, 0.75);
  border: 1px dashed rgba(0, 255, 135, 0.35);
  border-radius: var(--radius-md);
  position: relative;
  z-index: 1;
}

.page-products .help-note p {
  flex: 1;
  min-width: 15rem;
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.page-products .help-note a {
  color: var(--green);
  font-weight: 600;
  text-underline-offset: 4px;
}

.page-products .product-download {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(2.5rem, 7vw, 5rem);
}

.page-products .download-stage {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: var(--product-pad);
  background:
    linear-gradient(135deg, rgba(43, 94, 255, 0.28), rgba(10, 31, 68, 0.94)),
    linear-gradient(45deg, transparent, rgba(0, 255, 135, 0.05));
  border: 1px solid rgba(0, 255, 135, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.page-products .download-stage__content {
  max-width: 40rem;
}

.page-products .download-stage__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.02em;
  margin: 0.25rem 0 0.75rem;
  line-height: 1.15;
}

.page-products .download-stage__content p {
  color: var(--text-muted);
  line-height: 1.7;
}

.page-products .trust-line {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 1rem 0;
  margin: 1.25rem 0;
  border-block: 1px solid rgba(0, 255, 135, 0.2);
  font-size: 0.9rem;
  color: var(--text);
}

.page-products .download-shield {
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 255, 135, 0.12);
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
}

.page-products .download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .page-products .product-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .page-products .module-index__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .overview-banner {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .product-module__grid--calendar,
  .page-products .product-module__grid--player,
  .page-products .product-module__grid--replay {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .page-products .download-stage {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .page-products .download-stage__content {
    padding-right: 1rem;
  }
}

@media (min-width: 1080px) {
  .page-products .module-index__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .product-side-note {
    display: flex;
  }
}
