/* Imprint and privacy policy: plain pages next to the app, in the colours of the app (app/styles.css). */
:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --text: #1f2421;
  --muted: #5f6661;
  --line: #e2ded4;
  --accent: #2f6b3f;
  color-scheme: light dark;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151816;
    --surface: #1f2421;
    --text: #eef1ee;
    --muted: #a3aba5;
    --line: #333a35;
    --accent: #6fbf83;
  }
}
* { 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; }
h3 { font-size: 1rem; margin: 1.1rem 0 0.3rem; }
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; }
