/* Shared styling for the static legal pages (privacy, terms, cookies).
   Brand colours match the app; body copy uses a legible system stack rather
   than the hand-drawn face — legal text has to be readable, not cute. */
:root {
  --ink: #181512; --red: #b91f2a; --blue: #1c46b5;
  --paper: #f1efe9; --muted: rgba(24, 21, 18, .62);
  --rule: rgba(24, 21, 18, .14);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--paper); }
body {
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.62;
  -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 28px 20px 96px; }

.legal-head { margin-bottom: 26px; }
.legal-head a.back {
  font-family: "Segoe Print", "Comic Sans MS", "Chalkboard SE", cursive;
  color: var(--blue); text-decoration: none; font-size: 15px;
}
.legal-head a.back:hover { text-decoration: underline; }
h1 {
  font-family: "Segoe Print", "Comic Sans MS", "Chalkboard SE", cursive;
  font-size: clamp(26px, 6vw, 40px); letter-spacing: .04em;
  transform: rotate(-1deg); margin: 14px 0 6px;
}
.updated { color: var(--muted); font-size: 14px; margin-bottom: 4px; }
.review-note {
  background: rgba(28, 70, 181, .07); border: 1px solid rgba(28, 70, 181, .25);
  border-radius: 10px; padding: 12px 14px; font-size: 14px; color: var(--muted);
  margin: 18px 0 6px;
}
h2 {
  font-size: clamp(18px, 3.5vw, 22px); margin: 30px 0 10px;
  padding-top: 20px; border-top: 1px solid var(--rule); letter-spacing: .01em;
}
h3 { font-size: 16px; margin: 18px 0 6px; }
p, li { font-size: 15.5px; margin-bottom: 12px; }
ul, ol { margin: 0 0 12px 22px; }
li { margin-bottom: 7px; }
a { color: var(--blue); }
strong { font-weight: 650; }
code, .ph {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em;
  background: rgba(24, 21, 18, .06); padding: 1px 5px; border-radius: 5px;
}
.ph { color: var(--red); }              /* [PLACEHOLDER — fill in] markers */
table.tbl { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 14.5px; }
table.tbl th, table.tbl td { text-align: left; vertical-align: top; padding: 8px 10px; border: 1px solid var(--rule); }
table.tbl th { background: rgba(24, 21, 18, .04); }
.legal-foot { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
.legal-foot a { margin-right: 14px; }
