﻿/* ==========================================================================
   CoderLyft Exact Footer + Site Font (Outfit via app.css @font-face)
   ========================================================================== */

html,
body,
button,
input,
select,
textarea {
  font-family: "Outfit", "Outfit Placeholder", sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.hero h1,
.section-intro h2,
.contact-copy h2,
.careers-card h2,
.cx-manifesto-title,
.hp-section-head h2 {
  font-family: "Outfit", "Outfit Placeholder", sans-serif !important;
}

.cl-footer {
  --cl-footer-bg: #001F2B;
  --cl-footer-line: rgba(255, 255, 255, 0.12);
  --cl-footer-text: #ffffff;
  --cl-footer-muted: rgba(255, 255, 255, 0.72);
  --cl-footer-accent: #0077C8;
  --site-gutter: clamp(1.25rem, 3.8vw, 3.25rem);
  position: relative;
  background:
    radial-gradient(ellipse 90% 70% at 10% 0%, rgba(0, 119, 200, 0.45), transparent 55%),
    radial-gradient(ellipse 80% 60% at 90% 20%, rgba(109, 94, 247, 0.35), transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0, 212, 255, 0.22), transparent 55%),
    linear-gradient(160deg, #001018 0%, #001F2B 42%, #0A2F4A 100%);
  color: var(--cl-footer-text);
  font-family: "Outfit", "Outfit Placeholder", sans-serif;
  padding: 42px 0 0;
  overflow: hidden;
}

.cl-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 30%),
    radial-gradient(circle at 70% 80%, rgba(0, 119, 200, 0.18), transparent 40%);
  opacity: 0.9;
}

.cl-footer a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.cl-footer a:hover {
  opacity: 0.82;
}

.cl-footer-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.cl-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--cl-footer-line);
}

.cl-footer-toplinks {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}

.cl-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cl-footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: #111 !important;
  font-size: 13px;
  font-weight: 600;
}

.cl-footer-socials a:hover {
  opacity: 1;
  background: #f3f4f6;
}

.cl-footer-socials svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #111;
}

.cl-footer-col {
  display: grid;
  align-content: start;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.cl-footer-col summary {
  list-style: none;
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: default;
}

.cl-footer-col summary::-webkit-details-marker {
  display: none;
}

.cl-footer-col summary::after {
  display: none;
}

.cl-footer-col-links {
  display: grid;
  gap: 12px;
}

.cl-footer-col-links a {
  font-size: 14px;
  line-height: 1.45;
  color: var(--cl-footer-muted);
}

.cl-footer-col-links a:hover {
  color: #fff;
  opacity: 1;
}

.cl-footer-presence > h3 svg {
  width: 22px;
  height: 22px;
  color: #7dd3fc;
  flex: 0 0 auto;
}

.cl-footer-main {
  display: grid;
  grid-template-columns: 1.25fr 1fr 2fr;
  gap: 36px;
  padding: 40px 0 36px;
  border-bottom: 1px solid var(--cl-footer-line);
  align-items: start;
}

.cl-footer-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 100%;
}

.cl-footer-side-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.cl-footer-reviews,
.cl-footer-clutch {
  margin-top: auto;
  width: 100%;
  max-width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cl-footer-clutch-label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.cl-footer-reviews-row {
  display: grid !important;
  grid-template-columns: max-content max-content;
  align-items: center;
  justify-content: start;
  column-gap: 32px;
  row-gap: 16px;
  width: max-content;
  max-width: 100%;
}

.cl-footer-reviews .clutch-widget,
.cl-footer-clutch .clutch-widget {
  display: block !important;
  width: 250px !important;
  max-width: 250px !important;
  height: 50px !important;
  min-height: 50px !important;
  flex: none !important;
  overflow: hidden !important;
}

.cl-footer-reviews .clutch-widget iframe,
.cl-footer-clutch .clutch-widget iframe {
  display: block !important;
  width: 250px !important;
  max-width: 250px !important;
  min-width: 0 !important;
  height: 50px !important;
  border: 0 !important;
  overflow: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.cl-footer-reviews .clutch-widget iframe::-webkit-scrollbar,
.cl-footer-clutch .clutch-widget iframe::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.cl-google-review {
  display: inline-flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: max-content;
  max-width: 220px;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.2s ease;
}

.cl-google-review:hover {
  opacity: 0.88;
}

.cl-google-review-kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.cl-google-review-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cl-google-g {
  display: block;
  flex: 0 0 auto;
}

.cl-google-review-brand {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}

.cl-google-review-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.cl-google-review-stars svg {
  width: 12px;
  height: 12px;
  fill: #fbbc05;
}

.cl-google-review-cta {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cl-footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}

.cl-footer-logo img {
  display: block;
  width: auto;
  height: 40px;
  object-fit: contain;
  mix-blend-mode: normal;
}

.cl-footer-brand > p {
  margin: 0 0 18px;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--cl-footer-muted);
}

.cl-footer-partner {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
  max-width: 34ch;
}

.cl-footer-partner-label {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--cl-footer-muted);
}

