/* ChoreLock store-compliance pages.
 *
 * Deliberately one small stylesheet with no build step, no framework and
 * no external requests: these pages exist to satisfy Play/App Store review
 * and to be readable by a parent on a phone. A font CDN here would mean
 * the privacy policy itself phoned a third party, which is a bad look on
 * a page whose whole claim is "we don't send your data anywhere."
 */

:root {
  --ink: #1b1b1f;
  --ink-soft: #45464f;
  --ink-faint: #74757e;
  --bg: #fdfbff;
  --surface: #f2f0f7;
  --line: #c6c5d0;
  --accent: #4a5bb8;
  --accent-ink: #ffffff;
  --warn-bg: #fff4e5;
  --warn-line: #e5a44a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e5e1e9;
    --ink-soft: #c7c5d0;
    --ink-faint: #90909a;
    --bg: #131318;
    --surface: #1f1f25;
    --line: #46464f;
    --accent: #bac3ff;
    --accent-ink: #12194b;
    --warn-bg: #2b2114;
    --warn-line: #7a5a23;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 5rem;
}

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

header.site .wrap {
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: baseline;
}

header.site a.brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
}

header.site nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-left: auto;
}

header.site nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.93rem;
}

header.site nav a:hover,
header.site nav a:focus { color: var(--accent); text-decoration: underline; }

h1 { font-size: 1.85rem; line-height: 1.25; margin: 1.5rem 0 0.35rem; }
h2 { font-size: 1.25rem; margin: 2.4rem 0 0.6rem; }
h3 { font-size: 1.02rem; margin: 1.6rem 0 0.4rem; }

.updated {
  color: var(--ink-faint);
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
}

p, li { color: var(--ink-soft); }
li { margin: 0.3rem 0; }

a { color: var(--accent); }

strong { color: var(--ink); }

/* Tables carry the actual data disclosure, so they must stay legible on a
 * phone rather than silently clipping a column. */
.table-scroll { overflow-x: auto; margin: 1rem 0; }

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 34rem;
  font-size: 0.93rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid var(--line);
}

th { color: var(--ink); font-weight: 600; }
td { color: var(--ink-soft); }

thead th { border-bottom: 2px solid var(--line); }

.yes { color: var(--ink); font-weight: 600; }
.no { color: var(--ink-faint); }

.note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  margin: 1.25rem 0;
}

.note.warn {
  background: var(--warn-bg);
  border-color: var(--warn-line);
}

.note :first-child { margin-top: 0; }
.note :last-child { margin-bottom: 0; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  margin: 0.4rem 0.4rem 0.4rem 0;
}

.btn:hover, .btn:focus { filter: brightness(1.08); }

footer.site {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  color: var(--ink-faint);
  font-size: 0.88rem;
}

footer.site .wrap { padding: 1.5rem 1.25rem; }
footer.site a { color: var(--ink-faint); }
