/* Our own corrections on top of the compiled Webflow stylesheet.

   quickast_webflow.css is the stylesheet Webflow published, kept byte for
   byte so the port stays comparable with the original. What we change about
   the look of the site lives here instead, loaded right after it, one rule
   per finding, each with the reason. Found in the UI test of 4 October 2026
   (#861). */

/* The contact form answers with a full page (controllers/main.py), so the
   browser has to be told where to land: a refused submission comes back on
   #contact-form-error, a successful one on #contact-form. The navbar is
   position: fixed and 5rem high (4rem on a phone), so a plain fragment puts
   the top of the target underneath it.

   The thank-you box is the first thing in #contact-form once the form is
   hidden, so it only needs to clear the navbar. The error box sits under
   the form, and the visitor has to see both, the box and the fields they
   are asked to correct. Landing it halfway down the screen keeps the lower
   half of the form above it, which is roughly where the visitor was looking
   when they pressed Send Message. */
#contact-form {
    scroll-margin-top: 6rem;
}

#contact-form-error {
    scroll-margin-top: 50vh;
}

/* At phone width the home page scrolled 70px sideways (scrollWidth 460 on a
   390px screen; the live Webflow site does the same).

   Below 768px .testimonials_component is a one-column grid,
   grid-template-columns: 30fr. A grid item's automatic minimum width is its
   min-content width, and the slider inside carries Webflow's
   .w-slider-mask { white-space: nowrap }, so the column grows to the width
   of a whole slide instead of shrinking to the screen. min-width: 0 lets
   the two columns take the track width. On desktop the tracks are
   percentages (30% 55%), which an item's minimum does not widen, so the
   desktop layout is unchanged. Checked in the browser on
   test.quickast-dx.com at 390px: scrollWidth back to the screen width,
   slides 335px wide. */
.testimonials_content-left,
.testimonials_content-right {
    min-width: 0;
}
