.page-home {
  --home-card-pad: clamp(1.1rem, 2.6vw, 1.9rem);
  --home-gap: clamp(1rem, 2.6vw, 1.75rem);
  background-color: var(--sea);
  color: var(--paper);
  overflow-x: hidden;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.page-home .home-crumb {
  padding: clamp(.9rem, 2.2vw, 1.4rem) 0 0;
  margin: 0;
  font-size: var(--fs-small);
}

.page-home .home-crumb a {
  color: var(--sand);
  text-decoration: none;
}

.page-home .home-crumb a:hover {
  color: var(--cyan);
}

.page-home .home-crumb .breadcrumb__item[aria-current="page"] {
  color: rgba(247, 244, 236, .58);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(1rem, 3vw, 1.75rem) 0 clamp(2.25rem, 5.5vw, 4rem);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: -18% -12% 0 -12%;
  background:
    linear-gradient(102deg, var(--sea-lift) 0 44%, transparent 44%),
    linear-gradient(78deg, transparent 0 64%, rgba(61, 224, 208, .10) 64%);
  pointer-events: none;
  z-index: -2;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(247, 244, 236, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(247, 244, 236, .07) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: linear-gradient(118deg, #000 0%, transparent 68%);
  mask-image: linear-gradient(118deg, #000 0%, transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}

.page-home .home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  font-size: var(--fs-small);
  letter-spacing: .14em;
  color: var(--sand);
}

.page-home .home-hero__title {
  margin: .7rem 0 0;
  font-family: var(--font-sans);
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.035em;
  color: var(--paper);
}

.page-home .home-hero__lead {
  margin: 1rem 0 0;
  max-width: 40ch;
  font-size: var(--fs-body);
  line-height: 1.85;
  color: rgba(247, 244, 236, .8);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: clamp(1.1rem, 2.6vw, 1.6rem);
}

.page-home .home-kpis {
  list-style: none;
  margin: clamp(1.4rem, 3.2vw, 2.2rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(233, 226, 208, .18);
  border: 1px solid rgba(233, 226, 208, .18);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.page-home .home-kpi {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .8rem .85rem;
  background: rgba(6, 40, 61, .78);
}

.page-home .home-kpi__num {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--cyan);
}

.page-home .home-kpi__label {
  font-size: .75rem;
  line-height: 1.5;
  color: rgba(247, 244, 236, .74);
}

.page-home .home-hero__media {
  position: relative;
}

.page-home .home-hero__media::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -14px;
  height: 62%;
  border: 1px solid rgba(255, 107, 74, .55);
  border-radius: var(--r-card);
  pointer-events: none;
}

.page-home .media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--r-sm);
}

.page-home .home-hero__media .media__caption {
  color: rgba(247, 244, 236, .66);
  font-size: .75rem;
  letter-spacing: .02em;
}

/* ---------- 章节骨架 ---------- */
.page-home .home-sec {
  position: relative;
  padding: clamp(2rem, 5vw, 3.5rem) 0 0;
}

.page-home .home-sec-index {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 .55rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .16em;
  color: var(--cyan);
}

.page-home .home-sec-index::after {
  content: "";
  flex: 0 1 110px;
  height: 1px;
  background: rgba(61, 224, 208, .38);
}

.page-home .home-sec-title {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-home .home-sec-lead {
  margin: .7rem 0 0;
  max-width: 62ch;
  font-size: var(--fs-body);
  line-height: 1.85;
  color: rgba(247, 244, 236, .78);
}

/* ---------- 快速入口 ---------- */
.page-home .home-quick__list {
  list-style: none;
  margin: clamp(1.2rem, 3vw, 2rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: .8rem;
}

.page-home .home-quick__item {
  display: block;
  height: 100%;
  padding: 1rem 1.05rem 1.1rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(11, 59, 92, .18);
  border-radius: var(--r-card);
  box-shadow: 6px 6px 0 -1px rgba(233, 226, 208, .5);
  text-decoration: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.page-home .home-quick__item:hover {
  transform: translate(-2px, -2px);
  background: #fff;
  box-shadow: 9px 9px 0 -1px var(--cyan);
}

.page-home .home-quick__item:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(61, 224, 208, .45);
}

.page-home .home-quick__no {
  display: block;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--stone);
}

.page-home .home-quick__name {
  display: block;
  margin: .38rem 0 .3rem;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--sea);
}

.page-home .home-quick__desc {
  display: block;
  font-size: .875rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.page-home .home-quick__flag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .7rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--teal);
}

/* ---------- 登录与下载 ---------- */
.page-home .home-split__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  align-items: start;
  margin-top: clamp(1.2rem, 3vw, 2rem);
}

