.page-home {
  --home-gap: clamp(16px, 2.4vw, 28px);
  --home-block-pad: clamp(56px, 8vw, 104px);
  background: var(--sand);
  color: var(--ink);
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(40px, 8vw, 88px)) 0 clamp(52px, 7vw, 92px);
  background:
    radial-gradient(120% 92% at 50% -12%, #16334f 0%, var(--ink) 46%, var(--ink-deep) 100%);
  color: var(--smoke);
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: .34;
  filter: saturate(.62) contrast(1.08);
}

.page-home .hero-glow {
  position: absolute;
  inset: -22% -12% -12% -12%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(46% 52% at 18% 4%, rgba(255, 107, 26, .45), transparent 62%),
    radial-gradient(50% 48% at 84% 12%, rgba(46, 111, 142, .55), transparent 66%),
    conic-gradient(from 210deg at 70% -10%, rgba(124, 58, 237, .4), transparent 38%);
  mix-blend-mode: screen;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(248, 250, 252, .05) 0 1px, transparent 1px 68px);
}

.page-home .hero-inner {
  position: relative;
  z-index: 2;
}

.page-home .hero-context {
  margin: 0 0 clamp(24px, 4vw, 46px);
}

.page-home .hero-context ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
}

.page-home .hero-context a {
  color: rgba(248, 250, 252, .6);
  text-decoration: none;
}

.page-home .hero-context a:hover {
  color: var(--gold);
}

.page-home .hero-context li + li::before {
  content: "/";
  margin-right: .55rem;
  color: rgba(248, 250, 252, .28);
}

.page-home .hero-context li[aria-current] {
  color: var(--gold);
}

.page-home .hero-grid {
  display: grid;
  gap: clamp(32px, 5vw, 60px);
}

.page-home .hero-anchor {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.4rem;
  padding: .45rem .85rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--gold);
  text-decoration: none;
  background: rgba(212, 166, 74, .08);
  border: 1px solid rgba(212, 166, 74, .4);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
}

.page-home .hero-anchor:hover {
  color: var(--smoke);
  background: rgba(212, 166, 74, .2);
}

.page-home .hero-title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.1rem, 9.5vw, 6rem);
  line-height: .98;
  letter-spacing: -.022em;
}

.page-home .hero-title__main {
  display: block;
  color: var(--smoke);
}

.page-home .hero-title__accent {
  display: block;
  background: linear-gradient(96deg, var(--spot) 0%, var(--gold) 46%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .hero-lede {
  max-width: 46ch;
  margin: 1.6rem 0 0;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.78;
  color: rgba(248, 250, 252, .78);
}

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

.page-home .hero-card {
  margin: 0;
  padding: 10px;
  background: rgba(11, 27, 51, .55);
  border: 1px solid rgba(212, 166, 74, .32);
  backdrop-filter: blur(8px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

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

.page-home .hero-card__caption {
  margin-top: .8rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  color: rgba(212, 166, 74, .9);
}

/* ---------- 服务清单 ---------- */
.page-home .services-strip {
  padding: var(--home-block-pad) 0;
  background: var(--sand);
}

.page-home .strip-head {
  display: grid;
  gap: .85rem;
  max-width: 62ch;
  margin-bottom: clamp(30px, 4.4vw, 54px);
}

.page-home h2 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.7rem, 4.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.015em;
}

.page-home .strip-lede,
.page-home .axis-lede {
  margin: 0;
  font-size: 1rem;
  line-height: 1.78;
  color: var(--gray);
}

.page-home .service-ledger {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .ledger-item {
  display: grid;
  gap: .5rem;
  align-content: start;
  padding: clamp(20px, 2.4vw, 30px);
  background: var(--sand);
  transition: background-color .3s var(--ease);
}

.page-home .ledger-item:hover {
  background: #fbf4e6;
}

.page-home .ledger-no {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--ochre);
}

.page-home .ledger-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.14rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.page-home .ledger-name:hover {
  border-bottom-color: var(--spot);
}

.page-home .ledger-desc {
  margin: 0;
  font-size: .92rem;
  line-height: 1.7;
  color: var(--gray);
}

/* ---------- 分类标签对照轴 ---------- */
.page-home .tag-axis {
  position: relative;
  overflow: hidden;
  padding: var(--home-block-pad) 0;
  background: linear-gradient(165deg, var(--ink) 0%, #0d2444 58%, var(--ink-deep) 100%);
  color: var(--smoke);
}

.page-home .axis-glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 72%;
  pointer-events: none;
  background:
    radial-gradient(48% 70% at 30% 0%, rgba(255, 107, 26, .28), transparent 65%),
    radial-gradient(46% 66% at 82% 12%, rgba(46, 111, 142, .42), transparent 66%);
  mix-blend-mode: screen;
}

.page-home .tag-axis .container {
  position: relative;
  z-index: 2;
}

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

.page-home .axis-head {
  display: grid;
  gap: .85rem;
  max-width: 64ch;
  margin-bottom: clamp(30px, 4.4vw, 54px);
}

.page-home .tag-axis .axis-lede {
  color: rgba(248, 250, 252, .68);
}

.page-home .axis-grid {
  display: grid;
  gap: clamp(28px, 4vw, 54px);
}

.page-home .axis-steps {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(248, 250, 252, .14);
  border: 1px solid rgba(248, 250, 252, .14);
}

.page-home .axis-step {
  display: grid;
  gap: .38rem;
  padding: clamp(18px, 2.2vw, 26px);
  background: rgba(7, 13, 24, .62);
}

.page-home .step-no {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  color: var(--gold);
}

.page-home .step-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.04rem;
  color: var(--smoke);
}

.page-home .step-text {
  margin: 0;
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(248, 250, 252, .64);
}

.page-home .cloud-hint,
.page-home .cloud-foot {
  margin: 0;
  font-size: .88rem;
  line-height: 1.7;
  color: rgba(248, 250, 252, .62);
}

.page-home .cloud-foot {
  margin-top: 1.4rem;
}

.page-home .cloud-foot a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 166, 74, .5);
}

