:root { --bg: #15181e; --text: #f2ede4; --muted: #a59d90; --line: #2a303b; --orange: #e58a4e; color-scheme: dark; }
@media (prefers-color-scheme: light) { :root:not([data-theme='dark']) { --bg: #f6f2eb; --text: #221d17; --muted: #5c554b; --line: #e7e0d4; --orange: #c2591a; color-scheme: light; } }
:root[data-theme='light'] { --bg: #f6f2eb; --text: #221d17; --muted: #5c554b; --line: #e7e0d4; --orange: #c2591a; color-scheme: light; }
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { background: var(--bg); color: var(--text); font: 15px/1.5 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif; display: flex; flex-direction: column; }
a { color: var(--orange); }
.top { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px; max-width: 720px; width: 100%; margin: 0 auto; flex: none; }
.logo img { display: block; height: 48px; width: auto; }
.theme { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
/* the chat takes the rest of the screen */
.chat { flex: 1; min-height: 0; width: 100%; max-width: 720px; margin: 0 auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .chat { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 8px; } }
.foot { flex: none; text-align: center; font-size: 12px; color: var(--muted); padding: 6px 16px calc(8px + env(safe-area-inset-bottom)); }
/* the privacy page */
.prose { max-width: 720px; margin: 0 auto; padding: 8px 20px 40px; }
.prose h1 { font-size: 26px; line-height: 32px; margin: 8px 0 16px; }
.prose h2 { font-size: 18px; margin: 24px 0 6px; }
.prose p, .prose li { color: var(--muted); }
.prose b { color: var(--text); }
