@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

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

body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  font-family: "Inter", sans-serif;
  color: #1a1a1a;
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; }
a { display: inline; }

/* ============================================================
   Navbar
   ============================================================ */
.legal-nav {
  background: #0c0c0c;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.legal-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 12px;
}
.legal-nav-wordmark {
  font-size: 1.22em;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
.legal-nav-wordmark:hover {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}
.legal-nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Back button */
.legal-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.8);
  font-size: 0.84em;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.legal-nav-back:hover {
  color: #ffffff;
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.07);
}
.legal-nav-back svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.legal-nav-back:hover svg {
  transform: translateX(-2px);
}

/* Sibling page link */
.legal-nav-sibling {
  color: rgba(255,255,255,0.38);
  font-size: 0.82em;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.legal-nav-sibling:hover {
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.06);
}

/* Language toggle — pill matching main navbar */
.legal-nav-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.legal-nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 7px 13px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 100px;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.legal-nav-lang img {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  flex-shrink: 0;
}
.legal-nav-lang:hover {
  color: #ffffff;
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.09);
}

@media (max-width: 540px) {
  .legal-nav-sibling { display: none; }
  .legal-nav-divider { display: none; }
}
@media (max-width: 400px) {
  .legal-nav-lang { display: none; }
  .legal-nav-back { padding: 8px 12px; font-size: 0.8em; }
}

/* ============================================================
   Page hero strip
   ============================================================ */
.legal-hero {
  background: linear-gradient(155deg, #111111 0%, #181818 55%, #0d0d0d 100%);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.legal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.legal-hero-inner {
  position: relative;
  z-index: 1;
}
.legal-hero-label {
  display: inline-block;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 14px;
}
.legal-hero h1 {
  font-size: 2.5em;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 12px;
}
.legal-hero-sub {
  color: rgba(255,255,255,0.38);
  font-size: 0.875em;
  margin: 0;
  font-weight: 400;
}
@media (max-width: 767px) {
  .legal-hero {
    padding: 40px 0 36px;
  }
  .legal-hero h1 {
    font-size: 1.85em;
  }
}

/* ============================================================
   Content
   ============================================================ */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 100px;
}
@media (max-width: 767px) {
  .legal-content {
    padding: 40px 20px 72px;
  }
}

/* Section heading — small caps label style */
.legal-content h2 {
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 52px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}
.legal-content > h2:first-child {
  margin-top: 0;
}

/* Sub-section heading */
.legal-content h3 {
  font-size: 1em;
  font-weight: 700;
  color: #111;
  margin: 30px 0 8px;
}

/* Body text */
.legal-content p {
  color: #4b5563;
  font-size: 0.94em;
  line-height: 1.8;
  margin: 0 0 14px;
}
.legal-content p:last-child { margin-bottom: 0; }

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

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

.legal-content em {
  color: #6b7280;
  font-style: italic;
}

/* CAPS notices (GDPR Art. 21) */
.legal-content .caps-notice {
  font-size: 0.82em;
  line-height: 1.7;
  color: #6b7280;
}

/* ---- Info card for key company data ---- */
.legal-info-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-left: 3px solid #131313;
  border-radius: 0 8px 8px 0;
  padding: 22px 26px;
  margin: 2px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
}
@media (max-width: 540px) {
  .legal-info-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
.legal-info-card-item {}
.legal-info-card-label {
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
  display: block;
  margin-bottom: 4px;
}
.legal-info-card-value {
  font-size: 0.92em;
  color: #1f2937;
  line-height: 1.6;
  font-weight: 500;
}
.legal-info-card-value a {
  color: #111;
}

/* ============================================================
   Footer
   ============================================================ */
.legal-footer {
  background: #0c0c0c;
  padding: 28px 0;
}
.legal-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.legal-footer-copy {
  color: rgba(255,255,255,0.22);
  font-size: 0.8em;
  margin: 0;
}
.legal-footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.legal-footer-links a {
  color: rgba(255,255,255,0.38);
  font-size: 0.82em;
  text-decoration: none;
  transition: color 0.2s ease;
}
.legal-footer-links a:hover {
  color: #ffffff;
}
@media (max-width: 540px) {
  .legal-footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}
