.page-home {
  --home-max: 1180px;
  --home-step: 96px;
  --home-shadow: 0 20px 44px -34px rgba(11, 37, 69, 0.55);
  --home-shadow-soft: 0 1px 0 rgba(11, 37, 69, 0.05), 0 14px 30px -26px rgba(11, 37, 69, 0.42);
  position: relative;
  display: block;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  background-color: var(--paper);
}

.page-home .home-wrap {
  width: min(var(--home-max), 100% - 40px);
  margin-inline: auto;
}

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

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: 32px 0 64px;
  background:
    radial-gradient(130% 100% at 84% -12%, rgba(30, 92, 143, 0.16) 0%, rgba(30, 92, 143, 0) 62%),
    linear-gradient(180deg, #EAF1F8 0%, rgba(245, 247, 250, 0) 100%);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(169, 196, 220, 0.45) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(169, 196, 220, 0.45) 1px, transparent 1px);
  background-size: var(--home-step) var(--home-step);
  background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 72%, transparent 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 72%, transparent 100%);
  pointer-events: none;
}

.page-home .home-hero > * {
  position: relative;
  z-index: 1;
}

.page-home .home-hero__top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.page-home .home-hero__title {
  margin: 10px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(30px, 6.4vw, 46px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--sea-900);
}

.page-home .home-hero__note {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate);
}

.page-home .home-hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-home .home-hero__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(140deg, var(--sea-900), var(--sea-500));
  box-shadow: var(--home-shadow);
  aspect-ratio: 16 / 9;
}

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

.page-home .home-coords {
  list-style: none;
  margin: 44px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 24px;
}

.page-home .home-coord {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 8px 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.24s var(--ease), border-color 0.24s var(--ease);
}

.page-home .home-coord:hover,
.page-home .home-coord:focus-visible {
  color: var(--sea-500);
  border-bottom-color: var(--line);
}

.page-home .home-coord:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

.page-home .home-coord__label {
  font-size: 15px;
}

/* ---------- 章节通用 ---------- */

.page-home .section {
  padding: 60px 0;
  border-top: 1px solid var(--line-soft);
}

.page-home .section__head {
  max-width: 64ch;
  margin-bottom: 34px;
}

.page-home .section__head .t-h2 {
  margin: 8px 0 14px;
  color: var(--sea-900);
}

.page-home .section__head .t-body {
  margin: 0;
  color: var(--slate);
}

/* ---------- 两版主页对照 ---------- */

.page-home .home-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.page-home .home-compare__card {
  padding: 24px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--white);
  box-shadow: var(--home-shadow-soft);
}

.page-home .home-compare__card--new {
  border-top: 3px solid var(--gold);
}

.page-home .home-compare__card--old {
  border-top: 3px solid var(--sea-500);
  background: linear-gradient(180deg, #F8FAFD 0%, var(--white) 100%);
}

.page-home .home-compare__head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .home-compare__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--sea-900);
}

.page-home .home-compare__rows {
  display: grid;
}

.page-home .home-compare__row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 15px;
}

.page-home .home-compare__row:last-child {
  border-bottom: 0;
}

.page-home .home-compare__k {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--sea-500);
}

.page-home .home-compare__v {
  color: var(--ink);
}

.page-home .home-compare__figure {
  margin: 26px 0 0;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(169, 196, 220, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.page-home .home-compare__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.page-home .home-compare__figure figcaption {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
}

/* ---------- 会员权益 ---------- */

.page-home .home-benefits__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.page-home .home-benefits__copy .t-h2 {
  margin: 8px 0 14px;
  color: var(--sea-900);
}

.page-home .home-benefits__copy .t-body {
  margin: 0 0 14px;
  color: var(--slate);
}

.page-home .home-levels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.page-home .home-level {
  padding: 16px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: var(--white);
  box-shadow: var(--home-shadow-soft);
}

.page-home .home-level::before {
  content: "";
  display: block;
  height: 6px;
  width: 100%;
  border-radius: 999px;
  margin-bottom: 12px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
}

.page-home .home-level__tag {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--sea-500);
  margin-bottom: 6px;
}

.page-home .home-level__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.page-home .home-benefits__tip {
  margin: 26px 0 0;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--mint);
  background: rgba(95, 199, 169, 0.1);
  font-size: 15px;
  color: var(--ink);
}

.page-home .home-benefits__tip a {
  color: var(--sea-500);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 四类产品线 ---------- */

.page-home .home-lines__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.page-home .home-lines__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(150deg, #EDF3F9, var(--white));
  border: 1px solid var(--line-soft);
  aspect-ratio: 7 / 4;
}

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

.page-home .home-lines__hint {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate);
}

.page-home .acc {
  border-top: 1px solid var(--line);
}

.page-home .acc__item {
  border-bottom: 1px solid var(--line);
}

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

.page-home .acc__trigger {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 20px 4px;
  background: none;
  border: 0;
  font: inherit;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.24s var(--ease);
}

.page-home .acc__trigger:hover {
  color: var(--sea-500);
}

.page-home .acc__trigger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

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

.page-home .acc__label {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.page-home .acc__icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
}

.page-home .acc__icon::before,
.page-home .acc__icon::after {
  content: "";
  position: absolute;
  background: var(--sea-500);
  border-radius: 2px;
  transition: transform 0.26s var(--ease), opacity 0.26s var(--ease);
}

.page-home .acc__icon::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
}

.page-home .acc__icon::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
}

