/* The homepage has its own dark palette. Keep its type identical across OS fonts. */
@font-face {
  font-family: "Quqi Home Sans";
  src: url("/assets/quqi-home-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

html:has(.is-home) {
  color-scheme: only dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.home-header,
.is-home .hero {
  font-family: "Quqi Home Sans", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.is-home .hero h1 {
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .29em;
  font-weight: 500;
}
.is-home .hero-subtitle {
  font-size: 13px;
  line-height: 1.85;
  font-weight: 400;
}
.is-home .hero-actions .btn {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 650;
}
@media (max-width: 600px) {
  .home-header nav { font-size: 12px; }
}
