/* The only stylesheet of the legal site: change colours and sizes here. */
:root {
  --ink: #1d2430;
  --muted: #5b6575;
  --line: #d9dee6;
  --accent: #165e83;
  --paper: #ffffff;
  --band: #f4f6f9;
  --width: 46rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

header, main, footer { max-width: var(--width); margin: 0 auto; padding: 0 1.25rem; }
header { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1.25rem; }
header a.home { font-weight: 700; color: var(--ink); text-decoration: none; }
nav a { margin-left: 1rem; font-size: .9rem; }

a { color: var(--accent); }
h1 { font-size: 1.8rem; line-height: 1.2; margin: 2rem 0 .25rem; }
h2 { font-size: 1.2rem; margin: 2rem 0 .5rem; }
.updated { color: var(--muted); margin-top: 0; }
.summary { background: var(--band); border-left: 4px solid var(--accent); padding: .75rem 1rem; }

table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .5rem; border-bottom: 1px solid var(--line); }
thead th { border-bottom: 2px solid var(--line); }

ul.apps { list-style: none; padding: 0; }
ul.apps li { padding: .75rem 0; border-bottom: 1px solid var(--line); }

footer { color: var(--muted); font-size: .85rem; padding-top: 2rem; padding-bottom: 2rem; }

@media (max-width: 40rem) {
  thead { display: none; }
  table, tbody, tr, th, td { display: block; }
  tr { border-bottom: 2px solid var(--line); padding: .5rem 0; }
  th, td { border: 0; padding: .25rem 0; }
  td::before { content: attr(data-label) ": "; font-weight: 600; }
}
