.page-home {
  --home-gap: clamp(14px, 1.8vw, 22px);
  --home-radius: clamp(20px, 2.6vw, 30px);
  --home-pad: clamp(18px, 3vw, 34px);
  --home-section: clamp(42px, 6vw, 86px);
  display: block;
  color: var(--white);
  background:
    radial-gradient(120% 78% at 88% 0%, rgba(14, 59, 67, 0.55), transparent 62%),
    var(--ink);
  overflow-x: clip;
}

.page-home h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 6vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 14px;
}

.page-home h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
}

.page-home h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.page-home .media-frame {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
}

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

.page-home .media-frame__caption {
  font-size: 13px;
  line-height: 1.65;
  color: var(--lilac);
  padding: 10px 14px 12px;
}

/* ---------- 首屏拼贴 ---------- */
.page-home .home-hero {
  padding-top: clamp(14px, 2.2vw, 26px);
}

.page-home .home-hero__crumb {
  margin-bottom: 14px;
}

.page-home .home-hero__inner {
  display: grid;
  gap: var(--home-gap);
  padding: var(--home-pad);
  border: 1px solid var(--line-soft);
  border-radius: var(--home-radius);
  background:
    linear-gradient(155deg, rgba(14, 59, 67, 0.88) 0%, rgba(11, 27, 43, 0.45) 52%, rgba(43, 30, 74, 0.62) 100%);
  box-shadow: 0 34px 70px -46px rgba(0, 0, 0, 0.95);
}

.page-home .hero-version__eyebrow {
  color: var(--cyan);
}

.page-home .hero-version__num {
  font-family: var(--font-mono);
  font-size: clamp(62px, 15vw, 148px);
  line-height: 0.84;
  letter-spacing: -0.05em;
  margin: 4px 0 14px;
  color: var(--cyan);
  text-shadow: 0 0 38px rgba(53, 224, 208, 0.32);
}

.page-home .hero-version__note {
  margin: 0;
  max-width: 44ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--lilac);
}

.page-home .hero-intro__lead {
  margin: 0 0 18px;
  max-width: 46ch;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.78;
  color: rgba(247, 250, 252, 0.84);
}

.page-home .hero-intro__actions {
  gap: 10px;
}

.page-home .hero-entry {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  background: rgba(8, 19, 31, 0.58);
  color: var(--white);
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.page-home .hero-entry:hover,
.page-home .hero-entry:focus-visible {
  transform: translateY(-3px);
  border-color: var(--cyan);
  background: rgba(8, 19, 31, 0.8);
}

.page-home .hero-entry__code {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-home .hero-entry__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.page-home .hero-entry__desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--lilac);
}

.page-home .hero-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--home-radius);
}

/* ---------- 变化速览 ---------- */
.page-home .home-changes {
  margin-top: var(--home-section);
  padding: calc(var(--home-section) * 0.66) 0;
  background: var(--mist);
  color: var(--slate);
}

.page-home .home-changes .eyebrow {
  color: var(--teal);
}

.page-home .changes-head {
  max-width: 62ch;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.page-home .changes-head__lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.78;
  color: rgba(27, 42, 58, 0.78);
}

.page-home .changes-grid {
  display: grid;
  gap: clamp(18px, 2.6vw, 30px);
}

.page-home .changes-visual {
  border-color: rgba(27, 42, 58, 0.14);
  background: var(--white);
}

.page-home .changes-visual .media-frame__caption {
  color: rgba(27, 42, 58, 0.66);
}

.page-home .changes-cards {
  display: grid;
  gap: var(--home-gap);
}

.page-home .change-card {
  padding: clamp(16px, 2.2vw, 26px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(27, 42, 58, 0.12);
  background: var(--white);
  box-shadow: 0 22px 46px -38px rgba(11, 27, 43, 0.6);
}

.page-home .change-card__meta {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--teal);
}

.page-home .change-card__num {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--teal);
}

.page-home .change-card h3 {
  color: var(--slate);
}

.page-home .change-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(27, 42, 58, 0.76);
}

/* ---------- 双通道索引带 ---------- */
.page-home .home-channels {
  padding-top: var(--home-section);
}

.page-home .channels-panel {
  padding: var(--home-pad);
  border-radius: var(--home-radius);
  border: 1px solid rgba(140, 134, 168, 0.35);
  background: linear-gradient(150deg, rgba(43, 30, 74, 0.96), rgba(11, 27, 43, 0.92));
}

.page-home .channels-panel .eyebrow {
  color: var(--lilac);
}

.page-home .channels-head {
  max-width: 64ch;
  margin-bottom: clamp(18px, 2.4vw, 26px);
}

.page-home .channels-lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.78;
  color: rgba(247, 250, 252, 0.76);
}

.page-home .channel-band {
  display: flex;
  gap: var(--home-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

.page-home .channel-card {
  flex: 0 0 min(78vw, 300px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(140, 134, 168, 0.38);
  background: rgba(8, 19, 31, 0.62);
  color: var(--white);
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-home .channel-card:hover,
.page-home .channel-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--cyan);
}

.page-home .channel-card__code {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-home .channel-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.page-home .channel-card__use {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(247, 250, 252, 0.86);
}

.page-home .channel-card__fit {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(140, 134, 168, 0.35);
  font-size: 13px;
  line-height: 1.6;
  color: var(--lilac);
}

.page-home .channels-foot {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--lilac);
}

.page-home .channels-foot a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 224, 208, 0.4);
}

/* ---------- 日常回访 ---------- */
.page-home .home-daily {
  padding-top: var(--home-section);
}

