:root {
  --bg: #EFF0F1;
  --shell: #ebebee;
  --surface: #ffffff;
  --muted: #3f4b62;
  --brand: #086bf4;
  --brand-contrast: #ffffff;
  --secondary-bg: #F2F2F2;
  --secondary-label: #086bf4;
  --radius: 1rem;
  --content-strongest: #1F2021;
  --content-gray: #8B8D8F;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'IBM Plex Sans', system-ui;
  color: var(--content-strongest);
  background: var(--bg);
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.app-shell {
  height: 100%;
  padding: 1rem;
  display: grid;
  grid-template-rows: auto 1fr;
  /* gap: 1rem; */
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  /* height: clamp(2rem, 3vw, 2.65rem); */
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #111;
  font-weight: 600;
}

.nav-links .btn {
  color: #fff;
}

.nav-links .btn:hover {
  color: #fff;
}

.nav-links a:hover {
  /* text-decoration: underline; */
  color: #086bf4;
}

.viewport-shell {
  min-height: 0;
}

.section-wrapper {
  padding: inherti;
}

.page-card {
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  background: var(--surface);
  border-radius: 0.95rem;
  padding: clamp(0.75rem, 2vw, 1.45rem);
  border: 4px solid #fff;
}

main {
  display: grid;
  gap: 1.1rem;
}

[id] {
  scroll-margin-top: 0.8rem;
}

.btn {
  border: 0;
  border-radius: 0.7rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.btn-primary {
  color: var(--brand-contrast);
  background: var(--brand);
}

.btn-secondary {
  color: var(--secondary-label);
  background: var(--secondary-bg);
}

.btn-primary:hover,
.btn-secondary:hover {
  opacity: 0.70;
}

.hero {
  border-radius: var(--radius);
  min-height: 470px;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.05fr 1fr;
  overflow: hidden;
}


.hero-copy {
  padding: clamp(1.2rem, 4vw, 3rem);
  align-self: center;
}

.eyebrow {
  color: #171c24;
  margin-bottom: 0.3rem;
  font-weight: 600;
}


.hero h1 {
  font-size: clamp(1.8rem, 3.6vw, 4rem);
  line-height: 110%;
  margin: 0.2rem 0 0.8rem;
  font-weight: 500;
  /* max-width: 17ch; */
}

.hero p {
  max-width: 60ch;
  color: #171c24;
  font-size: 1.25rem;
  padding: 1rem 0rem;
}

.hero-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.7rem;
}

.hero-art {
  display: grid;
  place-items: center;
  /* padding: clamp(1rem, 3vw, 2.2rem); */
}

.hero-art img {
  /* width: min(100%, 760px); */
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.logo-belt-wrap {
  overflow: hidden;
  padding: 0.9rem 0 0.6rem;
  padding: 3rem 0;
}

.logo-belt-title {
  margin: 0 0 1rem;
  text-align: center;
  font-size: clamp(1.1rem, 1.8vw, 2rem);
  font-weight: 600;
  font-size: 1rem;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  animation: belt 120s linear infinite;
  padding-top: 2rem;
}

.logo-item {
  min-width: 138px;
  height: 72px;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.logo-item img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
}

@keyframes belt {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: clamp(1rem, 2.8vw, 2rem);
}

.section h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin: 0 0 1rem;
  font-family: 'IBM Plex Mono', system-ui;
  font-weight: 500;
  padding-bottom: 2rem;
  max-width: 35ch;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.testimonial-card {
  background: #e6f3ff;
  border-radius: 0.8rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card p {
  margin: 0;
  font-size: 1.5rem;
  line-height: 135%;
}

.testimonial-card footer {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  color: #1F2021;
}

.testimonial-card span {
  opacity: .7;
}


.services {
  background: #F0F0F0;
  margin: 0 -1.5rem -1.1rem -1.5rem;
  padding: 3rem;
}

.services-title-brand {
  color: #184d9a;
}

.services-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}

.service-tab {
  border: 0;
  background: #fff;
  color: #171c24;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  /* line-height: 1; */
  font-weight: 600;
  cursor: pointer;
}

.service-tab:hover {
  opacity: .7;
}

.service-tab.active {
  background: #086bf4;
  color: #fff;
}

.service-tab:visited {
  background: #1f2229;
  color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  padding-bottom: 3rem;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  height: 100%;
}

.service-card[hidden] {
  display: none;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 1rem 0 1rem 0;
  color: #00a7a2;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 2.2;
}

.service-card h3 {
  margin: 0rem 0rem 1.5rem 0rem;
  font-size: 1.5rem;
}

.service-card p {
  margin: 0;
  color: #273750;
  font-size: 1rem;
  line-height: 1.35;
}


.team {
  background: #171c24;
  /* border-radius: var(--radius); */
  color: #fff;
  margin: 0 -1.5rem 3rem -1.5rem;
  padding: 3rem;
}

.team-header {
  /* max-width: 70ch; */
  color: #fff;
  padding: 0rem 0rem 6rem 0rem;
}

.team-header > h1{
  font-size: 3.5rem;
  font-weight: 500;
  margin-bottom: .5rem;
  /* letter-spacing: -2.5%; */
}

.team-header > p{
  font-size: 1.25rem;
}

.team .eyebrow {
  color: #fff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 2rem;
}

.team-card {
  background: #232a36;
  /* border: 1px solid #354054; */
  border-radius: 0.8rem;
  padding: 1rem;
}

.team-card > p {
  color: #c5d0e3;
}

.team-card > h3 {
  margin-bottom: -.75rem;
}

.team-card > ul {
  line-height: 1.75rem;
  padding-left: 2rem;
}

.avatar {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  border-radius: 0.65rem;
  margin-bottom: 0.7rem;
}

.cta {
  background: #144992;
  color: #fff;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr minmax(260px, 50%);
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 280ms ease, background-color 280ms ease;
}

.cta::before {
  content: "";
  position: absolute;
  top: -120%;
  right: -120%;
  width: 220%;
  height: 220%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.34) 0%, rgba(146, 197, 255, 0.22) 35%, rgba(255, 255, 255, 0.1) 62%, rgba(255, 255, 255, 0) 100%);
  transform: scale(0);
  opacity: 0;
  transform-origin: top right;
  transition: transform 520ms ease, opacity 420ms ease;
  z-index: 0;
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta:hover,
.cta:focus-within {
  transform: translateY(-0.2rem) scale(1.01);
  background-color: #0f458d;
}

.cta:hover::before,
.cta:focus-within::before {
  transform: scale(1.15);
  opacity: 1;
}


.cta-content{
  padding-left: 1rem;
}

.cta-art{
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
}


.cta-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  transform: scale(1);
  transition: transform 360ms ease;
}

