:root {
  --navy: #0b2e5c;
  --navy-2: #061c38;
  --navy-deep: #061c38;
  --navy-ink: #031326;
  --blue: #2f72b7;
  --blue-soft: #e8f2fb;
  --blue-light: #d8eafb;
  --cta: #d96d32;
  --orange: #d96d32;
  --orange-dark: #b9511d;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

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

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
}

a,
button,
summary,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #f5a46f !important;
  outline-offset: 3px !important;
}

.skip-link {
  position: fixed !important;
  top: 12px !important;
  left: 12px !important;
  z-index: 1000 !important;
  padding: 10px 15px !important;
  color: var(--navy-deep) !important;
  background: #fff !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 28px rgba(3, 19, 38, 0.22) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Shared navigation */
header.site-nav {
  position: fixed !important;
  inset: 0 0 auto !important;
  z-index: 100 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 88px !important;
  color: #fff !important;
  background: rgba(6, 28, 56, 0.97) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 10px 30px rgba(3, 19, 38, 0.18) !important;
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  backdrop-filter: blur(14px) saturate(145%);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    backdrop-filter 180ms ease !important;
}

header.site-nav.site-nav--overlay:not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(3, 19, 38, 0.72), rgba(3, 19, 38, 0.2) 72%, rgba(3, 19, 38, 0)) !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

header.site-nav *,
header.site-nav *::before,
header.site-nav *::after {
  box-sizing: border-box !important;
}

nav.site-nav-inner {
  position: static !important;
  display: flex !important;
  box-sizing: border-box !important;
  width: min(100% - 76px, 1180px) !important;
  max-width: 1180px !important;
  height: 88px !important;
  min-height: 88px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  background: transparent !important;
}

.site-logo {
  display: flex !important;
  width: 72px !important;
  height: 24px !important;
  flex: none !important;
  align-items: center !important;
  color: #fff !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-decoration: none !important;
}

.site-logo img {
  display: block !important;
  width: 72px !important;
  height: 24px !important;
  max-width: none !important;
  object-fit: contain !important;
}

.site-menu {
  display: flex !important;
  width: 616px !important;
  flex: 0 0 616px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 23px !important;
  margin: 0 !important;
}

.site-menu a {
  position: relative !important;
  display: inline-flex !important;
  flex: none !important;
  min-height: 44px !important;
  align-items: center !important;
  padding: 0 !important;
  color: #d9e4ef !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.site-menu a:hover,
.site-menu a[aria-current="page"] {
  color: #fff !important;
}

.site-menu a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -22px;
  left: 0;
  height: 3px;
  background: var(--orange);
  content: "";
}

.site-cta {
  display: inline-flex !important;
  box-sizing: border-box !important;
  width: 185px !important;
  min-width: 185px !important;
  max-width: 185px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  flex: 0 0 185px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 8px 10px !important;
  color: var(--navy-deep) !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  isolation: isolate !important;
}

.site-cta span {
  display: grid !important;
  box-sizing: border-box !important;
  width: 27px !important;
  height: 27px !important;
  flex: 0 0 27px !important;
  color: #fff !important;
  background: var(--blue) !important;
  border-radius: 7px !important;
  place-items: center !important;
}

.mobile-menu {
  display: none;
  position: relative;
  margin: 0 !important;
  color: #fff;
}

