/* Imprint and privacy policy: plain pages next to the app, in its colours (styles.css); the server fills in the app's colour as --accent. */
:root {
  --bg: #f6f0e4;
  --surface: #fffdf8;
  --text: #2b2222;
  --muted: #7a6e68;
  --line: #e4dccd;
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 1rem) max(1rem, env(safe-area-inset-right)) calc(env(safe-area-inset-bottom) + 2rem) max(1rem, env(safe-area-inset-left));
}
a { color: var(--accent); overflow-wrap: anywhere; }
header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
header a.app { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--text); text-decoration: none; }
header img { width: 32px; height: 32px; border-radius: 8px; }
main { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; }
h1 { font-size: 1.5rem; margin: 0 0 0.4rem; line-height: 1.2; }
h2 { font-size: 1.15rem; margin: 1.6rem 0 0.5rem; }
p, ul { margin: 0.5rem 0; }
ul { padding-left: 1.3rem; }
li { margin: 0.25rem 0; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
address { font-style: normal; }
code { font-size: 0.9em; overflow-wrap: anywhere; }
footer { margin-top: 1rem; text-align: center; }
