.page-home {
  --home-panel: var(--cream);
  --home-gap: clamp(20px, 3.6vw, 40px);
  padding-bottom: clamp(56px, 8vw, 120px);
}

.page-home .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.page-home .home-context {
  padding-top: clamp(16px, 2.4vw, 28px);
  padding-bottom: clamp(16px, 2.4vw, 24px);
}

/* ---------- 首屏框景 ---------- */
.page-home .home-hero {
  padding-bottom: clamp(48px, 7vw, 96px);
}

.page-home .home-hero__frame {
  position: relative;
  padding: clamp(22px, 3.6vw, 52px);
  background:
    radial-gradient(120% 120% at 88% 6%, rgba(243, 164, 94, 0.16), transparent 58%),
    linear-gradient(158deg, var(--silver-soft) 0%, var(--silver) 52%, var(--silver-deep) 100%);
  border: 1px solid var(--line);
  overflow: hidden;
}

.page-home .home-hero__frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  background-image:
    linear-gradient(var(--amber-bright), var(--amber-bright)),
    linear-gradient(var(--amber-bright), var(--amber-bright)),
    linear-gradient(var(--amber-bright), var(--amber-bright)),
    linear-gradient(var(--amber-bright), var(--amber-bright)),
    linear-gradient(var(--amber-bright), var(--amber-bright)),
    linear-gradient(var(--amber-bright), var(--amber-bright)),
    linear-gradient(var(--amber-bright), var(--amber-bright)),
    linear-gradient(var(--amber-bright), var(--amber-bright));
  background-size:
    24px 2px, 24px 2px, 24px 2px, 24px 2px,
    2px 24px, 2px 24px, 2px 24px, 2px 24px;
  background-position:
    left top, right top, left bottom, right bottom,
    left top, right top, left bottom, right bottom;
  background-repeat: no-repeat;
}

.page-home .home-hero__layout {
  display: grid;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}

.page-home .home-hero__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
}

.page-home .home-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 6.4vw, 76px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--deep);
}

.page-home .home-hero__text {
  margin: clamp(16px, 2.4vw, 24px) 0 0;
  max-width: 40ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.78;
  color: var(--ink);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 30px);
}

.page-home .home-hero__ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(20px, 3vw, 40px);
  margin: clamp(24px, 3.4vw, 36px) 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.page-home .home-hero__tick dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--slate);
}

.page-home .home-hero__tick dd {
  margin: 6px 0 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--deep);
}

.page-home .home-hero__tick dd .num {
  font-size: 22px;
  color: var(--amber);
}

.page-home .home-hero__visual {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--silver-deep);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

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

.page-home .home-hero__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 10px 14px;
  background: rgba(11, 79, 74, 0.9);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--silver-soft);
}

.page-home .home-hero__caption .num {
  color: var(--amber-bright);
}

/* ---------- 章节头 ---------- */
.page-home .home-head {
  margin-bottom: clamp(22px, 3.2vw, 38px);
}

.page-home .home-head__index {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--jade);
}

.page-home .home-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.022em;
  color: var(--deep);
}

.page-home .home-head__sub {
  margin: 12px 0 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate);
}

/* ---------- 两个栏目入口 ---------- */
.page-home .home-forks {
  padding-bottom: clamp(56px, 8vw, 108px);
}

.page-home .home-forks__grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .home-fork {
  position: relative;
  padding: clamp(22px, 3.2vw, 42px);
  background: var(--home-panel);
  display: flex;
  flex-direction: column;
}

.page-home .home-fork::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--jade);
}

.page-home .home-fork--amber::before {
  background: var(--amber);
}

.page-home .home-fork--jade {
  background: linear-gradient(178deg, var(--jade-soft) 0%, var(--home-panel) 46%);
}

.page-home .home-fork--amber {
  background: linear-gradient(178deg, rgba(243, 164, 94, 0.24) 0%, var(--home-panel) 46%);
}

.page-home .home-fork__tag {
  align-self: flex-start;
  margin: 0 0 14px;
}

.page-home .home-fork__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--deep);
  line-height: 1.28;
}

.page-home .home-fork__text {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink);
}

.page-home .home-fork__list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.page-home .home-fork__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate);
}

.page-home .home-fork__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--jade);
  transform: rotate(45deg);
}

.page-home .home-fork--amber .home-fork__list li::before {
  background: var(--amber);
}

.page-home .home-fork__price {
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--deep);
  color: var(--silver-soft);
}

.page-home .home-fork__price-label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--amber-bright);
}

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

.page-home .home-fork__price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(169, 198, 214, 0.26);
}

