.page-home {
  --home-cut: 20px;
  --home-panel: rgba(12, 21, 51, .82);
  background: var(--ink-900);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-heading);
  letter-spacing: -.02em;
}

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

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

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(18px, 2.6vw, 30px) 0 clamp(40px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-home .home-hero__aura {
  position: absolute;
  top: -8%;
  right: -8%;
  width: min(86%, 1040px);
  z-index: -1;
  pointer-events: none;
  opacity: .4;
  -webkit-mask-image: linear-gradient(255deg, #000 0%, rgba(0, 0, 0, .55) 46%, transparent 86%);
  mask-image: linear-gradient(255deg, #000 0%, rgba(0, 0, 0, .55) 46%, transparent 86%);
}

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

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 52px);
  align-items: start;
}

.page-home .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--mauve);
}

.page-home .home-hero__title {
  margin: clamp(16px, 2.4vw, 26px) 0 0;
  max-width: 18ch;
  font-size: clamp(2rem, 5.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
}

.page-home .home-hero__title em {
  font-style: normal;
  color: var(--cyan);
}

.page-home .home-hero__intro {
  margin: clamp(16px, 2vw, 24px) 0 0;
  max-width: 44ch;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.85;
  color: var(--slate);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 32px);
}

.page-home .home-hero__chip {
  margin: clamp(18px, 2.4vw, 26px) 0 0;
}

.page-home .home-index {
  padding: clamp(16px, 2.2vw, 24px);
  background: linear-gradient(180deg, rgba(12, 21, 51, .94), rgba(7, 11, 26, .78));
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
}

.page-home .home-index__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.page-home .home-index__title {
  margin: 0;
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--cyan);
}

.page-home .home-index__meta {
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--mauve);
}

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

.page-home .home-index__item + .home-index__item {
  border-top: 1px solid var(--line);
}

.page-home .home-index__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  color: var(--white);
  text-decoration: none;
  transition: color .25s var(--ease), transform .25s var(--ease);
}

.page-home .home-index__link:hover,
.page-home .home-index__link:focus-visible {
  color: var(--cyan);
  transform: translateX(3px);
}

.page-home .home-index__num {
  font-size: 11.5px;
  color: var(--amber);
}

.page-home .home-index__text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.page-home .home-index__text em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--mauve);
}

.page-home .home-index__arrow {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--cyan);
}

/* ---------- 数据带 ---------- */
.page-home .home-band {
  position: relative;
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(38, 224, 255, .10), transparent 38%, transparent 62%, rgba(255, 177, 59, .10)),
    var(--ink-800);
  overflow: hidden;
}

.page-home .home-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: clamp(14px, 2.4vw, 32px);
}

.page-home .home-band__label {
  margin: 0;
  flex: 0 0 auto;
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--mauve);
}

.page-home .home-band__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  flex: 1 1 460px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-stat__value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.page-home .home-stat__label {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--slate);
}

/* ---------- 通用区块 ---------- */
.page-home .section {
  padding: clamp(46px, 7vw, 92px) 0;
}

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

.page-home .home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--cyan);
}

.page-home .home-kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.page-home .home-kicker__num {
  color: var(--amber);
}

.page-home .home-head h2 {
  margin: 14px 0 0;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.26;
  color: var(--white);
}

.page-home .home-head p {
  margin: 14px 0 0;
  max-width: 58ch;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--slate);
}

/* ---------- 筛选区 ---------- */
.page-home .home-filter__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3.4vw, 40px);
  margin-top: clamp(26px, 4vw, 44px);
}

.page-home .home-wall__label {
  margin: 0 0 14px;
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--mauve);
}

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

.page-home .home-chip {
  display: inline-block;
  padding: 7px 12px;
  font-size: 13px;
  line-height: 1.2;
  color: var(--slate);
  background: rgba(12, 21, 51, .72);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: color .2s var(--ease), box-shadow .2s var(--ease);
}

.page-home .home-chip:hover {
  color: var(--white);
  box-shadow: inset 0 0 0 1px var(--cyan);
}

