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

:root {
  --accent: #7c5cff;
  --bg: #0b0b0f;
  --text: #edecf2;
  --text-dim: #9b9ba8;
  --surface-1: rgba(255, 255, 255, 0.035);
  --border-1: rgba(255, 255, 255, 0.09);
  --maxw: 720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 60px;
  border-bottom: 1px solid var(--border-1);
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 11, 15, 0.85);
  backdrop-filter: blur(12px);
}
.brand {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem;
  color: var(--text); text-decoration: none;
}
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { color: var(--text-dim); text-decoration: none; font-size: .9rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.btn-ghost {
  padding: .4rem 1rem; border-radius: 8px;
  border: 1px solid var(--border-1);
  color: var(--text) !important;
  font-size: .875rem !important;
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.25); background: var(--surface-1); }

/* Content */
.legal-page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

.legal-page h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 .5rem;
  line-height: 1.2;
}

.legal-meta {
  color: var(--text-dim);
  font-size: .875rem;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-1);
}

.legal-page h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2.5rem 0 .75rem;
  color: var(--text);
}

.legal-page p, .legal-page li {
  color: var(--text-dim);
  font-size: .95rem;
  margin: 0 0 1rem;
}

.legal-page ul {
  padding-left: 1.4rem;
  margin: 0 0 1rem;
}

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

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

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.contact-form label { font-size: .875rem; color: var(--text-dim); margin-bottom: .25rem; display: block; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%; padding: .75rem 1rem;
  background: var(--surface-1);
  border: 1px solid var(--border-1);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit; font-size: .95rem;
  outline: none; transition: border-color .2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button {
  align-self: flex-start;
  padding: .65rem 1.5rem;
  background: var(--accent); color: #fff;
  border: none; border-radius: 8px;
  font-family: inherit; font-size: .95rem; font-weight: 600;
  cursor: pointer; transition: opacity .2s;
}
.contact-form button:hover { opacity: .85; }
.form-success { display: none; color: #6ee98f; font-size: .9rem; margin-top: .5rem; }

/* Footer */
.footer {
  border-top: 1px solid var(--border-1);
  padding: 2rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  color: var(--text-dim); font-size: .8rem;
  max-width: 1080px; margin: 0 auto;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { color: var(--text-dim); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
