/* Shared style for pixelplatelabs.com (privacy policy, terms, support). */
:root {
  --text: #1c2321;
  --muted: #5b6662;
  --primary: #1f8a5b;
  --surface: #f3f6f4;
  --border: #dde4e0;
  --background: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #e8eeeb;
    --muted: #a5b0ab;
    --primary: #5ccf98;
    --surface: #1c2422;
    --border: #2f3a36;
    --background: #121816;
  }
}

* {
  box-sizing: border-box;
}

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

header,
main,
footer {
  max-width: 720px;
  margin: 0 auto;
}

header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: baseline;
  padding: 24px 0 8px;
  border-bottom: 1px solid var(--border);
}

header .brand {
  margin-right: auto;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

header nav a {
  margin-right: 16px;
  color: var(--muted);
  text-decoration: none;
}

header nav a:hover,
header nav a[aria-current="page"] {
  color: var(--primary);
}

main {
  padding: 8px 0 40px;
}

h1 {
  margin: 24px 0 4px;
  font-size: 32px;
  line-height: 1.2;
}

h2 {
  margin: 36px 0 8px;
  font-size: 22px;
}

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

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

.updated {
  margin-top: 0;
  color: var(--muted);
}

.summary {
  padding: 4px 20px;
  border-radius: 12px;
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  padding: 8px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.table-scroll {
  overflow-x: auto;
}

/* Draft placeholders the owner still has to fill in. Remove before publishing. */
mark.todo {
  padding: 0 4px;
  border-radius: 4px;
  background: #ffe066;
  color: #1c2321;
}

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