.page-home {
  --shadow-hard: 8px 8px 0 rgba(0, 0, 0, .45);
  background-color: var(--ink-950);
  color: var(--rice);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

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

.page-home .section-marker {
  margin-bottom: 18px;
}

/* ---------- 首屏拼贴 ---------- */
.page-home .hero {
  position: relative;
  padding: calc(var(--header-h) + 42px) 0 56px;
  background-image:
    radial-gradient(120% 80% at 78% 8%, rgba(57, 230, 208, .10), transparent 62%),
    linear-gradient(rgba(143, 163, 174, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 163, 174, .07) 1px, transparent 1px);
  background-size: 100% 100%, 24px 24px, 24px 24px;
}

.page-home .hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mist);
}

.page-home .kicker-dot {
  width: 10px;
  height: 10px;
  background: var(--cyan);
}

.page-home .hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.05rem, 8vw, 4.3rem);
  line-height: 1.14;
  letter-spacing: -.03em;
  max-width: 16ch;
}

.page-home .hero-lead {
  margin: 20px 0 0;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--mist);
}

.page-home .hero-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

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

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

/* 入口卡 */
.page-home .entry-card {
  position: relative;
  padding: 24px 22px;
  background-color: var(--ink-900);
  border: 1px solid var(--line);
  border-radius: 0;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}

.page-home .entry-card:hover {
  border-color: var(--cyan);
}

.page-home .entry-card--primary {
  padding: 30px 24px;
  background-image: linear-gradient(158deg, var(--ink-800), var(--ink-900) 62%);
  border: 2px solid var(--line-strong);
  box-shadow: var(--shadow-hard);
}

.page-home .entry-card--primary:hover {
  border-color: var(--cyan);
}

.page-home .entry-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--cyan);
  color: var(--ink-950);
  font-size: 13px;
  letter-spacing: .04em;
  transition: background-color .2s var(--ease);
}

.page-home .entry-card:hover .entry-index {
  background: var(--orange);
}

.page-home .entry-card h2,
.page-home .entry-card h3 {
  margin: 14px 0 10px;
  font-weight: 500;
  letter-spacing: -.01em;
}

.page-home .entry-card h2 {
  font-size: 24px;
}

.page-home .entry-card h3 {
  font-size: 19px;
}

.page-home .entry-card p {
  margin: 0;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
}

.page-home .entry-points {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .entry-points li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .entry-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  background: var(--cyan);
}

/* 按钮与文字链接 */
.page-home .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 0 22px;
  font-size: 15px;
  border-radius: 0;
}

.page-home .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin-top: 6px;
  color: var(--cyan);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.page-home .link-arrow::after {
  content: "→";
  transition: transform .2s var(--ease);
}

.page-home .link-arrow:hover,
.page-home .link-arrow:focus-visible {
  border-bottom-color: var(--cyan);
}

.page-home .link-arrow:hover::after {
  transform: translateX(3px);
}

/* 右栏视觉与小屏卡 */
.page-home .hero-side {
  display: grid;
  gap: 16px;
}

.page-home .hero-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  background-color: var(--ink-900);
  border: 1px solid var(--line-strong);
}

.page-home .hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: .92;
}

.page-home .hero-visual-cap {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px 12px;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--mist);
  background-color: rgba(5, 18, 31, .88);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.page-home .login-card {
  position: relative;
  padding: 22px 20px 24px;
  background-color: var(--ink-800);
  border: 2px solid var(--orange);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
  filter: drop-shadow(6px 8px 0 rgba(0, 0, 0, .45));
  transition: transform .2s var(--ease), filter .2s var(--ease);
}

.page-home .login-card:hover {
  transform: translateY(-2px);
  filter: drop-shadow(8px 12px 0 rgba(0, 0, 0, .5));
}

.page-home .login-tag {
  display: inline-block;
  margin: 0;
  padding: 4px 10px;
  background: var(--orange);
  color: var(--ink-950);
  font-size: 11px;
  letter-spacing: .08em;
}

