/* Shared styles for the ZlipR consumer help centre and the legal pages at
   /privacy-policy, /tos and /delete-account.
   Read on a phone inside an in-app browser sheet, so: single column, large tap targets,
   generous line height, no fixed widths. */

:root {
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --blue: #1d4ed8;
  --line: #e2e8f0;
  --wash: #f8fafc;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 20px 18px 56px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 680px; margin: 0 auto; }

a { color: var(--blue); }

.back {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

/* Language switcher. Every page carries the same three links so a reader who lands from
   search or a shared link can move to their language without going back to an index. */
.langbar {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.langbar a { text-decoration: none; }
.langbar strong { color: var(--ink); }

h1 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--ink);
}

h2 {
  margin: 28px 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

/* Legal pages only — sub-headings inside a long section. */
h3 {
  margin: 20px 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

p { margin: 0 0 14px; }

/* "Last updated" line under the title on the legal pages. */
.updated {
  margin: -8px 0 20px;
  font-size: 13px;
  color: var(--muted);
}

ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 8px; }

strong { color: var(--ink); }

/* Callout for the one fact users most often get wrong. */
.note {
  margin: 18px 0;
  padding: 14px 16px;
  background: var(--wash);
  border-left: 3px solid var(--blue);
  border-radius: 0 10px 10px 0;
}
.note p:last-child { margin-bottom: 0; }

/* Category blocks on the index page. */
.cat { margin-bottom: 30px; }
.cat h2 { margin-top: 0; }

.links { list-style: none; margin: 0; padding: 0; }
.links li { margin: 0; border-bottom: 1px solid var(--line); }
.links li:last-child { border-bottom: 0; }
.links a {
  display: block;
  padding: 13px 2px;
  text-decoration: none;
  font-weight: 500;
}

.foot {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f1f5f9;
    --body: #cbd5e1;
    --muted: #94a3b8;
    --blue: #93b4fd;
    --line: #1e293b;
    --wash: #131c2e;
  }
  body { background: #0b1220; }
}
