.page-home {
  --home-radius: 16px;
  --home-grid-line: rgba(22, 32, 43, .055);
  position: relative;
  background: var(--paper);
}

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

.page-home .home-hero {
  position: relative;
  padding: 26px 0 48px;
  isolation: isolate;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, var(--home-grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--home-grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .4) 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .4) 72%, transparent 100%);
  pointer-events: none;
}

.page-home .home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
}

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

.page-home .home-hero__mark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--brown);
}

.page-home .home-ring {
  display: inline-flex;
  flex: none;
  width: 32px;
  height: 32px;
  color: var(--mint);
  animation: home-ring-spin 8s linear infinite;
}

.page-home .home-ring svg {
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes home-ring-spin {
  to { transform: rotate(360deg); }
}

.page-home .hero-title {
  margin: 16px 0 0;
  font-size: clamp(1.9rem, 6.2vw, 3.25rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.02em;
  color: var(--ink);
}

.page-home .hero-lede {
  margin: 18px 0 0;
  max-width: 34em;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--brown);
}

.page-home .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .hero-figure {
  margin: 30px 0 0;
  max-width: 340px;
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  overflow: hidden;
  background: linear-gradient(150deg, var(--mint-soft), var(--blue-soft));
  box-shadow: var(--shadow-low);
}

.page-home .hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ---------- 产品线拼贴块 ---------- */

.page-home .hero-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
  min-width: 0;
}

.page-home .tile {
  --tile-accent: var(--blue);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform .19s var(--ease), box-shadow .19s var(--ease), border-color .19s var(--ease);
}

.page-home .tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--tile-accent);
}

.page-home .tile:hover,
.page-home .tile:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-low);
}

.page-home .tile--a {
  grid-column: span 2;
  background: linear-gradient(155deg, var(--paper) 52%, var(--blue-soft));
}

.page-home .tile--b {
  --tile-accent: var(--mint);
  background: linear-gradient(155deg, var(--paper) 48%, var(--mint-soft));
}

.page-home .tile--c {
  background: var(--paper);
}

.page-home .tile--d {
  --tile-accent: var(--mint);
  grid-column: span 2;
  background: linear-gradient(155deg, var(--paper) 52%, var(--mint-soft));
}

.page-home .tile-idx {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .16em;
  color: var(--brown);
}

.page-home .tile-name {
  font-size: 1.125rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.page-home .tile-line {
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--brown);
}

.page-home .tile-metric {
  margin-top: auto;
  padding-top: 6px;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--brown);
}

.page-home .tile-metric strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--blue);
}

.page-home .tile--b .tile-metric strong,
.page-home .tile--d .tile-metric strong {
  color: var(--green-ink);
}

.page-home .tile-fig {
  display: block;
  margin-top: 14px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, var(--mist), var(--blue-soft));
}

.page-home .tile-fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---------- 通用标题 ---------- */

.page-home .home-h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.125rem);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -.02em;
  color: var(--ink);
}

.page-home .home-h2--light {
  color: var(--paper);
}

.page-home .coord {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .16em;
  color: var(--brown);
}

/* ---------- 路径说明 ---------- */

.page-home .home-paths {
  padding-top: 52px;
  padding-bottom: 56px;
}

.page-home .path-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.page-home .path-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  background: var(--paper);
}

.page-home .path-title {
  margin: 0;
  font-size: clamp(1.1875rem, 3vw, 1.4375rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -.015em;
  color: var(--ink);
}

.page-home .path-text {
  margin: 0;
  font-size: .9688rem;
  line-height: 1.82;
  color: var(--brown);
}

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

.page-home .steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--mist);
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--ink);
}

.page-home .step-num {
  flex: none;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .12em;
  color: var(--blue);
  padding-top: 5px;
}

.page-home .path-note {
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--mint-soft);
  border-left: 3px solid var(--mint);
}

.page-home .path-note-title {
  margin: 0 0 4px;
  font-size: .875rem;
  font-weight: 900;
  color: var(--green-ink);
}

.page-home .path-note p:last-child {
  margin: 0;
  font-size: .9063rem;
  line-height: 1.7;
  color: var(--ink);
}

