:root {
  color-scheme: light;
  --privacy-bg: #f2f0ea;
  --privacy-ink: #24211d;
  --privacy-muted: #6d675f;
  --privacy-accent: #7a5b12;
  --privacy-rule: rgba(36, 33, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  background: #f2f0ea;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #f2f0ea;
  color: var(--privacy-ink);
  font-family: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  text-rendering: optimizeLegibility;
}

main,
footer {
  width: calc(100% - 48px);
  max-width: 760px;
  margin-inline: auto;
}

main {
  padding-block: 72px 56px;
}

h1,
h2,
p,
ul {
  margin-top: 0;
}

h1 {
  margin-bottom: 32px;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.25;
}

main > p {
  margin-bottom: 14px;
  color: var(--privacy-muted);
  font-size: 0.94rem;
}

main > p:nth-of-type(3) {
  margin-top: 28px;
  color: var(--privacy-ink);
  font-size: 1rem;
}

section {
  margin-top: 50px;
}

h2 {
  margin-bottom: 14px;
  font-size: 1.24rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

p,
ul {
  margin-bottom: 16px;
}

ul {
  padding-left: 1.4em;
}

li + li {
  margin-top: 4px;
}

a {
  color: var(--privacy-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid var(--privacy-accent);
  outline-offset: 4px;
}

footer {
  padding-bottom: 48px;
  color: var(--privacy-muted);
  font-size: 0.88rem;
}

footer hr {
  margin: 0 0 20px;
  border: 0;
  border-top: 1px solid var(--privacy-rule);
}

footer p {
  margin-bottom: 0;
}

::selection {
  background: #ded4b9;
}

@media (min-width: 761px) {
  h1 {
    font-size: 2.4rem;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  main,
  footer {
    width: calc(100% - 32px);
  }

  main {
    padding-block: 40px 44px;
  }

  h1 {
    margin-bottom: 26px;
    font-size: 2rem;
  }

  section {
    margin-top: 40px;
  }
}
