.page-products {
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.75;
}

.page-products .wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

.page-products .section-head {
  max-width: 780px;
  margin-bottom: 2.2rem;
}

.page-products .section-kicker {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: .5rem;
}

.page-products .section-head h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: .75rem;
}

.page-products .section-desc {
  color: var(--color-muted);
  font-size: .98rem;
  max-width: 64ch;
}

.page-products .product-hero {
  position: relative;
  padding: 2.4rem 0 4rem;
  background:
    radial-gradient(110% 120% at 88% -10%, rgba(128, 90, 213, .28) 0%, transparent 50%),
    radial-gradient(90% 90% at -10% 10%, rgba(230, 57, 70, .2) 0%, transparent 45%),
    var(--color-navy);
  color: var(--color-white);
  overflow: hidden;
}

.page-products .product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 14px);
  pointer-events: none;
}

.page-products .product-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.1rem;
  background: var(--color-red);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 4% 100%);
}

.page-products .product-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-products .breadcrumb {
  margin-bottom: 2.2rem;
}

.page-products .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  gap: .45rem;
  list-style: none;
  font-size: .88rem;
}

.page-products .breadcrumb li + li::before {
  content: "/";
  margin-right: .45rem;
  color: rgba(255, 255, 255, .35);
}

.page-products .breadcrumb a {
  color: rgba(255, 255, 255, .66);
  text-decoration: none;
  transition: color .2s;
}

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

.page-products .breadcrumb [aria-current="page"] {
  color: var(--color-white);
}

.page-products .hero-kicker {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: .7rem;
}

.page-products .product-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--color-white);
  margin: 0 0 1rem;
  max-width: 14ch;
  letter-spacing: .01em;
}

.page-products .hero-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .78);
  max-width: 52ch;
  margin: 0 0 2rem;
}

.page-products .hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-bottom: 2rem;
}

.page-products .metric-chip {
  display: inline-flex;
  align-items: baseline;
  gap: .45rem;
  padding: .62rem 1.05rem;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, .86);
  font-size: .9rem;
}

.page-products .metric-num {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--color-green);
}

.page-products .hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

.page-products .btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .82rem 1.45rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.page-products .btn:hover {
  transform: translateY(-2px);
}

.page-products .btn--primary {
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 10px 24px rgba(230, 57, 70, .3);
}

.page-products .btn--primary:hover {
  box-shadow: 0 14px 30px rgba(230, 57, 70, .38);
}

.page-products .hero-links .btn--ghost {
  background: rgba(255, 255, 255, .05);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, .4);
}

.page-products .hero-links .btn--ghost:hover {
  border-color: var(--color-green);
  color: var(--color-green);
}

.page-products .dual-entry-section,
.page-products .distribution-section,
.page-products .devices-section,
.page-products .postmatch-section,
.page-products .performance-section,
.page-products .cross-navigation {
  padding: clamp(2.6rem, 5vw, 5rem) 0;
}

.page-products .dual-entry-section {
  background: var(--color-bg);
}

.page-products .dual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
  margin-bottom: 2.4rem;
}

.page-products .entry-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}

.page-products .entry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(10, 30, 60, .13);
}

.page-products .entry-index {
  position: absolute;
  top: 1.3rem;
  right: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--color-muted);
}

.page-products .entry-index::before {
  content: "";
  width: 2.4rem;
  height: 2px;
  background: var(--color-red);
}

.page-products .entry-card h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(1.2rem, 2.3vw, 1.7rem);
  color: var(--color-navy);
  margin-bottom: .75rem;
}

.page-products .entry-card p {
  font-size: .93rem;
  color: var(--color-muted);
  margin-bottom: 1.2rem;
  max-width: 46ch;
}

.page-products .feature-list {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: grid;
  gap: .55rem;
}

.page-products .feature-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--color-ink);
  font-size: .93rem;
}

.page-products .feature-list li::before {
  content: "›";
  position: absolute;
  left: .4rem;
  color: var(--color-red);
  font-weight: 700;
}

.page-products .tag-group--entry {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: .9rem 0 1.1rem;
}

.page-products .entry-media {
  margin: 1.3rem 0 0;
}

.page-products .entry-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.page-products .media-frame--wide {
  margin: 0;
}

.page-products .media-frame--wide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  object-fit: cover;
}

