/* Digiflux.one legal pages — dark readable theme */
:root {
  --bg: #07070D;
  --bg-elevated: #0e0e18;
  --text: #e8e8f0;
  --text-muted: #a0a0b8;
  --accent: #e91e8c;
  --accent-hover: #ff4db0;
  --border: #252538;
  --code-bg: #12121c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
.wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}
header.legal-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
}
header.legal-header .brand a {
  color: var(--accent, #7dd3fc);
  text-decoration: none;
}
header.legal-header .brand a:hover { text-decoration: underline; }
header.legal-header .brand {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
header.legal-header h1 {
  margin: 0 0 0.35rem;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
header.legal-header .meta {
  color: var(--text-muted);
  font-size: 0.95rem;
}
nav.toc {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
}
nav.toc h2 {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
nav.toc ol {
  margin: 0;
  padding-left: 1.25rem;
}
nav.toc li { margin: 0.25rem 0; }
h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4rem;
}
h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: #f0f0f8;
}
p, li { color: var(--text); }
ul, ol { padding-left: 1.35rem; }
li { margin: 0.35rem 0; }
.callout {
  background: var(--bg-elevated);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}
.callout strong { color: #fff; }
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}
th, td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.85rem;
  text-align: left;
}
th {
  background: var(--bg-elevated);
  color: #fff;
  font-weight: 600;
}
code, .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--code-bg);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-size: 0.9em;
}
footer.legal-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}
footer.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}
.confirm {
  background: #1a1520;
  border: 1px dashed #6b3a5a;
  color: #e8b8d0;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  border-radius: 6px;
  font-size: 0.9rem;
}
@media (max-width: 600px) {
  header.legal-header h1 { font-size: 1.45rem; }
  .wrap { padding: 1.25rem 1rem 3rem; }
}