.page-home .cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .cloud-tag {
  padding: .5rem .85rem;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .06em;
  color: rgba(248, 250, 252, .86);
  background: rgba(248, 250, 252, .05);
  border: 1px solid rgba(248, 250, 252, .2);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
  transition: transform .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), background-color .25s var(--ease);
}

.page-home .cloud-tag:nth-child(3n) {
  border-color: rgba(184, 92, 56, .6);
}

.page-home .cloud-tag:nth-child(4n) {
  border-color: rgba(46, 111, 142, .7);
}

.page-home .cloud-tag:nth-child(7n + 1) {
  font-size: .88rem;
  padding: .58rem 1rem;
}

.page-home .cloud-tag:hover {
  transform: translateY(-3px) scale(1.05);
  color: var(--gold);
  background: rgba(212, 166, 74, .12);
  border-color: var(--gold);
}

/* ---------- 跨设备定位 ---------- */
.page-home .device-block {
  padding: var(--home-block-pad) 0;
  background: var(--sand);
}

.page-home .device-grid {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.page-home .device-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}

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

.page-home .device-copy h2 {
  margin-top: .7rem;
}

.page-home .device-copy p {
  margin: 1.1rem 0 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #3b4a5e;
}

.page-home .device-list {
  display: grid;
  gap: .85rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .device-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .96rem;
  line-height: 1.72;
  color: #33455c;
}

.page-home .device-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .62rem;
  height: .62rem;
  background: var(--spot);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

/* ---------- V3 资料下载 ---------- */
.page-home .v3-block {
  position: relative;
  overflow: hidden;
  padding: var(--home-block-pad) 0;
  background: radial-gradient(115% 120% at 100% 0%, #123458 0%, var(--ink) 48%, var(--ink-deep) 100%);
  color: var(--smoke);
}

.page-home .v3-grid {
  display: grid;
  gap: clamp(30px, 4.4vw, 58px);
}

.page-home .v3-copy h2 {
  margin-top: .7rem;
}

.page-home .v3-copy > p {
  margin: 1.1rem 0 0;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(248, 250, 252, .74);
}

.page-home .pack-list {
  display: grid;
  gap: 1px;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
  background: rgba(248, 250, 252, .14);
  border: 1px solid rgba(248, 250, 252, .14);
}

.page-home .pack-item {
  display: grid;
  gap: .38rem;
  padding: clamp(16px, 2vw, 22px);
  background: rgba(7, 13, 24, .66);
}

.page-home .pack-item strong {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--smoke);
}