.cl-footer-partner-label strong {
  color: #fff;
  font-weight: 700;
}

.cl-openai-badge {
  display: block;
  width: min(220px, 100%);
  height: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.cl-footer-contacts {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.cl-footer-contacts p {
  margin: 0;
  max-width: 100%;
  font-size: 14px;
  line-height: 1.55;
  color: var(--cl-footer-muted);
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.cl-footer-contacts a {
  color: #fff;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cl-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  min-width: 0;
  max-width: 100%;
}

.cl-footer-help {
  margin-top: auto;
  width: 100%;
  max-width: 300px;
  padding-top: 22px;
}

.cl-footer-help-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.cl-footer-help h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
}

.cl-footer-help-text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--cl-footer-muted);
}

.cl-footer-help-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid rgba(125, 211, 252, 0.45);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 119, 200, 0.35), rgba(109, 94, 247, 0.28));
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cl-footer-help-btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.cl-footer-help-btn:hover {
  border-color: rgba(125, 211, 252, 0.8);
  background: linear-gradient(135deg, rgba(0, 119, 200, 0.55), rgba(109, 94, 247, 0.45));
  opacity: 1;
  transform: translateY(-1px);
}

.cl-footer-presence {
  padding: 34px 0 28px;
  border-bottom: 1px solid var(--cl-footer-line);
}

.cl-footer-presence > h3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 700;
}

.cl-presence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.cl-presence-card {
  padding: 18px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.cl-presence-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.cl-presence-head strong {
  font-size: 15px;
  font-weight: 700;
}

.cl-presence-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--cl-footer-muted);
}

.cl-flag {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  flex: 0 0 auto;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2);
}

.cl-flag-img {
  display: block;
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 4px;
  background: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18);
}

