/* WordUp legal pages: Privacy Policy, Terms of Service, account deletion. */
:root {
  --bg: #fffaf6;
  --surface: #ffffff;
  --text: #1f1a24;
  --muted: #5d5566;
  --line: #ece4ef;
  --accent: #c2185b;
  --accent-soft: #fde7f0;
  --todo: #fff3bf;
  --todo-text: #5c4400;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17131b;
    --surface: #211b27;
    --text: #f3eef6;
    --muted: #b7adbf;
    --line: #362d3e;
    --accent: #ff7eb3;
    --accent-soft: #3a2232;
    --todo: #4a3b00;
    --todo-text: #ffe8a3;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

header.site .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand span { color: var(--accent); }

nav.site a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-right: 16px;
}

nav.site a:last-child { margin-right: 0; }

nav.site a[aria-current="page"] { color: var(--accent); }

main { padding: 32px 0 56px; }

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

h2 {
  font-size: 22px;
  line-height: 1.25;
  margin: 40px 0 10px;
  padding-top: 8px;
}

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

p, ul, ol { margin: 0 0 14px; }

ul, ol { padding-left: 22px; }

li { margin-bottom: 6px; }

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

.updated {
  color: var(--muted);
  margin-bottom: 24px;
}

.summary {
  background: var(--accent-soft);
  border-radius: 16px;
  padding: 18px 20px 6px;
  margin: 24px 0 8px;
}

.summary h2 {
  margin-top: 0;
  padding-top: 0;
  font-size: 18px;
}

.toc {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px 4px;
  margin: 24px 0;
  background: var(--surface);
}

.toc p { font-weight: 700; margin-bottom: 8px; }

.toc ol { columns: 2; column-gap: 28px; }

@media (max-width: 560px) {
  .toc ol { columns: 1; }
  h1 { font-size: 28px; }
}

.callout {
  border-left: 4px solid var(--accent);
  background: var(--surface);
  padding: 12px 16px;
  border-radius: 0 12px 12px 0;
  margin: 0 0 16px;
}

.caps { text-transform: uppercase; font-size: 14.5px; }

mark.todo {
  background: var(--todo);
  color: var(--todo-text);
  padding: 0 4px;
  border-radius: 4px;
  font-weight: 600;
}

footer.site {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding: 20px 0 32px;
}

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