.page-home {
  --home-hairline: rgba(17, 19, 16, 0.16);
  --home-ease: var(--ease);
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  border-bottom: var(--line) solid var(--ink);
  background:
    radial-gradient(circle at 84% 6%, rgba(156, 192, 105, 0.22), transparent 52%),
    radial-gradient(circle at 98% 72%, rgba(47, 127, 166, 0.14), transparent 48%),
    var(--paper);
}

.page-home .hero-grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  padding-top: clamp(20px, 3vw, 34px);
  padding-bottom: clamp(28px, 4vw, 48px);
}

.page-home .hero-copy {
  min-width: 0;
}

.page-home .breadcrumb {
  margin-bottom: clamp(18px, 3vw, 30px);
}

.page-home .hero-kicker {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 14px;
}

.page-home .display--hero {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(46px, 9vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: clamp(18px, 2.4vw, 28px);
}

.page-home .hero-outline {
  color: transparent;
  -webkit-text-stroke: 3px var(--moss);
  text-stroke: 3px var(--moss);
}

.page-home .hero-lede {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  max-width: 46ch;
  color: var(--ink);
}

.page-home .hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}

.page-home .hero-facts li {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding-bottom: 4px;
  border-bottom: var(--line) solid var(--home-hairline);
}

.page-home .hero-facts .mono {
  font-size: 19px;
  font-weight: 700;
  color: var(--moss);
}

.page-home .hero-canvas {
  position: relative;
  min-height: 210px;
  border: var(--line) solid var(--ink);
  background: var(--frost);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.page-home .hero-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  mix-blend-mode: multiply;
  max-width: 100%;
}

.page-home .hero-line {
  position: absolute;
  top: 8%;
  right: 8%;
  width: min(46%, 200px);
  height: auto;
  color: var(--ink);
}

.page-home .hero-canvas-note {
  position: relative;
  z-index: 1;
  font-size: 12px;
  letter-spacing: 0.04em;
  background: var(--paper);
  border: var(--line) solid var(--ink);
  padding: 5px 10px;
}

/* ---------- 双入口 ---------- */
.page-home .route-zone {
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
  padding-bottom: clamp(32px, 5vw, 56px);
}

.page-home .route-figure {
  margin: 0;
  border: var(--line) solid var(--ink);
  background: var(--wash);
  overflow: hidden;
}

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

.page-home .route-strip {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-home .route-card {
  position: relative;
  display: block;
  padding: 18px 46px 20px 20px;
  border: var(--line) solid var(--ink);
  background: var(--frost);
  box-shadow: var(--shadow-hard-sm);
  text-decoration: none;
  color: var(--ink);
  transition: transform 160ms var(--home-ease), box-shadow 160ms var(--home-ease), background-color 120ms linear;
}

.page-home .route-card--alt {
  background: var(--apricot);
}

.page-home .route-card:hover,
.page-home .route-card:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard);
  background: var(--spring);
}

.page-home .route-card--alt:hover,
.page-home .route-card--alt:focus-visible {
  background: var(--lake);
  color: var(--paper);
}

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

.page-home .route-card:hover .route-num,
.page-home .route-card--alt:hover .route-num {
  color: currentColor;
}

.page-home .route-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin-bottom: 8px;
}

.page-home .route-desc {
  display: block;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
}

.page-home .route-arrow {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  transition: transform 160ms var(--home-ease);
}

.page-home .route-card:hover .route-arrow,
.page-home .route-card:focus-visible .route-arrow {
  transform: translate(8px, -50%);
}

/* ---------- 版本 ---------- */
.page-home .version-section {
  background: var(--paper);
}

.page-home .version-layout {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

.page-home .version-list {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.page-home .version-row {
  position: relative;
  padding: 16px 18px 18px 18px;
  border: var(--line) solid var(--ink);
  border-left: 12px solid var(--amber);
  background: var(--frost);
}

.page-home .version-row--summer {
  border-left-color: var(--lake);
}

.page-home .version-row--winter {
  border-left-color: var(--mist);
  background: var(--paper);
}

.page-home .version-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 4px;
}

.page-home .version-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.2;
  margin-bottom: 6px;
}

