.page-home {
  --home-cut: 16px;
  --home-line: rgba(16, 42, 76, 0.14);
  --home-ice-line: rgba(95, 224, 208, 0.34);
  display: block;
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;
}

.page-home .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.page-home a {
  color: inherit;
}

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

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

.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(120% 90% at 12% 0%, #16375f 0%, var(--polar) 58%, #06101f 100%);
}

.page-home .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}

.page-home .hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.85);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(95, 224, 208, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 224, 208, 0.1) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 88%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 88%);
  pointer-events: none;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(48px, 8vw, 92px);
  z-index: 2;
  background: var(--paper);
  clip-path: polygon(0 100%, 100% 26%, 100% 100%);
  pointer-events: none;
}

.page-home .hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 2.25rem;
  padding-block: clamp(1.75rem, 5vw, 3rem) clamp(5.5rem, 12vw, 7.5rem);
}

.page-home .hero .crumbs__link,
.page-home .hero .crumbs__sep,
.page-home .hero .crumbs__item span {
  color: rgba(247, 243, 234, 0.72);
}

.page-home .hero .crumbs {
  margin-bottom: 1.25rem;
}

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

.page-home .hero h1 {
  margin: 0.65rem 0 0;
  font-size: clamp(2.05rem, 7.4vw, 4.15rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--paper);
  text-wrap: balance;
}

.page-home .hero-lede {
  max-width: 34em;
  margin: 1.15rem 0 0;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(247, 243, 234, 0.84);
}

.page-home .hero-points {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.page-home .hero-points li {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-size: 0.94rem;
  line-height: 1.65;
  color: rgba(247, 243, 234, 0.9);
  padding-left: 0.85rem;
  border-left: 2px solid var(--home-ice-line);
}

.page-home .hero-points .mono {
  flex: none;
  font-size: 0.78rem;
  color: var(--signal);
}

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

.page-home .hero a:focus-visible,
.page-home .help a:focus-visible,
.page-home .who-facts a:focus-visible {
  outline-color: var(--ice);
}

/* ---------- 首屏入口卡 ---------- */

.page-home .hero-cards {
  display: grid;
  gap: 1rem;
}

.page-home .entry-card {
  position: relative;
  display: block;
  text-decoration: none;
  padding: 1.1rem 1.15rem 1.25rem;
  color: var(--paper);
  background: linear-gradient(158deg, var(--night), rgba(10, 27, 51, 0.94));
  border: 1px solid var(--home-ice-line);
  border-top: 3px solid var(--ice);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), background 0.22s var(--ease);
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--ice);
  background: linear-gradient(158deg, #17395f, var(--night));
}

.page-home .entry-card__media {
  margin: 0 0 0.95rem;
  overflow: hidden;
  border: 1px solid rgba(95, 224, 208, 0.22);
}

.page-home .entry-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 0.9;
}

.page-home .entry-card__idx {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--signal);
}

.page-home .entry-card h2 {
  margin: 0.3rem 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.page-home .entry-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(247, 243, 234, 0.78);
}

.page-home .entry-card__go {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ice);
}

.page-home .entry-card--sub {
  border-top-color: var(--signal);
}

.page-home .entry-card--sub h2 {
  font-size: 1.08rem;
}

@media (min-width: 900px) {
  .page-home .hero-inner {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: 3rem;
    align-items: center;
  }

  .page-home .entry-card--main {
    width: 94%;
  }

  .page-home .entry-card--sub {
    width: 88%;
    margin-left: auto;
    margin-top: -0.35rem;
  }
}

/* ---------- 01–04 索引条 ---------- */

.page-home .idx {
  padding-block: clamp(2.5rem, 6vw, 4.25rem);
  background: var(--paper);
  border-bottom: 1px solid var(--home-line);
}

.page-home .idx-head {
  max-width: 42rem;
}

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

.page-home .idx h2 {
  margin: 0.5rem 0 0.6rem;
  font-size: clamp(1.6rem, 4.4vw, 2.5rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.page-home .idx-lede {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.8;
  color: #46586b;
}

.page-home .idx-wrap {
  position: relative;
  margin-top: 2rem;
}

.page-home .idx-route {
  display: none;
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.page-home .idx-bar {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0 0 0.75rem;
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .idx-bar li {
  flex: 0 0 78%;
  scroll-snap-align: start;
}

.page-home .idx-item {
  display: block;
  height: 100%;
  text-decoration: none;
  padding: 1rem 1.05rem 1.2rem;
  background: var(--night);
  color: var(--paper);
  border: 1px solid transparent;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .idx-item:hover,
.page-home .idx-item:focus-visible {
  transform: translateY(-4px);
  background: var(--polar);
  border-color: var(--ice);
}

.page-home .idx-item__idx {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--signal);
}

.page-home .idx-item__title {
  display: block;
  margin-top: 0.6rem;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.page-home .idx-item__desc {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(247, 243, 234, 0.72);
}

.page-home .idx-figure {
  margin: 1.5rem 0 0;
}

.page-home .idx-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--home-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.page-home .idx-figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--mist);
}

@media (min-width: 760px) {
  .page-home .idx-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }

  .page-home .idx-bar li {
    flex: none;
  }

  .page-home .idx-route {
    display: block;
  }

  .page-home .idx-item {
    padding: 1.15rem 1.1rem 1.35rem;
  }
}

/* ---------- 更新时间 ---------- */

.page-home .update {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--paper);
}

.page-home .update-grid {
  display: grid;
  gap: 2rem;
}

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

.page-home .update h2 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(1.6rem, 4.4vw, 2.4rem);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.page-home .update-copy > p {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.85;
  color: #3c4d5f;
  max-width: 62ch;
}

.page-home .update-list {
  list-style: none;
  margin: 1.25rem 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.page-home .update-list li {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0.9rem;
  background: rgba(191, 247, 240, 0.32);
  border-left: 3px solid var(--ice);
  font-size: 0.9rem;
  line-height: 1.7;
  color: #33465a;
}

.page-home .update-list .mono {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--glacier);
}

.page-home .update-note {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #46586b;
}

.page-home .update-note a {
  color: var(--polar);
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-underline-offset: 3px;
}

.page-home .update-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

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

.page-home .update-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--home-line);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.page-home .update-figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--mist);
}

