.page-home {
  --home-pad: 20px;
  --home-max: 1180px;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  padding-bottom: 88px;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
}

.page-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
}

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

/* ---------- 面包屑 ---------- */
.page-home .home-crumb {
  max-width: var(--home-max);
  margin: 0 auto;
  padding: 22px var(--home-pad) 0;
}

.page-home .home-crumb__list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-numeric);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--moss);
}

.page-home .home-crumb__item + .home-crumb__item::before {
  content: "/";
  margin: 0 10px;
  color: rgba(53, 242, 208, 0.45);
}

.page-home .home-crumb__link {
  color: var(--moss);
  text-decoration: none;
}

.page-home .home-crumb__link:hover {
  color: var(--neon);
}

.page-home .home-crumb__item[aria-current="page"] {
  color: var(--ivory);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  max-width: var(--home-max);
  margin: 0 auto;
  padding: 26px var(--home-pad) 0;
  display: grid;
  gap: 30px;
}

.page-home .home-hero__text {
  min-width: 0;
}

.page-home .home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 5px 14px 5px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(53, 242, 208, 0.06);
  font-family: var(--font-numeric);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--neon);
}

.page-home .home-kicker__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 176, 32, 0.16);
}

.page-home .home-hero__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 8.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ivory);
  text-wrap: balance;
}

.page-home .home-hero__lede {
  margin: 0 0 28px;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.85;
  color: #c6dad1;
}

.page-home .home-round {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  max-width: 400px;
  padding: 16px 28px 16px 20px;
  background: linear-gradient(115deg, rgba(255, 176, 32, 0.16), rgba(122, 92, 255, 0.1) 52%, rgba(53, 242, 208, 0) 100%);
  border-left: 3px solid var(--amber);
  clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
}

.page-home .home-round__num {
  margin: 0;
  font-family: var(--font-numeric);
  font-weight: 700;
  font-size: clamp(58px, 17vw, 92px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  color: var(--amber);
  text-shadow: 0 0 30px rgba(255, 176, 32, 0.3);
}

.page-home .home-round__meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-bottom: 6px;
}

.page-home .home-round__label {
  font-family: var(--font-numeric);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--moss);
}

.page-home .home-round__tag {
  align-self: flex-start;
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(53, 242, 208, 0.1);
  font-size: 12px;
  color: var(--ivory);
}

/* ---------- 状态板 ---------- */
.page-home .home-board {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--pine);
}

.page-home .home-board__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65) brightness(0.55);
}

.page-home .home-board::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 22, 0.35) 0%, rgba(7, 26, 22, 0.86) 58%, rgba(7, 26, 22, 0.97) 100%);
}

.page-home .home-board__panel {
  position: relative;
  z-index: 2;
  padding: 22px 20px 20px;
}

.page-home .home-board__caption {
  margin: 0 0 12px;
  font-family: var(--font-numeric);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--neon);
}

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

.page-home .home-board__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 9px;
  border-bottom: 1px dashed rgba(53, 242, 208, 0.18);
}

.page-home .home-board__list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .home-board__k {
  font-size: 13px;
  color: var(--moss);
}

.page-home .home-board__v {
  font-family: var(--font-numeric);
  font-size: 14px;
  font-weight: 600;
  color: var(--ivory);
  text-align: right;
}

.page-home .home-ring {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  gap: 2px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 50%, #0B241D 0 60%, transparent 60%),
    conic-gradient(from 205deg, var(--amber) 0 236deg, rgba(234, 242, 236, 0.14) 236deg 360deg);
}

.page-home .home-ring__num {
  font-family: var(--font-numeric);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--amber);
}

.page-home .home-ring__unit {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--moss);
}

/* ---------- 章节通用 ---------- */
.page-home .home-sec {
  max-width: var(--home-max);
  margin: 0 auto;
  padding: 64px var(--home-pad) 0;
}

.page-home .home-sec__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
  margin-bottom: 26px;
}

.page-home .home-sec__num {
  padding-top: 2px;
  font-family: var(--font-numeric);
  font-size: clamp(24px, 5.5vw, 34px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(53, 242, 208, 0.5);
}

.page-home [data-section][data-active] .home-sec__num {
  color: var(--neon);
  -webkit-text-stroke: 0;
}

.page-home .home-sec__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(23px, 5.2vw, 36px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--ivory);
}

.page-home .home-sec__lede {
  grid-column: 2;
  margin: 12px 0 0;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--moss);
}

/* ---------- 四条主线 ---------- */
.page-home .home-lines {
  display: grid;
  gap: 14px;
}

.page-home .home-line {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 18px;
  background: linear-gradient(165deg, var(--field) 0%, var(--pine) 100%);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .home-line:hover,
.page-home .home-line:focus-within {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.page-home .home-line__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-family: var(--font-numeric);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--amber);
}

.page-home .home-line__tag::after {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 176, 32, 0.7), transparent);
}

.page-home .home-line__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  color: var(--ivory);
}

.page-home .home-line__text {
  margin: 0;
  flex: 1;
  font-size: 14px;
  line-height: 1.75;
  color: var(--moss);
}

.page-home .home-line__link {
  align-self: flex-start;
  margin-top: 4px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(53, 242, 208, 0.35);
  font-family: var(--font-numeric);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--neon);
  text-decoration: none;
}

.page-home .home-line__link:hover {
  border-bottom-color: var(--neon);
}

/* ---------- 两级入口 ---------- */
.page-home .home-path {
  display: grid;
  gap: 22px;
}

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

.page-home .home-path__step {
  padding: 18px 20px 18px 22px;
  border-left: 2px solid var(--line-strong);
  background: rgba(12, 43, 35, 0.6);
}

.page-home .home-path__idx {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-numeric);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--amber);
}

.page-home .home-path__t {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ivory);
}

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

