/*
 * Shared shell for the two pages the app stores require to exist at a public URL:
 * privacy.html and delete-account.html.
 *
 * These are NOT part of the TikTok funnel — index.html is deliberately one page with no nav, and
 * that still holds. These sit beside it because Google Play requires a publicly reachable account
 * deletion URL and both stores require a privacy policy URL, and this directory is the only static
 * site that already deploys to a stable public host.
 *
 * Tokens are copied from index.html rather than imported: that page inlines everything on purpose
 * (it renders inside TikTok's in-app WebView), and these pages must not make it fetch anything.
 */

:root {
  --bg: #f7f7f2;
  --ink: #14170e;
  --ink-2: #565c4b;
  --line: #e0e3d6;
  --accent: #4d7c0f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14170c;
    --ink: #eff1e6;
    --ink-2: #a2a993;
    --line: #282e1c;
    --accent: #a3e635;
  }
}

* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 44px 20px 72px;
}

h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 8px }
h2 { font-size: 1.15rem; margin: 44px 0 8px }
h3 { font-size: 1rem; margin: 26px 0 4px }

p, li { color: var(--ink-2) }
p { margin: 0 0 16px }
ul { margin: 0 0 16px; padding-left: 20px }
li { margin: 0 0 8px }

strong { color: var(--ink) }
a { color: var(--accent) }

.updated {
  margin: 0 0 32px;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.lede {
  font-size: 1.05rem;
  color: var(--ink);
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  margin: 0 0 32px;
}

hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0 }

table { border-collapse: collapse; width: 100%; margin: 0 0 16px; font-size: 0.95rem }
th, td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top }
th { color: var(--ink) }
td { color: var(--ink-2) }

/* Wide content scrolls inside its own box; the page body never scrolls sideways. */
.scroll-x { overflow-x: auto }

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-2);
}