.cl-flag-us {
  background-image: linear-gradient(180deg, #3C3B6E 33%, #fff 33% 40%, #B22234 40% 47%, #fff 47% 54%, #B22234 54% 61%, #fff 61% 68%, #B22234 68%);
}
.cl-flag-au {
  background-image: linear-gradient(180deg, #012169, #012169 50%, #fff 50% 55%, #E4002B 55%);
}
.cl-flag-in {
  background-image: linear-gradient(180deg, #FF9933 33%, #fff 33% 66%, #138808 66%);
}
.cl-flag-uk {
  background-image: linear-gradient(45deg, #012169 25%, #fff 25% 30%, #C8102E 30% 35%, #fff 35% 40%, #012169 40%);
}

.cl-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--cl-footer-muted);
}

.cl-footer-legal {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  line-height: 1.55;
}

.cl-footer-legal a {
  color: var(--cl-footer-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cl-footer-legal a:hover {
  color: #fff;
}

.cl-footer-giant {
  position: relative;
  z-index: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
}

.footer-wordmark-wrap {
  container-type: inline-size;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-inline: 0;
  padding-top: clamp(1.75rem, 3vw, 3rem);
  padding-bottom: 0;
  overflow: hidden;
  background: none;
}

.footer-wordmark {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;

  font-family: "Outfit", "Outfit Placeholder", sans-serif;
  font-size: clamp(4rem, calc(100cqw / 5.55), 22rem);
  font-weight: 900;
  font-style: normal;
  line-height: 0.85;

  letter-spacing: -0.035em;
  font-kerning: normal;
  font-feature-settings: "kern" 1;
  text-rendering: geometricPrecision;

  background: linear-gradient(
    90deg,
    #2b6f98 0%,
    #078fda 22%,
    #0bbce7 43%,
    #407fee 64%,
    #705ee8 82%,
    #526f9d 100%
  );
  background-size: 100% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;

  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.72s ease-out,
    transform 0.72s ease-out,
    background-position 0.78s ease-out;
}

.footer-wordmark.is-visible {
  opacity: 1;
  transform: translateY(0);
  background-position: 0% 50%;
}

@media (prefers-reduced-motion: reduce) {
  .footer-wordmark {
    opacity: 1;
    transform: none;
    transition: none;
    background-position: 0% 50%;
  }
}

@media (forced-colors: active) {
  .footer-wordmark {
    background: none;
    filter: none;
    -webkit-text-fill-color: CanvasText;
    color: CanvasText;
  }
}

/* Header brand logo (loaded with footer CSS on all pages) */
.site-header .brand.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  background: transparent;
}

.site-header .brand.brand-logo .brand-logo-img {
  display: block;
  width: auto;
  height: 40px;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: normal;
}

@media (max-width: 940px) {
  .site-header .brand.brand-logo {
    margin-left: 0;
    padding-left: 0;
  }

  .site-header .brand.brand-logo .brand-logo-img {
    height: 34px;
  }
}

@media (max-width: 560px) {
  .site-header .brand.brand-logo .brand-logo-img {
    height: 30px;
  }
}

.cl-back-top {
  display: none !important;
}

.cl-back-top:hover {
  display: none !important;
}

.cl-back-top svg {
  display: none !important;
}

@media (max-width: 1100px) {
  .cl-footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .cl-footer-side {
    grid-column: 1 / -1;
  }
  .cl-presence-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .cl-footer {
    padding: 34px 0 0;
  }
  .cl-footer-inner {
    width: min(1240px, calc(100% - 32px));
  }
  .cl-footer-main,
  .cl-footer-side-cols,
  .cl-presence-grid {
    grid-template-columns: 1fr;
  }
  .cl-footer-main {
    gap: 18px;
    padding: 28px 0 20px;
  }
  .cl-footer-reviews,
  .cl-footer-clutch {
    max-width: 100%;
    width: 100%;
    min-width: 0;
  }
  .cl-footer-reviews-row {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    gap: 18px;
  }
  .cl-footer-reviews .clutch-widget,
  .cl-footer-clutch .clutch-widget,
  .cl-footer-reviews .clutch-widget iframe,
  .cl-footer-clutch .clutch-widget iframe {
    width: min(250px, 100%) !important;
    max-width: 100% !important;
  }
  .cl-google-review {
    max-width: 100%;
  }
  .cl-google-review-row {
    flex-wrap: wrap;
  }
  .cl-footer-contacts p {
    font-size: 13px;
    line-height: 1.65;
  }
  .cl-footer-brand,
  .cl-footer-side,
  .cl-footer-main {
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
  }
  .cl-footer-help {
    margin-top: 22px;
    max-width: 100%;
  }
  .cl-footer-top {
    align-items: flex-start;
  }
  .cl-footer-col {
    display: block;
    border-top: 0;
  }

  .cl-footer-col:not([open]) .cl-footer-col-links {
    display: none;
  }

  .cl-footer-side {
    min-height: 0;
    height: auto;
    gap: 20px;
  }

  .cl-footer-reviews,
  .cl-footer-clutch {
    margin-top: 0 !important;
  }

  .cl-footer-col summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 8px 0;
    cursor: pointer;
    user-select: none;
  }
  .cl-footer-col summary::after {
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    border-right: 2px solid rgba(255, 255, 255, 0.75);
    border-bottom: 2px solid rgba(255, 255, 255, 0.75);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex: 0 0 auto;
  }
  .cl-footer-col[open] summary::after {
    transform: rotate(225deg);
    margin-top: 3px;
  }
  .cl-footer-col-links {
    gap: 8px;
    padding: 0 0 8px;
  }
  .cl-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .cl-footer-giant {
    margin-top: 0;
  }

  .footer-wordmark-wrap {
    width: 100%;
    padding-top: clamp(1.5rem, 4vw, 2rem);
    padding-bottom: 0;
  }

  .footer-wordmark {
    font-size: clamp(3.35rem, calc(100cqw / 5.55), 10rem);
    letter-spacing: -0.032em;
    line-height: 0.85;
  }
}

/* Homepage: white contact section into footer */
main:has(.contact-section--home) ~ .cl-footer {
  margin-top: 0;
  padding-top: 20px !important;
}