.page-home .home-path__facts {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 18px 20px;
  list-style: none;
  border: 1px dashed var(--line-strong);
  background: rgba(7, 26, 22, 0.5);
}

.page-home .home-path__facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .home-path__fk {
  font-family: var(--font-numeric);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--moss);
}

.page-home .home-path__fv {
  font-family: var(--font-numeric);
  font-size: 13px;
  font-weight: 600;
  color: var(--ivory);
}

/* ---------- 图 ---------- */
.page-home .home-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--pine);
}

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

.page-home .home-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-numeric);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--moss);
}

/* ---------- 收藏与导出 ---------- */
.page-home .home-flow {
  display: grid;
  gap: 24px;
}

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

.page-home .home-step {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
}

.page-home .home-step + .home-step {
  border-top: 1px dashed rgba(53, 242, 208, 0.16);
}

.page-home .home-step__num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 176, 32, 0.5);
  background: rgba(255, 176, 32, 0.1);
  font-family: var(--font-numeric);
  font-size: 17px;
  font-weight: 700;
  color: var(--amber);
}

.page-home .home-step__title {
  margin: 0 0 5px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ivory);
}

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

/* ---------- 可展开面板 ---------- */
.page-home .home-panels {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

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

.page-home .home-panel__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 18px 2px;
  border: 0;
  background: none;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}

.page-home .home-panel__toggle:hover {
  color: var(--neon);
}

.page-home .home-panel__sign {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 0.2s ease;
}

.page-home .home-panel__sign::before,
.page-home .home-panel__sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--neon);
  transform: translate(-50%, -50%);
}

.page-home .home-panel__sign::before {
  width: 10px;
  height: 1.5px;
}

.page-home .home-panel__sign::after {
  width: 1.5px;
  height: 10px;
  transition: opacity 0.2s ease;
}

.page-home .home-panel__toggle[aria-expanded="true"] .home-panel__sign {
  border-color: var(--amber);
}

.page-home .home-panel__toggle[aria-expanded="true"] .home-panel__sign::before,
.page-home .home-panel__toggle[aria-expanded="true"] .home-panel__sign::after {
  background: var(--amber);
}

.page-home .home-panel__toggle[aria-expanded="true"] .home-panel__sign::after {
  opacity: 0;
}

.page-home .home-panel__body {
  padding: 0 2px 20px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--moss);
  animation: home-fade 0.24s ease;
}

.page-home .home-panel__body[hidden] {
  display: none;
}

.page-home .home-panel__body p {
  margin: 0;
}

@keyframes home-fade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 轮次节奏 ---------- */
.page-home .home-scale {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 5px;
  margin: 0 0 24px;
  padding: 14px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .home-scale__node {
  position: relative;
  padding-top: 30px;
  text-align: center;
  font-family: var(--font-numeric);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--moss);
}

.page-home .home-scale__node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1px;
  right: 1px;
  height: 20px;
  background: rgba(53, 242, 208, 0.18);
}

.page-home .home-scale__node.is-now {
  color: var(--amber);
  font-weight: 700;
}

.page-home .home-scale__node.is-now::before {
  background: linear-gradient(180deg, var(--amber), rgba(255, 176, 32, 0.2));
  box-shadow: 0 0 16px rgba(255, 176, 32, 0.45);
}

.page-home .home-rhythm {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.page-home .home-rhythm__item {
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(12, 43, 35, 0.55);
}

.page-home .home-rhythm__k {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-numeric);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--neon);
}

.page-home .home-rhythm__v {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ivory);
}

.page-home .home-journal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 11px 24px 11px 20px;
  border: 1px solid var(--line-strong);
  background: rgba(53, 242, 208, 0.06);
  color: var(--neon);
  font-family: var(--font-numeric);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}

.page-home .home-journal:hover {
  background: rgba(53, 242, 208, 0.14);
}

/* ---------- 问答收尾 ---------- */
.page-home .home-ask__foot {
  margin: 24px 0 0;
  padding: 18px 20px;
  border-left: 2px solid var(--amber);
  background: rgba(255, 176, 32, 0.06);
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--moss);
}

.page-home .home-ask__foot a {
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 242, 208, 0.4);
}

/* ---------- 品牌信任条 ---------- */
.page-home .home-trust {
  max-width: var(--home-max);
  margin: 64px auto 0;
  padding: 24px var(--home-pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(122, 92, 255, 0.22), rgba(7, 26, 22, 0) 70%);
}

.page-home .home-trust__text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: #c6dad1;
}

.page-home .home-trust__link {
  flex: 0 0 auto;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(53, 242, 208, 0.4);
  font-family: var(--font-numeric);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--neon);
  text-decoration: none;
}

.page-home .home-trust__link:hover {
  border-bottom-color: var(--neon);
}

/* ---------- 屏幕适配 ---------- */
@media (min-width: 640px) {
  .page-home .home-lines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

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

@media (min-width: 720px) {
  .page-home {
    --home-pad: 32px;
  }

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

@media (min-width: 900px) {
  .page-home .home-hero {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 44px;
    padding-top: 46px;
    align-items: start;
  }

  .page-home .home-board {
    min-height: 420px;
  }

  .page-home .home-sec {
    padding-top: 84px;
  }

  .page-home .home-sec__head {
    grid-template-columns: 92px minmax(0, 1fr);
    column-gap: 28px;
  }

  .page-home .home-sec__num {
    padding-top: 6px;
    font-size: 34px;
  }

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

  .page-home .home-flow {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 34px;
    align-items: center;
  }
}

@media (min-width: 1040px) {
  .page-home .home-lines {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation: none !important;
    transition: none !important;
  }

  .page-home .home-line:hover,
  .page-home .home-line:focus-within {
    transform: none;
  }
}
