/* Shared stylesheet for the outora.app legal pages (privacy / terms / data-sources).
   Palette mirrors frontend/src/constants/theme.ts via index.html — keep in sync:
     background #0c0c0c · surface #1a1a1a · border #2d2d2d
     accent #10b981 · text #ffffff / #9ca3af */

:root {
  --bg: #0c0c0c;
  --surface: #1a1a1a;
  --border: #2d2d2d;
  --accent: #10b981;
  --text: #ffffff;
  --text-secondary: #9ca3af;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
}
a { color: var(--accent); }
header.site {
  width: 100%;
  max-width: 720px;
  padding: 24px 24px 0;
}
header.site a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
}
header.site a:hover { color: var(--accent); }
main {
  width: 100%;
  max-width: 720px;
  padding: 16px 24px 48px;
  flex: 1;
}
.draft-banner {
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 16px 0 24px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
.draft-banner strong { color: var(--accent); }
.doc-meta {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}
h1 {
  margin: 8px 0 16px;
  font-size: 2rem;
  letter-spacing: 0.02em;
}
h2 {
  margin: 32px 0 12px;
  font-size: 1.25rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}
h3 {
  margin: 24px 0 8px;
  font-size: 1rem;
}
p, li {
  font-size: 1rem;
  line-height: 1.65;
}
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 22px; }
li { margin-bottom: 6px; }
hr { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
blockquote {
  margin: 0 0 12px;
  padding: 8px 16px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 8px 8px 0;
}
.placeholder {
  color: var(--text-secondary);
  font-style: italic;
}
.table-wrap { overflow-x: auto; margin: 0 0 16px; }
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9rem;
}
th, td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}
th { background: var(--surface); }
footer.site {
  width: 100%;
  max-width: 720px;
  padding: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
footer.site a {
  color: var(--text-secondary);
  text-decoration: none;
  margin: 0 6px;
}
footer.site a:hover { color: var(--accent); }