.page-home .home-split__grid > * {
  min-width: 0;
}

.page-home .home-download {
  padding: var(--home-card-pad);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(11, 59, 92, .14);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-paper);
}

.page-home .home-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .28rem .62rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(11, 59, 92, .2);
  background: var(--sand);
  color: var(--sea);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.page-home .home-chip--dark {
  background: rgba(61, 224, 208, .12);
  border-color: rgba(61, 224, 208, .42);
  color: var(--cyan);
}

.page-home .home-download__title {
  margin: .9rem 0 0;
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--sea);
}

.page-home .home-download__media {
  margin: 1rem 0 0;
}

.page-home .home-download__media .media__caption {
  color: var(--stone);
  font-size: .75rem;
}

.page-home .home-download__fields {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: .6rem;
}

.page-home .home-download__field {
  display: grid;
  grid-template-columns: 4.6rem 1fr;
  gap: .55rem;
  align-items: baseline;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-home .home-download__key {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
  color: var(--sea);
  letter-spacing: .02em;
}

.page-home .home-download__note {
  margin: 1.05rem 0 1.15rem;
  padding: .75rem .85rem;
  border-left: 3px solid var(--amber);
  background: rgba(233, 226, 208, .5);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .85rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-home .home-login {
  padding: var(--home-card-pad);
  background: linear-gradient(158deg, rgba(6, 40, 61, .96), rgba(14, 74, 115, .92));
  border: 1px solid rgba(61, 224, 208, .26);
  border-radius: var(--r-card);
  min-width: 0;
}

.page-home .home-login__title {
  margin: 0;
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1.4;
  color: var(--paper);
}

.page-home .home-login__lead {
  margin: .6rem 0 1rem;
  font-size: .875rem;
  line-height: 1.8;
  color: rgba(247, 244, 236, .76);
}

.page-home .home-login__path {
  padding: .85rem .9rem;
  border: 1px solid rgba(233, 226, 208, .16);
  border-radius: var(--r-sm);
  background: rgba(4, 27, 42, .5);
}

.page-home .home-login__path + .home-login__path {
  margin-top: .7rem;
}

.page-home .home-login__summary {
  display: flex;
  align-items: center;
  gap: .5rem;
  list-style: none;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 700;
  color: var(--paper);
}

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

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

.page-home .home-login__path[open] .home-login__summary::after {
  content: "–";
}

.page-home .home-login__summary:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(61, 224, 208, .38);
}

.page-home .home-login__steps {
  margin: .7rem 0 0;
  padding-left: 1.1rem;
  font-size: .85rem;
  line-height: 1.8;
  color: rgba(247, 244, 236, .78);
}

.page-home .home-login__steps li + li {
  margin-top: .3rem;
}

.page-home .home-login__media {
  margin: 1.1rem 0 0;
}

.page-home .home-login__media .media__caption {
  color: rgba(247, 244, 236, .62);
  font-size: .75rem;
}

.page-home .home-login__more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--cyan);
  font-size: .85rem;
}

/* ---------- 变更时间线 ---------- */
.page-home .home-changes {
  margin-top: clamp(2.25rem, 5.5vw, 4rem);
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  background: linear-gradient(180deg, var(--navy), var(--navy-deep));
  border-top: 1px solid rgba(61, 224, 208, .18);
  border-bottom: 1px solid rgba(61, 224, 208, .18);
}

.page-home .home-changes__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.3rem, 3vw, 2.2rem);
  align-items: start;
}

.page-home .home-changes__more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--cyan);
  font-size: .85rem;
}

