.page-products {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

.page-products .off-hero {
  position: relative;
  padding-block: clamp(18px, 3vw, 36px) clamp(34px, 5vw, 68px);
  background:
    radial-gradient(115% 88% at 92% 2%, rgba(184, 134, 45, .18), transparent 62%),
    linear-gradient(178deg, #FAF6EA 0%, #F1ECDE 100%);
  border-bottom: 1px solid var(--line);
}

.page-products .off-hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--sand) 50%, var(--violet));
  opacity: .5;
}

.page-products .breadcrumbs {
  margin-bottom: clamp(18px, 3vw, 34px);
  font-size: 13px;
}

.page-products .off-hero__grid {
  display: grid;
  gap: clamp(22px, 3.5vw, 44px);
  align-items: start;
}

.page-products .off-hero__lead h1 {
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5.4vw, 62px);
  line-height: 1.12;
  letter-spacing: -.02em;
}

.page-products .off-hero__lead .lede {
  max-width: 54ch;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.8;
}

.page-products .off-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 30px);
}

.page-products .off-hero__board {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--white);
  padding: clamp(18px, 2.4vw, 26px);
  box-shadow: var(--shadow-soft);
}

.page-products .docs-ruler__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--green);
}

.page-products .docs-ruler__dash {
  flex: 1 1 auto;
  min-width: 24px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 4px, transparent 4px 9px);
}

.page-products .docs-ruler__track {
  position: relative;
  height: 8px;
  margin: 12px 0 14px;
  border-radius: var(--r-pill);
  background: var(--mist);
  overflow: hidden;
}

.page-products .docs-ruler__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--green), var(--sand) 58%, var(--orange));
}

.page-products .docs-ruler p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(19, 33, 29, .72);
}

.page-products .off-hero__facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

.page-products .off-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.page-products .off-hero__facts strong {
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1;
  color: var(--green);
}

.page-products .off-hero__facts span {
  font-size: 12px;
  letter-spacing: .02em;
  color: rgba(19, 33, 29, .6);
}

.page-products .off-section {
  padding-block: clamp(42px, 6.4vw, 90px);
}

.page-products .off-section--mist {
  background: var(--mist);
}

.page-products .off-section--ink {
  background: var(--ink);
  color: var(--paper);
}

.page-products .off-section--help {
  background: linear-gradient(180deg, var(--paper) 0%, #F2E9D5 100%);
  border-top: 1px solid var(--line);
}

.page-products .off-section__head {
  max-width: 62ch;
  margin-bottom: clamp(22px, 3.4vw, 40px);
}

.page-products .off-section__head .section-title {
  margin: 12px 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.22;
  letter-spacing: -.01em;
}

.page-products .off-section__head .lede {
  font-size: clamp(15px, 1.3vw, 16.5px);
  line-height: 1.8;
}

.page-products .off-section--ink .section-title,
.page-products .off-section--ink .lede {
  color: var(--paper);
}

.page-products .off-section--ink .lede {
  color: rgba(250, 246, 234, .74);
}

.page-products .off-section--ink .index-label {
  color: var(--sand-soft);
}

/* --- 文档构成 --- */
.page-products .doc-overview {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
}

.page-products .doc-overview__figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
}

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

.page-products .doc-overview__figure img {
  aspect-ratio: 3 / 2;
  border-radius: var(--r-lg);
}

.page-products .doc-overview__figure .figure__caption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(19, 33, 29, .6);
}

.page-products .doc-bars {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .doc-bars__item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 12px;
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--line);
}

.page-products .doc-bars__item:first-child {
  border-top: 1px solid var(--line);
}

.page-products .doc-bars__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
}

.page-products .doc-bars__name {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .01em;
}

.page-products .doc-bars__count {
  font-size: 13px;
  color: currentColor;
  letter-spacing: .04em;
}

.page-products .doc-bars__track {
  grid-column: 1 / -1;
  height: 4px;
  border-radius: var(--r-pill);
  background: rgba(19, 33, 29, .08);
  overflow: hidden;
}

.page-products .doc-bars__fill {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  border-radius: var(--r-pill);
  background: currentColor;
}

.page-products .doc-bars__item--a { color: var(--green); }
.page-products .doc-bars__item--b { color: var(--sand); }
.page-products .doc-bars__item--c { color: var(--wind); }
.page-products .doc-bars__item--d { color: var(--violet); }
.page-products .doc-bars__item--e { color: var(--orange); }
.page-products .doc-bars__item--f { color: #7B8F87; }

/* --- 编号列表 --- */
.page-products .doc-rows {
  border-top: 1px solid var(--line-strong);
}

.page-products .doc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "code copy"
    "title title"
    "desc desc"
    "tag tag";
  gap: 7px 14px;
  padding: clamp(16px, 2.4vw, 24px) 0;
  border-bottom: 1px solid var(--line);
}

.page-products .doc-row__code {
  grid-area: code;
  justify-self: start;
  align-self: center;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: rgba(11, 93, 78, .09);
  color: var(--green);
  font-size: 12.5px;
  letter-spacing: .05em;
}

