.page-home {
  --home-gap: clamp(0.85rem, 2.2vw, 1.35rem);
  --home-space: clamp(2.6rem, 6vw, 4.4rem);
}

.page-home [id] {
  scroll-margin-top: 1.5rem;
}

/* ---------- 上下文条 ---------- */
.page-home .home-context {
  background: var(--ink-navy-deep);
  color: var(--paper-white);
  border-bottom: 1px solid var(--line-on-dark);
  font-size: 0.8rem;
}

.page-home .home-context-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1.2rem;
  padding-block: 0.6rem;
}

.page-home .home-context-inner a {
  color: var(--copper-light);
  text-decoration: none;
}

.page-home .home-context-inner a:hover,
.page-home .home-context-inner a:focus-visible {
  text-decoration: underline;
}

.page-home .home-context-meta {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--mist);
  font-size: 0.78rem;
}

.page-home .home-context-meta .mono {
  color: var(--copper-light);
}

.page-home .home-context-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--copper);
}

/* ---------- 首屏拼贴 ---------- */
.page-home .hero {
  padding-block: clamp(1.5rem, 3.5vw, 2.4rem) clamp(1.8rem, 4vw, 3rem);
  background: var(--paper);
}

.page-home .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
}

.page-home .hero-lead {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 2vw, 1.15rem);
  border-top: 3px solid var(--cinnabar);
}

.page-home .hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 5.2vw, 2.85rem);
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-home .hero-lede {
  margin: 0;
  font-size: clamp(0.98rem, 1.6vw, 1.06rem);
  line-height: 1.8;
  color: var(--ink);
  max-width: 34em;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.page-home .hero-facts {
  list-style: none;
  margin: 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink);
}

.page-home .hero-facts li {
  display: grid;
  grid-template-columns: 0.85rem minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
}

.page-home .hero-facts li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.5em;
  background: var(--copper);
  transform: rotate(45deg);
}

/* 版本小面板 */
.page-home .hero-version {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border: 1px solid var(--line-on-dark);
}

.page-home .hero-version-label {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.page-home .hero-version-num {
  margin: 0;
  font-size: clamp(2.1rem, 6vw, 2.9rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--copper-light);
}

.page-home .hero-version-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.page-home .hero-version-note {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--paper-white);
}

.page-home .hero-version-note--soft {
  color: var(--mist);
  padding-top: 0.5rem;
  border-top: 1px solid var(--line-on-dark-soft);
}

.page-home .hero-version-link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--copper-light);
  text-decoration: none;
  border-bottom: 1px solid var(--line-on-dark);
  padding-bottom: 0.15rem;
}

.page-home .hero-version-link:hover,
.page-home .hero-version-link:focus-visible {
  border-bottom-color: var(--copper-light);
}

/* 分类小面板 */
.page-home .hero-cats {
  order: 3;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--paper-white);
}

.page-home .hero-cats-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  line-height: 1.35;
  color: var(--ink);
}

.page-home .hero-cats-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--ink);
}

.page-home .cat-tags {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.page-home .cat-tags .tag {
  text-decoration: none;
}

.page-home .cat-tags .tag:hover,
.page-home .cat-tags .tag:focus-visible {
  outline: 1px solid var(--copper);
  outline-offset: 2px;
}

/* 首屏图片 */
.page-home .hero-media {
  order: 4;
  margin: 0;
  overflow: hidden;
  background: var(--paper-white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.page-home .hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto auto;
  }

  .page-home .hero-lead {
    order: 0;
    grid-column: 1 / span 7;
    grid-row: 1;
  }

  .page-home .hero-version {
    order: 0;
    grid-column: 8 / span 5;
    grid-row: 1;
  }

  .page-home .hero-cats {
    order: 0;
    grid-column: 1 / span 7;
    grid-row: 2;
    justify-content: center;
  }

  .page-home .hero-media {
    order: 0;
    grid-column: 8 / span 5;
    grid-row: 2;
  }
}

/* ---------- 页内索引条 ---------- */
.page-home .home-index {
  background: var(--paper-white);
  border-block: 1px solid var(--line-soft);
}

.page-home .home-index-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.25rem;
  padding-block: 0.7rem;
  font-size: 0.87rem;
}

.page-home .home-index-label {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--copper);
  padding-right: 0.6rem;
  border-right: 1px solid var(--line-soft);
}

.page-home .home-index a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-block: 0.15rem;
  transition: border-color 180ms ease;
}

.page-home .home-index a:hover,
.page-home .home-index a:focus-visible {
  border-bottom-color: var(--cinnabar);
}