.page-home .home-chip--key {
  color: var(--ink-900);
  background: var(--cyan);
  box-shadow: none;
  font-weight: 600;
}

.page-home .home-chip--hot {
  color: var(--ink-900);
  background: var(--amber);
  box-shadow: none;
  font-weight: 600;
}

.page-home .home-filter__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin-top: clamp(20px, 3vw, 30px);
  object-fit: cover;
  opacity: .9;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
}

.page-home .home-demo {
  position: relative;
  padding: clamp(16px, 2.2vw, 26px);
  background: linear-gradient(180deg, rgba(12, 21, 51, .95), rgba(7, 11, 26, .9));
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.page-home .home-demo .tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
}

.page-home .home-demo .tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 13.5px;
  padding: 8px 12px;
  cursor: pointer;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}

.page-home .home-demo .tab:hover {
  color: var(--white);
  border-color: var(--line);
}

.page-home .home-demo .tab[aria-selected="true"],
.page-home .home-demo .tab.is-active {
  color: var(--ink-900);
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 600;
}

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

.page-home .home-demo__combo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--cyan);
  background: rgba(38, 224, 255, .08);
  border-left: 2px solid var(--cyan);
}

.page-home .home-demo__combo .mono {
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--mauve);
}

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

.page-home .home-demo__list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--slate);
}

.page-home .home-demo__tag {
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--amber);
  box-shadow: inset 0 0 0 1px rgba(255, 177, 59, .42);
  white-space: nowrap;
}

/* ---------- 场景分隔图 ---------- */
.page-home .home-spectrum {
  position: relative;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-home .home-spectrum img {
  display: block;
  width: 100%;
  height: clamp(180px, 32vw, 340px);
  max-width: 100%;
  object-fit: cover;
  opacity: .72;
}

.page-home .home-spectrum figcaption {
  position: absolute;
  left: clamp(16px, 4vw, 48px);
  bottom: clamp(14px, 2.4vw, 26px);
  right: clamp(16px, 4vw, 48px);
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--white);
  text-shadow: 0 1px 12px rgba(7, 11, 26, .95);
}

/* ---------- 核心能力 ---------- */
.page-home .home-core__tabs {
  margin-top: clamp(26px, 4vw, 42px);
}

.page-home .home-core__tabs .tab-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
}

.page-home .home-core__tabs .tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 0;
  background: rgba(12, 21, 51, .62);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--slate);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}

.page-home .home-core__tabs .tab .mono {
  font-size: 11px;
  color: var(--amber);
}

.page-home .home-core__tabs .tab:hover {
  color: var(--white);
  box-shadow: inset 0 0 0 1px var(--cyan);
}

.page-home .home-core__tabs .tab[aria-selected="true"],
.page-home .home-core__tabs .tab.is-active {
  color: var(--white);
  background: linear-gradient(180deg, rgba(38, 224, 255, .16), rgba(12, 21, 51, .92));
  box-shadow: inset 0 0 0 1px var(--cyan), inset 0 2px 0 var(--cyan);
}

.page-home .home-core__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 38px);
  padding-top: clamp(20px, 3vw, 32px);
}

.page-home .home-core__copy h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
}

.page-home .home-core__copy > p {
  margin: 14px 0 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--slate);
}

.page-home .home-core__list {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-core__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate);
}

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

.page-home .home-core__copy .btn {
  margin-top: 22px;
}

.page-home .home-core__fig {
  padding: clamp(16px, 2.4vw, 22px);
  background: var(--home-panel);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.page-home .home-core__fig-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--mauve);
}

.page-home .home-core__big {
  margin: 10px 0 0;
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 6vw, 3.3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
}

.page-home .home-core__big small {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: .34em;
  font-weight: 500;
  color: var(--cyan);
}

.page-home .home-core__fig-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
}

.page-home .home-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 56px;
  margin-top: 18px;
}

.page-home .home-bars span {
  flex: 1 1 0;
  height: 32%;
  background: linear-gradient(180deg, var(--cyan), rgba(38, 224, 255, .18));
  transition: height .4s var(--ease);
}

