.page-home{
  --home-line: rgba(185,200,192,.22);
  --home-line-soft: rgba(185,200,192,.13);
  --home-glass: rgba(237,242,238,.06);
  --home-figure: #071f1b;
  --home-dim: #9fb3ab;

  display: block;
  background: var(--ink-900);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.page-home .section{
  position: relative;
}

/* ---------- 通用标题 ---------- */
.page-home .eyebrow{
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--cyan);
}

.page-home .section-head{
  max-width: 760px;
  margin-bottom: 28px;
}

.page-home .section-title{
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.8vw, 40px);
  line-height: 1.14;
  letter-spacing: -.015em;
  color: var(--ivory);
  text-wrap: balance;
}

/* ---------- 首屏 ---------- */
.page-home .hero-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.page-home .hero-rail{
  position: relative;
  padding-top: 24px;
}

.page-home .hero-rail::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 68px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--flame));
}

.page-home h1{
  margin: 16px 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--ivory);
  text-wrap: balance;
}

.page-home .hero-lede{
  max-width: 36ch;
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--cyan-soft);
}

.page-home .hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .hero-index{
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid var(--home-line);
}

.page-home .index-title{
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--home-dim);
}

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

.page-home .index-list a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--home-line-soft);
  color: var(--ivory);
  font-size: 14px;
  text-decoration: none;
  transition: color 180ms var(--ease), padding-left 180ms var(--ease);
}

.page-home .index-list a:hover,
.page-home .index-list a:focus-visible{
  color: var(--cyan);
  padding-left: 9px;
}

.page-home .index-no{
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(140,246,228,.55);
}

/* 数据看板 */
.page-home .hero-board{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 22px 18px 24px;
  border: 1px solid rgba(47,227,198,.22);
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--ink-800), #071b18 72%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), 0 100%);
}

.page-home .hero-board > *{
  position: relative;
  z-index: 1;
}

.page-home .board-media{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .board-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .26;
  filter: saturate(.7) contrast(1.05);
}

.page-home .board-media::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(47,227,198,.10) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(47,227,198,.08) 0 1px, transparent 1px 48px),
    linear-gradient(180deg, rgba(6,35,31,.5), rgba(6,35,31,.9));
}

.page-home .board-title{
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.16;
  letter-spacing: -.01em;
  color: var(--ivory);
}

.page-home .board-note{
  margin: 0;
  font-size: 13px;
  color: var(--home-dim);
}

.page-home .board-note [data-matchday]{
  font-family: var(--font-mono);
  color: var(--cyan-soft);
}

.page-home .board-stats{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
}

.page-home .stat-card{
  padding: 15px 15px 16px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: var(--home-glass);
  backdrop-filter: blur(8px);
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), background 200ms var(--ease);
}

.page-home .stat-card:hover,
.page-home .stat-card:focus-within{
  transform: translateY(-4px);
  border-color: var(--flame);
  background: rgba(237,242,238,.11);
}

.page-home .stat-card .stat-label{
  margin: 0;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--cyan-soft);
}

.page-home .stat-card .stat-value{
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.05;
  color: var(--ivory);
}

.page-home .stat-card .stat-value .unit{
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--cyan);
}

.page-home .stat-tail{
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--home-dim);
}

/* ---------- 收藏直达 ---------- */
.page-home .keep{
  background:
    linear-gradient(180deg, rgba(12,58,50,.92), rgba(6,35,31,.96)),
    var(--ink-800);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.page-home .keep-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-home .keep-lede{
  margin: 16px 0 0;
  max-width: 62ch;
  font-size: 15.5px;
  color: #cfe0d8;
}

.page-home .keep-list{
  list-style: none;
  margin: 20px 0 26px;
  padding: 0;
  display: grid;
  gap: 13px;
}

.page-home .keep-list li{
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: #cfe0d8;
}

.page-home .keep-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 13px;
  height: 2px;
  background: var(--cyan);
}

.page-home .keep-figures{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--home-line);
  border: 1px solid var(--home-line);
  border-radius: 8px;
  overflow: hidden;
}

.page-home .figure{
  padding: 18px 14px 20px;
  background: var(--home-figure);
}

.page-home .figure-num{
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--cyan);
}

.page-home .figure-cap{
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--home-dim);
}

/* ---------- 三条动线 ---------- */
.page-home .lane-track{
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .lane{
  display: block;
  color: #12211d;
  text-decoration: none;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(185,200,192,.4);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 0 100%);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

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

.page-home .lane:focus-visible{
  outline: 3px solid var(--cyan-soft);
  outline-offset: 3px;
}

.page-home .lane-media{
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--ink-800);
}

.page-home .lane-media img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.06);
}

.page-home .lane-media::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(47,227,198,.16) 0 1px, transparent 1px 32px);
  mix-blend-mode: screen;
}

.page-home .lane-body{
  padding: 18px 18px 32px;
}

.page-home .lane-tag{
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--teal-ink);
}

.page-home .lane-body h3{
  margin: 8px 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: #08231e;
}

.page-home .lane-body p{
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: #33463f;
}

.page-home .lane-go{
  display: inline-block;
  margin-top: 14px;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-ink);
}

/* ---------- 最近更新 ---------- */
.page-home .updates{
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  color: #16241f;
}

.page-home .updates-bar{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--ink-800);
  color: var(--ivory);
}

