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

:root {
  --yellow: #FFF200;
  --dark: #080808;
}

body {
  background: var(--dark);
  font-family: 'Inter', sans-serif;
  color: #e8e8e8;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 10px; }

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 242, 0, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
  border-radius: 11px;
  box-shadow: 0 0 14px rgba(255, 242, 0, 0.16);
  transition: transform 0.2s, box-shadow 0.2s;
}

.logo:hover img {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(255, 242, 0, 0.24);
}

.logo span {
  display: none;
}

.back-home {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s;
}

.back-home:hover { opacity: 0.85; }

.legal-content {
  flex: 1;
  padding: 40px 6% 48px;
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
}

.doc-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(255, 242, 0, 0.12);
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.legal-content h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.doc-meta {
  color: #777;
  font-size: 0.8rem;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-content section {
  margin-bottom: 28px;
}

.legal-content h2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.legal-content h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ccc;
  margin: 16px 0 8px;
}

.legal-content p {
  color: #b8b8b8;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.legal-content ul {
  list-style: none;
  margin: 8px 0 12px;
}

.legal-content ul li {
  position: relative;
  padding: 5px 0 5px 18px;
  color: #c5c5c5;
  font-size: 0.88rem;
}

.legal-content ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 700;
}

.legal-content a {
  color: var(--yellow);
  text-decoration: none;
}

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

.legal-footer {
  text-align: center;
  padding: 20px 6% 32px;
  font-size: 0.7rem;
  color: #555;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-footer-links a {
  color: #888;
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.2s;
}

.legal-footer-links a:hover,
.legal-footer-links a.active {
  color: var(--yellow);
}
