.page-home {
  --home-cut: 26px;
  --home-cut-sm: 14px;
  --home-tick: rgba(159, 178, 196, .42);
  --home-glow: rgba(255, 107, 44, .16);
  background: var(--paper);
  color: var(--ink-deep);
}

/* ---------- 首屏框景 ---------- */
.page-home .hero {
  position: relative;
  padding: calc(var(--header-h) + 32px) 0 clamp(42px, 7vw, 78px);
  background:
    radial-gradient(760px 480px at 84% 4%, rgba(47, 230, 214, .10), transparent 62%),
    radial-gradient(680px 520px at 4% 98%, var(--home-glow), transparent 64%),
    var(--ink-deep);
  color: var(--white);
  overflow: hidden;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(114deg, rgba(159, 178, 196, .075) 0 1px, transparent 1px 48px);
  pointer-events: none;
}

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

.page-home .hero-frame {
  position: relative;
  border: 1px solid var(--line-light);
  padding: clamp(20px, 4.2vw, 46px);
  background: linear-gradient(158deg, rgba(11, 42, 69, .78), rgba(6, 21, 35, .5));
}

.page-home .hero-frame::before,
.page-home .hero-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 7px;
  background-image: repeating-linear-gradient(90deg, var(--home-tick) 0 1px, transparent 1px 26px);
  opacity: .7;
  pointer-events: none;
}

.page-home .hero-frame::before { top: -1px; }
.page-home .hero-frame::after { bottom: -1px; }

.page-home .hero-grid {
  display: grid;
  gap: clamp(26px, 4vw, 46px);
  align-items: end;
}

.page-home .hero-eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .hero-title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 9.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--white);
}

.page-home .hero-title-accent {
  display: block;
  color: var(--orange);
}

.page-home .hero-lede {
  margin: 0 0 28px;
  max-width: 46ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  color: rgba(255, 255, 255, .78);
}

.page-home .hero-paths {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.page-home .path-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, .04);
  color: var(--white);
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut-sm)), calc(100% - var(--home-cut-sm)) 100%, 0 100%);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .path-link--hot {
  border-color: rgba(255, 107, 44, .52);
  background: linear-gradient(118deg, rgba(255, 107, 44, .18), rgba(255, 107, 44, .04));
}

.page-home .path-link:hover,
.page-home .path-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--orange);
  background: rgba(255, 107, 44, .12);
  outline: none;
}

.page-home .path-link:focus-visible {
  box-shadow: 0 0 0 2px var(--cyan);
}

.page-home .path-link-num {
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  color: var(--steel);
}

.page-home .path-link--hot .path-link-num {
  color: var(--orange);
}

.page-home .path-link-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.page-home .path-link-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: .01em;
}

.page-home .path-link-desc {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .66);
}

.page-home .path-link-arrow {
  margin-left: auto;
  font-size: 18px;
  color: var(--orange);
  transition: transform var(--dur) var(--ease);
}

.page-home .path-link:hover .path-link-arrow,
.page-home .path-link:focus-visible .path-link-arrow {
  transform: translateX(4px);
}

.page-home .hero-note {
  margin: 0;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--steel);
}

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

.page-home .hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.page-home .hero-visual figcaption {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ---------- 通用章节 ---------- */
.page-home .section {
  padding: clamp(46px, 8vw, 92px) 0;
}

.page-home .eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-harbor);
}

/* ---------- 第二栏：回看锚点 ---------- */
.page-home .anchor {
  padding-top: clamp(38px, 6vw, 72px);
}

.page-home .anchor-panel {
  position: relative;
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  padding: clamp(24px, 4.4vw, 52px);
  background: linear-gradient(138deg, var(--blue-cabin), var(--ink-deep) 72%);
  color: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
}

.page-home .anchor-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--orange), var(--cyan));
}

.page-home .anchor-copy {
  position: relative;
}

.page-home .anchor .eyebrow {
  color: var(--cyan);
}

.page-home .anchor h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 4.6vw, 42px);
  line-height: 1.18;
  letter-spacing: -.01em;
}

.page-home .anchor-lede {
  margin: 0 0 24px;
  max-width: 52ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  color: rgba(255, 255, 255, .76);
}

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

.page-home .filter-chip {
  padding: 7px 13px;
  border: 1px solid rgba(159, 178, 196, .32);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .82);
}

.page-home .filter-chip:first-child {
  border-color: var(--cyan);
  color: var(--cyan);
}

.page-home .anchor-stats {
  display: grid;
  gap: 18px;
  margin: 0 0 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
}

.page-home .anchor-stats .stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}

.page-home .anchor-stats dt {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--steel);
}

.page-home .anchor-stats dd {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .82);
}

.page-home .stat-num {
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  color: var(--orange);
  margin-right: 6px;
}

.page-home .anchor .btn-primary {
  display: inline-block;
  padding: 14px 26px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .04em;
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .anchor .btn-primary:hover,
.page-home .anchor .btn-primary:focus-visible {
  background: var(--orange-deep);
  transform: translateY(-2px);
}

.page-home .anchor-visual {
  margin: 0;
}

.page-home .anchor-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line-light);
}

/* ---------- 首次来访三步 ---------- */
.page-home .route-grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

.page-home .route h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.12;
  letter-spacing: -.01em;
}

.page-home .route-lede {
  margin: 0 0 30px;
  max-width: 50ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  color: var(--ink-70);
}

.page-home .route-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .route-step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease);
}

.page-home .route-step:hover {
  background: rgba(22, 74, 110, .05);
}

.page-home .route-num {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--blue-harbor);
}

