.page-home {
  background: var(--snow);
  overflow-x: hidden;
}

.page-home .home-hero {
  padding: 48px 0 32px;
  background: linear-gradient(180deg, var(--snow) 0%, #edf3f7 100%);
}

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

.page-home .home-hero__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 32px 24px 64px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  background-image: radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.12) 0, transparent 90px), linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: 20px 20px 20px 4px;
  box-shadow: 0 18px 50px rgba(20, 60, 92, 0.18);
  overflow: hidden;
  color: #fff;
}

.page-home .home-hero__panel > * {
  position: relative;
  z-index: 1;
}

.page-home .home-hero__panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32px;
  background: var(--snow);
  clip-path: polygon(0 70%, 12% 24%, 28% 68%, 44% 10%, 58% 88%, 76% 32%, 88% 72%, 100% 16%, 100% 100%, 0 100%);
  z-index: 0;
  pointer-events: none;
}

.page-home .home-hero__panel .breadcrumb {
  color: rgba(255, 255, 255, 0.8);
}

.page-home .home-hero__panel .breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
}

.page-home .home-hero__panel .breadcrumb a:hover {
  color: #fff;
}

.page-home .home-hero__panel .breadcrumb li + li::before {
  color: rgba(255, 255, 255, 0.5);
}

.page-home .home-hero__kicker {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--yellow);
}

.page-home .home-hero__title {
  margin: 8px 0 0;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 2px 10px rgba(20, 60, 92, 0.2);
}

.page-home .home-hero__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.8;
}

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

.page-home .home-hero__panel .btn--outline {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

.page-home .home-hero__panel .btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-home .hero-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.page-home .hero-index a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s;
}

.page-home .hero-index a:hover {
  color: #fff;
}

.page-home .home-hero__visual {
  position: relative;
}

.page-home .home-hero__img {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 60, 92, 0.16);
}

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

.page-home .home-hero__curves {
  position: absolute;
  right: -12px;
  top: -28px;
  width: 180px;
  height: 180px;
  z-index: 2;
  pointer-events: none;
  transform: rotate(10deg);
  opacity: 0.9;
}

.page-home .hero-curve {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.page-home .hero-curve--red {
  stroke: var(--red);
}

.page-home .hero-curve--yellow {
  stroke: var(--yellow);
}

.page-home .hero-curve--green {
  stroke: var(--green);
}

.page-home .welcome-letter {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  max-width: var(--container-w);
  margin: 28px auto 0;
  padding: 26px 28px 22px;
  background: var(--cream);
  border: 1px dashed var(--terra);
  border-radius: 4px 18px 18px 18px;
}

.page-home .welcome-letter::before {
  content: "来自高原的信";
  position: absolute;
  top: -13px;
  left: 18px;
  padding: 4px 12px;
  background: var(--terra);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 999px;
}

.page-home .welcome-letter__title {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-dark);
}

.page-home .welcome-letter__text {
  margin: 0;
  color: #444;
  line-height: 1.8;
}

.page-home .scroll-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  color: var(--gray);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.page-home .scroll-hint__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.page-home .scroll-hint__dot--red {
  background: var(--red);
}

.page-home .scroll-hint__dot--yellow {
  background: var(--yellow);
}

.page-home .scroll-hint__dot--green {
  background: var(--green);
}

.page-home .entry-section {
  position: relative;
  padding-top: 64px;
  padding-bottom: 72px;
  overflow: hidden;
  background: var(--snow);
}

.page-home .entry-section .container {
  position: relative;
  z-index: 1;
}

.page-home .entry-head {
  max-width: 720px;
}

.page-home .entry-section .section-desc {
  color: var(--gray);
}

.page-home .entry-path {
  position: absolute;
  top: 200px;
  left: 0;
  width: 100%;
  height: 320px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.46;
}

.page-home .entry-path-line {
  fill: none;
  stroke-width: 2.2;
  stroke-dasharray: 7 10;
  stroke-linecap: round;
}

.page-home .entry-path-line--red {
  stroke: var(--red);
}

.page-home .entry-path-line--yellow {
  stroke: var(--yellow);
}

.page-home .entry-path-line--green {
  stroke: var(--green);
}

.page-home .entry-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.page-home .entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 100%;
  min-width: 0;
  padding: 26px 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.page-home .entry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 4px;
  border-radius: 0 0 6px 6px;
}

.page-home .entry-card--home::before {
  background: var(--red);
}

.page-home .entry-card--device::before {
  background: var(--yellow);
}

.page-home .entry-card--refresh::before {
  background: var(--green);
}

.page-home .entry-card--device {
  margin-top: 24px;
}

.page-home .entry-card--refresh {
  margin-top: 48px;
}

.page-home .entry-card__visual {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 0 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--snow);
  box-shadow: 0 0 0 1px var(--line);
}