.page-home .pack-item span {
  font-size: .88rem;
  line-height: 1.68;
  color: rgba(248, 250, 252, .62);
}

.page-home .v3-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.9rem;
}

.page-home .v3-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(212, 166, 74, .38);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

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

/* ---------- 更新记录 ---------- */
.page-home .updates-block {
  padding: var(--home-block-pad) 0;
  background: #ece0c9;
}

.page-home .updates-grid {
  display: grid;
  gap: clamp(32px, 4.4vw, 58px);
}

.page-home .updates-copy h2 {
  margin-top: .7rem;
}

.page-home .updates-copy > p {
  margin: 1.1rem 0 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #43536a;
}

.page-home .entry-list {
  display: grid;
  gap: 1px;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .entry-item {
  display: grid;
  gap: .35rem;
  padding: clamp(16px, 2vw, 22px);
  background: #f6ecd8;
}

.page-home .entry-no {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--azurite);
}

.page-home .entry-item strong {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--ink);
}

.page-home .entry-item p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--gray);
}

.page-home .text-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .08em;
  color: var(--ochre);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 92, 56, .45);
}

.page-home .text-link:hover {
  color: var(--spot);
  border-bottom-color: var(--spot);
}

.page-home .rail-title {
  margin: 0 0 1.3rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .16em;
  color: var(--gray);
}

.page-home .rail {
  position: relative;
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0 0 0 1.7rem;
  list-style: none;
}

.page-home .rail::before {
  content: "";
  position: absolute;
  left: .34rem;
  top: .45rem;
  bottom: .45rem;
  width: 2px;
  background: linear-gradient(180deg, var(--ochre), var(--azurite) 58%, var(--gold));
}

.page-home .rail-item {
  position: relative;
  display: grid;
  gap: .3rem;
}

.page-home .rail-item::before {
  content: "";
  position: absolute;
  left: -1.7rem;
  top: .32rem;
  width: .68rem;
  height: .68rem;
  background: #ece0c9;
  border: 2px solid var(--ochre);
  border-radius: 50%;
}

.page-home .rail-ver {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
}

.page-home .rail-item p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.72;
  color: var(--gray);
}

/* ---------- 咨询 ---------- */
.page-home .ask-block {
  position: relative;
  overflow: hidden;
  padding: var(--home-block-pad) 0 calc(var(--home-block-pad) + 12px);
  background: var(--ink-deep);
  color: var(--smoke);
}

.page-home .ask-block::after {
  content: "";
  position: absolute;
  inset: auto -10% -55% 26%;
  height: 80%;
  pointer-events: none;
  background: radial-gradient(50% 62% at 50% 100%, rgba(255, 107, 26, .34), transparent 70%);
}

.page-home .ask-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}

.page-home .ask-copy h2 {
  margin-top: .7rem;
}

.page-home .ask-copy p {
  margin: 1.1rem 0 1.8rem;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(248, 250, 252, .74);
}

.page-home .contact-card {
  padding: clamp(22px, 2.8vw, 34px);
  background: rgba(11, 27, 51, .62);
  border: 1px solid rgba(248, 250, 252, .16);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.page-home .ask-contact {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.page-home .contact-row {
  display: grid;
  gap: .22rem;
}

.page-home .contact-row dt {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  color: var(--gold);
}

.page-home .contact-row dd {
  margin: 0;
  font-size: .98rem;
  line-height: 1.6;
  color: rgba(248, 250, 252, .88);
  word-break: break-word;
}

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

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

@media (min-width: 900px) {
  .page-home .device-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .page-home .updates-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-home .ask-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  }
}

@media (min-width: 980px) {
  .page-home .axis-grid {
    grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr);
  }

  .page-home .v3-grid {
    grid-template-columns: minmax(0, 6.4fr) minmax(0, 5.6fr);
    align-items: center;
  }
}

@media (min-width: 1000px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 6.4fr) minmax(0, 5.6fr);
    align-items: center;
  }
}

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

  .page-home .hero-copy {
    padding-right: 1.5rem;
  }
}

@media (max-width: 420px) {
  .page-home .hero-actions .btn,
  .page-home .v3-actions .btn {
    flex: 1 1 100%;
    text-align: center;
  }

  .page-home .cloud-tag {
    font-size: .72rem;
    padding: .45rem .72rem;
  }
}
