/* Round 3: every night band ends in the wetland (tallyfy/website-astro#760; the lead's rule of 2026-11-16).

   The home hero and the 404 carry the live scene. Every other dark page top, and the footer of every page, ends in a
   still of the same wetland with the same crane: one small cached SVG per hour and pose (art/foot/, made from the
   illustrator's module), painted here as a background. No script draws it. The hour is `data-tfx-hour` on <html>, set
   by first.js before the page paints; with scripts off there is no hour and the still is the day's.

   One file is a sprite of four rows, each one band tall and 1.25 bands apart, laid over each other from the band's
   right edge: the crane and reeds (shown once), the far bank and water (repeated across), the sun or moon (once), the
   low light and far ridge (repeated). So the sun sits behind the bank, and on a screen wider than one tile only the
   land repeats. A page fetches at most two files: its footer's, and its page top's when that is another pose.

   The band is the `::after` of the element that is the night panel (the lead's contract with the system's owner: that
   element's `::before` is the night ground). Its width is `--tfx-band-w` on that element: the element's own width
   unless told otherwise, kept centred on it. Its height is `--tfx-foot-h`, less `--tfx-foot-crop` where the bird is not
   standing and needs less sky. Nothing drawn comes within 16px of a word or control: the band lies in bottom padding
   this sheet adds, and its top edge is 16px or more below the last word.

   Poses: the footer and the landing pages (the heroes with id `hero`) have the standing bird; every other section hero
   the wading bird, and so has the template pages' hero (the one section painted `bg-[#0D0D0D]`, which system.css
   section 56 makes night paper); posts, categories and guides the feeding bird, and so does the 404.

   Where there is no band at a page's top. The home page's hero, which carries the live scene: every page with home's
   canonical. And the plain pages that open on paper (legal, security, trust, trademark), whose tops carry no drawing.
   The pricing pages and govcloud were on that list while their tops were paper; they open on night paper now, so
   they end in the band like every night top (the lead's ruling, 2026-11-16 afternoon). A page says which it is in
   `data-tfx-canonical` on <html>, the page mark the build writes (its canonical link's href), so no script and no
   `:has()` is needed, and the router carries the mark over with the page. A rule for a hero therefore begins with
   `html`, the mark, and the pages it leaves out; on a page built without the mark a hero has no band. The footer's
   band is on every page (the lead's ruling, 2026-11-16) and needs no mark.

   Three kinds of top are painted by other builders and are left out of the hero rules here, padding and band both
   (the lead's rulings of 2026-11-16, 16:47Z and after): the about page, every page under /solutions/, and the
   <name>-alternative/ pages. /alternatives/ and the comparison posts keep the band.

   Section 6 is the picture that stands in the top and moves once as the page opens (owner decision 77; the lead's
   ruling of 2026-11-16 22:27Z: once, then still). On every top and on the footer
   it takes the place of the picture of sections 1, 2 and 4 (their height, files and layers); the room of section 3
   stays as it is except on posts, categories and guides. Sections 1 to 4 still paint a post, category or guide on a
   page built without its mark. Section 5, the 404's strip under 1024px, keeps its box and takes its picture from
   section 6.4. */

/* ---------- 1. Size: the band's height by screen; the sky a bird that is not standing does without ----------
   In rem, so the band keeps its size beside the words: 96px, 80px under 1024px and 64px under 640px at the site's
   16px root, and 120px from 1536px wide, where the site sets its root to 20px. */
