.page-home {
  --home-cut: 26px;
  display: block;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.75;
}

.page-home h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--text);
}

.page-home h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.page-home p {
  margin: 0 0 12px;
}

.page-home a:focus-visible,
.page-home [tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-home .home-kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--cyan);
}

.page-home .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* ---------- 首屏 ---------- */

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 42px) 0 clamp(44px, 7vw, 88px);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: -14% -18% auto -18%;
  height: 68%;
  background:
    radial-gradient(120% 100% at 16% 0%, rgba(34, 224, 214, .15), transparent 62%),
    radial-gradient(90% 90% at 92% 14%, rgba(123, 92, 255, .18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-crumb {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--mute);
}

.page-home .home-crumb a {
  color: var(--mute);
  text-decoration: none;
  transition: color var(--t);
}

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

.page-home .home-crumb [aria-current] {
  color: var(--text);
}

.page-home .home-claim {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 13px 16px;
  border: 1px solid rgba(34, 224, 214, .34);
  background: var(--glass);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 14px;
  line-height: 1.7;
  color: var(--mute);
  transition: border-color var(--t), box-shadow var(--t);
}

.page-home .home-claim strong {
  margin-right: 8px;
  color: var(--text);
  font-weight: 600;
}

.page-home .home-claim:focus-visible {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px var(--cyan);
}

.page-home .home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(26px, 5vw, 52px);
  margin-top: clamp(26px, 4vw, 48px);
  align-items: end;
}

.page-home .home-hero h1 {
  margin: 0;
  font-size: clamp(38px, 11vw, 104px);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.045em;
  color: var(--text);
}

.page-home .home-hero h1 span {
  display: block;
  color: var(--cyan);
}

@supports (-webkit-text-stroke: 1px #000) {
  .page-home .home-hero h1 span {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--cyan);
  }
}

.page-home .home-hero__sub {
  max-width: 34em;
  margin: 20px 0 0;
  font-size: clamp(15px, 2.1vw, 17px);
  line-height: 1.8;
  color: var(--mute);
}

.page-home .home-hero__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%);
  border: 1px solid var(--line);
}

.page-home .home-hero__figure img {
  display: block;
  width: 100%;
  height: clamp(190px, 42vw, 380px);
  object-fit: cover;
  filter: saturate(.82) contrast(1.08) brightness(.8);
}

.page-home .home-hero__figure figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 9px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mute);
  background: var(--glass);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

/* ---------- 走势主视区 ---------- */

.page-home .home-flow {
  background: var(--panel);
  padding: clamp(50px, 8vw, 96px) 0;
  clip-path: polygon(0 0, 100% var(--home-cut), 100% 100%, 0 calc(100% - var(--home-cut)));
}

.page-home .home-flow__head {
  max-width: 46em;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.page-home .home-flow__lead {
  font-size: 15px;
  line-height: 1.85;
  color: var(--mute);
}

.page-home .home-flow__grid {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
}

.page-home .home-flow__board {
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), 0 100%);
}

.page-home .home-flow__figureline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin: 0;
}

.page-home .home-flow__big {
  font-size: clamp(54px, 13vw, 116px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.03em;
  color: var(--text);
}

.page-home .home-flow__unit {
  font-size: 14px;
  color: var(--mute);
}

.page-home .home-flow__spark {
  display: block;
  width: 100%;
  height: auto;
  margin: 20px 0 12px;
}

.page-home .home-flow__grid-lines line {
  stroke: var(--line-soft);
  stroke-width: 1;
  stroke-dasharray: 4 7;
}

.page-home .home-flow__line-a {
  fill: none;
  stroke: url(#flowStroke);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home .home-flow__line-b {
  fill: none;
  stroke: var(--mute);
  stroke-width: 2;
  stroke-dasharray: 6 6;
  opacity: .7;
}

.page-home .home-flow__dot {
  fill: var(--orange);
}

.page-home .home-flow__dot--b {
  fill: var(--purple);
}

.page-home .home-flow__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--mute);
}

.page-home .home-flow__key {
  display: inline-block;
  width: 18px;
  height: 3px;
  margin-right: 7px;
  vertical-align: middle;
}

.page-home .home-flow__key--a {
  background: linear-gradient(90deg, var(--cyan), var(--purple));
}

.page-home .home-flow__key--b {
  background: var(--mute);
  opacity: .7;
}

.page-home .home-flow__side {
  align-self: start;
}

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

.page-home .home-flow__figure img {
  display: block;
  width: 100%;
  height: clamp(150px, 30vw, 230px);
  object-fit: cover;
  filter: saturate(.8) brightness(.8) contrast(1.06);
}

.page-home .home-flow__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--mute);
}

/* ---------- 口径分流 ---------- */

