.page-products .section {
  padding-block: clamp(3rem, 8vw, 6rem);
}

.page-products .prod-note {
  max-width: 42rem;
  margin: 1.75rem 0 0;
  font-size: var(--fs-14);
  line-height: 1.75;
  color: var(--gray);
}

.page-products .prod-note-dark {
  color: rgba(253, 251, 247, 0.62);
}

/* ---------- 首屏 ---------- */

.page-products .prod-hero {
  position: relative;
  overflow: hidden;
}

.page-products .prod-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -20%;
  width: 46vw;
  height: 46vw;
  max-width: 560px;
  max-height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.16), rgba(255, 90, 31, 0) 68%);
  pointer-events: none;
}

.page-products .prod-hero-title {
  margin: 0.65rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 6.6vw, 4.25rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 20ch;
}

.page-products .prod-hero-lede {
  margin-top: 1.5rem;
  max-width: 44rem;
}

.page-products .prod-tools {
  list-style: none;
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.page-products .prod-tool {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "idx name"
    "idx note";
  align-items: center;
  gap: 0.15rem 0.9rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-products .prod-tool:hover,
.page-products .prod-tool:focus-visible {
  background: var(--ink);
  color: var(--white);
  border-left-color: var(--flame);
}

.page-products .prod-tool-idx {
  grid-area: idx;
  font-family: var(--font-mono);
  font-size: var(--fs-20);
  font-weight: 700;
  color: var(--flame);
}

.page-products .prod-tool-name {
  grid-area: name;
  font-size: var(--fs-16);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.page-products .prod-tool-note {
  grid-area: note;
  font-size: var(--fs-14);
  color: var(--gray);
}

.page-products .prod-tool:hover .prod-tool-note,
.page-products .prod-tool:focus-visible .prod-tool-note {
  color: var(--amber);
}

/* ---------- 01 登录与订阅 ---------- */

.page-products .prod-split {
  display: grid;
  gap: clamp(1.75rem, 5vw, 3.25rem);
  margin-top: 1.5rem;
}

.page-products .prod-copy {
  margin: 0;
  max-width: 40rem;
  line-height: 1.8;
}

.page-products .prod-steps {
  list-style: none;
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.page-products .prod-step {
  position: relative;
  padding: 1.1rem 0 0 3.4rem;
  border-top: 1px solid var(--rule);
}

.page-products .prod-step-num {
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--white);
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

.page-products .prod-step-title {
  margin: 0 0 0.35rem;
  font-size: var(--fs-20);
  font-weight: 700;
  line-height: 1.3;
}

.page-products .prod-step-text {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.75;
  color: var(--gray);
}

.page-products .prod-split-side {
  align-self: start;
}

.page-products .prod-sub-media {
  margin: 0;
  border: 1px solid var(--rule);
}

.page-products .prod-factcard {
  margin-top: 1.25rem;
  padding: 1.6rem 1.6rem 2rem;
  background: var(--ink);
  color: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.6rem), calc(100% - 1.6rem) 100%, 0 100%);
}

.page-products .prod-factcard-k {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-products .prod-factcard-v {
  margin: 0.6rem 0 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-28);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

.page-products .prod-factcard-v small {
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--amber);
}

.page-products .prod-factcard-n {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.7;
  color: rgba(253, 251, 247, 0.72);
}

/* ---------- 02 收藏清单 ---------- */

.page-products .prod-lede {
  margin-top: 1.25rem;
  max-width: 46rem;
}

.page-products .prod-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
}

.page-products .prod-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  padding: 0.5rem 1.05rem;
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--ink);
}

.page-products .prod-tag-on {
  background: var(--flame);
  border-color: var(--flame);
  color: var(--white);
}

.page-products .prod-collection-media {
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
  border: 1px solid var(--rule);
}

.page-products .prod-band {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0 0 0.75rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(76vw, 250px);
  gap: 0.9rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-products .prod-band-card {
  scroll-snap-align: start;
  padding: 1.15rem 1.2rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--flame);
}

.page-products .prod-band-k {
  margin: 0 0 0.7rem;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  color: var(--gray);
}

.page-products .prod-band-v {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-28);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}

.page-products .prod-band-v span {
  color: var(--rule);
}

.page-products .prod-band-v small {
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--gray);
}

.page-products .prod-band-n {
  margin: 0.45rem 0 0;
  font-size: var(--fs-14);
  color: var(--gray);
}

/* ---------- 03 数据卡片字段 ---------- */

.page-products .prod-diagram-media {
  margin: 1.5rem 0 clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid rgba(253, 251, 247, 0.14);
}

.page-products .prod-fields {
  margin: 0;
  display: grid;
  gap: 1px;
  background: rgba(253, 251, 247, 0.14);
  border: 1px solid rgba(253, 251, 247, 0.14);
}

.page-products .prod-field {
  padding: 1.3rem 1.4rem 1.5rem;
  background: var(--void);
}

.page-products .prod-field dt {
  margin-bottom: 0.55rem;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-products .prod-field dd {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.78;
  color: rgba(253, 251, 247, 0.82);
}

/* ---------- 04 客户端 ---------- */

.page-products .prod-client {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  margin-top: 1.5rem;
}

.page-products .prod-log {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  padding-left: 1.5rem;
  border-left: 2px solid var(--rule);
}

.page-products .prod-log-item {
  position: relative;
  border-bottom: 1px solid var(--rule);
}

.page-products .prod-log-item::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 1.6rem;
  width: 0.72rem;
  height: 0.72rem;
  margin-left: -0.36rem;
  background: var(--flame);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

.page-products .prod-log-head {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
}

.page-products .prod-log-head::-webkit-details-marker {
  display: none;
}

.page-products .prod-log-head::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-20);
  line-height: 1;
  color: var(--gray);
}

