/* civicoapp.com: the app's navy and greys, light and dark. */
:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #666666;
  --brand: #013463;
  --rule: #e3e5ea;
  --table-head: #f4f6f9;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d0f;
    --text: #f2f2f5;
    --muted: #b3b3bc;
    --brand: #9cc3ff;
    --rule: #2a2b31;
    --table-head: #17181c;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--brand); text-underline-offset: 2px; }

header.site, main, footer.site {
  max-width: 720px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
header.site {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.brand {
  font: 700 22px/1.2 "Libre Baskerville", Georgia, "Times New Roman", serif;
  color: var(--brand);
  text-decoration: none;
}
header.site nav { display: flex; gap: 16px; }
header.site nav a { text-decoration: none; font-weight: 600; }
header.site nav a[aria-current="page"] { text-decoration: underline; }

main { padding-top: 24px; padding-bottom: 32px; }
h1 { font-size: 30px; line-height: 1.25; margin: 8px 0 12px; }
h2 { font-size: 21px; line-height: 1.3; margin: 32px 0 8px; }
p, li { overflow-wrap: anywhere; }
ul { padding-left: 22px; }
li { margin: 4px 0; }

.table { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; min-width: 560px; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border: 1px solid var(--rule); }
th { background: var(--table-head); }

.home { padding: 40px 0; }
.lede { font-size: 19px; color: var(--muted); }

footer.site {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  padding-bottom: 32px;
  color: var(--muted);
  font-size: 15px;
}
