.page-home {
  --home-gutter: clamp(16px, 4vw, 32px);
  --home-band-radius: 20px;
  color: var(--ink);
  background: var(--paper);
}

.page-home .section {
  padding-top: clamp(52px, 8vw, 96px);
  padding-bottom: clamp(52px, 8vw, 96px);
}

.page-home .section--tight {
  padding-top: clamp(36px, 5vw, 60px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

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

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

.page-home .home-hero {
  position: relative;
  padding-top: clamp(20px, 3vw, 36px);
  padding-bottom: clamp(44px, 7vw, 84px);
  background:
    radial-gradient(1100px 520px at 88% -10%, var(--green-soft) 0%, rgba(227, 251, 243, 0) 62%),
    linear-gradient(180deg, var(--paper) 0%, var(--silver) 100%);
}

.page-home .home-hero-inner {
  display: grid;
  gap: clamp(30px, 5vw, 56px);
  align-items: center;
}

.page-home .home-hero-copy .breadcrumbs {
  margin-bottom: 14px;
}

.page-home .display-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 6.4vw, 62px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 12px 0 0;
}

.page-home .home-hero-copy .lede {
  margin-top: 18px;
  max-width: 34em;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
}

.page-home .home-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.page-home .hero-fact {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .hero-fact .num {
  font-family: var(--font-mono);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

.page-home .hero-fact-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 26px;
}

/* 首屏右侧视觉 */

.page-home .home-hero-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .hero-visual-card {
  position: relative;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 3vw, 28px);
  box-shadow: var(--shadow-card);
}

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

.page-home .version-stamp {
  position: absolute;
  right: clamp(14px, 2.4vw, 24px);
  bottom: clamp(14px, 2.4vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--amber);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  line-height: 1.25;
}

.page-home .version-stamp-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
}

.page-home .version-stamp-value {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
}

.page-home .version-stamp-date {
  font-size: 12px;
  font-family: var(--font-mono);
}

.page-home .hero-visual-caption {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  padding-left: 14px;
  border-left: 2px solid var(--green);
}

/* ---------- 四类视图切换 ---------- */

.page-home .home-views {
  background: var(--paper);
}

.page-home .tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.page-home .tab {
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--silver);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 10px 18px;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.page-home .tab:hover {
  border-color: var(--ink-3);
}

.page-home .tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.page-home .tab-panel {
  background: var(--silver);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3.4vw, 36px);
}

.page-home .panel-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.35;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--ink);
}

.page-home .tab-panel p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.85;
}

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

.page-home .panel-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
}

.page-home .panel-link {
  display: inline-block;
  margin-top: 22px;
  font-weight: 600;
}

.page-home .view-figure {
  margin: clamp(24px, 4vw, 40px) 0 0;
}

/* ---------- 评分总览 ---------- */

.page-home .home-scores .split {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.page-home .home-score-list {
  margin-top: 24px;
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.page-home .home-score-list .score-row {
  display: grid;
  grid-template-columns: minmax(88px, 132px) minmax(0, 1fr) 46px;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.page-home .home-score-list .score-row:hover {
  border-color: var(--ink-3);
  transform: translateY(-2px);
}

.page-home .home-score-list .score-label {
  font-size: 14px;
  color: var(--ink);
}

.page-home .home-score-list .score-bar {
  display: block;
  height: 9px;
  border-radius: var(--pill);
  background: var(--silver);
  overflow: hidden;
}

.page-home .home-score-list .score-bar-fill {
  display: block;
  height: 100%;
  border-radius: var(--pill);
  background: linear-gradient(90deg, var(--green) 0%, var(--green-deep) 100%);
}

.page-home .home-score-list .score-value {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  text-align: right;
  color: var(--ink);
}

.page-home .home-scores-aside {
  display: grid;
  gap: 18px;
}

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

.page-home .legend-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.page-home .legend-title {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.page-home .legend-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink);
}

.page-home .legend-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 7px;
}

.page-home .legend-dot--green { background: var(--green); }
.page-home .legend-dot--amber { background: var(--amber); }
.page-home .legend-dot--rust { background: var(--rust); }

/* ---------- 版本时间轴 ---------- */

.page-home .home-versions {
  background: var(--paper);
}

.page-home .home-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 26px;
  border-left: 2px solid var(--line);
  display: grid;
  gap: clamp(22px, 3vw, 34px);
}

