/* Shared stylesheet for the static legal pages (/terms/, /privacy/). These
   sit outside the Vite build (like /cards/'s gallery.css) so they can't
   reference the app's content-hashed CSS bundle — hand-rolled here instead,
   matching the landing page's dark/red visual language without Tailwind. */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #0d0d0d;
  color: #d6d3d1;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.7;
}

a { color: #f87171; text-decoration: none; }
a:hover { color: #fca5a5; text-decoration: underline; }

header.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

header.site-header nav {
  max-width: 860px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header.site-header .brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f5f5f4;
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.95rem;
}

header.site-header .brand span { color: #ef4444; }

header.site-header .back-link {
  font-size: 0.85rem;
  color: #a8a29e;
}

main.legal {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

main.legal h1 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.9rem;
  color: #f5f5f4;
  margin-bottom: 0.25rem;
}

main.legal .updated {
  color: #78716c;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2.5rem;
}

main.legal h2 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.15rem;
  color: #e7e5e4;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  border-left: 3px solid #dc2626;
  padding-left: 0.75rem;
}

main.legal p, main.legal li { color: #a8a29e; font-size: 0.95rem; }
main.legal strong { color: #d6d3d1; }
main.legal ul { padding-left: 1.4rem; }
main.legal li { margin-bottom: 0.4rem; }

.legal-note {
  margin-top: 3rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(220, 38, 38, 0.3);
  background: rgba(220, 38, 38, 0.06);
  border-radius: 8px;
  font-size: 0.85rem;
  color: #a8a29e;
}

footer.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  padding: 2rem 1.25rem;
  color: #57534e;
  font-size: 0.75rem;
}
