.page-home {
  --home-cut: 22px;
  --home-panel-pad: 30px 26px 36px;
  --home-ease: cubic-bezier(.22, .61, .36, 1);
  padding-bottom: 0;
}

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

.page-home .home-hero {
  position: relative;
  padding: 44px 0 44px;
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(to right, var(--line) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 76px);
  opacity: .5;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
  pointer-events: none;
}

.page-home .home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
}

.page-home .home-hero__eyebrow {
  margin: 0 0 16px;
  font-family: var(--font-num);
  font-size: .78125rem;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--blue);
}

.page-home .home-hero__title {
  margin: 0 0 22px;
  max-width: 15ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.375rem, 8.4vw, 5rem);
  line-height: 1.06;
  letter-spacing: -.01em;
  color: var(--ink);
}

.page-home .home-hero__lede {
  margin: 0 0 28px;
  max-width: 44ch;
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--gray);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* 控制台状态面板 */

.page-home .home-console {
  position: relative;
  overflow: hidden;
  padding: 26px 24px 0;
  background: var(--console);
  color: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.page-home .home-console::before {
  content: "";
  position: absolute;
  top: -46%;
  right: -32%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(122, 91, 255, .62), transparent 68%);
  pointer-events: none;
}

.page-home .home-console__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.page-home .home-console__pulse {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  animation: home-pulse 2.4s ease-in-out infinite;
}

@keyframes home-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(57, 224, 142, .5); }
  50% { box-shadow: 0 0 0 9px rgba(57, 224, 142, 0); }
}

.page-home .home-console__status {
  margin: 0;
  font-size: .875rem;
  letter-spacing: .02em;
  color: rgba(251, 252, 254, .82);
}

.page-home .home-console__stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(216, 224, 238, .18);
}

.page-home .home-console__stats dt {
  margin: 0 0 6px;
  font-size: .75rem;
  color: rgba(251, 252, 254, .6);
}

.page-home .home-console__stats dd {
  margin: 0;
  font-family: var(--font-num);
  font-size: 1.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: var(--paper);
}

.page-home .home-console__quick {
  position: relative;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.page-home .home-console__quick li {
  border-top: 1px solid rgba(216, 224, 238, .14);
}

.page-home .home-console__quick a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  font-size: .9375rem;
  color: var(--paper);
  text-decoration: none;
  transition: color .22s var(--home-ease), transform .22s var(--home-ease);
}

.page-home .home-console__quick .num {
  font-size: .8125rem;
  color: rgba(251, 252, 254, .48);
}

.page-home .home-console__quick a:hover {
  color: var(--green);
  transform: translateX(4px);
}

.page-home .home-console__quick a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.page-home .home-console__figure {
  position: relative;
  margin: 0 -24px;
}

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

/* ---------- 锚点条 ---------- */

.page-home .home-toc {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--blue-tint);
  overflow-x: auto;
}

.page-home .home-toc__list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding-block: 12px;
  list-style: none;
  white-space: nowrap;
}

.page-home .home-toc a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: .875rem;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .2s var(--home-ease), color .2s var(--home-ease);
}

.page-home .home-toc a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.page-home .home-toc a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- 通用区块 ---------- */

.page-home .home-section {
  padding: 60px 0;
}

.page-home .home-head {
  max-width: 62ch;
  margin-bottom: 34px;
}

.page-home .home-head__kicker {
  margin: 0 0 12px;
  font-family: var(--font-num);
  font-size: .78125rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--orange);
}

.page-home .home-head__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6875rem, 4.4vw, 2.625rem);
  line-height: 1.2;
  color: var(--ink);
}

.page-home .home-head__lede {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--gray);
}

/* ---------- 三条主线 ---------- */

.page-home .home-paths__grid {
  display: grid;
  gap: 22px;
}

.page-home .home-path {
  position: relative;
  padding: var(--home-panel-pad);
  background: linear-gradient(165deg, #ffffff 0%, var(--blue-tint) 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  transition: transform .28s var(--home-ease), filter .28s var(--home-ease);
}

.page-home .home-path::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
}

