/* ============================================
   LEGAL PAGES — shared styles
   ============================================ */

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

body {
  font-family: 'Canva Sans', 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fff;
  color: #111;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* NAV */
.legal-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1rem 2rem;
}

.legal-nav-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.legal-nav-logo { height: 32px; width: auto; }

/* Lang switcher */
.lang-switcher { display: flex; gap: 0.25rem; align-items: center; }
.lang-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em;
  padding: 0.28rem 0.55rem;
  border: 1.5px solid rgba(17,17,17,0.45); border-radius: 999px;
  background: rgba(255,255,255,0.82); color: #111;
  cursor: pointer; transition: background 0.2s, border-color 0.2s; line-height: 1;
}
.lang-btn:hover { background: #fff; }
.lang-btn.active { background: #F5C800; border-color: #F5C800; }
.lang-btn[data-lang="en"] { font-size: 0.9rem; }

.legal-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #555;
  transition: color 0.2s;
  white-space: nowrap;
}

.legal-nav-back::before { content: '←'; }
.legal-nav-back:hover { color: #111; }

/* MAIN */
.legal-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem 8rem;
}

/* HEADER BLOCK */
.legal-header {
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 3.5rem;
}

.legal-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 1rem;
}

.legal-header h1 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
  color: #111;
  margin-bottom: 0.8rem;
}

.legal-meta {
  font-size: 0.8rem;
  color: #aaa;
}

/* CONTENT */
.legal-content { max-width: 720px; }

.legal-content section {
  margin-bottom: 3.5rem;
}

.legal-content h2 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 1.4rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.legal-content h3 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  margin: 1.6rem 0 0.6rem;
}

.legal-content p {
  font-size: 0.9rem;
  line-height: 1.85;
  color: #555;
  margin-bottom: 0.9rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.legal-content li {
  font-size: 0.9rem;
  line-height: 1.85;
  color: #555;
  margin-bottom: 0.3rem;
}

.legal-content strong { color: #111; font-weight: 700; }

.legal-content a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover { opacity: 0.7; }

/* FOOTER */
.legal-footer {
  background: #f5f4f1;
  border-top: 1px solid rgba(0,0,0,0.07);
  padding: 2rem;
}

.legal-footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-footer p {
  font-size: 0.76rem;
  color: #aaa;
}

.legal-footer-links {
  display: flex;
  gap: 1.6rem;
}

.legal-footer-links a {
  font-size: 0.76rem;
  color: #aaa;
  transition: color 0.2s;
}

.legal-footer-links a:hover { color: #111; }

@media (max-width: 600px) {
  .legal-main { padding: 3rem 1.2rem 6rem; }
  .legal-header h1 { font-size: 1.8rem; }
  .legal-footer-inner { flex-direction: column; align-items: flex-start; }
}
