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

:root {
  --bg: #0f0e0c;
  --surface: #1a1814;
  --accent: #d4845a;
  --accent-soft: #e8a882;
  --text: #f0ebe3;
  --text-muted: #7a7060;
  --text-dim: #9a9080;
  --border: #2a2620;
}

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 100;
  opacity: 0.4;
}

body::after {
  content: '';
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 132, 90, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* NAV */
nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

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

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

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

/* FOOTER */
footer {
  position: relative;
  z-index: 1;
  padding: 32px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

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

/* LEGAL PAGES */
.legal-wrap {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.legal-wrap h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 400;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-wrap .subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 48px;
  letter-spacing: 0.04em;
}

.legal-wrap h2 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin: 36px 0 12px;
  letter-spacing: 0.02em;
}

.legal-wrap p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.legal-wrap a {
  color: var(--accent-soft);
  text-decoration: none;
}

.legal-wrap a:hover {
  text-decoration: underline;
}

.legal-wrap .placeholder-box {
  margin-top: 48px;
  padding: 32px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  text-align: center;
}

.legal-wrap .placeholder-box p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

@media (max-width: 600px) {
  nav { padding: 20px 24px; }
  footer { padding: 24px; flex-direction: column; align-items: flex-start; }
}