.cta:hover .cta-art img,
.cta:focus-within .cta-art img {
  transform: scale(1.045);
}

.cta span{
  padding: 0.5rem;
  background: #fff;
  border-radius: 99px;
  margin-bottom: -2rem;
}

.cta .service-icon{
  height: 2.5rem;
  width: 2.5rem;
  color: #144992;
}


.cta h1{
  font-size: 3rem;
  margin: 1rem 0rem;
}

.cta p{
  font-size: 1.5rem;
  padding-bottom: 2rem;
  max-width: 40ch;
}

.cta .btn-primary{
  background-color: #fff;
  color: #144992;
  transition: opacity 200ms ease, transform 200ms ease;
}

.cta:hover .btn-primary,
.cta:focus-within .btn-primary {
  opacity: 0.9;
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .cta,
  .cta::before,
  .cta .btn-primary,
  .cta .cta-art img {
    transition: none;
  }

  .cta:hover,
  .cta:focus-within {
    transform: none;
    box-shadow: none;
  }

  .cta:hover::before,
  .cta:focus-within::before {
    opacity: 0;
    transform: scale(0);
  }

  .cta:hover .cta-art img,
  .cta:focus-within .cta-art img {
    transform: none;
  }
}

.footer {
  background: #F7F9FB;
  color: var(--content-strongest)
  border-radius: 0rem 0rem 1rem 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 4rem 5rem;
  font-size: 0.92rem;
  margin: 3rem -1.5rem -2rem -1.5rem;

}

.footer p {
  margin: 0.2rem 0;
}

.footer a {
  color: var(--content-strongest);
  text-decoration: none;
  font-weight: 500;
}

.footer a:hover{
  color: var(--brand);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-column p {
  font-weight: 800;
}


.section-wrapper .footer{
  padding: 6rem 5rem;
}


@media (max-width: 960px) {
  .hero,
  .cta {
    grid-template-columns: 1fr;
  }
  

  .hero {
    min-height: auto;
  }

  .hero-art {
    padding-top: 0;
  }

  .testimonial-grid,
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links {
    gap: 0.65rem;
  }

  .nav-links a:not(.btn) {
    display: none;
  }
}

@media (max-width: 640px) {
  .app-shell {
    padding: 0.5rem;
    gap: 0.5rem;
  }

  .top-nav {
    padding: 0.25rem;
  }

  .page-card {
    padding: 0.25rem;
  }


  .hero-copy,
  .section {
    padding: 0.75rem;
  }

  .hero-art {
    padding: 0.9rem;
  }

  .logo-item {
    min-width: 118px;
    height: 60px;
  }

  .logo-item img {
    max-height: 60px;
  }

  .testimonial-grid,
  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .services{
    margin: 0 -.5rem -1.1rem -.5rem;
    padding: 2rem;
  }

  .team{
    margin: 0 -.5rem -1.1rem -.5rem;
    padding: 2rem;
  }

  .team .eyebrow{
    padding-left: 1rem;
  }

  .team-header {
    padding:  1rem 1rem 3rem 1rem;
  }

  .team-header h1{
    line-height: 110%;
    font-size: 2.5rem;
  }

  .cta{
    max-width: 100%;
    margin-top: 2rem;
    
  }

  .cta-content{
    padding: 1rem;
  }

  .cta h1{
    font-size: 2rem;
  }

  .cta p{
    font-size: 1.5rem;
  }

  .footer {
    flex-direction: column;
    padding: 2.5rem;
  }

}


@media (min-width: 1420px) {
  .section-wrapper {
    padding-left: 5rem;
    padding-right: 5rem;
  }


  .team-grid{
    max-width: 80%;
    margin: auto;
    padding-bottom: 3rem;
  }
}

@media (min-width: 1820px) {
  .section-wrapper {
    padding: 6rem 15rem 2rem 15rem;
  }
  .hero {
    padding-top: 2.5rem;
  }

  .team-grid{
    max-width: 80%;
    margin: auto;
    padding-bottom: 3rem;
  }

  .cta{
  max-width: 70%;
  padding: 1.5rem;
  margin: auto;
  }

}

.back-button {
  display: flex;
  gap: .25rem;
  font-size: 1.25rem;
  text-decoration: none;
  padding-bottom: 2rem;
  color: var(--content-strongest);
  align-items: center;
}

.back-button:hover{
  opacity: .7;
}