.page-home .login-card h2 {
  margin: 14px 0 10px;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -.01em;
}

.page-home .login-card p {
  margin: 0;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
}

.page-home .login-shot {
  width: 100%;
  height: 170px;
  margin: 16px 0 0;
  object-fit: cover;
  object-position: center 28%;
  border: 1px solid var(--line);
}

.page-home .login-facts {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}

.page-home .login-fact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  font-size: 13px;
}

.page-home .login-fact dt {
  color: var(--mist);
}

.page-home .login-fact dd {
  margin: 0;
  font-family: var(--font-mono);
  color: var(--rice);
}

/* ---------- 版本速览 ---------- */
.page-home .versions {
  padding: 60px 0;
  background-color: var(--ink-900);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.page-home .versions-intro h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.page-home .versions-intro p {
  margin: 0;
  max-width: 28em;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
}

.page-home .versions-visual {
  margin: 22px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background-color: var(--ink-950);
}

.page-home .versions-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  opacity: .9;
}

.page-home .versions-meta {
  margin: 14px 0 0;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--stone);
}

.page-home .version-table {
  border-top: 2px solid var(--line-strong);
}

.page-home .version-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name action"
    "screen status";
  row-gap: 6px;
  column-gap: 12px;
  align-items: center;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
  transition: background-color .2s var(--ease);
}

.page-home .version-row:hover {
  background-color: rgba(18, 50, 74, .5);
}

.page-home .version-name {
  grid-area: name;
  font-size: 20px;
  letter-spacing: .02em;
  color: var(--rice);
}

.page-home .version-screen {
  grid-area: screen;
  font-size: 13px;
  color: var(--mist);
}

.page-home .version-status {
  grid-area: status;
  justify-self: end;
}

.page-home .version-action {
  grid-area: action;
  justify-self: end;
}

.page-home .version-row--head {
  display: none;
}

.page-home .copy-btn {
  min-height: 48px;
  min-width: 68px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}

.page-home .copy-btn:hover,
.page-home .copy-btn:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}

.page-home .copy-btn[data-copied="true"] {
  border-color: var(--moss);
  color: var(--moss);
}

/* ---------- 三步路径 ---------- */
.page-home .path {
  padding: 62px 0;
}

.page-home .path h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.page-home .path-lead {
  margin: 0 0 26px;
  max-width: 30em;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
}

.page-home .path-visual {
  margin: 0 0 34px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background-color: var(--ink-900);
}

.page-home .path-visual img {
  width: 100%;
  aspect-ratio: 9 / 4;
  object-fit: cover;
  opacity: .88;
}

.page-home .step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 760px;
}

.page-home .step {
  position: relative;
  padding: 0 0 34px 60px;
}

.page-home .step:last-child {
  padding-bottom: 0;
}

.page-home .step::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 46px;
  bottom: 8px;
  width: 1px;
  background-image: linear-gradient(var(--line-strong), transparent);
}

.page-home .step:last-child::before {
  display: none;
}

.page-home .step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background-color: var(--ink-800);
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  font-size: 13px;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.page-home .step:hover .step-num {
  background-color: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-950);
}

.page-home .step h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 500;
}

.page-home .step p {
  margin: 0;
  max-width: 30em;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.85;
}

/* ---------- 会员权益场景 ---------- */
.page-home .benefits {
  padding: 58px 0;
  background-color: var(--ink-900);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .benefits h2 {
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -.02em;
}

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

.page-home .benefit {
  padding: 24px 22px 20px;
  background-color: var(--ink-950);
  border: 1px solid var(--line);
  border-top: 3px solid var(--stone);
  transition: border-top-color .2s var(--ease), transform .2s var(--ease);
}

.page-home .benefit:hover {
  border-top-color: var(--terracotta);
  transform: translateY(-2px);
}

.page-home .benefit h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 500;
}

