body.home {
  background:
    radial-gradient(900px 480px at 78% 12%, rgba(40, 130, 190, 0.22), transparent 62%),
    radial-gradient(700px 420px at 8% 80%, rgba(20, 70, 120, 0.18), transparent 60%),
    #060910;
  color: #d7e6f2;
  overflow-x: hidden;
}

body.home::before {
  content: "";
  position: fixed;
  inset: -80px;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(110, 210, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 210, 255, 0.045) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at 60% 30%, #000 10%, transparent 72%);
  animation: grid-drift 28s linear infinite;
}

body.home #field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

body.home .scanline {
  position: fixed;
  left: 0;
  right: 0;
  height: 140px;
  top: -140px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(120, 220, 255, 0.07), transparent);
  animation: scan 8.5s linear infinite;
}

body.home .rail {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  pointer-events: none;
  color: rgba(140, 214, 245, 0.72);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
}

body.home .rail-left { left: 16px; }
body.home .rail-right { right: 16px; }

body.home .rail span:first-child,
body.home .rail span:last-child {
  writing-mode: vertical-rl;
}

body.home .rail-line {
  flex: 1;
  width: 1px;
  margin: 18px 0;
  background: linear-gradient(#7ad7ff, transparent 80%);
}

body.home .wrap {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  padding-top: 28px;
}

body.home a { color: #8fdfff; }

body.home .masthead {
  border-bottom-color: rgba(120, 200, 240, 0.18);
}

body.home .brand,
body.home .nav a {
  color: rgba(190, 220, 236, 0.62);
}

body.home .nav a.is-current,
body.home .brand:hover,
body.home .nav a:hover {
  color: #eaf6ff;
}

body.home .stage {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) 1.35fr;
  gap: 36px 28px;
  align-items: center;
  margin: 28px 0 64px;
}

body.home .particle-title {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 425;
  height: auto;
  margin: 0;
  font-size: 0;
  background: none;
  color: transparent;
}

body.home .particle-title span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.home .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #7ad7ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

body.home .eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5ce1ff;
  box-shadow: 0 0 10px #5ce1ff;
  animation: pulse 1.8s ease-in-out infinite;
}

body.home .stage .lead {
  max-width: 18em;
  margin: 0 0 22px;
  color: rgba(215, 230, 242, 0.82);
  font-size: 18px;
}

body.home .lanes {
  display: flex;
  flex-direction: column;
}

body.home .lane {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  position: relative;
  padding: 13px 0 14px;
  border-bottom: 1px solid rgba(120, 200, 240, 0.16);
  color: inherit;
}

body.home .lane:nth-child(2) { margin-left: 22px; }
body.home .lane:nth-child(3) { margin-left: 44px; }

body.home .lane::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: #7ad7ff;
  box-shadow: 0 0 8px #7ad7ff;
  transition: width 0.35s ease;
}

body.home .lane:hover {
  text-decoration: none;
  color: #fff;
}

body.home .lane:hover::after { width: 100%; }

body.home .lane .idx,
body.home .entry .idx {
  color: #7ad7ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
}

body.home .lane strong {
  display: block;
  color: #f4fbff;
  font-size: 18px;
  font-weight: 640;
}

body.home .lane em {
  display: block;
  margin-top: 3px;
  color: rgba(190, 214, 228, 0.72);
  font-style: normal;
  font-size: 13px;
}

body.home .catalog {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px 14px;
  align-items: start;
}

body.home .section-title {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  color: rgba(160, 198, 216, 0.7);
  letter-spacing: 0.18em;
}

body.home .entry {
  position: relative;
  display: block;
  min-height: 168px;
  padding: 16px 18px 18px;
  overflow: hidden;
  color: inherit;
  background: rgba(14, 32, 52, 0.92);
  border: 1px solid rgba(140, 210, 245, 0.38);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  animation: rise 0.7s ease both;
}

body.home .entry::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(122, 215, 255, 0.16), transparent 70%);
  transform: translateX(-130%);
  pointer-events: none;
}

body.home .entry:hover {
  text-decoration: none;
  border-color: rgba(122, 215, 255, 0.7);
  box-shadow: 0 0 24px rgba(80, 180, 230, 0.12);
}

body.home .entry:hover::before {
  transform: translateX(130%);
  transition: transform 0.7s ease;
}

body.home .entry h3 {
  margin: 8px 0 8px;
  color: #f7fcff;
  font-size: 20px;
  font-weight: 640;
  letter-spacing: -0.02em;
}

body.home .entry p {
  margin: 0;
  color: rgba(190, 214, 228, 0.78);
  font-size: 14px;
}

body.home .entry .zh {
  margin: 0 0 4px;
  color: #7ad7ff;
  font-size: 13px;
}

body.home .entry .os {
  display: inline-block;
  margin-top: 12px;
  color: rgba(160, 198, 216, 0.8);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

body.home .entry-a { grid-column: 1 / 8; }
body.home .entry-b { grid-column: 8 / 13; margin-top: 28px; animation-delay: 0.08s; }
body.home .entry-c { grid-column: 2 / 7; animation-delay: 0.14s; }
body.home .entry-d { grid-column: 7 / 13; margin-top: -8px; animation-delay: 0.2s; }
body.home .entry-e { grid-column: 4 / 12; animation-delay: 0.26s; }

body.home .stage-side { animation: rise 0.7s ease both; }
body.home .particle-title { animation: rise 0.9s ease both; }

body.home footer {
  border-top-color: rgba(120, 200, 240, 0.16);
  color: rgba(160, 198, 216, 0.65);
}

body.home footer a { color: rgba(190, 220, 236, 0.8); }

@keyframes rise {
  from { transform: translateY(14px); }
  to { transform: none; }
}

@keyframes scan {
  to { top: 110%; }
}

@keyframes grid-drift {
  to { background-position: 84px 84px; }
}

@keyframes pulse {
  50% { opacity: 0.35; }
}

@media (max-width: 1180px) {
  body.home .rail { display: none; }
}

@media (max-width: 860px) {
  body.home .stage { grid-template-columns: 1fr; }
  body.home .particle-title { grid-row: 1; }
  body.home .stage-side { grid-row: 2; }
  body.home .lane:nth-child(2),
  body.home .lane:nth-child(3) { margin-left: 0; }
  body.home .catalog { display: flex; flex-direction: column; }
  body.home .entry-a,
  body.home .entry-b,
  body.home .entry-c,
  body.home .entry-d,
  body.home .entry-e {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home::before,
  body.home .scanline,
  body.home .eyebrow i,
  body.home .entry,
  body.home .stage-side,
  body.home .particle-title {
    animation: none;
  }
}
