:root {
  --bg: #080808;
  --bg-card: rgba(255, 255, 255, 0.03);
  --text: #e8e4dc;
  --muted: rgba(232, 228, 220, 0.62);
  --muted-soft: rgba(232, 228, 220, 0.42);
  --gold: #c9a95a;
  --gold-dark: #8a6520;
  --border: rgba(201, 169, 90, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", Arial, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(201, 169, 90, 0.08), transparent 28%),
    radial-gradient(circle at bottom left, rgba(120, 90, 180, 0.08), transparent 24%),
    var(--bg);
  color: var(--text);
}

.page {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px 32px;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(201, 169, 90, 0.82);
}

h1 {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.05;
}

.lead {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}

.meta {
  margin: 0 0 28px;
  color: var(--muted-soft);
  font-size: 13px;
}

h2 {
  margin: 32px 0 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
}

p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

ul {
  margin: 0 0 18px 20px;
  padding: 0;
  color: var(--muted);
}

li {
  margin: 0 0 10px;
  line-height: 1.8;
}

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

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 28px 0;
}

.note {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(201, 169, 90, 0.14);
  background: rgba(201, 169, 90, 0.05);
  color: var(--muted);
}

strong {
  color: var(--text);
  font-weight: 500;
}

.link-list {
  columns: 2;
  column-gap: 24px;
}

.link-list li {
  break-inside: avoid;
}

code {
  padding: 1px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px;
}

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

  .lang-switch {
    align-self: stretch;
  }

  .lang-chip {
    flex: 1 1 0;
  }

  .page {
    padding: 24px 16px 48px;
  }

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

  h2 {
    font-size: 24px;
  }

  .link-list {
    columns: 1;
  }
}


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

.legal-topbar .back-link {
  margin-bottom: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 90, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.lang-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-chip:hover {
  color: var(--text);
}

.lang-chip.active {
  color: #080808;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}
