/* ============================================================
   QADRA — shared styles for legal pages (privacy / terms / data-deletion)
   Dark theme, consistent with the landing (index.html).
   ============================================================ */
:root {
  --bg:        #05070e;
  --bg-2:      #0a0f1c;
  --border:    rgba(255,255,255,0.09);
  --cyan:      #22d3ee;
  --cyan-2:    #38bdf8;
  --blue:      #3b82f6;
  --grad:      linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
  --text:      #eaf1fb;
  --muted:     #93a4bd;
  --muted-2:   #6b7d97;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.legal-nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(5,7,14,0.8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.legal-nav__inner {
  max-width: 820px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.legal-brand {
  font-weight: 800; font-size: 1.2rem; letter-spacing: .02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.legal-nav a.legal-home { color: var(--muted); font-size: .92rem; font-weight: 600; }
.legal-nav a.legal-home:hover { color: var(--cyan-2); text-decoration: none; }

.legal-wrap { max-width: 820px; margin: 0 auto; padding: 48px 24px 80px; }

.legal-head { margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.legal-head h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.legal-head .sub { color: var(--muted-2); font-size: .95rem; margin-top: 12px; }

.legal-wrap section { margin-bottom: 30px; }
.legal-wrap h2 { font-size: 1.35rem; font-weight: 700; margin: 36px 0 14px; color: var(--text); }
.legal-wrap h3 { font-size: 1.08rem; font-weight: 700; margin: 24px 0 10px; color: #cddaee; }
.legal-wrap p  { color: var(--muted); margin-bottom: 12px; }
.legal-wrap strong { color: var(--text); font-weight: 600; }
.legal-wrap ul { list-style: none; margin: 12px 0; padding: 0; }
.legal-wrap li {
  color: var(--muted); padding: 6px 0 6px 22px; position: relative;
}
.legal-wrap li::before {
  content: "›"; position: absolute; left: 4px; top: 6px; color: var(--cyan); font-weight: 700;
}

.legal-contact {
  margin-top: 16px; padding: 20px 22px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px;
}
.legal-contact p { color: var(--text); margin: 4px 0; }

.legal-foot {
  margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 22px; justify-content: center;
}
.legal-foot a { font-weight: 600; }
