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

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

:root {
  --bg: #0a0a0f;
  --bg-card: #13131a;
  --bg-elevated: #1a1a24;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text: #f0f0f5;
  --text-muted: #8888a0;
  --text-faint: #55556a;
  --blue: #4a8fff;
  --blue-dim: rgba(74,143,255,0.12);
  --purple: #9b6dff;
  --purple-dim: rgba(155,109,255,0.12);
  --green: #3ecf8e;
  --green-dim: rgba(62,207,142,0.12);
  --accent: #4a8fff;
  --radius: 10px;
  --radius-lg: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: opacity 0.2s !important;
}

.nav-cta:hover { opacity: 0.85; text-decoration: none !important; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: 80px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img { height: 28px; margin-bottom: 12px; }

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 220px;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-faint);
}

.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: var(--text-muted); }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { opacity: 0.88; text-decoration: none; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover { background: var(--bg-elevated); text-decoration: none; }

/* BADGES */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.badge-blue { background: var(--blue-dim); color: var(--blue); }
.badge-purple { background: var(--purple-dim); color: var(--purple); }
.badge-green { background: var(--green-dim); color: var(--green); }

/* CARDS */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

/* PROSE (legal pages) */
.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.prose .meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 48px;
}

.prose h2 {
  font-size: 20px;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text);
}

.prose h3 {
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text);
}

.prose p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.75;
}

.prose ul, .prose ol {
  color: var(--text-muted);
  padding-left: 20px;
  margin-bottom: 16px;
}

.prose li { margin-bottom: 8px; line-height: 1.75; }

.prose a { color: var(--blue); }

.prose strong { color: var(--text); font-weight: 600; }

.prose .callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 24px 0;
}

.prose .callout p { margin: 0; }

/* PAGE HEADER */
.page-header {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links { display: none; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
