.page-home {
  background: var(--paper-50);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

.page-home .shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--edge);
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .page-home .shell {
    padding-inline: var(--gutter);
  }
}

.page-home img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  margin: 0;
  color: var(--ink-900);
}

.page-home a {
  color: inherit;
}

/* ---------- 上下文提示 ---------- */
.page-home .home-context {
  padding-top: 20px;
}

.page-home .home-context__line {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--ink-500);
}

.page-home .home-context__sep {
  margin: 0 10px;
  color: var(--gold-500);
}

.page-home .home-context__now {
  color: var(--ink-700);
}

/* ---------- 首屏 ---------- */
.page-home .home-open {
  position: relative;
}

.page-home .home-open__grid {
  display: grid;
  gap: 32px;
  padding: 28px 0 56px;
}

.page-home .home-open__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--ink-500);
}

.page-home .home-open__title {
  font-size: clamp(30px, 5.6vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-bottom: 22px;
}

.page-home .home-open__title::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin-top: 22px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-200));
}

.page-home .home-open__lede {
  margin: 0 0 20px;
  font-size: 16.5px;
  line-height: 1.85;
  max-width: 44ch;
}

.page-home .home-open__meta {
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid var(--gold-500);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-700);
}

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

.page-home .home-open__figure .figure__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gold-200);
  background: var(--ink-900);
}

.page-home .home-open__figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .figure__caption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-500);
}

@media (min-width: 960px) {
  .page-home .home-open__grid {
    grid-template-columns: minmax(0, 62fr) minmax(0, 34fr);
    gap: 4%;
    align-items: start;
    padding: 56px 0 88px;
  }
}

/* ---------- 通用小节标题 ---------- */
.page-home .blk-head {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.page-home .blk-head h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.01em;
}

.page-home .blk-head__note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--ink-500);
}

@media (min-width: 900px) {
  .page-home .blk-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 24px;
  }

  .page-home .blk-head__note {
    writing-mode: vertical-rl;
    max-height: 128px;
    justify-self: end;
    margin-bottom: 4px;
  }
}

.page-home .blk-head--onDark h2 {
  color: var(--white-0);
}

.page-home .blk-head--onDark .blk-head__note {
  color: var(--gold-200);
}

/* ---------- 三入口卡片 ---------- */
.page-home .home-entries {
  padding-bottom: 24px;
}

.page-home .entry-grid {
  display: grid;
  gap: 16px;
}

.page-home .entry-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px 24px;
  background: var(--surface-card);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .entry-card--a {
  border-top-left-radius: 4px;
}

.page-home .entry-card--b {
  border-bottom-right-radius: 4px;
}

.page-home .entry-card--c {
  border-top-right-radius: 4px;
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-visible {
  border-color: var(--gold-500);
  transform: translateY(-2px);
}

.page-home .entry-card__no {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gold-500);
}

.page-home .entry-card__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.page-home .entry-card__lede {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
}

.page-home .entry-card__go {
  margin-top: auto;
  padding-top: 14px;
  align-self: flex-start;
  font-size: 14px;
  color: var(--ink-700);
  border-bottom: 1px solid var(--gold-200);
  padding-bottom: 3px;
}

@media (min-width: 900px) {
  .page-home .entry-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
    gap: 20px;
  }
}

/* ---------- 服务范围速览 ---------- */
.page-home .home-scope {
  padding: 32px 0 8px;
}

.page-home .scope-band {
  position: relative;
  overflow: hidden;
  background: var(--ink-900);
  border-radius: var(--radius-lg);
  padding: 36px 22px 28px;
  color: var(--white-0);
}

.page-home .scope-band::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -180px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.28), transparent 68%);
  pointer-events: none;
}

.page-home .scope-band__lede {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
}

.page-home .rail {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  margin-top: 24px;
  padding-bottom: 6px;
}

.page-home .scope-track {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0 4px 4px 0;
  min-width: min-content;
}

.page-home .scope-chip {
  flex: 0 0 auto;
  width: 236px;
  scroll-snap-align: start;
  padding: 20px 18px;
  border: 1px solid rgba(235, 217, 160, 0.3);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.page-home .scope-chip:hover {
  border-color: var(--gold-500);
  background: rgba(255, 255, 255, 0.1);
}

.page-home .scope-chip__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--gold-200);
}

.page-home .scope-chip__name {
  display: block;
  margin-top: 12px;
  font-size: 17px;
  font-weight: 600;
  color: var(--white-0);
}

.page-home .scope-chip__desc {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.page-home .scope-band__hint {
  margin: 16px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 900px) {
  .page-home .scope-band {
    padding: 44px 40px 32px;
  }

  .page-home .scope-chip {
    width: 258px;
  }
}

/* ---------- 版本对照 ---------- */
.page-home .home-versions {
  padding: 64px 0 0;
}

.page-home .versions-figure {
  margin: 0 0 24px;
}

.page-home .versions-figure .figure__frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--ink-100);
  background: var(--ink-100);
}

.page-home .versions-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .version-rail {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding-bottom: 6px;
}

