.page-home {
  --home-rule: 1px solid var(--paper-200);
  --home-shadow: 0 16px 30px -22px rgba(7, 19, 31, 0.5);
  overflow-x: hidden;
  background: var(--paper-50);
  color: var(--ink-950);
  font-family: var(--font-body);
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-display);
}

.page-home [data-reveal] {
  transition-delay: var(--reveal-delay, 0ms);
}

.page-home :focus-visible {
  outline: 2px solid var(--cyan-700);
  outline-offset: 3px;
}

.page-home .home-link {
  color: var(--cyan-700);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(6, 113, 127, 0.4);
  padding-bottom: 1px;
  transition: color var(--dur-hover) var(--ease), border-color var(--dur-hover) var(--ease);
}

.page-home .home-link:hover,
.page-home .home-link:focus-visible {
  color: var(--amber-700);
  border-bottom-color: var(--amber-500);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 26px 0 46px;
  background: linear-gradient(155deg, var(--paper-50) 0%, var(--paper-50) 45%, var(--paper-100) 100%);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-home .home-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.13;
}

.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 12% 8%, rgba(247, 241, 229, 0.94), rgba(247, 241, 229, 0.5) 50%, rgba(239, 229, 210, 0.4));
}

.page-home .home-hero__inner {
  display: grid;
  gap: 34px;
}

.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--mist-500);
}

.page-home .home-context span {
  color: var(--amber-700);
}

.page-home .home-hero__title {
  margin: 14px 0 0;
  font-size: clamp(2.35rem, 8.6vw, 4.3rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--ink-950);
}

.page-home .home-hero__title em {
  font-style: normal;
  font-weight: 600;
  color: var(--ink-800);
  box-shadow: inset 0 -0.14em 0 0 rgba(22, 199, 216, 0.5);
}

.page-home .home-hero__lede {
  max-width: 34em;
  margin: 18px 0 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-600);
}

.page-home .home-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  margin: 26px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: var(--home-rule);
}

.page-home .home-facts li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.page-home .home-facts__num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-950);
}

.page-home .home-facts__label {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--mist-500);
}

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

/* ---------- 入口矩阵 ---------- */
.page-home .home-hero__panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .home-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: var(--home-rule);
}

.page-home .home-panel__head h2 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-800);
}

.page-home .home-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home .home-bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 16px;
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-md);
  background: rgba(247, 241, 229, 0.92);
  color: inherit;
  text-decoration: none;
  transition: transform var(--dur-hover) var(--ease),
    border-color var(--dur-hover) var(--ease),
    box-shadow var(--dur-hover) var(--ease);
}

.page-home .home-bento__card:hover {
  transform: translateY(-2px);
  border-color: var(--cyan-500);
  box-shadow: var(--home-shadow);
}

.page-home .home-bento__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.page-home .home-bento__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan-700);
}

.page-home .home-bento__chip {
  padding: 3px 8px;
  border: 1px solid rgba(242, 181, 68, 0.7);
  border-radius: 999px;
  background: rgba(242, 181, 68, 0.16);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--amber-700);
}

.page-home .home-bento__title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-950);
}

.page-home .home-bento__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-600);
}

.page-home .home-bento__thumb {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-sm);
}

.page-home .home-bento__thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.page-home .home-bento__go {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--cyan-700);
}

/* ---------- 主题索引 ---------- */
.page-home .home-topics {
  padding: 52px 0 56px;
  border-top: var(--home-rule);
  background: var(--paper-50);
}

.page-home .home-section__head {
  max-width: 46em;
}

.page-home .home-topics h2,
.page-home .home-cross h2,
.page-home .home-versions h2,
.page-home .home-support h2 {
  margin: 10px 0 0;
  font-size: clamp(1.65rem, 4.4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-home .home-topics__lede,
.page-home .home-support__lede {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-600);
}

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

.page-home .home-topic {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 16px;
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-sm);
  background: var(--paper-100);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--dur-hover) var(--ease),
    background-color var(--dur-hover) var(--ease),
    transform var(--dur-hover) var(--ease);
}

.page-home .home-topic:hover,
.page-home .home-topic:focus-visible {
  transform: translateY(-2px);
  border-color: var(--cyan-500);
  background: var(--paper-50);
}

.page-home .home-topic__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist-500);
}

.page-home .home-topic__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-800);
}

.page-home .home-topic__desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-600);
}

.page-home .home-topic__arrow {
  margin-top: auto;
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan-700);
}

.page-home .home-topics__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: var(--home-rule);
}

.page-home .home-filter-note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-600);
}

.page-home .home-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-tags li {
  padding: 4px 10px;
  border: 1px solid var(--paper-200);
  border-radius: 999px;
  background: var(--paper-100);
  font-size: 12px;
  color: var(--ink-600);
}

/* ---------- 跨端速览 ---------- */
.page-home .home-cross {
  position: relative;
  overflow: hidden;
  padding: 54px 0 56px;
  background: var(--ink-950);
  color: var(--paper-50);
}

.page-home .home-cross::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -130px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 199, 216, 0.22), rgba(22, 199, 216, 0) 68%);
  pointer-events: none;
}

.page-home .home-cross__inner {
  position: relative;
  display: grid;
  gap: 30px;
}

.page-home .home-cross .eyebrow {
  color: var(--cyan-500);
}

.page-home .home-cross h2 {
  color: var(--paper-50);
}

.page-home .home-cross__lede {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(247, 241, 229, 0.78);
}

