.page-home {
  --home-rule: 1px solid var(--guo-line);
  background: var(--guo-cream);
  color: var(--guo-ink);
  font-family: var(--font-sans);
}

.page-home h2 {
  margin: 10px 0 0;
  font-size: clamp(24px, 5.2vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  font-weight: 900;
}

.page-home h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
}

.page-home .sect-num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--guo-orange-deep);
}

.page-home .sect-num::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--guo-orange);
  flex: none;
}

/* ---------- 刊头海报 ---------- */

.page-home .poster {
  position: relative;
  overflow: hidden;
  padding: 34px 0 44px;
  background: linear-gradient(180deg, var(--guo-cream) 0%, var(--guo-cream) 58%, var(--guo-cream-deep) 100%);
  border-bottom: var(--home-rule);
}

.page-home .poster::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -110px;
  width: min(70vw, 440px);
  aspect-ratio: 1;
  background: var(--guo-orange);
  opacity: 0.14;
  transform: rotate(14deg);
  pointer-events: none;
}

.page-home .poster::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -46px;
  width: min(48vw, 260px);
  height: 96px;
  background: var(--guo-teal);
  opacity: 0.16;
  transform: rotate(-6deg);
  pointer-events: none;
}

.page-home .poster__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 30px;
}

.page-home .poster__kicker {
  margin: 0;
  padding-left: 10px;
  border-left: 3px solid var(--guo-orange);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--guo-ink-green);
}

.page-home .poster__title {
  margin: 16px 0 0;
  font-size: clamp(54px, 14vw, 124px);
  font-weight: 300;
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.page-home .poster__t-a {
  font-weight: 900;
  color: var(--guo-orange);
}

.page-home .poster__t-b {
  font-weight: 300;
  color: var(--guo-ink);
}

.page-home .poster__t-c {
  display: block;
  margin-top: 16px;
  padding-left: 10px;
  border-left: 3px solid var(--guo-ink-green);
  font-size: clamp(12px, 3.2vw, 15px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
  color: var(--guo-ink-green);
}

.page-home .poster__claim {
  margin: 20px 0 0;
  font-size: clamp(18px, 4.4vw, 26px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--guo-ink);
}

.page-home .poster__text {
  margin: 12px 0 0;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.75;
  color: var(--guo-ink);
}

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

.page-home .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  color: var(--guo-ink);
  background: transparent;
  border: 1px solid var(--guo-line);
  border-radius: 2px;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.page-home .chip .mono {
  font-size: 11px;
  opacity: 0.65;
}

.page-home .chip--accent {
  background: var(--guo-orange);
  border-color: var(--guo-orange);
  color: #FFFFFF;
}

.page-home .chip--accent .mono {
  opacity: 0.85;
}

.page-home .chip--accent:hover {
  background: var(--guo-orange-deep);
  border-color: var(--guo-orange-deep);
}

.page-home .chip--ghost:hover {
  background: var(--guo-ink-green);
  border-color: var(--guo-ink-green);
  color: var(--guo-cream);
}

.page-home .poster__visual {
  position: relative;
  margin: 0;
}

.page-home .poster__visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: var(--home-rule);
  object-fit: cover;
}

.page-home .poster__sticker {
  position: absolute;
  left: -6px;
  bottom: -12px;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* ---------- 索引分区 ---------- */

.page-home .index-band {
  padding: 44px 0 52px;
  background: var(--guo-ink-green);
  color: var(--guo-cream);
}

.page-home .index-band .sect-num {
  color: var(--guo-yellow);
}

.page-home .index-band .sect-num::before {
  background: var(--guo-yellow);
}

.page-home .index-band__title {
  color: var(--guo-cream);
  max-width: 22em;
}

.page-home .index-band__num {
  color: var(--guo-yellow);
  font-size: 1.05em;
  letter-spacing: 0;
}

.page-home .index-band__lead {
  margin: 14px 0 0;
  max-width: 36em;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(251, 243, 230, 0.82);
}

.page-home .index-band__visual {
  margin: 24px 0 0;
}

.page-home .index-band__visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(251, 243, 230, 0.24);
  object-fit: cover;
}

.page-home .index-grid {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(251, 243, 230, 0.24);
  border: 1px solid rgba(251, 243, 230, 0.24);
}

.page-home .index-grid__link {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
  padding: 14px 13px 16px;
  text-decoration: none;
  color: inherit;
  background: var(--guo-ink-green);
  transition: background 180ms ease, color 180ms ease;
}

.page-home .index-grid__cell:nth-child(3n) .index-grid__link {
  background: rgba(20, 156, 124, 0.24);
}

.page-home .index-grid__cell:nth-child(4n) .index-grid__link {
  background: rgba(232, 80, 42, 0.2);
}

.page-home .index-grid__link:hover,
.page-home .index-grid__link:focus-visible {
  background: var(--guo-orange);
  color: #FFFFFF;
}

.page-home .index-grid__code {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--guo-yellow);
}

.page-home .index-grid__link:hover .index-grid__code,
.page-home .index-grid__link:focus-visible .index-grid__code {
  color: rgba(255, 255, 255, 0.85);
}

.page-home .index-grid__name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.page-home .index-grid__meta {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(251, 243, 230, 0.7);
}

.page-home .index-grid__link:hover .index-grid__meta,
.page-home .index-grid__link:focus-visible .index-grid__meta {
  color: rgba(255, 255, 255, 0.9);
}

