.page-home {
  --home-gutter: 20px;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}

.page-home h2 {
  font-size: clamp(26px, 4vw, 42px);
}

.page-home h3 {
  font-size: 19px;
}

.page-home p {
  margin: 0;
}

.page-home .mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.page-home .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 10px;
}

.page-home .wrap {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--home-gutter);
}

.page-home .block {
  padding-block: 44px;
}

.page-home .block--cream {
  background: var(--cream);
}

.page-home .block--green {
  background: var(--green-900);
  color: var(--ivory);
}

.page-home .block--green h2,
.page-home .block--green h3 {
  color: var(--ivory);
}

.page-home .block--green .eyebrow {
  color: var(--amber);
}

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

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

.page-home .figure__media {
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--cream);
}

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

.page-home .figure__caption {
  font-size: 13px;
  line-height: 1.6;
  color: var(--grey);
  margin-top: 10px;
}

.page-home .block--green .figure__caption {
  color: rgba(246, 241, 230, 0.72);
}

/* ---------- 首屏 ---------- */
.page-home .hero-home {
  position: relative;
  padding-block: 26px 40px;
  background:
    radial-gradient(circle at 92% 6%, rgba(201, 144, 43, 0.16), transparent 58%),
    var(--ivory);
}

.page-home .hero-home__inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--home-gutter);
  display: grid;
  gap: 26px;
}

.page-home .hero-home__ctx {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--grey);
  margin-bottom: 14px;
}

.page-home .hero-home__ctx::before {
  content: "";
  width: 4px;
  height: 14px;
  background: var(--red-600);
  border-radius: 2px;
}

.page-home .hero-home__title {
  font-size: clamp(32px, 6.4vw, 54px);
  margin-bottom: 14px;
}

.page-home .hero-home__lede {
  font-size: 16px;
  line-height: 1.7;
  color: #3a332e;
  max-width: 34em;
}

.page-home .search-card {
  margin-top: 24px;
  padding: 16px 16px 14px;
  background: #fffdf8;
  border: 1px solid var(--cream);
  border-left: 4px solid var(--red-600);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-soft);
}

.page-home .search-card__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--grey);
}

.page-home .search-card__field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--green-900);
  border-radius: var(--r-chip);
}

.page-home .search-card__icon {
  flex: 0 0 auto;
}

.page-home .search-card__input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  outline-offset: 4px;
  padding: 2px 0;
}

.page-home .search-card__input::placeholder {
  color: #9a938c;
}

.page-home .search-card__field:focus-within {
  border-color: var(--celadon);
  box-shadow: 0 0 0 3px var(--celadon-100);
}

.page-home .search-card__hint {
  font-size: 13px;
  color: var(--grey);
  margin-top: 12px;
}

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

.page-home .chip {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
  text-decoration: none;
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: var(--r-chip);
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease);
}

.page-home .chip:hover,
.page-home .chip:focus-visible {
  background: var(--ivory);
  border-color: var(--red-300);
}

.page-home .chip--hit {
  background: var(--celadon-100);
  color: #1c4a60;
  border-color: rgba(44, 110, 143, 0.28);
}

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

.page-home .hero-home__stage {
  background: var(--green-900);
  padding: 16px;
  border-radius: var(--r-card);
  position: relative;
}

.page-home .hero-home__stage::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(246, 241, 230, 0.22);
  border-radius: 14px 4px 14px 4px;
  pointer-events: none;
}

.page-home .hero-home__figure .figure__media {
  aspect-ratio: 4 / 3;
  border-radius: 12px 4px 12px 4px;
}

.page-home .hero-home__stage .figure__caption {
  color: rgba(246, 241, 230, 0.78);
  padding-inline: 4px;
}

/* ---------- 三步 ---------- */
.page-home .steps-home {
  border-top: 1px solid var(--cream);
}

.page-home .steps-home__sub,
.page-home .paths__sub,
.page-home .rooms-home__sub,
.page-home .durations-home__sub {
  margin-top: 12px;
  max-width: 46em;
  color: #4a423c;
}

