.page-home {
  --home-gap: clamp(14px, 2.2vw, 24px);
  --home-radius: 4px;
  display: block;
  background: var(--paper);
  color: var(--ink);
}

.page-home .section {
  padding: clamp(56px, 8vw, 108px) 0;
}

.page-home .section-head {
  max-width: 46em;
  margin-bottom: clamp(30px, 4.4vw, 52px);
}

/* ============ 首屏 ============ */

.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(160deg, #16130F 0%, #2E2723 55%, #3A342E 100%);
  color: var(--paper);
  padding: calc(var(--header-h) + 56px) 0 clamp(38px, 5vw, 66px);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(246, 241, 231, 0.07) 1px, transparent 1px);
  background-size: 6px 6px;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  top: -14%;
  right: -16%;
  bottom: -14%;
  width: 66%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(158, 43, 37, 0.42), rgba(158, 43, 37, 0) 64%);
  clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%);
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 48px);
}

.page-home .home-hero__eyebrow {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
  font-family: var(--font-mono);
}

.page-home .home-hero__title {
  margin: 16px 0 18px;
  font-family: var(--font-head);
  font-size: clamp(2rem, 6.6vw, 3.55rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.page-home .home-hero__lead {
  margin: 0;
  max-width: 34em;
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  line-height: 1.85;
  color: rgba(246, 241, 231, 0.82);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 34px);
}

.page-home .home-hero__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--home-radius);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: transform 0.28s var(--ease), background-color 0.28s var(--ease), color 0.28s var(--ease), border-color 0.28s var(--ease);
}

.page-home .home-hero__actions .btn:hover {
  transform: translateY(-2px);
}

.page-home .home-hero__actions .btn-red {
  background: var(--lacquer-red);
  border: 1px solid var(--lacquer-red);
  color: var(--paper);
}

.page-home .home-hero__actions .btn-red:hover {
  background: var(--lacquer-deep);
  border-color: var(--lacquer-deep);
}

.page-home .home-hero__actions .btn-gold {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-soft);
}

.page-home .home-hero__actions .btn-gold:hover {
  background: var(--gold-soft);
  color: var(--ink);
  border-color: var(--gold-soft);
}

.page-home .home-hero__actions .btn-ghost {
  background: transparent;
  border: 1px solid rgba(246, 241, 231, 0.42);
  color: var(--paper);
}

.page-home .home-hero__actions .btn-ghost:hover {
  border-color: var(--paper);
  background: rgba(246, 241, 231, 0.1);
}

.page-home .home-hero__aside {
  margin: 18px 0 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(246, 241, 231, 0.6);
}

.page-home .home-hero__aside a {
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(228, 206, 134, 0.6);
}

.page-home .home-hero__aside a:hover {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

.page-home .home-hero__visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--home-radius);
  border: 1px solid rgba(228, 206, 134, 0.3);
  background: rgba(22, 19, 15, 0.5);
  box-shadow: var(--shadow-deep);
}

.page-home .home-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.03);
  opacity: 0.88;
}

.page-home .home-hero__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 3px;
  background: rgba(22, 19, 15, 0.84);
  border: 1px solid rgba(228, 206, 134, 0.5);
  color: var(--gold-soft);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.page-home .home-hero__scale {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: clamp(30px, 4.6vw, 58px) auto 0;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.4vw, 24px);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: rgba(246, 241, 231, 0.55);
  white-space: nowrap;
}

.page-home .home-hero__scale-line {
  flex: 1 1 auto;
  min-width: 40px;
  height: 7px;
  border-bottom: 1px solid rgba(201, 162, 39, 0.38);
  background-image: repeating-linear-gradient(90deg, var(--gold) 0 1px, transparent 1px 20px);
  background-repeat: repeat-x;
  background-position: bottom left;
  background-size: 20px 7px;
}

/* ============ 周三更新节拍 ============ */

.page-home .home-rhythm {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .home-rhythm__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3.4vw, 42px);
  align-items: center;
}

.page-home .home-rhythm__figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--home-radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.page-home .home-rhythm__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .home-rhythm__intro .section-title {
  margin: 12px 0 14px;
}

