.page-home {
  --rail-w: 240px;
  position: relative;
  overflow-x: clip;
  padding: clamp(14px, 2.5vw, 26px) 0 clamp(40px, 6vw, 84px);
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(61, 225, 208, 0.12), transparent 62%),
    radial-gradient(760px 420px at -10% 42%, rgba(75, 63, 145, 0.16), transparent 65%),
    var(--arena);
  color: var(--ink);
  font-family: var(--font-body);
}

.page-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(44, 74, 67, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(44, 74, 67, 0.5) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.45;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.5) 58%, transparent 94%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.5) 58%, transparent 94%);
}

.page-home .home-wrap {
  position: relative;
  z-index: 1;
  width: min(calc(100% - clamp(28px, 7vw, 96px)), var(--wrap));
  margin-inline: auto;
}

.page-home .home-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: clamp(16px, 2.4vw, 26px);
  border-bottom: 1px solid var(--line);
}

.page-home .breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.page-home .breadcrumb-current {
  color: var(--cyan);
  font-weight: 700;
}

.page-home .breadcrumb-sep,
.page-home .breadcrumb-note {
  color: var(--ink-soft);
}

.page-home .home-topbar-note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}

.page-home .home-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
}

.page-home .home-main {
  min-width: 0;
}

/* ---------- 左侧速览轨道 ---------- */
.page-home .home-rail {
  position: relative;
  padding: 16px 14px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 44, 39, 0.96), rgba(11, 30, 45, 0.9));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.page-home .rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.page-home .rail-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.page-home .rail-list {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .rail-item {
  position: relative;
  flex: 0 0 82%;
  padding: 12px 12px 12px 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(6, 21, 19, 0.62);
  scroll-snap-align: start;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-home .rail-item:hover,
.page-home .rail-item:focus-within {
  transform: translateY(-2px);
  border-color: rgba(61, 225, 208, 0.55);
  background: rgba(16, 44, 39, 0.85);
}

.page-home .rail-dot {
  position: absolute;
  left: 10px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(61, 225, 208, 0.16);
}

.page-home .rail-item--red .rail-dot {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(226, 58, 46, 0.18);
}

.page-home .rail-item--yellow .rail-dot {
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(242, 193, 78, 0.18);
}

.page-home .rail-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.page-home .rail-link {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-home .rail-link:hover {
  color: var(--cyan);
  border-bottom-color: rgba(61, 225, 208, 0.6);
}

.page-home .rail-link:focus-visible,
.page-home .alert-go:focus-visible,
.page-home .fc-link:focus-visible,
.page-home .topic-title a:focus-visible,
.page-home .service-links a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.page-home .rail-meta {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.page-home .rail-foot {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px, 4vw, 52px) clamp(18px, 4vw, 48px) clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(158deg, #08201c 0%, #0b1e2d 68%, #0a1a24 100%);
}

.page-home .home-hero-media {
  position: absolute;
  inset: 0 0 0 38%;
  z-index: 0;
  opacity: 0.5;
}

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

.page-home .home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #08201c 0%, rgba(8, 32, 28, 0.78) 38%, rgba(8, 32, 28, 0.16) 100%),
    linear-gradient(0deg, rgba(6, 21, 19, 0.88), transparent 62%);
}

.page-home .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.page-home .hero-eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-home .hero-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 8vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-home .hero-title span {
  display: block;
  transform: skewX(-2.5deg);
}

.page-home .hero-title .hero-title-hl {
  color: var(--cyan);
}

.page-home .hero-lede {
  margin: 0;
  max-width: 38ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.page-home .alert-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .alert-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 14px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(11, 30, 45, 0.7);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.page-home .alert-item:hover,
.page-home .alert-item:focus-within {
  transform: translateY(-2px);
  border-color: rgba(61, 225, 208, 0.5);
  background: rgba(16, 44, 39, 0.85);
}

.page-home .alert-item > .tag {
  grid-column: 1 / -1;
  justify-self: start;
}

.page-home .alert-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.page-home .alert-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.page-home .alert-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 15px;
  text-decoration: none;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-home .alert-go:hover {
  background: rgba(61, 225, 208, 0.14);
  border-color: var(--cyan);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ---------- 章节通用 ---------- */
.page-home .home-section {
  margin-top: clamp(40px, 6vw, 76px);
}

.page-home .home-sec-head {
  max-width: 720px;
  margin-bottom: clamp(18px, 3vw, 28px);
}

.page-home .sec-eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .sec-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(26px, 4.2vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-home .sec-lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink-soft);
}

/* ---------- 卡片矩阵 ---------- */
.page-home .board-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

.page-home .fc-card {
  position: relative;
  grid-column: span 12;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(16px, 2.2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 44, 39, 0.94), rgba(11, 30, 45, 0.94));
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .fc-card:hover {
  transform: translateY(-2px);
  border-color: rgba(61, 225, 208, 0.4);
}

.page-home .fc-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--line);
}

.page-home .fc-card--discipline::before { background: var(--red); }
.page-home .fc-card--ios::before { background: var(--yellow); }
.page-home .fc-card--follow::before { background: var(--cyan); }
.page-home .fc-card--speed::before { background: var(--indigo); }

.page-home .fc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .fc-index {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

.page-home .fc-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 700;
  line-height: 1.28;
  color: var(--ink);
}

.page-home .fc-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0a1a17;
}

.page-home .fc-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .fc-media--ios img {
  aspect-ratio: 4 / 3;
}

.page-home .fc-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-soft);
}

