.page-home {
  --home-gap: clamp(72px, 11vw, 124px);
  --home-radius: 2px;
  display: block;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.85;
  overflow-x: clip;
}

.page-home .crumbs {
  padding-top: 20px;
  padding-bottom: 8px;
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  color: var(--muted);
}

.page-home .crumbs__item + .crumbs__item::before {
  content: "/";
  margin: 0 8px;
  color: var(--lake-mid);
}

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

.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 56px;
  background: var(--paper);
}

.page-home .hero__media {
  position: relative;
  height: 230px;
  margin: 0 0 30px;
  overflow: hidden;
  clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
}

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

.page-home .hero__beam {
  position: absolute;
  left: -18%;
  top: 22%;
  width: 120%;
  height: 150px;
  background: linear-gradient(90deg, rgba(240, 180, 41, 0.36), rgba(220, 234, 239, 0.6) 46%, rgba(15, 110, 140, 0.24));
  transform: rotate(-8deg);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

.page-home .hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 30px;
}

.page-home .hero__kicker {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--lake);
}

.page-home .hero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 9vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-home .hero__lede {
  margin: 0 0 26px;
  max-width: 34em;
  font-size: var(--fs-18);
  line-height: 1.8;
  color: var(--ink-soft);
}

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

.page-home .hero__index {
  padding: 20px 22px;
  border-left: 3px solid var(--gold);
  align-self: start;
}

.page-home .hero-index__label {
  margin: 0 0 10px;
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.page-home .hero-index__list {
  margin: 0;
}

.page-home .hero-index__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .hero-index__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .hero-index__row dt {
  font-size: var(--fs-13);
  color: var(--muted);
  white-space: nowrap;
}

.page-home .hero-index__row dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

/* ---------- 起步路径 ---------- */

.page-home .section-head {
  margin-bottom: 8px;
}

.page-home .skilltree {
  position: relative;
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  gap: 36px;
}

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

.page-home .skilltree__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--lake-mid);
  border-radius: 50%;
  background: var(--paper);
  color: var(--lake);
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  font-weight: 600;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .skilltree__node:hover .skilltree__no,
.page-home .skilltree__node:focus-within .skilltree__no {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--deep);
}

.page-home .skilltree__title {
  margin: 18px 0 10px;
  font-size: var(--fs-20);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.page-home .skilltree__text {
  margin: 0;
  font-size: var(--fs-16);
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-home .skilltree__link,
.page-home .rhythm-link {
  display: inline-block;
  margin-top: 14px;
  padding-bottom: 3px;
  font-size: 15px;
  font-weight: 600;
  color: var(--lake);
  text-decoration: none;
  background-image: linear-gradient(var(--lake), var(--lake));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 0.24s var(--ease);
}

.page-home .skilltree__link:hover,
.page-home .skilltree__link:focus-visible,
.page-home .rhythm-link:hover,
.page-home .rhythm-link:focus-visible {
  background-size: 100% 1px;
}

.page-home .skilltree__link:focus-visible,
.page-home .rhythm-link:focus-visible,
.page-home .origin__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- 跨设备 ---------- */

.page-home .device-grid {
  align-items: center;
  gap: 38px;
}

.page-home .device-text {
  margin: 18px 0 0;
  font-size: var(--fs-16);
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-home .check-list {
  list-style: none;
  margin: 22px 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .check-list li {
  position: relative;
  padding-left: 22px;
  font-size: var(--fs-16);
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-home .check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

.page-home .device-figure .media,
.page-home .rhythm-figure .media {
  margin: 0;
}

.page-home .device-figure img,
.page-home .rhythm-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--home-radius);
}

.page-home .media__caption {
  margin-top: 12px;
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- 版本节奏 ---------- */

.page-home .rhythm-grid {
  align-items: start;
  gap: 38px;
}

.page-home .rhythm-text {
  margin: 16px 0 0;
  font-size: var(--fs-16);
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-home .rhythm-line {
  list-style: none;
  margin: 28px 0 26px;
  padding: 0 0 0 22px;
  border-left: 1px solid var(--line-strong);
  display: grid;
  gap: 26px;
}

.page-home .rhythm-line .timeline__item {
  position: relative;
}

.page-home .rhythm-line .timeline__mark {
  position: absolute;
  left: -26px;
  top: 0.55em;
  width: 9px;
  height: 9px;
  background: var(--lake-mid);
}

.page-home .rhythm-line .timeline__item[data-state="current"] .timeline__mark {
  background: var(--flag);
  box-shadow: 0 0 0 4px rgba(200, 69, 42, 0.16);
}

.page-home .timeline__title {
  margin: 0 0 5px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.page-home .timeline__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* ---------- 双通道 ---------- */

.page-home .paths {
  display: grid;
  gap: 18px;
  margin-top: 40px;
}

.page-home .path {
  padding: 34px 26px 36px;
}

.page-home .path--return {
  background: var(--mist);
}

.page-home .path--first {
  background: var(--deep);
  color: var(--paper);
}

.page-home .path__tag {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--lake);
}

.page-home .path__tag--gold {
  color: var(--gold);
}

.page-home .path__title {
  margin: 0 0 12px;
  font-size: var(--fs-24);
  font-weight: 700;
  line-height: 1.3;
}

.page-home .path__text {
  margin: 0 0 24px;
  font-size: var(--fs-16);
  line-height: 1.85;
}

.page-home .path--return .path__text {
  color: var(--ink-soft);
}

.page-home .path--first .path__text {
  color: rgba(251, 249, 245, 0.82);
}

/* ---------- 服务基点 ---------- */

.page-home .origin {
  position: relative;
  overflow: hidden;
}

.page-home .origin__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

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

.page-home .origin .t-headline {
  color: var(--paper);
}

.page-home .origin .t-index {
  color: var(--gold);
}

.page-home .origin__text {
  margin: 18px 0 0;
  max-width: 46em;
  font-size: var(--fs-16);
  line-height: 1.85;
  color: rgba(251, 249, 245, 0.84);
}

.page-home .origin__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 20px;
  margin: 38px 0 30px;
}

.page-home .origin__stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line-invert);
}

.page-home .origin__stat dt {
  font-size: var(--fs-13);
  letter-spacing: 0.06em;
  color: rgba(251, 249, 245, 0.66);
}

.page-home .origin__stat dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.6vw, 38px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--gold);
}