.page-home .version-row p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .version-copy-line {
  margin-top: 6px;
  font-size: 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.page-home .version-chip {
  display: inline-block;
  padding: 3px 10px;
  border: var(--line) solid var(--ink);
  background: var(--spring);
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: copy;
}

.page-home .version-chip.is-copied {
  background: var(--orange);
  color: var(--paper);
}

.page-home .version-figure {
  margin: 0;
  border: var(--line) solid var(--ink);
  box-shadow: var(--shadow-hard);
  background: var(--wash);
  overflow: hidden;
}

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

.page-home .version-figure figcaption {
  font-size: 12px;
  letter-spacing: 0.03em;
  padding: 10px 12px;
  border-top: var(--line) solid var(--ink);
  background: var(--paper);
  color: var(--muted);
}

/* ---------- 四季 ---------- */
.page-home .season-deck {
  display: grid;
  border: var(--line) solid var(--ink);
  background: var(--ink);
  gap: var(--line);
}

.page-home .season {
  position: relative;
  padding: 22px 20px 26px 34px;
  background: var(--paper);
  transition: background-color 120ms linear;
}

.page-home .season::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 12px;
  background: var(--season-color, var(--mist));
}

.page-home .season--spring { --season-color: var(--spring); }
.page-home .season--summer { --season-color: var(--lake); }
.page-home .season--autumn { --season-color: var(--amber); }
.page-home .season--winter { --season-color: var(--mist); }

.page-home .season:hover,
.page-home .season:focus-within {
  background: var(--frost);
}

.page-home .season--summer:hover,
.page-home .season--summer:focus-within {
  background: #DDEAF1;
}

.page-home .season--autumn:hover,
.page-home .season--autumn:focus-within {
  background: var(--apricot);
}

.page-home .season-num {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}

.page-home .season-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.page-home .season p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 上手 ---------- */
.page-home .start-section {
  background: var(--wash);
}

.page-home .start-grid {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}

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

.page-home .step {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 18px;
  border: var(--line) solid var(--ink);
  background: var(--paper);
}

.page-home .step-index {
  font-size: 22px;
  font-weight: 700;
  color: var(--moss);
  line-height: 1.1;
  border-right: var(--line) solid var(--home-hairline);
}

.page-home .step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  margin-bottom: 6px;
}

.page-home .step-body p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .start-aside {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: var(--line) solid var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-hard-sm);
}

.page-home .phone-frame {
  margin: 0;
  border: var(--line) solid var(--ink);
  background: var(--frost);
  overflow: hidden;
  max-width: 260px;
}

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

.page-home .start-aside-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .start-aside .btn {
  justify-self: start;
}

/* ---------- 数字 ---------- */
.page-home .stats {
  display: grid;
  gap: var(--line);
  background: var(--ink);
  border: var(--line) solid var(--ink);
}

.page-home .stat {
  padding: 20px 18px 22px;
  background: var(--paper);
}

.page-home .stat:nth-child(even) {
  background: var(--frost);
}

.page-home .stat-num {
  font-family: var(--font-mono);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--moss);
  border-bottom: var(--line) solid var(--ink);
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.page-home .stat-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
}

.page-home .stat-note {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .stats-foot {
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--muted);
}

.page-home .stats-foot a {
  color: var(--moss);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 联系 ---------- */
.page-home .contact-band {
  background: var(--deep);
  color: var(--paper);
  border-top: var(--line) solid var(--ink);
  padding-block: clamp(34px, 5vw, 64px);
}

.page-home .contact-inner {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  align-items: end;
}

.page-home .contact-copy .coord {
  color: var(--mist);
}

.page-home .contact-copy .section-title {
  color: var(--paper);
  margin-bottom: 14px;
}

.page-home .contact-copy p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--frost);
  max-width: 52ch;
}

.page-home .contact-line {
  margin-top: 10px;
}

.page-home .contact-line .mono {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-bottom: var(--line) solid var(--spring);
  padding-bottom: 2px;
}

.page-home .contact-hours {
  margin-top: 12px;
  font-size: 14px;
  color: var(--mist);
}

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

.page-home .contact-actions .btn--ghost {
  color: var(--paper);
  border-color: var(--paper);
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-home .route-strip {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .stats {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .start-aside {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .start-aside .btn {
    grid-column: 2;
  }
}

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
  }

  .page-home .hero-canvas {
    min-height: 340px;
    align-self: stretch;
  }

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

  .page-home .version-layout {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }

  .page-home .version-figure {
    margin-top: 34px;
  }

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

  .page-home .start-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  }

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

  .page-home .start-aside .btn {
    grid-column: auto;
  }

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

  .page-home .stat:nth-child(2) {
    padding-top: 40px;
  }

  .page-home .stat:nth-child(3) {
    padding-top: 32px;
  }

  .page-home .contact-inner {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  }

  .page-home .contact-actions {
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .route-card,
  .page-home .route-arrow,
  .page-home .season {
    transition: none;
  }

  .page-home .route-card:hover,
  .page-home .route-card:focus-visible {
    transform: none;
  }

  .page-home .route-card:hover .route-arrow,
  .page-home .route-card:focus-visible .route-arrow {
    transform: translateY(-50%);
  }
}