body.tfx { --tfx-foot-h: 6rem; }
@media (max-width: 1023.98px) { body.tfx { --tfx-foot-h: 5rem; } }
@media (max-width: 639.98px) { body.tfx { --tfx-foot-h: 4rem; } }
body.tfx footer.footer-dark-forced,
body.tfx #hero.hero-dark-forced { --tfx-foot-crop: 0px; }
body.tfx section.hero-dark-forced:not(#hero),
body.tfx section.bg-\[\#0D0D0D\] { --tfx-foot-crop: calc(var(--tfx-foot-h) * 0.125); }
body.tfx .blog-hero-wrapper { --tfx-foot-crop: calc(var(--tfx-foot-h) * 0.1875); }

/* ---------- 2. Which still: the pose by place, the hour by the visitor's clock (day when there is no hour) ---------- */
body.tfx footer.footer-dark-forced,
body.tfx #hero.hero-dark-forced { --tfx-foot: url('/_tfx/r3/2a285e9f1d/art/foot/standing-day.svg'); }
html[data-tfx-hour='dawn'] body.tfx footer.footer-dark-forced,
html[data-tfx-hour='dawn'] body.tfx #hero.hero-dark-forced { --tfx-foot: url('/_tfx/r3/2a285e9f1d/art/foot/standing-dawn.svg'); }
html[data-tfx-hour='dusk'] body.tfx footer.footer-dark-forced,
html[data-tfx-hour='dusk'] body.tfx #hero.hero-dark-forced { --tfx-foot: url('/_tfx/r3/2a285e9f1d/art/foot/standing-dusk.svg'); }
html[data-tfx-hour='night'] body.tfx footer.footer-dark-forced,
html[data-tfx-hour='night'] body.tfx #hero.hero-dark-forced { --tfx-foot: url('/_tfx/r3/2a285e9f1d/art/foot/standing-night.svg'); }

body.tfx section.hero-dark-forced:not(#hero),
body.tfx section.bg-\[\#0D0D0D\] { --tfx-foot: url('/_tfx/r3/2a285e9f1d/art/foot/wading-day.svg'); }
html[data-tfx-hour='dawn'] body.tfx section.hero-dark-forced:not(#hero),
html[data-tfx-hour='dawn'] body.tfx section.bg-\[\#0D0D0D\] { --tfx-foot: url('/_tfx/r3/2a285e9f1d/art/foot/wading-dawn.svg'); }
html[data-tfx-hour='dusk'] body.tfx section.hero-dark-forced:not(#hero),
html[data-tfx-hour='dusk'] body.tfx section.bg-\[\#0D0D0D\] { --tfx-foot: url('/_tfx/r3/2a285e9f1d/art/foot/wading-dusk.svg'); }
html[data-tfx-hour='night'] body.tfx section.hero-dark-forced:not(#hero),
html[data-tfx-hour='night'] body.tfx section.bg-\[\#0D0D0D\] { --tfx-foot: url('/_tfx/r3/2a285e9f1d/art/foot/wading-night.svg'); }

body.tfx .blog-hero-wrapper,
body.tfx.r3-404 { --tfx-foot: url('/_tfx/r3/2a285e9f1d/art/foot/feeding-day.svg'); }
html[data-tfx-hour='dawn'] body.tfx .blog-hero-wrapper,
html[data-tfx-hour='dawn'] body.tfx.r3-404 { --tfx-foot: url('/_tfx/r3/2a285e9f1d/art/foot/feeding-dawn.svg'); }
html[data-tfx-hour='dusk'] body.tfx .blog-hero-wrapper,
html[data-tfx-hour='dusk'] body.tfx.r3-404 { --tfx-foot: url('/_tfx/r3/2a285e9f1d/art/foot/feeding-dusk.svg'); }
html[data-tfx-hour='night'] body.tfx .blog-hero-wrapper,
html[data-tfx-hour='night'] body.tfx.r3-404 { --tfx-foot: url('/_tfx/r3/2a285e9f1d/art/foot/feeding-night.svg'); }

/* The water's three inks by hour, far to near: the same inks as in the stills (the generator checks them against what
   it drew). They are painted flat under the still, wholly under its water, so the band's water is there with the
   page's first paint; the still's file arrives a frame or two later on a first visit and lands on it. */
body.tfx { --tfx-foot-w1: #a6c6e3; --tfx-foot-w2: #7aa2d2; --tfx-foot-w3: #5f88bf; }
html[data-tfx-hour='dawn'] body.tfx { --tfx-foot-w1: #e9d0bd; --tfx-foot-w2: #a8abc4; --tfx-foot-w3: #8a92b0; }
html[data-tfx-hour='dusk'] body.tfx { --tfx-foot-w1: #eba55e; --tfx-foot-w2: #9a6179; --tfx-foot-w3: #4c4a78; }
html[data-tfx-hour='night'] body.tfx { --tfx-foot-w1: #1c3941; --tfx-foot-w2: #163138; --tfx-foot-w3: #11292f; }

/* ---------- 3. Room: the band lies in bottom padding added here, so no word or control is nearer than 16px ----------
   The footer's last row already ends 25px or more above the footer's foot. A hero's last word or control ends at its
   bottom padding, which becomes the band and 16px. A post's panel is a layer under its words (.hero-solid-bg fills
   .blog-hero-wrapper), so the wrapper is padded and the panel grows with it; the words keep their own padding above. */
body.tfx footer.footer-dark-forced { padding-bottom: var(--tfx-foot-h); }
html[data-tfx-canonical]:not([data-tfx-canonical$='tallyfy.com/'], [data-tfx-canonical*='tallyfy.com/legal/'], [data-tfx-canonical*='tallyfy.com/security/'], [data-tfx-canonical*='tallyfy.com/trust/'], [data-tfx-canonical*='tallyfy.com/trademark'], [data-tfx-canonical$='/about-tallyfy/'], [data-tfx-canonical*='/solutions/'], [data-tfx-canonical$='-alternative/']) body.tfx section.hero-dark-forced { padding-bottom: calc(var(--tfx-foot-h) - var(--tfx-foot-crop) + 16px); }
body.tfx .blog-hero-wrapper { padding-bottom: calc(var(--tfx-foot-h) - var(--tfx-foot-crop)); }
/* The template pages' hero ends in its two buttons, then its own bottom padding (64px, 80px from 768px), which becomes
   the band and 16px. The section is the only one of its class and is on template pages alone, so it needs no mark. */
body.tfx section.bg-\[\#0D0D0D\] { padding-bottom: calc(var(--tfx-foot-h) - var(--tfx-foot-crop) + 16px); }

/* ---------- 4. The band ----------
   The footer's selector is doubled so that it outranks the two rules it takes the place of: the still strip of
   system.css section 13 (this same ::after, 28px along the footer's top) and section 40, which hides that strip on
   footers that open with a breadcrumb. */
body.tfx.tfx footer.footer-dark-forced.footer-dark-forced::after,
html[data-tfx-canonical]:not([data-tfx-canonical$='tallyfy.com/'], [data-tfx-canonical*='tallyfy.com/legal/'], [data-tfx-canonical*='tallyfy.com/security/'], [data-tfx-canonical*='tallyfy.com/trust/'], [data-tfx-canonical*='tallyfy.com/trademark'], [data-tfx-canonical$='/about-tallyfy/'], [data-tfx-canonical*='/solutions/'], [data-tfx-canonical$='-alternative/']) body.tfx section.hero-dark-forced::after,
body.tfx section.bg-\[\#0D0D0D\]::after,
body.tfx .blog-hero-wrapper .hero-solid-bg::after {
  content: '';
  display: block !important;
  position: absolute;
  z-index: 0;
  pointer-events: none;
  top: auto;
  right: auto;
  bottom: 0;
  left: calc(50% - var(--tfx-band-w, 100%) / 2);
  width: var(--tfx-band-w, 100%);
  height: calc(var(--tfx-foot-h) - var(--tfx-foot-crop));
  background-color: transparent;
  /* the still's four rows, then the water's three flat inks under them (near, middle, far). In every still the land
     is solid from 59.4% of the band's height down, and its three waters begin at 61.5%, 66.7% and 79.2%; the inks
     begin there too, measured from the band's foot, so none of them shows once the still is in. */
  --tfx-foot-size: auto calc(var(--tfx-foot-h) * 4.75);
  background-image: var(--tfx-foot), var(--tfx-foot), var(--tfx-foot), var(--tfx-foot),
    linear-gradient(var(--tfx-foot-w3), var(--tfx-foot-w3)), linear-gradient(var(--tfx-foot-w2), var(--tfx-foot-w2)), linear-gradient(var(--tfx-foot-w1), var(--tfx-foot-w1));
  background-repeat: no-repeat, repeat-x, no-repeat, repeat-x, no-repeat, no-repeat, no-repeat;
  background-size: var(--tfx-foot-size), var(--tfx-foot-size), var(--tfx-foot-size), var(--tfx-foot-size),
    100% calc(var(--tfx-foot-h) * 0.2083), 100% calc(var(--tfx-foot-h) * 0.3333), 100% calc(var(--tfx-foot-h) * 0.385);
  background-position:
    right 0 top calc(0px - var(--tfx-foot-crop)),
    right 0 top calc(var(--tfx-foot-h) * -1.25 - var(--tfx-foot-crop)),
    right 0 top calc(var(--tfx-foot-h) * -2.5 - var(--tfx-foot-crop)),
    right 0 top calc(var(--tfx-foot-h) * -3.75 - var(--tfx-foot-crop)),
    left bottom, left bottom, left bottom;
}

/* A post's band waits for the hero's whole markup. On a busy or slow load the browser paints before the hero has all
   arrived, with the band at the foot of a half-built hero; when the rest lands the band falls to the hero's real foot,
   423px on a post at 1440 (a layout shift of 0.05, measured 2026-11-17; the same with the heading face held back, so the
   font is not the cause). On every page that has this hero a script follows its wrapper, so until that next sibling
   exists the band is not drawn, and its first paint is where it stays. */
body.tfx .blog-hero-wrapper:not(:has(+ *)) .hero-solid-bg::after { display: none !important; }

/* The strips scene.js still draws along the footer (the 24 to 29px line) step aside, whether or not that code has
   been taken out yet. */
body.tfx footer.footer-dark-forced > .c1-strip,
body.tfx footer.footer-dark-forced > .tc-strip { display: none !important; }

/* ---------- 5. The 404 where it has no picture ----------
   Its picture box, which holds the live scene, exists only at 1024px and wider. Under that the page had no scene at
   all. There it opens with the band: a strip of the night paper across the top of the page, above the words, ending in
   the wetland with the feeding bird (the same bird, head down, that searches in the wide page's picture). */
@media (max-width: 1023.98px) {
  body.tfx.r3-404::before {
    content: '';
    display: block;
    box-sizing: content-box;
    height: var(--tfx-foot-h);
    /* 24px of the night paper above the band, so the moon is not hard against the top of the page; the band's four
       layers are laid out in, and kept to, the box under that padding */
    padding-top: 24px;
    background-color: var(--c1-night);
    /* the still's four rows, the water's three flat inks under them (as in section 4), then the night paper's grain */
    --tfx-foot-size: auto calc(var(--tfx-foot-h) * 4.75);
    background-image: var(--tfx-foot), var(--tfx-foot), var(--tfx-foot), var(--tfx-foot),
      linear-gradient(var(--tfx-foot-w3), var(--tfx-foot-w3)), linear-gradient(var(--tfx-foot-w2), var(--tfx-foot-w2)), linear-gradient(var(--tfx-foot-w1), var(--tfx-foot-w1)),
      var(--c1-grain-night);
    background-repeat: no-repeat, repeat-x, no-repeat, repeat-x, no-repeat, no-repeat, no-repeat, repeat;
    background-origin: content-box, content-box, content-box, content-box, content-box, content-box, content-box, padding-box;
    background-clip: content-box, content-box, content-box, content-box, content-box, content-box, content-box, padding-box;
    background-size: var(--tfx-foot-size), var(--tfx-foot-size), var(--tfx-foot-size), var(--tfx-foot-size),
      100% calc(var(--tfx-foot-h) * 0.2083), 100% calc(var(--tfx-foot-h) * 0.3333), 100% calc(var(--tfx-foot-h) * 0.385), auto;
    background-position:
      right 0 top 0,
      right 0 top calc(var(--tfx-foot-h) * -1.25),
      right 0 top calc(var(--tfx-foot-h) * -2.5),
      right 0 top calc(var(--tfx-foot-h) * -3.75),
      left bottom, left bottom, left bottom,
      0 0;
  }
}

/* ---------- 6. The wetland stands in the top, and moves once as the page opens (owner decision 77) ----------
   The picture is no longer a strip under the panel. Its upper part is clear: the far ridges and the haze make the top
   edge, and where a top has room that holds no words the crane and the reeds rise there over the night panel. Its
   lower edge is the site's paper shoreline (the shared shoreline module, cut into the files): the water
   ends along an uneven shore with a line of wet sand, the ground showing under it, and the near bank and reeds stand
   on that shore. It is still a background of the panel's `::after`: no markup, no script.

   A file is a sprite of five rows, 1.25 rows apart: the crane (shown once, at `--b2-x`: the right, or the middle
   in the footer), the near bank and reeds (once, at the left), the land and water (repeated from the left, so the
   bank stands on the land's own shore), the sun or moon (once, with the crane), the ridges and light (repeated from
   the right). A row is `--b2-row` tall. One drawing serves many widths: it is shown larger or smaller by one
   number, `--b2-pad`, the px its water and land take above the shore.

   Two files per hour: the still, and the same picture that moves once (`-go`). The moving file plays one spell of
   under 5 s as it is first shown, starting about a second after (the crane's gesture, with the reeds and the water
   in the same frames), and then stands still for good on the still's own picture, exactly (the lead's ruling,
   2026-11-16 22:27Z; an endless loop was tried first and is out: it cost too much processor time).
   The still is asked for unless the visitor allows motion and the page is not marked
   `data-tfx-motion="0"`; a visitor fetches one of the two. The footer, the landing heroes and the 404's strip always get the
   still. The moving file carries no reduced-motion rule of its own: inside an image that question is answered by
   the computer's setting, not the page's.

   Which picture, by top:
   - Posts and categories (the wrapper outside /guides/, which does not clip): the feeding crane in the right corner,
     under the author rail on a post. Under 768px the phone cut (a crane 68px tall at a 52px room, never shown
     larger than drawn). From 768px the desk cut at the size of the room (a crane 161px tall at 102px). The room,
     `--b2-room`, is the old band's, so the top keeps its height, up to 1280px wide; it grows with the window to 24px
     more at 1440px (the lead's ruling); from 1536px, where the site's root size grows, it is the old band's again.
     There the rail's column stays 320px while everything else grows, so its words stand nearer the window's edge:
     the picture is shown at 85% of the room at 1536px and at the whole of it from 1700px (measured 2026-11-16: at
     the whole of it the crane came within 18px of "Copy link" on the shortest posts). The shore lies below the
     panel's foot, on the page's own paper.
   - Guides (the same wrapper, boxed, which clips): the same two cuts, inside the box. The shore lies in the box's
     last px, on a strip of the page's paper and grain painted there.
   - Section tops (every `section.hero-dark-forced` but the landing heroes, and the template pages' top): the wading
     crane. They clip, and their words are centred over the band, so the picture stays inside the old band's room
     (the low cut), the top keeps its height, and the shore lies on a strip of paper as on a guide. On pricing,
     govcloud and the template pages, whose corners hold no words from 1280px, the crane and the reeds rise in the
     corners there (the desk cut).
   - Landing heroes (`#hero`): the standing crane on its sandbar, inside the old band's room.
   - The footer: the standing crane. From 768px it stands in the middle, where the footer's last rows hold no words,
     and rises over the band; under 768px it stays inside the band's room, toward the right. The ground under the
     shore is the footer's own night paper, so nothing is painted there. */

/* ----- 6.1 the room and the size, by top ----- */
html[data-tfx-canonical]:not([data-tfx-canonical*='tallyfy.com/guides/']) body.tfx .blog-hero-wrapper {
  --b2-room: calc(var(--tfx-foot-h) * 0.8125);
  --b2-pad: var(--b2-room);
  --b2-rowk: 1.7885; --b2-dropk: 0.2115; --b2-waterk: 0.5; --b2-tilek: 15;
  --b2-row: calc(var(--b2-pad) * var(--b2-rowk));
  --b2-bottom: calc(var(--b2-pad) * var(--b2-dropk) * -1);
  padding-bottom: var(--b2-room);
}
@media (min-width: 640px) {
  html[data-tfx-canonical]:not([data-tfx-canonical*='tallyfy.com/guides/']) body.tfx .blog-hero-wrapper { --b2-pad: 3.25rem; }
}
@media (min-width: 768px) {
  html[data-tfx-canonical]:not([data-tfx-canonical*='tallyfy.com/guides/']) body.tfx .blog-hero-wrapper { --b2-room: calc(var(--tfx-foot-h) * 0.8125 + clamp(0px, (100vw - 1280px) * 0.15, 24px)); --b2-pad: var(--b2-room); --b2-rowk: 2.0784; --b2-dropk: 0.1373; --b2-waterk: 0.7647; --b2-tilek: 14.1176; }
}
@media (min-width: 1536px) {
  html[data-tfx-canonical]:not([data-tfx-canonical*='tallyfy.com/guides/']) body.tfx .blog-hero-wrapper { --b2-room: calc(var(--tfx-foot-h) * 0.8125); --b2-pad: clamp(var(--b2-room) * 0.85, var(--b2-room) * 0.85 + (100vw - 1536px) * 0.09, var(--b2-room)); }
}
html[data-tfx-canonical*='tallyfy.com/guides/'] body.tfx .blog-hero-wrapper {
  --b2-room: calc(var(--tfx-foot-h) * 0.8125);
  --b2-rowk: 1.7885; --b2-dropk: 0.2115; --b2-waterk: 0.5; --b2-tilek: 15;
  --b2-pad: calc(var(--b2-room) / (1 + var(--b2-dropk)));
  padding-bottom: var(--b2-room);
}
@media (min-width: 640px) {
  html[data-tfx-canonical*='tallyfy.com/guides/'] body.tfx .blog-hero-wrapper { --b2-pad: min(3.25rem, var(--b2-room) / (1 + var(--b2-dropk))); }
}
@media (min-width: 768px) {
  html[data-tfx-canonical*='tallyfy.com/guides/'] body.tfx .blog-hero-wrapper { --b2-rowk: 2.0784; --b2-dropk: 0.1373; --b2-waterk: 0.7647; --b2-tilek: 14.1176; --b2-pad: calc(var(--b2-room) / (1 + var(--b2-dropk))); }
}
html[data-tfx-canonical]:not([data-tfx-canonical$='tallyfy.com/'], [data-tfx-canonical*='tallyfy.com/legal/'], [data-tfx-canonical*='tallyfy.com/security/'], [data-tfx-canonical*='tallyfy.com/trust/'], [data-tfx-canonical*='tallyfy.com/trademark'], [data-tfx-canonical$='/about-tallyfy/'], [data-tfx-canonical*='/solutions/'], [data-tfx-canonical$='-alternative/']) body.tfx section.hero-dark-forced:not(#hero),
html body.tfx section.bg-\[\#0D0D0D\] { --b2-room: calc(var(--tfx-foot-h) * 0.875); --b2-rowk: 1.12; --b2-dropk: 0.12; --b2-waterk: 0.4; --b2-tilek: 19.2; --b2-pad: calc(var(--b2-room) / (1 + var(--b2-dropk))); }
@media (min-width: 1280px) {
  html[data-tfx-canonical*='tallyfy.com/pricing/']:not([data-tfx-canonical$='tallyfy.com/'], [data-tfx-canonical*='tallyfy.com/legal/'], [data-tfx-canonical*='tallyfy.com/security/'], [data-tfx-canonical*='tallyfy.com/trust/'], [data-tfx-canonical*='tallyfy.com/trademark'], [data-tfx-canonical$='/about-tallyfy/'], [data-tfx-canonical*='/solutions/'], [data-tfx-canonical$='-alternative/']) body.tfx section.hero-dark-forced:not(#hero),
html[data-tfx-canonical$='tallyfy.com/govcloud/']:not([data-tfx-canonical$='tallyfy.com/'], [data-tfx-canonical*='tallyfy.com/legal/'], [data-tfx-canonical*='tallyfy.com/security/'], [data-tfx-canonical*='tallyfy.com/trust/'], [data-tfx-canonical*='tallyfy.com/trademark'], [data-tfx-canonical$='/about-tallyfy/'], [data-tfx-canonical*='/solutions/'], [data-tfx-canonical$='-alternative/']) body.tfx section.hero-dark-forced:not(#hero),
html body.tfx section.bg-\[\#0D0D0D\] { --b2-rowk: 2.493; --b2-dropk: 0.1972; --b2-waterk: 0.4789; --b2-tilek: 20.2817; --b2-pad: calc(var(--b2-room) / (1 + var(--b2-dropk))); }
}
html[data-tfx-canonical]:not([data-tfx-canonical$='tallyfy.com/'], [data-tfx-canonical*='tallyfy.com/legal/'], [data-tfx-canonical*='tallyfy.com/security/'], [data-tfx-canonical*='tallyfy.com/trust/'], [data-tfx-canonical*='tallyfy.com/trademark'], [data-tfx-canonical$='/about-tallyfy/'], [data-tfx-canonical*='/solutions/'], [data-tfx-canonical$='-alternative/']) body.tfx #hero.hero-dark-forced { --b2-room: var(--tfx-foot-h); --b2-rowk: 1.1034; --b2-dropk: 0.1034; --b2-waterk: 0.3448; --b2-tilek: 16.5517; --b2-pad: calc(var(--b2-room) / (1 + var(--b2-dropk))); }
/* the tops that clip: the shore lies inside, on a strip of the page's paper and its grain */
html[data-tfx-canonical*='tallyfy.com/guides/'] body.tfx .blog-hero-wrapper,
html[data-tfx-canonical]:not([data-tfx-canonical$='tallyfy.com/'], [data-tfx-canonical*='tallyfy.com/legal/'], [data-tfx-canonical*='tallyfy.com/security/'], [data-tfx-canonical*='tallyfy.com/trust/'], [data-tfx-canonical*='tallyfy.com/trademark'], [data-tfx-canonical$='/about-tallyfy/'], [data-tfx-canonical*='/solutions/'], [data-tfx-canonical$='-alternative/']) body.tfx section.hero-dark-forced:not(#hero),
html body.tfx section.bg-\[\#0D0D0D\],
html[data-tfx-canonical]:not([data-tfx-canonical$='tallyfy.com/'], [data-tfx-canonical*='tallyfy.com/legal/'], [data-tfx-canonical*='tallyfy.com/security/'], [data-tfx-canonical*='tallyfy.com/trust/'], [data-tfx-canonical*='tallyfy.com/trademark'], [data-tfx-canonical$='/about-tallyfy/'], [data-tfx-canonical*='/solutions/'], [data-tfx-canonical$='-alternative/']) body.tfx #hero.hero-dark-forced {
  --b2-row: calc(var(--b2-pad) * var(--b2-rowk));
  /* (1px past the foot, which the top clips: a top's height is not a whole px, and its own night colour showed as a
     hairline in the last part px) */
  --b2-bottom: -1px;
  --b2-strip: calc(var(--b2-pad) * var(--b2-dropk) + 1px);
  --b2-grain: var(--c1-grain);
  --b2-ground: var(--c1-paper);
}
html body.tfx footer.footer-dark-forced { --b2-room: var(--tfx-foot-h); --b2-rowk: 1.1034; --b2-dropk: 0.1034; --b2-waterk: 0.3448; --b2-tilek: 16.5517; --b2-pad: calc(var(--b2-room) / (1 + var(--b2-dropk))); --b2-row: calc(var(--b2-pad) * var(--b2-rowk)); }
@media (min-width: 768px) {
  html body.tfx footer.footer-dark-forced { --b2-rowk: 2.1084; --b2-dropk: 0.1687; --b2-waterk: 0.4096; --b2-tilek: 17.3494; --b2-pad: calc(var(--b2-room) / (1 + var(--b2-dropk))); --b2-x: center; }
}
/* (under 1024px the footer's band stops 4px short of the foot, for the bar fixed along the screen's bottom: section 4) */
@media (max-width: 1023.98px) {
  html body.tfx:not(.no-bottom-bar) footer.footer-dark-forced { --b2-bottom: 4px; }
}

/* ----- 6.2 which file: by hour, the still unless motion is allowed; then which cut, by top and width ----- */
body.tfx { --b2-feeding-phone: url('/_tfx/r3/2a285e9f1d/art/foot2/feeding-phone-day.svg'); --b2-feeding-desk: url('/_tfx/r3/2a285e9f1d/art/foot2/feeding-desk-day.svg'); --b2-feeding-low: url('/_tfx/r3/2a285e9f1d/art/foot2/feeding-low-day.svg'); --b2-wading-low: url('/_tfx/r3/2a285e9f1d/art/foot2/wading-low-day.svg'); --b2-wading-desk: url('/_tfx/r3/2a285e9f1d/art/foot2/wading-desk-day.svg'); --b2-standing-low: url('/_tfx/r3/2a285e9f1d/art/foot2/standing-low-day.svg'); --b2-footer-low: url('/_tfx/r3/2a285e9f1d/art/foot2/footer-low-day.svg'); --b2-footer-desk: url('/_tfx/r3/2a285e9f1d/art/foot2/footer-desk-day.svg'); }
html[data-tfx-hour='dawn'] body.tfx { --b2-feeding-phone: url('/_tfx/r3/2a285e9f1d/art/foot2/feeding-phone-dawn.svg'); --b2-feeding-desk: url('/_tfx/r3/2a285e9f1d/art/foot2/feeding-desk-dawn.svg'); --b2-feeding-low: url('/_tfx/r3/2a285e9f1d/art/foot2/feeding-low-dawn.svg'); --b2-wading-low: url('/_tfx/r3/2a285e9f1d/art/foot2/wading-low-dawn.svg'); --b2-wading-desk: url('/_tfx/r3/2a285e9f1d/art/foot2/wading-desk-dawn.svg'); --b2-standing-low: url('/_tfx/r3/2a285e9f1d/art/foot2/standing-low-dawn.svg'); --b2-footer-low: url('/_tfx/r3/2a285e9f1d/art/foot2/footer-low-dawn.svg'); --b2-footer-desk: url('/_tfx/r3/2a285e9f1d/art/foot2/footer-desk-dawn.svg'); }
html[data-tfx-hour='dusk'] body.tfx { --b2-feeding-phone: url('/_tfx/r3/2a285e9f1d/art/foot2/feeding-phone-dusk.svg'); --b2-feeding-desk: url('/_tfx/r3/2a285e9f1d/art/foot2/feeding-desk-dusk.svg'); --b2-feeding-low: url('/_tfx/r3/2a285e9f1d/art/foot2/feeding-low-dusk.svg'); --b2-wading-low: url('/_tfx/r3/2a285e9f1d/art/foot2/wading-low-dusk.svg'); --b2-wading-desk: url('/_tfx/r3/2a285e9f1d/art/foot2/wading-desk-dusk.svg'); --b2-standing-low: url('/_tfx/r3/2a285e9f1d/art/foot2/standing-low-dusk.svg'); --b2-footer-low: url('/_tfx/r3/2a285e9f1d/art/foot2/footer-low-dusk.svg'); --b2-footer-desk: url('/_tfx/r3/2a285e9f1d/art/foot2/footer-desk-dusk.svg'); }
html[data-tfx-hour='night'] body.tfx { --b2-feeding-phone: url('/_tfx/r3/2a285e9f1d/art/foot2/feeding-phone-night.svg'); --b2-feeding-desk: url('/_tfx/r3/2a285e9f1d/art/foot2/feeding-desk-night.svg'); --b2-feeding-low: url('/_tfx/r3/2a285e9f1d/art/foot2/feeding-low-night.svg'); --b2-wading-low: url('/_tfx/r3/2a285e9f1d/art/foot2/wading-low-night.svg'); --b2-wading-desk: url('/_tfx/r3/2a285e9f1d/art/foot2/wading-desk-night.svg'); --b2-standing-low: url('/_tfx/r3/2a285e9f1d/art/foot2/standing-low-night.svg'); --b2-footer-low: url('/_tfx/r3/2a285e9f1d/art/foot2/footer-low-night.svg'); --b2-footer-desk: url('/_tfx/r3/2a285e9f1d/art/foot2/footer-desk-night.svg'); }
@media (prefers-reduced-motion: no-preference) {
  html:not([data-tfx-motion='0']) body.tfx { --b2-feeding-phone: url('/_tfx/r3/2a285e9f1d/art/foot2/feeding-phone-day-go.svg'); --b2-feeding-desk: url('/_tfx/r3/2a285e9f1d/art/foot2/feeding-desk-day-go.svg'); --b2-wading-low: url('/_tfx/r3/2a285e9f1d/art/foot2/wading-low-day-go.svg'); --b2-wading-desk: url('/_tfx/r3/2a285e9f1d/art/foot2/wading-desk-day-go.svg'); }
  html[data-tfx-hour='dawn']:not([data-tfx-motion='0']) body.tfx { --b2-feeding-phone: url('/_tfx/r3/2a285e9f1d/art/foot2/feeding-phone-dawn-go.svg'); --b2-feeding-desk: url('/_tfx/r3/2a285e9f1d/art/foot2/feeding-desk-dawn-go.svg'); --b2-wading-low: url('/_tfx/r3/2a285e9f1d/art/foot2/wading-low-dawn-go.svg'); --b2-wading-desk: url('/_tfx/r3/2a285e9f1d/art/foot2/wading-desk-dawn-go.svg'); }
  html[data-tfx-hour='dusk']:not([data-tfx-motion='0']) body.tfx { --b2-feeding-phone: url('/_tfx/r3/2a285e9f1d/art/foot2/feeding-phone-dusk-go.svg'); --b2-feeding-desk: url('/_tfx/r3/2a285e9f1d/art/foot2/feeding-desk-dusk-go.svg'); --b2-wading-low: url('/_tfx/r3/2a285e9f1d/art/foot2/wading-low-dusk-go.svg'); --b2-wading-desk: url('/_tfx/r3/2a285e9f1d/art/foot2/wading-desk-dusk-go.svg'); }
  html[data-tfx-hour='night']:not([data-tfx-motion='0']) body.tfx { --b2-feeding-phone: url('/_tfx/r3/2a285e9f1d/art/foot2/feeding-phone-night-go.svg'); --b2-feeding-desk: url('/_tfx/r3/2a285e9f1d/art/foot2/feeding-desk-night-go.svg'); --b2-wading-low: url('/_tfx/r3/2a285e9f1d/art/foot2/wading-low-night-go.svg'); --b2-wading-desk: url('/_tfx/r3/2a285e9f1d/art/foot2/wading-desk-night-go.svg'); }
}
html[data-tfx-canonical]:not([data-tfx-canonical*='tallyfy.com/guides/']) body.tfx .blog-hero-wrapper,
html[data-tfx-canonical*='tallyfy.com/guides/'] body.tfx .blog-hero-wrapper { --b2: var(--b2-feeding-phone); }
@media (min-width: 768px) {
  html[data-tfx-canonical]:not([data-tfx-canonical*='tallyfy.com/guides/']) body.tfx .blog-hero-wrapper,
  html[data-tfx-canonical*='tallyfy.com/guides/'] body.tfx .blog-hero-wrapper { --b2: var(--b2-feeding-desk); }
}
html[data-tfx-canonical]:not([data-tfx-canonical$='tallyfy.com/'], [data-tfx-canonical*='tallyfy.com/legal/'], [data-tfx-canonical*='tallyfy.com/security/'], [data-tfx-canonical*='tallyfy.com/trust/'], [data-tfx-canonical*='tallyfy.com/trademark'], [data-tfx-canonical$='/about-tallyfy/'], [data-tfx-canonical*='/solutions/'], [data-tfx-canonical$='-alternative/']) body.tfx section.hero-dark-forced:not(#hero),
html body.tfx section.bg-\[\#0D0D0D\] { --b2: var(--b2-wading-low); }
@media (min-width: 1280px) {
  html[data-tfx-canonical*='tallyfy.com/pricing/']:not([data-tfx-canonical$='tallyfy.com/'], [data-tfx-canonical*='tallyfy.com/legal/'], [data-tfx-canonical*='tallyfy.com/security/'], [data-tfx-canonical*='tallyfy.com/trust/'], [data-tfx-canonical*='tallyfy.com/trademark'], [data-tfx-canonical$='/about-tallyfy/'], [data-tfx-canonical*='/solutions/'], [data-tfx-canonical$='-alternative/']) body.tfx section.hero-dark-forced:not(#hero),
  html[data-tfx-canonical$='tallyfy.com/govcloud/']:not([data-tfx-canonical$='tallyfy.com/'], [data-tfx-canonical*='tallyfy.com/legal/'], [data-tfx-canonical*='tallyfy.com/security/'], [data-tfx-canonical*='tallyfy.com/trust/'], [data-tfx-canonical*='tallyfy.com/trademark'], [data-tfx-canonical$='/about-tallyfy/'], [data-tfx-canonical*='/solutions/'], [data-tfx-canonical$='-alternative/']) body.tfx section.hero-dark-forced:not(#hero),
  html body.tfx section.bg-\[\#0D0D0D\] { --b2: var(--b2-wading-desk); }
}
html[data-tfx-canonical]:not([data-tfx-canonical$='tallyfy.com/'], [data-tfx-canonical*='tallyfy.com/legal/'], [data-tfx-canonical*='tallyfy.com/security/'], [data-tfx-canonical*='tallyfy.com/trust/'], [data-tfx-canonical*='tallyfy.com/trademark'], [data-tfx-canonical$='/about-tallyfy/'], [data-tfx-canonical*='/solutions/'], [data-tfx-canonical$='-alternative/']) body.tfx #hero.hero-dark-forced { --b2: var(--b2-standing-low); }
html body.tfx footer.footer-dark-forced { --b2: var(--b2-footer-low); }
@media (min-width: 768px) {
  html body.tfx footer.footer-dark-forced { --b2: var(--b2-footer-desk); }
}

/* ----- 6.3 the picture ----- */
html[data-tfx-canonical]:not([data-tfx-canonical*='tallyfy.com/guides/']) body.tfx .blog-hero-wrapper .hero-solid-bg::after,
html[data-tfx-canonical*='tallyfy.com/guides/'] body.tfx .blog-hero-wrapper .hero-solid-bg::after,
html[data-tfx-canonical]:not([data-tfx-canonical$='tallyfy.com/'], [data-tfx-canonical*='tallyfy.com/legal/'], [data-tfx-canonical*='tallyfy.com/security/'], [data-tfx-canonical*='tallyfy.com/trust/'], [data-tfx-canonical*='tallyfy.com/trademark'], [data-tfx-canonical$='/about-tallyfy/'], [data-tfx-canonical*='/solutions/'], [data-tfx-canonical$='-alternative/']) body.tfx section.hero-dark-forced::after,
html body.tfx section.bg-\[\#0D0D0D\]::after,
html body.tfx.tfx footer.footer-dark-forced.footer-dark-forced::after {
  height: var(--b2-row);
  bottom: var(--b2-bottom, 0px);
  /* the picture's five rows; the water's three flat inks under them (near, middle, far), each wholly under the drawn
     water of its own ink, so the water is there with the page's first paint and none shows once the file is in; then,
     where the top clips, the page's grain and paper in the strip under the shore. The grain's tile is 220px tall
     (system.css --c1-grain): its top edge is put at the strip's top, so it paints in the strip and nowhere above
     (measured 2026-11-16: placed by its top it lay over the night panel instead). */
  --b2-drop: calc(var(--b2-pad) * var(--b2-dropk));
  --b2-size: auto calc(var(--b2-row) * 6);
  /* one tile's width, less 1px so that neighbours overlap and no seam shows */
  --b2-tile: calc(var(--b2-pad) * var(--b2-tilek) - 1px);
  --b2-ink: left 0 bottom var(--b2-drop);
  /* 1 the crane; 2 the bank and reeds; 3 to 6 the land, four tiles side by side from the left; 7 the sun or moon;
     8 to 11 the ridges and light, four tiles from the right; 12 to 14 the inks; 15 and 16 the grain and paper.
     Nothing is repeated: a repeated row is redrawn whole, tile and all, whenever the picture changes, and with the
     moving file that was four fifths of the cost (measured 2026-11-16). Four tiles reach 3,600px or more at every
     size; a tile that lies outside the box costs nothing. `--b2-front` is a hook: a test sets it to `none`. */
  background-image: var(--b2-front, var(--b2)), var(--b2), var(--b2), var(--b2), var(--b2), var(--b2), var(--b2), var(--b2), var(--b2), var(--b2), var(--b2),
    linear-gradient(var(--tfx-foot-w3), var(--tfx-foot-w3)), linear-gradient(var(--tfx-foot-w2), var(--tfx-foot-w2)), linear-gradient(var(--tfx-foot-w1), var(--tfx-foot-w1)),
    var(--b2-grain, none), linear-gradient(var(--b2-ground, transparent), var(--b2-ground, transparent));
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, repeat-x, no-repeat;
  background-size: var(--b2-size), var(--b2-size), var(--b2-size), var(--b2-size), var(--b2-size), var(--b2-size), var(--b2-size), var(--b2-size), var(--b2-size), var(--b2-size), var(--b2-size),
    100% calc(var(--b2-pad) * var(--b2-waterk) * 0.48), 100% calc(var(--b2-pad) * var(--b2-waterk) * 0.81), 100% calc(var(--b2-pad) * var(--b2-waterk) - 3px),
    auto, 100% var(--b2-strip, 0px);
  background-position:
    var(--b2-x, right 0) top 0,
    left 0 top calc(var(--b2-row) * -1.25),
    left 0 top calc(var(--b2-row) * -2.5), left var(--b2-tile) top calc(var(--b2-row) * -2.5), left calc(var(--b2-tile) * 2) top calc(var(--b2-row) * -2.5), left calc(var(--b2-tile) * 3) top calc(var(--b2-row) * -2.5),
    var(--b2-x, right 0) top calc(var(--b2-row) * -3.75),
    right 0 top calc(var(--b2-row) * -5), right var(--b2-tile) top calc(var(--b2-row) * -5), right calc(var(--b2-tile) * 2) top calc(var(--b2-row) * -5), right calc(var(--b2-tile) * 3) top calc(var(--b2-row) * -5),
    var(--b2-ink), var(--b2-ink), var(--b2-ink),
    left 0 bottom calc(var(--b2-strip, 0px) - 220px), left 0 bottom 0;
}
/* A section top is wider than the window: from 768px it starts 240px left of it (its own margin) and ends at the
   window's right edge (measured on five kinds of page at six widths, 2026-11-16). The picture is laid from that
   right edge at the window's width, so the bank and reeds stand at the window's left and not off screen. */
html[data-tfx-canonical]:not([data-tfx-canonical$='tallyfy.com/'], [data-tfx-canonical*='tallyfy.com/legal/'], [data-tfx-canonical*='tallyfy.com/security/'], [data-tfx-canonical*='tallyfy.com/trust/'], [data-tfx-canonical*='tallyfy.com/trademark'], [data-tfx-canonical$='/about-tallyfy/'], [data-tfx-canonical*='/solutions/'], [data-tfx-canonical$='-alternative/']) body.tfx section.hero-dark-forced::after { left: auto; right: 0; width: 100vw; }
/* ----- 6.4 the 404 under 1024px (section 5's strip): the same picture's low cut, and the shore ----- */
@media (max-width: 1023.98px) {
  html body.tfx.r3-404 { --b2: var(--b2-feeding-low); --b2-rowk: 1.1034; --b2-dropk: 0.1034; --b2-waterk: 0.3448; --b2-tilek: 16.5517; --b2-pad: calc(var(--tfx-foot-h) / (1 + var(--b2-dropk))); --b2-row: calc(var(--b2-pad) * var(--b2-rowk)); }
  html body.tfx.r3-404::before {
    --b2-drop: calc(var(--b2-pad) * var(--b2-dropk));
    --b2-size: auto calc(var(--b2-row) * 6);
    /* the picture's five rows, the water's three flat inks, the page's grain and paper in the strip under the shore,
       then the night paper's grain (the strip's own ground is the night paper, as before) */
    background-image: var(--b2), var(--b2), var(--b2), var(--b2), var(--b2),
      linear-gradient(var(--tfx-foot-w3), var(--tfx-foot-w3)), linear-gradient(var(--tfx-foot-w2), var(--tfx-foot-w2)), linear-gradient(var(--tfx-foot-w1), var(--tfx-foot-w1)),
      var(--c1-grain), linear-gradient(var(--c1-paper), var(--c1-paper)), var(--c1-grain-night);
    background-repeat: no-repeat, no-repeat, repeat-x, no-repeat, repeat-x, no-repeat, no-repeat, no-repeat, repeat-x, no-repeat, repeat;
    background-origin: content-box, content-box, content-box, content-box, content-box, content-box, content-box, content-box, content-box, content-box, padding-box;
    background-clip: content-box, content-box, content-box, content-box, content-box, content-box, content-box, content-box, content-box, content-box, padding-box;
    background-size: var(--b2-size), var(--b2-size), var(--b2-size), var(--b2-size), var(--b2-size),
      100% calc(var(--b2-pad) * var(--b2-waterk) * 0.48), 100% calc(var(--b2-pad) * var(--b2-waterk) * 0.81), 100% calc(var(--b2-pad) * var(--b2-waterk) - 3px),
      auto, 100% var(--b2-drop), auto;
    background-position:
      right 0 top 0,
      left 0 top calc(var(--b2-row) * -1.25),
      left 0 top calc(var(--b2-row) * -2.5),
      right 0 top calc(var(--b2-row) * -3.75),
      right 0 top calc(var(--b2-row) * -5),
      left 0 bottom var(--b2-drop), left 0 bottom var(--b2-drop), left 0 bottom var(--b2-drop),
      left 0 bottom calc(var(--b2-drop) - 220px), left 0 bottom 0,
      0 0;
  }
}
