/* The reading pages (help, about, privacy, credits): one look, the lobby's colours. */
html, body { margin: 0; background: #0b1620; color: #dbe7f0; }
body { font: 15px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: #7fc4ff; }

.page-head {
  position: sticky; top: 0; z-index: 2;
  background: #0b1620; border-bottom: 1px solid #1e3446;
}
.page-head-inner {
  max-width: 820px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 8px 20px; flex-wrap: wrap;
}
.page-brand { font-weight: 700; color: #fff; text-decoration: none; margin-right: auto; }
.page-nav { display: flex; gap: 6px 16px; flex-wrap: wrap; font-size: 14px; }
.page-nav a { color: #9fb6cc; text-decoration: none; }
.page-nav a:hover, .page-nav a[aria-current="page"] { color: #fff; }

main { max-width: 820px; margin: 0 auto; padding: 28px 20px 64px; box-sizing: border-box; }
h1 { font-size: 26px; margin: 0 0 6px; color: #fff; }
h2 { font-size: 19px; margin: 32px 0 8px; color: #fff; }
h3 { font-size: 16px; margin: 24px 0 6px; color: #fff; }
p, li, dd { color: #cfe0ee; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
.meta { color: #8fa6b8; font-size: 13px; margin: 0 0 20px; }
.note { color: #8fa6b8; font-size: 13.5px; }
kbd {
  font: 600 12.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #e8f2ff; background: #16293a; border: 1px solid #2c4358; border-bottom-width: 2px;
  border-radius: 4px; padding: 2px 6px; white-space: nowrap;
}
table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 7px 10px; border-bottom: 1px solid #1e3446; }
th { color: #9fb6cc; font-weight: 600; }
td { color: #cfe0ee; }
.table-scroll { overflow-x: auto; }
dl.faq dt { font-weight: 600; color: #fff; margin-top: 18px; }
dl.faq dd { margin: 4px 0 0; }
pre.license {
  white-space: pre-wrap; font: 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #b8cada; background: #0f1e2b; border: 1px solid #1e3446; border-radius: 6px; padding: 12px 14px;
}

/* Help: a row of tabs under the header, one section shown at a time
   (helpMain.ts). Without the script every section simply shows, in order. */
.help-tabs {
  max-width: 820px; margin: 0 auto; padding: 0 20px; box-sizing: border-box;
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
}
.help-tabs::-webkit-scrollbar { display: none; }
.help-tabs a {
  flex: 0 0 auto; padding: 10px 14px; font: 600 13.5px/1 system-ui, sans-serif;
  color: #9fb6cc; text-decoration: none; border-bottom: 2px solid transparent;
}
.help-tabs a:hover { color: #e8f2ff; }
.help-tabs a[aria-current="page"] { color: #fff; border-bottom-color: #7fc4ff; }
main > section > h2:first-child { margin-top: 0; }
/* A deep link lands below the sticky header, not under it. */
main [id] { scroll-margin-top: 110px; }
html:not(.tabbed) main > section + section { margin-top: 48px; }

.page-foot { max-width: 820px; margin: 0 auto; padding: 0 20px 32px; color: #6f879c; font-size: 12.5px; }
.page-foot a { color: #8aa3b8; }

/* Legal: a short list of the pages it points to. */
ul.legal-links { list-style: none; padding: 0; margin: 16px 0 24px; font-size: 17px; }
ul.legal-links li { margin: 10px 0; }
/* An unbroken underline: skipping the "y" of Privacy left a stub that read as a period. */
ul.legal-links a { text-decoration-skip-ink: none; text-underline-offset: 3px; }