.page-products .distribution-section {
  background:
    radial-gradient(90% 110% at 15% 0%, rgba(0, 191, 255, .14) 0%, transparent 46%),
    var(--color-navy);
  color: var(--color-white);
}

.page-products .distribution-section .section-head h2 {
  color: var(--color-white);
}

.page-products .distribution-section .section-desc {
  color: rgba(255, 255, 255, .66);
}

.page-products .dist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  align-items: center;
}

.page-products .dist-viz {
  margin: 0;
}

.page-products .dist-viz img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .34);
}

.page-products .dist-side h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: .8rem;
}

.page-products .dist-side p {
  color: rgba(255, 255, 255, .68);
  font-size: .94rem;
}

.page-products .bar-chart {
  display: grid;
  gap: .8rem;
  margin: 1.4rem 0 1rem;
}

.page-products .bar-row {
  display: grid;
  grid-template-columns: 5.4rem 1fr 2.6rem;
  align-items: center;
  gap: .7rem;
}

.page-products .bar-label {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: rgba(255, 255, 255, .75);
}

.page-products .bar-track {
  height: .78rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
}

.page-products .bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.page-products .bar-fill--upper {
  background: var(--color-blue);
}

.page-products .bar-fill--lower {
  background: var(--color-green);
}

.page-products .bar-num {
  font-family: var(--font-mono);
  text-align: right;
  color: var(--color-white);
  font-size: .95rem;
}

.page-products .chart-note {
  font-size: .82rem;
  color: rgba(255, 255, 255, .52);
}

.page-products .dist-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin: 1.6rem 0 1.9rem;
}

.page-products .data-pill {
  display: inline-flex;
  flex-direction: column;
  gap: .15rem;
  padding: .55rem 1rem;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .07);
  color: var(--color-green);
  font-family: var(--font-mono);
}

.page-products .data-pill span {
  font-family: var(--font-body);
  font-size: .74rem;
  color: rgba(255, 255, 255, .68);
}

.page-products .dist-side .btn {
  margin-top: .4rem;
}

.page-products .devices-section {
  background: var(--color-white);
}

.page-products .device-target {
  display: none;
}

.page-products .device-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
  margin-bottom: 2.2rem;
}

.page-products .device-card {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.05rem;
  background: var(--color-bg);
  border: 1px solid rgba(10, 30, 60, .08);
  border-radius: var(--radius-md);
  transition: border-color .2s, transform .25s, box-shadow .25s;
}

.page-products .device-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-blue);
  box-shadow: var(--shadow-card);
}

.page-products .device-dot {
  width: 2.8rem;
  height: .32rem;
  border-radius: var(--radius-pill);
  background: var(--color-blue);
  margin-bottom: .85rem;
}

.page-products .device-card--ios .device-dot {
  background: var(--color-violet);
}

.page-products .device-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 .3rem;
}

.page-products .device-meta {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--color-muted);
  margin: 0;
}

.page-products .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1.7rem;
}

.page-products .filter-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.15rem;
  border: 1px solid rgba(10, 30, 60, .2);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-navy);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}

.page-products .filter-link:hover {
  border-color: var(--color-blue);
}

.page-products .filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 .35rem;
  border-radius: var(--radius-pill);
  background: rgba(10, 30, 60, .08);
  font-family: var(--font-mono);
  font-size: .78rem;
}

.page-products #device-all:target ~ .filter-bar .filter-link--all,
.page-products #device-android:target ~ .filter-bar .filter-link--android,
.page-products #device-ios:target ~ .filter-bar .filter-link--ios {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.page-products #device-all:target ~ .filter-bar .filter-link--all .filter-count,
.page-products #device-android:target ~ .filter-bar .filter-link--android .filter-count,
.page-products #device-ios:target ~ .filter-bar .filter-link--ios .filter-count {
  background: rgba(255, 255, 255, .18);
  color: var(--color-white);
}

.page-products #device-android:target ~ .device-grid .device-card--ios,
.page-products #device-android:target ~ .device-grid .device-card--admin {
  display: none;
}

.page-products #device-ios:target ~ .device-grid .device-card--android,
.page-products #device-ios:target ~ .device-grid .device-card--admin {
  display: none;
}

.page-products .device-cta-note {
  font-size: .9rem;
  color: var(--color-muted);
  margin: 0 0 1.4rem;
}

.page-products .device-cta-note a {
  color: var(--color-blue);
  text-decoration: none;
  font-weight: 600;
}

