:root {
  color-scheme: light dark;
  --bg: #f6f9f7;
  --text: #17241f;
  --muted: #5f6f69;
  --card: #ffffff;
  --border: #e6ece9;
  --primary: #16a98a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1714;
    --text: #e8f0ec;
    --muted: #a3b3ad;
    --card: #16211d;
    --border: #26332e;
    --primary: #2fd6b0;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  margin: 0;
}

main {
  margin: 0 auto;
  max-width: 820px;
  padding: 40px 20px 64px;
}

article {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}

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

h2 {
  font-size: 20px;
  margin-top: 28px;
}

p,
li {
  color: var(--muted);
}

strong {
  color: var(--text);
}

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

code {
  background: var(--bg);
  border-radius: 5px;
  padding: 1px 5px;
}

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

/* The app / developer identification block. Play checks this against the
   store listing, so it is a table rather than prose: every field it looks
   for is labelled and none of them can be missed by a skim. */
.ident {
  border-collapse: collapse;
  margin: 12px 0 4px;
  width: 100%;
}

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

.ident th {
  color: var(--text);
  white-space: nowrap;
  width: 220px;
}

.ident td {
  color: var(--muted);
  word-break: break-word;
}

@media (max-width: 560px) {
  .ident th,
  .ident td {
    display: block;
    width: auto;
  }
  .ident th {
    border-bottom: 0;
    padding-bottom: 0;
  }
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.links a {
  border: 1px solid var(--border);
  border-radius: 999px;
  display: inline-block;
  padding: 8px 18px;
  text-decoration: none;
}

footer {
  color: var(--muted);
  font-size: 14px;
  margin: 28px auto 0;
  max-width: 820px;
  padding: 0 20px;
  text-align: center;
}
