:root {
  color-scheme: dark;
  --bg: #070707;
  --bg-accent: #111111;
  --card: rgba(19, 19, 19, 0.92);
  --card-strong: rgba(27, 24, 18, 0.98);
  --text: #f3eee3;
  --muted: #c4bbab;
  --gold: #d8b36a;
  --gold-strong: #f2d59b;
  --line: rgba(216, 179, 106, 0.28);
  --chip: rgba(216, 179, 106, 0.12);
  --danger: #f0897c;
  --success: #9fce9f;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.48);
}

* {
  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 right, rgba(216, 179, 106, 0.16), transparent 26%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.06), transparent 18%),
    linear-gradient(160deg, #050505 0%, #0b0b0b 45%, #060606 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 12%, rgba(255, 255, 255, 0.04) 28%, transparent 42%),
    linear-gradient(180deg, rgba(216, 179, 106, 0.06), transparent 22%);
}

.legal-shell {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(22, 21, 18, 0.98), rgba(10, 10, 10, 0.96)),
    var(--card);
  box-shadow: var(--shadow);
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: -40% auto auto 55%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 179, 106, 0.18), transparent 72%);
  pointer-events: none;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--chip);
  color: var(--gold-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lang-switch {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.lang-switch button {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.lang-switch button.active {
  color: #111111;
  background: linear-gradient(135deg, var(--gold-strong), var(--gold));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr);
  gap: 24px;
  align-items: end;
}

.hero-title {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-subtitle {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero-meta {
  display: grid;
  gap: 12px;
}

.meta-card {
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.meta-label {
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.meta-value {
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.legal-card {
  padding: 30px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(21, 20, 18, 0.98), rgba(10, 10, 10, 0.96)),
    var(--card-strong);
  box-shadow: var(--shadow);
}

.lang-section {
  display: none;
}

.lang-section.active {
  display: block;
}

.lang-section[dir="rtl"] {
  text-align: right;
}

.lead-note {
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(216, 179, 106, 0.08);
  color: var(--text);
  line-height: 1.7;
}

h2 {
  margin: 28px 0 12px;
  color: var(--gold-strong);
  font-size: 22px;
  line-height: 1.25;
}

h3 {
  margin: 22px 0 10px;
  color: var(--text);
  font-size: 17px;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.82;
}

ul,
ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.82;
}

.lang-section[dir="rtl"] ul,
.lang-section[dir="rtl"] ol {
  padding-left: 0;
  padding-right: 22px;
}

li {
  margin-bottom: 9px;
}

.callout {
  margin: 20px 0;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.callout.danger {
  border-color: rgba(240, 137, 124, 0.32);
  background: rgba(240, 137, 124, 0.08);
}

.callout.success {
  border-color: rgba(159, 206, 159, 0.28);
  background: rgba(159, 206, 159, 0.08);
}

.callout strong {
  color: var(--text);
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.policy-links a,
.inline-link {
  color: var(--gold-strong);
  text-decoration: none;
}

.policy-links a {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  font-weight: 700;
}

.policy-links a:hover,
.inline-link:hover {
  text-decoration: underline;
}

.contact-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.contact-item {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.contact-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.steps {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.step {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-strong), var(--gold));
  color: #111111;
  font-size: 14px;
  font-weight: 800;
}

.site-footer {
  margin-top: 24px;
  color: rgba(243, 238, 227, 0.64);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .legal-shell {
    padding: 22px 14px 42px;
  }

  .legal-hero,
  .legal-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .brand-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .lang-switch {
    width: 100%;
    justify-content: space-between;
  }

  .lang-switch button {
    flex: 1;
  }
}