.page-home .home-rhythm__scroller {
  margin-top: clamp(30px, 4.6vw, 54px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 14px;
  scrollbar-width: thin;
}

.page-home .home-rhythm__track {
  list-style: none;
  margin: 0;
  padding: 4px var(--gutter) 6px;
  display: flex;
  gap: clamp(12px, 1.8vw, 20px);
  width: max-content;
}

.page-home .home-rhythm__node {
  position: relative;
  flex: 0 0 auto;
  width: min(76vw, 272px);
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  padding: 24px 20px 26px;
  box-shadow: 0 10px 28px rgba(22, 19, 15, 0.07);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.page-home .home-rhythm__node::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--lacquer-red);
  border-radius: var(--home-radius) var(--home-radius) 0 0;
}

.page-home .home-rhythm__node:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(22, 19, 15, 0.12);
}

.page-home .home-rhythm__dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(201, 162, 39, 0.16);
  margin-bottom: 16px;
}

.page-home .home-rhythm__step {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--lacquer-red);
  background: rgba(158, 43, 37, 0.09);
  padding: 2px 8px;
  border-radius: 2px;
}

.page-home .home-rhythm__node h3 {
  margin: 12px 0 8px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.page-home .home-rhythm__node p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--ink-2);
}

/* ============ 双组目录 Bento ============ */

.page-home .home-bento {
  background: var(--paper);
}

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

.page-home .home-bento__cell {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .home-bento__cell:hover,
.page-home .home-bento__cell:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: rgba(158, 43, 37, 0.34);
}

.page-home .home-bento__cell::after {
  content: attr(data-code);
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  padding: 2px 7px;
  border-radius: 2px;
  background: rgba(22, 19, 15, 0.84);
  color: var(--gold-soft);
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.page-home .home-bento__cell:hover::after,
.page-home .home-bento__cell:focus-within::after {
  opacity: 1;
  transform: translateY(0);
}

.page-home .home-bento__cell--case {
  border-top: 3px solid var(--lacquer-red);
}

.page-home .home-bento__cell--lib {
  border-top: 3px solid var(--jade);
}

.page-home .home-bento__cell--search {
  border-top: 3px solid var(--clay);
}

.page-home .home-bento__figure {
  margin: 0;
  overflow: hidden;
  background: var(--paper-2);
}

.page-home .home-bento__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.page-home .home-bento__cell--case:hover .home-bento__figure img {
  transform: scale(1.03);
}

.page-home .home-bento__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.3vw, 26px);
}

.page-home .home-bento__body h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.page-home .home-bento__body p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.78;
  color: var(--ink-2);
}

.page-home .home-bento__link {
  margin-top: auto;
  padding-top: 8px;
  align-self: flex-start;
  font-size: 0.9rem;
  color: var(--lacquer-red);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.26s var(--ease), border-color 0.26s var(--ease);
}

.page-home .home-bento__link:hover {
  color: var(--lacquer-deep);
  border-bottom-color: var(--lacquer-deep);
}

/* ============ 版本对照 ============ */

.page-home .home-versions {
  background: linear-gradient(160deg, #16130F 0%, #2E2723 55%, #3A342E 100%);
  color: var(--paper);
}

.page-home .home-versions .eyebrow {
  color: var(--gold-soft);
}

.page-home .home-versions .section-title {
  margin: 12px 0 14px;
  color: var(--paper);
}

.page-home .home-versions .section-lead {
  margin: 0;
  max-width: 36em;
  color: rgba(246, 241, 231, 0.74);
  line-height: 1.85;
}

.page-home .home-versions__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
}

.page-home .home-versions__panel {
  margin: clamp(24px, 3.2vw, 36px) 0 clamp(22px, 3vw, 32px);
  border: 1px solid rgba(228, 206, 134, 0.24);
  border-radius: var(--home-radius);
  background: rgba(246, 241, 231, 0.055);
  overflow: hidden;
}

.page-home .home-versions__row {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(228, 206, 134, 0.16);
  transition: background-color 0.26s var(--ease);
}

.page-home .home-versions__row:last-child {
  border-bottom: 0;
}

.page-home .home-versions__row:hover {
  background: rgba(228, 206, 134, 0.08);
}

.page-home .home-versions__name {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--paper);
}

.page-home .home-versions__ver {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 2px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--gold-soft);
}

.page-home .home-versions__spec {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.72;
  color: rgba(246, 241, 231, 0.7);
}

