.page-home {
  --home-ribbon: linear-gradient(90deg,
      var(--xy-blue) 0 22%,
      var(--xy-paper-light) 22% 44%,
      var(--xy-red) 44% 64%,
      var(--xy-green) 64% 84%,
      var(--xy-orange) 84% 100%);
  --home-arc: 44% 56% 52% 48% / 52% 44% 56% 48%;
  background: var(--xy-paper);
  color: var(--xy-ink);
  overflow-x: hidden;
}

@keyframes home-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: .5; }
}

/* ---------- 封面首屏 ---------- */

.page-home .home-cover {
  position: relative;
  padding: clamp(26px, 4.6vw, 54px) 0 clamp(56px, 8vw, 108px);
  background:
    radial-gradient(120% 82% at 92% 4%, rgba(245, 135, 31, .18), transparent 60%),
    radial-gradient(90% 70% at 2% 100%, rgba(31, 78, 156, .1), transparent 62%),
    var(--xy-paper);
}

.page-home .home-cover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--home-ribbon);
}

.page-home .home-cover__crumb {
  margin: 0 0 clamp(18px, 3vw, 34px);
  font-family: var(--xy-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--xy-muted);
}

.page-home .home-cover__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas:
    "lead visual"
    "lead index";
  column-gap: clamp(20px, 4vw, 64px);
  row-gap: clamp(26px, 3.6vw, 44px);
  align-items: start;
}

.page-home .home-cover__lead {
  grid-area: lead;
}

.page-home .home-cover__lead-flex {
  display: flex;
  align-items: flex-start;
  gap: clamp(10px, 1.8vw, 22px);
}

.page-home .home-cover__note {
  flex: 0 0 auto;
  margin-top: 8px;
  writing-mode: vertical-rl;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--xy-orange);
}

.page-home .home-cover__title {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(33px, 5.4vw, 66px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--xy-ink);
}

.page-home .home-cover__intro {
  margin: clamp(18px, 2.4vw, 28px) 0 0;
  max-width: 42ch;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.85;
  color: var(--xy-muted);
}

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

.page-home .home-cover__visual {
  grid-area: visual;
  margin: 0;
  justify-self: end;
  width: min(100%, 440px);
}

.page-home .home-cover__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--home-arc);
  border: 1px solid var(--xy-line);
  background: var(--xy-paper-light);
}

.page-home .home-cover__index {
  grid-area: index;
  justify-self: end;
  width: min(100%, 440px);
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--xy-line);
  border-radius: var(--xy-r-lg);
  background: rgba(253, 249, 242, .76);
}

.page-home .home-cover__index-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--xy-muted);
}

.page-home .home-cover__index-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-cover__index-list li + li {
  border-top: 1px solid var(--xy-line-soft);
}

.page-home .home-cover__index-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--xy-r-pill);
  font-size: 15px;
  color: var(--xy-ink);
  text-decoration: none;
  transition: background .22s var(--xy-ease), color .22s var(--xy-ease);
}

.page-home .home-cover__index-list a:hover,
.page-home .home-cover__index-list a:focus-visible {
  background: var(--xy-orange);
  color: #fff;
}

.page-home .home-cover__num {
  font-family: var(--xy-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--xy-orange);
}

.page-home .home-cover__index-list a:hover .home-cover__num,
.page-home .home-cover__index-list a:focus-visible .home-cover__num {
  color: #fff;
}

/* ---------- 数据带 ---------- */

.page-home .home-numbers__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 56px) clamp(20px, 3.4vw, 52px) clamp(32px, 4.4vw, 60px);
  border: 1px solid var(--xy-line);
  border-radius: var(--xy-r-xl);
  background: var(--xy-paper-light);
}

.page-home .home-numbers__panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background: var(--home-ribbon);
  z-index: 2;
}

.page-home .home-numbers__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
  pointer-events: none;
}

.page-home .home-numbers__inner {
  position: relative;
  z-index: 1;
}

.page-home .home-numbers__head {
  max-width: 34ch;
  margin-bottom: clamp(24px, 3.4vw, 44px);
}

.page-home .home-numbers__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}

.page-home .home-stat {
  position: relative;
  padding-left: 22px;
}