.page-home .index-band__cta {
  display: inline-block;
  margin-top: 26px;
}

/* ---------- 版本节奏 ---------- */

.page-home .versions {
  padding: 46px 0 52px;
  background: var(--guo-cream);
  border-bottom: var(--home-rule);
}

.page-home .versions__inner {
  display: grid;
  gap: 30px;
}

.page-home .versions__lead {
  margin: 14px 0 0;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.78;
}

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

.page-home .ver-list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 10px;
  width: 1px;
  background: var(--guo-line);
}

.page-home .ver {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.page-home .ver::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 7px;
  width: 9px;
  height: 9px;
  background: var(--guo-cream);
  border: 1px solid var(--guo-ink-green);
  border-radius: 1px;
}

.page-home .ver__sticker {
  font-size: 12px;
  letter-spacing: 0.04em;
  align-self: start;
  white-space: nowrap;
}

.page-home .ver__title {
  font-size: 16.5px;
}

.page-home .ver__note {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: #4A4A42;
}

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

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

.page-home .versions__fig img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: var(--home-rule);
  object-fit: cover;
}

.page-home .versions__fig figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #5B5B52;
}

/* ---------- 移动端入口 ---------- */

.page-home .mobile {
  padding: 46px 0 52px;
  background: var(--guo-cream-deep);
  border-bottom: var(--home-rule);
}

.page-home .mobile__inner {
  display: grid;
  gap: 28px;
}

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

.page-home .mobile__fig img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: var(--home-rule);
  object-fit: cover;
}

.page-home .mobile__fig figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #5B5B52;
}

.page-home .mobile__lead {
  margin: 14px 0 0;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.78;
}

.page-home .entry-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--guo-line);
  border: var(--home-rule);
}

.page-home .entry a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 3px 10px;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
  background: var(--guo-cream);
  transition: background 180ms ease;
}

.page-home .entry a:hover,
.page-home .entry a:focus-visible {
  background: rgba(20, 156, 124, 0.14);
}

.page-home .entry__num {
  grid-row: span 2;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--guo-orange);
}

.page-home .entry__name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.page-home .entry__meta {
  font-size: 12.5px;
  line-height: 1.5;
  color: #5B5B52;
}

/* ---------- 最近变更 ---------- */

.page-home .changes {
  padding: 46px 0 52px;
  background: var(--guo-cream);
  border-bottom: var(--home-rule);
}

.page-home .changes__lead {
  margin: 14px 0 0;
  max-width: 36em;
  font-size: 15.5px;
  line-height: 1.8;
}

.page-home .change-list {
  list-style: none;
  margin: 26px 0 26px;
  padding: 0;
  border-top: var(--home-rule);
  border-bottom: var(--home-rule);
}

.page-home .change {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-bottom: var(--home-rule);
}

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

.page-home .change__time {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--guo-orange-deep);
}

.page-home .change__text {
  margin: 0;
  max-width: 36em;
  font-size: 15.5px;
  line-height: 1.75;
}

/* ---------- 服务与支持 ---------- */

.page-home .plans {
  padding: 46px 0 60px;
  background: var(--guo-cream-deep);
}

.page-home .plans__lead {
  margin: 14px 0 0;
  max-width: 34em;
  font-size: 15.5px;
  line-height: 1.8;
}

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

.page-home .plan {
  padding: 18px 18px 20px;
  background: var(--guo-cream);
  border: var(--home-rule);
  border-top: 4px solid var(--guo-orange);
}

.page-home .plan:nth-child(2) {
  border-top-color: var(--guo-teal);
}

.page-home .plan:nth-child(3) {
  border-top-color: var(--guo-ink-green);
}

.page-home .plan__name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.page-home .plan__desc {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: #43433B;
}

.page-home .paths {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.page-home .path {
  padding: 20px 18px 22px;
  border: var(--home-rule);
}

.page-home .path--dark {
  background: var(--guo-ink-green);
  color: var(--guo-cream);
  border-color: var(--guo-ink-green);
}

.page-home .path--light {
  background: var(--guo-cream);
}

.page-home .path__title {
  font-size: 18px;
  font-weight: 900;
}

.page-home .path__text {
  margin: 8px 0 16px;
  font-size: 14.5px;
  line-height: 1.78;
}

.page-home .path--dark .path__text {
  color: rgba(251, 243, 230, 0.84);
}

.page-home .path--light .path__text {
  color: #43433B;
}

/* ---------- 响应式 ---------- */

@media (min-width: 720px) {
  .page-home .poster {
    padding: 46px 0 58px;
  }

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

  .page-home .poster__visual {
    margin-top: 26px;
  }

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

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

  .page-home .plan-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (min-width: 1024px) {
  .page-home .poster__grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr);
    gap: 40px;
  }

  .page-home .poster__visual {
    margin-top: 64px;
    margin-right: -18px;
  }

  .page-home .poster__sticker {
    left: -18px;
    bottom: -16px;
  }

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

  .page-home .versions__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
    gap: 40px;
  }

  .page-home .versions__fig {
    position: sticky;
    top: calc(var(--bar-h) + 24px);
  }

  .page-home .mobile__inner {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: 40px;
  }

  .page-home .change {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 24px;
    align-items: baseline;
    padding: 18px 0;
  }

  .page-home .change__time {
    text-align: left;
  }

  .page-home .sect-num {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .chip,
  .page-home .index-grid__link,
  .page-home .entry a {
    transition: none;
  }
}
