/* Privacy and help pages: same type and colours as the app, no script needed */
@font-face {
  font-family: "Newsreader";
  src: url("/fonts/Newsreader-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #f1ecfa;
  --surface: #ffffff;
  --ink: #2a2433;
  --ink-2: #5b5368;
  --line: #e9e3f2;
  --accent: #5b4bb0;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #1c1a22;
    --surface: #25222d;
    --ink: #f1eef6;
    --ink-2: #c8c2d3;
    --line: #332f3d;
    --accent: #b9adf2;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16.5px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
main {
  max-width: 680px;
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 64px max(20px, env(safe-area-inset-left));
}
.brand {
  font-family: "Newsreader", Georgia, serif;
  font-size: 22px;
  font-weight: 560;
  color: var(--ink);
  text-decoration: none;
}
h1,
h2 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 540;
  line-height: 1.15;
  text-wrap: balance;
}
h1 {
  font-size: 40px;
  margin: 28px 0 6px;
}
h2 {
  font-size: 24px;
  margin: 34px 0 8px;
}
p,
li {
  color: var(--ink-2);
  max-width: 64ch;
}
strong {
  color: var(--ink);
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
}
.updated {
  font-size: 14px;
}
.box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 18px;
  margin: 18px 0;
}
[hidden] {
  display: none !important;
}
/* the contact form on the help page */
.contact {
  display: grid;
  gap: 14px;
}
.contact label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: var(--ink);
}
.contact input,
.contact select,
.contact textarea {
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  min-width: 0;
}
.contact textarea {
  resize: vertical;
}
.contact button {
  justify-self: start;
  font: inherit;
  font-weight: 600;
  color: var(--surface);
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  cursor: pointer;
}
.contact .form-note {
  font-size: 14px;
  margin: 0;
}
