:root {
  --red: #d8171f;
  --text: #161616;
  --muted: #999;
  --page-padding: clamp(30px, 8.33vw, 160px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

main {
  display: block;
  padding-top: 64px;
}

@media (max-width: 767px) {
  main {
      padding-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
  *,
    *::before,
    *::after {
      scroll-behavior: auto !important;
      transition-duration: 0.01ms !important;
      animation-duration: 0.01ms !important;
      animation-delay: 0ms !important;
    }
}
