.page-home {
  --home-gap: clamp(1rem, 2.6vw, 1.9rem);
  --home-panel-line: rgba(168, 218, 220, 0.22);
  display: block;
  padding-bottom: clamp(2.5rem, 7vw, 5rem);
  background-image:
    radial-gradient(72% 44% at 86% 0%, rgba(79, 209, 197, 0.16), transparent 70%),
    radial-gradient(64% 46% at 3% 10%, rgba(11, 79, 108, 0.72), transparent 74%);
  background-repeat: no-repeat;
}

.page-home .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding-top: clamp(1.1rem, 3vw, 2rem);
  padding-bottom: clamp(0.6rem, 1.8vw, 1.1rem);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.page-home .breadcrumbs__sep {
  color: rgba(168, 218, 220, 0.4);
}

/* ---------- 首屏主控面板 ---------- */

.page-home .home-deck {
  position: relative;
  padding-top: clamp(1rem, 3.5vw, 2.4rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.page-home .home-deck__grid {
  display: grid;
  gap: clamp(1.6rem, 3.6vw, 2.9rem);
  align-items: start;
}

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

.page-home .home-deck__title {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.1rem, 6.4vw, 4.3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-wrap: balance;
}

.page-home .home-deck__title::after {
  content: "";
  display: block;
  width: 3.6rem;
  height: 4px;
  margin-top: 1.15rem;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

.page-home .home-deck__lede {
  margin: 1.15rem 0 0;
  max-width: 46ch;
  font-size: clamp(0.97rem, 1.6vw, 1.08rem);
  line-height: 1.78;
  color: var(--text-soft);
}

.page-home .home-deck__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.65rem;
}

.page-home .home-deck__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.7rem;
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-deck__aside {
  display: grid;
  gap: var(--home-gap);
  min-width: 0;
}

.page-home .home-deck__media {
  border: 1px solid var(--home-panel-line);
  background: var(--navy);
  box-shadow: var(--shadow-panel);
}

.page-home .home-deck__media img,
.page-home .home-path__figure img,
.page-home .home-passing__figure img,
.page-home .home-cases__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-home .home-toc {
  position: relative;
  border: 1px solid var(--home-panel-line);
  background: rgba(7, 30, 43, 0.52);
  padding: clamp(1rem, 2.4vw, 1.5rem);
}

.page-home .home-toc::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--orange), var(--cyan));
  pointer-events: none;
}

.page-home .home-toc__title {
  margin: 0 0 0.85rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.page-home .home-toc__list {
  display: grid;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-toc__list a {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 0.58rem 0.4rem;
  border-bottom: 1px dashed rgba(168, 218, 220, 0.16);
  color: var(--text-soft);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, padding-left 0.25s ease;
}

.page-home .home-toc__list a:hover,
.page-home .home-toc__list a:focus-visible {
  color: var(--cyan);
  background: rgba(79, 209, 197, 0.08);
  padding-left: 0.85rem;
}

.page-home .home-toc__num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

/* ---------- 章节通用 ---------- */

.page-home .home-path,
.page-home .home-passing,
.page-home .home-ios,
.page-home .home-cases,
.page-home .home-return {
  padding-block: clamp(2.25rem, 5.5vw, 4.25rem);
}

.page-home .section-head {
  display: grid;
  gap: 0.5rem;
  max-width: 64ch;
}

.page-home .section-head__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--orange);
}

.page-home .home-ios__copy > .section-head__num {
  display: inline-block;
  margin-bottom: 0.4rem;
}

.page-home .section-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.55rem, 3.6vw, 2.45rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .section-head__note {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.74;
  color: var(--text-soft);
}

/* ---------- 回访路径 ---------- */

.page-home .home-path__body {
  display: grid;
  gap: clamp(1.6rem, 3.4vw, 2.6rem);
  margin-top: clamp(1.5rem, 3.2vw, 2.3rem);
}

.page-home .home-path__steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-path__step {
  position: relative;
  padding: 0 0 1.75rem 3.4rem;
}

.page-home .home-path__step:last-child {
  padding-bottom: 0;
}

.page-home .home-path__step::before {
  content: "";
  position: absolute;
  left: 1.03rem;
  top: 2.15rem;
  bottom: 0.1rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(79, 209, 197, 0.55), rgba(79, 209, 197, 0.05));
}

.page-home .home-path__step:last-child::before {
  display: none;
}