@media (min-width: 900px) {
  .page-home .update-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    gap: 3rem;
    align-items: center;
  }
}

/* ---------- 适用场景 ---------- */

.page-home .who {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(180deg, rgba(191, 247, 240, 0.5), rgba(247, 243, 234, 0) 72%), var(--paper);
  border-top: 1px solid var(--home-line);
}

.page-home .who-head {
  max-width: 40rem;
}

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

.page-home .who h2 {
  margin: 0.5rem 0 0.6rem;
  font-size: clamp(1.6rem, 4.4vw, 2.4rem);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.page-home .who-lede {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.8;
  color: #46586b;
}

.page-home .who-body {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

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

.page-home .who-list li {
  position: relative;
  padding: 0.95rem 1rem 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--home-line);
  border-left: 3px solid var(--ice);
  transition: transform 0.2s var(--ease), border-left-color 0.2s var(--ease);
}

.page-home .who-list li:hover {
  transform: translateY(-3px);
  border-left-color: var(--signal);
}

.page-home .who-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--polar);
}

.page-home .who-list p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #3c4d5f;
}

.page-home .who-facts {
  padding: 1.25rem 1.2rem 1.35rem;
  background: var(--polar);
  color: var(--paper);
  border-top: 3px solid var(--signal);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.page-home .who-facts__label {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--ice);
}

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

.page-home .facts__row {
  border-left: 1px solid var(--home-ice-line);
  padding-left: 0.65rem;
}

.page-home .facts__row dt {
  font-size: 0.76rem;
  line-height: 1.5;
  color: rgba(247, 243, 234, 0.66);
}

.page-home .facts__row dd {
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
  color: rgba(247, 243, 234, 0.92);
}

.page-home .facts__num {
  display: inline-block;
  margin-right: 0.2rem;
  font-size: 1.45rem;
  line-height: 1;
  color: var(--signal);
}

.page-home .who-facts__foot {
  margin: 1.1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(95, 224, 208, 0.22);
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(247, 243, 234, 0.76);
}

@media (min-width: 900px) {
  .page-home .who-body {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
    gap: 2rem;
    align-items: start;
  }

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

/* ---------- 咨询与帮助 ---------- */

.page-home .help {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--polar);
  color: var(--paper);
}

.page-home .help-grid {
  display: grid;
  gap: 1.75rem;
}

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

.page-home .help h2 {
  margin: 0.5rem 0 0.8rem;
  font-size: clamp(1.55rem, 4.4vw, 2.3rem);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.page-home .help-copy p {
  margin: 0 0 0.9rem;
  font-size: 0.96rem;
  line-height: 1.85;
  color: rgba(247, 243, 234, 0.82);
  max-width: 46em;
}

.page-home .help-note {
  font-size: 0.86rem;
  color: rgba(247, 243, 234, 0.62);
}

.page-home .help-cards {
  display: grid;
  gap: 0.85rem;
}

.page-home .help-card {
  display: block;
  text-decoration: none;
  padding: 1.15rem 1.2rem 1.25rem;
  background: var(--night);
  border: 1px solid var(--home-ice-line);
  border-bottom: 3px solid var(--ice);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-home .help-card:hover,
.page-home .help-card:focus-visible {
  transform: translateY(-4px);
  background: #17395f;
  border-color: var(--ice);
}

.page-home .help-card__idx {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--signal);
}

.page-home .help-card strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.06rem;
  letter-spacing: 0.03em;
  color: var(--paper);
}

.page-home .help-card__desc {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(247, 243, 234, 0.74);
}

@media (min-width: 860px) {
  .page-home .help-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2.5rem;
    align-items: center;
  }

  .page-home .help-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-card,
  .page-home .idx-item,
  .page-home .who-list li,
  .page-home .help-card {
    transition: background-color 0.2s linear, border-color 0.2s linear;
  }

  .page-home .entry-card:hover,
  .page-home .entry-card:focus-visible,
  .page-home .idx-item:hover,
  .page-home .idx-item:focus-visible,
  .page-home .who-list li:hover,
  .page-home .help-card:hover,
  .page-home .help-card:focus-visible {
    transform: none;
  }
}