.page-home .home-routes {
  padding: clamp(46px, 7vw, 90px) 0;
  background: var(--ink);
}

.page-home .home-routes__band {
  position: relative;
  margin: 0 0 clamp(28px, 4vw, 46px);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 0 100%);
  border: 1px solid var(--line);
}

.page-home .home-routes__band img {
  display: block;
  width: 100%;
  height: clamp(120px, 24vw, 220px);
  object-fit: cover;
  filter: saturate(.72) contrast(1.12) brightness(.7);
}

.page-home .home-routes__band figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 9px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
  background: var(--glass);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.page-home .home-routes__head {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.page-home .home-routes__grid {
  display: grid;
  gap: clamp(16px, 3vw, 24px);
}

.page-home .route-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--t), transform var(--t), background var(--t);
}

.page-home .route-card:focus-visible {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px var(--cyan);
}

.page-home .route-card--c1 {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 0 100%);
}

.page-home .route-card--c2 {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 18px));
}

.page-home .route-card--c3 {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 0 100%);
}

.page-home .route-card--c4 {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 18px));
}

.page-home .route-card__idx {
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--cyan);
}

.page-home .route-card__title {
  font-size: clamp(19px, 2.6vw, 23px);
  font-weight: 700;
  letter-spacing: -.01em;
}

.page-home .route-card__metric {
  display: block;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mute);
}

.page-home .route-card__num {
  display: inline-block;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--purple);
  transition: transform var(--t), color var(--t);
}

.page-home .route-card__thumb {
  display: block;
  width: 100%;
  height: clamp(120px, 26vw, 176px);
  object-fit: cover;
  filter: saturate(.85) brightness(.82) contrast(1.05);
}

.page-home .route-card__go {
  position: relative;
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
}

.page-home .route-card__go::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}

/* ---------- 同步记录 ---------- */

.page-home .home-sync {
  background: var(--panel);
  padding: clamp(46px, 7vw, 90px) 0;
  clip-path: polygon(0 var(--home-cut), 100% 0, 100% calc(100% - var(--home-cut)), 0 100%);
}

.page-home .home-sync__head {
  max-width: 44em;
  margin-bottom: clamp(26px, 4vw, 46px);
}

.page-home .home-sync__lead {
  font-size: 15px;
  line-height: 1.85;
  color: var(--mute);
}

.page-home .home-sync__list {
  position: relative;
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-sync__list::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--deep) 58%, transparent);
}

.page-home .home-sync__item {
  position: relative;
  padding-left: 36px;
}

.page-home .home-sync__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: var(--panel);
  transition: background var(--t), border-color var(--t), transform var(--t);
}

.page-home .home-sync__item:hover::before,
.page-home .home-sync__item:focus-within::before {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.14);
}

.page-home .home-sync__meta {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--mute);
  transition: color var(--t);
}

.page-home .home-sync__item:hover .home-sync__meta {
  color: var(--cyan);
}

.page-home .home-sync__item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mute);
}

/* ---------- 赛季档案 ---------- */

.page-home .home-archive {
  padding: clamp(50px, 8vw, 96px) 0 clamp(44px, 6vw, 76px);
  background: var(--ink);
}

.page-home .home-archive__grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

.page-home .home-archive__intro p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--mute);
}

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

.page-home .home-archive__stages li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
  color: var(--text);
  transition: border-color var(--t), padding-left var(--t);
}

.page-home .home-archive__stages li:hover {
  border-bottom-color: var(--cyan);
  padding-left: 10px;
}

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

/* ---------- 响应式 ---------- */

@media (min-width: 860px) {
  .page-home .home-routes__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
  }

  .page-home .route-card--c1 {
    grid-column: 1 / 6;
  }

  .page-home .route-card--c2 {
    grid-column: 7 / 13;
    margin-top: 46px;
  }

  .page-home .route-card--c3 {
    grid-column: 1 / 5;
    margin-top: 10px;
  }

  .page-home .route-card--c4 {
    grid-column: 6 / 13;
    margin-top: 36px;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

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

  .page-home .home-archive__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

@media (max-width: 559px) {
  .page-home .home-claim {
    font-size: 13px;
  }

  .page-home .home-sync__item {
    padding-left: 30px;
  }

  .page-home .home-sync__list::before {
    left: 6px;
  }
}

.page-home .route-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.page-home .route-card:hover .route-card__num,
.page-home .route-card:focus-visible .route-card__num {
  transform: translateY(-2px);
  color: var(--orange);
}

.page-home .route-card:hover .route-card__go::after,
.page-home .route-card:focus-visible .route-card__go::after {
  transform: scaleX(1);
}

.page-home .text-link {
  align-self: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t);
}

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