.page-home {
  --home-rail-w: 236px;
  --home-rule: rgba(95, 117, 145, 0.22);
  --home-text-soft: #3F5166;
  background: var(--paper-050);
  color: var(--deep-950);
  font-family: var(--font-body);
}

.page-home .home-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
}

.page-home .home-flow {
  min-width: 0;
}

/* ---------- 左侧索引轨道 ---------- */
.page-home .home-rail {
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px var(--pad);
  background: var(--ink-900);
  color: var(--mist-200);
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
}

.page-home .rail-head {
  flex: 0 0 auto;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--amber-400);
}

.page-home .rail-head span {
  margin-left: 4px;
  color: var(--slate-500);
}

.page-home .rail-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .rail-nav::-webkit-scrollbar {
  display: none;
}

.page-home .rail-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex: 0 0 auto;
  padding: 6px 10px;
  font-size: 12.5px;
  color: rgba(216, 225, 236, 0.78);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: color 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.page-home .rail-no {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--slate-500);
}

.page-home .rail-link:hover,
.page-home .rail-link[aria-current="true"] {
  color: var(--amber-400);
  border-color: rgba(242, 178, 74, 0.45);
  background: rgba(242, 178, 74, 0.08);
}

.page-home .rail-link:hover .rail-no,
.page-home .rail-link[aria-current="true"] .rail-no {
  color: var(--amber-400);
}

.page-home .rail-hint {
  display: none;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-950);
  color: var(--mist-200);
  padding: clamp(26px, 5vw, 56px) var(--pad) clamp(34px, 5vw, 68px);
  border-bottom: 1px solid var(--line-dark);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.page-home .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
}

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

.page-home .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(216, 225, 236, 0.55);
}

.page-home .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 8px;
  color: var(--slate-500);
}

.page-home .breadcrumb a {
  color: rgba(216, 225, 236, 0.72);
  text-decoration: none;
}

.page-home .breadcrumb a:hover {
  color: var(--amber-400);
}

.page-home .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--amber-400);
}

.page-home .kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--amber-400);
}

.page-home .hero h1 {
  margin: 14px 0 18px;
  font-family: var(--font-head);
  font-size: clamp(30px, 6.4vw, 54px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper-050);
  max-width: 15em;
}

.page-home .hero-lede {
  margin: 0;
  max-width: 36em;
  font-size: clamp(14.5px, 1.6vw, 16.5px);
  line-height: 1.85;
  color: rgba(216, 225, 236, 0.82);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 28px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line-dark);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: rgba(216, 225, 236, 0.62);
}

/* 首屏章节面板 */
.page-home .hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: rgba(12, 21, 36, 0.74);
  box-shadow: var(--shadow-lg);
  padding: 18px clamp(16px, 2.4vw, 26px) 14px;
}

.page-home .hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-home .hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
}

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

.page-home .panel-label {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--amber-400);
}

.page-home .chapter-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 18px;
  align-items: start;
  gap: 4px 10px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-dark);
  text-decoration: none;
  color: inherit;
  transition: background-color 200ms var(--ease);
}

.page-home .chapter-item:last-child {
  border-bottom: 0;
}

.page-home .chapter-item:hover {
  background: rgba(242, 178, 74, 0.08);
}

.page-home .chapter-no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--amber-400);
  padding-top: 3px;
}

.page-home .chapter-body {
  min-width: 0;
}

.page-home .chapter-title {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--paper-050);
  line-height: 1.4;
}

.page-home .chapter-note {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(216, 225, 236, 0.66);
}

.page-home .chapter-go {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--slate-500);
  transition: transform 200ms var(--ease), color 200ms var(--ease);
}

.page-home .chapter-item:hover .chapter-go {
  transform: translateX(3px);
  color: var(--amber-400);
}

/* ---------- 通用章节 ---------- */
.page-home .home-section {
  padding: clamp(40px, 7vw, 86px) var(--pad);
}

.page-home .home-section + .home-section {
  border-top: 1px solid var(--home-rule);
}

.page-home .section-head {
  max-width: 44rem;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.page-home .section-head h2,
.page-home .habit-card h3,
.page-home .habit-updates h3 {
  font-family: var(--font-head);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.page-home .section-head h2 {
  margin: 10px 0 12px;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.16;
  color: var(--deep-950);
}

.page-home .section-lede {
  margin: 0;
  font-size: clamp(14.5px, 1.6vw, 16px);
  line-height: 1.8;
  color: var(--home-text-soft);
}

/* ---------- 三类高频路径 ---------- */
.page-home .path-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-home .path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(18px, 2.6vw, 28px);
  background: var(--ink-900);
  color: var(--mist-200);
  border: 1px solid var(--line-dark);
  border-top: 2px solid var(--amber-400);
}

.page-home .path-card h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--paper-050);
}

.page-home .path-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(216, 225, 236, 0.78);
}

.page-home .path-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: var(--ink-950);
}

.page-home .path-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .path-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--amber-400);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 178, 74, 0.4);
  align-self: flex-start;
  transition: gap 200ms var(--ease), border-color 200ms var(--ease);
}

