/* DDC Hub — legal/support pages (DDC-LEGAL-1). Dark theme, system font stack only — no external
   fonts, no scripts, no trackers. Shared by every page under /support, /terms, /privacy so the
   six HTML files (vi/en × 3 pages) don't each carry their own copy of this block. */

:root {
  color-scheme: dark;
  --bg: #0f1216;
  --bg-elevated: #171b21;
  --border: #272e38;
  --text: #e6e9ef;
  --text-muted: #9aa4b2;
  --accent: #5aa9ff;
  --banner-bg: #2a2010;
  --banner-border: #5c4a1a;
  --banner-text: #e8c76a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.draft-banner {
  background: var(--banner-bg);
  border: 1px solid var(--banner-border);
  color: var(--banner-text);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
}

h1 {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4rem;
}

.updated {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

a {
  color: var(--accent);
}

code {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  font-size: 0.92em;
}

ul {
  padding-left: 1.3rem;
}

li {
  margin-bottom: 0.4rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.92rem;
}

th, td {
  text-align: left;
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0.6rem;
  vertical-align: top;
}

th {
  color: var(--text-muted);
  font-weight: 600;
}

.placeholder {
  color: var(--banner-text);
  font-style: italic;
}

.lang-switch {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}
