.page-home {
  --home-pad-y: clamp(2.75rem, 7vw, 5rem);
  --home-radius: clamp(18px, 3vw, 28px);
  background: var(--cream);
  color: var(--cocoa);
  overflow-x: clip;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-head);
  letter-spacing: -0.01em;
}

.page-home .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--clay);
}

.page-home .kicker::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  padding-block: clamp(1.5rem, 4vw, 2.5rem) var(--home-pad-y);
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(244, 122, 60, 0.18), transparent 55%),
    radial-gradient(80% 70% at 4% 96%, rgba(121, 199, 165, 0.16), transparent 62%),
    var(--cream);
}

.page-home .hero__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.page-home .hero__kicker {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.34rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--peach);
  color: var(--clay);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.page-home .hero__title {
  margin: 0 0 1.1rem;
  font-size: clamp(2.7rem, 8.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--cocoa);
}

.page-home .hero__title-accent {
  display: block;
  color: var(--orange);
}

.page-home .hero__lede {
  max-width: 44ch;
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.8;
  color: var(--stone);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.page-home .hero__art {
  position: relative;
  isolation: isolate;
  padding: 10px;
  border-radius: var(--home-radius) 10px var(--home-radius) 10px;
  background: var(--peach);
  box-shadow: var(--lift);
}

.page-home .hero__art::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -16px;
  width: clamp(64px, 12vw, 96px);
  height: clamp(64px, 12vw, 96px);
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.45;
  z-index: -1;
}

.page-home .hero__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--home-radius) - 6px) 4px calc(var(--home-radius) - 6px) 4px;
}

/* ---------- 路径预览 ---------- */
.page-home .paths {
  padding-block: var(--home-pad-y);
  background: var(--peach);
}

.page-home .paths__head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.page-home .paths__title {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
}

.page-home .paths__thumb {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 16px;
}

.page-home .paths__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.page-home .path {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  height: 100%;
  padding: 1.15rem 1.25rem;
  text-decoration: none;
  color: inherit;
  background: var(--cream);
  border: 1px solid rgba(46, 41, 36, 0.08);
  border-radius: 20px 6px 20px 6px;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.page-home .path:hover,
.page-home .path:focus-visible {
  transform: translateY(-3px);
  background: #ffffff;
  box-shadow: var(--lift);
}

.page-home .path__no {
  flex: none;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.page-home .path__body {
  display: block;
}

.page-home .path__title {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--cocoa);
}

.page-home .path__text {
  display: block;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--stone);
}

/* ---------- 三步开始 ---------- */
.page-home .steps {
  padding-block: var(--home-pad-y);
  background: var(--cream);
}

.page-home .steps__head {
  max-width: 60ch;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.page-home .steps__head h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
}

.page-home .steps__lede {
  max-width: 52ch;
  margin: 0;
  line-height: 1.8;
  color: var(--stone);
}

.page-home .steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.page-home .step {
  padding: 1.5rem 1.4rem 1.6rem;
  background: #ffffff;
  border-left: 4px solid var(--orange);
  border-radius: 6px 22px 6px 22px;
}

.page-home .step__no {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--peach);
  color: var(--clay);
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.page-home .step__title {
  margin: 0 0 0.6rem;
  font-size: 1.16rem;
  line-height: 1.4;
}

.page-home .step__text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--stone);
}

/* ---------- 分类预览 ---------- */
.page-home .cats {
  padding-block: var(--home-pad-y);
  background: var(--sand);
}

.page-home .cats__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.page-home .cats__intro h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
}

.page-home .cats__lede {
  max-width: 42ch;
  margin: 0 0 1.5rem;
  line-height: 1.8;
  color: var(--stone);
}

.page-home .cats__figure {
  margin: 1.75rem 0 0;
}

.page-home .cats__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.page-home .cats__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.page-home .cat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.15rem 1.2rem 1.25rem;
  background: var(--cream);
  border: 1px solid rgba(46, 41, 36, 0.07);
  border-radius: 4px 18px 18px 18px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.page-home .cat:nth-child(even) {
  background: #ffffff;
}

.page-home .cat:hover {
  transform: translateY(-3px);
  box-shadow: var(--lift);
}

.page-home .cat__pill {
  align-self: flex-start;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--peach);
  color: var(--cocoa);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-home .cat:nth-child(2) .cat__pill {
  background: rgba(121, 199, 165, 0.42);
}

.page-home .cat:nth-child(3) .cat__pill {
  background: rgba(62, 134, 184, 0.22);
}

