.page-home {
  --home-tilt: -3.5deg;
  --home-tile-shadow: 0 22px 48px -30px rgba(11, 31, 59, .55);
  background: var(--paper);
  color: var(--ink);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  background: var(--blue-deep);
  color: var(--white);
  padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -12%;
  width: 58%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(255, 107, 26, .22), transparent 72%);
  pointer-events: none;
}

.page-home .home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.page-home .home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-soft);
}

.page-home .home-hero__title {
  margin: 12px 0 0;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.page-home .home-hero__lede {
  margin-top: 20px;
  max-width: 46ch;
  color: var(--on-dark);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-home .home-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin: 32px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--hairline-dark);
}

.page-home .home-hero__facts div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .home-hero__facts dt {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--on-dark-soft);
}

.page-home .home-hero__facts dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.page-home .home-hero__visual {
  display: grid;
  gap: 14px;
}

.page-home .home-hero__frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--night);
  border: 1px solid var(--hairline-dark);
  aspect-ratio: 4 / 3;
  min-height: 250px;
}

.page-home .home-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
}

.page-home .home-hero__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-home .home-hero__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: rgba(7, 20, 38, .74);
  border: 1px solid var(--hairline-dark);
  font-size: 12px;
  color: var(--white);
}

.page-home .home-quick {
  display: grid;
  gap: 10px;
}

.page-home .home-quick__item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "k t"
    "k d";
  gap: 2px 14px;
  padding: 13px 16px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--hairline-dark);
  color: var(--white);
  text-decoration: none;
  transition: transform .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease);
}

.page-home .home-quick__item:hover,
.page-home .home-quick__item:focus-visible {
  transform: translateY(-3px);
  border-color: var(--orange);
  background: rgba(255, 107, 26, .14);
}

.page-home .home-quick__k {
  grid-area: k;
  align-self: center;
  font-size: 12px;
  color: var(--orange-soft);
}

.page-home .home-quick__t {
  grid-area: t;
  font-weight: 700;
  font-size: 15px;
}

.page-home .home-quick__d {
  grid-area: d;
  font-size: 12.5px;
  color: var(--on-dark-soft);
}

/* ---------- 流程带 ---------- */
.page-home .home-flow__head {
  max-width: 62ch;
}

.page-home .home-flow__head .lede {
  margin-top: 14px;
}

.page-home .home-flow__track {
  display: flex;
  gap: 16px;
  margin: 36px 0 0;
  padding: 0 0 18px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .home-flow__step {
  flex: 0 0 min(76vw, 296px);
  scroll-snap-align: start;
  padding: 22px 24px 26px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--hairline);
  box-shadow: var(--home-tile-shadow);
}

.page-home .home-flow__num {
  display: block;
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--orange);
}

.page-home .home-flow__step h3 {
  margin: 10px 0 8px;
  font-size: 19px;
}

.page-home .home-flow__step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--slate);
}

.page-home .home-flow__hint {
  margin: 6px 0 0;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--slate);
}

/* ---------- 主题卡片 ---------- */
.page-home .home-themes {
  background: var(--paper);
}

.page-home .home-themes__head {
  max-width: 56ch;
  margin-bottom: 26px;
}

.page-home .home-themes__grid {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.page-home .home-tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: var(--r-lg);
}

.page-home .home-tile .h3 {
  margin: 0;
  font-size: 20px;
}

.page-home .home-tile .card__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--slate);
}

.page-home .home-tile__link {
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 3px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  transition: color .15s var(--ease);
}

.page-home .home-tile__link:hover,
.page-home .home-tile__link:focus-visible {
  color: var(--orange);
}

.page-home .home-tile[hidden] {
  display: none;
}

/* ---------- 老用户入口 ---------- */
.page-home .home-entry {
  background: var(--mint);
  color: var(--ink);
}

.page-home .home-entry__grid {
  display: grid;
  gap: 28px;
}

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

.page-home .home-entry__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid rgba(11, 31, 59, .12);
}

.page-home .home-entry__figure figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: rgba(11, 31, 59, .6);
}

.page-home .home-entry__text {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.85;
  max-width: 60ch;
}

.page-home .home-entry__list {
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-home .home-entry__list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .66);
  border: 1px solid rgba(11, 31, 59, .1);
  font-size: 14.5px;
}

.page-home .home-entry__list .mono {
  color: var(--blue-deep);
  font-size: 12.5px;
  letter-spacing: .1em;
}

/* ---------- 价格与资质对照 ---------- */
.page-home .home-compare__head {
  max-width: 62ch;
}

.page-home .home-compare__head .lede {
  margin-top: 14px;
}

