@import url("https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400&display=swap");

/* Canonical footer parity.
   Internal pages keep their semantic link inventory while rendering with the
   landing page's exact footer composition and responsive behavior. */

body[data-page] .footer.site-footer-v3 {
  position: relative;
  z-index: 5;
  padding: 80px 32px 28px !important;
  border: 0 !important;
  background: #141414 !important;
  color: #f3efe6 !important;
}

body[data-page] .site-footer-v3 .footer-top {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 50px !important;
  align-items: start;
  padding: 0 !important;
}

body[data-page] .site-footer-v3 .footer-top::after {
  content: "Foundation models for extreme-purpose robotics.";
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  max-width: 600px;
  color: #f3efe6;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(28px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-align: right;
}

body[data-page] .site-footer-v3 .footer-mark {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 0 !important;
  color: #f3efe6 !important;
  font-family: "Monoton", "Inter Tight", Arial, sans-serif !important;
  font-size: 26px !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em !important;
  line-height: normal;
  text-transform: uppercase;
}

body[data-page] .site-footer-v3 .footer-cols,
body[data-page] .site-footer-v3 .footer-cols.footer-cols-5 {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  margin-top: 40px;
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 30px !important;
  padding: 40px 0 70px;
  border-top: 1px solid rgba(243, 239, 230, 0.22);
}

body[data-page] .site-footer-v3 .footer-col {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  align-content: initial;
  gap: 10px !important;
}

body[data-page] .site-footer-v3 .footer-col-h {
  margin: 0 0 12px;
  color: #c8b7e8 !important;
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  line-height: normal !important;
  text-transform: uppercase;
}

body[data-page] .site-footer-v3 .footer-col-count {
  display: none;
}

body[data-page] .site-footer-v3 .footer-col a {
  width: fit-content;
  padding: 0;
  color: #aaa69e !important;
  background-image: none !important;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 14px !important;
  font-weight: 400;
  line-height: normal;
  transition: color 460ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body[data-page] .site-footer-v3 .footer-col a:hover,
body[data-page] .site-footer-v3 .footer-col a:focus-visible {
  color: #f3efe6 !important;
  background-image: none !important;
}

body[data-page] .site-footer-v3 .footer-bottom {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  gap: 30px !important;
  padding: 24px 0 0 !important;
  border-top: 1px solid rgba(243, 239, 230, 0.22) !important;
  color: #aaa69e !important;
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
  font-size: 10px !important;
  font-weight: 500;
  letter-spacing: 0.12em !important;
  line-height: normal;
  text-transform: uppercase;
}

body[data-page] .site-footer-v3 .footer-bottom a {
  color: #aaa69e !important;
  background-image: none !important;
  transition: color 460ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body[data-page] .site-footer-v3 .footer-bottom a:hover,
body[data-page] .site-footer-v3 .footer-bottom a:focus-visible {
  color: #f3efe6 !important;
  background-image: none !important;
}

body[data-page] .site-footer-v3 .footer-bottom span:last-child {
  justify-self: end;
}

@media (max-width: 1180px) {
  body[data-page] .site-footer-v3 .footer-cols,
  body[data-page] .site-footer-v3 .footer-cols.footer-cols-5 {
    grid-template-columns: repeat(3, 1fr) !important;
    row-gap: 44px !important;
  }
}

@media (max-width: 660px) {
  body[data-page] .footer.site-footer-v3 {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  body[data-page] .site-footer-v3 .footer-top {
    grid-template-columns: 1fr !important;
  }

  body[data-page] .site-footer-v3 .footer-top::after {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    text-align: left;
  }

  body[data-page] .site-footer-v3 .footer-cols,
  body[data-page] .site-footer-v3 .footer-cols.footer-cols-5 {
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: 1fr 1fr !important;
  }

  body[data-page] .site-footer-v3 .footer-bottom {
    grid-template-columns: 1fr !important;
  }

  body[data-page] .site-footer-v3 .footer-bottom span:last-child {
    justify-self: start;
  }
}
