:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --grey-50: #f9fafb;
  --grey-100: #f3f4f6;
  --grey-200: #e5e7eb;
  --grey-400: #9ca3af;
  --grey-600: #4b5563;
  --grey-700: #374151;
  --amber: #f59e0b;
  --green: #059669;
  --red: #ef4444;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-200);
}

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

.nav-logo-text {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  color: var(--black);
  letter-spacing: -0.3px;
}

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

.nav-links a {
  font-size: 14px;
  color: var(--grey-600);
  text-decoration: none;
  transition: color 0.15s;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-primary {
  background: var(--black);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.15s;
}

.btn-primary:hover { opacity: 0.85; }

.btn-ghost {
  background: transparent;
  color: var(--grey-600);
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.15s, color 0.15s;
}

.btn-ghost:hover {
  border-color: var(--black);
  color: var(--black);
}

/* FOOTER */
footer {
  background: var(--black);
  color: var(--grey-400);
  padding: 48px 40px;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand .nav-logo-text { color: white; }

.footer-brand p {
  font-size: 13px;
  color: var(--grey-400);
  margin-top: 8px;
  line-height: 1.6;
  max-width: 240px;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--grey-400);
  margin-bottom: 12px;
  font-family: 'DM Sans', sans-serif;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: #6b7280;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.15s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  max-width: 1100px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid #1f2937;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #4b5563;
  flex-wrap: wrap;
  gap: 12px;
}

/* LEGAL PAGES */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 32px 80px;
}

.legal-page h1 {
  font-family: 'Instrument Serif', serif;
  font-size: 40px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.legal-page .last-updated {
  font-size: 13px;
  color: var(--grey-400);
  margin-bottom: 48px;
  display: block;
}

.legal-page h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
  margin: 36px 0 12px;
}

.legal-page p, .legal-page li {
  font-size: 15px;
  color: var(--grey-700);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-page ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-page a {
  color: var(--black);
  text-decoration: underline;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.6s ease forwards;
}

.fade-up-delay-1 { animation-delay: 0.1s; opacity: 0; animation-fill-mode: forwards; }
.fade-up-delay-2 { animation-delay: 0.2s; opacity: 0; animation-fill-mode: forwards; }
.fade-up-delay-3 { animation-delay: 0.3s; opacity: 0; animation-fill-mode: forwards; }
.fade-up-delay-4 { animation-delay: 0.4s; opacity: 0; animation-fill-mode: forwards; }

/* STARS */
.stars {
  display: flex;
  gap: 3px;
}
.star { color: #f59e0b; font-size: 16px; }
.star-empty { color: #e5e7eb; font-size: 16px; }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  footer { padding: 40px 20px; }
  .footer-inner { flex-direction: column; }
  .legal-page { padding: 100px 20px 60px; }
}
