.page-home .container {
  padding-bottom: 8px;
}

.page-home .home-context {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
}

.page-home .home-context__mark {
  width: 16px;
  height: 8px;
  border-left: 2px solid var(--violet);
  border-top: 2px solid var(--violet);
}

/* ---------- 框景首屏 ---------- */
.page-home .hero {
  --pad-x: 16px;
  --pad-t: 18px;
  position: relative;
  margin-top: 14px;
  padding: var(--pad-t) var(--pad-x) 22px;
  background: var(--cream);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 7px;
  pointer-events: none;
  z-index: 2;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(var(--violet), var(--violet)),
    linear-gradient(var(--violet), var(--violet)),
    linear-gradient(var(--violet), var(--violet)),
    linear-gradient(var(--violet), var(--violet)),
    linear-gradient(var(--violet), var(--violet)),
    linear-gradient(var(--violet), var(--violet)),
    linear-gradient(var(--violet), var(--violet)),
    linear-gradient(var(--violet), var(--violet));
  background-size:
    14px 2px, 2px 14px,
    14px 2px, 2px 14px,
    14px 2px, 2px 14px,
    14px 2px, 2px 14px;
  background-position:
    left top, left top,
    right top, right top,
    left bottom, left bottom,
    right bottom, right bottom;
}

.page-home .hero__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: calc(var(--pad-t) * -1) calc(var(--pad-x) * -1) 20px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
}

.page-home .hero__status-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.page-home .hero__status-item--end {
  margin-left: auto;
  color: var(--violet-light);
}

.page-home .hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(163, 230, 53, .18);
}

.page-home .hero__grid {
  display: grid;
  gap: 22px;
}

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

.page-home .hero__title {
  margin: 0;
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(28px, 7.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--ink);
}

.page-home .hero__title em {
  display: block;
  font-style: normal;
  color: var(--violet);
}

.page-home .hero__lead {
  margin: 14px 0 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  opacity: .84;
}

.page-home .hero__search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 18px;
  padding: 4px 14px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.page-home .hero__search:focus-within {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, .12);
}

.page-home .hero__search-icon {
  flex: 0 0 auto;
  color: var(--violet);
}

.page-home .hero__search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page-home .hero__search-input {
  flex: 1 1 130px;
  min-width: 0;
  padding: 13px 0;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
}

.page-home .hero__search-input::placeholder {
  color: var(--muted);
  opacity: .9;
}

.page-home .hero__search-input:focus {
  outline: none;
}

.page-home .hero__search-go {
  flex: 0 0 auto;
  padding: 6px 0 6px 12px;
  border-left: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--violet);
  text-decoration: none;
}

.page-home .hero__search-go:hover {
  text-decoration: underline;
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.page-home .hero__actions .btn {
  padding-block: 12px;
  font-size: 14px;
}

.page-home .hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 18px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--muted);
}

.page-home .hero__meta span {
  position: relative;
  padding-left: 12px;
}

.page-home .hero__meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 4px;
  height: 4px;
  background: var(--violet);
}

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

.page-home .hero__shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  background: var(--ink);
}

.page-home .hero__shot figcaption {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--muted);
}

/* ---------- 通用章节头 ---------- */
.page-home .band,
.page-home .week,
.page-home .checkup,
.page-home .first {
  margin-top: 56px;
}

.page-home .band__head {
  max-width: 46em;
}

.page-home .band__kicker {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--violet);
  text-transform: uppercase;
}

.page-home .band__title {
  margin: 0;
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(23px, 5.4vw, 38px);
  line-height: 1.16;
  letter-spacing: -.015em;
  color: var(--ink);
}

.page-home .band__lead {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  opacity: .82;
}

.page-home .band__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 18px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--muted);
}

/* ---------- 索引带 ---------- */
.page-home .band__figure {
  margin: 20px 0 0;
}

.page-home .band__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--ink);
}

.page-home .legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 16px 0 14px;
  padding: 0;
  list-style: none;
}

.page-home .legend__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--muted);
}

.page-home .legend__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.page-home .legend__dot--lime { background: var(--lime); }
.page-home .legend__dot--amber { background: var(--amber); }
.page-home .legend__dot--violet { background: var(--violet); }

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

.page-home .index-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  padding: 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

.page-home .index-card:hover,
.page-home .index-card:focus-visible {
  border-color: var(--violet);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(16, 16, 20, .08);
}

.page-home .index-card__num {
  position: absolute;
  top: 2px;
  right: 10px;
  font-family: var(--mono);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-size: 42px;
  line-height: 1;
  color: rgba(109, 40, 217, .13);
  pointer-events: none;
}

.page-home .index-card__icon {
  display: inline-flex;
  color: var(--violet);
}

.page-home .index-card__name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.page-home .index-card__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.68;
  color: var(--muted);
}

.page-home .index-card__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--muted);
}

.page-home .index-card--focus {
  grid-column: span 2;
  background: var(--ink);
  border-color: var(--ink);
  padding: 20px;
}

.page-home .index-card--focus .index-card__num {
  font-size: 80px;
  color: rgba(196, 181, 253, .22);
}

.page-home .index-card--focus .index-card__icon {
  color: var(--violet-light);
}

.page-home .index-card--focus .index-card__name {
  font-size: 22px;
  color: var(--paper);
}

.page-home .index-card--focus .index-card__note {
  color: var(--on-dark);
  font-size: 14px;
}

