.page-products {
  --products-toc-w: 15.5rem;
  --products-gap: 4rem;
  color: var(--text);
}

.page-products a {
  color: var(--gold);
  text-decoration-color: rgba(232, 182, 91, .38);
  text-underline-offset: 3px;
  transition: color .2s ease;
}

.page-products .breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 2.5rem;
  font-size: .8125rem;
  color: var(--muted);
}

.page-products .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s ease;
}

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

.page-products .breadcrumb-sep {
  color: rgba(147, 167, 186, .5);
}

.page-products .breadcrumb-current {
  color: var(--text);
  font-weight: 600;
}

.page-products .products-hero {
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  margin-bottom: 3rem;
}

.page-products .products-kicker {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 .75rem;
}

.page-products .products-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -.02em;
  margin: 0 0 1rem;
}

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

.page-products .products-layout {
  display: block;
}

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

.page-products .products-toc {
  margin-bottom: 2.5rem;
}

.page-products .products-toc-inner {
  background: rgba(15, 36, 54, .72);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.page-products .products-toc-label {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

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

.page-products .products-toc-item {
  margin: .25rem 0;
}

.page-products .products-toc-link {
  display: flex;
  gap: .75rem;
  align-items: baseline;
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.page-products .products-toc-link:hover,
.page-products .products-toc-link.is-active {
  background: rgba(232, 182, 91, .08);
  color: var(--gold);
}

.page-products .products-toc-index {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .75rem;
}

.page-products .products-toc-name {
  font-size: .9375rem;
}

.page-products .products-toc-note {
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.6;
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}

.page-products .products-section {
  padding: var(--products-gap) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 2rem;
}

.page-products .products-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.page-products .products-section-head {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.page-products .products-section-no {
  font-family: var(--font-mono);
  font-size: 4rem;
  line-height: 1;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  min-width: 4.5rem;
}

.page-products .products-section-title {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -.02em;
  margin: 0 0 .5rem;
}

.page-products .products-section-intro {
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.7;
  margin: 0;
}

.page-products .products-paragraph {
  color: var(--text);
  line-height: 1.85;
  margin: 0 0 1.5rem;
  max-width: 42rem;
}

.page-products .products-figure {
  margin: 1.5rem 0 0;
}

.page-products .products-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  object-fit: cover;
}

.page-products .products-figcaption {
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.6;
  margin-top: .75rem;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
}

.page-products .matrix-wrap {
  display: grid;
  gap: 1.75rem;
}

.page-products .matrix-cards {
  display: grid;
  gap: 1.5rem;
}

.page-products .matrix-card {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}

.page-products .matrix-card::before {
  content: "";
  position: absolute;
  left: 1.75rem;
  top: 0;
  width: 3.5rem;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--gold);
}

.page-products .matrix-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.page-products .matrix-card-ios::before {
  background: var(--orange);
}

.page-products .matrix-card-shoot::before {
  background: var(--teal);
}

.page-products .matrix-card-search::before {
  background: var(--gold);
}

.page-products .matrix-card-title {
  font-size: 1.125rem;
  font-weight: 800;
  margin: .75rem 0 .75rem;
}

.page-products .matrix-card-desc {
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.75;
  margin: 0;
}

.page-products .matrix-card-use {
  color: var(--gold);
  font-size: .8125rem;
  margin: 1.25rem 0 0;
  border-top: 1px dashed var(--line);
  padding-top: .75rem;
}

.page-products .tag {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .3rem .625rem;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  text-transform: uppercase;
}

.page-products .tag[data-tone="gold"] {
  color: var(--gold);
  border-color: rgba(232, 182, 91, .4);
  background: rgba(232, 182, 91, .08);
}

.page-products .tag[data-tone="orange"] {
  color: var(--orange);
  border-color: rgba(255, 122, 89, .4);
  background: rgba(255, 122, 89, .08);
}

.page-products .tag[data-tone="teal"] {
  color: var(--teal);
  border-color: rgba(53, 211, 202, .4);
  background: rgba(53, 211, 202, .08);
}

.page-products .ios-grid {
  display: grid;
  gap: 2rem;
}

.page-products .products-figure-ios {
  margin: 0;
  place-self: center;
  max-width: 24rem;
  width: 100%;
}

.page-products .products-checklist {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.page-products .products-checklist li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: .75rem;
}

.page-products .products-checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .55em;
  width: .6rem;
  height: .6rem;
  border-radius: 2px;
  background: var(--teal);
  transform: rotate(45deg);
}

.page-products .switch-demo {
  background: var(--bg-2);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: .75rem;
}

.page-products .switch-demo-label {
  color: var(--muted);
  font-size: .75rem;
  font-family: var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.page-products .switch-demo-item {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .5rem 0;
  cursor: pointer;
}

.page-products .switch-demo-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-products .switch-demo-track {
  position: relative;
  width: 3rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(147, 167, 186, .25);
  transition: background .2s ease;
  flex-shrink: 0;
}

.page-products .switch-demo-thumb {
  position: absolute;
  top: .25rem;
  left: .25rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #f5f5f5;
  transition: transform .2s ease;
}

.page-products .switch-demo-check:checked + .switch-demo-track {
  background: var(--teal);
}

.page-products .switch-demo-check:checked + .switch-demo-track .switch-demo-thumb {
  transform: translateX(1.25rem);
  background: #ffffff;
}

.page-products .switch-demo-text {
  color: var(--text);
  font-weight: 600;
  font-size: .9375rem;
}

.page-products .switch-demo-hint {
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.6;
  margin: .5rem 0 0;
}

.page-products .stats-board {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.page-products .stats-primary {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem 1.25rem;
  min-width: 10rem;
  flex: 1 1 8rem;
}

.page-products .data-stat {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
  margin: 0;
}

.page-products .stats-unit {
  font-size: .875rem;
  color: var(--muted);
  margin-left: .35rem;
}

.page-products .data-label {
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .5rem;
}

.page-products .shoot-demo {
  margin: 2rem 0;
}

.page-products .shoot-demo-title {
  font-weight: 800;
  margin: 0 0 1rem;
}

.page-products .shoot-pitch {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  background:
    linear-gradient(rgba(232, 182, 91, .05), rgba(232, 182, 91, .05)),
    repeating-linear-gradient(90deg, transparent 0 12%, rgba(53, 211, 202, .07) 12% 12.6%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.page-products .shoot-zone {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  justify-content: center;
  min-height: 6rem;
  background: var(--bg-2);
}

.page-products .shoot-zone-box {
  border-left: 3px solid var(--gold);
}

.page-products .shoot-zone-out {
  border-left: 3px solid var(--teal);
}

.page-products .shoot-zone-name {
  font-weight: 800;
  font-size: .875rem;
}

.page-products .shoot-zone-value {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 1.125rem;
}

.page-products .shoot-zone-hint {
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.6;
  margin-top: .5rem;
}

.page-products .shoot-demo-hint {
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.6;
  margin-top: .75rem;
}

@media (hover: hover) {
  .page-products .shoot-zone-hint {
    opacity: 0;
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: .875rem;
    background: rgba(8, 20, 31, .95);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: .625rem .75rem;
    margin: 0;
    z-index: 2;
    box-shadow: var(--shadow-md);
    transition: opacity .2s ease;
    pointer-events: none;
  }

  .page-products .shoot-zone:hover .shoot-zone-hint {
    opacity: 1;
  }
}

.page-products .shoot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 2rem 0 0;
}

.page-products .shoot-tag {
  background: rgba(91, 94, 166, .18);
  border: 1px solid rgba(91, 94, 166, .35);
  border-radius: 999px;
  color: var(--text);
  padding: .35rem .75rem;
  font-size: .75rem;
}

.page-products .search-demo {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
}

.page-products .search-demo-title {
  font-size: .8125rem;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.page-products .search-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-products .search-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.page-products .search-tab {
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  padding: .5rem 1rem;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 600;
  transition: border-color .2s ease, color .2s ease;
}

.page-products .search-tab:hover {
  border-color: rgba(232, 182, 91, .45);
  color: var(--gold);
}

.page-products .search-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.page-products .search-table th {
  text-align: left;
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .5rem .75rem .75rem;
  border-bottom: 1px solid var(--line);
}

.page-products .search-table td {
  padding: .75rem;
  font-size: .875rem;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
}

.page-products .search-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .search-demo-hint {
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.6;
  margin: 0;
}

.page-products #sd-football:checked ~ .search-table tbody tr[data-cat="basket"] {
  display: none;
}

.page-products #sd-basket:checked ~ .search-table tbody tr[data-cat="football"] {
  display: none;
}

.page-products .products-note {
  border-left: 3px solid var(--indigo);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(91, 94, 166, .08);
  padding: .875rem 1.25rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.8;
  max-width: 42rem;
}

.page-products .support-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.page-products .support-card {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.page-products .support-card:nth-child(2) {
  border-color: rgba(232, 182, 91, .4);
}

.page-products .support-card-title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.page-products .support-card-title::before {
  content: "";
  width: .5rem;
  height: .5rem;
  background: var(--gold);
  border-radius: 999px;
  display: inline-block;
  flex-shrink: 0;
}

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

.page-products .support-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: .5rem;
  font-size: .875rem;
}

.page-products .support-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}

.page-products .flow-steps {
  list-style: none;
  counter-reset: flow;
  margin: 2rem 0;
  padding: 0;
}

.page-products .flow-step {
  counter-increment: flow;
  position: relative;
  padding: 0 0 2.5rem 3.25rem;
  border-left: 1px solid var(--line);
  margin-left: 1rem;
}

.page-products .flow-step:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.page-products .flow-step::before {
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  left: -1.25rem;
  top: -.25rem;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--bg);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: .8125rem;
  color: var(--gold);
}

.page-products .flow-step-no {
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 .35rem;
}

.page-products .flow-step-title {
  font-size: 1.125rem;
  font-weight: 800;
  margin: 0 0 .5rem;
}

.page-products .flow-step-desc {
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.75;
  max-width: 36rem;
  margin: 0;
}

.page-products .flow-bottom {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

.page-products .products-figure-flow {
  margin: 0;
  max-width: 22rem;
  width: 100%;
}

.page-products .flow-qr {
  background:
    linear-gradient(135deg, rgba(232, 182, 91, .08), rgba(53, 211, 202, .05)),
    var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.page-products .flow-qr-title {
  font-weight: 800;
  margin: 0 0 .5rem;
}

.page-products .flow-qr-text {
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.8;
  margin: 0;
}

@media (min-width: 64rem) {
  .page-products .breadcrumb {
    margin-bottom: 3.5rem;
  }

  .page-products .products-layout {
    display: grid;
    grid-template-columns: var(--products-toc-w) minmax(0, 1fr);
    gap: clamp(3rem, 6vw, 5.5rem);
    align-items: start;
  }

  .page-products .products-toc {
    position: sticky;
    top: 2rem;
    margin-bottom: 0;
  }

  .page-products .products-section {
    padding: 5rem 0;
  }

  .page-products .products-section-head {
    gap: 2rem;
  }

  .page-products .products-section-no {
    font-size: 5.5rem;
    min-width: 6rem;
  }

  .page-products .products-section-title {
    font-size: 1.875rem;
  }

  .page-products .matrix-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
  }

  .page-products .matrix-card-shoot {
    transform: translateY(1.5rem);
  }

  .page-products .matrix-card-shoot:hover {
    transform: translateY(1.5rem) scale(1.02);
  }

  .page-products .matrix-card-search {
    grid-column: 2;
    margin-top: -1rem;
  }

  .page-products .matrix-wrap {
    grid-template-columns: minmax(0, 1.45fr) minmax(15rem, .75fr);
    gap: 2rem;
    align-items: start;
  }

  .page-products .ios-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr);
    gap: 3rem;
    align-items: start;
  }

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

  .page-products .flow-bottom {
    grid-template-columns: minmax(15rem, .8fr) 1fr;
    align-items: center;
  }
}

@media (min-width: 80rem) {
  .page-products .products-section-no {
    font-size: 6.5rem;
    min-width: 7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .matrix-card,
  .page-products .switch-demo-thumb,
  .page-products .switch-demo-track,
  .page-products .products-toc-link,
  .page-products .search-tab,
  .page-products .products-section-no,
  .page-products a {
    transition: none;
  }
}