.page-home .home-timeline .timeline-item {
  position: relative;
}

.page-home .home-timeline .timeline-dot {
  position: absolute;
  left: calc(-26px - 7px);
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
}

.page-home .home-timeline .is-current .timeline-dot {
  background: var(--amber);
  border-color: var(--amber);
}

.page-home .version-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
}

.page-home .version-when {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.page-home .version-title {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 8px;
  color: var(--ink);
}

.page-home .timeline-body p:last-child {
  margin: 0;
  max-width: 64ch;
  color: var(--muted);
  line-height: 1.85;
  font-size: 15px;
}

/* ---------- 城市光影分隔 ---------- */

.page-home .home-band {
  padding: 0 var(--home-gutter) clamp(6px, 2vw, 16px);
}

.page-home .home-band .container {
  padding: 0;
}

.page-home .band-figure {
  margin: 0;
  border-radius: var(--home-band-radius);
  overflow: hidden;
  aspect-ratio: 1600 / 420;
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-2) 55%, var(--green-deep) 100%);
}

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

/* ---------- 条款记录 ---------- */

.page-home .home-rules .section-head .lede {
  color: rgba(255, 255, 255, 0.78);
}

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

.page-home .home-rules .section-title {
  color: var(--paper);
}

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

.page-home .rule-card {
  background: var(--ink-2);
  border: 1px solid rgba(200, 211, 224, 0.22);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.page-home .rule-card:hover {
  transform: translateY(-2px);
  border-color: var(--green);
}

.page-home .rule-card .ref-code {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  background: rgba(255, 176, 32, 0.16);
  color: var(--amber);
  border: 1px solid rgba(255, 176, 32, 0.4);
  border-radius: var(--radius-sm);
  padding: 3px 9px;
  margin: 0;
}

.page-home .rule-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
  color: var(--paper);
}

.page-home .rule-card p:not(.ref-code) {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.page-home .rule-card .copy-btn {
  align-self: flex-start;
  margin-top: 4px;
}

.page-home .rules-foot {
  margin: 24px 0 0;
}

.page-home .home-rules .link-underline {
  color: var(--green);
}

/* ---------- 场景路径 ---------- */

.page-home .home-paths {
  background: var(--silver);
}

.page-home .path-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.page-home .path-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 4px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.page-home .path-card:hover {
  transform: translateY(-2px);
  border-color: var(--green);
  box-shadow: var(--shadow-card);
}

.page-home .path-num {
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--line);
  line-height: 1;
}

.page-home .path-card:hover .path-num {
  color: var(--green);
}

.page-home .path-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.page-home .path-goal {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- 来信核对 ---------- */

.page-home .home-contact {
  background: var(--paper);
}

.page-home .contact-panel {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  background: var(--green-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4.5vw, 52px);
}

.page-home .contact-copy .section-title {
  margin-top: 6px;
}

.page-home .contact-copy p {
  margin: 16px 0 0;
  max-width: 56ch;
  color: var(--ink-2);
  line-height: 1.85;
}

.page-home .contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 24px;
}

.page-home .contact-facts {
  margin: 0;
  display: grid;
  gap: 12px;
  align-content: start;
}

.page-home .contact-fact {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.page-home .contact-fact dt {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 6px;
}

.page-home .contact-fact dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  word-break: break-word;
}

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

@media (min-width: 620px) {
  .page-home .rule-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 900px) {
  .page-home .home-scores .split {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }

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

  .page-home .contact-panel {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: start;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero-inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }

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

@media (max-width: 480px) {
  .page-home .home-hero-facts {
    grid-template-columns: 1fr;
  }

  .page-home .home-score-list .score-row {
    grid-template-columns: minmax(0, 1fr) 42px;
    row-gap: 8px;
  }

  .page-home .home-score-list .score-label {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .tab,
  .page-home .home-score-list .score-row,
  .page-home .rule-card,
  .page-home .path-card {
    transition: none;
  }

  .page-home .home-score-list .score-row:hover,
  .page-home .rule-card:hover,
  .page-home .path-card:hover {
    transform: none;
  }
}
<<<END>>>
