:root {
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --link: #06c;
  --system-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --legal-container: 980px;
  --legal-copy: 760px;
  --footer-container: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  display: flex;
  flex-direction: column;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--system-font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.legal-page {
  flex: 1 0 auto;
  width: min(87.5%, var(--legal-container));
  max-width: var(--legal-container);
  margin: 0 auto;
  padding: 88px 0 0;
}

.legal-page > * {
  max-width: var(--legal-copy);
}

.legal-page h1 {
  max-width: 820px;
  margin: 0;
  color: var(--text);
  font-family: var(--system-font);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.08349;
  letter-spacing: -0.003em;
}

.legal-page .effective-date {
  margin: 16px 0 68px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
}

.legal-page h2 {
  margin: 56px 0 18px;
  color: var(--text);
  font-family: var(--system-font);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.125;
  letter-spacing: 0.004em;
}

.legal-page h2:first-of-type {
  margin-top: 0;
}

.legal-page p,
.legal-page li {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
}

.legal-page ul {
  margin: 0;
  padding-left: 1.18em;
}

.legal-page li {
  margin-bottom: 14px;
  padding-left: 0.24em;
}

.legal-page li:last-child {
  margin-bottom: 0;
}

.legal-page strong {
  font-weight: 600;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.site-footer {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px 28px;
  width: min(87.5%, var(--footer-container));
  margin: 72px auto 64px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  color: #6e6e73;
  font-size: 12px;
  line-height: 1.33337;
  letter-spacing: -0.01em;
}

.footer-links {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-right: auto;
}

.footer-copyright {
  margin: 0;
  color: #6e6e73;
}

.footer-link-separator {
  color: #86868b;
}

.site-footer a {
  color: #424245;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #1d1d1f;
  text-decoration: underline;
}

.language-selector {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  color: #6e6e73;
  font-size: 12px;
  line-height: 1.33337;
}

.footer-language-selector {
  margin-left: 20px;
}

.language-selector select {
  width: auto;
  min-height: auto;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #6e6e73;
  font: inherit;
  text-align: right;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.language-selector select:focus,
.language-selector select:focus-visible {
  outline: none;
  box-shadow: none;
}

@media (max-width: 1068px) {
  :root {
    --legal-container: 692px;
    --legal-copy: 692px;
    --footer-container: 692px;
  }

  .legal-page {
    padding-top: 72px;
  }

  .legal-page h1 {
    font-size: 40px;
    line-height: 1.1;
  }

  .legal-page .effective-date {
    margin-bottom: 58px;
  }

  .legal-page h2 {
    margin-top: 52px;
    font-size: 28px;
    line-height: 1.14286;
  }
}

@media (max-width: 734px) {
  .legal-page {
    width: 87.5%;
    padding-top: 48px;
  }

  .legal-page h1 {
    font-size: 32px;
    line-height: 1.125;
  }

  .legal-page .effective-date {
    margin: 12px 0 44px;
  }

  .legal-page h2 {
    margin: 44px 0 14px;
    font-size: 24px;
    line-height: 1.16667;
  }

  .legal-page h2:first-of-type {
    margin-top: 0;
  }

  .legal-page li {
    margin-bottom: 12px;
  }

  .site-footer,
  .footer-links {
    justify-content: center;
  }

  .site-footer {
    margin: 56px auto 32px;
  }

  .footer-links {
    gap: 10px 12px;
    margin-right: 0;
  }

  .footer-copyright {
    width: 100%;
    text-align: center;
  }

  .footer-language-selector {
    margin-left: 0;
  }
}