.page-home .home-path:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 20px 28px rgba(11, 18, 32, .16));
}

.page-home .home-path__idx {
  margin: 0 0 10px;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
  opacity: .24;
}

.page-home .home-path h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--ink);
}

.page-home .home-path p {
  margin: 0 0 16px;
  font-size: .9375rem;
  line-height: 1.72;
  color: var(--gray);
}

.page-home .home-path__route {
  margin: 0;
  padding-top: 13px;
  border-top: 1px dashed rgba(27, 92, 255, .32);
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--blue);
  opacity: 1;
}

@media (hover: hover) {
  .page-home .home-path__route {
    opacity: .68;
    transition: opacity .28s var(--home-ease);
  }

  .page-home .home-path:hover .home-path__route {
    opacity: 1;
  }
}

.page-home .home-paths__band {
  margin: 32px 0 0;
}

.page-home .home-paths__band img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 2px 2px 2px 18px;
}

.page-home .home-paths__band figcaption {
  margin-top: 12px;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--gray);
}

/* ---------- 面板看点 ---------- */

.page-home .home-panel {
  background: var(--blue-tint);
}

.page-home .home-panel__grid {
  display: grid;
  gap: 32px;
}

.page-home .home-panel__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.page-home .home-panel__list {
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.page-home .home-panel__list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-size: .9375rem;
  color: var(--ink);
}

.page-home .home-panel__list li.is-key {
  padding-left: 11px;
  border-left: 3px solid var(--orange);
  border-bottom-color: transparent;
  background: var(--warm);
  font-weight: 600;
}

.page-home .home-panel__list .num {
  font-family: var(--font-num);
  font-size: .8125rem;
  font-variant-numeric: tabular-nums;
  color: var(--gray);
}

.page-home .home-panel__list li.is-key .num {
  color: var(--orange);
}

.page-home .home-panel__note {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.78;
  color: var(--gray);
}

/* ---------- 版本对照 ---------- */

.page-home .home-compare__grid {
  display: grid;
  gap: 22px;
}

.page-home .home-compare__col {
  padding: 30px 26px;
  border-radius: 4px;
}

.page-home .home-compare__col h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.375rem;
}

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

.page-home .home-compare__col li {
  position: relative;
  padding: 10px 0 10px 20px;
  font-size: .9375rem;
  line-height: 1.72;
}

.page-home .home-compare__col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.page-home .home-compare__col--lite {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  color: var(--ink);
}

.page-home .home-compare__col--lite .home-compare__for {
  margin: 0 0 14px;
  font-size: .875rem;
  color: var(--blue);
}

.page-home .home-compare__col--lite li {
  color: var(--gray);
}

.page-home .home-compare__col--full {
  background: var(--console);
  color: var(--paper);
}

.page-home .home-compare__col--full h3 {
  color: var(--paper);
}

.page-home .home-compare__col--full .home-compare__for {
  margin: 0 0 14px;
  font-size: .875rem;
  color: var(--green);
}

.page-home .home-compare__col--full li {
  color: rgba(251, 252, 254, .78);
  border-top: 1px solid rgba(216, 224, 238, .14);
}

.page-home .home-compare__col--full li:first-child {
  border-top: 0;
}

.page-home .home-compare__foot {
  margin: 26px 0 0;
  max-width: 60ch;
  font-size: .9375rem;
  line-height: 1.78;
  color: var(--gray);
}

/* ---------- 预约 ---------- */

.page-home .home-booking__grid {
  display: grid;
  gap: 32px;
}

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

.page-home .home-booking__steps li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.page-home .home-booking__steps .num {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--warm);
  color: var(--orange);
  font-family: var(--font-num);
  font-size: .875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.page-home .home-booking__steps h3 {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--ink);
}

.page-home .home-booking__steps p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.72;
  color: var(--gray);
}