.page-products .device-cta-note a:hover {
  color: var(--color-red);
}

.page-products .media-frame--devices img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.page-products .postmatch-section {
  background:
    linear-gradient(115deg, rgba(230, 57, 70, .1) 0%, transparent 42%),
    var(--color-navy);
  color: var(--color-white);
}

.page-products .postmatch-section .section-head h2 {
  color: var(--color-white);
}

.page-products .postmatch-section .section-desc {
  color: rgba(255, 255, 255, .68);
}

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

.page-products .notice-panel {
  padding: 1.5rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-lg);
}

.page-products .notice-ticker {
  margin-bottom: 1rem;
}

.page-products .ticker-header {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-green);
}

.page-products .ticker-window {
  display: grid;
  gap: .55rem;
  margin-top: .9rem;
}

.page-products .ticker-item {
  margin: 0;
  padding: .66rem .9rem;
  background: rgba(255, 255, 255, .06);
  border-left: 2px solid var(--color-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: .9rem;
  color: rgba(255, 255, 255, .86);
}

.page-products .notice-panel > p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .58);
}

.page-products .notice-rules h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.page-products .notice-rules ul {
  list-style: none;
  margin: 0 0 1.3rem;
  padding: 0;
  display: grid;
  gap: .6rem;
}

.page-products .notice-rules li {
  position: relative;
  padding-left: 1.7rem;
  color: rgba(255, 255, 255, .76);
  font-size: .94rem;
}

.page-products .notice-rules li::before {
  content: "●";
  position: absolute;
  left: .1rem;
  top: .1rem;
  font-size: .78rem;
  color: var(--color-red);
}

.page-products .notice-rules > p {
  font-size: .88rem;
  color: rgba(255, 255, 255, .6);
}

.page-products .performance-section {
  background: var(--color-bg);
}

.page-products .perf-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  align-items: center;
}

.page-products .perf-chart {
  display: grid;
  gap: 1.1rem;
}

.page-products .perf-row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  align-items: center;
  gap: .9rem;
}

.page-products .perf-label {
  font-size: .88rem;
  color: var(--color-muted);
}

.page-products .perf-track {
  height: 1.35rem;
  display: block;
  background: rgba(10, 30, 60, .07);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.page-products .perf-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.page-products .perf-fill--old {
  width: 78%;
  background: linear-gradient(90deg, var(--color-muted), #A0AEC0);
}

.page-products .perf-fill--new {
  width: 46%;
  background: linear-gradient(90deg, var(--color-blue), var(--color-green));
}

.page-products .perf-badge {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .6rem;
  padding: 1.1rem 1.4rem;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
}

.page-products .perf-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-green);
}

.page-products .perf-unit {
  font-size: .9rem;
  color: rgba(255, 255, 255, .7);
}

.page-products .media-frame--perf img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.page-products .perf-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.2rem;
  margin-top: 2rem;
  padding: 1.2rem 1.4rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.page-products .perf-notes p {
  margin: 0;
  font-size: .9rem;
  color: var(--color-muted);
}

.page-products .cross-navigation {
  background: var(--color-bg);
  padding-top: 0;
}

.page-products .cross-navigation .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.page-products .cross-card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.4rem 1.5rem;
  background: var(--color-white);
  border: 1px solid rgba(10, 30, 60, .08);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-ink);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.page-products .cross-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-blue);
}

.page-products .cross-arrow {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--color-red);
}

.page-products .cross-card strong {
  font-size: 1.05rem;
  color: var(--color-navy);
}

.page-products .cross-card span:last-child {
  font-size: .82rem;
  color: var(--color-muted);
  line-height: 1.5;
}

@media (min-width: 560px) {
  .page-products .device-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 720px) {
  .page-products .section-head {
    margin-bottom: 3rem;
  }

  .page-products .dual-grid {
    grid-template-columns: 1.1fr .9fr;
    gap: 1.8rem;
  }

  .page-products .dist-grid {
    grid-template-columns: 1.15fr .85fr;
    gap: 2.6rem;
  }

  .page-products .notice-layout {
    grid-template-columns: 1.15fr .85fr;
    gap: 2.2rem;
  }

  .page-products .perf-layout {
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
  }

  .page-products .cross-navigation .wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .device-card {
    padding: 1.15rem 1.25rem;
  }
}

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

@media (min-width: 1080px) {
  .page-products .product-hero {
    padding: 3.4rem 0 4.6rem;
  }

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