:root {
  --void: #06090f;
  --deep: #0c1120;
  --surface: #111827;
  --border: #1e293b;
  --muted: #64748b;
  --text: #e2e8f0;
  --bright: #f8fafc;
  --gold: #c9a55a;
  --gold-light: #e4cc8a;
  --gold-dim: #8b7340;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', system-ui, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--void);
  color: var(--text);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(6, 9, 15, 0.7);
  border-bottom: 1px solid rgba(201, 165, 90, 0.08);
  transition: all 0.4s ease;
}

nav.scrolled {
  padding: 1rem 3rem;
  background: rgba(6, 9, 15, 0.92);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--bright);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  color: var(--text);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

/* ── Section labels ── */
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--bright);
  line-height: 1.2;
  margin-bottom: 2rem;
}

/* ── Policy pages ── */
.policy {
  max-width: 800px;
  margin: 0 auto;
  padding: 10rem 2rem 6rem;
}

.policy-header {
  margin-bottom: 4rem;
}

.policy-effective {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.back-link {
  display: inline-block;
  color: var(--gold-dim);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}

.back-link:hover { color: var(--gold-light); }

.policy-content h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--bright);
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.policy-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.policy-content h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.policy-content p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 1rem;
}

.policy-content ul, .policy-content ol {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
}

.policy-content a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 165, 90, 0.3);
  transition: border-color 0.3s ease;
}

.policy-content a:hover {
  border-color: var(--gold);
}

.policy-content strong {
  color: var(--text);
  font-weight: 500;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--bright);
  margin-bottom: 0.5rem;
}

.footer-brand span { color: var(--gold); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--gold-light); }

/* ── Stars ── */
.stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 1px;
  height: 1px;
  background: white;
  border-radius: 50%;
  animation: twinkle var(--duration) ease-in-out infinite;
  opacity: 0;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; }
  50% { opacity: var(--brightness); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .policy { padding: 7rem 1.5rem 4rem; }
  footer { padding: 3rem 1.5rem; }
  .footer-inner { flex-direction: column; }
}
