/* The Terms and Privacy pages: plain HTML in the app's colors (the design system's neutrals and
   its info blue, light and dark), readable without JavaScript. The page script sets data-theme
   from the app's own choice ('bible:theme'); without it, the device's setting applies. */
:root {
  --bg: #f9f9f9; --text: #0d0d0d; --muted: #5d5d5d; --rule: #e5e5e5; --link: #0169cc;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0e1217; --text: #ececec; --muted: #a8a8a8; --rule: #2a2f37; --link: #7cb9ff; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0e1217; --text: #ececec; --muted: #a8a8a8; --rule: #2a2f37; --link: #7cb9ff; color-scheme: dark; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px);
}
a { color: var(--link); }
.bar {
  max-width: 820px; margin: 0 auto; padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 15px;
}
.bar a { text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.brand img { border-radius: 7px; }
main { max-width: 720px; margin: 0 auto; padding: 24px 20px 48px; }
h1 { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; margin: 12px 0 6px; }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
h2 { font-size: 20px; line-height: 1.3; margin: 32px 0 8px; }
p, li { margin: 0 0 14px; }
ul { padding-left: 22px; margin: 0 0 14px; }
footer {
  max-width: 720px; margin: 0 auto; padding: 18px 20px 40px;
  border-top: 1px solid var(--rule); color: var(--muted); font-size: 14px; line-height: 1.7;
}
footer a { color: inherit; }
