/* The privacy policy and the terms (privacy.html, terms.html): plain reading
   pages in the landing page's colours, one language shown at a time. */
:root {
  color-scheme: dark;
  --bg: #120f1a;
  --surface: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f3eff8;
  --muted: #a79fb5;
  --accent: #ff9a6b;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Rounded', 'Segoe UI', Roboto, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
main { max-width: 720px; margin: 0 auto; padding: calc(24px + env(safe-area-inset-top)) 18px calc(48px + env(safe-area-inset-bottom)); }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
header a.home { color: var(--muted); text-decoration: none; font-weight: 600; }
nav.langs { display: flex; gap: 6px; }
nav.langs a { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 14px; }
nav.langs a.on { border-color: var(--accent); color: var(--text); }
h1 { margin: 16px 0 4px; font-size: 28px; line-height: 1.25; }
h2 { margin: 28px 0 6px; font-size: 19px; line-height: 1.35; }
p, li { color: #ddd6e8; }
.muted { color: var(--muted); font-size: 14px; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
a { color: var(--accent); }
.box { margin: 18px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
/* Vietnamese unless the page is in English (?lang=en, or a browser in English). */
html:not([lang='en']) [lang='en'], html[lang='en'] section[lang='vi'] { display: none; }