.page-home .home-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.25rem;
  border-left: 1px solid rgba(61, 224, 208, .32);
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.6rem);
}

.page-home .home-timeline__item {
  position: relative;
}

.page-home .home-timeline__item::before {
  content: "";
  position: absolute;
  left: -1.25rem;
  top: .5rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(61, 224, 208, .16);
}

.page-home .home-timeline__item:first-child::before {
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 107, 74, .18);
}

.page-home .home-timeline__when {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: rgba(247, 244, 236, .6);
}

.page-home .home-timeline__title {
  margin: .35rem 0 .3rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--paper);
}

.page-home .home-timeline__desc {
  margin: 0;
  font-size: .85rem;
  line-height: 1.75;
  color: rgba(247, 244, 236, .74);
}

.page-home .home-timeline__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: .6rem 0 0;
}

.page-home .home-timeline__eff {
  font-family: var(--font-mono);
  font-size: .72rem;
  line-height: 1.6;
  color: rgba(247, 244, 236, .58);
}

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

.page-home .home-changes__figure .media__caption {
  color: rgba(247, 244, 236, .6);
  font-size: .75rem;
}

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

.page-home .home-changes__back a {
  color: var(--sand);
  font-size: .85rem;
}

.page-home .home-changes__back a:hover {
  color: var(--cyan);
}

/* ---------- 服务支持 ---------- */
.page-home .home-support__box {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.2rem, 3vw, 2rem);
  padding: var(--home-card-pad);
  background: var(--sand);
  color: var(--ink);
  border: 1px solid rgba(11, 59, 92, .18);
  border-radius: var(--r-card);
  box-shadow: 10px 10px 0 -1px rgba(4, 27, 42, .5);
}

.page-home .home-support__box .home-sec-index {
  color: var(--teal);
}

.page-home .home-support__box .home-sec-index::after {
  background: rgba(31, 157, 139, .4);
}

.page-home .home-support__box .home-sec-title {
  color: var(--sea);
}

.page-home .home-support__box .home-sec-lead {
  color: var(--ink-soft);
}

.page-home .home-contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  padding: .7rem 0;
  border-bottom: 1px dashed rgba(11, 59, 92, .22);
}

.page-home .home-contact-row:first-of-type {
  margin-top: 1rem;
  border-top: 1px dashed rgba(11, 59, 92, .22);
}

.page-home .home-contact-label {
  min-width: 4.4rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--stone);
}

.page-home .home-contact-value {
  font-family: var(--font-mono);
  font-size: .875rem;
  line-height: 1.6;
  color: var(--ink);
  word-break: break-word;
}

.page-home .home-contact-hint {
  flex-basis: 100%;
  font-size: .78rem;
  line-height: 1.65;
  color: var(--stone);
}

.page-home .home-copy {
  font-size: .75rem;
  padding: .35rem .75rem;
}

.page-home .home-copy-status {
  display: block;
  min-height: 1.2em;
  margin: .5rem 0 0;
  font-size: .78rem;
  color: var(--teal);
}

.page-home .home-support__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: .9rem;
}

.page-home .home-support__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: .6rem;
  align-content: start;
}

.page-home .home-fact {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  padding: .7rem .85rem;
  background: rgba(247, 244, 236, .74);
  border: 1px solid rgba(11, 59, 92, .14);
  border-radius: var(--r-sm);
}

.page-home .home-fact__num {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sea);
  white-space: nowrap;
}

.page-home .home-fact__text {
  font-size: .82rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- 响应式 ---------- */
@media (min-width: 560px) {
  .page-home .home-quick__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: 1.05fr .95fr;
  }

  .page-home .home-split__grid {
    grid-template-columns: 1.35fr 1fr;
  }

  .page-home .home-changes__inner {
    grid-template-columns: 1.1fr .9fr;
  }

  .page-home .home-changes__head {
    grid-column: 1 / -1;
  }

  .page-home .home-support__box {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

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

  .page-home .home-hero__media {
    margin-top: -1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-quick__item {
    transition: none;
  }

  .page-home .home-quick__item:hover {
    transform: none;
  }
}
