/* Shared styling for the TrustedIQ legal pages (privacy / sub-processors / DPA) —
   matches the main site's dark theme, typography and accents. */
:root {
  --bg: #02112E; --blue: #4752FC; --white: #ffffff; --muted: #7E8CA8; --ink: #bcc6dd;
  --line: rgba(255, 255, 255, 0.10);
  --head: "DM Sans", system-ui, sans-serif;
  --mono: "Fragment Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--head); line-height: 1.75; -webkit-font-smoothing: antialiased; }
.legal-head { display: flex; align-items: center; max-width: 880px; margin: 0 auto; padding: 30px 24px 0; }
.legal-head .brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.legal-head .logo { height: 24px; width: auto; display: block; }
.legal-head .brand-tim { height: 40px; width: auto; display: block; filter: drop-shadow(0 0 10px rgba(71, 82, 252, 0.35)); }
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 34px 24px 70px; }
.legal-wrap h1 { font-family: var(--head); font-weight: 700; color: #fff; font-size: 34px; line-height: 1.18; margin: 16px 0 6px; letter-spacing: -0.01em; }
.legal-wrap .updated { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: .04em; margin: 0 0 30px; }
.legal-wrap .intro { font-size: 17px; color: #cdd5e8; margin: 0 0 26px; }
.legal-wrap h2 { font-family: var(--head); font-weight: 700; color: #fff; font-size: 21px; margin: 40px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.legal-wrap h3 { font-family: var(--head); font-weight: 600; color: #dbe2f5; font-size: 16px; margin: 24px 0 8px; }
.legal-wrap p { margin: 0 0 14px; }
.legal-wrap ul { margin: 0 0 16px; padding-left: 20px; }
.legal-wrap li { margin: 0 0 8px; }
.legal-wrap a { color: #6571ff; text-decoration: none; }
.legal-wrap a:hover { text-decoration: underline; }
.legal-wrap strong { color: #e7ecf8; font-weight: 600; }
.legal-wrap table { width: 100%; border-collapse: collapse; margin: 6px 0 20px; font-size: 14px; }
.legal-wrap th, .legal-wrap td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-wrap th { background: rgba(8, 30, 71, 0.55); color: #dbe2f5; font-weight: 600; }
.legal-foot { max-width: 760px; margin: 0 auto; padding: 22px 24px 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.legal-foot a { color: var(--muted); text-decoration: none; }
.legal-foot a:hover { color: #fff; }
.legal-foot .links { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .legal-wrap h1 { font-size: 26px; }
  .legal-foot { flex-direction: column; align-items: flex-start; }
  /* Stack tables into labelled cards so dense legal columns stay readable */
  .legal-wrap table, .legal-wrap tbody, .legal-wrap tr, .legal-wrap td { display: block; width: auto; }
  .legal-wrap thead { display: none; }
  .legal-wrap tr { border: 1px solid var(--line); border-radius: 8px; margin: 0 0 16px; }
  .legal-wrap td { border: 0; border-bottom: 1px solid var(--line); padding: 11px 14px; }
  .legal-wrap td:last-child { border-bottom: 0; }
  .legal-wrap td::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #6571ff; margin-bottom: 5px; }
}
