/* The legal and help pages: the app's own colours and type (Manrope headings, Inter text). */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/inter-400regular.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/fonts/inter-600semibold.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url(/fonts/manrope-800extrabold.woff2) format("woff2"); }
:root {
  --ink: #0b1430;
  --muted: #5c6170;
  --navy: #3a2fd6;
  --line: #e6e8ee;
  --soft: #f0f1f5;
  --green: #0f6b50;
  --red: #b42318;
  --paper: #ffffff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f3f7;
    --muted: #a3a8b8;
    --navy: #b3aeff;
    --line: #2a2e3a;
    --soft: #1b1e26;
    --paper: #111318;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 720px; margin: 0 auto; padding: 32px 20px 64px; }
header.brand { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
header.brand a { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.mark { width: 34px; height: 34px; border-radius: 9px; display: block; }
.name { font-family: Manrope, Inter, sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -0.3px; }
h1, h2, h3 { font-family: Manrope, Inter, sans-serif; font-weight: 800; letter-spacing: -0.3px; }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 20px; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 22px 0 4px; }
p, li { color: var(--ink); }
.muted { color: var(--muted); }
.updated { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
a { color: var(--navy); }
ul { padding-left: 22px; }
li { margin: 4px 0; }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 18px 0; }
.soft { background: var(--soft); border-color: var(--soft); }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
button, .button {
  display: block; width: 100%; min-height: 50px; border: 0; border-radius: 14px; padding: 12px 16px;
  font: inherit; font-weight: 600; cursor: pointer; background: var(--navy); color: #fff; margin: 10px 0;
}
@media (prefers-color-scheme: dark) { button, .button { color: #0b0e1a; } }
button.secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }
button.danger { background: var(--red); color: #fff; }
button:disabled { opacity: 0.45; cursor: default; }
input[type="email"], input[type="password"] {
  width: 100%; font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--soft); color: var(--ink); margin: 6px 0;
}
label.check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; }
.message { font-weight: 600; margin: 10px 0; }
.message.error { color: var(--red); }
.message.ok { color: var(--green); }
footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
footer a { margin-right: 16px; }
[hidden] { display: none !important; }
