/*
 * The public pages: privacy, terms, support.
 *
 * These are plain static HTML, NOT part of the SPA, and that is the point. A
 * store reviewer opens the privacy URL in a browser with no account, and a
 * crawler opens it with no JavaScript. Rendering them through React would show
 * both of them the sign-in screen instead — the app has no URL router, so every
 * unknown path falls through to the SPA shell.
 *
 * One stylesheet rather than a <style> block in each of the three, so the look
 * cannot drift between pages that are meant to read as one document.
 */
:root {
  --brand: #096ab1;
  --bg: #dcecfa;
  --surface: #ffffff;
  --ink: #0d1729;
  --muted: #4a5c78;
  --line: #c3d8ee;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #45c6fb;
    --bg: #070c18;
    --surface: #151f34;
    --ink: #e8eef8;
    --muted: #9fb0c8;
    --line: #24314d;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 24px 20px 64px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* 17px, not 16: this is long-form prose read on a phone, not UI. */
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

/* The page itself is a panel on the blue canvas, like every screen in the app. */
main {
  max-width: 680px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px 32px;
}

header { border-bottom: 1px solid var(--line); margin-bottom: 32px; padding-bottom: 16px; }
header a.home { color: var(--brand); font-weight: 700; text-decoration: none; font-size: 1rem; }

h1 { font-size: 1.9rem; line-height: 1.2; margin: 16px 0 4px; }
h2 { font-size: 1.2rem; margin: 36px 0 8px; }

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

/* The short answer, before the detail. Most people read only this. */
.summary {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 24px 0;
}
.summary p:first-child { margin-top: 0; }
.summary p:last-child { margin-bottom: 0; }

ul { padding-left: 22px; }
li { margin-bottom: 8px; }

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

dt { font-weight: 700; margin-top: 16px; }
dd { margin: 4px 0 0; color: var(--muted); }

footer {
  margin-top: 56px; padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.9rem;
}
footer a { margin-right: 16px; }
