.page-products {
  --prod-rail: 204px;
  --prod-node: 38px;
  --prod-shadow: 8px 8px 0 rgba(0, 0, 0, .45);
}

/* ---------- 首屏 ---------- */

.page-products .prod-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(26px, 4.4vw, 58px) 0 clamp(34px, 5.6vw, 72px);
  border-bottom: 1px solid var(--line);
}

.page-products .prod-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -20%;
  right: -22%;
  width: min(780px, 92vw);
  height: 138%;
  background: linear-gradient(150deg, rgba(53, 242, 208, .16), rgba(14, 107, 94, .06) 46%, transparent 74%);
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-products .prod-hero::after {
  content: "43";
  position: absolute;
  z-index: -1;
  right: clamp(-8px, 1.5vw, 26px);
  bottom: -.2em;
  font-family: var(--font-display);
  font-size: clamp(150px, 28vw, 360px);
  font-weight: 700;
  line-height: .76;
  letter-spacing: -.05em;
  color: rgba(53, 242, 208, .07);
  pointer-events: none;
  user-select: none;
}

.page-products .prod-hero__inner {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

@media (min-width: 960px) {
  .page-products .prod-hero__inner {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    align-items: end;
  }
}

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

.page-products .prod-hero__title {
  margin: 12px 0 0;
  font-size: clamp(38px, 8.6vw, 92px);
  line-height: .94;
  letter-spacing: -.015em;
}

.page-products .prod-hero__lede {
  margin: 20px 0 0;
  max-width: 60ch;
  color: var(--mist);
  font-size: 15.5px;
  line-height: 1.88;
}

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

.page-products .prod-hero__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .prod-fact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px;
  padding: 14px 14px 16px;
  background: var(--ink);
}

.page-products .prod-fact .stat__value {
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1;
  color: var(--cyan);
}

.page-products .prod-fact .stat__unit {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--mist);
}

.page-products .prod-fact .stat__label {
  flex: 1 1 100%;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
}

/* ---------- 三档方案 ---------- */

.page-products .prod-plans__head {
  max-width: 720px;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.page-products .prod-plans__intro {
  margin: 14px 0 0;
  color: var(--mist);
  line-height: 1.82;
}

.page-products .prod-plans__grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 26px);
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 720px) {
  .page-products .prod-plans__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .page-products .prod-plans__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.page-products .plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.6vw, 30px);
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: var(--prod-shadow);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.page-products .plan::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 4px;
  background: var(--cyan);
}

.page-products .plan--feed::before {
  background: var(--amber);
}

.page-products .plan--studio::before {
  background: var(--white);
}

.page-products .plan:hover,
.page-products .plan:focus-within {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 12px 14px 0 rgba(53, 242, 208, .16);
}

.page-products .plan__tier {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--mist);
}

.page-products .plan__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 30px);
  line-height: 1.1;
  letter-spacing: .01em;
}

.page-products .plan__for {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--mist);
}

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

.page-products .plan__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--white);
}

.page-products .plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  transform: rotate(45deg);
}

.page-products .plan--feed .plan__list li::before {
  background: var(--amber);
}

.page-products .plan--studio .plan__list li::before {
  background: var(--white);
}

.page-products .plan__get {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--cyan);
}

.page-products .plan__link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color .2s ease;
}

.page-products .plan__link:hover {
  color: var(--amber);
}

/* ---------- 字段树 ---------- */

.page-products .prod-tree__intro {
  max-width: 700px;
  margin-bottom: clamp(22px, 3.6vw, 40px);
}

.page-products .prod-tree__lede {
  margin: 14px 0 0;
  color: var(--mist);
  line-height: 1.82;
}

.page-products .prod-tree__body {
  display: grid;
  gap: 22px;
}

@media (min-width: 1024px) {
  .page-products .prod-tree__body {
    grid-template-columns: var(--prod-rail) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
  }
}

.page-products .prod-rail__label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--mist);
}

.page-products .prod-rail__list {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.page-products .prod-rail__list::-webkit-scrollbar {
  display: none;
}

.page-products .prod-rail__item {
  flex: 0 0 auto;
}

.page-products .prod-rail__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--mist);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.page-products .prod-rail__no {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: .85;
}

.page-products .prod-rail__link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.page-products .prod-rail__link.is-active {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(53, 242, 208, .1);
}

@media (min-width: 1024px) {
  .page-products .prod-rail {
    position: sticky;
    top: 108px;
  }

  .page-products .prod-rail__list {
    flex-direction: column;
    overflow: visible;
    padding: 0;
    gap: 0;
    border-left: 1px solid var(--line);
  }

  .page-products .prod-rail__item {
    flex: 1 1 auto;
  }

  .page-products .prod-rail__link {
    width: 100%;
    margin-left: -1px;
    padding: 13px 12px 13px 18px;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    white-space: normal;
    line-height: 1.5;
  }

  .page-products .prod-rail__link:hover {
    color: var(--white);
    border-left-color: var(--line);
    background: rgba(232, 237, 238, .04);
  }

  .page-products .prod-rail__link.is-active {
    color: var(--cyan);
    border-left-color: var(--cyan);
    background: linear-gradient(90deg, rgba(53, 242, 208, .12), transparent 82%);
  }
}