.page-home .home-bars span:nth-child(2) { height: 54%; }
.page-home .home-bars span:nth-child(3) { height: 41%; }
.page-home .home-bars span:nth-child(4) { height: 72%; }
.page-home .home-bars span:nth-child(5) { height: 58%; }
.page-home .home-bars span:nth-child(6) { height: 88%; background: linear-gradient(180deg, var(--amber), rgba(255, 177, 59, .18)); }
.page-home .home-bars span:nth-child(7) { height: 66%; }
.page-home .home-bars span:nth-child(8) { height: 46%; }

/* ---------- 刷新节奏 ---------- */
.page-home .home-rhythm {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 21, 51, .55), transparent 70%);
}

.page-home .home-rhythm__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
}

.page-home .home-rhythm__intro h2 {
  margin: 14px 0 0;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--white);
}

.page-home .home-rhythm__intro p {
  margin: 14px 0 0;
  max-width: 40ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--slate);
}

.page-home .home-steps {
  margin: 0;
  padding: 0 0 0 22px;
  list-style: none;
  border-left: 1px solid var(--line);
}

.page-home .home-steps__item {
  position: relative;
  padding-bottom: 26px;
}

.page-home .home-steps__item:last-child {
  padding-bottom: 0;
}

.page-home .home-steps__item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 6px;
  width: 9px;
  height: 9px;
  background: var(--cyan);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.page-home .home-steps__value {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--amber);
}

.page-home .home-steps__item h3 {
  margin: 5px 0 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--white);
}

.page-home .home-steps__item p {
  margin: 7px 0 0;
  max-width: 46ch;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--slate);
}

/* ---------- 使用场景 ---------- */
.page-home .home-scene {
  border-top: 1px solid var(--line);
}

.page-home .home-scene__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.page-home .home-scene__media {
  margin: 0;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

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

.page-home .home-scene__copy h2 {
  margin: 14px 0 0;
  font-size: clamp(1.55rem, 3.4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
}

.page-home .home-scene__copy > p {
  margin: 14px 0 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--slate);
}

.page-home .home-scene__list {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-scene__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate);
}

.page-home .home-scene__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 10px;
  height: 1px;
  background: var(--amber);
}

.page-home .home-scene__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* ---------- 下一步 ---------- */
.page-home .home-next {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(12, 21, 51, .62));
}

.page-home .home-next__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: clamp(24px, 3.4vw, 38px);
}

.page-home .home-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.4vw, 26px);
  color: var(--white);
  text-decoration: none;
  background: linear-gradient(180deg, rgba(12, 21, 51, .92), rgba(7, 11, 26, .86));
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.page-home .home-card:hover,
.page-home .home-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px var(--cyan);
}

.page-home .home-card__num {
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--amber);
}

.page-home .home-card h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.page-home .home-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--slate);
}

.page-home .home-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--cyan);
}

.page-home .home-next__foot {
  margin: clamp(22px, 3vw, 32px) 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--slate);
}

.page-home .home-next__foot a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(38, 224, 255, .4);
}

.page-home .home-next__foot a:hover {
  border-bottom-color: var(--cyan);
}

.page-home .home-next__foot .mono {
  color: var(--white);
  font-size: 13px;
}

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

@media (min-width: 760px) {
  .page-home .home-core__tabs .tab-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}

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

@media (min-width: 880px) {
  .page-home .home-core__panel {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
  }
}

@media (min-width: 940px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: clamp(32px, 5vw, 72px);
  }

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

  .page-home .home-rhythm__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: clamp(32px, 5vw, 64px);
  }
}

@media (min-width: 960px) {
  .page-home .home-scene__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-index__link,
  .page-home .home-card,
  .page-home .home-chip,
  .page-home .home-bars span,
  .page-home .home-demo .tab,
  .page-home .home-core__tabs .tab {
    transition: none;
  }

  .page-home .home-index__link:hover,
  .page-home .home-card:hover {
    transform: none;
  }
}