.page-home .home-path__step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  background: rgba(7, 30, 43, 0.82);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan);
}

.page-home .home-path__step h3 {
  margin: 0.2rem 0 0.4rem;
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .home-path__step p {
  margin: 0;
  max-width: 44ch;
  font-size: 0.94rem;
  line-height: 1.74;
  color: var(--text-soft);
}

.page-home .home-path__side {
  display: grid;
  gap: var(--home-gap);
  min-width: 0;
}

.page-home .home-path__figure {
  margin: 0;
  border: 1px solid var(--home-panel-line);
  background: var(--navy);
}

.page-home .home-path__compare {
  display: grid;
  gap: 0.85rem;
  padding: clamp(1rem, 2.2vw, 1.35rem);
  border: 1px solid var(--home-panel-line);
  background: rgba(7, 30, 43, 0.45);
}

.page-home .home-path__compare-row {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr) 3.2rem;
  align-items: center;
  gap: 0.8rem;
}

.page-home .home-path__pips {
  display: flex;
  gap: 0.3rem;
  min-width: 0;
}

.page-home .home-path__pips i {
  display: block;
  flex: 1 1 0;
  height: 0.5rem;
  border-radius: 2px;
  background: rgba(168, 218, 220, 0.22);
}

.page-home .home-path__compare-row--now .home-path__pips i {
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

.page-home .home-path__compare-num {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--paper);
  text-align: right;
}

.page-home .home-path__compare-note {
  margin: 0;
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(168, 218, 220, 0.18);
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ---------- 传球数据 ---------- */

.page-home .home-passing__board {
  display: grid;
  gap: clamp(1.3rem, 3vw, 2.3rem);
  margin-top: clamp(1.5rem, 3.2vw, 2.3rem);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--home-panel-line);
  background: linear-gradient(150deg, rgba(7, 30, 43, 0.74), rgba(11, 79, 108, 0.42));
}

.page-home .home-passing__headline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem;
}

.page-home .home-passing__headline .data-figure__value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(3.1rem, 9vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cyan);
}

.page-home .home-passing__headline .data-figure__unit {
  font-family: var(--font-mono);
  font-size: clamp(1.15rem, 3vw, 1.75rem);
  color: var(--orange);
}

.page-home .home-passing__headline .data-figure__label {
  display: block;
  width: 100%;
  margin-top: 0.7rem;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.page-home .home-passing__bars {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-passing__bar {
  position: relative;
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr) 4.2rem;
  align-items: center;
  gap: 0.85rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.page-home .home-passing__bar:hover,
.page-home .home-passing__bar:focus-within {
  border-color: rgba(79, 209, 197, 0.35);
  background: rgba(79, 209, 197, 0.06);
}

.page-home .home-passing__bar-round {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.page-home .home-passing__track {
  position: relative;
  display: block;
  height: 0.62rem;
  overflow: hidden;
  background: rgba(168, 218, 220, 0.14);
}

.page-home .home-passing__fill {
  display: block;
  height: 100%;
  width: calc(var(--v, 0) * 1%);
  background: linear-gradient(90deg, var(--river), var(--cyan));
  transition: width 0.9s cubic-bezier(0.22, 0.75, 0.28, 1);
}

.page-home .home-passing__bar-value {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--paper);
  text-align: right;
}

.page-home .home-passing__bar-tip {
  position: absolute;
  top: 0;
  right: 0.75rem;
  transform: translateY(-108%);
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--cyan);
  background: var(--navy);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.page-home .home-passing__bar:hover .home-passing__bar-tip,
.page-home .home-passing__bar:focus-within .home-passing__bar-tip {
  opacity: 1;
  transform: translateY(-100%);
}

.page-home .home-passing__figure {
  margin: clamp(1.25rem, 3vw, 2rem) 0 0;
  border: 1px solid var(--home-panel-line);
  background: var(--navy);
}

/* ---------- iOS 索引 ---------- */

.page-home .home-ios__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.page-home .home-ios__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.55rem, 3.6vw, 2.45rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .home-ios__body {
  margin: 0 0 1.4rem;
  max-width: 46ch;
  font-size: 0.98rem;
  line-height: 1.78;
  color: var(--text-soft);
}

.page-home .home-ios__facts {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}

.page-home .home-ios__facts li {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(168, 218, 220, 0.18);
}

.page-home .home-ios__facts strong {
  flex: none;
  min-width: 5rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--orange);
}

.page-home .home-ios__facts span {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-dim);
}

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