.mobile-menu summary {
  display: flex;
  min-width: 74px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu-panel {
  position: absolute;
  top: 54px;
  right: 0;
  display: grid;
  width: min(310px, calc(100vw - 36px));
  padding: 13px;
  color: var(--navy-deep);
  background: #fff;
  border: 1px solid #dce4ed;
  border-radius: 14px;
  box-shadow: 0 22px 70px rgba(3, 19, 38, 0.25);
}

.mobile-menu-panel a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 11px;
  color: var(--navy-deep);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.mobile-menu-panel a:hover,
.mobile-menu-panel a[aria-current="page"] {
  color: var(--navy-deep);
  background: var(--blue-soft);
}

/* Detail pages without a dark hero reserve space for the fixed header. */
body[data-route^="/case-studies/"]:not([data-route="/case-studies"]),
body[data-route^="/insights/"]:not([data-route="/insights"]) {
  padding-top: 88px;
}

body[data-route="/resources"] nav.site-nav-inner,
body[data-route="/contact"] nav.site-nav-inner {
  max-width: 1180px !important;
}

body[data-route="/resources"] .resource-hero .hero-grid,
body[data-route="/contact"] .contact-hero .hero-grid {
  width: min(100% - 76px, 1180px);
  max-width: none;
  margin-inline: auto;
}

body[data-route="/resources"] .resource-hero .hero-grid {
  padding-right: 0;
  padding-left: 0;
}

/* Shared hub content grid and type scale */
body[data-route="/"] .shell,
body[data-route="/partners"] .shell,
body[data-route="/resources"] .shell,
body[data-route="/contact"] .shell {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1180px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-right: 32px !important;
  padding-left: 32px !important;
}

body[data-route="/"] .impact-grid.shell,
body[data-route="/partners"] .proof-grid.shell,
body[data-route="/resources"] .proof-grid.shell,
body[data-route="/contact"] .proof-grid.shell {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

body[data-route="/"] .hero-content h1,
body[data-route="/partners"] .hero-copy h1,
body[data-route="/resources"] .hero-content h1,
body[data-route="/contact"] .hero-copy h1 {
  max-width: 760px !important;
  font-size: 57px !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.06 !important;
}

body[data-route="/"] .agenda-heading h2,
body[data-route="/"] .section-heading h2,
body[data-route="/"] .lifecycle-copy h2,
body[data-route="/"] .why-lead h2,
body[data-route="/"] .resource-panel h2,
body[data-route="/"] .insights-title h2,
body[data-route="/partners"] .section-heading h2,
body[data-route="/resources"] .intro-grid h2,
body[data-route="/resources"] .section-heading h2,
body[data-route="/contact"] .section-heading h2,
body[data-route="/contact"] .contact-intro h2,
body[data-route="/contact"] .faq-grid h2 {
  font-size: 35px !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.17 !important;
}

body[data-route="/"] .section-heading p:last-child,
body[data-route="/partners"] .section-heading p,
body[data-route="/resources"] .section-heading > p:last-child,
body[data-route="/contact"] .section-heading p {
  font-size: 17px !important;
}

body[data-route="/resources"] .resource-hero .hero-grid {
  padding-top: 122px !important;
}

/* Shared footer */
.site-footer {
  padding: 64px 0 28px !important;
  color: #94a4b9 !important;
  background: #041426 !important;
}

.site-footer-inner {
  width: min(100% - 76px, 1240px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.footer-cols {
  display: grid !important;
  margin-bottom: 42px !important;
  grid-template-columns: 2fr 1fr 1fr 1.35fr !important;
  gap: 44px !important;
}

.footer-logo {
  margin-bottom: 4px !important;
  color: #fff !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
}

.footer-tag {
  margin-bottom: 14px !important;
  color: #6f8196 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.footer-cols h2,
.footer-cols h5 {
  margin: 0 0 15px !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.25 !important;
}

.footer-cols p {
  display: block !important;
  max-width: 320px !important;
  margin: 0 0 10px !important;
  color: #94a4b9 !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
}

.footer-cols a {
  display: block !important;
  min-height: 30px !important;
  margin: 0 !important;
  padding: 4px 0 !important;
  color: #a4b4c6 !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  text-decoration: none !important;
}

.footer-cols a:hover {
  color: #fff !important;
}

.footer-bottom {
  display: flex !important;
  padding-top: 22px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.09) !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 20px !important;
  color: #7f90a4 !important;
  font-size: 12px !important;
}

.footer-bottom div {
  display: flex !important;
  gap: 18px !important;
}

.footer-bottom a {
  color: #9dafc2 !important;
  text-decoration: none !important;
}

/* Shared accessibility and utility treatment */
[hidden] {
  display: none !important;
}

main:focus {
  outline: none;
}

.page-not-found {
  display: grid;
  min-height: 720px;
  padding: 150px 24px 80px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 24%, rgba(47, 114, 183, 0.35), transparent 32%),
    linear-gradient(135deg, var(--navy-ink), var(--navy-deep));
  place-items: center;
  text-align: center;
}

.page-not-found > div {
  max-width: 720px;
}

.page-not-found .error-code {
  display: block;
  margin-bottom: 18px;
  color: #9bc8f1;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-not-found h1 {
  margin: 0 0 20px;
  font-size: clamp(48px, 8vw, 82px);
  line-height: 1;
}

.page-not-found p {
  margin: 0 auto 30px;
  color: #c3d2e2;
  font-size: 19px;
}

.page-not-found a {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  padding: 11px 20px;
  color: #fff;
  background: var(--orange);
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1120px) {
  .site-menu,
  .site-cta {
    display: none !important;
  }

  .mobile-menu {
    display: block;
  }
}

@media (max-width: 760px) {
  header.site-nav {
    height: 76px !important;
  }

  nav.site-nav-inner,
  .site-footer-inner {
    width: min(100% - 40px, 1180px) !important;
  }

  nav.site-nav-inner {
    height: 76px !important;
    min-height: 76px !important;
  }

  body[data-route^="/case-studies/"]:not([data-route="/case-studies"]),
  body[data-route^="/insights/"]:not([data-route="/insights"]) {
    padding-top: 76px;
  }

  body[data-route="/resources"] .resource-hero .hero-grid,
  body[data-route="/contact"] .contact-hero .hero-grid {
    width: min(100% - 40px, 1180px);
  }

  body[data-route="/resources"] .resource-hero .hero-grid {
    padding-top: 124px !important;
  }

  body[data-route="/"] .shell,
  body[data-route="/partners"] .shell,
  body[data-route="/resources"] .shell,
  body[data-route="/contact"] .shell {
    padding-right: 22px !important;
    padding-left: 22px !important;
  }

  body[data-route="/"] .impact-grid.shell,
  body[data-route="/partners"] .proof-grid.shell,
  body[data-route="/resources"] .proof-grid.shell,
  body[data-route="/contact"] .proof-grid.shell {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body[data-route="/"] .hero-content h1,
  body[data-route="/partners"] .hero-copy h1,
  body[data-route="/resources"] .hero-content h1,
  body[data-route="/contact"] .hero-copy h1 {
    font-size: 38px !important;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr !important;
    gap: 34px !important;
  }
}

@media (max-width: 520px) {
  .footer-cols {
    grid-template-columns: 1fr !important;
  }

  .footer-bottom {
    flex-direction: column !important;
  }

  .footer-bottom div {
    flex-wrap: wrap !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
