/*
 * .footer — every page, home included. Overrides the frozen index.css
 * without editing it: Vlad's footer screenshot (2026-10-17) and the Figma
 * components footer-1400px / footer-mobile (file 4rUna3ebpp3Zro39ecZlBm, 337:8586).
 */

/* .footer__col-title — 50 → 45 px to the links from 768 px (Figma D: 67 px title → first link, cap to cap) */
.footer__col-title {
  /* @media (width >= 48em) .footer__col-title */
  @media (width >= 48em) {
    margin-bottom: 2.8125rem;
  }
}

/* .footer__support-text — from 768 px its first line sits level with the first link (Figma 401:29278):
   the -6 px collapses with the title's 45 px bottom margin into 39 px (lh 140 % adds half-leading);
   50 → 43 px to the Zendesk logo */
.footer__support-text {
  /* @media (width >= 48em) .footer__support-text */
  @media (width >= 48em) {
    margin-top: -0.375rem;
    margin-bottom: 2.6875rem;
  }
}

/* .footer__col-list — 15 px between links on every width (Figma D: 33 px step at 18 px) */
.footer__col-list {
  gap: 0.9375rem;
}

/* .footer__col-list a — 14 px at 375 → 18 px at 1440 */
.footer__col-list a {
  font-size: clamp(0.875rem, 0.787rem + 0.3756vw, 1.125rem);
}

/* .footer__cta — 40 px under the LinkedIn button on phones and tablets (Figma M: 41 px to the line;
   the bundle has 0 below 1025 px); from 768 px also 40 px on top, where the line has no margin;
   from 1025 px the bundle's 74 px */
.footer__cta {
  padding-bottom: 2.5rem;

  /* @media (width >= 48em) .footer__cta */
  @media (width >= 48em) {
    padding-top: 2.5rem;
  }

  /* @media (width >= 64.0625em) .footer__cta */
  @media (width >= 64.0625em) {
    padding-top: 4.625rem;
    padding-bottom: 4.625rem;
  }
}

/* .footer__phone — tracking 0 from 375 px as in Figma D and M (below that the bundle's -0.03em keeps
   the number narrower); in the desktop row the phone follows the text (44 px gap), the button stays
   right (Figma 401:29278) */
.footer__phone {
  /* @media (width >= 23.4375em) .footer__phone */
  @media (width >= 23.4375em) {
    letter-spacing: 0;
  }

  /* @media (width >= 64.0625em) .footer__phone */
  @media (width >= 64.0625em) {
    margin-right: auto;
  }
}

/* .footer__social — LinkedIn button hugs its content (no 300 px minimum), centred on phones;
   paddings are 1 px less than Figma, where the stroke sits inside the frame */
.footer__social {
  gap: 0.5rem;
  width: fit-content;
  min-width: 0;
  padding: 0.5625rem 0.9375rem;

  /* @media (width >= 48em) .footer__social */
  @media (width >= 48em) {
    gap: 0.3125rem;
    padding: 0.5625rem 0.5625rem 0.5625rem 1.1875rem;
  }
}

/* .footer__social-text — 20 px on every width (Figma D and M) */
.footer__social-text {
  font-size: 1.25rem;
}

/* .footer__social-icon — the "in" icon on a light tile on phones; the desktop tile has no fill (Figma) */
.footer__social-icon {
  padding: 0.3125rem;
  border-radius: 0.3125rem;
  background-color: #f6f7f9;

  /* .footer__social-icon img */
  & img {
    height: 1.4375rem;
  }

  /* @media (width >= 48em) .footer__social-icon */
  @media (width >= 48em) {
    padding: 0.3125rem 0.625rem;
    background-color: transparent;

    /* .footer__social-icon img */
    & img {
      height: 1.77rem;
    }
  }
}

/* .footer__legal — the separator gets equal space on both sides: as a flex row the template's
   whitespace after "&nbsp;|&nbsp;" drops out (Figma 401:29278) */
.footer__legal {
  display: flex;
  gap: 0.25rem;
}