.page-home .phone {
  position: relative;
  width: min(340px, 100%);
  margin-inline: auto;
  padding: 2.5rem 1.1rem 1.4rem;
  border: 1px solid var(--home-panel-line);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(7, 30, 43, 0.94), rgba(11, 79, 108, 0.55));
  box-shadow: var(--shadow-panel);
}

.page-home .phone__notch {
  position: absolute;
  top: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4.4rem;
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(168, 218, 220, 0.32);
}

.page-home .phone__title {
  margin: 0 0 0.8rem;
  text-align: center;
  color: var(--cyan);
}

.page-home .phone__steps {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .phone__step {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(168, 218, 220, 0.18);
  background: rgba(7, 30, 43, 0.5);
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.page-home .phone__step b {
  font-weight: 500;
  color: var(--paper);
}

.page-home .phone__step-num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan);
}

/* ---------- 案例合集 ---------- */

.page-home .home-cases__layout {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(1.5rem, 3.2vw, 2.3rem);
}

.page-home .home-cases__figure {
  margin: 0;
  border: 1px solid var(--home-panel-line);
  background: var(--navy);
}

.page-home .home-cases__grid {
  display: grid;
  gap: clamp(0.9rem, 2vw, 1.3rem);
}

.page-home .home-cases__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1.05rem, 2.2vw, 1.4rem);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-home .home-cases__card:hover,
.page-home .home-cases__card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-panel);
}

.page-home .home-cases__tag {
  align-self: flex-start;
}

.page-home .home-cases__desc {
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-home .home-cases__flag {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--orange);
  background: var(--navy);
  color: var(--orange);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.page-home .home-cases__card:hover .home-cases__flag,
.page-home .home-cases__card:focus-within .home-cases__flag {
  opacity: 1;
  transform: translateY(0);
}

.page-home .home-cases__link {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--river);
  border-bottom: 1px solid currentColor;
}

.page-home .home-cases__link:hover,
.page-home .home-cases__link:focus-visible {
  color: var(--deep-green);
}

.page-home .home-cases__more {
  margin: clamp(1.5rem, 3vw, 2.2rem) 0 0;
}

/* ---------- 回访提醒 ---------- */

.page-home .home-return__panel {
  position: relative;
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
  overflow: hidden;
}

.page-home .home-return__panel::after {
  content: "";
  position: absolute;
  right: -14%;
  top: -46%;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 61, 0.3), transparent 68%);
  pointer-events: none;
}

.page-home .home-return__main,
.page-home .home-return__list,
.page-home .home-return__actions {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.page-home .home-return__title {
  margin: 0.35rem 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .home-return__body {
  margin: 0;
  max-width: 44ch;
  font-size: 0.95rem;
  line-height: 1.76;
  color: var(--text-soft);
}

.page-home .home-return__list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-return__list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.page-home .home-return__dot {
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--shallow);
}

.page-home .home-return__dot--live {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.22);
}

.page-home .home-return__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

@media (min-width: 720px) {
  .page-home .home-cases__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .page-home .home-ios__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.84fr);
    align-items: center;
  }

  .page-home .home-passing__board {
    grid-template-columns: minmax(0, 0.56fr) minmax(0, 1.44fr);
    align-items: center;
  }

  .page-home .home-return__panel {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
  }

  .page-home .home-return__actions {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .page-home .home-path__body {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }
}

@media (min-width: 1080px) {
  .page-home .home-cases__layout {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
  }
}

@media (max-width: 560px) {
  .page-home .home-passing__bar {
    grid-template-columns: 3.6rem minmax(0, 1fr) 3.4rem;
    gap: 0.5rem;
    padding-inline: 0.35rem;
  }

  .page-home .home-path__compare-row {
    grid-template-columns: 4.4rem minmax(0, 1fr) 2.8rem;
    gap: 0.55rem;
  }

  .page-home .home-passing__bar-tip {
    right: 0.35rem;
    font-size: 0.66rem;
  }

  .page-home .home-ios__facts strong {
    min-width: 4.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .page-home .home-cases__card:hover,
  .page-home .home-cases__card:focus-within {
    transform: none;
  }

  .page-home .home-passing__fill {
    transition: none;
  }
}

.page-home {
  --v: 1rem;
}