.page-home .updates-bar p{
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--cyan-soft);
}

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

.page-home .update-item{
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 16px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(185,200,192,.5);
}

.page-home .update-item:last-child{
  border-bottom: none;
}

.page-home .update-stage{
  justify-self: start;
  padding: 3px 10px;
  border: 1px solid rgba(11,107,91,.3);
  border-radius: 999px;
  background: rgba(47,227,198,.16);
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
  color: var(--teal-ink);
}

.page-home .update-title{
  font-size: 15.5px;
  font-weight: 600;
  color: #0b2f28;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.page-home .update-title:hover,
.page-home .update-title:focus-visible{
  color: var(--teal-ink);
  border-bottom-color: currentColor;
}

.page-home .update-meta{
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- 编年导览 ---------- */
.page-home .timeline-section{
  background: linear-gradient(160deg, var(--indigo), #241338 76%);
  border-top: 1px solid var(--home-line-soft);
  border-bottom: 1px solid var(--home-line-soft);
}

.page-home .timeline-lede{
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 15.5px;
  color: #d6cfe6;
}

.page-home .tl-list{
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.page-home .tl-item{
  position: relative;
  padding: 20px 6px 18px;
}

.page-home .tl-item::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(140,246,228,.3);
}

.page-home .tl-item::after{
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(47,227,198,.16);
  transition: background 180ms var(--ease), box-shadow 180ms var(--ease);
}

.page-home .tl-item:hover::after{
  background: var(--flame);
  box-shadow: 0 0 0 5px rgba(255,90,43,.22);
}

.page-home .tl-era{
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  color: var(--ivory);
}

.page-home .tl-desc{
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: #c9c0db;
}

.page-home .timeline-foot{
  margin-top: 26px;
}

/* ---------- 使用场景 ---------- */
.page-home .scene-card{
  padding: 22px 18px 24px;
  border: 1px solid var(--home-line);
  border-left: 3px solid var(--cyan);
  border-radius: 8px;
  background: rgba(237,242,238,.05);
  transition: transform 200ms var(--ease), border-left-color 200ms var(--ease), background 200ms var(--ease);
}

.page-home .scene-card:hover{
  transform: translateY(-4px);
  border-left-color: var(--flame);
  background: rgba(237,242,238,.09);
}

.page-home .scene-no{
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--cyan);
}

.page-home .scene-card h3{
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.24;
  color: var(--ivory);
}

.page-home .scene-card p{
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.8;
  color: #c6d6ce;
}

.page-home .scene-link{
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(47,227,198,.5);
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.page-home .scene-link:hover,
.page-home .scene-link:focus-visible{
  color: var(--flame);
  border-bottom-color: var(--flame);
}

/* ---------- 服务与联络 ---------- */
.page-home .service-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-home .service-copy p{
  margin: 16px 0 0;
  max-width: 60ch;
  font-size: 15.5px;
  color: #cfe0d8;
}

.page-home .service-hours{
  font-family: var(--font-mono);
  font-size: 13.5px !important;
  color: var(--cyan-soft) !important;
}

.page-home .service-panel{
  padding: 22px 20px 24px;
}

.page-home .service-panel .contact-line{
  display: grid;
  gap: 4px;
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--home-line-soft);
  font-size: 15px;
  color: var(--ivory);
}

.page-home .service-panel .contact-line:last-of-type{
  border-bottom: none;
}

.page-home .service-panel .contact-line a{
  color: var(--cyan);
  text-decoration: none;
  word-break: break-all;
}

.page-home .service-panel .contact-line a:hover,
.page-home .service-panel .contact-line a:focus-visible{
  color: var(--flame);
  text-decoration: underline;
}

.page-home .contact-key{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--home-dim);
}

.page-home .service-panel .contact-line--note{
  font-size: 13px;
  color: var(--home-dim);
}

.page-home .service-panel .btn{
  margin-top: 6px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 560px){
  .page-home .board-stats{
    grid-template-columns: 1fr 1fr;
  }
  .page-home .keep-figures{
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 760px){
  .page-home .update-item{
    grid-template-columns: 150px minmax(0, 1fr) auto;
    align-items: center;
  }
  .page-home .update-meta{
    text-align: right;
  }
}

@media (min-width: 880px){
  .page-home .lane-track{
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: start;
  }
  .page-home .lane--b{
    margin-top: 36px;
  }
  .page-home .lane--c{
    margin-top: 72px;
  }
  .page-home .tl-list{
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
  }
  .page-home .tl-item{
    padding-right: 20px;
  }
}

@media (min-width: 980px){
  .page-home .hero-grid{
    grid-template-columns: minmax(300px, 30%) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }
  .page-home .hero-rail{
    padding-top: 30px;
  }
  .page-home .hero-board{
    padding: 28px 26px 30px;
  }
  .page-home .keep-grid{
    grid-template-columns: 1.2fr .8fr;
    gap: 44px;
    align-items: start;
  }
  .page-home .service-grid{
    grid-template-columns: .95fr 1.05fr;
    gap: 44px;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce){
  .page-home .stat-card,
  .page-home .lane,
  .page-home .scene-card,
  .page-home .tl-item::after,
  .page-home .index-list a,
  .page-home .update-title{
    transition: none;
  }
  .page-home .stat-card:hover,
  .page-home .lane:hover,
  .page-home .scene-card:hover{
    transform: none;
  }
}
