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

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

:root {
  --navy: #1B2A4A;
  --teal: #4ECDC4;
  --bg: #FAF8F5;
  --white: #ffffff;
  --text: #1A1A1A;
  --muted: #6B7280;
  --border: #E7E3DC;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

/* Nav (matches the homepage) */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(27,42,74,0.97);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 60px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo { width: 34px; height: 34px; border-radius: 8px; object-fit: contain; }
.nav-name { font-size: 18px; font-weight: 700; color: var(--white); letter-spacing: -0.3px; }
.nav-name span { color: var(--teal); }
.nav-back { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-back:hover { color: var(--white); }

/* Language toggle (matches the homepage) */
.nav-right { display: flex; align-items: center; gap: 18px; }
.lang-toggle {
  display: inline-flex; border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px; overflow: hidden;
}
.lang-btn {
  background: transparent; border: none; color: rgba(255,255,255,0.75);
  font-family: inherit; font-size: 13px; font-weight: 600;
  padding: 6px 12px; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.lang-btn.active { background: var(--teal); color: var(--navy); }
.lang-btn:not(.active):hover { color: var(--teal); }
@media (max-width: 480px) {
  .nav-back span { display: none; }
}

/* Content */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 100px 24px 64px; }
.legal-wrap h1 { font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -0.5px; }
.legal-updated { color: var(--muted); font-size: 14px; margin: 6px 0 28px; }
.legal-wrap h2 { font-size: 19px; font-weight: 700; color: var(--navy); margin: 30px 0 10px; }
.legal-wrap p { margin-bottom: 14px; font-size: 15.5px; }
.legal-wrap ul { margin: 0 0 14px 22px; }
.legal-wrap li { margin-bottom: 8px; font-size: 15.5px; }
.legal-wrap a { color: #0f9d94; font-weight: 600; text-decoration: none; }
.legal-wrap a:hover { text-decoration: underline; }

/* Footer (matches the homepage) */
footer {
  background: var(--navy); color: rgba(255,255,255,0.75);
  text-align: center; padding: 40px 5vw;
}
.footer-brand { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.footer-brand span { color: var(--teal); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-bottom: 16px; }
.footer-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--teal); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.55); }

@media (max-width: 640px) {
  .legal-wrap { padding-top: 84px; }
  .legal-wrap h1 { font-size: 25px; }
}