.page-home .rail {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 26px 0 0;
  padding: 4px 0 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

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

.page-home .rail__card {
  position: relative;
  flex: 0 0 clamp(238px, 78vw, 310px);
  scroll-snap-align: start;
  padding: 20px 18px 18px;
  background: #fff;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.page-home .rail__card::before {
  content: "";
  position: absolute;
  top: -14px;
  left: -14px;
  width: 34px;
  height: 34px;
  background: var(--ivory);
  border-radius: 50%;
}

.page-home .rail__pip {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--red-600);
  margin-bottom: 10px;
  padding-left: 24px;
}

.page-home .rail__card p {
  font-size: 15px;
  color: #3a332e;
  margin-top: 8px;
}

.page-home .rail__meta {
  font-size: 13px;
  color: var(--green-600);
  border-top: 1px dashed var(--cream);
  padding-top: 10px;
  margin-top: 14px;
}

.page-home .rail__media {
  flex: 0 0 clamp(190px, 62vw, 250px);
  scroll-snap-align: start;
}

.page-home .rail__media .figure__media {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-card);
}

/* ---------- 两条路径 ---------- */
.page-home .paths {
  display: grid;
  gap: 26px;
}

.page-home .paths__cards {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.page-home .path-card {
  padding: 18px 16px;
  background: #fffdf8;
  border-radius: var(--r-card);
  border-left: 4px solid var(--green-600);
}

.page-home .path-card--local {
  border-left-color: var(--red-600);
}

.page-home .path-card p {
  font-size: 15px;
  margin-top: 8px;
  color: #3a332e;
}

.page-home .path-card__meta {
  font-size: 13px;
  color: var(--grey);
  border-top: 1px dashed rgba(107, 101, 96, 0.28);
  padding-top: 10px;
}

.page-home .paths .btn {
  margin-top: 20px;
}

.page-home .paths__figure .figure__media {
  aspect-ratio: 4 / 3;
}

/* ---------- 房间与段位 ---------- */
.page-home .rooms-home__figure {
  margin-top: 20px;
}

.page-home .rooms-home__figure .figure__media {
  aspect-ratio: 3 / 2;
}

.page-home .tabset {
  margin-top: 18px;
}

.page-home .tabset__panel {
  padding-top: 18px;
}

.page-home .rooms {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 20px;
}

.page-home .room {
  position: relative;
  padding: 18px 16px 16px;
  background: #fffdf8;
  border: 1px solid var(--cream);
  border-radius: var(--r-card);
}

.page-home .room::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  width: 3px;
  height: 20px;
  background: var(--red-600);
  border-radius: 0 3px 3px 0;
}

.page-home .room h3 {
  padding-left: 10px;
}

.page-home .room p {
  margin-top: 10px;
  font-size: 15px;
  color: #3a332e;
}

.page-home .room__fit {
  font-size: 13px;
  color: var(--green-600);
  border-top: 1px dashed var(--cream);
  padding-top: 10px;
}

.page-home .room--ask {
  background: var(--celadon-100);
  border-color: rgba(44, 110, 143, 0.28);
}

.page-home .room--ask::before {
  background: var(--celadon);
}

.page-home .room__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--celadon);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .ranks-block__title {
  margin-bottom: 8px;
}

.page-home .ranks-block__sub {
  font-size: 15px;
  color: #4a423c;
  max-width: 44em;
}

.page-home .ranks {
  list-style: none;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin: 20px 0 0;
  padding: 0;
}

.page-home .rank {
  display: grid;
  gap: 4px;
  padding: 12px 12px 12px 0;
  border-top: 3px solid var(--green-600);
  background: linear-gradient(180deg, rgba(246, 241, 230, 0.9), rgba(246, 241, 230, 0));
}

.page-home .rank--start {
  border-top-color: var(--red-600);
}

.page-home .rank--warm {
  border-top-color: var(--amber);
}

.page-home .rank--top {
  border-top-color: var(--amber);
  background: linear-gradient(180deg, rgba(201, 144, 43, 0.16), rgba(201, 144, 43, 0));
}

.page-home .rank__no {
  font-size: 12px;
  color: var(--grey);
}

.page-home .rank b {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
}

.page-home .rank span:last-child {
  font-size: 13px;
  line-height: 1.6;
  color: #4a423c;
}

