:root {
  --rose:        #D4196A;
  --rose-light:  #E8377F;
  --rose-dim:    rgba(212, 25, 106, 0.18);
  --bg:          #0D0A0C;
  --bg-card:     #151013;
  --bg-border:   #2B1E26;
  --text:        #F0E8ED;
  --text-muted:  #C0A8B6;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Raleway', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  padding-top: 56px;
}

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--bg-border);
  z-index: 50;
  display: flex;
  align-items: center;
}
.topbar-inner {
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar a.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.topbar a.logo span { color: var(--rose-light); }
.topbar a.back {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.topbar a.back:hover { color: var(--rose-light); }

main.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.legal-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 14px;
}
.legal h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
}
.legal .meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 40px;
}
.legal h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 14px;
  color: var(--text);
}
.legal h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 10px;
  color: var(--text);
}
.legal p {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.legal ul, .legal ol {
  margin: 0 0 14px 24px;
  color: var(--text);
  font-size: 0.95rem;
}
.legal li { margin-bottom: 8px; }
.legal a {
  color: var(--rose-light);
  text-decoration: underline;
  text-decoration-color: rgba(232, 55, 127, 0.35);
}
.legal a:hover { text-decoration-color: var(--rose-light); }
.legal strong { color: var(--text); }
.legal code {
  background: var(--bg-card);
  color: var(--rose-light);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.88em;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}
.legal .callout {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-left: 3px solid var(--rose);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
  color: var(--text);
  font-size: 0.92rem;
}

footer.legal-footer {
  border-top: 1px solid var(--bg-border);
  background: var(--bg-card);
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}
footer.legal-footer a {
  color: var(--text-muted);
  text-decoration: none;
}
footer.legal-footer a:hover { color: var(--rose-light); }
