:root {
  --bg: #0d1726;
  --bg-accent: #15263f;
  --card: rgba(12, 22, 36, 0.9);
  --line: rgba(148, 163, 184, 0.2);
  --text: #e5eef8;
  --muted: #a8b6c8;
  --primary: #c98b33;
  --primary-strong: #f0b45f;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius-xl: 24px;
  --radius-lg: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 139, 51, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(80, 137, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #09111d 0%, #0d1726 50%, #0a1420 100%);
}

a {
  color: var(--primary-strong);
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.hero {
  text-align: center;
  margin-bottom: 28px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid rgba(201, 139, 51, 0.28);
  border-radius: 999px;
  background: rgba(201, 139, 51, 0.12);
  color: var(--primary-strong);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
}

.hero p {
  width: min(760px, 100%);
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.language-switcher {
  display: inline-flex;
  gap: 10px;
  margin-top: 28px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 15, 26, 0.72);
  backdrop-filter: blur(12px);
}

.language-switcher__button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: transparent;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: 180ms ease;
}

.language-switcher__button:hover {
  color: var(--text);
}

.language-switcher__button.is-active {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #151515;
}

.content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 28px;
  backdrop-filter: blur(14px);
}

.policy {
  display: none;
}

.policy--active {
  display: block;
}

.policy__updated {
  margin-top: 0;
  margin-bottom: 28px;
  color: var(--muted);
}

.policy section + section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.policy h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  color: var(--primary-strong);
}

.policy p,
.policy li {
  color: var(--text);
  line-height: 1.9;
  font-size: 1rem;
}

.policy ul {
  margin: 0;
  padding-inline-start: 22px;
}

.policy[dir="rtl"] {
  text-align: right;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 100%);
    padding: 24px 0 40px;
  }

  .content-card {
    padding: 20px;
    border-radius: 20px;
  }

  .language-switcher {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 20px;
  }

  .language-switcher__button {
    width: calc(50% - 6px);
  }
}
