.page-products {
  --pp-block: clamp(76px, 8vw, 128px);
  --pp-gap: clamp(20px, 2.8vw, 40px);
  --pp-radius: 22px;
}

.page-products .breadcrumb {
  padding-top: clamp(20px, 3vw, 36px);
}

/* ---------- 首屏 ---------- */
.page-products .p-hero {
  padding-top: clamp(28px, 4vw, 54px);
  padding-bottom: var(--pp-block);
}

.page-products .p-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pp-gap);
  align-items: center;
}

.page-products .p-hero__title {
  margin: 14px 0 0;
  font-family: var(--font-head);
  font-weight: 250;
  font-size: clamp(38px, 7vw, 82px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--c-deep);
  max-width: 15ch;
}

.page-products .p-hero__text {
  margin: 22px 0 0;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.75;
  color: var(--c-deep);
}

.page-products .p-hero .btn-row {
  margin-top: 30px;
}

.page-products .p-hero__note {
  margin: 36px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-slate);
}

.page-products .p-hero__visual {
  position: relative;
  min-height: clamp(240px, 34vw, 360px);
  border-radius: var(--pp-radius);
  background: var(--c-wave);
  overflow: hidden;
}

.page-products .p-hero__visual::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -64px;
  width: 220px;
  height: 220px;
  border-radius: 48% 52% 40% 60% / 55% 42% 58% 45%;
  background: rgba(14, 143, 166, 0.18);
}

.page-products .sheet {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--c-paper);
  box-shadow: 0 12px 28px rgba(10, 39, 51, 0.1);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-slate);
}

.page-products .sheet b {
  font-family: var(--font-index);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-deep);
}

.page-products .sheet--old {
  left: 7%;
  top: 20%;
  width: 46%;
  border-inline-start: 4px solid var(--c-slate);
  transform: rotate(-1.5deg);
}

.page-products .sheet--new {
  right: 7%;
  top: 42%;
  width: 46%;
  border-inline-start: 4px solid var(--c-coral);
  transform: rotate(1.5deg);
}

/* ---------- 工具说明 ---------- */
.page-products .tool-brief {
  padding-bottom: var(--pp-block);
}

.page-products .sec-title {
  margin: 10px 0 0;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--c-deep);
  max-width: 24ch;
}

.page-products .brief-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pp-gap);
  margin-top: clamp(24px, 3vw, 42px);
}

.page-products .brief-lead {
  margin: 0;
  max-width: 44ch;
  font-size: 20px;
  line-height: 1.7;
  color: var(--c-deep);
}

.page-products .brief-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-products .brief-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--c-line);
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-slate);
}

.page-products .brief-list li:first-child {
  border-top-color: var(--c-line-strong);
}

.page-products .brief-list p {
  margin: 0;
}

.page-products .idx {
  font-family: var(--font-index);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-sea);
  padding-top: 4px;
}

/* ---------- 对照工作面 ---------- */
.page-products .compare-sec {
  padding-bottom: var(--pp-block);
}

.page-products .sec-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pp-gap);
  align-items: end;
  margin-bottom: clamp(28px, 3.4vw, 50px);
}

.page-products .sec-head__text {
  margin: 16px 0 0;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-slate);
}

.page-products .sec-head__figure,
.page-products .media-figure {
  margin: 0;
}

.page-products .compare {
  position: relative;
}

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

.page-products .compare__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.page-products .compare__bar-label {
  margin-inline-end: 6px;
  font-family: var(--font-index);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-slate);
}

.page-products .compare__pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 1px solid var(--c-line-sea);
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--c-sea-deep);
  cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}

.page-products .compare__pill:hover {
  background: rgba(14, 143, 166, 0.08);
}

.page-products #cmp-all:checked ~ .compare__bar .compare__pill[for="cmp-all"],
.page-products #cmp-diff:checked ~ .compare__bar .compare__pill[for="cmp-diff"] {
  background: var(--c-sea);
  border-color: var(--c-sea);
  color: var(--c-paper);
}

.page-products #cmp-all:focus-visible ~ .compare__bar .compare__pill[for="cmp-all"],
.page-products #cmp-diff:focus-visible ~ .compare__bar .compare__pill[for="cmp-diff"] {
  outline: 2px solid var(--c-coral);
  outline-offset: 2px;
}

.page-products #cmp-diff:checked ~ .compare__board .crow--same {
  display: none;
}

.page-products .compare__board {
  border-top: 1px solid var(--c-line-strong);
}

.page-products .crow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 26px;
  padding: 18px 0 18px 16px;
  border-bottom: 1px solid var(--c-line);
  border-inline-start: 3px solid transparent;
  transition: background-color 160ms var(--ease);
}

.page-products .crow__head {
  display: none;
}

.page-products .crow--diff {
  border-inline-start-color: var(--c-coral);
}

.page-products .crow--diff::before {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-start: -7px;
  width: 7px;
  height: 7px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--c-coral);
}

.page-products .crow--diff:hover {
  background: rgba(255, 106, 77, 0.06);
}

.page-products .crow--same {
  opacity: 0.56;
}

.page-products .crow__name {
  margin: 0;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-sea-deep);
}

.page-products .crow__cell {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-slate);
}

.page-products .crow__cell--new {
  color: var(--c-deep);
}

.page-products .crow__cell b {
  font-family: var(--font-index);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-deep);
}

.page-products .crow__field {
  display: none;
}