.page-home .index-card--focus .index-card__meta {
  border-top-color: var(--line-dark);
  color: var(--violet-light);
}

.page-home .index-card--focus:hover,
.page-home .index-card--focus:focus-visible {
  border-color: var(--violet);
  box-shadow: 0 12px 26px rgba(109, 40, 217, .22);
}

/* ---------- 本周清单 ---------- */
.page-home .week__layout {
  display: grid;
  gap: 22px;
  margin-top: 20px;
}

.page-home .week-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.page-home .week-list > li {
  border-bottom: 1px solid var(--line);
}

.page-home .week-item__head {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  padding: 15px 30px 15px 0;
  cursor: pointer;
  list-style: none;
}

.page-home .week-item__head::-webkit-details-marker {
  display: none;
}

.page-home .week-item__head:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}

.page-home .week-item__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--muted);
}

.page-home .week-item__tag {
  justify-self: end;
  padding: 2px 8px;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  white-space: nowrap;
}

.page-home .week-item__tag--lime { color: var(--lime-deep); }
.page-home .week-item__tag--amber { color: var(--amber-deep); }
.page-home .week-item__tag--violet { color: var(--violet); }

.page-home .week-item__text {
  grid-column: 1 / -1;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}

.page-home .week-item__sign {
  position: absolute;
  top: 18px;
  right: 4px;
  width: 12px;
  height: 12px;
}

.page-home .week-item__sign::before,
.page-home .week-item__sign::after {
  content: "";
  position: absolute;
  background: var(--violet);
}

.page-home .week-item__sign::before {
  left: 0;
  top: 5px;
  width: 12px;
  height: 2px;
}

.page-home .week-item__sign::after {
  left: 5px;
  top: 0;
  width: 2px;
  height: 12px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.page-home .week-item[open] .week-item__sign::after {
  transform: scaleY(0);
  opacity: 0;
}

.page-home .week-item[open] .week-item__head {
  background: var(--cream);
}

.page-home .week-item__body {
  padding: 0 30px 16px 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
}

.page-home .week-item__body p {
  margin: 0 0 8px;
}

.page-home .week-item__body a {
  color: var(--violet);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

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

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

.page-home .week__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--ink);
}

.page-home .week__stat {
  padding: 18px;
  background: var(--cream);
  border-left: 3px solid var(--violet);
}

.page-home .week__stat-num {
  margin: 0;
  font-family: var(--mono);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-size: clamp(38px, 9vw, 56px);
  line-height: 1;
  color: var(--violet);
}

.page-home .week__stat-label {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.page-home .week__stat-note {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

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

/* ---------- 回访自查 ---------- */
.page-home .checkup {
  display: grid;
  gap: 22px;
  padding: 24px 18px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.page-home .checkup__lead {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  opacity: .84;
}

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

.page-home .checkup__steps li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0 8px 12px;
  border-left: 2px solid var(--violet-light);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

.page-home .checkup__step-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--violet);
}

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

.page-home .checkup__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--ink);
}

/* ---------- 新访客三步 ---------- */
.page-home .steps {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .step {
  padding: 18px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
}

.page-home .step__num {
  display: block;
  font-family: var(--mono);
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  color: var(--violet);
  font-variant-numeric: tabular-nums;
}

.page-home .step__title {
  margin: 10px 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.page-home .step__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

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

/* ---------- 支持与联系 ---------- */
.page-home .support {
  display: grid;
  gap: 18px;
  margin-top: 56px;
  padding: 24px 18px;
  background: var(--ink);
  color: var(--paper);
}

.page-home .support__title {
  margin: 0;
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(21px, 5vw, 30px);
  line-height: 1.24;
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-home .support__text {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--on-dark);
}

.page-home .support__meta {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .07em;
  color: var(--lime);
}

.page-home .support__action {
  justify-self: start;
}

@media (min-width: 720px) {
  .page-home .hero {
    --pad-x: 28px;
    --pad-t: 24px;
    padding-bottom: 30px;
  }

  .page-home .hero__status {
    padding: 11px 28px;
    font-size: 12px;
  }

  .page-home .hero__meta {
    font-size: 12px;
  }

  .page-home .band,
  .page-home .week,
  .page-home .checkup,
  .page-home .first,
  .page-home .support {
    margin-top: 76px;
  }

  .page-home .band__lead,
  .page-home .hero__lead,
  .page-home .checkup__lead {
    font-size: 16px;
  }

  .page-home .checkup {
    padding: 32px 28px;
  }

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

  .page-home .support {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 32px 28px;
  }

  .page-home .support__inner {
    max-width: 42em;
  }
}

@media (min-width: 1024px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: center;
    gap: 34px;
  }

  .page-home .hero__search-go {
    padding-left: 16px;
  }

  .page-home .index-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(150px, auto);
    gap: 14px;
  }

  .page-home .index-card--focus {
    grid-column: span 2;
    grid-row: span 2;
    justify-content: flex-end;
  }

  .page-home .index-card--focus .index-card__note {
    max-width: 26em;
  }

  .page-home .week__layout {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, .68fr);
    gap: 30px;
    align-items: start;
  }

  .page-home .checkup {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: center;
    gap: 34px;
    padding: 36px 34px;
  }

  .page-home .band__figure img {
    aspect-ratio: 3 / 1;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-home .index-card,
  .page-home .week-item__sign::after,
  .page-home .hero__search {
    transition: none;
  }

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