.page-home .route-step:nth-child(2) .route-num,
.page-home .route-step:nth-child(3) .route-num {
  color: var(--steel);
}

.page-home .route-step-body h3 {
  margin: 0 0 8px;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.4;
}

.page-home .route-step-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-70);
}

.page-home .route-visual {
  margin: 0;
  align-self: start;
}

.page-home .route-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.page-home .route-visual figcaption {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ---------- 战报速读 ---------- */
.page-home .brief {
  background: linear-gradient(180deg, rgba(22, 74, 110, .06), rgba(232, 237, 242, 0));
}

.page-home .brief-grid {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
}

.page-home .brief h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 4.6vw, 40px);
  line-height: 1.16;
  letter-spacing: -.01em;
}

.page-home .brief-lede {
  margin: 0 0 30px;
  max-width: 54ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  color: var(--ink-70);
}

.page-home .brief-list {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .brief-item {
  display: grid;
  gap: 6px;
  padding: 20px 16px 20px 18px;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-home .brief-item:hover,
.page-home .brief-item:focus-within {
  border-left-color: var(--orange);
  background: rgba(255, 107, 44, .055);
}

.page-home .brief-time {
  margin: 0;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--blue-harbor);
}

.page-home .brief-body h3 {
  margin: 0 0 8px;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink-deep);
}

.page-home .brief-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-70);
}

.page-home .brief-more {
  margin-top: 10px;
  font-size: 14px;
  color: var(--blue-harbor);
}

.page-home .link-arrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .03em;
  color: var(--orange-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 3px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .link-arrow::after {
  content: " →";
}

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

.page-home .brief-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-home .brief-visual {
  margin: 0;
}

.page-home .brief-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .brief-side-note {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-70);
}

.page-home .brief-side-meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--blue-harbor);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* ---------- 版本与服务索引 ---------- */
.page-home .version {
  background: var(--white);
  border-top: 1px solid rgba(11, 42, 69, .08);
  border-bottom: 1px solid rgba(11, 42, 69, .08);
}

.page-home .version-inner {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}

.page-home .version-badge {
  margin: 0;
  font-size: clamp(54px, 12vw, 108px);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--blue-harbor);
}

.page-home .version h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(25px, 4.2vw, 38px);
  line-height: 1.16;
  letter-spacing: -.01em;
}

.page-home .version-copy > p {
  margin: 0 0 24px;
  max-width: 54ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  color: var(--ink-70);
}

.page-home .version-points {
  margin: 0;
  display: grid;
  gap: 14px;
}

.page-home .version-point {
  display: grid;
  gap: 4px;
  padding-left: 14px;
  border-left: 2px solid rgba(22, 74, 110, .22);
}

.page-home .version-point dt {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-harbor);
}

.page-home .version-point dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-80);
}

.page-home .version-links {
  display: grid;
  gap: 10px;
  align-content: start;
}

.page-home .version-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(22, 74, 110, .18);
  text-decoration: none;
  color: var(--ink-deep);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .version-link:hover,
.page-home .version-link:focus-visible {
  border-color: var(--orange);
  background: rgba(255, 107, 44, .06);
  transform: translateY(-2px);
  outline: none;
}

.page-home .version-link:focus-visible {
  box-shadow: 0 0 0 2px var(--cyan);
}

.page-home .version-link-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .02em;
}

.page-home .version-link-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-55);
}

/* ---------- 收尾影像带 ---------- */
.page-home .nightfall {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(58px, 10vw, 112px) 0;
  background: var(--ink-deep);
  color: var(--white);
}

.page-home .nightfall-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .nightfall::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(6, 21, 35, .94) 12%, rgba(6, 21, 35, .72) 58%, rgba(6, 21, 35, .38) 100%),
    repeating-linear-gradient(118deg, rgba(47, 230, 214, .14) 0 1px, transparent 1px 62px);
}

.page-home .nightfall-inner {
  max-width: 640px;
}

.page-home .nightfall-eyebrow {
  color: var(--cyan);
}

.page-home .nightfall h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 5.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--white);
}

.page-home .nightfall-lede {
  margin: 0 0 28px;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: rgba(255, 255, 255, .76);
}

.page-home .nightfall-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
}

.page-home .btn-outline {
  display: inline-block;
  padding: 13px 26px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .04em;
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.page-home .btn-outline:hover,
.page-home .btn-outline:focus-visible {
  background: var(--cyan);
  color: var(--ink-deep);
}

.page-home .nightfall-link {
  color: var(--white);
  border-color: rgba(255, 255, 255, .4);
}

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

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-home .anchor-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .page-home .brief-item {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }

  .page-home .brief-more {
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height var(--dur) var(--ease), opacity var(--dur) var(--ease), margin var(--dur) var(--ease);
  }

  .page-home .brief-item:hover .brief-more,
  .page-home .brief-item:focus-within .brief-more {
    max-height: 120px;
    opacity: 1;
    margin-top: 10px;
  }
}

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .anchor-panel {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }

  .page-home .route-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .brief-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .brief-side {
    padding-top: 8px;
  }

  .page-home .version-inner {
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 240px);
    align-items: start;
    gap: clamp(28px, 4vw, 52px);
  }

  .page-home .version-badge {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .path-link,
  .page-home .path-link-arrow,
  .page-home .route-step,
  .page-home .brief-item,
  .page-home .brief-more,
  .page-home .version-link,
  .page-home .btn-outline {
    transition: none;
  }

  .page-home .path-link:hover,
  .page-home .version-link:hover,
  .page-home .anchor .btn-primary:hover {
    transform: none;
  }
}
