.page-home {
  background: var(--ink);
  color: var(--paper);
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */

.page-home .home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(92vh, 820px);
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: clamp(44px, 8vw, 84px);
  overflow: hidden;
  background: linear-gradient(158deg, var(--ink-deep) 0%, var(--ink) 56%, #0f2a22 100%);
}

.page-home .home-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .58;
}

.page-home .home-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 28%;
  filter: saturate(.72) contrast(1.12);
}

.page-home .home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(118% 88% at 80% 10%, rgba(53, 240, 200, .16), transparent 56%),
    linear-gradient(148deg, rgba(6, 18, 15, .94) 0%, rgba(6, 18, 15, .68) 46%, rgba(11, 31, 26, .26) 100%);
}

.page-home .home-hero__cut {
  position: absolute;
  z-index: -1;
  top: -12%;
  right: -20%;
  width: 82%;
  height: 134%;
  background: linear-gradient(214deg, rgba(255, 90, 31, .26), rgba(255, 90, 31, 0) 64%);
  clip-path: polygon(36% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-home .home-hero__scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: .55;
  pointer-events: none;
  animation: home-scan 4.4s var(--ease) infinite;
}

@keyframes home-scan {
  0% { top: 14%; opacity: 0; }
  16% { opacity: .8; }
  72% { opacity: .3; }
  100% { top: 86%; opacity: 0; }
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(0deg, rgba(244, 241, 232, .035) 0 1px, transparent 1px 4px);
  pointer-events: none;
}

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

.page-home .home-hero__eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .home-hero__title {
  margin: 0 0 16px;
  max-width: 14em;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(30px, 7.4vw, 62px);
  line-height: 1.06;
  letter-spacing: -.03em;
  color: var(--paper);
}

.page-home .home-hero__lede {
  margin: 0 0 28px;
  max-width: 26em;
  font-size: clamp(14px, 3.6vw, 17px);
  line-height: 1.75;
  color: #cfdcd7;
}

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

.page-home .home-hero__axis {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .home-hero__axis a {
  display: inline-block;
  padding: 7px 16px;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--fog);
  text-decoration: none;
  border: 1px solid var(--rule);
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
  transition: color .24s var(--ease), background .24s var(--ease), border-color .24s var(--ease);
}

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

/* ---------- 段落通用头 ---------- */

.page-home .home-section-head {
  margin-bottom: clamp(22px, 4vw, 38px);
}

.page-home .home-section-head .h-section {
  margin: 12px 0 0;
  max-width: 24em;
}

/* ---------- 最近更新 Bento ---------- */

.page-home .home-board {
  padding: clamp(52px, 8vw, 92px) 0 clamp(46px, 7vw, 76px);
  background: var(--ink);
}

.page-home .home-bento {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.page-home .home-bento > .card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(18px, 3vw, 26px);
  border-radius: 4px;
  transition: border-color .28s var(--ease);
}

.page-home .home-bento > .card:hover {
  border-color: var(--rule-strong);
}

.page-home .home-bento__thumb {
  overflow: hidden;
  border-radius: 3px;
  aspect-ratio: 3 / 2;
  background: var(--ink-deep);
}

.page-home .home-bento__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(.82);
  transition: transform .5s var(--ease);
}

.page-home .home-bento__focus:hover .home-bento__thumb img {
  transform: scale(1.035);
}

.page-home .home-bento__focus p,
.page-home .home-bento__score-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: #c4d2cd;
}

.page-home .home-bento__score-num {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(56px, 13vw, 92px);
  line-height: .86;
  letter-spacing: -.01em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.page-home .home-bento__score-num small {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--orange-soft);
}

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

.page-home .home-bento__list li {
  display: grid;
  gap: 4px;
  padding-left: 14px;
  border-left: 2px solid var(--rule-cyan);
  font-size: 14px;
  line-height: 1.72;
  color: #c8d6d1;
}

.page-home .home-bento__ver {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--cyan);
}

.page-home .home-bento__more {
  margin-top: auto;
  padding-top: 10px;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--orange-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
  transition: color .24s var(--ease), border-color .24s var(--ease);
}

.page-home .home-bento__more:hover,
.page-home .home-bento__more:focus-visible {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ---------- 三条路径 ---------- */

.page-home .home-paths {
  padding: clamp(48px, 8vw, 88px) 0;
  background: var(--ink-deep);
}

.page-home .home-paths__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.page-home .home-path {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.page-home .home-path:hover,
.page-home .home-path:focus-visible {
  transform: translateY(-5px);
  border-color: var(--orange);
}

.page-home .home-path__idx {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.page-home .home-path--cyan .home-path__idx {
  color: var(--cyan);
}

.page-home .home-path p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #c4d2cd;
}

.page-home .home-path__go {
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--orange-soft);
}

.page-home .home-path--cyan .home-path__go {
  color: var(--cyan);
}

/* ---------- 数据条 ---------- */

.page-home .home-strip {
  padding: clamp(50px, 8vw, 88px) 0;
  background: linear-gradient(180deg, var(--ink-deep) 0%, var(--ink) 100%);
}

.page-home .home-strip__inner {
  display: grid;
  gap: clamp(24px, 4vw, 46px);
  grid-template-columns: 1fr;
}

.page-home .home-strip__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--ink-deep);
}

