/* The palette is the app's: cream ground, dark brown ink — the same two values
   the launcher icon is built from (ic_launcher_background, and the fill of every
   path in ic_launcher_foreground), so the page and the icon beside it in the
   store listing are plainly the same product. */
:root {
  --ground: #FFF3E0;
  --ink: #3D2415;
  --muted: #6B5243;
  --rule: #E6D5BE;
  --link: #8A4B22;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #1C130D;
    --ink: #F3E4D2;
    --muted: #B09781;
    --rule: #3A2A1D;
    --link: #E09B64;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

header, main, footer {
  max-width: 38rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.brand {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.languages { font-size: 0.9rem; color: var(--muted); }
.languages .here { color: var(--ink); font-weight: 600; }

a { color: var(--link); }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

h1 { font-size: 1.75rem; line-height: 1.25; margin: 1rem 0 0.5rem; }
h2 { font-size: 1.15rem; margin: 2.25rem 0 0.5rem; }

.lede { color: var(--muted); margin-top: 0; }
.updated { color: var(--muted); font-size: 0.9rem; }

ul { padding-left: 1.25rem; }
li { margin: 0.35rem 0; }

/* Numbered steps on the deletion page: the order is the instruction, so it is
   structure rather than decoration. */
ol.steps { padding-left: 1.4rem; }
ol.steps li { margin: 0.6rem 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: 1px solid var(--rule);
}
th { font-weight: 600; }

/* Tables of data categories do not shrink gracefully on a phone; let the table
   scroll rather than the page. */
.scroll { overflow-x: auto; }

footer {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}
footer a { color: var(--muted); }