.page-products .branch {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  scroll-margin-top: 104px;
  transition: border-left-color .5s ease;
}

.page-products .branch + .branch {
  margin-top: clamp(18px, 2.6vw, 30px);
}

.page-products .branch.is-in {
  border-left-color: var(--cyan);
}

.page-products .branch__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 5px 14px;
  margin-bottom: 16px;
}

.page-products .branch__no {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--prod-node);
  height: var(--prod-node);
  border: 2px solid var(--amber);
  background: var(--ink);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
}

.page-products .branch__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(21px, 3vw, 28px);
  line-height: 1.12;
  letter-spacing: .01em;
}

.page-products .branch__kicker {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mist);
}

.page-products .branch__text {
  margin: 0 0 16px;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.84;
  color: var(--white);
}

.page-products .branch__text:last-child {
  margin-bottom: 0;
}

.page-products .branch__split {
  display: grid;
  gap: clamp(18px, 2.6vw, 30px);
}

@media (min-width: 860px) {
  .page-products .branch__split--media {
    grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
    align-items: start;
  }

  .page-products .branch__split--media-left {
    grid-template-columns: minmax(0, .58fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* ---------- 表格 ---------- */

.page-products .branch .table-scroll {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}

.page-products .metric-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .metric-table th,
.page-products .metric-table td {
  padding: 11px 14px;
  text-align: left;
  line-height: 1.6;
  border-bottom: 1px solid var(--line);
}

.page-products .metric-table thead th {
  background: var(--ink);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--mist);
}

.page-products .metric-table tbody th {
  font-weight: 600;
  color: var(--white);
}

.page-products .metric-table tbody tr:nth-child(even) {
  background: var(--teal-ink);
}

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

.page-products .metric-table .num {
  font-family: var(--font-mono);
  color: var(--cyan);
  white-space: nowrap;
}

/* ---------- 图片 ---------- */

.page-products .prod-shot {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--ink);
  overflow: hidden;
}

.page-products .prod-shot img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  filter: saturate(.82) contrast(1.04);
}

.page-products .prod-shot__caption {
  display: block;
  padding: 10px 13px;
  border-top: 1px solid var(--line);
  background: var(--ink);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  color: var(--mist);
}

.page-products .prod-shot--wide {
  margin-bottom: 18px;
}

/* ---------- 战报订阅卡片 ---------- */

.page-products .feed-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

@media (min-width: 640px) {
  .page-products .feed-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.page-products .feed-card {
  padding: 16px 18px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-top: 3px solid var(--cyan-deep);
}

.page-products .feed-card__tag {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--amber);
}

.page-products .feed-card__name {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.42;
  color: var(--white);
}

.page-products .feed-card__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 裁判名单 ---------- */

.page-products .ref-list {
  margin: 14px 0 0;
  display: grid;
  border-top: 1px solid var(--line);
}

@media (min-width: 700px) {
  .page-products .ref-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-left: 1px solid var(--line);
  }
}

.page-products .ref-item {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 700px) {
  .page-products .ref-item {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
}

.page-products .ref-item__role {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: .02em;
  color: var(--white);
}

.page-products .ref-item__meta {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 场馆图 ---------- */

.page-products .prod-venue {
  position: relative;
  margin: 0 0 20px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.page-products .prod-venue img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: clamp(190px, 30vw, 320px);
  object-fit: cover;
  filter: saturate(.7) brightness(.84);
}

.page-products .prod-venue__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px 14px;
  background: rgba(11, 13, 14, .84);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--mist);
}

/* ---------- 奶油纸接口块 ---------- */

.page-products .api-block {
  margin-top: 22px;
  padding: clamp(20px, 3vw, 30px);
  background: var(--cream);
  color: var(--brown);
  border: 2px solid var(--brown);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, .55);
}

.page-products .api-block__eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--amber-ink);
}

.page-products .api-block__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.6vw, 24px);
  line-height: 1.22;
  color: var(--brown);
}

.page-products .api-block__text {
  margin: 0;
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--brown);
}

.page-products .api-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid rgba(42, 32, 24, .28);
}

.page-products .api-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(42, 32, 24, .28);
}

.page-products .api-item__dot {
  grid-row: span 2;
  width: 9px;
  height: 9px;
  background: var(--cyan-deep);
  transform: translateY(4px);
}

.page-products .api-item__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--brown);
}

.page-products .api-item__desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(42, 32, 24, .74);
}

.page-products .api-block__foot {
  margin: 18px 0 0;
  font-size: 13.5px;
}

.page-products .api-block__link {
  color: var(--brown);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--amber-ink);
  transition: color .2s ease, border-color .2s ease;
}

.page-products .api-block__link:hover {
  color: var(--amber-ink);
  border-color: var(--brown);
}

/* ---------- 收尾 ---------- */

.page-products .prod-start {
  border-top: 1px solid var(--line);
}

.page-products .prod-start__inner {
  display: grid;
  gap: 24px;
}

@media (min-width: 860px) {
  .page-products .prod-start__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
  }
}

.page-products .prod-start__lead {
  max-width: 660px;
}

.page-products .prod-start__text {
  margin: 12px 0 0;
  color: var(--mist);
  line-height: 1.82;
}

.page-products .prod-start__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