.page-home .home-strip__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.14) saturate(.68) brightness(.86);
}

.page-home .home-strip__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(142deg, rgba(53, 240, 200, .18), rgba(255, 90, 31, .14) 68%, transparent);
  pointer-events: none;
}

.page-home .home-strip__note {
  margin: 14px 0 0;
  max-width: 30em;
  font-size: 14.5px;
  line-height: 1.75;
  color: #b9c8c3;
}

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

.page-home .home-strip__stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 2px solid var(--rule-cyan);
}

.page-home .home-strip__stat dt {
  order: 2;
  font-size: 12.5px;
  letter-spacing: .05em;
  line-height: 1.5;
  color: var(--fog);
}

.page-home .home-strip__stat dd {
  order: 1;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  font-size: clamp(30px, 7vw, 44px);
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-home .home-strip__stat dd small {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--fog);
}

/* ---------- 版本说明时间线 ---------- */

.page-home .home-timeline {
  position: relative;
  isolation: isolate;
  padding: clamp(52px, 8vw, 92px) 0;
  background: var(--paper);
  color: #12211d;
  overflow: hidden;
}

.page-home .home-timeline__wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .18;
  pointer-events: none;
}

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

.page-home .home-timeline__head .h-section {
  margin: 12px 0 0;
  max-width: 20em;
  color: #0b1f1a;
}

.page-home .home-timeline__intro {
  margin: 16px 0 0;
  max-width: 32em;
  font-size: 14.5px;
  line-height: 1.78;
  color: #40564f;
}

.page-home .home-timeline__list {
  list-style: none;
  margin: clamp(24px, 4vw, 34px) 0 clamp(22px, 3vw, 30px);
  padding: 0 0 0 20px;
  border-left: 2px solid rgba(11, 31, 26, .16);
}

.page-home .home-timeline__list li {
  position: relative;
  padding-bottom: 20px;
}

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

.page-home .home-timeline__list li::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  background: var(--paper);
}

.page-home .home-timeline__ver {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--orange);
}

.page-home .home-timeline__desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: #33463f;
}

.page-home .home-timeline__cta {
  color: #0b1f1a;
  border-color: rgba(11, 31, 26, .34);
}

.page-home .home-timeline__cta:hover,
.page-home .home-timeline__cta:focus-visible {
  background: #0b1f1a;
  color: var(--paper);
  border-color: #0b1f1a;
}

/* ---------- 常驻入口说明 ---------- */

.page-home .home-dock {
  padding: clamp(48px, 8vw, 88px) 0;
  background: var(--ink);
}

.page-home .home-dock__box {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--rule-cyan);
  border-left: 4px solid var(--orange);
  border-radius: 4px;
  background: linear-gradient(126deg, rgba(53, 240, 200, .07), rgba(255, 90, 31, .09) 74%, transparent);
}

.page-home .home-dock__text .h-section {
  margin: 0 0 14px;
  max-width: 18em;
}

.page-home .home-dock__text p {
  margin: 0;
  max-width: 42em;
  font-size: 14.5px;
  line-height: 1.78;
  color: #c4d2cd;
}

.page-home .home-dock__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 平板以上 ---------- */

@media (min-width: 760px) {
  .page-home .home-paths__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .page-home .home-path:nth-child(2) {
    margin-top: 28px;
  }

  .page-home .home-path:nth-child(3) {
    margin-top: 56px;
  }

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

@media (min-width: 880px) {
  .page-home .home-bento {
    grid-template-columns: 1.32fr 1fr;
    grid-template-rows: auto auto;
    align-items: stretch;
  }

  .page-home .home-bento__focus {
    grid-row: 1 / span 2;
  }

  .page-home .home-strip__inner {
    grid-template-columns: .68fr 1.32fr;
    align-items: center;
  }

  .page-home .home-timeline__inner {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
  }

  .page-home .home-timeline__list {
    margin-top: 6px;
  }

  .page-home .home-dock__box {
    grid-template-columns: 1.5fr auto;
    align-items: center;
  }
}

/* ---------- 无障碍动效 ---------- */

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__scan {
    animation: none;
    top: 46%;
    opacity: .3;
  }

  .page-home .home-path:hover,
  .page-home .home-path:focus-visible,
  .page-home .home-bento__focus:hover .home-bento__thumb img {
    transform: none;
  }
}
