:root {
  color-scheme: light;
  --ink: #0d1b36;
  --muted: #53627a;
  --brand: #0867e8;
  --deep: #10203d;
  --line: #dfe9f6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0, #f5f8fd 160px, #f5f8fd 100%);
  font: 16px/1.85 "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  letter-spacing: 0;
}

.legal-header {
  height: 72px;
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #edf2f8;
  box-shadow: 0 8px 24px rgba(18, 39, 72, 0.04);
}

.legal-header a {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.legal-header span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(145deg, #20c8d2, #0867e8 72%);
  border-radius: 14px 14px 18px 18px;
  clip-path: polygon(50% 0, 92% 14%, 84% 78%, 50% 100%, 16% 78%, 8% 14%);
  font-weight: 900;
  font-size: 0;
}

.legal-header strong {
  font-size: 20px;
}

.legal-page {
  width: min(920px, calc(100% - 32px));
  margin: 24px auto 56px;
}

article {
  padding: 42px 52px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20, 46, 84, 0.055);
}

.eyebrow {
  margin: 0;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

h1 {
  margin: 4px 0 0;
  font-size: 34px;
  line-height: 1.3;
}

.updated {
  margin: 8px 0 30px;
  color: var(--muted);
  font-size: 13px;
}

h2 {
  margin: 28px 0 6px;
  font-size: 19px;
}

p {
  margin: 0;
  color: #405761;
}

@media (max-width: 640px) {
  .legal-header {
    height: 66px;
  }

  .legal-header a {
    width: calc(100% - 24px);
  }

  .legal-header span {
    width: 36px;
    height: 36px;
  }

  .legal-header strong {
    max-width: 220px;
    overflow: hidden;
    font-size: 22px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .legal-page {
    width: calc(100% - 24px);
    margin: 12px auto 36px;
  }

  article {
    padding: 24px 18px 36px;
    border-radius: 14px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 17px;
  }

  p {
    font-size: 15px;
  }
}
