/* Intech's blue and green, expressed through glass, light and dark surfaces. */
@property --stroke-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.header {
  position: fixed;
  top: 20px;
  pointer-events: none;
}
.header-inner {
  position: relative;
  isolation: isolate;
  pointer-events: auto;
  width: min(980px, calc(100% - 48px));
  min-height: 74px;
  display: grid;
  grid-template-columns: 166px minmax(0, 1fr) 166px;
  gap: 20px;
  padding: 10px 18px;
  border: 1px solid #c7d6d4a3;
  border-radius: 22px;
  background: linear-gradient(115deg, #ffffffb5, #f4f9f9a6);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow:
    inset 0 1px 0 #fff,
    0 8px 28px #1728490b;
}
.header-inner::before,
.header-cta::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1.5px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(
    from var(--stroke-angle),
    #233d9220 0deg,
    #406dc2 48deg,
    #7dd559 95deg,
    #6abd4620 135deg,
    #233d9210 230deg,
    #233d9220 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: orbit-stroke 9s linear infinite;
  animation-play-state: paused;
}
.header-inner > .brand img {
  width: 146px;
}
.desktop-nav {
  margin: 0;
  gap: 27px;
}
.desktop-nav a {
  color: #344354;
  font-size: 13px;
}
.desktop-nav a:hover {
  color: #233d92;
}
.header-cta {
  position: relative;
  justify-self: end;
  margin: 0;
  min-height: 46px;
  padding: 13px 18px;
  gap: 16px;
  font-size: 13px;
  border-radius: 13px;
  border: 1px solid #7299b65c;
  background: linear-gradient(135deg, #253a6a, #112a36);
  box-shadow:
    inset 0 1px 0 #ffffff24,
    0 3px 9px #162a4b12;
}
.header-cta::before {
  padding: 1.5px;
  animation-duration: 5s;
  animation-delay: -2s;
  background: conic-gradient(
    from var(--stroke-angle),
    #dceaff30,
    #6898ef 65deg,
    #8de467 130deg,
    #dceaff20 200deg,
    #dceaff30
  );
}
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 #ffffff40,
    0 5px 15px #233d9220;
}
[data-motion="on"] .header.motion-active .header-inner::before,
[data-motion="on"] .header.motion-active .header-cta::before {
  animation-play-state: running;
}
[data-motion-suspended="true"] .header .header-inner::before,
[data-motion-suspended="true"] .header .header-cta::before {
  animation-play-state: paused;
}
@keyframes orbit-stroke {
  to {
    --stroke-angle: 360deg;
  }
}

/* Gradients are reserved for large display type; supporting copy stays solid. */
.hero {
  background:
    radial-gradient(ellipse at 83% 13%, #d9ecd68c, transparent 45%),
    radial-gradient(ellipse at 12% 30%, #dde8fa80, transparent 48%),
    linear-gradient(165deg, #f7f9fc, #f3f7fa 58%, #fff);
}
.hero h1 .ink-gradient {
  background: linear-gradient(180deg, #7b8799 -5%, #1b263a 66%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 em,
.section-heading h2 em {
  background: linear-gradient(
    105deg,
    #233d92 3%,
    #356eb4 38%,
    #278252 73%,
    #66a843 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-inner {
  padding-top: 174px;
}
.hero-cta {
  background: linear-gradient(120deg, #233d92, #294981 63%, #285848);
}

/* Keep the service hierarchy while giving selected cards a dark counterpart. */
.service-card {
  border-color: #dfe8e8;
  background:
    radial-gradient(ellipse at 0% 0%, #b9d8f1 0%, transparent 59%),
    radial-gradient(ellipse at 95% 20%, #dcf1ce 0%, transparent 55%), #f8fafb;
}
.service-card .service-visual {
  background: transparent;
}
.service-card.service-0 {
  background:
    radial-gradient(ellipse at 6% 4%, #95c5e9 0%, transparent 54%),
    radial-gradient(ellipse at 78% 2%, #b5e4a3 0%, transparent 58%), #f7faf9;
}
.service-card.service-1,
.service-card.service-4 {
  color: #f4f7fd;
  background:
    radial-gradient(ellipse at 0% 0%, #285c88 0%, transparent 61%),
    radial-gradient(ellipse at 100% 0%, #345d3d 0%, transparent 63%), #0f1b2a;
  border-color: #405c6c;
}
.service-card.service-1 .service-number,
.service-card.service-4 .service-number {
  color: #b0d6c2;
}
.service-card.service-1 .service-copy p,
.service-card.service-4 .service-copy p {
  color: #c5d0dd;
}
.service-card.service-1 .card-arrow,
.service-card.service-4 .card-arrow {
  color: #daf3d1;
  border-color: #c3dcc936;
  background: #ffffff0b;
}
.service-card.service-1:hover,
.service-card.service-4:hover {
  border-color: #86ba8d;
}
.service-card.service-4 .visual-ring {
  border-color: #abcdd82e;
}
.service-card.service-3 {
  background:
    radial-gradient(ellipse at 15% 0%, #cfdef5, transparent 70%), #f6f9fc;
}
.service-card.service-5 {
  background:
    radial-gradient(ellipse at 85% 0%, #cbe6ba, transparent 70%), #f7faf6;
}
.service-card .service-copy {
  position: static;
}

/* Four areas meet around the supplied Intech logo. */
.connected-ecosystem {
  padding-top: 70px;
  padding-bottom: 80px;
}
.connected-ecosystem .section-heading {
  margin-bottom: 36px;
}
.ecosystem-grid {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ecosystem-grid::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse at 42% 48%, #4777d426, transparent 40%),
    radial-gradient(ellipse at 58% 53%, #87d56533, transparent 40%);
  pointer-events: none;
}
.ecosystem-divider {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.ecosystem-divider-horizontal {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #456dba55 25%,
    #6abd46a3 62%,
    transparent
  );
}
.ecosystem-divider-vertical {
  top: 0;
  left: 50%;
  height: 100%;
  width: 1px;
  background: linear-gradient(
    transparent,
    #6995cb42 20%,
    #79b86091 52%,
    #6995cb42 80%,
    transparent
  );
}
.ecosystem-pillar {
  min-height: 263px;
  padding: 32px 72px 68px;
  text-align: center;
}
.ecosystem-pillar:nth-of-type(n + 3) {
  padding: 68px 72px 32px;
}
.ecosystem-pillar > svg {
  margin: 0 auto 22px;
  color: #416aac;
}
.ecosystem-pillar:nth-of-type(2) > svg,
.ecosystem-pillar:nth-of-type(3) > svg {
  color: #599b3d;
}
.ecosystem-pillar h3 {
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.65px;
  font-weight: 500;
  margin-bottom: 13px;
}
.ecosystem-pillar p {
  font-size: 14px;
  line-height: 1.65;
  color: #626f80;
  max-width: 34ch;
  margin-inline: auto;
}
.ecosystem-brand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 166px;
  height: 166px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  padding: 18px;
  background: linear-gradient(140deg, #fff, #f7fbf7);
  border: 1px solid #d4e2df;
  box-shadow:
    0 0 0 10px #ffffff70,
    0 10px 34px #30557a0f,
    inset 0 2px 3px #fff;
}
.ecosystem-brand img {
  width: 132px;
  height: auto;
}
.ecosystem-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding-top: 28px;
}
.ecosystem-credentials {
  display: flex;
  gap: 26px;
}
.ecosystem-credentials span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #6d7889;
}
.ecosystem-credentials svg {
  color: #629a4d;
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: 146px minmax(0, 1fr) 146px;
    gap: 15px;
  }
  .desktop-nav {
    gap: 21px;
  }
  .header-cta {
    padding-inline: 14px;
    gap: 10px;
  }
  .ecosystem-pillar {
    padding-inline: 48px;
  }
  .ecosystem-pillar:nth-of-type(n + 3) {
    padding-inline: 48px;
  }
}
@media (max-width: 900px) {
  .header-inner {
    display: flex;
    width: min(650px, calc(100% - 40px));
    gap: 14px;
    min-height: 70px;
    padding: 10px 13px 10px 20px;
  }
  .desktop-nav {
    display: none;
  }
  .header-cta {
    display: inline-flex;
    margin-left: auto;
  }
  .mobile-menu {
    display: inline-flex;
    margin-left: 0;
  }
  .ecosystem-pillar {
    min-height: 250px;
    padding-inline: 30px;
  }
  .ecosystem-pillar:nth-of-type(n + 3) {
    padding-inline: 30px;
  }
  .ecosystem-pillar h3 {
    font-size: 21px;
  }
  .ecosystem-pillar p {
    font-size: 13px;
  }
  .ecosystem-brand {
    width: 144px;
    height: 144px;
  }
  .ecosystem-brand img {
    width: 114px;
  }
  .ecosystem-bottom {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 540px) {
  html {
    scroll-padding-top: 108px;
  }
  .header {
    top: 14px;
  }
  .header-inner {
    width: calc(100% - 24px);
    min-height: 64px;
    padding: 10px 10px 10px 14px;
    border-radius: 18px;
    gap: 8px;
  }
  .header-inner > .brand img {
    width: 118px;
  }
  .header-cta {
    display: inline-flex;
    min-height: 40px;
    padding: 10px 12px;
    font-size: 11px;
    gap: 7px;
    margin: 0 0 0 auto;
    border-radius: 11px;
  }
  .header-cta svg {
    width: 15px;
    height: 15px;
  }
  .mobile-menu {
    width: 34px;
    height: 40px;
  }
  .mobile-menu svg {
    width: 21px;
    height: 21px;
  }
  .hero-inner {
    padding-top: 134px;
  }
  .connected-ecosystem {
    padding: 30px 0 50px;
  }
  .connected-ecosystem .section-heading {
    margin-bottom: 34px;
  }
  .ecosystem-pillar {
    min-height: 235px;
    padding: 20px 10px 57px;
  }
  .ecosystem-pillar:nth-of-type(n + 3) {
    padding: 57px 10px 20px;
  }
  .ecosystem-pillar > svg {
    width: 25px;
    height: 25px;
    margin-bottom: 17px;
  }
  .ecosystem-pillar h3 {
    font-size: 18px;
    letter-spacing: -0.45px;
    margin-bottom: 10px;
    max-width: 12ch;
    margin-inline: auto;
  }
  .ecosystem-pillar p {
    font-size: 12px;
    line-height: 1.6;
    max-width: 22ch;
  }
  .ecosystem-brand {
    width: 106px;
    height: 106px;
    padding: 12px;
    box-shadow:
      0 0 0 6px #ffffff70,
      0 5px 25px #30557a0d;
  }
  .ecosystem-brand img {
    width: 85px;
  }
  .ecosystem-bottom {
    margin-top: 14px;
    padding-top: 20px;
    gap: 23px;
  }
  .ecosystem-credentials {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 20px;
  }
  .ecosystem-credentials span {
    font-size: 10px;
  }
  .ecosystem-credentials svg {
    width: 16px;
    height: 16px;
  }
}
@media (max-width: 360px) {
  .header-inner > .brand img {
    width: 100px;
  }
  .header-cta {
    padding-inline: 10px;
    gap: 5px;
  }
  .ecosystem-pillar h3 {
    font-size: 17px;
  }
  .ecosystem-pillar {
    min-height: 250px;
  }
  .ecosystem-pillar p {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .header-inner::before,
  .header-cta::before {
    animation: none;
  }
}
@media (forced-colors: active) {
  .hero h1 .ink-gradient,
  .hero h1 em,
  .section-heading h2 em {
    background: none;
    color: CanvasText;
  }
  .header-inner::before,
  .header-cta::before {
    display: none;
  }
}