.page-home .entry-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .entry-card__tag {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(27, 90, 141, 0.08);
  color: var(--blue);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.page-home .entry-card__title {
  margin: 0 0 8px;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-dark);
}

.page-home .entry-card__desc {
  margin: 0 0 16px;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

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

.page-home .entry-card__meta li {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--snow);
  color: var(--blue-dark);
  font-size: 0.78rem;
}

.page-home .entry-card__link {
  margin-top: auto;
}

.page-home .download-section {
  padding: 64px 0 72px;
  background: radial-gradient(circle at 92% 12%, rgba(27, 90, 141, 0.1), transparent 180px), var(--snow);
}

.page-home .download-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding: 28px 22px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: 22px;
  color: #fff;
  box-shadow: 0 20px 60px rgba(20, 60, 92, 0.2);
}

.page-home .download-banner__copy,
.page-home .download-timeline {
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-home .download-banner__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.page-home .download-banner__copy .kicker {
  color: var(--yellow);
}

.page-home .download-title {
  margin: 0;
  color: #fff;
}

.page-home .download-banner__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

.page-home .download-banner__rules {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 4px 0 20px;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.page-home .download-banner__rules li {
  position: relative;
  padding-left: 18px;
}

.page-home .download-banner__rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  transform: rotate(45deg);
  background: var(--yellow);
}

.page-home .download-timeline__title {
  margin: 0 0 16px;
  color: #fff;
  font-size: 1.15rem;
}

.page-home .version-tabs .tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.page-home .version-tabs .tab-link {
  padding: 6px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7);
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-home .version-tabs .tab-link[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.page-home .version-tabs [data-tab-panel][aria-hidden="true"] {
  display: none;
}

.page-home .version-tabs [data-tab-panel][aria-hidden="false"] {
  display: block;
}

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

.page-home .timeline__item {
  position: relative;
  margin-left: 6px;
  padding: 0 0 18px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid #fff;
}

.page-home .timeline__version {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.page-home .timeline__desc {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.7;
}

.page-home .timeline--guide {
  margin-left: 6px;
  padding-left: 0;
}

.page-home .timeline--guide li {
  position: relative;
  padding: 0 0 12px 20px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  line-height: 1.7;
}

.page-home .timeline--guide li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  transform: rotate(45deg);
  background: var(--green);
}

.page-home .news-section {
  padding: 64px 0 72px;
  background: #fff;
}

.page-home .news-section .section-desc {
  color: var(--gray);
}

.page-home .news-list {
  margin-top: 32px;
  border-top: 2px solid var(--line);
}

.page-home .news-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .news-tag {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(27, 90, 141, 0.08);
  color: var(--blue);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}

.page-home .news-time {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  color: var(--gray);
  font-size: 0.8rem;
}

.page-home .news-item__body {
  grid-column: 1 / -1;
  grid-row: 2;
}

.page-home .news-title {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-dark);
}

.page-home .news-desc {
  margin: 0;
  color: var(--gray);
  line-height: 1.7;
}

.page-home .news-link {
  grid-column: 1;
  grid-row: 3;
  justify-self: start;
}

.page-home .trust-section {
  padding: 64px 0 72px;
  background: var(--cream);
}

.page-home .trust-grid {
  display: grid;
  gap: 32px;
}

.page-home .trust-copy {
  max-width: 720px;
}

.page-home .trust-desc {
  color: var(--gray);
  line-height: 1.8;
}

.page-home .trust-link {
  display: inline-block;
  margin-top: 16px;
}

.page-home .trust-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
}

.page-home .stat-item {
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(27, 90, 141, 0.06);
}

.page-home .stat-label {
  display: block;
  margin-bottom: 6px;
  color: var(--gray);
  font-size: 0.85rem;
}

.page-home .stat-num {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--blue);
}

@media (min-width: 700px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 40px;
  }

  .page-home .home-hero__panel {
    padding: 40px 32px 64px;
  }

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

  .page-home .entry-card {
    flex: 1 1 calc(50% - 12px);
  }

  .page-home .entry-card--refresh {
    flex-basis: calc(100% - 0px);
  }

  .page-home .download-banner {
    padding: 32px 28px;
  }

  .page-home .news-item {
    grid-template-columns: 140px 100px minmax(0, 1fr) auto;
    align-items: baseline;
  }

  .page-home .news-tag {
    grid-column: 1;
    grid-row: 1;
  }

  .page-home .news-time {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
  }

  .page-home .news-item__body {
    grid-column: 3;
    grid-row: 1;
  }

  .page-home .news-link {
    grid-column: 4;
    grid-row: 1;
    align-self: center;
  }

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

@media (min-width: 900px) {
  .page-home .entry-card--device {
    margin-top: 36px;
  }

  .page-home .entry-card--refresh {
    margin-top: 72px;
  }

  .page-home .download-banner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: stretch;
    padding: 36px 40px;
  }

  .page-home .trust-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 40px;
  }

  .page-home .stat-num {
    font-size: 2rem;
  }
}