.page-home .cat:nth-child(4) .cat__pill {
  background: rgba(242, 140, 140, 0.34);
}

.page-home .cat:nth-child(5) .cat__pill {
  background: rgba(110, 139, 91, 0.26);
}

.page-home .cat__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}

.page-home .cat__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--stone);
}

.page-home .cat__time {
  margin-top: auto;
  padding-top: 0.4rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--clay);
  font-variant-numeric: tabular-nums;
}

/* ---------- 记录查询 ---------- */
.page-home .records {
  padding-block: var(--home-pad-y);
  background: var(--cream);
}

.page-home .records__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.page-home .records__copy h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
}

.page-home .records__lede {
  max-width: 48ch;
  margin: 0;
  line-height: 1.85;
  color: var(--stone);
}

.page-home .records__points {
  list-style: none;
  margin: 1.5rem 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.page-home .records__points li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--stone);
}

.page-home .records__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sky);
}

.page-home .records__points strong {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--cocoa);
}

.page-home .records__figure {
  margin: 0;
  padding: 12px;
  background: var(--peach);
  border-radius: 24px 6px 24px 6px;
}

.page-home .records__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px 4px 16px 4px;
}

.page-home .records__figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--stone);
}

/* ---------- 小屏与联系 ---------- */
.page-home .small {
  padding-block: var(--home-pad-y);
  background:
    linear-gradient(160deg, rgba(121, 199, 165, 0.3), rgba(255, 247, 236, 0) 70%),
    var(--cream);
}

.page-home .small__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.page-home .small__copy h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
}

.page-home .small__copy p {
  max-width: 46ch;
  margin: 0 0 0.9rem;
  line-height: 1.8;
  color: var(--stone);
}

.page-home .small__cards {
  display: grid;
  gap: 1rem;
}

.page-home .scard {
  padding: 1.25rem 1.3rem 1.35rem;
  background: #ffffff;
  border-left: 4px solid var(--mint);
  border-radius: 22px 6px 22px 6px;
}

.page-home .scard--alt {
  border-left-color: var(--sky);
}

.page-home .scard__label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--clay);
}

.page-home .scard__text {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--cocoa);
  word-break: break-word;
}

.page-home .scard__time {
  font-size: 0.78rem;
  color: var(--stone);
}

.page-home .scard__link {
  display: inline-block;
  margin-top: 0.45rem;
  padding-bottom: 1px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sky);
  text-decoration: none;
  border-bottom: 2px solid rgba(62, 134, 184, 0.35);
}

.page-home .scard__link:hover,
.page-home .scard__link:focus-visible {
  color: var(--clay);
  border-bottom-color: var(--clay);
}

/* ---------- 信任数据 ---------- */
.page-home .trust {
  padding-block: var(--home-pad-y);
  background: var(--cocoa);
  color: var(--cream);
}

.page-home .trust .kicker {
  color: var(--orange);
}

.page-home .trust__head h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--cream);
}

.page-home .trust__lede {
  max-width: 56ch;
  margin: 0;
  line-height: 1.8;
  color: rgba(255, 247, 236, 0.74);
}

.page-home .trust__stats {
  margin: clamp(2rem, 4vw, 2.75rem) 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.page-home .stat {
  padding: 1.1rem 1.15rem 1.2rem;
  background: rgba(255, 247, 236, 0.07);
  border: 1px solid rgba(255, 247, 236, 0.12);
  border-radius: 18px 5px 18px 5px;
}

.page-home .stat dt {
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 247, 236, 0.68);
}

.page-home .stat dd {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--cream);
}

.page-home .stat__num {
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.page-home .trust__note {
  max-width: 68ch;
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 247, 236, 0.16);
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255, 247, 236, 0.72);
}

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

@media (min-width: 720px) {
  .page-home .paths__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 760px) {
  .page-home .paths__head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .page-home .trust__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
  }
}

@media (min-width: 860px) {
  .page-home .steps__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .page-home .step:nth-child(2) {
    margin-top: 1.75rem;
  }

  .page-home .step:nth-child(3) {
    margin-top: 3.5rem;
  }
}

@media (min-width: 880px) {
  .page-home .small__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }
}

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

  .page-home .records__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }
}

@media (min-width: 940px) {
  .page-home .cats__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}

@media (max-width: 560px) {
  .page-home .hero__actions .btn {
    width: 100%;
    text-align: center;
  }

  .page-home .paths__thumb {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .path,
  .page-home .cat {
    transition: none;
  }

  .page-home .path:hover,
  .page-home .path:focus-visible,
  .page-home .cat:hover {
    transform: none;
  }
}
