/* Shared look for the legal pages (privacy, community rules, delete account),
   matching the Purazi app and website: Plus Jakarta Sans, forest green,
   rounded cards and the faint garden wallpaper, light and dark. */
:root {
  color-scheme: light;
  --primary: #1b7f4a; --bg: #f8faf8; --card: #ffffff; --field: #f1f5f2; --border: #e6ece7; --divider: #eef2ef;
  --text: #0f1f16; --muted: #616e66; --green-soft: #e6f4ec; --head-bg: rgba(248, 250, 248, 0.86);
  --wall: url('garden-light.png'); --shadow: 0 2px 10px rgba(15, 31, 22, 0.05);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --primary: #4cc77e; --bg: #0a110d; --card: #121c16; --field: #1b2820; --border: #22322a; --divider: #1c2a22;
    --text: #ecf3ee; --muted: #9aaaa0; --green-soft: #15301f; --head-bg: rgba(10, 17, 13, 0.84);
    --wall: url('garden-dark.png'); --shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  }
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --primary: #4cc77e; --bg: #0a110d; --card: #121c16; --field: #1b2820; --border: #22322a; --divider: #1c2a22;
  --text: #ecf3ee; --muted: #9aaaa0; --green-soft: #15301f; --head-bg: rgba(10, 17, 13, 0.84);
  --wall: url('garden-dark.png'); --shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
* { box-sizing: border-box; }
body {
  margin: 0; color: var(--text); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;
  font: 17px/1.7 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg) var(--wall) repeat; background-size: 240px 240px;
}
a { color: var(--primary); font-weight: 600; text-underline-offset: 3px; }
.top { position: sticky; top: 0; z-index: 2; background: var(--head-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--divider); }
.top-in { max-width: 820px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; border-radius: 11px; }
.pill-link { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border-radius: 999px; background: var(--primary); color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; }
:root[data-theme='dark'] .pill-link { color: #0a110d; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .pill-link { color: #0a110d; } }
main { max-width: 820px; margin: 0 auto; padding: 24px 16px 40px; }
.doc { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 32px 36px; box-shadow: var(--shadow); }
h1 { font-size: 34px; line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 8px; font-weight: 800; }
h2 { font-size: 21px; line-height: 1.3; letter-spacing: -0.015em; margin: 36px 0 8px; font-weight: 800; }
h2::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); margin-right: 10px; vertical-align: 3px; }
p, li { color: var(--text); }
ul, ol { padding-left: 22px; }
li { margin: 8px 0; }
li::marker { color: var(--primary); }
b { font-weight: 700; }
.muted { color: var(--muted); }
p.muted:first-of-type { display: inline-block; background: var(--green-soft); color: var(--primary); font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; margin: 0 0 8px; }
.card { background: var(--field); border: 1px solid var(--border); border-radius: 20px; padding: 18px 22px; margin: 16px 0; }
.card ol { margin: 8px 0 0; }
footer { max-width: 820px; margin: 0 auto; padding: 8px 16px 40px; text-align: center; color: var(--muted); font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 10px; }
@media (max-width: 600px) {
  body { font-size: 16px; }
  .doc { padding: 22px 18px; border-radius: 20px; }
  h1 { font-size: 28px; }
  h2 { font-size: 19px; margin-top: 30px; }
}
