:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: #1d1d1f;
  background: #f5f5f7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(120deg, transparent 0 42%, rgb(0 113 227 / 5%) 42.1% 42.35%, transparent 42.5% 100%),
    linear-gradient(35deg, transparent 0 63%, rgb(29 29 31 / 4%) 63.1% 63.3%, transparent 63.45% 100%),
    #f5f5f7;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgb(0 0 0 / 6%);
  background: rgb(245 245 247 / 78%);
  backdrop-filter: saturate(180%) blur(18px);
}

.brand {
  font-size: 0.92rem;
  font-weight: 800;
}

.site-nav nav {
  display: flex;
  gap: 26px;
  color: #6e6e73;
  font-size: 0.82rem;
  font-weight: 700;
}

main {
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: 610px;
  place-items: center;
  padding: 86px 0 70px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #86868b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 4.4vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin: 0 auto 26px;
  color: #56565c;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  font-weight: 650;
  line-height: 1.42;
}

.primary-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  background: #0071e3;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
}

.service-section {
  padding: 18px 0 24px;
}

.section-heading {
  display: grid;
  max-width: 820px;
  margin: 0 auto 24px;
  text-align: center;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: 0;
}

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

.service-grid article,
.markets {
  border: 1px solid #e7e7eb;
  border-radius: 26px;
  background: rgb(255 255 255 / 76%);
  box-shadow: 0 22px 58px rgb(0 0 0 / 5%);
}

.service-grid article {
  min-height: 245px;
  padding: 26px;
}

.service-grid span {
  color: #86868b;
  font-size: 0.78rem;
  font-weight: 850;
}

h3 {
  margin: 50px 0 12px;
  font-size: 1.12rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.service-grid p,
.markets li,
footer {
  color: #626268;
  font-size: 0.95rem;
  font-weight: 620;
  line-height: 1.5;
}

.service-grid p {
  margin-bottom: 0;
}

.markets {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 14px 0 42px;
  padding: 32px;
}

.markets h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
}

.markets ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
  list-style: none;
}

.markets li {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid #d8d8de;
  border-radius: 999px;
  padding: 0 16px;
  background: #fff;
}

footer {
  display: flex;
  width: min(1120px, calc(100vw - 40px));
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto;
  padding: 0 0 34px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid #e7e7eb;
  border-radius: 26px;
  margin: 0 0 42px;
  padding: 32px;
  background: rgb(255 255 255 / 76%);
  box-shadow: 0 22px 58px rgb(0 0 0 / 5%);
}

.contact-panel h2 {
  max-width: 600px;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

.contact-panel img,
footer img {
  display: block;
}

@media (max-width: 940px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .markets {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .markets ul {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-nav {
    padding: 0 18px;
  }

  .site-nav nav {
    gap: 14px;
  }

  .brand {
    max-width: 180px;
    line-height: 1.15;
  }

  main,
  footer {
    width: min(100vw - 28px, 520px);
  }

  .hero {
    min-height: 520px;
    padding-top: 60px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: auto;
  }
}
