*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #0284C7;
  --primary-light: #0EA5E9;
  --primary-bright: #38BDF8;
  --primary-dark: #0369A1;
  --accent: #FFF200;
  --bg: #111318;
  --surface: #181B22;
  --card: #1F232B;
  --text: #E8ECF4;
  --text-secondary: #A7B0C3;
  --border: rgba(255,255,255,0.12);
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-w: 1200px;
  --prose-w: 760px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(2, 132, 199, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.gradient-text {
  background: linear-gradient(135deg, var(--primary-bright), var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(17, 19, 24, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: white;
}
.nav-logo-text { font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; color: var(--text); }
.nav-logo-text span { color: var(--primary-bright); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta {
  background: var(--accent) !important;
  color: #111318 !important;
  font-weight: 700 !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px !important;
}
.mobile-toggle { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; }

.legal-hero { padding: 140px 0 32px; }
.legal-hero .section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 12px;
  display: inline-block;
}
.legal-hero h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.legal-meta { color: var(--text-secondary); font-size: 0.95rem; }

.legal-doc {
  max-width: var(--prose-w);
  padding: 24px 0 80px;
}
.legal-doc h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  margin: 36px 0 12px;
}
.legal-doc h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 22px 0 8px;
}
.legal-doc p, .legal-doc li { color: var(--text-secondary); margin-bottom: 12px; }
.legal-doc ul { padding-left: 1.2rem; margin-bottom: 16px; }
.legal-doc li { margin-bottom: 8px; }
.legal-doc a { color: var(--primary-bright); }
.legal-doc strong { color: var(--text); font-weight: 600; }
.legal-note {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 20px 0 28px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

footer { padding: 48px 0 28px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; margin-bottom: 32px; }
.footer-brand { max-width: 300px; }
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--text-secondary); }
.footer-links-group h4 { font-family: var(--font-heading); font-weight: 700; margin-bottom: 14px; }
.footer-links-group a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 10px;
}
.footer-links-group a:hover { color: var(--primary-bright); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(17, 19, 24, 0.95);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .mobile-toggle { display: block; }
  .footer-inner, .footer-bottom { flex-direction: column; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