.page-home .home-cross__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}

.page-home .home-cross__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(22, 199, 216, 0.3);
  border-radius: var(--radius-md);
  background: rgba(16, 42, 61, 0.78);
  color: var(--paper-50);
}

.page-home .home-cross__card--mobile {
  border-color: rgba(242, 181, 68, 0.55);
  background: var(--paper-50);
  color: var(--ink-950);
}

.page-home .home-cross__tag {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan-500);
}

.page-home .home-cross__card--mobile .home-cross__tag {
  color: var(--amber-700);
}

.page-home .home-cross__card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

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

.page-home .home-cross__list li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(247, 241, 229, 0.82);
}

.page-home .home-cross__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 1px;
  background: var(--cyan-500);
}

.page-home .home-cross__steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: cross-step;
}

.page-home .home-cross__steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-600);
}

.page-home .home-cross__steps li::before {
  counter-increment: cross-step;
  content: "0" counter(cross-step);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--amber-700);
}

.page-home .home-cross__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(247, 241, 229, 0.62);
}

.page-home .home-cross__card--mobile .home-cross__meta {
  color: var(--mist-500);
}

.page-home .home-cross__card .home-link {
  align-self: flex-start;
  color: var(--cyan-500);
  border-bottom-color: rgba(22, 199, 216, 0.5);
}

.page-home .home-cross__card .home-link:hover,
.page-home .home-cross__card .home-link:focus-visible {
  color: var(--amber-500);
  border-bottom-color: var(--amber-500);
}

.page-home .home-cross__card--mobile .home-link {
  color: var(--cyan-700);
  border-bottom-color: rgba(6, 113, 127, 0.4);
}

.page-home .home-cross__card--mobile .home-link:hover,
.page-home .home-cross__card--mobile .home-link:focus-visible {
  color: var(--amber-700);
  border-bottom-color: var(--amber-500);
}

.page-home .home-cross__figure {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.page-home .home-cross__figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(22, 199, 216, 0.25);
  border-radius: var(--radius-lg);
}

.page-home .home-cross__figure figcaption {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(247, 241, 229, 0.6);
}

/* ---------- 版本动态 ---------- */
.page-home .home-versions {
  padding: 52px 0 56px;
  border-top: var(--home-rule);
  border-bottom: var(--home-rule);
  background: var(--paper-100);
}

.page-home .home-versions__band {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-lg);
}

.page-home .home-versions__band img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 5;
  object-fit: cover;
}

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

.page-home .home-versions__list li {
  position: relative;
  padding: 18px 0 18px 18px;
  border-top: 1px solid var(--paper-200);
}

.page-home .home-versions__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber-500);
}

.page-home .home-versions__time {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--amber-700);
}

.page-home .home-versions__title {
  margin: 6px 0 0;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink-950);
}

.page-home .home-versions__desc {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-600);
}

.page-home .home-versions__tag {
  display: inline-block;
  margin-top: 9px;
  padding: 2px 9px;
  border: 1px solid rgba(22, 199, 216, 0.35);
  border-radius: 999px;
  background: rgba(22, 199, 216, 0.14);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--cyan-700);
}

.page-home .home-versions__more {
  margin: 22px 0 0;
}

/* ---------- 支持与咨询 ---------- */
.page-home .home-support {
  padding: 52px 0 56px;
}

.page-home .home-support__inner {
  display: grid;
  gap: 24px;
}

.page-home .home-support__contact {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-support__contact li {
  display: grid;
  gap: 3px;
  padding-left: 14px;
  border-left: 2px solid var(--cyan-500);
}

.page-home .home-support__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mist-500);
}

.page-home .home-support__value {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink-950);
  overflow-wrap: anywhere;
}

.page-home .home-support__value--addr {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-600);
}

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

.page-home .home-support__aside {
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  background: var(--ink-950);
  color: var(--paper-50);
}

.page-home .home-support__aside h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--paper-50);
}

.page-home .home-support__steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: support-step;
}

.page-home .home-support__steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(247, 241, 229, 0.84);
}

.page-home .home-support__steps li::before {
  counter-increment: support-step;
  content: "0" counter(support-step);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber-500);
}

.page-home .home-support__note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(22, 199, 216, 0.28);
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(247, 241, 229, 0.68);
}

.page-home .home-support__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: var(--home-rule);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--mist-500);
}

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

  .page-home .home-bento__card--wide {
    grid-column: 1 / -1;
  }

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

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

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

@media (min-width: 900px) {
  .page-home .home-hero {
    padding: 40px 0 64px;
  }

  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: start;
  }

  .page-home .home-hero__lede {
    font-size: 16px;
  }

  .page-home .home-bento__card {
    padding: 20px 20px 18px;
  }

  .page-home .home-topics,
  .page-home .home-versions,
  .page-home .home-support {
    padding: 64px 0 68px;
  }

  .page-home .home-cross {
    padding: 66px 0 70px;
  }

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

  .page-home .home-cross__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 44px;
  }

  .page-home .home-versions__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 34px;
  }

  .page-home .home-support__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
    gap: 32px;
  }
}

@media (min-width: 1180px) {
  .page-home .home-hero__inner {
    gap: 60px;
  }

  .page-home .home-bento {
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }

  .page-home .home-bento__card:hover,
  .page-home .home-topic:hover,
  .page-home .home-topic:focus-visible {
    transform: none;
  }
}

.page-home {
  --reveal-delay: 0.3s;
}