.page-home .home-compare__grid {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.page-home .home-compare__caption {
  text-align: left;
  font-size: 12.5px;
  letter-spacing: .12em;
  color: var(--slate);
  padding-bottom: 10px;
}

.page-home .home-compare__foot {
  margin: 18px 0 0;
}

.page-home .home-compare__side {
  display: grid;
  gap: 16px;
  align-content: start;
}

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

.page-home .home-compare__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r-lg);
}

.page-home .home-compare__quals {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.page-home .home-compare__quals li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--teal);
  font-size: 14px;
}

.page-home .home-compare__cycle {
  font-size: 12px;
  color: var(--teal);
}

.page-home .home-compare__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
}

/* ---------- 维护记录 ---------- */
.page-home .home-log {
  background: var(--night);
  color: var(--white);
}

.page-home .home-log__banner {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--hairline-dark);
  margin-bottom: 28px;
}

.page-home .home-log__banner img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 5 / 2;
  min-height: 210px;
  object-fit: cover;
  opacity: .45;
}

.page-home .home-log__banner-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(18px, 4vw, 32px);
  background: linear-gradient(to top, rgba(7, 20, 38, .94), rgba(7, 20, 38, 0));
}

.page-home .home-log__banner-copy .h2 {
  margin: 8px 0 10px;
}

.page-home .home-log__banner-copy p {
  margin: 0;
  max-width: 52ch;
  font-size: 14.5px;
  color: var(--on-dark);
}

.page-home .home-log__list {
  display: grid;
  gap: 12px;
}

.page-home .home-log__item {
  border: 1px solid var(--hairline-dark);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .04);
  padding: 2px 20px;
}

.page-home .home-log__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  cursor: pointer;
  font-weight: 700;
  color: var(--white);
  list-style: none;
}

.page-home .home-log__item summary::-webkit-details-marker {
  display: none;
}

.page-home .home-log__item summary .mono {
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--amber);
}

.page-home .home-log__item ul {
  margin: 0 0 18px;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--on-dark);
}

.page-home .home-log__item strong {
  color: var(--white);
}

.page-home .home-log__more {
  margin-top: 24px;
  border-color: var(--hairline-dark);
  color: var(--white);
}

/* ---------- 服务保障 ---------- */
.page-home .home-guard__head {
  max-width: 54ch;
}

.page-home .home-guard__grid {
  display: grid;
  gap: 16px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-guard__item {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--hairline);
  transition: transform .15s var(--ease), border-color .15s var(--ease);
}

.page-home .home-guard__item:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
}

.page-home .home-guard__num {
  display: block;
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--orange);
}

.page-home .home-guard__item h3 {
  margin: 10px 0 10px;
  font-size: 20px;
}

.page-home .home-guard__item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--slate);
}

/* ---------- 老用户续订 ---------- */
.page-home .home-renew {
  background: var(--blue-deep);
  color: var(--white);
}

.page-home .home-renew__inner {
  display: grid;
  gap: 26px;
  align-items: center;
}

.page-home .home-renew__copy .eyebrow {
  color: var(--orange-soft);
}

.page-home .home-renew__copy p {
  margin: 14px 0 0;
  max-width: 52ch;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--on-dark);
}

.page-home .home-renew__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-renew__aside-wrap {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline-dark);
}

.page-home .home-renew__aside {
  margin: 0;
  font-size: 14px;
  color: var(--on-dark);
}

.page-home .home-renew__aside a {
  color: var(--amber);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--amber);
}

.page-home .home-renew__aside a:hover,
.page-home .home-renew__aside a:focus-visible {
  color: var(--orange-soft);
  border-bottom-color: var(--orange-soft);
}

/* ---------- 桌面布局 ---------- */
@media (min-width: 760px) {
  .page-home .home-guard__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-renew__inner {
    grid-template-columns: 1.5fr auto;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: 38fr 62fr;
    align-items: center;
  }

  .page-home .home-hero__frame {
    aspect-ratio: 16 / 11;
  }

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

  .page-home .home-themes__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
    padding-bottom: 72px;
  }

  .page-home .home-tile:nth-child(1) {
    min-height: 320px;
  }

  .page-home .home-tile:nth-child(2) {
    min-height: 260px;
    margin-top: 48px;
  }

  .page-home .home-tile:nth-child(3) {
    min-height: 300px;
    margin-top: 12px;
  }

  .page-home .home-tile:nth-child(4) {
    min-height: 240px;
    margin-top: 60px;
  }

  .page-home .home-entry__grid {
    grid-template-columns: 38fr 62fr;
    gap: clamp(32px, 5vw, 56px);
    align-items: center;
  }

  .page-home .home-compare__grid {
    grid-template-columns: 1.15fr .85fr;
    gap: 32px;
    align-items: start;
  }

  .page-home .home-flow__hint {
    display: none;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .home-quick__item,
  .page-home .home-guard__item,
  .page-home .home-tile__link {
    transition: none;
  }

  .page-home .home-quick__item:hover,
  .page-home .home-guard__item:hover {
    transform: none;
  }
}