.page-home .benefit p {
  margin: 0;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
}

/* ---------- 下一步分流 ---------- */
.page-home .next {
  padding: 62px 0 72px;
}

.page-home .next h2 {
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.page-home .next-grid {
  display: grid;
  gap: 14px;
}

.page-home .next-card {
  display: block;
  min-height: 48px;
  padding: 22px 20px;
  background-color: var(--ink-900);
  border: 1px solid var(--line);
  border-left: 3px solid var(--stone);
  color: var(--rice);
  text-decoration: none;
  transition: border-color .2s var(--ease), border-left-color .2s var(--ease), transform .2s var(--ease), background-color .2s var(--ease);
}

.page-home .next-card:hover,
.page-home .next-card:focus-visible {
  border-color: var(--cyan);
  border-left-color: var(--cyan);
  background-color: var(--ink-800);
  transform: translateY(-2px);
}

.page-home .next-tag {
  display: inline-block;
  padding: 3px 8px;
  background-color: var(--ink-800);
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: .08em;
}

.page-home .next-card h3 {
  margin: 12px 0 8px;
  font-size: 19px;
  font-weight: 500;
}

.page-home .next-card p {
  margin: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.8;
}

.page-home .next-go {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--cyan);
}

.page-home .next-note {
  margin: 28px 0 0;
  max-width: 46em;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.85;
  color: var(--mist);
}

.page-home .next-note a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color .2s var(--ease);
}

.page-home .next-note a:hover,
.page-home .next-note a:focus-visible {
  border-bottom-color: var(--cyan);
}

/* ---------- 移动端固定快捷条 ---------- */
.page-home .mobile-bar {
  display: none;
}

@media (min-width: 640px) {
  .page-home .hero-sub {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .next-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .next-grid .next-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 720px) {
  .page-home .version-row--head {
    display: grid;
    grid-template-columns: 130px 1fr 150px 100px;
    gap: 12px;
    padding: 10px 2px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--stone);
  }

  .page-home .version-row--head:hover {
    background-color: transparent;
  }

  .page-home .version-row {
    grid-template-columns: 130px 1fr 150px 100px;
    grid-template-areas: "name screen status action";
    row-gap: 0;
  }

  .page-home .version-status {
    justify-self: start;
  }
}

@media (min-width: 900px) {
  .page-home .hero {
    padding: calc(var(--header-h) + 52px) 0 72px;
  }

  .page-home .hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 26px;
    align-items: stretch;
  }

  .page-home .hero-side {
    grid-template-rows: minmax(220px, 1fr) auto;
  }

  .page-home .hero-visual img {
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .page-home .login-shot {
    height: 190px;
  }

  .page-home .versions {
    padding: 76px 0;
  }

  .page-home .versions-grid {
    grid-template-columns: 5fr 7fr;
    gap: 44px;
    align-items: start;
  }

  .page-home .path {
    padding: 82px 0;
  }

  .page-home .benefits {
    padding: 76px 0;
  }

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

  .page-home .next {
    padding: 82px 0 90px;
  }

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

  .page-home .next-grid .next-card:last-child {
    grid-column: auto;
  }
}

@media (max-width: 719px) {
  .page-home {
    padding-bottom: 84px;
  }

  .page-home .mobile-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
    background-color: var(--ink-900);
    border-top: 2px solid var(--orange);
  }

  .page-home .mobile-bar-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    color: var(--rice);
    font-size: 15px;
    text-decoration: none;
    letter-spacing: .01em;
  }

  .page-home .mobile-bar-link:active {
    color: var(--orange);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-card,
  .page-home .login-card,
  .page-home .next-card,
  .page-home .benefit,
  .page-home .link-arrow,
  .page-home .link-arrow::after,
  .page-home .step-num {
    transition: none;
  }

  .page-home .login-card:hover,
  .page-home .next-card:hover,
  .page-home .benefit:hover {
    transform: none;
  }
}