.page-home .home-stat__dot {
  position: absolute;
  left: 0;
  top: 12px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--xy-orange);
  animation: home-breathe 2.4s var(--xy-ease) infinite;
}

.page-home .home-stat__dot--sky {
  background: var(--xy-sky);
  animation-delay: .4s;
}

.page-home .home-stat__dot--green {
  background: var(--xy-green);
  animation-delay: .8s;
}

.page-home .home-stat__num {
  margin: 0;
  font-family: var(--xy-mono);
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: var(--xy-ink);
}

.page-home .home-stat__num em {
  font-style: normal;
  font-size: .4em;
  font-weight: 500;
  letter-spacing: .04em;
  margin-left: 6px;
  color: var(--xy-orange);
}

.page-home .home-stat__label {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--xy-muted);
}

.page-home .home-stat__hint {
  margin: 8px 0 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-family: var(--xy-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--xy-blue);
  transition: max-height .28s var(--xy-ease), opacity .28s var(--xy-ease);
}

.page-home .home-stat:hover .home-stat__hint,
.page-home .home-stat:focus-within .home-stat__hint {
  max-height: 60px;
  opacity: 1;
}

/* ---------- 新版栏目 ---------- */

.page-home .home-release__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 68px);
  align-items: start;
}

.page-home .home-release__lead {
  margin: clamp(16px, 2vw, 24px) 0 0;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.85;
  color: var(--xy-muted);
}

.page-home .home-release__points {
  list-style: none;
  margin: clamp(22px, 3vw, 34px) 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-home .home-release__points li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--xy-line);
}

.page-home .home-release__points p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--xy-ink);
}

.page-home .home-release__cta {
  margin-top: clamp(22px, 3vw, 32px);
}

.page-home .home-release__aside {
  display: grid;
  gap: 20px;
  padding-top: clamp(0px, 2vw, 30px);
}

.page-home .home-release__card--b {
  margin-left: clamp(0px, 3vw, 44px);
}

.page-home .home-release__version {
  margin: 6px 0 0;
  font-family: var(--xy-mono);
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.1;
}

/* ---------- 注册路径 ---------- */

.page-home .home-flow__head {
  max-width: 42ch;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.page-home .home-flow__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(26px, 4vw, 64px);
  align-items: start;
}

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

.page-home .home-flow__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--xy-r-xl);
  border: 1px solid var(--xy-line);
}

.page-home .home-flow__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(14px, 1.8vw, 20px);
}

.page-home .home-flow__step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid var(--xy-line);
  border-radius: var(--xy-r-md);
  background: var(--xy-paper-light);
  transition: transform .24s var(--xy-ease), border-color .24s var(--xy-ease);
}

.page-home .home-flow__step:hover {
  transform: translateX(6px);
  border-color: var(--xy-orange);
}

.page-home .home-flow__idx {
  font-family: var(--xy-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--xy-orange);
  padding-top: 5px;
}

.page-home .home-flow__step h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--xy-ink);
}

.page-home .home-flow__step p {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--xy-muted);
}

/* ---------- 常用入口 ---------- */

.page-home .home-entries__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(26px, 3.6vw, 44px);
}

.page-home .home-entries__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 258px), 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.page-home .home-entry {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .home-entry .xy-card__note {
  margin: 0;
}

.page-home .home-entry__prep {
  margin: auto 0 0;
  padding-top: 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--xy-blue);
}

.page-home .home-entry .xy-btn {
  align-self: flex-start;
}

/* ---------- 站内索引 ---------- */

.page-home .home-index__banner {
  margin: 0 0 clamp(30px, 4vw, 56px);
  border-radius: var(--xy-r-xl);
  overflow: hidden;
  border: 1px solid var(--xy-line);
}

.page-home .home-index__banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 360;
  object-fit: cover;
}

.page-home .home-index__head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 5fr);
  gap: clamp(18px, 3vw, 44px);
  align-items: end;
  margin-bottom: clamp(24px, 3.4vw, 42px);
}

.page-home .home-index__lead {
  margin: 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--xy-muted);
}

.page-home .home-index__rows {
  display: grid;
  gap: 10px;
}