.page-home .acc__trigger[aria-expanded="true"] .acc__icon::after {
  transform: translateX(-50%) scaleY(0);
  opacity: 0;
}

.page-home .acc__panel {
  overflow: hidden;
}

.page-home .acc__body {
  padding: 0 4px 24px;
}

.page-home .acc__inner {
  display: grid;
  gap: 14px;
  max-width: 58ch;
}

.page-home .acc__inner p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--slate);
}

/* ---------- 每日节奏 ---------- */

.page-home .home-rhythm__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.page-home .home-rhythm__copy .t-h2 {
  margin: 8px 0 14px;
  color: var(--sea-900);
}

.page-home .home-rhythm__copy .t-body {
  margin: 0;
  color: var(--slate);
}

.page-home .home-rhythm__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(150deg, #EDF3F9, var(--white));
  border: 1px solid var(--line-soft);
  aspect-ratio: 5 / 3;
}

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

.page-home .home-rhythm__demo {
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.page-home .home-demo {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(169, 196, 220, 0.65);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.68));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--home-shadow-soft);
}

.page-home .home-demo__title {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.page-home .home-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .home-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  cursor: default;
}

.page-home .home-dot--done {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--sea-900);
  font-weight: 700;
}

.page-home .home-dot--now {
  border: 2px dashed var(--sea-900);
  color: var(--sea-900);
}

.page-home .home-dot[data-day]:hover::after {
  content: attr(data-day);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--sea-900);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  z-index: 3;
}

.page-home .home-bar {
  margin-top: 22px;
  height: 10px;
  border-radius: 999px;
  background: rgba(169, 196, 220, 0.38);
  overflow: hidden;
}

.page-home .home-bar__fill {
  display: block;
  height: 100%;
  width: 71%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
}

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

.page-home .home-stats {
  list-style: none;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.page-home .home-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .home-stat__num {
  font-family: var(--font-display);
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--sea-900);
}

.page-home .home-stat__label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate);
}

/* ---------- 继续了解与联系 ---------- */

.page-home .home-next__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.page-home .home-next__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--home-shadow-soft);
  transition: transform 0.26s var(--ease), border-color 0.26s var(--ease), box-shadow 0.26s var(--ease);
}

.page-home a.home-next__card:hover,
.page-home a.home-next__card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--home-shadow);
}

.page-home a.home-next__card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.page-home .home-next__code {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--sea-500);
}

.page-home .home-next__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--sea-900);
}

.page-home .home-next__text {
  margin: 0;
  flex: 1;
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate);
}

.page-home .home-next__go {
  font-size: 14px;
  font-weight: 600;
  color: var(--sea-500);
  text-decoration: none;
}

.page-home .home-next__card--contact {
  background: linear-gradient(158deg, var(--sea-900) 0%, var(--sea-700) 100%);
  border-color: transparent;
  color: var(--on-dark);
}

.page-home .home-next__card--contact .home-next__code {
  color: var(--gold-soft);
}

.page-home .home-next__card--contact .home-next__title {
  color: var(--on-dark);
}

.page-home .home-next__card--contact .home-next__text {
  color: rgba(232, 237, 243, 0.82);
}

.page-home .home-contact {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.page-home .copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(232, 237, 243, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--on-dark);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.24s var(--ease), border-color 0.24s var(--ease);
}

.page-home .copy:hover {
  background: rgba(255, 255, 255, 0.16);
}

.page-home .copy:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 2px;
}

.page-home .copy[data-copied] {
  border-color: var(--mint);
  background: rgba(95, 199, 169, 0.22);
}

.page-home .copy__value {
  font-size: 13px;
  letter-spacing: 0.02em;
}

.page-home .copy__hint {
  font-size: 12px;
  color: var(--gold-soft);
}

.page-home .home-next__go--light {
  color: var(--gold-soft);
  margin-top: 4px;
  text-decoration: none;
}

.page-home .home-next__go--light:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 右侧段落索引 ---------- */

.page-home .home-anchors {
  display: none;
}

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

.page-home .home-anchors__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.24s var(--ease), border-color 0.24s var(--ease), background 0.24s var(--ease);
}

.page-home .home-anchors__list a:hover,
.page-home .home-anchors__list a[aria-current="true"] {
  border-color: var(--gold);
  color: var(--sea-900);
  background: rgba(201, 162, 39, 0.16);
}

.page-home .home-anchors__list a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

@media (min-width: 720px) {
  .page-home .home-hero {
    padding: 40px 0 76px;
  }

  .page-home .home-coords {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 28px;
  }

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

  .page-home .section {
    padding: 72px 0;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 52px;
  }

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

  .page-home .home-benefits__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 46px;
    align-items: start;
  }

  .page-home .home-lines__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 42px;
    align-items: start;
  }

  .page-home .home-rhythm__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 46px;
  }

  .page-home .home-rhythm__demo {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 34px;
    align-items: start;
  }

  .page-home .home-stats {
    padding-top: 26px;
    border-top: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

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

@media (min-width: 940px) {
  .page-home .home-coords {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .page-home .home-anchors {
    display: block;
    position: fixed;
    right: 24px;
    top: 44%;
    z-index: 5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-coord,
  .page-home .acc__trigger,
  .page-home .acc__icon::before,
  .page-home .acc__icon::after,
  .page-home .home-next__card,
  .page-home .copy,
  .page-home .home-anchors__list a {
    transition: none;
  }

  .page-home a.home-next__card:hover,
  .page-home a.home-next__card:focus-visible {
    transform: none;
  }
}