/* ---------- 通用章节头 ---------- */
.page-home .section-head {
  display: grid;
  gap: 0.6rem;
  margin-bottom: clamp(1.2rem, 3vw, 1.9rem);
  max-width: 48rem;
}

.page-home .section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  line-height: 1.32;
  color: var(--ink);
}

.page-home .section-sub {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--ink);
  max-width: 34em;
}

.page-home .eyebrow--on-dark {
  color: var(--copper-light);
}

/* ---------- 主入口 ---------- */
.page-home .entry {
  padding-block: var(--home-space);
  background: var(--paper);
}

.page-home .entry-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: clamp(1.1rem, 2.5vw, 1.6rem);
}

.page-home .entry-tabs .segmented-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.page-home .entry-tabs .segmented-btn .mono {
  font-size: 0.76rem;
  color: var(--copper);
}

.page-home .entry-tabs .segmented-btn:hover .mono,
.page-home .entry-tabs .segmented-btn:focus-visible .mono {
  color: var(--cinnabar);
}

.page-home .entry-panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
}

.page-home .entry-panel {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: clamp(1.1rem, 2.6vw, 1.7rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--paper-white);
  box-shadow: var(--shadow-plate);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.page-home .entry-panel:target {
  border-color: var(--copper);
  box-shadow: 0 0 0 1px var(--copper), var(--shadow-plate);
}

.page-home .entry-panel--download {
  border-top: 3px solid var(--copper);
}

.page-home .entry-panel--register {
  border-top: 3px solid var(--celadon);
}

.page-home .entry-panel--tools {
  background: var(--ink-navy);
  border-color: var(--line-on-dark);
  color: var(--paper-white);
}

.page-home .entry-panel-no {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--copper);
}

.page-home .entry-panel--tools .entry-panel-no {
  color: var(--copper-light);
}

.page-home .entry-panel-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  line-height: 1.35;
  color: var(--ink);
}

.page-home .entry-panel--tools .entry-panel-title {
  color: var(--paper-white);
}

.page-home .entry-panel-lede {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink);
}

.page-home .entry-panel--tools .entry-panel-lede {
  color: var(--mist);
}

.page-home .entry-steps {
  margin: 0;
  padding: 0 0 0 1.15rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.89rem;
  line-height: 1.7;
  color: var(--ink);
}

.page-home .entry-steps li::marker {
  color: var(--copper);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.page-home .entry-tip {
  margin: 0;
  padding: 0.6rem 0.7rem;
  font-size: 0.83rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  border-left: 2px solid var(--copper-light);
}

.page-home .entry-link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cinnabar);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
}

.page-home .entry-link:hover,
.page-home .entry-link:focus-visible {
  border-bottom-color: var(--cinnabar);
}

.page-home .entry-panel--tools .entry-link {
  color: var(--copper-light);
}

.page-home .entry-panel--tools .entry-link:hover,
.page-home .entry-panel--tools .entry-link:focus-visible {
  border-bottom-color: var(--copper-light);
}

.page-home .tool-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.page-home .tool-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.3rem 0.8rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed var(--line-on-dark-soft);
}

.page-home .tool-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--paper-white);
}

.page-home .tool-desc {
  font-size: 0.8rem;
  color: var(--mist);
}

@media (min-width: 800px) {
  .page-home .entry-panels {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: stretch;
  }
}

/* ---------- 分类标签带 ---------- */
.page-home .categories {
  padding-block: var(--home-space);
}

.page-home .cat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
}

.page-home .cat-main {
  display: grid;
  gap: var(--home-gap);
}

.page-home .cat-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  padding: 0.9rem;
  background: var(--paper-white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.page-home .cat-chip {
  display: inline-block;
  padding: 0.28rem 0.66rem;
  font-size: 0.82rem;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  transition: border-color 160ms ease, color 160ms ease;
}

.page-home .cat-chip:hover,
.page-home .cat-chip:focus-visible {
  border-color: var(--copper);
  color: var(--cinnabar);
}

.page-home .cat-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.page-home .cat-card {
  display: grid;
  gap: 0.4rem;
  padding: 1rem 1.05rem;
  background: var(--paper-white);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--copper);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 200ms ease, border-color 200ms ease;
}

.page-home .cat-card:hover,
.page-home .cat-card:focus-visible {
  border-left-color: var(--cinnabar);
  transform: translateY(-2px);
}

.page-home .cat-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
}

.page-home .cat-card p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--ink);
}

.page-home .cat-card .tag {
  justify-self: start;
}

.page-home .cat-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--paper-white);
}

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

.page-home .cat-media .media-caption {
  padding: 0.7rem 0.85rem;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--ink);
  border-top: 1px solid var(--line-soft);
  background: var(--paper-white);
}

