/* The quiet bar and footer (Randall: "Go with the quiet nav", "Draft the footer"): the mark and name, Features · Pricing · Download and one
   button; the footer in three short columns and one quiet row. Written into / and /features/ by scripts/apply-chrome.py (QUIET_PAGES). */
.qn { background: transparent; }
.qn-in {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px clamp(16px, 3vw, 32px);
  font: 400 15px/20px var(--sx-ui, var(--sans));
}
.qn-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  color: var(--sx-ink, var(--ink));
  font-weight: 500;
  text-decoration: none;
}
/* The mark is a black SVG in an <img>: in the dark scheme it takes the same invert the older bar gave it (site-chrome.css --sc-mark: invert(0.9)), or it vanishes on the ground. */
.qn-brand img { display: block; width: 21px; height: 21px; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]):not([data-tone="light"]) .qn-brand img { filter: invert(0.9); } }
html[data-theme="dark"] .qn-brand img { filter: invert(0.9); }
.qn-links { display: flex; gap: 26px; }
.qn-links a { color: var(--sx-soft, var(--ink-soft)); text-decoration: none; }
.qn-links a:hover { color: var(--sx-ink, var(--ink)); }
.qn-btn {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--sx-ui-line, var(--line-strong));
  color: var(--sx-ink, var(--ink));
  font-weight: 500;
  text-decoration: none;
}
.qn-btn:hover { background: var(--sx-hover, color-mix(in srgb, currentColor 6%, transparent)); }
.qn :is(a):focus-visible { outline: 2px solid var(--sx-focus, var(--focus)); outline-offset: 3px; border-radius: 6px; }
.qn-menu { display: none; color: var(--sx-ink, var(--ink)); }
.qn-menu .sx-icon { width: 22px; height: 22px; }
@media (max-width: 719px) {
  .qn-in { gap: 14px; padding: 14px 16px; }
  .qn-links { display: none; }
  .qn-btn { min-height: 36px; padding: 0 12px; font-size: 14px; }
  .qn-menu { display: inline-flex; padding: 8px; margin-right: -8px; }
}

/* The footer, on the page's own grid (Randall: "it doesn't quite look right"). The brand column first (the V2 mark, the name, one line the page already says), the three
   link columns spread over the rest, one bottom row: the © line, the legal links and the theme control. Heads are small and quiet, the links a step stronger and further apart. */
.qf { margin-top: clamp(32px, 4vw, 64px); border-top: 1px solid var(--sx-line, var(--line)); }
/* (A page that ends on the closing call to action keeps the page's one section gap between it and the rule, not two.) */
main > .sx-close:last-child { padding-bottom: calc(var(--sx-section, 96px) - clamp(32px, 4vw, 64px)); }
.qf-in { max-width: calc(var(--sx-content, 1180px) + 64px); margin: 0 auto; padding: clamp(40px, 4.5vw, 64px) 16px 32px; font: 400 14px/22px var(--sx-ui, var(--sans)); }
@media (min-width: 720px) { .qf-in { padding-inline: 32px; } }
.qf-grid { display: grid; gap: 40px 24px; }
.qf-brand p { margin: 8px 0 0; max-width: 18em; color: var(--sx-muted, var(--muted)); font-size: 14px; line-height: 1.5; }
.qf-mark { display: inline-flex; align-items: center; gap: 9px; color: var(--sx-ink, var(--ink)); font: 500 15px/20px var(--sx-ui, var(--sans)); text-decoration: none; }
.qf-mark img { display: block; width: 21px; height: 21px; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]):not([data-tone="light"]) .qf-mark img { filter: invert(0.9); } }
html[data-theme="dark"] .qf-mark img { filter: invert(0.9); }
.qf-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.qf h2 { margin: 0 0 12px; font: 600 12.5px/18px var(--sx-ui, var(--sans)); letter-spacing: 0.01em; color: var(--sx-muted, var(--muted)); }
.qf ul { margin: 0; padding: 0; list-style: none; }
.qf li + li { margin-top: 9px; }
.qf-cols a { color: var(--sx-soft, var(--ink-soft)); text-decoration: none; }
.qf a:hover { color: var(--sx-ink, var(--ink)); text-decoration: underline; text-underline-offset: 3px; }
.qf a:focus-visible, .qf button:focus-visible { outline: 2px solid var(--sx-focus, var(--focus)); outline-offset: 2px; border-radius: 4px; }
@media (min-width: 900px) {
  .qf-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sx-gutter, 24px); }
  .qf-brand { grid-column: 1 / span 4; }
  .qf-cols { grid-column: 5 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.qf-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-top: clamp(40px, 5vw, 72px); padding-top: 20px; border-top: 1px solid var(--sx-line, var(--line)); color: var(--sx-muted, var(--muted)); font-size: 13px; }
.qf-end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.qf-end nav { display: flex; gap: 20px; }
.qf-end nav a { color: var(--sx-muted, var(--muted)); text-decoration: none; }
.qf-end nav a:hover { color: var(--sx-ink, var(--ink)); }
/* The theme control: "Light · Dark · Auto", the one in force in full ink, the others quiet. */
.qf-theme { display: inline-flex; align-items: center; gap: 8px; }
.qf-theme i { font-style: normal; color: var(--sx-muted, var(--muted)); opacity: 0.6; }
.qf-theme button { margin: 0; padding: 2px 0; border: 0; background: none; font: inherit; color: var(--sx-muted, var(--muted)); cursor: pointer; }
.qf-theme button:hover { color: var(--sx-ink, var(--ink)); }
.qf-theme button[aria-pressed="true"] { color: var(--sx-ink, var(--ink)); font-weight: 600; cursor: default; }
@media (max-width: 719px) {
  .qf-row { flex-direction: column; align-items: flex-start; }
  .qf-end { flex-direction: column; align-items: flex-start; gap: 14px; }
}
}