.page-products .doc-row__head {
  grid-area: copy;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-products .doc-row h3 {
  grid-area: title;
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.page-products .doc-row p {
  grid-area: desc;
  margin: 0;
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(19, 33, 29, .66);
}

.page-products .doc-row .tag {
  grid-area: tag;
  justify-self: start;
}

.page-products .copy-btn {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1;
  padding: 8px 14px;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.page-products .copy-btn:hover,
.page-products .copy-btn:focus-visible {
  border-color: var(--green);
  color: var(--green);
  background: rgba(11, 93, 78, .06);
}

.page-products .doc-note {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(19, 33, 29, .62);
}

.page-products .doc-note a {
  color: var(--wind);
  text-underline-offset: 3px;
}

/* --- 设备清单 --- */
.page-products .device-grid {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
}

.page-products .device-col {
  padding: clamp(16px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.page-products .device-col--phone {
  background: var(--mist);
}

.page-products .device-col--pad {
  background: var(--sand-soft);
}

.page-products .device-col__figure {
  margin: 0 0 clamp(14px, 2.2vw, 22px);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--white);
}

.page-products .device-col--phone .device-col__figure img {
  aspect-ratio: 4 / 5;
}

.page-products .device-col--pad .device-col__figure img {
  aspect-ratio: 4 / 3;
}

.page-products .device-col h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.4vw, 26px);
  font-weight: 800;
  line-height: 1.25;
}

.page-products .device-col__intro {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(19, 33, 29, .7);
}

.page-products .device-spec {
  margin: 0;
}

.page-products .device-spec > div {
  display: grid;
  gap: 3px;
  padding: 12px 0;
  border-top: 1px solid rgba(19, 33, 29, .14);
}

.page-products .device-spec dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(19, 33, 29, .56);
}

.page-products .device-spec dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--ink);
}

/* --- 横向分隔带 --- */
.page-products .off-band {
  position: relative;
  margin: 0;
  background: var(--green-deep);
  overflow: hidden;
}

.page-products .off-band img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  opacity: .82;
}

.page-products .off-band::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 70%;
  background: linear-gradient(180deg, transparent, rgba(8, 72, 61, .88));
  pointer-events: none;
}

.page-products .off-band__caption {
  position: absolute;
  z-index: 1;
  left: clamp(18px, 4vw, 48px);
  right: clamp(18px, 4vw, 48px);
  bottom: clamp(16px, 3.4vw, 36px);
  max-width: 48ch;
  margin: 0;
  color: var(--paper);
  font-size: 13.5px;
  line-height: 1.75;
}

.page-products .off-band__caption .mono {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--sand-soft);
}

/* --- 步骤 --- */
.page-products .flow-line {
  display: none;
}

.page-products .steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(18px, 2.6vw, 26px);
}

.page-products .steps__item {
  padding-top: 16px;
  border-top: 1px solid rgba(250, 246, 234, .22);
  min-width: 0;
}

.page-products .steps__num {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--sand-soft);
}

.page-products .steps h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.48;
  color: var(--paper);
}

.page-products .steps p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(250, 246, 234, .72);
}

/* --- 更新节奏 --- */
.page-products .update-grid {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
}

.page-products .update-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-products .update-card {
  display: grid;
  gap: 4px;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  min-width: 0;
}

.page-products .update-card__label {
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--sand);
}

.page-products .update-card strong {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.35;
  color: var(--green);
}

.page-products .update-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.66;
  color: rgba(19, 33, 29, .66);
}

.page-products .update-figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.page-products .update-figure img {
  aspect-ratio: 10 / 7;
  border-radius: var(--r-lg);
}

.page-products .update-figure .figure__caption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(19, 33, 29, .6);
}

/* --- 人工协助 --- */
.page-products .help-grid {
  display: grid;
  gap: 12px;
}

.page-products .help-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  min-width: 0;
}

.page-products .help-card__label {
  margin: 0;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--sand);
}

.page-products .help-card__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--green);
  word-break: break-word;
  text-decoration: none;
}

.page-products a.help-card__value {
  text-underline-offset: 4px;
}

.page-products a.help-card__value:hover,
.page-products a.help-card__value:focus-visible {
  color: var(--wind);
  text-decoration: underline;
}

.page-products .help-card__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(19, 33, 29, .64);
}

.page-products .help-card .copy-btn {
  justify-self: start;
}

.page-products .help-card--hours {
  background: rgba(255, 255, 255, .62);
}

.page-products .help-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: clamp(20px, 3vw, 32px);
}

.page-products .off-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: clamp(24px, 3.4vw, 40px);
  padding-top: clamp(16px, 2.4vw, 24px);
  border-top: 1px solid var(--line);
}

.page-products .off-links a {
  font-size: 13.5px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(19, 33, 29, .22);
  padding-bottom: 2px;
  transition: color .18s ease, border-color .18s ease;
}

.page-products .off-links a:hover,
.page-products .off-links a:focus-visible {
  color: var(--green);
  border-color: var(--green);
}

/* --- 响应式 --- */
@media (min-width: 620px) {
  .page-products .update-cards {
    gap: 12px;
  }

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

  .page-products .help-card--hours {
    grid-column: 1 / -1;
  }
}

@media (min-width: 820px) {
  .page-products .device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

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

  .page-products .update-card {
    padding: 18px 16px;
  }
}

@media (min-width: 860px) {
  .page-products .doc-row {
    grid-template-columns: minmax(0, 190px) minmax(0, 1fr) auto;
    grid-template-areas:
      "code title copy"
      "code desc tag";
    align-items: start;
    column-gap: 24px;
    row-gap: 8px;
  }

  .page-products .doc-row__code {
    margin-top: 1px;
  }

  .page-products .doc-row .tag {
    justify-self: end;
    align-self: center;
  }
}

@media (min-width: 940px) {
  .page-products .off-hero__grid {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, .78fr);
    gap: clamp(30px, 4.5vw, 62px);
  }

  .page-products .update-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: start;
  }

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

  .page-products .help-card--hours {
    grid-column: auto;
  }
}

@media (min-width: 1080px) {
  .page-products .flow-line {
    display: block;
    width: 100%;
    height: 24px;
    margin-bottom: 14px;
  }

  .page-products .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-products .copy-btn,
  .page-products .off-links a,
  .page-products a.help-card__value {
    transition: none;
  }
}

.page-products {
  --w: 1rem;
}
