/* Minnu legal pages.
 *
 * One stylesheet, no fonts, no scripts, no third-party requests. These pages
 * are read by Play reviewers, by people deciding whether to trust the app with
 * a personal conversation, and occasionally by a lawyer. All three are better
 * served by plain text that loads instantly on a bad Kerala mobile connection
 * than by anything that needs a CDN.
 *
 * Colours mirror idea.md §26 — warm cream, deep plum, charcoal — so the
 * documents read as part of the product rather than as boilerplate bolted on.
 */

:root {
  --cream: #fdf8f3;
  --charcoal: #24211f;
  --plum: #5b2c4e;
  --rose: #b4657a;
  --muted: #6d6560;
  --rule: #e8ddd3;
}

@media (prefers-color-scheme: dark) {
  :root {
    --cream: #171514;
    --charcoal: #ece7e2;
    --plum: #d9a7c7;
    --rose: #d98ea3;
    --muted: #a29a94;
    --rule: #322d2a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0 auto;
  padding: 2.5rem 1.25rem 5rem;
  max-width: 44rem;
  background: var(--cream);
  color: var(--charcoal);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

header { border-bottom: 1px solid var(--rule); padding-bottom: 1.5rem; margin-bottom: 2rem; }
header a.home { color: var(--plum); font-weight: 600; text-decoration: none; letter-spacing: 0.01em; }

h1 { font-size: 1.85rem; line-height: 1.25; margin: 0 0 0.4rem; color: var(--plum); }
h2 { font-size: 1.15rem; margin: 2.4rem 0 0.6rem; color: var(--plum); }
h3 { font-size: 1rem; margin: 1.6rem 0 0.4rem; }

p, li { color: var(--charcoal); }
ul, ol { padding-left: 1.3rem; }
li { margin: 0.35rem 0; }

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

.updated { color: var(--muted); font-size: 0.9rem; margin: 0; }

.lede { font-size: 1.05rem; color: var(--muted); }

table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: 0.94rem; display: block; overflow-x: auto; }
th, td { border: 1px solid var(--rule); padding: 0.5rem 0.6rem; text-align: left; vertical-align: top; }
th { background: rgba(91, 44, 78, 0.06); font-weight: 600; }

.callout {
  border-left: 3px solid var(--rose);
  background: rgba(180, 101, 122, 0.07);
  padding: 0.85rem 1rem;
  margin: 1.5rem 0;
  border-radius: 0 6px 6px 0;
}

footer {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}

nav.index { list-style: none; padding: 0; }
nav.index a { display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--plum); font-weight: 600; }
nav.index a span { display: block; color: var(--muted); font-weight: 400; font-size: 0.92rem; }
