/* Footer link area on every page (markup: inject-footer.sh from partials/footer.json).
   Desktop: logo + "Book a Walkthrough" row, one column per group column, then the trust row and the legal line.
   Below 992px: two columns. Phones (479px and below): one column per group (the comparison groups have
   long labels), with Resources and Company side by side. Reuses .footer-link, .primary-button-in-footer, .image-27 and .legalease
   from webflow/css/cast-app.webflow.css. */
.cfoot { text-align: left; color: #393531; }
.cfoot-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; margin-bottom: 40px; }
.cfoot-brand { display: inline-block; line-height: 0; }
.cfoot .cfoot-action { width: auto; margin: 0; font-size: 19px; line-height: 1.3; }   /* today's size (1.33em of the old .8em menu) */

.cfoot-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 32px; }
@media screen and (min-width: 992px) {   /* CR-22/23: room for the CS-platform labels in the third column of the four-column (launch) footer */
  .cfoot-grid:has(> :nth-child(4)) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) fit-content(300px) minmax(0, 0.8fr); }
}
.cfoot-group + .cfoot-group { margin-top: 32px; }
.cfoot-label { margin: 0 0 8px; font-size: 15px; font-weight: 700; line-height: 1.4; color: #393531; }   /* no uppercase: "Cast.app" keeps its casing */
.cfoot-list { list-style: none; margin: 0; padding: 0; }
.cfoot li { margin: 0; font-size: inherit; line-height: inherit; }   /* site-wide li is 18px with 10px margins */
.cfoot .footer-link { margin: 0; padding: 4px 0; font-size: 15px; line-height: 1.4; }
.cfoot .footer-link:hover { color: #116f6d; }
.cfoot a:focus-visible { outline: 2px solid #116f6d; outline-offset: 2px; border-radius: 2px; }

.cfoot-trust { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 32px; margin-top: 40px; }
.cfoot-soc { display: block; width: 88px; height: auto; }
.cfoot-trust-links { display: flex; flex-wrap: wrap; gap: 0 32px; }
.cfoot .legalease { margin-top: 24px; }
.cfoot .legalease a { color: #116f6d; }

@media screen and (max-width: 991px) {
  .cfoot-grid { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
}
@media screen and (max-width: 479px) {
  .cfoot-top { margin-bottom: 32px; }
  .cfoot-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  /* Resources and Company side by side. Product stays one column: at half width
     "Digital Customer Success" and "Scaled Customer Success" wrap to two lines. */
  .cfoot-col--stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .cfoot-col--stack .cfoot-group + .cfoot-group { margin-top: 0; }
  .cfoot-trust { flex-wrap: nowrap; gap: 24px; margin-top: 32px; }
  .cfoot-trust-links { flex-direction: column; }
}