.page-home .home-index__row {
  border: 1px solid var(--xy-line);
  border-radius: var(--xy-r-md);
  background: var(--xy-paper-light);
  overflow: hidden;
}

.page-home .home-index__btn {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px clamp(16px, 2vw, 24px);
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.page-home .home-index__row-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--xy-ink);
  white-space: nowrap;
}

.page-home .home-index__row-desc {
  font-size: 14px;
  color: var(--xy-muted);
}

.page-home .home-index__leaves {
  list-style: none;
  margin: 0;
  padding: 0 clamp(16px, 2vw, 24px) 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 176px), 1fr));
  gap: 6px 20px;
}

.page-home .home-index__leaf {
  display: block;
  padding: 9px 12px;
  border-radius: var(--xy-r-pill);
  font-size: 14px;
  color: var(--xy-blue);
  text-decoration: none;
  transition: background .2s var(--xy-ease), color .2s var(--xy-ease);
}

.page-home .home-index__leaf:hover,
.page-home .home-index__leaf:focus-visible {
  background: var(--xy-orange-soft);
  color: var(--xy-ink);
}

/* ---------- 常见疑问与联系 ---------- */

.page-home .home-help__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.page-home .home-help__list {
  margin-top: clamp(22px, 3vw, 34px);
  display: grid;
  gap: 10px;
}

.page-home .home-help__list .xy-disclosure {
  border: 1px solid var(--xy-line);
  border-radius: var(--xy-r-md);
  background: var(--xy-paper-light);
  padding: 0 clamp(16px, 2vw, 22px);
}

.page-home .home-help__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--xy-ink);
}

.page-home .home-help__list .xy-disclosure__body {
  padding: 0 0 18px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--xy-muted);
}

.page-home .home-help__list .xy-disclosure__body p {
  margin: 0;
}

.page-home .home-help__more {
  margin-top: clamp(20px, 2.6vw, 28px);
}

.page-home .home-help__contact {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--xy-r-xl);
  background: var(--xy-blue);
  color: var(--xy-paper-light);
}

.page-home .home-help__contact-title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--xy-paper-light);
}

.page-home .home-help__contact p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(253, 249, 242, .78);
}

.page-home .home-help__contact-list {
  margin: 22px 0 0;
  display: grid;
  gap: 14px;
}

.page-home .home-help__contact-list div {
  padding-top: 12px;
  border-top: 1px solid var(--xy-line-light);
}

.page-home .home-help__contact-list dt {
  font-size: 12px;
  letter-spacing: .16em;
  color: rgba(253, 249, 242, .6);
}

.page-home .home-help__contact-list dd {
  margin: 5px 0 0;
  font-size: 15px;
  color: var(--xy-orange-soft);
  word-break: break-all;
}

.page-home .home-help__contact-note {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(253, 249, 242, .66);
}

.page-home .home-help__contact-cta {
  margin-top: 20px;
}

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

@media (max-width: 1020px) {
  .page-home .home-cover__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "lead"
      "visual"
      "index";
  }

  .page-home .home-cover__visual,
  .page-home .home-cover__index {
    justify-self: stretch;
    width: 100%;
    max-width: 480px;
  }

  .page-home .home-release__grid,
  .page-home .home-flow__grid,
  .page-home .home-index__head,
  .page-home .home-help__grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .page-home .home-release__card--b {
    margin-left: 0;
  }

  .page-home .home-index__banner img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 720px) {
  .page-home .home-numbers__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home .home-stat__hint {
    max-height: 60px;
    opacity: 1;
  }

  .page-home .home-cover__lead-flex {
    flex-direction: column;
  }

  .page-home .home-cover__note {
    writing-mode: horizontal-tb;
    letter-spacing: .14em;
    margin-top: 0;
    margin-bottom: 10px;
  }

  .page-home .home-cover__title {
    max-width: none;
    font-size: clamp(30px, 8.4vw, 42px);
  }

  .page-home .home-index__btn {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 4px;
  }

  .page-home .home-index__row-desc {
    grid-column: 1 / -1;
    font-size: 13px;
  }

  .page-home .home-flow__step:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-stat__dot {
    animation: none;
  }

  .page-home .home-flow__step {
    transition: none;
  }
}
