/* The public website's charcoal palette and green accent, adapted for reading. */
:root {
  color-scheme: dark;
  color: #cbcbcb;
  background: #141414;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(100%, 76ch); margin-inline: auto; padding-inline: 1.25rem; }
main { padding-block: 1.5rem 4rem; overflow-wrap: anywhere; }
h1, h2, h3, h4, h5, h6, strong { color: #f3f3f3; }
h1 { margin-top: 0; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; letter-spacing: -0.035em; }
h2 { margin-top: 2.5rem; font-size: 1.5rem; line-height: 1.3; }
h3, h4, h5, h6 { line-height: 1.4; }
p, ul, ol, blockquote, pre, table { margin-block: 1rem; }
ul, ol { padding-left: 1.5rem; }
li + li { margin-top: 0.5rem; }
a { color: #6dd3aa; text-decoration: underline; text-underline-offset: 0.2em; }
a:hover { color: #f3f3f3; }
a:focus-visible, .table-scroll:focus-visible { outline: 3px solid #fff; outline-offset: 4px; border-radius: 2px; }
code { padding: 0.1em 0.3em; background: #1e1e1e; color: #f3f3f3; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.9em; }
pre { max-width: 100%; padding: 1rem; background: #1e1e1e; overflow-x: auto; }
pre code { padding: 0; overflow-wrap: normal; }
blockquote { margin-inline: 0; padding-left: 1rem; border-left: 3px solid #6dd3aa; }
.table-scroll { max-width: 100%; overflow-x: auto; margin-block: 1rem; }
table { width: 100%; margin: 0; border-collapse: collapse; }
th, td { padding: 0.65rem 0.8rem; border: 1px solid #3c3c3c; text-align: left; }
th[align="center"], td[align="center"] { text-align: center; }
th[align="right"], td[align="right"] { text-align: right; }
th { color: #f3f3f3; background: #1e1e1e; }
hr { margin-block: 2rem; border: 0; border-top: 1px solid #3c3c3c; }
.skip { position: fixed; top: 0.75rem; left: 0.75rem; padding: 0.75rem 1rem; background: #1e1e1e; transform: translateY(-200%); }
.skip:focus { transform: none; }

@media print {
  :root { color-scheme: light; color: #111; background: #fff; }
  header, .skip { display: none; }
  main { width: 100%; padding: 0; }
  h1, h2, h3, h4, h5, h6, strong, a, code, th { color: #111; }
  code, pre, th { background: #f3f3f3; }
  pre { white-space: pre-wrap; overflow-wrap: anywhere; }
  .table-scroll { overflow: visible; }
  h2, h3 { break-after: avoid; }
}

/* Shared by the static website and the server-rendered support page. */
.site-header-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  border-bottom: 1px solid #2c2c2c;
  color: #f3f3f3;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.3;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  color: #f3f3f3;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
}
.site-mark { width: 1.1em; height: 1.1em; flex: none; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 550; }
.site-nav a { color: #f3f3f3; text-decoration: none; white-space: nowrap; }
.site-nav a:not(.site-install):hover,
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.site-nav .site-install {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid #3fbf8c;
  border-radius: 5px;
  background: #3fbf8c;
  color: #0c1712;
  font-weight: 600;
}
.site-nav .site-install:hover { background: #6dd3aa; border-color: #6dd3aa; color: #0c1712; }
.site-header a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; border-radius: 3px; }
.site-header .site-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 1000px) {
  .site-nav { gap: 18px; }
}
@media (max-width: 760px) {
  .site-header-wrap { padding: 0 16px; }
  .site-header { min-height: 76px; }
  .site-nav { gap: 16px; font-size: 13px; }
  .site-logo { font-size: 23px; }
}
@media (max-width: 540px) {
  .site-header { flex-wrap: wrap; gap: 18px; padding: 20px 0; }
  .site-nav { width: 100%; justify-content: space-between; gap: 12px; }
}
@media print {
  .site-header-wrap { display: none; }
}
