.page-home {
  --home-rail-w: 214px;
  --home-radius: 24px;
  background: var(--ink-900);
  color: var(--text);
  overflow-x: clip;
}

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

.page-home .stat-note {
  margin: 1.25rem 0 0;
}

/* ---------- 首屏对角区 ---------- */

.page-home .hero-diagonal {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(6rem, 11vw, 8.5rem) clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(120% 90% at 88% 4%, rgba(34, 227, 195, 0.16), transparent 58%),
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 100%);
}

.page-home .hero-diagonal::before {
  content: "";
  position: absolute;
  inset: -12% -18% auto auto;
  width: min(1180px, 96vw);
  height: min(760px, 92vw);
  background:
    linear-gradient(148deg, rgba(34, 227, 195, 0.24) 0%, rgba(34, 227, 195, 0.04) 44%, rgba(107, 92, 231, 0.2) 100%);
  clip-path: polygon(26% 0%, 100% 0%, 100% 74%, 0% 100%);
  z-index: -1;
  pointer-events: none;
}

.page-home .hero-diagonal::after {
  content: "";
  position: absolute;
  left: -12%;
  bottom: 10%;
  width: 68%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: rotate(-9deg);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

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

.page-home .hero-diagonal__copy .eyebrow {
  margin: 0 0 0.9rem;
}

.page-home .hero-diagonal__copy .lede {
  margin: 1.25rem 0 0;
  max-width: 46ch;
}

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

.page-home .hero-pills {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.page-home .hero-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.6rem 1.05rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline-strong);
  background: rgba(14, 46, 42, 0.72);
}

.page-home .hero-pill__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-home .hero-pill--warm .hero-pill__num {
  color: var(--orange);
}

.page-home .hero-pill__text {
  font-size: 0.86rem;
  color: var(--muted);
}

.page-home .hero-diagonal__media {
  margin: 0;
  position: relative;
}

.page-home .hero-diagonal__media .media-frame {
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--hairline);
}

/* ---------- 今日速览条 ---------- */

.page-home .home-ticker {
  background: var(--ink-800);
  border-block: 1px solid var(--hairline);
}

.page-home .ticker-strip {
  display: grid;
  gap: 1px;
  background: var(--hairline);
}

.page-home .ticker-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  padding: 1.1rem 1.25rem;
  background: var(--ink-800);
}