.page-home .rooms-home__more {
  margin-top: 22px;
  font-size: 15px;
  color: #4a423c;
}

.page-home .rooms-home__more a {
  color: var(--red-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 时长 ---------- */
.page-home .durations-home__head {
  max-width: 44em;
}

.page-home .durations__chart {
  margin-top: 22px;
  padding: 12px 10px 6px;
  background: #fffdf8;
  border: 1px solid rgba(36, 31, 28, 0.1);
  border-radius: var(--r-card);
  overflow: hidden;
}

.page-home .durations__svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .durations__tick {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  fill: var(--ink);
}

.page-home .durations__band {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
}

.page-home .durations__band--light {
  fill: var(--ivory);
}

.page-home .durations__band--dark {
  fill: #241F1C;
}

.page-home .durations__axis {
  font-family: var(--font-mono);
  font-size: 12px;
  fill: var(--grey);
}

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

.page-home .durations__item {
  display: grid;
  gap: 2px;
  padding-left: 16px;
  position: relative;
  font-size: 15px;
  color: #3a332e;
}

.page-home .durations__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--green-900);
}

.page-home .durations__item--deep::before {
  background: var(--green-600);
}

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

.page-home .durations__item b {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--ink);
}

/* ---------- 报告与反馈 ---------- */
.page-home .reports {
  display: grid;
  gap: 28px;
}

.page-home .reports__lead p {
  margin-top: 14px;
  color: rgba(246, 241, 230, 0.82);
  font-size: 15px;
}

.page-home .reports__lead .btn {
  margin-top: 20px;
}

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

.page-home .reports__list li {
  padding: 16px 0;
  border-top: 1px solid rgba(246, 241, 230, 0.2);
}

.page-home .reports__list li:last-child {
  border-bottom: 1px solid rgba(246, 241, 230, 0.2);
}

.page-home .reports__when {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: 6px;
}

.page-home .reports__list p {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(246, 241, 230, 0.78);
}

.page-home .reports__feedback {
  padding: 20px 18px;
  background: rgba(246, 241, 230, 0.08);
  border: 1px solid rgba(246, 241, 230, 0.24);
  border-radius: var(--r-card);
}

.page-home .reports__feedback p {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(246, 241, 230, 0.82);
}

.page-home .reports__feedback .btn {
  margin-top: 16px;
}

.page-home .reports__legal {
  font-size: 13px;
  color: rgba(246, 241, 230, 0.66);
}

.page-home .reports__legal a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

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

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

@media (min-width: 900px) {
  .page-home {
    --home-gutter: 32px;
  }

  .page-home .block {
    padding-block: 76px;
  }

  .page-home .hero-home {
    padding-block: 44px 56px;
  }

  .page-home .hero-home__inner {
    grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
    align-items: center;
    gap: 10px;
  }

  .page-home .hero-home__stage {
    padding: 34px 26px 30px 62px;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    border-radius: 0;
    min-height: 480px;
    display: flex;
    align-items: center;
  }

  .page-home .hero-home__figure .figure__media {
    aspect-ratio: 3 / 4;
  }

  .page-home .hero-home__lede {
    font-size: 17px;
  }

  .page-home .rail {
    gap: 18px;
  }

  .page-home .paths {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: center;
    gap: 36px;
  }

  .page-home .paths__figure .figure__media {
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-soft);
  }

  .page-home .rooms {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
  }

  .page-home .room--a { grid-column: span 7; }
  .page-home .room--b { grid-column: span 5; }
  .page-home .room--c { grid-column: span 4; }
  .page-home .room--d { grid-column: span 5; }
  .page-home .room--e { grid-column: span 3; }
  .page-home .room--f { grid-column: span 8; }
  .page-home .room--ask { grid-column: span 4; }

  .page-home .room--a { margin-top: 0; }
  .page-home .room--c { margin-top: 18px; }
  .page-home .room--f { margin-top: 10px; }

  .page-home .durations__chart {
    padding: 18px 22px 10px;
  }

  .page-home .reports {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 40px;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .chip {
    transition: none;
  }
}
<<<END>>>