.page-home .version-track {
  display: flex;
  gap: 16px;
  padding: 4px 4px 4px 0;
  min-width: min-content;
}

.page-home .version-card {
  flex: 0 0 auto;
  width: 286px;
  scroll-snap-align: start;
  padding: 26px 22px;
  background: var(--surface-card);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  transition: border-color var(--dur) var(--ease);
}

.page-home .version-card:hover {
  border-color: var(--gold-500);
}

.page-home .version-card__no {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gold-500);
}

.page-home .version-card__name {
  font-size: 20px;
  font-weight: 600;
}

.page-home .version-card__price {
  margin: 12px 0 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.page-home .version-card__price .num--lg {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--ink-900);
}

.page-home .version-card__unit {
  font-size: 13.5px;
  color: var(--ink-500);
}

.page-home .version-card__for {
  margin: 14px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-700);
}

.page-home .version-card__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-home .version-card__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.65;
}

.page-home .version-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--celadon-500);
}

.page-home .version-note {
  margin: 20px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--ink-100);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-500);
  max-width: 62ch;
}

@media (min-width: 1000px) {
  .page-home .version-rail {
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .page-home .version-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    min-width: 0;
    padding: 0;
  }

  .page-home .version-card {
    width: auto;
  }
}

/* ---------- 手机端条目 ---------- */
.page-home .home-mobile {
  padding: 56px 0 0;
}

.page-home .mobile-wrap {
  display: grid;
  gap: 28px;
  background: var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 30px 22px 34px;
}

.page-home .mobile-figure {
  margin: 0;
}

.page-home .mobile-figure .figure__frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink-700);
}

.page-home .mobile-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .mobile-copy h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  line-height: 1.34;
}

.page-home .mobile-copy__lede {
  margin: 16px 0 0;
  font-size: 15.5px;
  line-height: 1.8;
}

.page-home .mobile-points {
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .mobile-points li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.7;
}

.page-home .mobile-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--celadon-500);
}

@media (min-width: 900px) {
  .page-home .mobile-wrap {
    grid-template-columns: minmax(0, 38fr) minmax(0, 58fr);
    gap: 4%;
    align-items: center;
    padding: 44px 40px;
  }
}

/* ---------- 近期动态 ---------- */
.page-home .home-news {
  padding: 64px 0 0;
}

.page-home .news-list {
  border-top: 1px solid var(--ink-100);
}

.page-home .news-item {
  border-bottom: 1px solid var(--ink-100);
}

.page-home .news-item__head {
  position: relative;
  display: block;
  padding: 20px 44px 20px 0;
  cursor: pointer;
  list-style: none;
}

.page-home .news-item__head::-webkit-details-marker {
  display: none;
}

.page-home .news-item__head::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 22px;
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--ink-500);
  transition: color var(--dur) var(--ease);
}

.page-home .news-item[open] .news-item__head::after {
  content: "–";
  color: var(--coral-500);
}

.page-home .news-item__time {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--gold-500);
}

.page-home .news-item__title {
  display: block;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink-900);
}

.page-home .news-item__head:hover .news-item__title,
.page-home .news-item__head:focus-visible .news-item__title {
  color: var(--ink-700);
}

.page-home .news-item__body {
  padding: 0 20px 20px 0;
}

.page-home .news-item__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  max-width: 62ch;
}

.page-home .news-more {
  margin: 26px 0 0;
}

/* ---------- 首次访问建议 ---------- */
.page-home .home-start {
  padding: 64px 0 0;
}

.page-home .start-card {
  display: grid;
  gap: 26px;
  padding: 30px 22px 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gold-200) 0%, var(--paper-50) 62%);
  border: 1px solid var(--gold-200);
}

.page-home .start-card__eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--ink-700);
}

.page-home .start-card__copy h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  line-height: 1.34;
}

.page-home .start-card__lede {
  margin: 16px 0 24px;
  font-size: 15.5px;
  line-height: 1.8;
  max-width: 46ch;
}

.page-home .start-figure {
  margin: 0;
}

.page-home .start-figure .figure__frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--white-0);
  background: var(--white-0);
}

.page-home .start-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 900px) {
  .page-home .start-card {
    grid-template-columns: minmax(0, 54fr) minmax(0, 42fr);
    gap: 4%;
    align-items: center;
    padding: 48px 44px;
  }
}

/* ---------- 站点信息 ---------- */
.page-home .home-site {
  padding: 56px 0 72px;
}

.page-home .site-strip {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 26px 22px;
  border-radius: var(--radius-md);
  background: var(--ink-900);
  color: var(--white-0);
}

.page-home .site-strip__cell dt {
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold-200);
}

.page-home .site-strip__cell dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.page-home .site-strip__note {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-700);
  max-width: 70ch;
}

.page-home .site-strip__note a {
  color: var(--ink-900);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-500);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .site-strip__note a:hover,
.page-home .site-strip__note a:focus-visible {
  color: var(--coral-500);
  border-color: var(--coral-500);
}

@media (min-width: 700px) {
  .page-home .site-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    padding: 30px 32px;
  }
}
