.page-home {
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(40px, 8vw, 88px) 0 0;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -14%;
  width: min(720px, 82vw);
  height: min(720px, 82vw);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 122, 47, 0.30) 0%, rgba(242, 69, 92, 0.16) 44%, rgba(242, 69, 92, 0) 72%);
  pointer-events: none;
  z-index: -1;
  animation: home-breathe 8s ease-in-out infinite;
}

@keyframes home-breathe {
  0%, 100% { transform: scale(1); opacity: 0.82; }
  50% { transform: scale(1.07); opacity: 1; }
}

.page-home .home-hero__inner {
  position: relative;
  display: grid;
  gap: clamp(30px, 5vw, 60px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.page-home .home-hero__title {
  margin: 14px 0 22px;
  font-size: clamp(2.2rem, 5.4vw, 4.1rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 15em;
}

.page-home .home-hero__lead {
  max-width: 34em;
  color: var(--ink);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-home .home-hero__figure {
  margin: 0;
}

.page-home .home-hero__figure .figure__frame {
  border-radius: var(--r-lg);
}

/* ---------- 章节预览 ---------- */
.page-home .home-preview {
  padding-bottom: clamp(40px, 6vw, 76px);
}

.page-home .home-preview__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.page-home .home-preview__cell {
  min-width: 0;
}

.page-home .home-preview__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 4px;
  align-items: baseline;
  padding: 20px 4px 22px 0;
  border-top: 1px solid rgba(228, 192, 138, 0.7);
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-home .home-preview__num {
  grid-row: 1 / span 2;
  font-size: 0.8125rem;
  color: var(--orange);
  letter-spacing: 0.08em;
}

.page-home .home-preview__name {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color var(--dur) var(--ease);
}

.page-home .home-preview__desc {
  grid-column: 2;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--sage);
}

.page-home .home-preview__item:hover .home-preview__name,
.page-home .home-preview__item:focus-visible .home-preview__name {
  color: var(--blue);
}

.page-home .home-preview__item:hover {
  transform: translateX(4px);
}

/* ---------- 12 分类 ---------- */
.page-home .home-cats__head {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  margin-bottom: clamp(30px, 4vw, 52px);
}

.page-home .home-cats__mark {
  margin: 0;
  max-width: 260px;
}

.page-home .home-cats__intro p {
  max-width: 40em;
  margin: 14px 0 0;
}

.page-home .home-cats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 clamp(16px, 2.4vw, 34px);
}

.page-home .cat {
  display: block;
  padding: 20px 2px 26px;
  border-top: 1px solid rgba(228, 192, 138, 0.55);
  text-decoration: none;
  color: inherit;
  transition: background var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.page-home .cat__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--sage);
  transition: color var(--dur) var(--ease), font-weight var(--dur) var(--ease);
}

.page-home .cat__name {
  display: block;
  margin: 8px 0 6px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color var(--dur) var(--ease);
}

.page-home .cat__desc {
  display: block;
  font-size: 0.875rem;
  line-height: 1.68;
  color: var(--sage);
}

.page-home .cat:hover,
.page-home .cat:focus-visible {
  background: var(--warm-soft);
  padding-left: 12px;
}

.page-home .cat:hover .cat__num {
  color: var(--coral-deep);
  font-weight: 700;
}

.page-home .cat:hover .cat__name {
  color: var(--ink);
}

.page-home .home-cats__more {
  margin: clamp(26px, 3.6vw, 44px) 0 0;
}

/* ---------- 版本对照 ---------- */
.page-home .home-versions {
  position: relative;
}

.page-home .home-versions__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.6vw, 30px);
  margin-top: clamp(26px, 3.6vw, 44px);
}

.page-home .vcol {
  padding: clamp(24px, 3vw, 36px) clamp(20px, 2.6vw, 34px) clamp(26px, 3vw, 38px);
  border-radius: var(--r-lg);
  background: var(--paper);
}

.page-home .vcol--beta {
  border-top: 4px solid var(--coral);
}

.page-home .vcol--live {
  border-top: 4px solid var(--deep);
}

.page-home .vcol .h3 {
  margin: 16px 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.32;
}

.page-home .vcol p {
  margin: 0;
  color: var(--ink);
}

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

.page-home .vcol__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9375rem;
  color: var(--sage);
}

.page-home .vcol__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 2px;
  background: var(--sand);
}

.page-home .home-versions__figure {
  margin: clamp(30px, 4vw, 52px) auto 0;
  max-width: 620px;
}

.page-home .home-versions__figure .figure__caption {
  margin-top: 12px;
  text-align: center;
}

/* ---------- 更新节奏 ---------- */
.page-home .home-rhythm__lead {
  max-width: 42em;
  margin: 14px 0 0;
}

.page-home .home-rhythm__figure {
  margin: clamp(28px, 4vw, 48px) 0 0;
}

.page-home .home-rhythm__figure .figure__frame {
  border-radius: var(--r-lg);
}

.page-home .home-rhythm__track {
  list-style: none;
  margin: clamp(28px, 4vw, 46px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(228, 192, 138, 0.7);
}

.page-home .home-rhythm__node {
  display: grid;
  gap: 6px;
  padding: 22px 2px 24px;
  border-bottom: 1px solid rgba(228, 192, 138, 0.55);
}

.page-home .home-rhythm__when {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--coral-deep);
}

.page-home .home-rhythm__what {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
}

.page-home .home-rhythm__why {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--sage);
}

.page-home .home-rhythm__cta {
  margin: clamp(26px, 3.4vw, 40px) 0 0;
}

