:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f6f6f2;
  color: #101012;
}

a {
  color: inherit;
  text-decoration: none;
}

.legal-header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  min-height: 72px;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ddddda;
  background: rgb(246 246 242 / 94%);
}

.legal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.legal-brand img {
  width: 36px;
  height: 36px;
}

.legal-back {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #c9c9c5;
  border-radius: 6px;
  line-height: 42px;
  font-size: 14px;
  font-weight: 700;
}

.legal-main {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 96px;
}

.legal-rule {
  width: 180px;
  height: 3px;
  margin-bottom: 34px;
  object-fit: fill;
}

h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.25;
}

.legal-date {
  margin: 20px 0 48px;
  color: #6b6b6e;
  font-size: 13px;
  line-height: 1.8;
}

.legal-content {
  font-size: 15px;
  line-height: 1.95;
}

.legal-content h2 {
  margin: 44px 0 12px;
  font-size: 21px;
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content ol {
  margin: 0 0 16px;
  padding-left: 1.4em;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 768px) {
  .legal-header {
    padding-inline: 40px;
  }

  .legal-main {
    padding-top: 92px;
  }

  h1 {
    font-size: 48px;
  }
}