.page-home .fc-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.page-home .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-home .stat-unit {
  font-size: 0.55em;
  margin-left: 2px;
  color: var(--ink-soft);
}

.page-home .stat-label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.page-home .fc-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 225, 208, 0.35);
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

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

.page-home .fc-link--light {
  color: var(--ink);
  border-bottom-color: rgba(234, 244, 239, 0.4);
}

.page-home .fc-link--light:hover {
  border-bottom-color: var(--ink);
}

/* ---------- 专题更新流 ---------- */
.page-home .topics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 26px);
  align-items: start;
}

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

.page-home .topic-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 16px 10px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease);
}

.page-home .topic-item:hover {
  background: rgba(16, 44, 39, 0.6);
}

.page-home .topic-item > .tag {
  justify-self: start;
}

.page-home .topic-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.page-home .topic-title a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

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

.page-home .topic-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-soft);
}

.page-home .topics-aside {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(11, 30, 45, 0.7);
}

.page-home .aside-media {
  overflow: hidden;
}

.page-home .aside-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .aside-card {
  padding: clamp(16px, 2.4vw, 22px);
  background: linear-gradient(158deg, #2b2456, #4b3f91);
}

.page-home .aside-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(234, 244, 239, 0.75);
}

.page-home .aside-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.page-home .aside-text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(234, 244, 239, 0.78);
}

/* ---------- 开始使用 ---------- */
.page-home .service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 24px);
  align-items: start;
}

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

.page-home .step-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 16px 16px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(16, 44, 39, 0.66);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-home .step-item:hover {
  transform: translateY(-2px);
  border-color: rgba(61, 225, 208, 0.45);
}

.page-home .step-num {
  font-size: 26px;
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-home .step-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.page-home .step-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-home .service-card {
  padding: clamp(18px, 2.8vw, 28px);
  border: 1px solid rgba(234, 244, 239, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(158deg, #241e4c, #4b3f91 72%, #3a3172);
  color: var(--ink);
}

.page-home .service-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(234, 244, 239, 0.72);
}

.page-home .service-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  line-height: 1.28;
}

.page-home .service-links {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.page-home .service-links li + li {
  border-top: 1px solid rgba(234, 244, 239, 0.18);
}

.page-home .service-links a {
  display: block;
  padding: 12px 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s var(--ease), padding-left 0.18s var(--ease);
}

.page-home .service-links a:hover {
  color: #ffffff;
  padding-left: 6px;
}

.page-home .service-links a span {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(234, 244, 239, 0.72);
}

.page-home .service-note {
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(234, 244, 239, 0.28);
  font-size: 13px;
  line-height: 1.75;
  color: rgba(234, 244, 239, 0.8);
}

/* ---------- 信任条 ---------- */
.page-home .trust-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.page-home .trust-cell {
  padding: 16px 16px 18px;
  background: var(--arena);
}

.page-home .trust-num {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-home .trust-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

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

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-home .alert-item {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
  }

  .page-home .alert-item > .tag {
    grid-column: auto;
  }

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

@media (min-width: 760px) {
  .page-home .fc-card--discipline { grid-column: span 7; }
  .page-home .fc-card--ios { grid-column: span 5; }
  .page-home .fc-card--follow { grid-column: span 4; }
  .page-home .fc-card--speed { grid-column: span 8; }

  .page-home .topic-item {
    grid-template-columns: 132px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding: 18px 12px;
  }
}

@media (min-width: 880px) {
  .page-home .topics-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

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

@media (min-width: 1000px) {
  .page-home .home-shell {
    grid-template-columns: var(--rail-w) minmax(0, 1fr);
    gap: clamp(22px, 3vw, 36px);
  }

  .page-home .home-rail {
    position: sticky;
    top: 96px;
  }

  .page-home .rail-list {
    display: grid;
    gap: 10px;
    overflow: visible;
    padding: 0;
  }

  .page-home .rail-item {
    flex: none;
  }

  .page-home .home-hero-media {
    inset: 0 0 0 42%;
    opacity: 0.62;
  }
}

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

@media (hover: none) {
  .page-home .rail-item:hover,
  .page-home .alert-item:hover,
  .page-home .fc-card:hover,
  .page-home .step-item:hover {
    transform: none;
  }
}
<<<END>>>