.page-products .prod-log-item[open] .prod-log-head::after {
  content: "\2013";
  color: var(--flame);
}

.page-products .prod-log-ver {
  font-family: var(--font-mono);
  font-size: var(--fs-16);
  font-weight: 700;
  color: var(--flame);
}

.page-products .prod-log-title {
  font-size: var(--fs-20);
  font-weight: 700;
  line-height: 1.35;
}

.page-products .prod-log-text {
  margin: 0 0 1.25rem;
  font-size: var(--fs-14);
  line-height: 1.78;
  color: var(--gray);
}

.page-products .prod-client-side {
  align-self: start;
  display: grid;
  gap: 1.25rem;
}

.page-products .prod-client-side .media {
  margin: 0;
  border: 1px solid var(--rule);
}

.page-products .prod-sys {
  padding: 1.5rem 1.6rem 2rem;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--rule);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.4rem), calc(100% - 1.4rem) 100%, 0 100%);
}

.page-products .prod-sys-h {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  color: var(--cyan-deep);
}

.page-products .prod-sys-list {
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.page-products .prod-sys-list > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--rule);
}

.page-products .prod-sys-list dt {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  font-weight: 700;
}

.page-products .prod-sys-list dd {
  margin: 0;
  font-size: var(--fs-14);
  color: var(--gray);
}

.page-products .prod-client-media {
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  border: 1px solid var(--rule);
}

/* ---------- 05 服务路径 ---------- */

.page-products .prod-path-wrap {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.page-products .prod-path {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .prod-path::before {
  content: "";
  position: absolute;
  left: calc(1rem - 1px);
  top: 0.9rem;
  bottom: 1.9rem;
  width: 2px;
  background: linear-gradient(180deg, var(--flame), var(--lava) 55%, var(--cyan));
}

.page-products .prod-path-step {
  position: relative;
  padding: 0 0 1.85rem 3.4rem;
  transition: opacity 0.22s ease;
}

.page-products .prod-path-step:last-child {
  padding-bottom: 0;
}

.page-products .prod-path-step::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  width: 0.72rem;
  height: 0.72rem;
  margin-left: -0.36rem;
  background: var(--flame);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

.page-products .prod-path:hover .prod-path-step {
  opacity: 0.5;
}

.page-products .prod-path:hover .prod-path-step:hover {
  opacity: 1;
}

.page-products .prod-path-num {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-products .prod-path-title {
  margin: 0.3rem 0 0.4rem;
  font-size: var(--fs-20);
  font-weight: 700;
  line-height: 1.32;
  color: var(--white);
}

.page-products .prod-path-text {
  margin: 0;
  max-width: 30rem;
  font-size: var(--fs-14);
  line-height: 1.78;
  color: rgba(253, 251, 247, 0.68);
}

.page-products .prod-stack {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.page-products .prod-toolcard {
  padding: 1.35rem 1.45rem 1.5rem;
  background: rgba(253, 251, 247, 0.05);
  border: 1px solid rgba(253, 251, 247, 0.16);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-products .prod-toolcard:hover {
  border-color: var(--flame);
  background: rgba(255, 90, 31, 0.08);
}

.page-products .prod-toolcard-k {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: var(--amber);
}

.page-products .prod-toolcard-t {
  margin: 0.5rem 0 0.45rem;
  font-family: var(--font-editorial);
  font-size: var(--fs-20);
  font-weight: 600;
  line-height: 1.35;
  color: var(--white);
}

.page-products .prod-toolcard-p {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.75;
  color: rgba(253, 251, 247, 0.7);
}

/* ---------- 06 适合谁用 ---------- */

.page-products .prod-people {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.page-products .prod-person {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 1.7rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-bottom: 4px solid var(--ink);
  transition: border-bottom-color 0.2s ease;
}

.page-products .prod-person:hover {
  border-bottom-color: var(--flame);
}

.page-products .prod-person-tag {
  margin: 0;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  padding: 0.3rem 0.7rem;
  background: var(--ink);
  color: var(--white);
}

.page-products .prod-person-title {
  margin: 1rem 0 0.6rem;
  font-size: var(--fs-20);
  font-weight: 700;
  line-height: 1.35;
}

.page-products .prod-person-text {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--gray);
}

/* ---------- 收束 ---------- */

.page-products .prod-cta {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.page-products .prod-cta-panel {
  display: grid;
  gap: 1.75rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: linear-gradient(115deg, var(--ink) 0%, #241a17 52%, var(--void) 100%);
  color: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}

.page-products .prod-cta-title {
  margin: 0.5rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.page-products .prod-cta-text {
  margin: 0;
  max-width: 44rem;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: rgba(253, 251, 247, 0.76);
}

.page-products .prod-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- 响应式 ---------- */

@media (min-width: 720px) {
  .page-products .prod-tools {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-products .prod-fields {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .prod-cta-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .page-products .prod-split {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-products .prod-band {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: auto;
    gap: 1rem;
    overflow-x: visible;
    padding-bottom: 0;
  }

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

  .page-products .prod-path-wrap {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .page-products .prod-band {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .prod-tool,
  .page-products .prod-path-step,
  .page-products .prod-toolcard,
  .page-products .prod-person {
    transition: none;
  }
}
