.page-products {
  --tilt: 2deg;
  --mod-gap: 26px;
}

.page-products .hero {
  padding-top: 6px;
}

.page-products .hero__kicker {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--kiwi-flesh-deep);
  margin: 0 0 12px;
}

.page-products h1 {
  font-size: clamp(28px, 7.2vw, 46px);
  line-height: 1.18;
  letter-spacing: -.02em;
  margin: 0 0 16px;
  max-width: 20ch;
}

.page-products .hero__text {
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--kiwi-seed);
  margin: 0;
}

.page-products .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-products .index-strip {
  margin: 28px 0 20px;
}

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

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

.page-products .fig--hero .figure__frame { aspect-ratio: 5 / 3; }
.page-products .fig--setpiece .figure__frame { aspect-ratio: 3 / 2; margin-top: 18px; }
.page-products .fig--shots .figure__frame { aspect-ratio: 7 / 4; margin-top: 18px; }
.page-products .fig--table .figure__frame { aspect-ratio: 5 / 6; margin-top: 18px; }
.page-products .fig--client .figure__frame { aspect-ratio: 4 / 3; }

.page-products .mod {
  position: relative;
  padding-block: 6px;
}

.page-products .mod__edge {
  display: block;
  height: 10px;
  margin: 0 0 24px;
  transform: skewY(calc(var(--tilt) * -1));
  transform-origin: left center;
  background: var(--kiwi-flesh);
}

.page-products .mod--neon .mod__edge { background: var(--neon); }
.page-products .mod--alert .mod__edge { background: var(--alert); }

.page-products .mod__grid {
  display: grid;
  gap: var(--mod-gap);
}

.page-products .mod__body .panel__label {
  display: inline-block;
  margin-bottom: 14px;
}

.page-products .mod__title {
  font-size: clamp(22px, 7vw, 30px);
  line-height: 1.25;
  letter-spacing: -.015em;
  margin: 0 0 14px;
}

.page-products .mod__text {
  font-size: 15.5px;
  line-height: 1.78;
  margin: 0 0 12px;
  max-width: 38ch;
  color: var(--kiwi-seed);
}

.page-products .tick-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 9px;
}

.page-products .tick-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.7;
}

.page-products .tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 10px;
  height: 10px;
  background: var(--kiwi-flesh);
}

.page-products .mod--neon .tick-list li::before { background: var(--neon); }
.page-products .mod--alert .tick-list li::before { background: var(--alert); }

/* 杯赛签表卡片 */
.page-products .bracket {
  display: grid;
  gap: 12px;
}

.page-products .bracket__round {
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--kiwi-flesh-deep);
  margin: 0 0 8px;
}

.page-products .bracket__col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.page-products .tie {
  border: var(--edge);
  background: var(--paper-card);
  box-shadow: 2px 3px 0 rgba(122, 84, 51, .16);
}

.page-products .tie[open] {
  background: var(--paper-grey);
}

.page-products .tie__head {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
}

.page-products .tie__head::-webkit-details-marker { display: none; }

.page-products .tie__sign {
  flex: 0 0 auto;
  padding: 2px 8px;
  background: var(--kiwi-flesh);
  color: var(--kiwi-seed);
  font-size: 11px;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}

.page-products .tie__sign--away {
  background: var(--kiwi-skin);
  color: var(--paper);
}

.page-products .tie__body {
  padding: 0 12px 12px;
  font-size: 13.5px;
  line-height: 1.7;
}

.page-products .tie__body p { margin: 0 0 6px; }

.page-products .tie__meta {
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--kiwi-skin);
  margin-top: 8px !important;
}

/* 定位球进度条 */
.page-products .meters {
  display: grid;
  gap: 14px;
}

.page-products .meter__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 6px;
}

.page-products .meter__top .mono {
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--kiwi-skin);
}

.page-products .meter__track {
  display: block;
  height: 14px;
  background: var(--paper-grey);
  border: var(--edge);
}

.page-products .meter__fill {
  display: block;
  height: 100%;
  background: var(--kiwi-flesh);
}

.page-products .meter--b .meter__fill { background: var(--neon); }
.page-products .meter--c .meter__fill { background: var(--alert); }

.page-products .meter__fill--w1 { width: 82%; }
.page-products .meter__fill--w2 { width: 58%; }
.page-products .meter__fill--w3 { width: 34%; }

/* 图表 */
.page-products .chart {
  display: block;
  width: 100%;
  height: auto;
  background: var(--paper-grey);
  border: var(--edge);
}

.page-products .chart__grid {
  stroke: rgba(122, 84, 51, .4);
  stroke-width: 1;
  stroke-dasharray: 4 5;
}

