.page-products {
  --pc-line: rgba(11, 31, 58, 0.13);
  --pc-line-strong: rgba(11, 31, 58, 0.26);
  --pc-paper: rgba(216, 210, 198, 0.34);
  --pc-shadow: 0 12px 30px rgba(11, 31, 58, 0.10);
  padding-bottom: 0;
}

.page-products [data-tone="signal"] { --tone: #FF6A00; }
.page-products [data-tone="moss"]   { --tone: #5C7A52; }
.page-products [data-tone="teal"]   { --tone: #0E7C6B; }
.page-products [data-tone="magenta"]{ --tone: #C2185B; }
.page-products [data-tone="clay"]   { --tone: #C4552E; }
.page-products [data-tone="yellow"] { --tone: #FFC400; }

/* ---------- 首屏 ---------- */
.page-products .cat-hero {
  position: relative;
  overflow: hidden;
  padding: 6px 0 40px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 106, 0, 0.10), transparent 62%),
    var(--paper);
}

.page-products .cat-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -40px;
  width: 62%;
  height: 170px;
  background: linear-gradient(100deg, transparent, rgba(255, 106, 0, 0.14));
  transform: skewY(-6deg);
  pointer-events: none;
}

.page-products .cat-hero__inner {
  position: relative;
  z-index: 1;
}

.page-products .cat-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 8.4vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 10px 0 18px;
  max-width: 22ch;
}

.page-products .cat-hero .lede {
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.8;
  color: var(--graphite);
  margin: 0;
}

.page-products .cat-hero__stats {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--pc-line);
  border: 1px solid var(--pc-line);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.page-products .cat-hero__stats li {
  background: var(--white);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-products .cat-stat__num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.page-products .cat-stat__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

/* ---------- 章节通用 ---------- */
.page-products .cat-section {
  padding: 44px 0;
}

.page-products .cat-section--rock {
  background: linear-gradient(180deg, rgba(216, 210, 198, 0.46), rgba(216, 210, 198, 0.14));
}

.page-products .cat-section--ink {
  background: var(--ink);
  color: rgba(246, 241, 231, 0.84);
}

.page-products .cat-section__head {
  max-width: 68ch;
}

.page-products .cat-section__head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 5.6vw, 40px);
  line-height: 1.2;
  color: var(--ink);
  margin: 8px 0 14px;
}

.page-products .cat-section__lede {
  font-size: 16px;
  line-height: 1.8;
  color: var(--mist);
  margin: 0;
}

.page-products .cat-section--ink h2 { color: var(--white); }
.page-products .cat-section--ink .cat-section__lede { color: rgba(246, 241, 231, 0.78); }
.page-products .cat-section--ink .eyebrow { color: var(--yellow); }

/* ---------- 目录总览 ---------- */
.page-products .cat-filter {
  margin-top: 26px;
}

.page-products .filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.page-products .cat-index {
  display: grid;
  gap: 26px;
}

.page-products .cat-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .cat-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding: 13px 16px;
  background: var(--white);
  border: 1px solid var(--pc-line);
  border-left: 4px solid var(--tone, var(--mist));
  border-radius: var(--radius-s);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.page-products .cat-row:hover,
.page-products .cat-row:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--pc-shadow);
}

.page-products .cat-row__dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--tone, var(--mist));
}

.page-products .cat-row__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-products .cat-row__name {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.page-products .cat-row__scope {
  flex-basis: 100%;
  font-size: 14px;
  line-height: 1.65;
  color: var(--mist);
}

.page-products .cat-index__aside {
  margin: 0;
}

.page-products .cat-index__aside img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-m);
}

.page-products .cat-index__aside figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 三级标签 ---------- */
.page-products .tier-grid {
  display: grid;
  gap: 26px;
  margin-top: 28px;
}

.page-products .tier-stack {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.page-products .tier-pill {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  padding: 14px 18px;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 100%;
}

.page-products .tier-pill span {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0;
  opacity: 0.75;
}

.page-products .tier-pill--1 {
  width: 100%;
  background: var(--ink);
  color: var(--white);
}

.page-products .tier-pill--1 span { color: rgba(246, 241, 231, 0.75); }

.page-products .tier-pill--2 {
  width: 86%;
  background: rgba(14, 124, 107, 0.08);
  border: 2px solid var(--teal);
  color: var(--teal);
}

.page-products .tier-pill--3 {
  width: 72%;
  background: rgba(255, 196, 0, 0.26);
  border: 1px solid rgba(255, 196, 0, 0.9);
  color: var(--graphite);
}

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

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

/* ---------- 栏目对照表 ---------- */
.page-products .cat-table-wrap {
  margin-top: 26px;
  overflow-x: auto;
}

.page-products .cat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.page-products .cat-table__caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
  padding-bottom: 12px;
}

.page-products .cat-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--mist);
  padding: 10px 12px;
  border-bottom: 2px solid var(--pc-line-strong);
  white-space: nowrap;
}

.page-products .cat-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--pc-line);
  vertical-align: top;
  line-height: 1.65;
  color: var(--graphite);
}

.page-products .cat-table tbody tr:nth-child(even) {
  background: rgba(216, 210, 198, 0.28);
}

.page-products .cat-table__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.page-products .cat-table__dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--tone, var(--mist));
}