.page-home .origin__num {
  font-weight: 400;
}

.page-home .origin__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line-invert);
}

.page-home .origin__meta {
  margin: 0;
  font-size: var(--fs-13);
  line-height: 1.8;
  color: rgba(251, 249, 245, 0.68);
}

.page-home .origin__link {
  padding-bottom: 2px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 180, 41, 0.5);
}

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

@media (min-width: 760px) {
  .page-home .hero__media {
    height: 320px;
  }

  .page-home .check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
  }

  .page-home .origin__foot {
    align-items: center;
  }
}

@media (min-width: 900px) {
  .page-home .crumbs {
    padding-top: 26px;
    padding-bottom: 0;
  }

  .page-home .hero {
    display: flex;
    align-items: center;
    min-height: 640px;
    padding: 72px 0 96px;
  }

  .page-home .hero__media {
    position: absolute;
    top: 0;
    right: 0;
    width: 58%;
    height: 100%;
    margin: 0;
    clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
  }

  .page-home .hero__beam {
    left: -8%;
    top: 30%;
    width: 78%;
    height: 190px;
    opacity: 0.85;
  }

  .page-home .hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: end;
    gap: 52px;
    padding-top: 24px;
  }

  .page-home .skilltree {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    margin-top: 56px;
  }

  .page-home .skilltree::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 23px;
    height: 1px;
    background: linear-gradient(90deg, var(--lake-mid), rgba(240, 180, 41, 0.55) 68%, rgba(240, 180, 41, 0));
  }

  .page-home .skilltree__node {
    padding-right: 12px;
    background: var(--paper);
  }

  .page-home .device-grid {
    gap: 60px;
  }

  .page-home .device-copy {
    padding-right: 8px;
  }

  .page-home .rhythm-grid {
    gap: 60px;
    align-items: center;
  }

  .page-home .paths {
    display: flex;
    gap: 0;
    margin-top: 48px;
  }

  .page-home .path {
    flex: 1 1 50%;
    padding: 46px 44px 50px;
    transition: flex-grow 0.4s var(--ease), background 0.4s var(--ease);
  }

  .page-home .paths:hover .path {
    flex-grow: 0.84;
  }

  .page-home .paths .path:hover,
  .page-home .paths .path:focus-within {
    flex-grow: 1.16;
  }

  .page-home .origin__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 32px;
  }
}

@media (min-width: 1200px) {
  .page-home .hero {
    min-height: 700px;
  }

  .page-home .hero__title {
    max-width: 13em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .skilltree__no,
  .page-home .skilltree__link,
  .page-home .rhythm-link,
  .page-home .path {
    transition: none;
  }
}
