:root {
  color-scheme: dark;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  background: #08111d;
  color: #e8eef7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #08111d;
  color: #e8eef7;
}
a {
  color: #8de5d4;
}
.legal-shell {
  width: min(860px, 92vw);
  margin: 0 auto;
  padding: 48px 0 80px;
}
.legal-back {
  display: inline-flex;
  margin-bottom: 24px;
  color: #9fb2c8;
  text-decoration: none;
}

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

.legal-toolbar .legal-back {
  margin-bottom: 0;
}

.legal-language {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid #2a394d;
  border-radius: 8px;
  background: #101927;
}

.legal-language select {
  border: 0;
  outline: 0;
  background: transparent;
  color: #e8eef7;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.legal-language option {
  background: #101927;
  color: #e8eef7;
}

.legal-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[data-legal-lang][hidden] {
  display: none;
}

.legal-card {
  padding: 28px;
  border: 1px solid #2a394d;
  border-radius: 16px;
  background: #101927;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}
.legal-eyebrow {
  margin: 0 0 6px;
  color: #8de5d4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 5vw, 42px);
}
h2 {
  margin-top: 30px;
  font-size: 18px;
}
p,
li {
  color: #b8c6d8;
  line-height: 1.7;
}
small {
  color: #7f91a8;
}
ul {
  padding-left: 20px;
}
.legal-links {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
@media (max-width: 560px) {
  .legal-shell {
    padding-top: 24px;
  }
  .legal-card {
    padding: 20px;
  }
}