/* ---------- 移动端公告 ---------- */
.page-products .notice-split {
  display: grid;
  gap: 28px;
}

.page-products .notice-points {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .notice-points li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(246, 241, 231, 0.86);
}

.page-products .notice-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 2px;
  background: var(--yellow);
}

.page-products .notice-split__link {
  margin: 22px 0 0;
}

.page-products .notice-split__link a {
  color: var(--signal);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 106, 0, 0.45);
  padding-bottom: 2px;
}

.page-products .notice-split__link a:hover {
  border-bottom-color: var(--signal);
}

.page-products .notice-split__media {
  margin: 0 auto;
  max-width: 290px;
  width: 100%;
}

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

.page-products .cat-section--ink .media__caption {
  color: rgba(246, 241, 231, 0.68);
}

/* ---------- 变更记录 ---------- */
.page-products .change-figure {
  margin: 26px 0 0;
}

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

.page-products .change-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .change-item {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: baseline;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--pc-line);
  border-radius: var(--radius-s);
}

.page-products .change-item__tag {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: rgba(255, 196, 0, 0.42);
  border-radius: 4px;
  padding: 3px 8px;
}

.page-products .change-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--graphite);
  flex: 1 1 240px;
}

.page-products .change-note {
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
  max-width: 66ch;
}

/* ---------- 我的路径 ---------- */
.page-products .path-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-products .path-grid__media {
  margin: 0;
}

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

.page-products .path-grid__text h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(23px, 5.4vw, 36px);
  line-height: 1.22;
  color: var(--ink);
  margin: 8px 0 14px;
}

.page-products .path-points {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

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

.page-products .path-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
}

/* ---------- 联系入口 ---------- */
.page-products .entry-cards {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-products .entry-card {
  padding: 24px 22px;
  background: var(--white);
  border: 1px solid var(--pc-line);
  border-top: 4px solid var(--signal);
  border-radius: var(--radius-m);
}

.page-products .entry-card--teal { border-top-color: var(--teal); }
.page-products .entry-card--magenta { border-top-color: var(--magenta); }

.page-products .entry-card__idx {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
  margin-bottom: 10px;
}

.page-products .entry-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 21px;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 10px;
}

.page-products .entry-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--graphite);
}

.page-products .entry-note {
  margin: 24px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
  max-width: 70ch;
}

.page-products .entry-note a {
  color: var(--signal);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 106, 0, 0.45);
}

.page-products .entry-note a:hover {
  border-bottom-color: var(--signal);
}

/* ---------- 右侧固定联系入口 ---------- */
.page-products .float-contact {
  display: none;
  z-index: 40;
}

.page-products .float-contact__summary {
  list-style: none;
  cursor: pointer;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: var(--signal);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 16px 10px;
  border-radius: var(--radius-s) 0 0 var(--radius-s);
  text-align: center;
  user-select: none;
}

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

.page-products .float-contact__panel {
  position: absolute;
  top: 0;
  right: calc(100% + 10px);
  width: 226px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--pc-line-strong);
  border-radius: var(--radius-m);
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.20);
  font-size: 14px;
  line-height: 1.7;
  color: var(--graphite);
}

.page-products .float-contact__title {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.page-products .float-contact__list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 6px;
}

.page-products .float-contact__list li {
  position: relative;
  padding-left: 16px;
}

.page-products .float-contact__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
}

.page-products .float-contact__mail {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  word-break: break-all;
  color: var(--ink);
}

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

.page-products .float-contact__go {
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
}

/* ---------- 断点 ---------- */
@media (min-width: 700px) {
  .page-products .cat-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .cat-hero h1 {
    max-width: 18ch;
  }

  .page-products .entry-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-products .cat-section {
    padding: 64px 0;
  }

  .page-products .cat-hero {
    padding: 16px 0 62px;
  }

  .page-products .cat-index {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
    gap: 34px;
  }

  .page-products .tier-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 40px;
  }

  .page-products .notice-split {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 48px;
    align-items: center;
  }

  .page-products .path-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
  }

  .page-products .entry-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .change-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 719px) {
  .page-products .cat-table {
    min-width: 0;
  }

  .page-products .cat-table__caption {
    padding-bottom: 14px;
  }

  .page-products .cat-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .page-products .cat-table tbody tr {
    display: block;
    margin-bottom: 12px;
    padding: 4px 0 8px;
    background: var(--white);
    border: 1px solid var(--pc-line);
    border-left: 4px solid var(--tone, var(--mist));
    border-radius: var(--radius-s);
  }

  .page-products .cat-table tbody tr:nth-child(even) {
    background: var(--white);
  }

  .page-products .cat-table td {
    display: block;
    padding: 7px 16px;
    border-bottom: 0;
  }

  .page-products .cat-table td::before {
    content: attr(data-label) " · ";
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--mist);
  }

  .page-products .cat-table__name {
    padding-top: 12px;
  }

  .page-products .cat-table__name::before {
    display: none;
  }

  .page-products .change-item__tag {
    font-size: 11px;
  }
}

@media (min-width: 1280px) {
  .page-products .float-contact {
    display: block;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .cat-row {
    transition: none;
  }

  .page-products .cat-row:hover,
  .page-products .cat-row:focus-within {
    transform: none;
  }
}
