.page-home {
  --ph-gap: clamp(18px, 3.2vw, 40px);
  --ph-panel: #11283C;
  --ph-panel-2: #162F47;
  background: var(--ink-800);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-head);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

.page-home p {
  margin: 0;
  line-height: 1.85;
}

.page-home .eyebrow {
  color: var(--cyan);
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  padding: clamp(52px, 9vw, 112px) 0 clamp(46px, 7vw, 92px);
  background: var(--ink-800);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 82% 18%, rgba(124, 77, 255, 0.28), transparent 70%),
    radial-gradient(45% 45% at 12% 78%, rgba(0, 229, 255, 0.16), transparent 72%),
    linear-gradient(180deg, rgba(6, 18, 31, 0.1), var(--ink-800) 88%);
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

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

.page-home .hero__lead {
  max-width: 40ch;
}

.page-home .hero .breadcrumb {
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-home .hero .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.page-home .hero .breadcrumb a:hover,
.page-home .hero .breadcrumb a:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.page-home .hero__lead h1 {
  font-size: clamp(2.3rem, 7.2vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-bottom: 22px;
  background: linear-gradient(102deg, #EAF7FF 38%, #00E5FF 78%, #B39DFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .hero__intro {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--muted);
  max-width: 46ch;
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}

.page-home .hero__note {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.page-home .hero__note::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--orange);
}

.page-home .hero__rail {
  display: grid;
  gap: 12px;
}

.page-home .pathcard {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 18px 18px 18px 16px;
  background: linear-gradient(160deg, rgba(22, 47, 71, 0.92), rgba(17, 40, 60, 0.72));
  border: 1px solid var(--line);
  border-left: 2px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: border-color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.page-home .pathcard:hover,
.page-home .pathcard:focus-visible {
  border-left-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -18px rgba(0, 229, 255, 0.7);
}

.page-home .pathcard__num {
  font-size: 11px;
  color: var(--cyan);
  padding-top: 3px;
}

.page-home .pathcard__body {
  display: block;
  min-width: 0;
}

.page-home .pathcard__title {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}

.page-home .pathcard__text {
  display: block;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .pathcard__arrow {
  color: var(--muted);
  font-size: 15px;
  padding-top: 2px;
  transition: color 160ms var(--ease), transform 160ms var(--ease);
}

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

/* ---------- 通用区块 ---------- */
.page-home .section {
  padding: clamp(56px, 8vw, 104px) 0;
}

.page-home .section__head h2 {
  font-size: clamp(1.65rem, 3.6vw, 2.55rem);
  font-weight: 800;
  max-width: 28ch;
}

/* ---------- 入口位置 ---------- */
.page-home .entry {
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--ink-900), var(--ink-800));
}

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

.page-home .entry__main h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 18px;
  max-width: 22ch;
}

.page-home .entry__text {
  color: var(--muted);
  font-size: 15.5px;
  margin-bottom: 14px;
  max-width: 62ch;
}

.page-home .entry__main .btn {
  margin-top: 10px;
}

.page-home .entry__figure {
  margin: 0;
  display: grid;
  gap: 10px;
}

.page-home .entry__img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ph-panel);
  aspect-ratio: 5 / 3;
}

.page-home .entry__cap {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .entry__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  align-content: start;
}

.page-home .entry__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}

.page-home .entry__item:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.page-home .entry__item-num {
  font-size: 11px;
  color: var(--violet-soft);
  padding-top: 3px;
}

.page-home .entry__item-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
}

/* ---------- 新版栏目 ---------- */
.page-home .channels {
  background: var(--ink-800);
  border-top: 1px solid var(--line-soft);
}

.page-home .channels__head {
  margin-bottom: clamp(26px, 4vw, 46px);
}

.page-home .channels__desc {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 64ch;
}

.page-home .channels__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .channel {
  position: relative;
  padding: 24px 22px 22px;
  background: var(--ph-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}

.page-home .channel::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(124, 77, 255, 0));
  opacity: 0;
  transition: opacity 180ms var(--ease);
}