.page-home .home-versions__figure {
  margin: 0;
  border-radius: var(--home-radius);
  overflow: hidden;
  border: 1px solid rgba(228, 206, 134, 0.24);
  background: rgba(22, 19, 15, 0.5);
}

.page-home .home-versions__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  filter: saturate(0.78);
}

.page-home .home-versions__figure figcaption {
  padding: 12px 16px 16px;
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(246, 241, 231, 0.6);
}

.page-home .home-versions .btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: var(--home-radius);
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background-color 0.28s var(--ease), color 0.28s var(--ease), transform 0.28s var(--ease);
}

.page-home .home-versions .btn-gold:hover {
  background: var(--gold-soft);
  color: var(--ink);
  transform: translateY(-2px);
}

/* ============ 数字 ============ */

.page-home .home-numbers {
  background: var(--paper);
}

.page-home .home-numbers .section-lead a {
  color: var(--lacquer-red);
  text-decoration: none;
  border-bottom: 1px solid rgba(158, 43, 37, 0.45);
}

.page-home .home-numbers .section-lead a:hover {
  border-bottom-color: var(--lacquer-red);
}

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

.page-home .home-numbers__item {
  padding: 20px 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  background: linear-gradient(180deg, rgba(228, 206, 134, 0.14), rgba(228, 206, 134, 0));
}

.page-home .home-numbers__item dt {
  margin-bottom: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--stone);
}

.page-home .home-numbers__item dd {
  margin: 0;
}

.page-home .home-numbers__value {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 3px;
  background: rgba(228, 206, 134, 0.26);
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--lacquer-red);
}

.page-home .home-numbers__note {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  line-height: 1.62;
  color: var(--ink-2);
}

/* ============ 洽谈与订阅 ============ */

.page-home .home-cta {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

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

.page-home .home-cta__panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 3.4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  background: var(--paper);
}

.page-home .home-cta__panel--sub {
  background: linear-gradient(160deg, rgba(63, 107, 92, 0.13), rgba(63, 107, 92, 0.02));
  border-color: rgba(63, 107, 92, 0.32);
}

.page-home .home-cta__panel .eyebrow {
  margin: 0;
}

.page-home .home-cta__panel h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.page-home .home-cta__panel p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.82;
  color: var(--ink-2);
}

.page-home .home-cta__panel .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 46px;
  margin-top: 6px;
  padding: 0 24px;
  border-radius: var(--home-radius);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: transform 0.28s var(--ease), background-color 0.28s var(--ease), color 0.28s var(--ease), border-color 0.28s var(--ease);
}

.page-home .home-cta__panel .btn:hover {
  transform: translateY(-2px);
}

.page-home .home-cta__panel .btn-red {
  background: var(--lacquer-red);
  border: 1px solid var(--lacquer-red);
  color: var(--paper);
}

.page-home .home-cta__panel .btn-red:hover {
  background: var(--lacquer-deep);
  border-color: var(--lacquer-deep);
}

.page-home .home-cta__panel .btn-gold {
  background: transparent;
  border: 1px solid var(--jade);
  color: var(--jade);
}

.page-home .home-cta__panel .btn-gold:hover {
  background: var(--jade);
  color: var(--paper);
}

/* ============ 响应式 ============ */

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

@media (min-width: 860px) {
  .page-home .home-rhythm__head {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }

  .page-home .home-rhythm__track {
    margin-inline: auto;
  }
}

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

  .page-home .home-bento__cell--case {
    grid-column: span 7;
  }

  .page-home .home-bento__cell--lib {
    grid-column: span 5;
  }

  .page-home .home-bento__cell--search,
  .page-home .home-bento__cell--host,
  .page-home .home-bento__cell--build {
    grid-column: span 4;
  }

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

@media (min-width: 960px) {
  .page-home .home-hero {
    padding-top: calc(var(--header-h) + 72px);
  }

  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
    gap: clamp(36px, 5vw, 72px);
  }

  .page-home .home-hero__visual {
    border-radius: 0;
    clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%);
  }

  .page-home .home-versions__inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: start;
  }
}

@media (max-width: 560px) {
  .page-home .home-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-home .home-hero__actions .btn {
    width: 100%;
  }

  .page-home .home-hero__scale {
    font-size: 0.625rem;
    letter-spacing: 0.08em;
  }

  .page-home .home-cta__panel .btn {
    align-self: stretch;
    width: 100%;
  }
}
<<<END>>>
