:root {
  color-scheme: dark;
  --bg: #0f0f15;
  --panel: #181b26;
  --text: #f5f7fb;
  --muted: #a5adbd;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #29a8ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #24374f 0, var(--bg) 48%);
  color: var(--text);
  line-height: 1.65;
}

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

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

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
}

.back-home:hover {
  color: #69d7ff;
}

.language-select {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px 0 12px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.language-select span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.language-select select {
  width: 132px;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.language-select option {
  color: #06111f;
}

.brand {
  color: #69d7ff;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 28px;
}

.card {
  margin-top: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(24, 27, 38, 0.82);
  backdrop-filter: blur(16px);
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1;
  letter-spacing: -0.05em;
}

h2 {
  margin-top: 34px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

p,
li {
  color: var(--muted);
}

a {
  color: var(--accent);
}

ul {
  padding-left: 22px;
}

.meta {
  color: var(--muted);
  margin: 0 0 24px;
}

.footer,
.note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.button {
  display: inline-block;
  margin-top: 18px;
  padding: 13px 18px;
  border-radius: 12px;
  background: var(--accent);
  color: #06111d;
  text-decoration: none;
  font-weight: 800;
}

.note {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
  main {
    width: calc(100% - 28px);
    padding-top: 18px;
  }

  .legal-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .language-select {
    width: 100%;
    justify-content: space-between;
    border-radius: 14px;
  }

  .language-select select {
    width: 150px;
  }

  .card {
    padding: 24px;
  }
}
