/* MyNeighbourhood — Privacy Policy & Terms pages */
:root {
  --bg: #fff8f1; --card: #ffffff; --text: #111111; --muted: #57534e; --line: #eee6dc; --soft: #fff4e8;
  --brand: #f97316; --brand-2: #ea580c; --brand-3: #fdba74;
  --grad: linear-gradient(135deg, #fb923c 0%, #f97316 55%, #ea580c 100%);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0c0a09; --card: #171412; --text: #fafaf9; --muted: #a8a29e; --line: #292524; --soft: #1c1917; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0c0a09; --card: #171412; --text: #fafaf9; --muted: #a8a29e; --line: #292524; --soft: #1c1917; color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.7 "Inter", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
h1, h2, .brand { font-family: "Plus Jakarta Sans", "Inter", sans-serif; letter-spacing: -.02em; }
.grad { color: var(--brand); }

.bar {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 20px; background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; text-decoration: none; color: var(--text); }
.brand img { width: 30px; height: 30px; }
.back {
  text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px;
  background: var(--card); border: 1.5px solid var(--line); color: var(--text); white-space: nowrap;
}

.wrap { max-width: 820px; margin: 0 auto; padding: 28px 20px 60px; }
.hero { padding: 28px 26px; border-radius: 20px; background: linear-gradient(135deg, #fff7ed, #ffedd5); color: var(--text); margin-bottom: 22px; border: 1px solid #fed7aa; }
:root[data-theme="dark"] .hero { background: #2a1d12; border-color: #3b2a1a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero { background: #2a1d12; border-color: #3b2a1a; } }
.hero h1 { color: var(--text); } .hero p { color: var(--muted); }
.hero h1 { margin: 0; font-size: clamp(32px, 6vw, 46px); line-height: 1.05; }
.hero p { margin: 8px 0 0; }

.summary, .toc, section, .contact-box {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; margin-bottom: 16px;
}
.summary h2, .toc summary { margin: 0 0 8px; font-size: 22px; }
.summary ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.summary li { padding: 10px 14px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
.toc summary { cursor: pointer; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; }
.toc ol { margin: 8px 0 0; padding-left: 22px; columns: 2; column-gap: 28px; }
.toc li { break-inside: avoid; }
.toc a { text-decoration: none; }
section h2 { margin: 0 0 6px; font-size: 24px; line-height: 1.2; }
section h3 { margin: 18px 0 4px; font-size: 17px; }
section p, section li { color: var(--text); }
section ul { padding-left: 22px; }
.muted { color: var(--muted); font-size: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 8px 0; }
th, td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
th { font-weight: 700; background: var(--soft); }
.table-scroll { overflow-x: auto; }
.note { padding: 12px 14px; border-radius: 12px; background: var(--soft); border-left: 4px solid var(--brand); }
.contact-box { display: grid; gap: 4px; }

footer { text-align: center; color: var(--muted); font-size: 13px; padding: 10px 20px 40px; }
footer a { margin: 0 6px; }

@media (max-width: 640px) {
  body { font-size: 15px; }
  .bar { padding: 8px 16px; }
  .brand span { display: none; }
  .wrap { padding: 18px 16px 48px; }
  .hero { padding: 22px 20px; }
  .summary, .toc, section, .contact-box { padding: 16px 18px; }
  .toc ol { columns: 1; }
}
@media print {
  .bar, .toc, footer { display: none; }
  .hero { background: none; color: #000; box-shadow: none; padding: 0; }
  section, .summary { border: 0; padding: 0; }
}