.page-home .media-frame {
  margin: 4px 0 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--mist), var(--blue-soft));
}

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

/* ---------- 折叠问答 ---------- */

.page-home .home-faq {
  padding-top: 52px;
  padding-bottom: 56px;
}

.page-home .faq-list {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.page-home .faq-item {
  border-bottom: 1px solid var(--line);
}

.page-home .faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 1.0313rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  transition: color .18s var(--ease);
}

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

.page-home .faq-item summary:hover,
.page-home .faq-item[open] summary {
  color: var(--blue);
}

.page-home .faq-mark {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
}

.page-home .faq-mark::before,
.page-home .faq-mark::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform .18s var(--ease), opacity .18s var(--ease);
}

.page-home .faq-mark::before {
  left: 0;
  top: 8px;
  width: 18px;
  height: 2px;
}

.page-home .faq-mark::after {
  left: 8px;
  top: 0;
  width: 2px;
  height: 18px;
}

.page-home .faq-item[open] .faq-mark::after {
  transform: scaleY(0);
  opacity: 0;
}

.page-home .faq-a {
  padding: 0 4px 20px;
}

.page-home .faq-a p {
  margin: 0;
  max-width: 44em;
  padding-left: 14px;
  border-left: 2px solid var(--mint);
  font-size: .9375rem;
  line-height: 1.85;
  color: var(--brown);
}

/* ---------- 服务范围 ---------- */

.page-home .home-support {
  background: var(--green-ink);
  padding-top: 52px;
  padding-bottom: 56px;
}

.page-home .home-support .section-index {
  color: var(--mint);
}

.page-home .support-lede {
  margin: 20px 0 0;
  max-width: 40em;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(250, 247, 242, .82);
}

.page-home .support-grid {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}

.page-home .support-grid li {
  padding-top: 16px;
  border-top: 1px solid rgba(250, 247, 242, .2);
}

.page-home .support-num {
  display: block;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--mint);
}

.page-home .support-cap {
  display: block;
  margin-top: 8px;
  font-size: .875rem;
  line-height: 1.65;
  color: rgba(250, 247, 242, .78);
}

/* ---------- 更新节奏 ---------- */

.page-home .home-log {
  padding-top: 52px;
  padding-bottom: 56px;
}

.page-home .log-track {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.page-home .log-item {
  position: relative;
  padding: 0 0 24px 24px;
  border-left: 1px solid var(--line-strong);
}

.page-home .log-item::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brick);
}

.page-home .log-item:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.page-home .log-when {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .14em;
  color: var(--brown);
}

.page-home .log-title {
  margin: 10px 0 6px;
  font-size: 1.0625rem;
  font-weight: 900;
  line-height: 1.45;
  color: var(--ink);
}

.page-home .log-text {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--brown);
}

/* ---------- 结尾引导 ---------- */

.page-home .home-next {
  padding: 40px 0 64px;
}

.page-home .home-next__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  background: linear-gradient(120deg, var(--paper) 42%, var(--blue-soft));
}

.page-home .home-next__text {
  margin: 0;
  max-width: 30em;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
}

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

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

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

  .page-home .support-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 940px) {
  .page-home .home-hero {
    padding: 48px 0 76px;
  }

  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 21rem) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 54px);
    align-items: start;
  }

  .page-home .hero-figure {
    max-width: 300px;
  }

  .page-home .hero-collage {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
  }

  .page-home .tile--a {
    grid-column: span 4;
  }

  .page-home .tile--b {
    grid-column: span 2;
  }

  .page-home .tile--c {
    grid-column: span 2;
  }

  .page-home .tile--d {
    grid-column: span 4;
  }

  .page-home .tile-name {
    font-size: 1.25rem;
  }

  .page-home .log-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }

  .page-home .log-item {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-strong);
  }

  .page-home .log-item::before {
    left: 0;
    top: -4px;
  }

  .page-home .log-item:last-child {
    border-top-color: var(--line-strong);
  }
}

@media (min-width: 1100px) {
  .page-home .home-next__inner {
    padding: 30px 34px;
  }
}

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

  .page-home .tile,
  .page-home .faq-item summary,
  .page-home .faq-mark::before,
  .page-home .faq-mark::after {
    transition: none;
  }
}