.page-home .home-fork__price-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .home-fork__price-list b {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--amber-bright);
  white-space: nowrap;
}

.page-home .home-fork__link {
  margin-top: 20px;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 700;
  color: var(--jade);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.page-home .home-fork--amber .home-fork__link {
  color: var(--amber);
}

.page-home .home-fork__media {
  margin: 20px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  max-width: 220px;
}

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

/* ---------- 横向对比轨道 ---------- */
.page-home .home-rail {
  padding-bottom: clamp(56px, 8vw, 108px);
}

.page-home .home-rail__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 22px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.page-home .home-rail__track::-webkit-scrollbar {
  height: 6px;
}

.page-home .home-rail__track::-webkit-scrollbar-thumb {
  background: var(--line);
}

.page-home .home-rail__track:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

.page-home .home-rail__card {
  flex: 0 0 min(78vw, 296px);
  scroll-snap-align: start;
  padding: 20px 20px 22px;
  background: var(--home-panel);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 190px;
}

.page-home .home-rail__card--amber {
  background: var(--deep);
  border-color: var(--deep);
}

.page-home .home-rail__card--media {
  padding: 0;
  overflow: hidden;
  border-color: var(--line);
}

.page-home .home-rail__card--media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.page-home .home-rail__label {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--jade);
}

.page-home .home-rail__card--amber .home-rail__label {
  color: var(--amber-bright);
}

.page-home .home-rail__value {
  margin: 0;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--deep);
}

.page-home .home-rail__note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
}

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

.page-home .home-rail__prices li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  color: var(--silver-soft);
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(169, 198, 214, 0.24);
}

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

.page-home .home-rail__prices b {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--amber-bright);
  white-space: nowrap;
}

.page-home .home-rail__foot {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--slate);
}

.page-home .home-rail__foot a {
  color: var(--jade);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* ---------- 案例索引预览 ---------- */
.page-home .home-cases {
  padding-bottom: clamp(56px, 8vw, 108px);
}

.page-home .home-cases__grid {
  display: grid;
  gap: var(--home-gap);
  align-items: start;
}

.page-home .home-cases__media {
  margin: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--silver-deep);
}

.page-home .home-cases__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.page-home .home-cases__media figcaption {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  background: var(--jade-soft);
  font-size: 12px;
  line-height: 1.6;
  color: var(--deep);
}

.page-home .home-cases__media figcaption .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--jade);
}

.page-home .home-cases__list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .home-case {
  padding: 18px 20px 20px;
  background: var(--home-panel);
  display: grid;
  gap: 8px;
}

.page-home .home-case__meta {
  margin: 0;
}

.page-home .home-case__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.008em;
  color: var(--deep);
}

.page-home .home-case__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
}

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

.page-home .home-cases__foot {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--slate);
}

.page-home .home-cases__foot a {
  color: var(--jade);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* ---------- 三条短问答 ---------- */
.page-home .home-ask__grid {
  border-top: 1px solid var(--line);
}

.page-home .home-ask__item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.page-home .home-ask__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.9vw, 18px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--deep);
}

.page-home .home-ask__item summary::-webkit-details-marker {
  display: none;
}

.page-home .home-ask__item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
}

.page-home .home-ask__item[open] summary::after {
  transform: rotate(-135deg);
}

.page-home .home-ask__item p {
  margin: 12px 0 0;
  max-width: 58ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

.page-home .home-ask__item p .num {
  color: var(--amber);
  font-weight: 700;
}

.page-home .home-ask__item p a {
  display: inline-block;
  margin-top: 6px;
  color: var(--jade);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.page-home .home-ask__foot {
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--slate);
}

.page-home .home-ask__foot a {
  color: var(--jade);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

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

  .page-home .home-rail__card:nth-child(even) {
    transform: translateY(26px);
  }

  .page-home .home-rail__track {
    padding-bottom: 50px;
  }

  .page-home .home-ask__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 clamp(24px, 3vw, 44px);
  }

  .page-home .home-ask__item {
    border-bottom: 1px solid var(--line);
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__layout {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  }

  .page-home .home-hero__visual {
    clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
  }

  .page-home .home-hero__visual img {
    aspect-ratio: 4 / 3.4;
  }

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

  .page-home .home-fork--jade {
    padding-right: clamp(28px, 3.6vw, 48px);
  }
}

@media (min-width: 1180px) {
  .page-home .home-rail__card {
    flex-basis: 316px;
  }

  .page-home .home-hero__visual img {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-ask__item summary::after {
    transition: none;
  }

  .page-home .home-rail__card:nth-child(even) {
    transform: none;
  }
}
<<<END>>>
