/* LEGAL PAGES STYLING */
:root {
  --bg-color: #0c0c0c;
  --text-main: #f0f0f0;
  --text-secondary: #aaaaaa;
  --accent: #ffffff;
  --font-main: 'Manrope', sans-serif;
  --transition-fast: 0.3s ease;
}

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

html {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.7;
}

body {
  position: relative;
  min-height: 100vh;
  padding: 4rem 5vw 8rem;
  overflow-x: hidden;
}

/* Subtle brick texture overlay */
.bg-texture {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  opacity: 0.03;
  background-image: 
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 100px 50px, 100px 50px, 50px 25px, 50px 25px;
}

/* Navigation Back Link */
.legal-back-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4rem;
  transition: color var(--transition-fast);
}

.legal-back-nav:hover {
  color: #ffffff;
}

/* Container */
.legal-container {
  max-width: 900px;
  margin: 0 auto;
}

.legal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 3rem;
  margin-bottom: 4rem;
}

.legal-tag {
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 0.8rem;
}

.legal-main-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.legal-date {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Content typography */
.legal-content section {
  margin-bottom: 3.5rem;
}

.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: #ffffff;
  margin-bottom: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1.2rem;
  font-weight: 300;
}

.legal-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.legal-content li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.6rem;
  font-weight: 300;
}

.legal-content li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.4);
}

.legal-highlight-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem;
  margin: 2rem 0;
}

.legal-highlight-box p {
  margin-bottom: 0.5rem;
}

.legal-highlight-box p:last-child {
  margin-bottom: 0;
}

.legal-link-inline {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer Legal */
.legal-footer {
  margin-top: 6rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}
