@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,500&display=swap");

:root {
  color-scheme: dark;
  background: #000;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: #000;
}

body {
  color: #fff;
  font-family: "Source Serif 4", Georgia, serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.legal-page {
  width: min(100% - 40px, 820px);
  margin: 0 auto;
  padding: 40px 0 72px;
}

.legal-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 72px;
}

.wordmark {
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.wordmark span {
  text-decoration: underline;
  text-decoration-thickness: 0.055em;
  text-underline-offset: 0.12em;
}

.back-link {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

h1,
h2 {
  font-weight: 500;
  line-height: 1.12;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  letter-spacing: -0.03em;
}

h2 {
  margin: 2.5rem 0 0.7rem;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
}

p,
ul {
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.25rem;
}

.updated {
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.legal-copy {
  margin-top: 64px;
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 560px) {
  .legal-page {
    width: min(100% - 32px, 820px);
    padding-top: 28px;
  }

  .legal-header {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 52px;
  }
}
