/* ─────────────────────────────────────────────────────────────────────────
   Section: Features page tail — the prefooter headline and the site footer
   sharing ONE gradient panel.

   In Figma the two are a single 1440x908 frame with 10px padding and a 10px
   gap: the gradient runs behind both, and the dark footer card sits inside
   it rather than on the white page. The build had them as two independent
   sections with the footer's own white background, so the gradient stopped
   at the headline and the footer sat on white.

   Scoped to this page on purpose. shared/footer.html is used by all eight
   page layouts and the homepage footer is correct as it stands (there the
   CTA is a rounded gradient CARD on white, so a white footer beneath it is
   right). Rather than fork the footer or change its signature, this wrapper
   just clears its background — the footer keeps its own 70px side padding,
   which is what insets the dark card from the gradient edge.

   FLUID SIZING: measured off a 1440 canvas, NOT the 1920 one the homepage
   sections use — this page's Figma frame is 1440 wide, so the vw figures
   here are px / 1440 * 100. Mixing the two canvases is an easy way to get
   values that look right at one width and drift everywhere else.
   ───────────────────────────────────────────────────────────────────────── */

/* Block, deliberately NOT flex. As a flex container this made the footer a
   flex item, and flex items default to min-width:auto — they refuse to
   shrink below their content's intrinsic width. The footer's logo column
   carries a fixed 38.6461rem child, so the footer could no longer shrink to
   the panel and the logo overflowed the page. Block layout has no such
   floor, and the 10px gap is just a margin between the two children. */
.section-features-tail {
  display: block;

  /* Figma: 10px padding, 10px gap on the 1440 frame — but the BOTTOM 10 is
     dropped. The footer card is designed to sit flush against the page's
     bottom edge (it is the reason only its top corners are rounded), so on
     every other page it ends the document exactly. Keeping the 10 here left
     a strip of gradient under the card on this page alone. */
  padding: 0.625rem 0.625rem 0;

  /* Same gradient family as the hero, at this section's own angle. Kept as
     a literal rather than minting a token until the design system decides
     whether a "features gradient" is a real token. */
  background: linear-gradient(218.16deg, #00804d 1.2%, #183a73 72.26%);
}

.section-features-tail > * + * {
  margin-top: 0.625rem;
}

/* The footer is transparent here so the panel's gradient shows through. Its
   own padding still insets the dark card from the panel edge. */
.section-features-tail .section-footer {
  background-color: transparent;
}
