.page-home {
  --home-line: rgba(107, 63, 160, 0.16);
  --home-grid: 96px;
  display: block;
}

/* ============ 章节刻度导航 ============ */
.page-home .home-tick {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 30;
  pointer-events: auto;
}

@media (min-width: 1200px) {
  .page-home .home-tick {
    display: flex;
  }
}

.page-home .home-tick .spy-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(62, 31, 99, 0.5);
  text-decoration: none;
  border-right: 2px solid rgba(107, 63, 160, 0.18);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .home-tick .spy-link span {
  opacity: 0.65;
}

.page-home .home-tick .spy-link:hover,
.page-home .home-tick .spy-link:focus-visible {
  color: var(--grape);
  border-right-color: var(--grape);
}

.page-home .home-tick .spy-link[aria-current="true"] {
  color: var(--jing);
  border-right-color: var(--jing);
  font-weight: 700;
}

/* ============ 首屏框景 ============ */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 44px) 0 clamp(48px, 6vw, 88px);
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(107, 63, 160, 0.15), transparent 58%),
    linear-gradient(180deg, rgba(231, 222, 244, 0.6), rgba(246, 239, 228, 0) 62%),
    var(--paper);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, var(--home-line) 1px, transparent 1px);
  background-size: var(--home-grid) 100%;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 72%);
  pointer-events: none;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  top: -64px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 179, 61, 0.28), transparent 68%);
  pointer-events: none;
}

.page-home .home-hero-shell {
  position: relative;
  z-index: 1;
}

.page-home .home-hero-grid {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  margin-top: clamp(18px, 3vw, 34px);
}

@media (min-width: 920px) {
  .page-home .home-hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.page-home .home-hero-copy {
  animation: home-rise 420ms var(--ease) both;
}

.page-home .home-hero-title {
  margin: 12px 0 0;
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--grape-ink);
  overflow-wrap: break-word;
}

.page-home .home-hero-title .hl {
  display: inline;
  color: var(--jing);
  background-image: linear-gradient(180deg, transparent 74%, rgba(242, 179, 61, 0.62) 74%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.page-home .home-hero-lede {
  max-width: 46ch;
  margin: 22px 0 0;
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.85;
  color: var(--graphite);
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 30px;
}

.page-home .home-hero-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--grape-deep);
  text-decoration: none;
  border-bottom: 2px solid rgba(107, 63, 160, 0.3);
  padding-bottom: 2px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

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

.page-home .home-hero-note {
  margin: 20px 0 0;
  font-size: 0.82rem;
  color: rgba(34, 32, 42, 0.62);
}

.page-home .home-hero-note kbd {
  display: inline-block;
  padding: 1px 7px;
  margin: 0 3px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--grape-ink);
  background: var(--lilac);
  border: 1px solid rgba(107, 63, 160, 0.35);
  border-radius: 2px;
}

.page-home .home-hero-panel {
  position: relative;
  animation: home-rise 480ms var(--ease) 80ms both;
}

.page-home .home-hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

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

.page-home .home-hero-glass {
  position: relative;
  z-index: 2;
  margin: -60px 0 0 clamp(0px, 3vw, 30px);
  padding: 18px 20px 20px;
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-card);
}

.page-home .home-glass-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grape);
}

.page-home .home-glass-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-home .home-glass-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 7px 0;
  font-size: 0.9rem;
  color: var(--grape-ink);
  border-bottom: 1px dashed var(--hairline);
}

.page-home .home-glass-list li span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--jing);
}

.page-home .home-glass-foot {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: rgba(62, 31, 99, 0.68);
}

.page-home .home-annot {
  position: absolute;
  top: clamp(20px, 4vw, 46px);
  right: clamp(10px, 2vw, 26px);
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: rgba(107, 63, 160, 0.5);
  z-index: 1;
}

@media (max-width: 780px) {
  .page-home .home-annot {
    display: none;
  }
}

/* ============ 索引地图 ============ */
.page-home .home-index-grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  margin-top: clamp(22px, 3vw, 36px);
}

@media (min-width: 880px) {
  .page-home .home-index-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  }
}

.page-home .home-index-lede {
  margin: 0 0 22px;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--graphite);
  max-width: 62ch;
}

.page-home .home-cats {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}

.page-home .home-cats li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 6px 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  transition: background-color var(--dur) var(--ease);
}

.page-home .home-cats li:hover {
  background: rgba(231, 222, 244, 0.5);
}

@media (min-width: 700px) {
  .page-home .home-cats li {
    grid-template-columns: 56px 190px minmax(0, 1fr);
    align-items: baseline;
  }
}

.page-home .home-cat-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--grape);
}

.page-home .home-cats b {
  font-weight: 800;
  color: var(--grape-ink);
  font-size: 1rem;
}

.page-home .home-cats em {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(34, 32, 42, 0.72);
}

.page-home .home-index-tail {
  margin: 22px 0 18px;
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--graphite);
}

.page-home .home-index-rail {
  position: relative;
}

@media (min-width: 880px) {
  .page-home .home-index-rail {
    position: sticky;
    top: 104px;
  }
}

.page-home .home-index-phone {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transform: rotate(-2deg);
}

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

.page-home .home-index-rail .annot {
  display: block;
  margin-top: 14px;
  text-align: right;
}

/* ============ 固定入口 ============ */
.page-home .home-how-grid {
  display: grid;
  gap: clamp(24px, 3vw, 44px);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  margin-top: clamp(20px, 3vw, 32px);
}

@media (min-width: 800px) {
  .page-home .home-how-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }
}

.page-home .home-how-lede {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--grape-ink);
  max-width: 44ch;
  padding-left: 18px;
  border-left: 4px solid var(--grape);
}

