/* Sticky footer for the inner pages.
 *
 * ⚠️ Deliberately NOT in site.css. That file is regenerated VERBATIM from
 *    index.html's <style> by tools/sync-site-css.py, so anything added there is
 *    silently overwritten on the next sync — and the homepage itself is never
 *    edited. This loads AFTER site.css and only adds its own layer, which is the
 *    established pattern for page-level rules.
 *
 * ⚠️ The homepage does not need it and does not load it: it is ~8400px tall, so
 *    its footer is always far below the fold. The short pages are the ones that
 *    show the bug, and only on a tall screen — measured at 2560x1440,
 *    /pricing left 146px of empty page BELOW the footer and /faq 64px. Every
 *    viewport under about 1200px tall hides it completely, which is why it
 *    survived this long.
 *
 * min-height twice on purpose: dvh excludes mobile browser chrome, so it is the
 * correct unit, and the plain vh above it is the fallback for anything that
 * does not understand dvh.
 */
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Pushes the footer to the bottom when the content does not fill the screen.
   On a long page this does nothing at all. */
footer { margin-top: auto; }


/* -- Header and footer in Inter --------------------------------------------
   The nav and footer on /account and /app came out in Inter as a side effect
   of those two pages being ported verbatim from a Claude Design reference
   (its `body` sets Inter, and the chrome inherits it). Compared against the
   rest of the site, that version was preferred, so every other page gets it.

   HEADER AND FOOTER ONLY - "dont do anything else". The page backgrounds and
   all body copy stay exactly as they are, in Geist.

   !! IT LIVES HERE AND NOT IN site.css, WHICH IS THE WHOLE TRICK. site.css is
   index.html's own <style> copied verbatim by tools/sync-site-css.py, so a
   rule there would either reach the homepage - off-limits, and confirmed off
   -limits for this change - or be silently overwritten on the next sync.
   index.html is the ONE page that does not load page.css (34 of the 35 do), so
   this file's reach is exactly "every page except the homepage" BY
   CONSTRUCTION. No exclusion list to maintain, and a new page picks it up by
   loading page.css like every other page.

   !! Two declarations, not a `nav *, footer *` blanket. Inheritance already
   reaches every descendant, and a blanket would also overwrite anything that
   sets its own family - `kbd` and `.mono` are Geist Mono on purpose. Checked:
   nothing inside either element declares a family today (`.btn-gold` is
   `inherit`, so the Download button follows along), so inheritance covers all
   of it and stays correct if a mono element is ever added.

   !! Inter is already declared in fonts.css, which all 35 pages load, and it
   is self-hosted - a CSP of `font-src 'self'` refuses Google's copy outright
   and would leave this silently rendering in Segoe UI. */
nav    { font-family: "Inter", "Segoe UI", Helvetica, Arial, sans-serif; }
footer { font-family: "Inter", "Segoe UI", Helvetica, Arial, sans-serif; }