.page-home .channel:hover {
  border-color: rgba(0, 229, 255, 0.5);
  background: var(--ph-panel-2);
}

.page-home .channel:hover::after {
  opacity: 1;
}

.page-home .channel__num {
  display: block;
  font-size: 11px;
  color: var(--violet-soft);
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}

.page-home .channel__title {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-home .channel__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 16px;
}

.page-home .channel__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, 0.35);
  padding-bottom: 2px;
  transition: border-color 160ms var(--ease), color 160ms var(--ease);
}

.page-home .channel__link:hover,
.page-home .channel__link:focus-visible {
  color: #EAF7FF;
  border-bottom-color: var(--orange);
}

/* ---------- 资源磁贴 ---------- */
.page-home .resources {
  background: linear-gradient(180deg, var(--ink-900), #08192A);
  border-top: 1px solid var(--line-soft);
}

.page-home .resources__head {
  margin-bottom: clamp(24px, 3.6vw, 44px);
}

.page-home .tiles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.page-home .tile {
  padding: 22px 20px 20px;
  background: var(--ph-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px -34px rgba(0, 0, 0, 0.9);
  transition: border-color 180ms var(--ease), transform 180ms var(--ease);
}

.page-home .tile:hover {
  border-color: rgba(124, 77, 255, 0.55);
  transform: translateY(-3px);
}

.page-home .tile .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  padding: 4px 9px;
  border-radius: 2px;
  border: 1px solid currentColor;
  margin-bottom: 14px;
}

.page-home .tile__name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-home .tile__desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 18px;
}

.page-home .tile__spec {
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-soft);
}

.page-home .tile__row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .tile__key {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  padding-top: 3px;
}

.page-home .tile__val {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
}

.page-home .resources__foot {
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--muted);
}

.page-home .resources__link {
  color: var(--violet-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(179, 157, 255, 0.4);
}

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

/* ---------- 帮助中心 ---------- */
.page-home .help {
  background: var(--ink-800);
  border-top: 1px solid var(--line-soft);
}

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

.page-home .help__body h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 18px;
  max-width: 22ch;
}

.page-home .help__text {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 14px;
  max-width: 60ch;
}

.page-home .help__figure {
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}

.page-home .help__img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ph-panel);
}

.page-home .help__cap {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .help__aside {
  position: static;
}

.page-home .helpcard {
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(22, 47, 71, 0.78);
  backdrop-filter: blur(6px);
}

.page-home .helpcard__head {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--orange);
  margin-bottom: 8px;
}

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

.page-home .helpcard__summary {
  cursor: pointer;
  list-style: none;
  padding: 13px 26px 13px 0;
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: color 160ms var(--ease);
}

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

.page-home .helpcard__summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 11px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--cyan);
  transition: transform 160ms var(--ease);
}

.page-home .helpcard__row[open] .helpcard__summary::after {
  content: "−";
}

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

.page-home .helpcard__content {
  padding: 0 0 14px;
}

.page-home .helpcard__content p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .helpcard__link {
  display: block;
  margin-top: 16px;
  padding: 11px 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  border: 1px solid rgba(255, 138, 61, 0.5);
  border-radius: var(--radius);
  transition: background 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}

.page-home .helpcard__link:hover,
.page-home .helpcard__link:focus-visible {
  background: var(--orange);
  color: var(--ink-900);
  border-color: var(--orange);
}

/* ---------- 三步 ---------- */
.page-home .steps {
  background: var(--ink-900);
  border-top: 1px solid var(--line-soft);
}

.page-home .steps__head {
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.page-home .steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  counter-reset: step;
}

.page-home .step {
  position: relative;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(17, 40, 60, 0.9), rgba(11, 27, 43, 0.6));
}

.page-home .step__index {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  margin-bottom: 12px;
}

.page-home .step__title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-home .step__text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 数据 ---------- */
.page-home .metrics {
  background: var(--ink-800);
  border-top: 1px solid var(--line-soft);
}