.page-home .home-how-demo {
  padding: clamp(20px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.page-home .home-how-bar {
  display: flex;
  gap: 3px;
  padding: 6px;
  border-radius: var(--radius);
  background: var(--grape-deep);
  overflow: hidden;
}

.page-home .home-how-bar span {
  flex: 1;
  min-width: 0;
  padding: 9px 2px;
  text-align: center;
  font-size: 0.76rem;
  color: rgba(246, 239, 228, 0.66);
  border-radius: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .home-how-bar .is-on {
  background: var(--jing);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 6px 16px -8px rgba(200, 16, 46, 0.9);
}

.page-home .home-how-demo .annot {
  display: block;
  margin-top: 12px;
  text-align: right;
}

/* ============ 移动端速度 ============ */
.page-home .home-speed-grid {
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  margin-top: clamp(20px, 3vw, 32px);
}

@media (min-width: 840px) {
  .page-home .home-speed-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  }
}

.page-home .home-speed-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.page-home .home-figure {
  padding: 22px 18px;
  background: linear-gradient(160deg, var(--grape-deep), var(--grape-ink));
  color: var(--paper);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-card);
}

.page-home .home-figure-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(1.85rem, 3.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.page-home .home-figure-unit {
  margin-left: 5px;
  font-size: 0.8rem;
  color: var(--gold);
}

.page-home .home-figure p {
  margin: 10px 0 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgba(246, 239, 228, 0.76);
}

.page-home .home-speed-copy p {
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--graphite);
  max-width: 52ch;
}

.page-home .home-speed-media {
  margin-top: clamp(26px, 4vw, 44px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

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

/* ============ 案例与适配 ============ */
.page-home .home-cases {
  position: relative;
  padding: clamp(56px, 8vw, 100px) 0;
  background:
    radial-gradient(90% 70% at 10% 0%, rgba(107, 63, 160, 0.62), transparent 62%),
    linear-gradient(150deg, var(--ink-green) 0%, #0c2a26 100%);
  color: var(--paper);
  overflow: hidden;
}

.page-home .home-cases::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 300px;
  height: 300px;
  border: 1px dashed rgba(242, 179, 61, 0.42);
  border-radius: 50%;
  pointer-events: none;
}

.page-home .home-cases .section-title {
  color: var(--paper);
}

.page-home .home-cases .section-kicker {
  color: var(--gold);
}

.page-home .home-cases .section-num {
  background: var(--gold);
  color: var(--grape-ink);
}

.page-home .home-cases-grid {
  display: grid;
  gap: clamp(24px, 4vw, 46px);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  margin-top: clamp(22px, 3vw, 36px);
  position: relative;
  z-index: 1;
}

@media (min-width: 880px) {
  .page-home .home-cases-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }
}

.page-home .home-cases-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.85);
}

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

.page-home .home-cases-copy p {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(246, 239, 228, 0.86);
  max-width: 50ch;
}

.page-home .home-cases-copy .btn-gold {
  margin-top: 6px;
}

.page-home .home-pnum {
  list-style: none;
  margin: clamp(30px, 4vw, 46px) 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  position: relative;
  z-index: 1;
}

@media (min-width: 760px) {
  .page-home .home-pnum {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .page-home .home-pnum {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.page-home .home-pnum li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 14px;
  font-size: 0.88rem;
  color: rgba(246, 239, 228, 0.88);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(242, 179, 61, 0.26);
  border-radius: var(--radius);
}

.page-home .home-pnum .num-badge {
  align-self: flex-start;
}

/* ============ 收藏 ============ */
.page-home .home-keep-grid {
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  grid-template-columns: minmax(0, 1fr);
  margin-top: clamp(20px, 3vw, 32px);
}

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

.page-home .home-keep-lede {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.9;
  color: var(--grape-ink);
  padding-left: 18px;
  border-left: 4px solid var(--jing);
  max-width: 46ch;
}

.page-home .home-keep-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hairline);
}

.page-home .home-keep-list li {
  position: relative;
  padding: 13px 0 13px 26px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--graphite);
  border-bottom: 1px solid var(--hairline);
}

.page-home .home-keep-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 179, 61, 0.26);
}

/* ============ 更新 ============ */
.page-home .home-updates-lede {
  margin: 0 0 26px;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--graphite);
}

.page-home .home-timeline {
  list-style: none;
  margin: 0 0 30px;
  padding: 0 0 0 28px;
  position: relative;
  display: grid;
  gap: 26px;
}

.page-home .home-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--grape), var(--jing), var(--gold));
}

.page-home .home-timeline li {
  position: relative;
}

.page-home .home-tl-node {
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--jing);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 2px var(--grape);
}

.page-home .home-tl-meta {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--grape);
}

.page-home .home-timeline h3 {
  margin: 0 0 8px;
  font-size: 1.14rem;
  font-weight: 800;
  color: var(--grape-ink);
}

.page-home .home-timeline li p:last-child {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--graphite);
  max-width: 62ch;
}

/* ============ 进场动画 ============ */
@keyframes home-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero-copy,
  .page-home .home-hero-panel {
    animation: none;
  }
}

/* ============ 窄屏细节 ============ */
@media (max-width: 560px) {
  .page-home .home-hero-glass {
    margin: -40px 0 0 0;
    padding: 16px;
  }

  .page-home .home-hero-title {
    letter-spacing: -0.015em;
  }

  .page-home .home-how-bar span {
    font-size: 0.68rem;
    padding: 8px 1px;
  }

  .page-home .home-speed-figures {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home .home-pnum {
    grid-template-columns: minmax(0, 1fr);
  }
}
</｜｜DSML｜｜ parameter>
</｜｜DSML｜｜ invoke>
</｜｜DSML｜｜ calls>