/* ---------- 四类维度 ---------- */
.page-products .dims {
  padding-bottom: var(--pp-block);
}

.page-products .dims__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: clamp(26px, 3vw, 46px);
  border-top: 1px solid var(--c-line-strong);
}

.page-products .dim {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line);
}

.page-products .dim__no {
  font-family: var(--font-index);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-sea);
  padding-top: 6px;
}

.page-products .dim__name {
  margin: 0;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--c-deep);
}

.page-products .dim__text {
  margin: 10px 0 0;
  max-width: 40ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-slate);
}

.page-products .dim__more {
  grid-column: 2;
  margin-top: 12px;
}

.page-products .dim__more summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-index);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-coral-deep);
}

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

.page-products .dim__more summary::before {
  content: "＋ ";
}

.page-products .dim__more[open] summary::before {
  content: "－ ";
}

.page-products .dim__more p {
  margin: 10px 0 0;
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-slate);
}

/* ---------- 机型矩阵 ---------- */
.page-products .matrix-sec {
  padding-bottom: var(--pp-block);
}

.page-products .sec-head--stack {
  align-items: start;
}

.page-products .matrix-wrap {
  overflow-x: auto;
  margin-top: clamp(24px, 3vw, 40px);
}

.page-products .matrix {
  width: 100%;
  min-width: 640px;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 15px;
}

.page-products .matrix caption {
  caption-side: top;
  text-align: start;
  padding-bottom: 14px;
  font-family: var(--font-index);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-slate);
}

.page-products .matrix th,
.page-products .matrix td {
  padding: 16px 14px;
  text-align: start;
  vertical-align: top;
  line-height: 1.6;
  border-bottom: 1px solid var(--c-line);
}

.page-products .matrix thead th {
  font-family: var(--font-index);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--c-deep);
  border-bottom: 1px solid var(--c-line-strong);
}

.page-products .matrix tbody tr:nth-child(odd) {
  background: var(--c-wave);
}

.page-products .matrix tbody th {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--c-deep);
}

.page-products .matrix tbody th:focus-visible {
  outline: 2px solid var(--c-coral);
  outline-offset: -3px;
}

.page-products .matrix tbody tr:focus-within {
  background: var(--c-coral);
}

.page-products .matrix tbody tr:focus-within th,
.page-products .matrix tbody tr:focus-within td {
  color: var(--c-paper);
}

.page-products .matrix b {
  font-family: var(--font-index);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-products .matrix-note {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-slate);
}

.page-products .portable {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pp-gap);
  align-items: center;
  margin-top: clamp(38px, 4.4vw, 68px);
}

.page-products .portable__figure .media {
  max-width: 320px;
}

.page-products .portable__text h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--c-deep);
}

.page-products .portable__text p {
  margin: 14px 0 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-slate);
}

/* ---------- 第三栏入口 ---------- */
.page-products .starter {
  background: var(--c-wave);
  padding-top: clamp(52px, 6vw, 88px);
  padding-bottom: clamp(52px, 6vw, 88px);
}

.page-products .starter__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pp-gap);
  align-items: center;
}

.page-products .starter__figure .media {
  max-width: 340px;
}

.page-products .starter__list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .starter__list li {
  position: relative;
  padding-inline-start: 20px;
  max-width: 48ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-deep);
}

.page-products .starter__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-coral);
}

.page-products .starter .btn {
  margin-top: 28px;
}

/* ---------- 导出 ---------- */
.page-products .export {
  padding-top: clamp(52px, 6vw, 88px);
  padding-bottom: var(--pp-block);
}

.page-products .export__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pp-gap);
  align-items: center;
}

.page-products .export__para {
  margin: 16px 0 0;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-deep);
}

.page-products .export__meta {
  margin: 20px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
  max-width: 56ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-slate);
}

/* ---------- 响应式 ---------- */
@media (min-width: 860px) {
  .page-products .crow {
    grid-template-columns: minmax(108px, 0.8fr) 1fr 1fr;
    align-items: baseline;
  }

  .page-products .crow__head {
    display: grid;
    padding: 12px 0 12px 16px;
    font-family: var(--font-index);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--c-slate);
  }

  .page-products .crow__field {
    display: block;
    position: absolute;
    top: 4px;
    inset-inline-end: 6px;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: rgba(255, 253, 247, 0.9);
    font-family: var(--font-index);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--c-coral-deep);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms var(--ease);
  }

  .page-products .crow--diff:hover .crow__field,
  .page-products .crow--diff:focus-within .crow__field {
    opacity: 1;
  }

  .page-products .dims__list {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(32px, 5vw, 76px);
  }

  .page-products .dim:nth-child(even) {
    margin-top: 34px;
  }

  .page-products .portable {
    grid-template-columns: minmax(0, 3fr) minmax(0, 5fr);
  }

  .page-products .starter__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }

  .page-products .export__grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  }
}

@media (min-width: 900px) {
  .page-products .p-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: flex-end;
  }

  .page-products .brief-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-products .sec-head {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  }
}

@media (max-width: 599px) {
  .page-products .sheet {
    padding: 13px 15px;
  }

  .page-products .sheet b {
    font-size: 18px;
  }

  .page-products .p-hero__visual {
    min-height: 260px;
  }

  .page-products .crow {
    padding-inline-start: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .compare__pill,
  .page-products .crow,
  .page-products .crow__field {
    transition: none;
  }

  .page-products .sheet--old,
  .page-products .sheet--new {
    transform: none;
  }
}