/* ---------- 使用场景 ---------- */
.page-home .home-users__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(26px, 3.6vw, 44px);
}

.page-home .home-user {
  padding: clamp(22px, 2.8vw, 34px);
  border-radius: var(--r-lg);
  background: var(--mint);
}

.page-home .home-user--a,
.page-home .home-user--c,
.page-home .home-user--e {
  background: var(--mist);
}

.page-home .home-user--b,
.page-home .home-user--d {
  background: var(--mint);
}

.page-home .home-user__num {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--deep);
  opacity: 0.62;
}

.page-home .home-user .h3 {
  margin: 10px 0 10px;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.page-home .home-user p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink);
}

/* ---------- 服务网络（深色区块） ---------- */
.page-home .home-reach__inner {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
}

.page-home .home-reach__eyebrow {
  color: var(--sand);
}

.page-home .home-reach .h2 {
  color: var(--paper);
  margin: 12px 0 18px;
}

.page-home .home-reach__text p {
  max-width: 40em;
  margin: 0 0 14px;
  color: rgba(250, 245, 239, 0.82);
}

.page-home .home-reach__btn {
  margin-top: 14px;
  border-color: rgba(250, 245, 239, 0.5);
  color: var(--paper);
}

.page-home .home-reach__btn:hover,
.page-home .home-reach__btn:focus-visible {
  background: rgba(250, 245, 239, 0.12);
  border-color: var(--sand);
}

.page-home .home-reach__stats {
  display: grid;
  gap: 0;
  margin: 0;
  align-content: start;
}

.page-home .home-reach__stat {
  padding: 20px 0 22px;
  border-top: 1px solid rgba(228, 192, 138, 0.45);
}

.page-home .home-reach__stat dt {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--sand);
}

.page-home .home-reach__num {
  display: block;
  margin-top: 8px;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--paper);
  letter-spacing: -0.02em;
}

/* ---------- 订阅与帮助 ---------- */
.page-home .home-sub__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.4vw, 28px);
  margin-top: clamp(26px, 3.6vw, 44px);
}

.page-home .home-sub__card {
  display: block;
  padding: clamp(24px, 3vw, 38px);
  border-radius: var(--r-lg);
  background: var(--warm-soft);
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur-lg) var(--ease), box-shadow var(--dur-lg) var(--ease);
}

.page-home .home-sub__card--help {
  background: var(--mint);
}

.page-home .home-sub__card:hover,
.page-home .home-sub__card:focus-visible {
  transform: translateY(-4px);
}

.page-home .home-sub__idx {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--coral-deep);
}

.page-home .home-sub__card--help .home-sub__idx {
  color: var(--deep);
}

.page-home .home-sub__card .h3 {
  margin: 14px 0 12px;
  font-size: 1.375rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.page-home .home-sub__card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink);
}

.page-home .home-sub__go {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--blue);
  border-bottom: 1px solid var(--sand);
  padding-bottom: 2px;
}

.page-home .home-sub__foot {
  margin: clamp(26px, 3.4vw, 40px) 0 0;
  max-width: 46em;
  font-size: 0.9375rem;
  color: var(--sage);
}

.page-home .home-sub__foot a {
  color: var(--blue);
  border-bottom: 1px solid var(--sand);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease);
}

.page-home .home-sub__foot a:hover,
.page-home .home-sub__foot a:focus-visible {
  border-color: var(--blue);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .home-preview__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .page-home .home-reach__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 clamp(20px, 3vw, 40px);
  }
}

@media (min-width: 860px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    min-height: 60vh;
  }

  .page-home .home-hero__figure {
    align-self: stretch;
  }

  .page-home .home-hero__figure .figure__frame {
    height: 100%;
  }

  .page-home .home-cats__head {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    align-items: start;
  }

  .page-home .home-versions__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .page-home .home-versions__grid .vcol--beta {
    margin-top: clamp(20px, 3vw, 40px);
  }

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

  .page-home .home-reach__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }

  .page-home .home-reach__stats {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1000px) {
  .page-home .home-preview__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(18px, 2.4vw, 36px);
  }

  .page-home .home-hero__title {
    font-size: clamp(3rem, 5.4vw, 4.6rem);
  }

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

  .page-home .home-cats__grid > :nth-child(4n + 2) {
    padding-top: 44px;
  }

  .page-home .home-cats__grid > :nth-child(4n + 4) {
    padding-top: 22px;
  }

  .page-home .home-users__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .page-home .home-user--a,
  .page-home .home-user--b,
  .page-home .home-user--c {
    grid-column: span 2;
  }

  .page-home .home-user--d,
  .page-home .home-user--e {
    grid-column: span 3;
  }

  .page-home .home-user--d {
    margin-top: clamp(12px, 2vw, 28px);
  }

  .page-home .home-rhythm__track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(18px, 2.4vw, 34px);
  }

  .page-home .home-rhythm__node {
    border-bottom: none;
    border-top: 1px solid rgba(228, 192, 138, 0.55);
    padding-top: 24px;
  }

  .page-home .home-rhythm__node:nth-child(even) {
    padding-top: 54px;
  }
}

@media (min-width: 1200px) {
  .page-home .home-hero__title {
    font-size: 4.8rem;
  }
}

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

  .page-home .home-sub__card,
  .page-home .home-preview__item,
  .page-home .cat,
  .page-home .cat__num {
    transition: none;
  }

  .page-home .home-sub__card:hover,
  .page-home .home-preview__item:hover {
    transform: none;
  }
}
