html {
  color-scheme: dark;
}

body {
  margin: 0;
  background: #070b17;
  color: rgba(255, 255, 255, 0.86);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

main {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

a {
  color: #8be9ff;
}

h1,
h2,
h3 {
  color: #fff;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0 0 12px;
}

h2 {
  margin-top: 40px;
}

p,
li {
  max-width: 74ch;
}

.legal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.back-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
}

.language-switch {
  display: inline-flex;
  gap: 8px;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.language-switch a[aria-current="page"] {
  border-color: rgba(139, 233, 255, 0.72);
  background: rgba(139, 233, 255, 0.12);
  color: #fff;
}

.notice {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 24px 0;
}

.placeholder {
  color: #ffd166;
  font-weight: 700;
}

.meta {
  color: rgba(255, 255, 255, 0.54);
  margin-bottom: 32px;
}

.language-block {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 48px;
  padding-top: 24px;
}

@media (max-width: 520px) {
  .legal-header {
    align-items: flex-start;
    flex-direction: column;
  }
}