.page-home .path-action:hover {
  gap: 12px;
  border-color: var(--amber-400);
}

.page-home .path-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.page-home .path-card .tag,
.page-home .hero-panel .tag,
.page-home .habit-updates .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.page-home .path-side {
  padding: 16px;
  background: var(--ink-700);
  border: 1px solid var(--line-dark);
}

.page-home .side-label {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--amber-400);
}

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

.page-home .path-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(216, 225, 236, 0.8);
}

.page-home .path-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--mint-400);
}

.page-home .side-foot {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(216, 225, 236, 0.55);
}

/* ---------- 收藏与更新 ---------- */
.page-home .habit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.page-home .habit-card {
  padding: clamp(18px, 2.4vw, 26px);
  background: #FFFFFF;
  border: 1px solid var(--home-rule);
  border-left: 3px solid var(--amber-400);
}

.page-home .habit-card h3,
.page-home .habit-updates h3 {
  margin: 0 0 14px;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.35;
  color: var(--deep-950);
}

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

.page-home .habit-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--home-text-soft);
}

.page-home .habit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--amber-400);
}

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

.page-home .update-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: start;
  gap: 4px 14px;
  padding: 16px 0;
  border-top: 1px solid var(--home-rule);
}

.page-home .update-time {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  padding-top: 2px;
}

.page-home .update-body {
  min-width: 0;
}

.page-home .update-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--deep-950);
}

.page-home .update-desc {
  margin: 4px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--home-text-soft);
}

.page-home .update-item .tag {
  grid-column: 2;
  justify-self: start;
  margin-top: 8px;
}

.page-home .update-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-700);
  text-decoration: none;
  border-bottom: 1px solid var(--amber-400);
  padding-bottom: 2px;
  transition: color 200ms var(--ease), gap 200ms var(--ease);
}

.page-home .update-more:hover {
  gap: 12px;
  color: var(--amber-400);
}

/* ---------- 服务与联系 ---------- */
.page-home .promise {
  position: relative;
  overflow: hidden;
  background: var(--ink-950);
  color: var(--mist-200);
}

.page-home .promise-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-home .promise-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}

.page-home .promise::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--ink-950) 0%, rgba(7, 13, 24, 0.82) 52%, rgba(7, 13, 24, 0.42) 100%);
  pointer-events: none;
}

.page-home .promise-inner {
  position: relative;
  z-index: 1;
  max-width: 60rem;
}

.page-home .promise h2 {
  margin: 12px 0 16px;
  font-family: var(--font-head);
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper-050);
}

.page-home .promise-lede {
  margin: 0;
  max-width: 42em;
  font-size: clamp(14.5px, 1.6vw, 16px);
  line-height: 1.85;
  color: rgba(216, 225, 236, 0.8);
}

.page-home .promise-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .promise-list li {
  padding: 14px 16px;
  background: rgba(26, 42, 66, 0.62);
  border-left: 2px solid var(--amber-400);
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(216, 225, 236, 0.82);
}

.page-home .promise-k {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--amber-400);
}

.page-home .promise-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-home .path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .path-card--wide {
    grid-column: 1 / -1;
  }

  .page-home .promise-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .update-item {
    grid-template-columns: 74px minmax(0, 1fr) auto;
    align-items: center;
  }

  .page-home .update-item .tag {
    grid-column: 3;
    margin-top: 0;
  }
}

@media (min-width: 960px) {
  .page-home .home-shell {
    grid-template-columns: var(--home-rail-w) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .home-rail {
    position: sticky;
    top: 100px;
    align-self: start;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 30px 18px 24px;
    border-bottom: 0;
    border-right: 1px solid var(--line-dark);
  }

  .page-home .rail-head {
    font-size: 11px;
    padding-left: 10px;
  }

  .page-home .rail-nav {
    flex-direction: column;
    gap: 2px;
    margin-top: 22px;
    overflow: visible;
  }

  .page-home .rail-link {
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0;
    padding: 9px 10px;
    font-size: 13px;
  }

  .page-home .rail-link:hover,
  .page-home .rail-link[aria-current="true"] {
    border-left-color: var(--amber-400);
    background: rgba(242, 178, 74, 0.09);
  }

  .page-home .rail-hint {
    display: block;
    margin: 24px 10px 0;
    padding-top: 16px;
    border-top: 1px dashed var(--line-dark);
    font-size: 11.5px;
    line-height: 1.7;
    color: rgba(216, 225, 236, 0.55);
  }

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

  .page-home .hero-panel {
    min-height: 420px;
  }

  .page-home .path-card--wide {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(20px, 3vw, 40px);
    align-items: start;
  }

  .page-home .habit-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(18px, 3vw, 40px);
    align-items: start;
  }

  .page-home .habit-card {
    position: sticky;
    top: 120px;
  }
}

@media (min-width: 1200px) {
  .page-home .hero {
    padding-top: 64px;
    padding-bottom: 76px;
  }

  .page-home .hero-panel {
    min-height: 460px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .rail-link,
  .page-home .chapter-item,
  .page-home .chapter-go,
  .page-home .path-action,
  .page-home .update-more {
    transition: none;
  }
}
<<<END>>>
