/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  --bg:           #040c07;
  --bg-alt:       #060f09;
  --surface:      #0b1c0e;
  --surface-2:    #102216;
  --border:       #1c3323;
  --border-glow:  rgba(74, 222, 128, 0.15);
  --brand:        #4ade80;
  --brand-dim:    #15803d;
  --brand-glow:   rgba(74, 222, 128, 0.08);
  --text:         #edf2ee;
  --text-muted:   #7a9b80;
  --text-dim:     #3d5e44;
  --error:        #ef4444;
  --warning:      #f59e0b;
  --radius:       14px;
  --radius-sm:    8px;
  --max-w:        1160px;
  --ease:         200ms ease;
}

/* ── Container ─────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
section { padding: 104px 0; }

/* ── Typography ────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

/* ── Labels ────────────────────────────────────────────────────── */
.label {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 18px;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem; font-weight: 600;
  transition: all var(--ease); cursor: pointer; border: none;
}
.btn-primary { background: var(--brand); color: #040c07; }
.btn-primary:hover { background: #6ee79e; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { background: var(--surface); border-color: var(--brand); }

/* ── Nav ───────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0; width: 100%;
  z-index: 100;
  background: rgba(4, 12, 7, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.nav-logo-icon {
  width: 32px; height: 32px;
  background: var(--brand);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500;
  color: var(--text-muted);
  transition: color var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; }

/* ── Footer ────────────────────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner { }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 300;
}

/* ── Legal pages ───────────────────────────────────────────────── */
.legal-page { padding: 80px 0 104px; }

.legal-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}
.legal-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 56px;
  font-weight: 300;
}

.legal-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 52px 0 14px;
  color: var(--text);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  margin-bottom: 16px;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
}
.legal-content strong { color: var(--text); font-weight: 500; }
.legal-content ul {
  margin: 10px 0 20px 0;
}
.legal-content ul li {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
  padding: 4px 0 4px 20px;
  position: relative;
}
.legal-content ul li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--text-dim);
  font-size: 0.75rem;
  top: 8px;
}
.legal-content a { color: var(--brand); transition: opacity var(--ease); }
.legal-content a:hover { opacity: 0.8; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .legal-page { padding: 60px 0 80px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
