* { font-family: 'Inter', system-ui, -apple-system, sans-serif; }

body {
  background: #0D0F12; color: #E5E7EB;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}

.page-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  filter: blur(100px); pointer-events: none; z-index: 0;
}

/* ===== NAVBAR (static, no scroll-to-floating behaviour needed here) ===== */
.legal-nav {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
}

/* ===== LANGUAGE SWITCH (mirrors index.css's .lang-switch) ===== */
.lang-switch {
  display: flex; align-items: center; gap: 2px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px; padding: 3px; flex-shrink: 0;
}
.lang-switch-btn {
  background: none; border: none; cursor: pointer;
  padding: 6px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.03em;
  color: rgba(255,255,255,0.8); transition: background 0.2s ease, color 0.2s ease;
}
.lang-switch-btn:hover { color: #fff; }
.lang-switch-btn.active { background: #C5F578; color: #0D0F12; }

/* ===== DRAFT / PLACEHOLDER WARNING =====
   The one thing on these pages that must never be easy to miss — every
   document here still needs the operator's real company details and a
   lawyer's sign-off before going live. */
.legal-draft-banner {
  position: relative; z-index: 1;
  max-width: 860px; margin: 0 auto 40px; padding: 18px 20px;
  background: rgba(248,113,113,0.08); border: 1px solid rgba(248,113,113,0.3);
  border-radius: 16px; display: flex; gap: 14px; align-items: flex-start;
}
.legal-draft-banner i { color: #F87171; font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.legal-draft-banner strong { color: #FCA5A5; display: block; margin-bottom: 4px; }
.legal-draft-banner p { color: #D1D5DB; font-size: 13.5px; line-height: 1.6; margin: 0; }

/* A bracketed field the operator must fill in before publishing — flagged in
   place rather than buried in a separate checklist, so it can't be missed
   mid-paragraph. */
.legal-placeholder {
  background: rgba(251,191,36,0.15); color: #FCD34D;
  border: 1px solid rgba(251,191,36,0.35); border-radius: 4px;
  padding: 1px 6px; font-size: 0.92em; font-weight: 600; white-space: nowrap;
}

/* ===== DOCUMENT BODY ===== */
.legal-doc {
  position: relative; z-index: 1;
  max-width: 860px; margin: 0 auto; padding: 0 24px 100px;
}
.legal-doc h1 {
  font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em;
  color: #FFFFFF; margin-bottom: 8px;
}
.legal-doc .legal-updated { color: #6B7280; font-size: 13px; margin-bottom: 40px; }
.legal-doc h2 {
  font-size: 20px; font-weight: 700; color: #FFFFFF;
  margin: 40px 0 14px; letter-spacing: -0.01em;
}
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc h3 {
  font-size: 15px; font-weight: 700; color: #C5F578;
  margin: 24px 0 10px;
}
.legal-doc p { color: #B0B5BD; font-size: 14.5px; line-height: 1.75; margin-bottom: 14px; }
.legal-doc ul, .legal-doc ol { color: #B0B5BD; font-size: 14.5px; line-height: 1.75; margin: 0 0 14px; padding-left: 22px; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc strong { color: #E5E7EB; }
.legal-doc a { color: #C5F578; text-decoration: underline; text-underline-offset: 2px; }
.legal-doc a:hover { color: #A3E635; }

.legal-table {
  width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 13.5px;
}
.legal-table th, .legal-table td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #B0B5BD; vertical-align: top;
}
.legal-table th { color: #FFFFFF; font-weight: 700; white-space: nowrap; }

.legal-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 20px 24px; margin: 18px 0;
}

.legal-toc {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 20px 24px; margin-bottom: 40px;
}
.legal-toc p { margin: 0 0 10px; font-weight: 700; color: #FFFFFF; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.legal-toc ol { margin: 0; padding-left: 20px; }
.legal-toc a { color: #9CA3AF; text-decoration: none; font-size: 14px; }
.legal-toc a:hover { color: #C5F578; }

.legal-footer-nav {
  position: relative; z-index: 1;
  max-width: 860px; margin: 60px auto 0; padding: 24px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-wrap: wrap; gap: 16px 28px;
}
.legal-footer-nav a { color: #9CA3AF; font-size: 13.5px; text-decoration: none; }
.legal-footer-nav a:hover { color: #C5F578; }
