/* Paint by Picture's privacy and support pages. Plain static files, deployed with
   `mise run site:deploy`. */

:root {
  --bg: #fbf7f1;
  --surface: #ffffff;
  --text: #2a2622;
  --muted: #6d655c;
  --line: #e8dfd3;
  --accent: #c2492f;
  --accent-soft: #fbe9e3;
  --paint-1: #e85445;
  --paint-2: #f5942e;
  --paint-3: #ebb824;
  --paint-4: #5cb061;
  --paint-5: #4599e0;
  --paint-6: #e35c9e;
  --paint-7: #996bdb;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1b1916;
    --surface: #24211d;
    --text: #f1ebe3;
    --muted: #a99f93;
    --line: #3a352f;
    --accent: #f08a6f;
    --accent-soft: #3a2620;
  }
}

:root[data-theme="dark"] {
  --bg: #1b1916;
  --surface: #24211d;
  --text: #f1ebe3;
  --muted: #a99f93;
  --line: #3a352f;
  --accent: #f08a6f;
  --accent-soft: #3a2620;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 16px 64px;
}

.paints {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.paints span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.paints span:nth-child(1) { background: var(--paint-1); }
.paints span:nth-child(2) { background: var(--paint-2); }
.paints span:nth-child(3) { background: var(--paint-3); }
.paints span:nth-child(4) { background: var(--paint-4); }
.paints span:nth-child(5) { background: var(--paint-5); }
.paints span:nth-child(6) { background: var(--paint-6); }
.paints span:nth-child(7) { background: var(--paint-7); }

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-bottom: 32px;
  font-size: 15px;
}

nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }

h1 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

h2 {
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 40px 0 8px;
}

h3 {
  font-size: 17px;
  margin: 24px 0 4px;
}

p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }

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

.lede {
  font-size: 19px;
  color: var(--muted);
  margin-bottom: 28px;
}

.updated {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px;
}

.callout {
  background: var(--accent-soft);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 24px 0;
}

.callout p:last-child { margin-bottom: 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 14px 0;
}

.card h2, .card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .button { color: #1b1916; }
}
:root[data-theme="dark"] .button { color: #1b1916; }

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer a { color: var(--muted); }