@media (min-width: 640px) {
  .page-home .cat-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .page-home .cat-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* ---------- 使用记录 ---------- */
.page-home .records {
  padding-block: var(--home-space);
  background: var(--paper);
}

.page-home .record-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
  align-items: center;
}

.page-home .record-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--paper-white);
}

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

.page-home .record-body {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.page-home .record-body h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 3.2vw, 1.9rem);
  line-height: 1.34;
  color: var(--ink);
}

.page-home .record-steps {
  list-style: none;
  margin: 0.3rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.page-home .record-steps li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  padding-bottom: 0.8rem;
  border-bottom: 1px dashed var(--line-soft);
}

.page-home .record-steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .record-step-num {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  font-size: 0.8rem;
  color: var(--copper);
  border: 1px solid var(--copper);
  border-radius: 50%;
}

.page-home .record-step-text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--ink);
}

.page-home .record-step-text strong {
  display: block;
  font-size: 0.93rem;
  color: var(--ink);
  margin-bottom: 0.1rem;
}

.page-home .record-body .btn {
  justify-self: start;
}

@media (min-width: 900px) {
  .page-home .record-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(1.2rem, 3vw, 2.2rem);
  }
}

/* ---------- 版本与更新 ---------- */
.page-home .version {
  padding-block: var(--home-space);
}

.page-home .version-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.1rem, 3vw, 2rem);
  padding: clamp(1.2rem, 3.2vw, 2.3rem);
  background: var(--ink-navy);
  color: var(--paper-white);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius);
}

.page-home .version-lead {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.page-home .version-lead h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 3.2vw, 1.95rem);
  line-height: 1.34;
  color: var(--paper-white);
}

.page-home .version-text {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--paper-white);
  max-width: 34em;
}

.page-home .version-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.3rem;
}

.page-home .version-stat {
  display: grid;
  gap: 0.2rem;
  padding: 0.65rem 0.7rem;
  background: rgba(251, 247, 240, 0.06);
  border: 1px solid var(--line-on-dark-soft);
  border-radius: var(--radius);
}

.page-home .version-stat-num {
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--copper-light);
}

.page-home .version-stat-label {
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--mist);
}

.page-home .version-cta {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.2rem;
  padding-bottom: 0.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--copper-light);
  text-decoration: none;
  border-bottom: 1px solid var(--line-on-dark);
}

.page-home .version-cta:hover,
.page-home .version-cta:focus-visible {
  border-bottom-color: var(--copper-light);
}

.page-home .version-side {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.page-home .version-side-title {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.page-home .version-rail {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.1rem;
  display: grid;
  gap: 0.7rem;
  border-left: 1px solid var(--line-on-dark);
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--mist);
}

.page-home .version-rail li {
  position: relative;
}

.page-home .version-rail li::before {
  content: "";
  position: absolute;
  left: -1.41rem;
  top: 0.5em;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 3px var(--ink-navy);
}

.page-home .version-rail-key {
  display: block;
  font-weight: 600;
  color: var(--paper-white);
}

.page-home .version-media {
  margin: 0.25rem 0 0;
  overflow: hidden;
  border: 1px solid var(--line-on-dark-soft);
  border-radius: var(--radius);
}

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

@media (min-width: 900px) {
  .page-home .version-board {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* ---------- 服务承诺 ---------- */
.page-home .service {
  padding-block: var(--home-space);
  background: var(--paper);
}

.page-home .service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.1rem, 3vw, 2rem);
  align-items: start;
}

.page-home .promise-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.page-home .promise {
  padding: 0.95rem 1.05rem;
  background: var(--paper-white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-plate);
}

.page-home .promise-title {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--ink);
}

.page-home .promise-text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.72;
  color: var(--ink);
}

.page-home .service-side {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.page-home .service-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.page-home .service-stat {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0.8rem;
  background: var(--deep-teal);
  border-radius: var(--radius);
  color: var(--paper-white);
}

.page-home .service-stat-num {
  font-size: clamp(1.3rem, 3.2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--copper-light);
}

.page-home .service-stat-label {
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--paper-white);
}

.page-home .service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.page-home .service-note {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--ink);
  padding-top: 0.7rem;
  border-top: 1px solid var(--line-soft);
}

@media (min-width: 620px) {
  .page-home .promise-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .page-home .service-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .cat-card,
  .page-home .entry-panel,
  .page-home .home-index a {
    transition: none;
  }

  .page-home .cat-card:hover,
  .page-home .cat-card:focus-visible {
    transform: none;
  }
}
<<<END>>>
