.page-products {
  --ppad: 20px;
  --p-radius: 2px;
  background: var(--paper);
}

.page-products > .kit-breadcrumb {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 22px var(--ppad) 0;
  font-size: 14px;
}

/* ---------- 首屏 ---------- */
.page-products .tools-hero {
  background:
    radial-gradient(120% 95% at 100% 0%, rgba(168, 203, 214, .38), transparent 62%),
    radial-gradient(90% 80% at 0% 100%, rgba(239, 230, 214, .78), transparent 62%);
  border-bottom: 1px solid var(--line);
}

.page-products .tools-hero__inner {
  position: relative;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(38px, 8vw, 92px) var(--ppad) clamp(30px, 5vw, 54px);
  display: grid;
  gap: 16px;
}

.page-products .tools-hero__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--brass);
}

.page-products .tools-hero__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(32px, 8.6vw, 70px);
  line-height: 1.14;
  letter-spacing: .04em;
  color: var(--ink);
  max-width: 13em;
}

.page-products .tools-hero__lead {
  margin: 4px 0 0;
  max-width: var(--measure);
  font-size: clamp(16px, 2.4vw, 18px);
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-products .tools-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin: 10px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

.page-products .tools-hero__facts > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.page-products .tools-hero__facts dt {
  font-size: 13px;
  color: var(--ink-soft);
}

.page-products .tools-hero__facts dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--teal-900);
  letter-spacing: .02em;
}

.page-products .tools-hero__vnote {
  display: none;
}

/* ---------- 章节通用 ---------- */
.page-products .kit-section {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(36px, 6vw, 74px) var(--ppad);
}

.page-products .kit-section__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.page-products .kit-section__index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--brass);
}

.page-products .kit-section__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(23px, 4.6vw, 40px);
  line-height: 1.3;
  letter-spacing: .04em;
  color: var(--ink);
}

/* ---------- 路径总览 ---------- */
.page-products .pathmap__intro {
  margin: 14px 0 0;
  max-width: var(--measure);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-products .spine {
  display: block;
  width: 100%;
  height: auto;
  margin: clamp(22px, 4vw, 42px) 0;
}

.page-products .spine__line {
  fill: none;
  stroke: var(--line);
  stroke-width: 2;
}

.page-products .spine__dot--teal { fill: var(--teal-700); }
.page-products .spine__dot--brass { fill: var(--brass); }
.page-products .spine__dot--yellow { fill: var(--flag-yellow); }
.page-products .spine__dot--green { fill: var(--flag-green); }
.page-products .spine__dot--red { fill: var(--flag-red); }

.page-products .pathmap__grid {
  display: grid;
  gap: clamp(24px, 4vw, 46px);
}

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

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

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

.page-products .pathmap__link {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "no name"
    "no note";
  gap: 3px 16px;
  padding: 15px 10px 15px 26px;
  text-decoration: none;
  color: inherit;
  transition: background .2s ease;
}

.page-products .pathmap__link::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 23px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal-700);
}

.page-products .pathmap__item--brass .pathmap__link::before { background: var(--brass); }
.page-products .pathmap__item--yellow .pathmap__link::before { background: var(--flag-yellow); }
.page-products .pathmap__item--green .pathmap__link::before { background: var(--flag-green); }
.page-products .pathmap__item--red .pathmap__link::before { background: var(--flag-red); }

.page-products .pathmap__link:hover,
.page-products .pathmap__link:focus-visible {
  background: rgba(239, 230, 214, .62);
}

.page-products .pathmap__no {
  grid-area: no;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  padding-top: 4px;
}

.page-products .pathmap__name {
  grid-area: name;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .03em;
  color: var(--ink);
}

.page-products .pathmap__note {
  grid-area: note;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

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

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

/* ---------- 模块节点 ---------- */
.page-products .tool {
  position: relative;
  padding-inline-start: clamp(20px, 4vw, 46px);
}

.page-products .tool::before {
  content: "";
  position: absolute;
  left: 6px;
  top: clamp(40px, 6vw, 78px);
  bottom: clamp(40px, 6vw, 78px);
  width: 2px;
  background: linear-gradient(to bottom, var(--brass), var(--line) 55%, transparent);
}

.page-products .tool__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.page-products .tool__no {
  font-family: var(--font-mono);
  font-size: clamp(20px, 3.2vw, 28px);
  color: var(--brass);
  border-bottom: 2px solid var(--brass);
  padding-bottom: 2px;
  line-height: 1.1;
}

.page-products .tool__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(22px, 4.2vw, 34px);
  letter-spacing: .04em;
  line-height: 1.3;
  color: var(--ink);
}

.page-products .tool__lead {
  margin: 0 0 24px;
  max-width: var(--measure);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-products .tool__grid {
  display: grid;
  gap: clamp(20px, 3.4vw, 42px);
}

.page-products .tool__body p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}

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

.page-products .tool__sub {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .03em;
  color: var(--ink);
}

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