.page-products .chart__line {
  fill: none;
  stroke: var(--kiwi-flesh-deep);
  stroke-width: 3;
  stroke-linejoin: round;
}

.page-products .chart__dot {
  fill: var(--neon);
  stroke: var(--ink-green);
  stroke-width: 2;
}

.page-products .chart__axis {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  fill: var(--kiwi-seed);
}

.page-products .bars__home {
  fill: var(--mist);
  stroke: var(--kiwi-flesh-deep);
  stroke-width: 2;
}

.page-products .bars__away {
  fill: var(--kiwi-skin);
}

/* 模块组合选择器 */
.page-products .combo__title {
  font-size: clamp(22px, 7vw, 32px);
  line-height: 1.24;
  letter-spacing: -.015em;
  margin: 14px 0 12px;
}

.page-products .combo__lead {
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 1.78;
  margin: 0 0 24px;
}

.page-products .picker {
  display: grid;
  gap: 18px;
}

.page-products .picker__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-products .picker__tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.page-products .picker__tab {
  flex: 0 0 auto;
  padding: 10px 16px;
  border: var(--edge);
  background: var(--paper-card);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background-color .2s var(--ease);
}

.page-products .picker__tab:hover {
  background: var(--mist);
}

.page-products #role-fan:checked ~ label[for="role-fan"],
.page-products #role-local:checked ~ label[for="role-local"],
.page-products #role-org:checked ~ label[for="role-org"] {
  background: var(--kiwi-flesh);
  color: var(--kiwi-seed);
  box-shadow: 2px 3px 0 rgba(122, 84, 51, .2);
}

.page-products #role-fan:focus-visible ~ label[for="role-fan"],
.page-products #role-local:focus-visible ~ label[for="role-local"],
.page-products #role-org:focus-visible ~ label[for="role-org"] {
  outline: 2px solid var(--kiwi-flesh-deep);
  outline-offset: 2px;
}

.page-products .picker__panel {
  display: grid;
  gap: 8px;
  border: var(--edge);
  background: var(--paper-card);
  padding: 20px 18px;
  box-shadow: var(--shadow-paper);
}

.page-products .picker__panel h3 {
  font-size: 19px;
  margin: 0;
  letter-spacing: -.01em;
}

.page-products .picker__panel p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
}

.page-products .picker__tabs:has(#role-fan:checked) ~ .picker__panels #panel-local,
.page-products .picker__tabs:has(#role-fan:checked) ~ .picker__panels #panel-org,
.page-products .picker__tabs:has(#role-local:checked) ~ .picker__panels #panel-fan,
.page-products .picker__tabs:has(#role-local:checked) ~ .picker__panels #panel-org,
.page-products .picker__tabs:has(#role-org:checked) ~ .picker__panels #panel-fan,
.page-products .picker__tabs:has(#role-org:checked) ~ .picker__panels #panel-local {
  display: none;
}

/* 收口 */
.page-products .cta-band__inner {
  background: var(--ink-green);
  color: var(--paper);
  border: var(--edge);
  box-shadow: var(--shadow-paper);
  padding: 28px 20px;
  background-image: repeating-linear-gradient(120deg, rgba(47, 216, 200, .07) 0 2px, transparent 2px 11px);
}

.page-products .cta-band__kicker {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--neon);
  margin: 0 0 10px;
}

.page-products .cta-band h2 {
  font-size: clamp(21px, 6.4vw, 30px);
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--paper);
}

.page-products .cta-band p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.75;
  max-width: 48ch;
  color: rgba(247, 242, 229, .9);
}

.page-products .cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 700px) {
  .page-products .bracket {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .page-products .bracket__col:nth-child(2) { padding-top: 26px; }
  .page-products .bracket__col:nth-child(3) { padding-top: 52px; }

  .page-products .picker__panel { padding: 24px 22px; }
}

@media (min-width: 900px) {
  .page-products {
    --mod-gap: 44px;
  }

  .page-products .mod__grid {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }

  .page-products .mod--flip .mod__grid {
    grid-template-columns: 7fr 5fr;
  }

  .page-products .mod--flip .mod__visual { order: 2; }
  .page-products .mod--flip .mod__body { order: 1; }

  .page-products .hero__lead { max-width: 720px; }

  .page-products .fig--table .figure__frame { aspect-ratio: 5 / 6; }
}

@media (min-width: 1120px) {
  .page-products h1 { font-size: 48px; }
  .page-products .mod__title { font-size: 32px; }
}

.js .page-products [data-reveal][data-visible] {
  animation: prod-rise .22s var(--ease) both;
}

@keyframes prod-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .page-products [data-reveal][data-visible] { animation: none; }
  .page-products .picker__tab { transition: none; }
}
