/*
 * One stylesheet, served from this repo, for both pages.
 *
 * No web font, no CDN, no analytics, no cookie banner — not as a matter of
 * taste but because of what these pages say. A privacy policy that tells a
 * parent nothing about their child leaves the device, served from a page that
 * calls out to three other companies to render itself, is not a document
 * anyone should believe. System fonts only.
 */

:root {
  --bg: #fff7f2;
  --ink: #4a4458;
  --muted: #6f6880;
  --rule: #f0dfd6;
  --accent: #b4577a;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 20px 64px;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main { max-width: 44rem; margin: 0 auto; }

header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 32px 0 8px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 28px;
}

/*
 * The mark is `icon.svg`, written by `npm run store:icons` from the same
 * `appIconSvg()` that draws the app icon and the favicon — not a second
 * drawing. It was a second drawing once: two circles typed out by hand in each
 * page, which is why the header showed a pink blob rather than Koki and Loli.
 */
header .mark { width: 56px; height: 56px; border-radius: 13px; flex: none; display: block; }
header h1 { font-size: 1.5rem; margin: 0; }
header p { margin: 2px 0 0; color: var(--muted); font-size: 0.95rem; }

h2 { font-size: 1.2rem; margin: 2em 0 0.4em; }
h3 { font-size: 1.02rem; margin: 1.6em 0 0.3em; }
p, li { color: var(--ink); }
li { margin: 0.3em 0; }
a { color: var(--accent); }

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

.plain {
  background: #fffdfb;
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 24px 0;
}

.plain p:first-child { margin-top: 0; }
.plain p:last-child { margin-bottom: 0; }

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

nav a { margin-right: 18px; }

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #211d27;
    --ink: #f3ecf2;
    --muted: #b9b0c2;
    --rule: #3b3444;
    --accent: #ffa2bb;
    color-scheme: dark;
  }
  .plain { background: #2a2531; }
}