.page-products .tool__tail {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.page-products .tool__link {
  color: var(--teal-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .tool__link:hover {
  color: var(--brass);
}

/* ---------- 标签示例 ---------- */
.page-products .tagpick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 22px;
}

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

.page-products .tagpick__chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.page-products .tagpick__chip:hover {
  border-color: var(--brass);
}

.page-products .tagpick__input:checked + .tagpick__chip {
  border-color: var(--brass);
  background: var(--parchment);
  box-shadow: 0 0 0 2px rgba(192, 138, 46, .2);
}

.page-products .tagpick__input:focus-visible + .tagpick__chip {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.page-products .tagpick__count {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- 展开步骤 ---------- */
.page-products .kit-fold {
  margin-top: 6px;
}

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

.page-products .steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-products .steps .kit-mono {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brass);
  padding-top: 5px;
  white-space: nowrap;
}

/* ---------- 印刷边框小表格 ---------- */
.page-products .ledger-wrap {
  margin: 0 0 clamp(24px, 4vw, 40px);
  overflow-x: auto;
}

.page-products .ledger {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: var(--paper);
}

.page-products .ledger__cap {
  caption-side: top;
  text-align: left;
  padding: 0 0 10px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-soft);
}

.page-products .ledger th,
.page-products .ledger td {
  padding: 13px 15px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.75;
  font-size: 15px;
}

.page-products .ledger thead th {
  background: var(--teal-900);
  color: var(--paper);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .05em;
  border-bottom-color: var(--teal-900);
}

.page-products .ledger tbody tr:nth-child(even) {
  background: var(--parchment);
}

.page-products .ledger tbody th {
  font-weight: 500;
  color: var(--ink);
}

.page-products .ledger tbody td {
  color: var(--ink-soft);
}

/* ---------- 数字卡 ---------- */
.page-products .numcards {
  display: grid;
  gap: 16px;
  margin: 0 0 24px;
}

.page-products .numcard {
  position: relative;
  padding: 20px 18px;
  background: var(--parchment);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal-700);
}

.page-products .numcard--brass {
  border-top-color: var(--brass);
  box-shadow: 0 0 0 1px rgba(192, 138, 46, .35), var(--shadow-1);
}

.page-products .numcard__figure {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0 0 8px;
}

.page-products .numcard__figure .kit-num {
  font-family: var(--font-mono);
  font-size: clamp(36px, 7.4vw, 52px);
  font-weight: 600;
  line-height: 1;
  color: var(--teal-900);
}

.page-products .numcard__unit {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--brass);
}

.page-products .numcard__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* ---------- 三步地区切换 ---------- */
.page-products .tristep {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}

.page-products .tristep > li {
  position: relative;
  padding: 0 0 24px 22px;
  border-left: 2px solid var(--line);
}

.page-products .tristep > li:last-child {
  padding-bottom: 4px;
}

.page-products .tristep > li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--teal-700);
}

.page-products .tristep > li.is-key::before {
  background: var(--brass);
  border-color: var(--brass);
  box-shadow: 0 0 0 4px rgba(192, 138, 46, .18);
}

.page-products .tristep .kit-mono {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--brass);
  margin-bottom: 6px;
}

.page-products .tristep strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .03em;
  color: var(--ink);
  margin-bottom: 6px;
}

.page-products .tristep p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-products .region-note {
  margin: 0;
  padding: 18px 20px;
  border-left: 3px solid var(--teal-300);
  background: linear-gradient(135deg, rgba(168, 203, 214, .38), rgba(245, 241, 232, 0));
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink);
}

/* ---------- 订阅勾选 ---------- */
.page-products .subs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

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

.page-products .subs__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.page-products .subs__item:hover {
  border-color: var(--brass);
}

.page-products .subs__box {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  border: 1px solid var(--ink-soft);
  background: var(--paper);
  transition: background .2s ease, border-color .2s ease;
}

.page-products .subs__check:checked + .subs__item {
  border-color: var(--flag-green);
  background: rgba(47, 107, 79, .08);
}

.page-products .subs__check:checked + .subs__item .subs__box {
  background: var(--flag-green);
  border-color: var(--flag-green);
}

.page-products .subs__check:checked + .subs__item .subs__box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border-right: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
  transform: rotate(42deg);
}

.page-products .subs__check:focus-visible + .subs__item {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

/* ---------- 机构交付四步 ---------- */
.page-products .agency__banner {
  margin: 0 0 clamp(24px, 4vw, 40px);
}

.page-products .deliver {
  list-style: none;
  margin: 0 0 clamp(24px, 4vw, 40px);
  padding: 0;
}

.page-products .deliver > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.page-products .deliver > li:last-child {
  border-bottom: 1px solid var(--line);
}

.page-products .deliver .kit-mono {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1.35;
  color: var(--brass);
}

.page-products .deliver strong {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .03em;
  color: var(--ink);
}

.page-products .deliver p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* ---------- 上手顺序 ---------- */
.page-products .start__grid {
  display: grid;
  gap: 20px;
  margin-top: 22px;
}

.page-products .start__col {
  padding: 26px 22px;
  background: var(--parchment);
  border: 1px solid var(--line);
}

.page-products .start__col--org {
  background: linear-gradient(158deg, rgba(14, 58, 79, .95), rgba(20, 85, 110, .88));
  border-color: transparent;
}

.page-products .start__col h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .03em;
  color: var(--ink);
}

.page-products .start__col ol {
  margin: 12px 0 16px;
  padding-left: 1.2em;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.page-products .start__col ol li {
  margin-bottom: 7px;
}

.page-products .start__col p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-products .start__col a {
  color: var(--teal-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .start__col--org h3 { color: var(--paper); }
.page-products .start__col--org ol,
.page-products .start__col--org p { color: rgba(245, 241, 232, .84); }
.page-products .start__col--org a { color: var(--flag-yellow); }
.page-products .start__col--org a:hover { color: var(--brass); }

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-products .numcards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media (min-width: 900px) {
  .page-products {
    --ppad: 40px;
  }

  .page-products .pathmap__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
    align-items: start;
  }

  .page-products .tool__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: start;
  }

  .page-products .tools-hero__vnote {
    display: block;
    position: absolute;
    right: 10px;
    top: 46px;
    writing-mode: vertical-rl;
    font-size: 12px;
    letter-spacing: .3em;
    color: var(--ink-soft);
    transform: rotate(8deg);
    transform-origin: top right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .tagpick__chip,
  .page-products .subs__item,
  .page-products .pathmap__link,
  .page-products .subs__box {
    transition: none;
  }
}
