/* Privacy and terms pages: plain readable text in the site's palette and fonts. */

@font-face {
  font-family: "Manrope";
  src: url("assets/manrope-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Cinzel";
  src: url("assets/cinzel-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #ececea;
  --ink: #151618;
  --muted: #5c5e60;
  --line: rgba(21, 22, 24, 0.18);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121315;
    --ink: #efefec;
    --muted: #a9aba9;
    --line: rgba(239, 239, 236, 0.16);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.legal-brand {
  display: flex;
  justify-content: center;
  padding: 1.6rem 1rem 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: inherit;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.9rem;
  letter-spacing: 0.26em;
  line-height: 1;
  text-decoration: none;
}

.wordmark .mark {
  width: 1.3em;
  height: 1.4em;
}

.legal {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 5rem;
}

.legal h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  line-height: 1.15;
}

.legal h2 {
  margin: 2.2rem 0 0.5rem;
  font-size: 1.1rem;
}

.legal p,
.legal ul {
  margin: 0 0 0.9rem;
}

.legal li {
  margin-bottom: 0.35rem;
}

.legal a {
  color: inherit;
  text-underline-offset: 0.18rem;
}

.legal .updated {
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-footer {
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