.page-home .home-booking__media {
  margin: 0;
}

.page-home .home-booking__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px 16px 2px 16px;
}

/* ---------- 服务地区与联系 ---------- */

.page-home .home-service {
  position: relative;
  margin-top: 20px;
  padding: 62px 0 0;
  background: var(--console);
  color: var(--paper);
  clip-path: polygon(0 36px, 100% 0, 100% 100%, 0 100%);
}

.page-home .home-service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--violet) 38%, var(--orange) 72%, var(--green));
}

.page-home .home-service__grid {
  display: grid;
  gap: 36px;
  padding-top: 22px;
}

.page-home .home-service .home-head__kicker {
  color: var(--green);
}

.page-home .home-service .home-head__title {
  color: var(--paper);
}

.page-home .home-service__main p {
  margin: 0 0 16px;
  max-width: 58ch;
  font-size: .9688rem;
  line-height: 1.8;
  color: rgba(251, 252, 254, .78);
}

.page-home .home-service__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-home .home-service__meta span {
  padding: 7px 14px;
  border: 1px solid rgba(251, 252, 254, .22);
  border-radius: 999px;
  font-size: .8125rem;
  color: rgba(251, 252, 254, .82);
}

.page-home .home-service__side {
  padding: 26px 24px;
  background: var(--console-soft);
  border-radius: 2px 2px 2px 16px;
}

.page-home .home-service__label {
  margin: 0 0 6px;
  font-family: var(--font-num);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: rgba(251, 252, 254, .55);
}

.page-home .home-service__value {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--paper);
  word-break: break-all;
}

.page-home .home-service__value.num {
  font-variant-numeric: tabular-nums;
}

.page-home .home-copy {
  appearance: none;
  margin: 0 0 20px;
  padding: 7px 14px;
  border: 1px solid rgba(251, 252, 254, .32);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: .8125rem;
  color: var(--paper);
  cursor: pointer;
  transition: border-color .2s var(--home-ease), color .2s var(--home-ease);
}

.page-home .home-copy:hover {
  border-color: var(--green);
  color: var(--green);
}

.page-home .home-copy:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.page-home .home-service__note {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.72;
  color: rgba(251, 252, 254, .6);
}

.page-home .home-service__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  padding-top: 40px;
  padding-bottom: 56px;
}

.page-home .home-service__link {
  font-size: .9375rem;
  color: rgba(251, 252, 254, .8);
  text-decoration: none;
  border-bottom: 1px solid rgba(251, 252, 254, .3);
  padding-bottom: 2px;
  transition: color .2s var(--home-ease), border-color .2s var(--home-ease);
}

.page-home .home-service__link:hover {
  color: var(--green);
  border-color: var(--green);
}

.page-home .home-service__link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

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

@media (min-width: 700px) {
  .page-home .home-paths__band img {
    height: 280px;
  }

  .page-home .home-compare__col {
    padding: 34px 32px;
  }
}

@media (min-width: 880px) {
  .page-home .home-hero {
    padding: 72px 0 60px;
  }

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

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

  .page-home .home-path:nth-child(2) {
    margin-top: 24px;
  }

  .page-home .home-path:nth-child(3) {
    margin-top: 48px;
  }

  .page-home .home-paths__band img {
    height: 320px;
  }

  .page-home .home-compare__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    align-items: start;
  }

  .page-home .home-compare__col--full {
    margin-top: 26px;
  }
}

@media (min-width: 1000px) {
  .page-home .home-section {
    padding: 88px 0;
  }

  .page-home .home-panel__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: 58px;
  }

  .page-home .home-booking__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: 56px;
  }

  .page-home .home-service__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-console__pulse {
    animation: none;
  }

  .page-home .home-path,
  .page-home .home-console__quick a,
  .page-home .home-copy,
  .page-home .home-service__link {
    transition: none;
  }

  .page-home .home-path:hover {
    transform: none;
  }
}
