.page-products {
  --p-gap: 16px;
  --p-card-pad: 18px;
}

.page-products [id] {
  scroll-margin-top: 80px;
}

.page-products h1 {
  margin: 10px 0 0;
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(2rem, 8.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--paper);
  max-width: 20em;
}

.page-products .crumbs {
  padding-top: 18px;
}

.p-hero {
  padding: 22px 0 6px;
}

.p-hero__lead {
  margin-top: 16px;
  max-width: 40em;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--mid);
}

.jump-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-800);
  color: var(--paper);
  font-size: 13px;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.jump__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fox);
}

.jump:hover,
.jump:focus-visible {
  border-color: var(--fox);
  color: var(--fox);
  transform: translateY(-2px);
}

.p-sec {
  padding-top: 46px;
}

.p-sec__head {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-sec__num {
  font-family: var(--mono);
  font-size: 34px;
  line-height: 1;
  color: var(--fox);
  font-variant-numeric: tabular-nums;
}

.p-sec__title {
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(1.4rem, 5.4vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0;
}

.p-sec__lead {
  max-width: 42em;
  margin: 0;
  color: var(--mid);
  font-size: 0.95rem;
  line-height: 1.85;
}

/* ---- 工具架 ---- */
.shelf {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.tool-card {
  position: relative;
  display: block;
  padding: var(--p-card-pad);
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.tool-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 38px;
  height: 38px;
  background: var(--accent, var(--fox));
  opacity: 0.14;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  transition: opacity 0.2s ease;
}

.tool-card--fox { --accent: var(--fox); }
.tool-card--cyan { --accent: var(--cyan); }
.tool-card--violet { --accent: var(--violet); }
.tool-card--amber { --accent: var(--amber); }

.tool-card:hover,
.tool-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--accent, var(--fox));
  background: var(--ink-700);
}

.tool-card:hover::after,
.tool-card:focus-visible::after {
  opacity: 0.9;
}

.tool-card__num {
  display: block;
  font-family: var(--mono);
  font-size: 30px;
  line-height: 1;
  color: var(--accent, var(--fox));
  font-variant-numeric: tabular-nums;
}

.tool-card__title {
  margin: 10px 0 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--paper);
}

.tool-card__desc {
  margin: 8px 0 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--mid);
}

.tool-card__meta {
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  font-size: 12px;
  line-height: 1.6;
}

.tool-card__meta dt {
  color: var(--dim);
  letter-spacing: 0.08em;
}

.tool-card__meta dd {
  margin: 0;
  color: var(--paper-2);
}

.tool-card__link {
  display: inline-block;
  margin-top: 14px;
  padding-bottom: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent, var(--fox));
  border-bottom: 1px solid currentColor;
}

/* ---- 时间表 ---- */
.p-count {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.p-count__cell {
  background: var(--ink-800);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.p-count__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--dim);
}

.p-count__value {
  font-family: var(--mono);
  font-size: clamp(1.3rem, 6vw, 1.9rem);
  line-height: 1.1;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.p-count__note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 16px;
  background: var(--ink-900);
  font-size: 12px;
  line-height: 1.7;
  color: var(--mid);
}

.p-sec__body {
  margin-top: 18px;
}

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--ink-800);
}

.page-products .dtable {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 13px;
}

.page-products .dtable thead th {
  background: var(--ink-900);
  color: var(--mid);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.page-products .dtable tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--paper-2);
  white-space: nowrap;
}

.page-products .dtable tbody tr:nth-child(even) {
  background: var(--ink-700);
}

.page-products .dtable tbody tr:hover {
  background: var(--ink-900);
}

.page-products .dtable tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .dtable .num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}

.p-aside {
  margin-top: 16px;
}

.fields {
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}

.fields__item {
  border-left: 2px solid var(--fox);
  padding: 2px 0 2px 14px;
}

.fields__item dt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--fox);
}

.fields__item dd {
  margin: 4px 0 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--mid);
}

/* ---- 图片 ---- */
.shot {
  margin: 20px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-800);
  padding: 10px;
}

.shot img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.95) contrast(1.03);
}

.shot__cap {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--dim);
}

/* ---- 设备适配 ---- */
.dev-switch {
  margin-top: 24px;
}

.page-products .tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.page-products .tab {
  appearance: none;
  background: none;
  border: 0;
  padding: 12px 2px 13px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--dim);
  cursor: pointer;
  position: relative;
}

.page-products .tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--fox);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.page-products .tab[aria-selected="true"] {
  color: var(--paper);
}

.page-products .tab[aria-selected="true"]::after {
  transform: scaleX(1);
}

.page-products .tab:focus-visible {
  outline: 2px solid var(--fox);
  outline-offset: 3px;
}

.page-products .tabpanel {
  padding-top: 18px;
}

.page-products .tabpanel[hidden] {
  display: none;
}

.dev-note {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--mid);
}

.tier-grid {
  display: grid;
  gap: 10px;
}

.tier {
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  border-top: 2px solid var(--cyan);
}

.tier:nth-child(2) {
  border-top-color: var(--fox);
}

