/* Style for the simple content pages: about.html, privacy.html, terms.html.
   Same colors as the chat app (src/styles.css). */
:root {
  --bg: #f4f5fb;
  --card: #ffffff;
  --text: #1d1f2b;
  --muted: #6b6f85;
  --border: #e1e3ee;
  --primary: #5b5bf0;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11121a;
    --card: #1b1d28;
    --text: #eceef6;
    --muted: #9a9eb5;
    --border: #2c2f40;
    --primary: #8a8aff;
    color-scheme: dark;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}
a {
  color: var(--primary);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 760px;
  margin: 0 auto;
  padding: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
}
.brand img {
  width: 28px;
  height: 28px;
}
.cta {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 10px;
}
article {
  max-width: 760px;
  margin: 0 auto 40px;
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
}
@media (max-width: 792px) {
  article {
    margin: 0 16px 40px;
  }
}
h1 {
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 8px;
}
h2 {
  font-size: 21px;
  margin: 30px 0 8px;
}
.updated,
.lead {
  color: var(--muted);
}
.lead {
  font-size: 18px;
}
details {
  border-top: 1px solid var(--border);
  padding: 12px 0;
}
summary {
  font-weight: 600;
  cursor: pointer;
}
details p {
  margin: 8px 0 0;
}
footer {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  padding: 0 16px 32px;
}
footer a {
  color: var(--muted);
  margin: 0 8px;
}
