.page-products {
  --sheet-y: clamp(52px, 7.5vw, 100px);
  --panel-line: rgba(18, 51, 42, 0.85);
}

/* 首屏 */
.page-products .tools-hero {
  padding-block: clamp(20px, 3vw, 36px) 0;
}

.page-products .tools-hero__frame {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4.2vw, 56px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(47, 240, 200, 0.13), transparent 58%),
    linear-gradient(158deg, var(--ink-cabin), var(--ink) 72%);
}

.page-products .tools-hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.035) 0 1px,
    transparent 1px 7px
  );
  mask-image: linear-gradient(180deg, transparent 55%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 55%, #000 100%);
}

.page-products .tools-hero__frame > * {
  position: relative;
  z-index: 1;
}

.page-products .tools-hero h1 {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--paper);
  max-width: 20em;
}

.page-products .tools-hero__lead {
  margin: 18px 0 0;
  max-width: 46em;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.78;
  color: var(--mist);
}

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

.page-products .tools-hero__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rail-line);
}

.page-products .tools-hero__facts li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rail-line);
}

.page-products .tools-hero__num {
  font-family: var(--font-mono);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.01em;
  min-width: 4.4em;
}

.page-products .tools-hero__label {
  font-size: 14px;
  color: var(--mist);
}

/* 面板通用 */
.page-products .sheet {
  padding-block: var(--sheet-y);
}

.page-products .sheet--alt {
  background: var(--ink-cabin);
}

.page-products .sheet__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.page-products .sheet__body {
  position: relative;
  padding-left: 20px;
}

.page-products .sheet__body::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(47, 240, 200, 0));
}

.page-products .sheet__body--wide {
  max-width: 62em;
}

.page-products .sheet__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-products .sheet__body h2,
.page-products .compare__head h2,
.page-products .closer h2 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.6vw, 36px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-products .sheet__note {
  margin: 16px 0 0;
  max-width: 42em;
  font-size: 15.5px;
  line-height: 1.82;
  color: var(--mist);
}

.page-products .sheet__tip {
  margin: 20px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--orange);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--slate);
}

/* 筛选标签 */
.page-products .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .chips li {
  padding: 7px 15px;
  border: 1px solid var(--rail-line);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--mist);
}

.page-products .chips .is-on {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
  font-weight: 700;
}

/* 要点列表 */
.page-products .points {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .points li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.page-products .points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
}

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

/* 示意图容器 */
.page-products .sheet__figure {
  margin: 0;
}

.page-products .shot {
  position: relative;
  padding: 10px;
  border: 1px solid var(--rail-line);
  border-radius: var(--radius-md);
  background: var(--ink);
}

.page-products .shot::before,
.page-products .shot::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid var(--cyan);
  opacity: 0.7;
}

.page-products .shot::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: var(--radius-md);
}

.page-products .shot::after {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: var(--radius-md);
}

.page-products .media {
  overflow: hidden;
  border-radius: var(--radius-sm);
}

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

.page-products .sheet__figure figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
}

/* 旧版本步骤 */
.page-products .steps {
  position: relative;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .steps::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 30px;
  bottom: 30px;
  border-left: 1px dashed var(--rail-line);
}

.page-products .steps__item {
  position: relative;
  padding: 18px 0 18px 60px;
  border-top: 1px solid var(--panel-line);
}

.page-products .steps__item:last-child {
  border-bottom: 1px solid var(--panel-line);
}

.page-products .steps__num {
  position: absolute;
  left: 0;
  top: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 30px;
  border: 1px solid rgba(47, 240, 200, 0.4);
  border-radius: var(--radius-pill);
  background: rgba(47, 240, 200, 0.12);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cyan);
  z-index: 1;
}

.page-products .steps__item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--paper);
}

.page-products .steps__item p {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--mist);
}

/* 三端对照 */
.page-products .compare__head {
  position: relative;
  padding-left: 20px;
  max-width: 44em;
}

.page-products .compare__head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(47, 240, 200, 0));
}

.page-products .compare__figure {
  margin: 32px 0 0;
}

.page-products .spec-wrap {
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid var(--rail-line);
  border-radius: var(--radius-md);
  background: var(--ink-cabin);
  -webkit-overflow-scrolling: touch;
}

.page-products .spec-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 14.5px;
}

.page-products .spec-table thead th {
  padding: 14px 16px;
  border-bottom: 1px solid var(--rail-line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  color: var(--slate);
  white-space: nowrap;
}

.page-products .spec-table thead th:first-child {
  color: var(--cyan);
}

.page-products .spec-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  padding: 14px 16px;
  border-bottom: 1px solid var(--panel-line);
  background: var(--ink-cabin);
  font-weight: 600;
  text-align: left;
  color: var(--paper);
  white-space: nowrap;
}

.page-products .spec-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--panel-line);
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--mist);
  white-space: nowrap;
}

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

.page-products .compare__tip {
  margin: 18px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--slate);
}

/* 收尾 */
.page-products .closer {
  padding-block: clamp(48px, 7vw, 92px);
  background:
    radial-gradient(100% 140% at 0% 0%, rgba(255, 138, 61, 0.1), transparent 60%),
    linear-gradient(180deg, var(--ink-cabin), var(--ink));
}

.page-products .closer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
}

.page-products .closer__note {
  margin: 14px 0 0;
  max-width: 38em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

.page-products .closer__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.page-products .closer__link {
  font-size: 13.5px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 240, 200, 0.4);
  padding-bottom: 2px;
}

.page-products .closer__link:hover,
.page-products .closer__link:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

/* 焦点可视 */
.page-products a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* 中屏 */
@media (min-width: 720px) {
  .page-products .tools-hero__facts {
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--rail-line);
  }

  .page-products .tools-hero__facts li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 18px 20px 18px 0;
    border-bottom: 0;
    border-right: 1px solid var(--rail-line);
  }

  .page-products .tools-hero__facts li:last-child {
    border-right: 0;
  }

  .page-products .points--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 28px;
  }
}

/* 桌面：研究板双栏 */
@media (min-width: 900px) {
  .page-products .sheet__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(36px, 5vw, 76px);
  }

  .page-products .sheet--media-left .sheet__figure {
    order: -1;
  }

  .page-products .sheet__body {
    padding-left: 26px;
  }

  .page-products .closer__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 40px;
  }

  .page-products .closer__actions {
    justify-content: flex-end;
  }

  .page-products .closer__link {
    flex-basis: 100%;
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