.page-home .daily-panel {
  display: grid;
  gap: clamp(18px, 2.6vw, 30px);
  padding: var(--home-pad);
  border-radius: var(--home-radius);
  border: 1px solid var(--line-soft);
  background: linear-gradient(140deg, rgba(14, 59, 67, 0.95), rgba(11, 27, 43, 0.88));
}

.page-home .daily-panel .eyebrow {
  color: var(--cyan);
}

.page-home .daily-copy__lead {
  margin: 0 0 20px;
  max-width: 54ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(247, 250, 252, 0.82);
}

.page-home .daily-steps {
  list-style: none;
  counter-reset: daily;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .daily-step {
  counter-increment: daily;
  position: relative;
  padding-left: 46px;
  font-size: 15px;
  line-height: 1.72;
  color: rgba(247, 250, 252, 0.88);
}

.page-home .daily-step::before {
  content: counter(daily, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  padding: 1px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
}

.page-home .daily-aside {
  padding: clamp(16px, 2.2vw, 24px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(140, 134, 168, 0.32);
  background: rgba(8, 19, 31, 0.6);
}

.page-home .daily-aside__code {
  margin: 0 0 8px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--lilac);
}

.page-home .daily-aside__text {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(247, 250, 252, 0.8);
}

/* ---------- 案例与节奏 ---------- */
.page-home .home-cases {
  padding-top: var(--home-section);
}

.page-home .cases-head {
  max-width: 60ch;
  margin-bottom: clamp(20px, 2.8vw, 30px);
}

.page-home .cases-head .eyebrow {
  color: var(--cyan);
}

.page-home .cases-head__lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.78;
  color: rgba(247, 250, 252, 0.76);
}

.page-home .cases-layout {
  display: grid;
  gap: clamp(18px, 2.6vw, 30px);
}

.page-home .case-slices {
  display: grid;
}

.page-home .case-slice {
  padding: 18px 0;
  border-top: 1px solid rgba(140, 134, 168, 0.28);
}

.page-home .case-slice:last-child {
  border-bottom: 1px solid rgba(140, 134, 168, 0.28);
}

.page-home .case-slice__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
}

.page-home .case-slice__code {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-home .case-slice h3 {
  margin-bottom: 6px;
}

.page-home .case-slice__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(247, 250, 252, 0.76);
}

.page-home .cases-visual {
  border-radius: var(--home-radius);
  align-self: start;
}

.page-home .rhythm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: clamp(24px, 3vw, 34px) 0 18px;
}

.page-home .rhythm-item {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  background: rgba(8, 19, 31, 0.5);
}

.page-home .rhythm-num {
  display: block;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cyan);
}

.page-home .rhythm-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--lilac);
}

.page-home .cases-rhythm-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(247, 250, 252, 0.72);
}

.page-home .cases-rhythm-note a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 224, 208, 0.4);
  margin-left: 4px;
}

/* ---------- 收口 ---------- */
.page-home .home-cta {
  padding: var(--home-section) 0 var(--home-section);
}

.page-home .cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--home-pad);
  border-radius: var(--home-radius);
  border: 1px solid var(--line-soft);
  background: linear-gradient(120deg, rgba(43, 30, 74, 0.95), rgba(11, 27, 43, 0.95));
}

.page-home .cta-panel__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.page-home .cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(108deg, rgba(8, 19, 31, 0.9) 18%, rgba(8, 19, 31, 0.42) 76%);
}

.page-home .cta-panel__body {
  position: relative;
  z-index: 3;
  max-width: 62ch;
}

.page-home .cta-panel .eyebrow {
  color: var(--orange);
}

.page-home .cta-panel__lead {
  margin: 0 0 20px;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(247, 250, 252, 0.84);
}

.page-home .cta-panel__actions {
  gap: 10px;
  margin-bottom: 14px;
}

.page-home .cta-panel__meta {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--lilac);
}

.page-home .cta-panel__meta a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 224, 208, 0.4);
  margin-left: 2px;
}

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

  .page-home .change-card--narrow {
    grid-column: 1 / -1;
  }

  .page-home .channel-card {
    flex-basis: min(46vw, 300px);
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
    align-items: start;
  }

  .page-home .hero-version {
    grid-column: 1 / 7;
    grid-row: 1;
  }

  .page-home .hero-intro {
    grid-column: 1 / 7;
    grid-row: 2;
  }

  .page-home .hero-entry--a {
    grid-column: 1 / 4;
    grid-row: 3;
  }

  .page-home .hero-entry--b {
    grid-column: 4 / 7;
    grid-row: 3;
  }

  .page-home .hero-visual {
    grid-column: 7 / 13;
    grid-row: 1 / 4;
    height: 100%;
    min-height: 420px;
    aspect-ratio: auto;
  }

  .page-home .changes-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
  }

  .page-home .changes-visual {
    grid-column: 1 / 6;
    grid-row: 1 / 3;
  }

  .page-home .changes-cards {
    grid-column: 6 / 13;
    grid-row: 1 / 3;
  }

  .page-home .change-card--offset {
    margin-inline-start: clamp(0px, 3vw, 44px);
  }

  .page-home .change-card--narrow {
    grid-column: auto;
    margin-inline-end: clamp(0px, 5vw, 84px);
  }

  .page-home .daily-panel {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .cases-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: start;
  }

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

@media (min-width: 1180px) {
  .page-home .channel-card {
    flex-basis: 316px;
  }

  .page-home .hero-intro__actions {
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-entry,
  .page-home .channel-card {
    transition: none;
  }

  .page-home .hero-entry:hover,
  .page-home .channel-card:hover {
    transform: none;
  }
}
