.page-home {
  --home-r: 30px 110px 30px 30px;
  --home-r-alt: 110px 30px 30px 30px;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

.page-home section {
  position: relative;
}

/* ---------- 顶部上下文条 ---------- */
.page-home .context {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-home .context__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  padding-block: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--slate);
  text-transform: uppercase;
}

.page-home .context__item {
  display: inline-flex;
  align-items: center;
}

.page-home .context__item + .context__item::before {
  content: "/";
  margin-right: 1.1rem;
  color: var(--lake);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  padding: clamp(1.6rem, 5vw, 4rem) 0 clamp(2rem, 5vw, 4.5rem);
}

.page-home .hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 4vw, 2.6rem);
}

.page-home .hero__title {
  margin: 0.7rem 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 11vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.page-home .hero__mark {
  color: var(--lake);
  display: inline-block;
  box-shadow: inset 0 -0.28em 0 rgba(205, 232, 234, 0.85);
}

.page-home .hero__dek {
  max-width: 36ch;
  margin-top: 1.2rem;
  font-size: var(--step-0);
  line-height: 1.78;
  color: var(--ink-soft);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.5rem;
  margin-top: 1.7rem;
}

.page-home .hero__link {
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px dashed var(--lake);
  padding-bottom: 2px;
}

.page-home .hero__link:hover,
.page-home .hero__link:focus-visible {
  color: var(--lake);
}

.page-home .hero__aside {
  position: relative;
  max-width: 30rem;
}

.page-home .hero__media {
  border-radius: var(--home-r);
  overflow: hidden;
  background: linear-gradient(135deg, var(--lake), var(--dusk));
}

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

.page-home .hero__ping {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: -1.5rem 0 0 1.1rem;
  padding: 0.85rem 1.15rem 0.95rem 2.1rem;
  background: var(--lake);
  color: var(--paper);
  border-radius: 4px 22px 22px 22px;
}

.page-home .hero__ping-dot {
  position: absolute;
  left: 0.95rem;
  top: 1.15rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(243, 181, 68, 0.28);
}

.page-home .hero__ping-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home .hero__ping-value {
  margin: 0.25rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* ---------- 章节通用标题 ---------- */
.page-home .sec-head {
  max-width: 42rem;
  margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
}

.page-home .sec-title {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 4.6vw, 2.5rem);
  line-height: 1.16;
  letter-spacing: -0.022em;
}

.page-home .sec-title--light {
  color: var(--paper);
}

.page-home .sec-lede {
  margin-top: 0.9rem;
  font-size: var(--step-0);
  line-height: 1.78;
  color: var(--ink-soft);
  max-width: 42ch;
}

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

/* ---------- 双入口 ---------- */
.page-home .entry {
  padding: clamp(2rem, 5vw, 4.5rem) 0;
}

.page-home .entry__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

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

.page-home .entry__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: clamp(1.35rem, 3vw, 2rem);
}

.page-home .entry__card--old {
  border-top: 5px solid var(--lake);
}

.page-home .entry__card--new {
  border-top: 5px solid var(--dusk);
}

.page-home .entry__tag {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lake);
}

.page-home .entry__card--new .entry__tag {
  color: var(--dusk);
}

.page-home .entry__title {
  margin: 0.6rem 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-1);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.page-home .entry__card p {
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-home .entry__list {
  list-style: none;
  margin: 1rem 0 1.3rem;
  padding: 0;
}

.page-home .entry__list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  border-top: 1px dashed var(--line);
}

.page-home .entry__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lake);
}

.page-home .entry__card--new .entry__list li::before {
  background: var(--dusk);
}

.page-home .entry__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}

.page-home .entry__cta--lake {
  background: var(--lake);
}

.page-home .entry__cta:hover,
.page-home .entry__cta:focus-visible {
  background: var(--dusk);
}

.page-home .entry__mini {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 1px;
  width: fit-content;
}

.page-home .entry__mini:hover,
.page-home .entry__mini:focus-visible {
  color: var(--lake);
}

/* ---------- 过渡图带 ---------- */
.page-home .band {
  padding-bottom: clamp(2rem, 4vw, 3.2rem);
}

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

.page-home .band__figure img {
  display: block;
  width: 100%;
  border-radius: var(--home-r-alt);
  object-fit: cover;
  background: var(--lake);
}

.page-home .band__cap {
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--slate);
}

/* ---------- 设备与记录面板 ---------- */
.page-home .panel {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(2.4rem, 5vw, 4.6rem) 0;
}

.page-home .panel__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 4vw, 3rem);
}

.page-home .panel__lede {
  margin-top: 1rem;
  font-size: var(--step-0);
  line-height: 1.8;
  color: rgba(255, 252, 247, 0.78);
  max-width: 40ch;
}

.page-home .panel__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.page-home .panel__label {
  margin: 0 0 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.page-home .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .chips li {
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(205, 232, 234, 0.32);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--mist);
}

.page-home .panel__meta {
  margin: 1.7rem 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.page-home .panel__row {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(205, 232, 234, 0.18);
}

.page-home .panel__row dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.page-home .panel__row dd {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 252, 247, 0.86);
}

.page-home .panel__note {
  margin-top: 1.4rem;
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(255, 252, 247, 0.62);
}