.tier:nth-child(3) {
  border-top-color: var(--amber);
}

.tier__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--paper);
  letter-spacing: 0.02em;
}

.tier__for {
  margin: 6px 0 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--dim);
}

.tier__text {
  margin: 10px 0 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--mid);
}

.steps {
  list-style: none;
  counter-reset: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: start;
  padding: 13px 14px;
  background: var(--ink-800);
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--paper-2);
}

.steps__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fox);
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}

/* ---- V4 ---- */
.v4-grid {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.v4-card {
  background: linear-gradient(160deg, var(--ink-700) 0%, var(--ink-800) 65%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--violet);
  border-radius: var(--radius);
  padding: 18px 16px;
}

.v4-card__title {
  margin: 12px 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--paper);
}

.v4-card__text {
  margin: 8px 0 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--mid);
}

.v4-card__list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.v4-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--paper-2);
}

.v4-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 1px;
  background: var(--violet);
}

.index-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: var(--ink-800);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.85;
  color: var(--mid);
}

/* ---- 现场清单 ---- */
.arrive {
  margin-top: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  padding: 16px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.arrive__time {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.arrive__text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--paper-2);
}

.ck-grid {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.ck-group {
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 14px 8px;
}

.ck-group__head {
  margin: 0 0 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--paper);
}

.ck-group__count {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.ck-list {
  display: grid;
  gap: 2px;
}

.check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  padding: 8px 2px;
  cursor: pointer;
  border-radius: 2px;
}

.check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.check__box {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--ink-900);
  position: relative;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.check__box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--ink-900);
  border-bottom: 2px solid var(--ink-900);
  transform: rotate(40deg);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.check input:checked + .check__box {
  background: var(--fox);
  border-color: var(--fox);
}

.check input:checked + .check__box::after {
  opacity: 1;
}

.check input:checked ~ .check__text {
  color: var(--dim);
  text-decoration: line-through;
}

.check input:focus-visible + .check__box {
  outline: 2px solid var(--fox);
  outline-offset: 3px;
}

.check__text {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--paper-2);
}

.check:hover .check__box {
  border-color: var(--fox);
}

/* ---- 三个习惯 ---- */
.habit-grid {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.habit {
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
}

.habit__num {
  font-family: var(--mono);
  font-size: 24px;
  line-height: 1;
  color: var(--fox);
  font-variant-numeric: tabular-nums;
}

.habit__title {
  margin: 10px 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--paper);
}

.habit__text {
  margin: 8px 0 16px;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--mid);
}

.habit__text a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--fox);
  text-underline-offset: 3px;
}

.habit .btn {
  margin-top: auto;
  align-self: flex-start;
}

.p-footnote {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--dim);
}

.p-footnote a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--fox);
  text-underline-offset: 3px;
}

/* ---- 底部收束 ---- */
.closing {
  position: relative;
  margin-top: 56px;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.closing img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 260px;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.6);
}

.closing__inner {
  position: absolute;
  inset: auto 0 0 0;
  padding-bottom: 26px;
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  background: linear-gradient(to top, rgba(15, 15, 18, 0.94) 30%, rgba(15, 15, 18, 0));
}

.closing__text {
  margin: 0;
  font-size: clamp(1.05rem, 4.4vw, 1.6rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--paper);
}

/* ---- 响应式 ---- */
@media (min-width: 640px) {
  .p-count {
    grid-template-columns: repeat(3, 1fr);
  }

  .fields {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 22px;
  }

  .tier-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ck-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 18px;
  }

  .check__text {
    font-size: 0.85rem;
  }

  .closing img {
    height: 320px;
  }
}

@media (min-width: 900px) {
  .p-hero {
    padding-top: 34px;
  }

  .p-sec {
    padding-top: 62px;
  }

  .p-sec__head {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 24px;
    align-items: start;
    padding-top: 24px;
  }

  .p-sec__num {
    font-size: 62px;
    grid-row: 1 / span 2;
    color: transparent;
    -webkit-text-stroke: 1px var(--fox);
    text-stroke: 1px var(--fox);
  }

  .p-sec__title {
    font-size: 1.9rem;
  }

  .p-sec__lead {
    grid-column: 2;
  }

  .shelf {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 28px;
  }

  .shelf > :nth-child(even) {
    margin-top: 20px;
  }

  .p-sec__body--split {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }

  .p-aside {
    margin-top: 0;
  }

  .p-aside .shot,
  .shot--wide {
    margin-top: 0;
  }

  .shot--wide img {
    max-height: 300px;
  }

  .fields {
    grid-template-columns: repeat(4, 1fr);
  }

  .v4-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .habit-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .closing img {
    height: 380px;
  }
}

@media (min-width: 1180px) {
  .p-sec__title {
    font-size: 2.15rem;
  }

  .ck-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .ck-group {
    padding: 18px 18px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tool-card,
  .jump,
  .page-products .tab::after,
  .check__box {
    transition: none;
  }

  .tool-card:hover,
  .tool-card:focus-visible,
  .jump:hover,
  .jump:focus-visible {
    transform: none;
  }
}
<<<END>>>