.page-home .ticker-item__label {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.page-home .ticker-item__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.page-home .ticker-item__value--warm {
  color: var(--orange);
}

.page-home .ticker-item__note {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- 主体骨架 ---------- */

.page-home .home-shell {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5.5rem);
}

.page-home .home-rail {
  position: sticky;
  top: calc(var(--header-h) + 0.75rem);
  z-index: 6;
  padding-bottom: 0.5rem;
}

.page-home .home-rail__title {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

.page-home .home-rail__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0.35rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .home-rail__list::-webkit-scrollbar {
  display: none;
}

.page-home .home-rail__link {
  display: inline-block;
  white-space: nowrap;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
  background: rgba(14, 46, 42, 0.92);
  color: var(--muted);
  font-size: 0.84rem;
  text-decoration: none;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-home .home-rail__link:hover,
.page-home .home-rail__link:focus-visible {
  color: var(--text);
  border-color: var(--hairline-strong);
}

.page-home .home-rail__link.is-active {
  color: var(--ink-900);
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 600;
}

.page-home .home-body {
  display: grid;
  gap: clamp(2rem, 4vw, 3.25rem);
  min-width: 0;
}

.page-home .home-block {
  min-width: 0;
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.page-home .block-head {
  max-width: 62ch;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.page-home .block-head .eyebrow {
  margin: 0 0 0.5rem;
}

.page-home .block-head .section-title {
  margin: 0 0 0.6rem;
}

.page-home .block-lede {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.page-home .block-more {
  margin: 1.4rem 0 0;
}

/* ---------- 三步路径 ---------- */

.page-home .flow-layout {
  display: grid;
  gap: 1.5rem;
}

.page-home .flow-figure {
  margin: 0;
}

.page-home .flow-figure .media-frame {
  border: 1px solid var(--hairline);
}

.page-home .flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.page-home .flow-step {
  padding: 1.05rem 1.2rem 1.1rem 1.3rem;
  border-radius: var(--radius-md);
  background: var(--ink-800);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--cyan);
}

.page-home .flow-step:nth-child(2) {
  border-left-color: var(--indigo);
}

.page-home .flow-step:nth-child(3) {
  border-left-color: var(--gold);
}

.page-home .flow-step__index {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--cyan-soft);
}

.page-home .flow-step__title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  line-height: 1.45;
}

.page-home .flow-step__body {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* ---------- 评分矩阵 ---------- */

.page-home .matrix-layout {
  display: grid;
  gap: 1.5rem;
}

.page-home .score-tuner {
  position: relative;
  padding: 1.25rem;
  border-radius: var(--home-radius);
  background: linear-gradient(160deg, var(--ink-800), var(--ink-700));
  border: 1px solid var(--hairline);
  min-width: 0;
}

.page-home .weight-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .score-tuner__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.page-home .score-tuner__tab {
  cursor: pointer;
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 0.85rem;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .weight-input:nth-of-type(1):checked ~ .score-tuner__tabs .score-tuner__tab:nth-child(1),
.page-home .weight-input:nth-of-type(2):checked ~ .score-tuner__tabs .score-tuner__tab:nth-child(2) {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-900);
  font-weight: 600;
}

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

.page-home .score-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.3rem 0.75rem;
  align-items: baseline;
}

.page-home .score-row__name {
  font-size: 0.92rem;
  color: var(--text);
}

.page-home .score-row__val {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-home .score-row__val .val-b {
  display: none;
}

.page-home .weight-input:nth-of-type(2):checked ~ .score-list .score-row .val-a {
  display: none;
}

.page-home .weight-input:nth-of-type(2):checked ~ .score-list .score-row .val-b {
  display: inline;
}

.page-home .score-bar {
  grid-column: 1 / -1;
  height: 9px;
  border-radius: 999px;
  background: rgba(159, 184, 178, 0.16);
  overflow: hidden;
}

.page-home .score-bar__fill {
  display: block;
  height: 100%;
  width: var(--w-a, 60%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(34, 227, 195, 0.32), var(--cyan));
  transition: width 0.3s var(--ease);
}

.page-home .weight-input:nth-of-type(2):checked ~ .score-list .score-bar__fill {
  width: var(--w-b, var(--w-a, 60%));
}

.page-home .score-row__hint {
  grid-column: 1 / -1;
  font-size: 0.79rem;
  color: var(--muted);
}

.page-home .matrix-figure {
  margin: 0;
}

.page-home .matrix-figure .media-frame {
  border: 1px solid var(--hairline);
}

/* ---------- 档案卡组 ---------- */

.page-home .profile-layout {
  display: grid;
  gap: 1.25rem;
}

.page-home .profile-figure {
  margin: 0;
}

.page-home .profile-figure .media-frame {
  border: 1px solid var(--hairline);
}

.page-home .profile-grid {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.page-home .profile-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.page-home .profile-card .card__label {
  margin: 0;
}

.page-home .profile-card .card__title {
  line-height: 1.45;
}

.page-home .profile-card .card__body {
  color: var(--muted);
}

.page-home .profile-card__stat {
  margin: auto 0 0;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--hairline);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--orange);
}

/* ---------- 更新节奏 ---------- */

.page-home .cadence-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.35rem;
  border-left: 2px solid var(--hairline);
  display: grid;
  gap: 1.15rem;
}

.page-home .cadence-item {
  position: relative;
}

.page-home .cadence-item::before {
  content: "";
  position: absolute;
  left: calc(-1.35rem - 8px);
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink-900);
  border: 2px solid var(--cyan);
}

.page-home .cadence-item:nth-child(2)::before {
  border-color: var(--indigo);
}

.page-home .cadence-item:nth-child(3)::before {
  border-color: var(--gold);
}

.page-home .cadence-item:nth-child(4)::before {
  border-color: var(--orange);
}

.page-home .cadence-item__when {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--cyan-soft);
}

.page-home .cadence-item__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.page-home .cadence-item__body {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* ---------- 导出与客户端 ---------- */

.page-home .export-layout {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.page-home .export-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.page-home .export-card .card__label {
  margin: 0;
}

.page-home .export-card .card__body {
  color: var(--muted);
}

.page-home .fold {
  margin-top: 1.25rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--ink-800);
}

.page-home .fold__head {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--text);
}

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

.page-home .fold__head::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--cyan);
}

.page-home .fold[open] .fold__head::after {
  content: "−";
}

.page-home .fold__body {
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
  line-height: 1.75;
}

.page-home .fold__body p {
  margin: 0 0 0.75rem;
}

.page-home .fold__body p:last-child {
  margin-bottom: 0;
}

.page-home .field-order {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}

.page-home .field-order__title {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-home .field-order__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
}

.page-home .field-order__list li {
  padding: 0.38rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(10, 31, 28, 0.6);
  border: 1px solid var(--hairline);
  color: var(--muted);
}

.page-home .inline-link {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .faq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

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

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

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

@media (min-width: 820px) {
  .page-home .export-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 760px) and (max-width: 1079px) {
  .page-home .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .profile-card--wide {
    grid-column: 1 / -1;
  }

  .page-home .profile-card--drop {
    margin-top: 1.75rem;
  }
}

@media (min-width: 900px) {
  .page-home .flow-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }

  .page-home .cadence-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
    row-gap: 1.5rem;
  }
}

@media (min-width: 980px) {
  .page-home .matrix-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
  }

  .page-home .profile-layout {
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
    align-items: start;
  }

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

  .page-home .profile-card--wide {
    grid-column: 1 / -1;
  }

  .page-home .profile-card--drop {
    margin-top: 1.75rem;
  }
}

@media (min-width: 1080px) {
  .page-home .home-shell {
    grid-template-columns: var(--home-rail-w) minmax(0, 1fr);
    align-items: start;
  }

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

  .page-home .home-rail {
    padding-top: 0.25rem;
  }

  .page-home .home-rail__list {
    flex-direction: column;
    overflow: visible;
  }

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

@media (min-width: 1280px) {
  .page-home .hero-diagonal__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}
<<<END>>>

.page-home {
  --w-a: 1rem;
  --w-b: 1rem;
}