.page-home .panel__note a {
  color: var(--mist);
}

.page-home .panel__aside img {
  display: block;
  width: 100%;
  border-radius: var(--home-r);
  object-fit: cover;
  background: var(--night);
}

/* ---------- 重新登录三步 ---------- */
.page-home .relogin {
  padding: clamp(2.2rem, 5vw, 4.4rem) 0;
}

.page-home .relogin__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
}

.page-home .relogin__lede {
  margin: 0.9rem 0 1.4rem;
  font-size: var(--step-0);
  line-height: 1.78;
  color: var(--ink-soft);
  max-width: 34ch;
}

.page-home .relogin__steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

.page-home .step__sum {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  letter-spacing: -0.01em;
}

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

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

.page-home .step__num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--dusk);
  font-weight: 400;
}

.page-home .step__sum::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--slate);
}

.page-home .step__box[open] .step__sum::after {
  content: "–";
  color: var(--lake);
}

.page-home .step__body {
  margin: 0 0 1.1rem 1.85rem;
  font-size: 0.93rem;
  line-height: 1.78;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* ---------- 第一次来 ---------- */
.page-home .first {
  background: var(--mist);
  padding: clamp(2.2rem, 5vw, 4.2rem) 0;
}

.page-home .first__head .sec-lede {
  color: var(--ink-soft);
}

.page-home .first__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(15, 29, 42, 0.14);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.page-home .first__item {
  background: var(--paper);
  padding: 1.15rem 1.25rem 1.3rem;
}

.page-home .first__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--lake);
}

.page-home .first__item h3 {
  margin: 0.4rem 0 0.45rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.page-home .first__item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--ink-soft);
}

.page-home .first__foot {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--ink);
}

.page-home .first__foot a {
  margin-left: 0.4rem;
  color: var(--lake);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--lake);
  padding-bottom: 1px;
}

/* ---------- 栏目索引 ---------- */
.page-home .index {
  padding: clamp(2.4rem, 5vw, 4.6rem) 0;
}

.page-home .index__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.2rem);
}

.page-home .index__list {
  counter-reset: idx;
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
}

.page-home .index__item {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.2rem 0.9rem;
  padding: 1.05rem 0 1.1rem;
  border-bottom: 1px dashed var(--line);
}

.page-home .index__item::before {
  counter-increment: idx;
  content: counter(idx, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--lake);
  padding-top: 0.4rem;
}

.page-home .index__item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-1);
  letter-spacing: -0.012em;
}

.page-home .index__item p {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 46ch;
}

.page-home .index__item .index__meta {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

.page-home .index__media img {
  display: block;
  width: 100%;
  border-radius: var(--home-r-alt);
  object-fit: cover;
  background: var(--night);
}

.page-home .index__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 1.4rem 0 0;
}

.page-home .index__stat {
  border-top: 2px solid var(--lake);
  padding-top: 0.55rem;
}

.page-home .index__stat--wide {
  grid-column: 1 / -1;
  border-top-color: var(--amber);
}

.page-home .index__stat-num {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-3);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.page-home .index__stat-cap {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.page-home .index__note {
  margin-top: 1.3rem;
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-home .index__link {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--lake);
  text-decoration: none;
  border-bottom: 2px solid var(--lake);
  padding-bottom: 1px;
}

/* ---------- 收尾 ---------- */
.page-home .closing {
  background: var(--lake);
  color: var(--paper);
  padding: clamp(2.2rem, 5vw, 3.8rem) 0;
}

.page-home .closing__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

.page-home .closing h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.45rem, 4.4vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -0.022em;
  color: var(--paper);
}

.page-home .closing p {
  margin: 0.7rem 0 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .closing__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.4rem;
}

.page-home .closing__link {
  color: var(--paper);
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 252, 247, 0.7);
  padding-bottom: 2px;
}

.page-home .closing__link:hover,
.page-home .closing__link:focus-visible {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

/* ---------- 桌面栅格 ---------- */
@media (min-width: 700px) {
  .page-home .panel__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
  }

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

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

  .page-home .closing__inner {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: end;
    gap: 2rem;
  }
}

@media (min-width: 900px) {
  .page-home .hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: start;
  }

  .page-home .hero__lead {
    grid-column: 1 / span 7;
  }

  .page-home .hero__aside {
    grid-column: 9 / span 4;
    margin-top: 4rem;
    max-width: none;
  }

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

  .page-home .entry__card--new {
    margin-top: 3.2rem;
  }

  .page-home .entry__line {
    display: block;
    position: absolute;
    top: 5.6rem;
    left: calc(50% - 1.4rem);
    width: 2.8rem;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--lake) 0 8px, transparent 8px 16px);
  }

  .page-home .panel__grid {
    grid-template-columns: 1.35fr 0.65fr;
    gap: 3.2rem;
    align-items: center;
  }

  .page-home .relogin__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: start;
  }

  .page-home .relogin__head {
    grid-column: 1 / span 4;
    position: sticky;
    top: 6rem;
  }

  .page-home .relogin__steps {
    grid-column: 6 / span 7;
  }

  .page-home .index__grid {
    grid-template-columns: 1.35fr 0.65fr;
    gap: 3.4rem;
    align-items: start;
  }
}

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