/* Shared by the three legal pages. Plain, readable, printable.
   The brand colour matches the app icon and the site's theme-color. */

:root {
  --ink: #16202a;
  --muted: #5b6774;
  --rule: #e3e8ee;
  --brand: #1e4fa0;
  --bg: #ffffff;
  --panel: #f5f8fc;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e8edf3;
    --muted: #9aa7b4;
    --rule: #2a3440;
    --brand: #6ea8ff;
    --bg: #11171e;
    --panel: #18212b;
  }
}

* { box-sizing: border-box; }

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

.wrap { max-width: 760px; margin: 0 auto; padding: 48px 16px 96px; }

header.masthead {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 20px; margin-bottom: 36px;
  border-bottom: 1px solid var(--rule);
}
header.masthead img { height: 34px; width: auto; }
header.masthead a { color: var(--muted); text-decoration: none; font-size: 15px; }
header.masthead a:hover { color: var(--brand); }

h1 { font-size: 32px; line-height: 1.25; margin: 0 0 6px; letter-spacing: -0.015em; }
.updated { color: var(--muted); font-size: 15px; margin: 0 0 36px; }

h2 {
  font-size: 21px; margin: 40px 0 12px; letter-spacing: -0.01em;
  padding-top: 8px; border-top: 1px solid var(--rule);
}
h3 { font-size: 17px; margin: 26px 0 8px; }

p, li { color: var(--ink); }
a { color: var(--brand); }
ul { padding-left: 22px; }
li { margin: 6px 0; }

table { border-collapse: collapse; width: 100%; margin: 18px 0; font-size: 15.5px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
th { color: var(--muted); font-weight: 600; }

.panel {
  background: var(--panel); border: 1px solid var(--rule);
  border-radius: 12px; padding: 16px 18px; margin: 22px 0;
}
.panel p:first-child { margin-top: 0; }
.panel p:last-child { margin-bottom: 0; }

footer {
  margin-top: 56px; padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: var(--muted); font-size: 14.5px;
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: 27px; }
  .wrap { padding-top: 32px; }
  table, thead, tbody, th, td, tr { display: block; }
  thead { display: none; }
  td { border: none; padding: 2px 0; }
  tr { border-bottom: 1px solid var(--rule); padding: 12px 0; }
  td:first-child { font-weight: 600; }
}
