/*
 * A plain document, the way a terms or privacy page should read: white paper, black text, system font.
 * No theming and no web fonts, so the page makes no third-party request — which is what the privacy
 * policy promises about the apps themselves.
 */

* {
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  max-width: 42rem;
  padding: 32px 20px 80px;
  background: #fff;
  color: #1a1a1a;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

header {
  padding-bottom: 16px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 8px;
}

.mark {
  text-decoration: none;
  color: #444;
  font-weight: 600;
  font-size: 0.95rem;
}

h1 {
  font-size: 1.7rem;
  line-height: 1.25;
  margin: 28px 0 4px;
}

h2 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 32px 0 6px;
}

h3 {
  font-size: 1rem;
  margin: 22px 0 4px;
}

.updated {
  color: #666;
  font-size: 0.9rem;
  margin: 0 0 8px;
}

a {
  color: #0645ad;
}

ul {
  padding-left: 1.4rem;
}

li {
  margin: 5px 0;
}

/* A point the reader should not skim past. */
.note {
  border-left: 3px solid #ccc;
  padding: 2px 0 2px 16px;
  margin: 22px 0;
  color: #333;
}

.note p:first-child {
  margin-top: 0;
}

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

/* Anything still to be filled in before this is published for real. */
.todo {
  background: #fff3cd;
  border: 1px solid #e0cfa0;
  border-radius: 3px;
  padding: 0 5px;
  font-size: 0.95em;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: top;
}

th {
  font-weight: 600;
  border-bottom: 1px solid #ccc;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: #f5f5f5;
  border-radius: 3px;
  padding: 1px 4px;
}

.index {
  list-style: none;
  padding: 0;
}

.index li {
  margin: 14px 0;
}

.index a {
  font-weight: 600;
}

.index p {
  margin: 2px 0 0;
  color: #555;
  font-size: 0.95rem;
}

footer {
  margin-top: 56px;
  padding-top: 16px;
  border-top: 1px solid #ddd;
  color: #666;
  font-size: 0.9rem;
}

footer a {
  margin-right: 16px;
}