.page-home .metrics__head {
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.page-home .metrics__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-home .metric {
  padding: 18px 16px;
  background: var(--ph-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 8px;
  align-content: start;
}

.page-home .metric--wide {
  background: linear-gradient(140deg, rgba(0, 229, 255, 0.12), rgba(124, 77, 255, 0.1)), var(--ph-panel);
  border-color: rgba(0, 229, 255, 0.32);
}

.page-home .metric__num {
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.page-home .metric--wide .metric__num {
  color: var(--cyan);
}

.page-home .metric__label {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .metrics__foot {
  margin-top: 26px;
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line-soft);
  padding-top: 20px;
}

.page-home .metrics__note {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 70ch;
}

.page-home .metrics__reg {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--line);
}

/* ---------- 收尾 ---------- */
.page-home .closer {
  background:
    radial-gradient(70% 90% at 88% 10%, rgba(124, 77, 255, 0.22), transparent 68%),
    var(--ink-900);
  border-top: 1px solid var(--line-soft);
}

.page-home .closer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 44px);
  align-items: start;
}

.page-home .closer__main h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.page-home .closer__main p {
  font-size: 15px;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 22px;
}

.page-home .closer__side {
  display: grid;
  gap: 12px;
}

.page-home .closercard {
  display: grid;
  gap: 6px;
  padding: 18px 18px 18px 16px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--violet);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  background: rgba(17, 40, 60, 0.55);
  transition: border-left-color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}

.page-home .closercard:hover,
.page-home .closercard:focus-visible {
  border-left-color: var(--cyan);
  background: rgba(22, 47, 71, 0.9);
  transform: translateY(-2px);
}

.page-home .closercard__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
}

.page-home .closercard__text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 平板与桌面 ---------- */
@media (min-width: 720px) {
  .page-home .channels__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

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

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

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

  .page-home .closer__grid {
    grid-template-columns: 1.3fr 0.7fr;
  }
}

@media (min-width: 960px) {
  .page-home .hero__inner {
    grid-template-columns: 1.12fr 0.88fr;
    gap: clamp(36px, 5vw, 72px);
  }

  .page-home .hero__rail {
    margin-top: clamp(28px, 5vw, 64px);
  }

  .page-home .entry__grid {
    grid-template-columns: 7fr 5fr;
    grid-template-areas:
      "main figure"
      "list list";
  }

  .page-home .entry__main {
    grid-area: main;
    padding-right: clamp(10px, 2vw, 28px);
  }

  .page-home .entry__figure {
    grid-area: figure;
    align-self: start;
  }

  .page-home .entry__list {
    grid-area: list;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 clamp(16px, 2.4vw, 32px);
    margin-top: 8px;
  }

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

  .page-home .channels__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
  }

  .page-home .channel:nth-child(even) {
    transform: translateY(26px);
  }

  .page-home .channels {
    padding-bottom: clamp(90px, 10vw, 140px);
  }

  .page-home .tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .page-home .tile--lift {
    margin-top: 36px;
  }

  .page-home .tile--drop {
    margin-top: 18px;
  }

  .page-home .help__grid {
    grid-template-columns: 1.28fr 0.72fr;
    align-items: start;
  }

  .page-home .help__aside {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

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

  .page-home .metric--wide {
    grid-column: span 2;
  }
}

@media (min-width: 1200px) {
  .page-home .hero__lead h1 {
    max-width: 16ch;
  }

  .page-home .channel {
    padding: 28px 26px 26px;
  }

  .page-home .tile {
    padding: 26px 24px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .pathcard,
  .page-home .pathcard__arrow,
  .page-home .channel,
  .page-home .tile,
  .page-home .closercard,
  .page-home .helpcard__summary::after {
    transition: none;
  }

  .page-home .pathcard:hover,
  .page-home .tile:hover,
  .page-home .closercard:hover {
    transform: none;
  }
}
