@font-face {
  font-family: "Lato";
  src: url("assets/fonts/lato-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("assets/fonts/lato-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Heebo";
  src: url("assets/fonts/heebo-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --magenta: #bf00b7;
  --green: #14eab1;
  --heading: #3a3a3a;
  --text: #4b4f58;
  --pale: #f1f4fa;
  --white: #fff;
  --border: #ddd;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Lato", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85714;
}

body.menu-open {
  overflow: hidden;
}

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

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

p {
  margin: 0 0 20px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--heading);
  font-family: "Heebo", Arial, sans-serif;
  font-weight: 500;
}

h1 {
  font-size: 80px;
  line-height: 1.4;
}

h2 {
  font-size: 48px;
  line-height: 1.3;
}

h3 {
  font-size: 18px;
  line-height: 1.3;
}

.container {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--magenta);
  transform: translateY(-150%);
}

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

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
}

.legal-page .site-header {
  position: relative;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.header-inner {
  display: flex;
  width: min(100% - 80px, 1200px);
  min-height: 70px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  width: 220px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 35px;
  font-size: 15px;
  line-height: 1;
}

.site-nav > a:not(.button) {
  position: relative;
  padding: 27px 0;
  transition: color 160ms ease;
}

.site-nav > a:not(.button):hover,
.site-nav > a:not(.button):focus-visible,
.site-nav > a.active {
  color: var(--magenta);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--magenta);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--magenta);
  transition: transform 180ms ease, opacity 180ms ease;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 13px 29px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--magenta);
  border-radius: 5px;
  color: var(--magenta);
  background: transparent;
  font-family: "Heebo", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  color: var(--white);
  background: var(--magenta);
}

.button-small {
  min-height: 44px;
  padding: 10px 21px;
  font-size: 15px;
}

.button-filled {
  color: var(--white);
  background: var(--magenta);
}

.button-filled:hover,
.button-filled:focus-visible {
  color: var(--magenta);
  background: transparent;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--magenta);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero {
  overflow: hidden;
  background: var(--pale) url("assets/images/circle-bg.png") center / cover no-repeat;
}

.hero-inner {
  display: flex;
  width: min(100%, 1280px);
  padding: 80px 40px 0;
  align-items: center;
}

.hero-copy,
.hero-art {
  width: 50%;
}

.hero-copy {
  z-index: 1;
  padding: 60px 0 70px;
}

.hero-copy p {
  max-width: 465px;
  margin: 30px 0 30px;
  font-size: 16px;
}

.hero-art {
  align-self: flex-end;
  margin-left: -100px;
}

.hero-art img {
  width: 701px;
  max-width: none;
}

.about {
  padding: 50px 40px 104px;
  background: var(--white);
}

.two-column {
  display: flex;
  align-items: center;
}

.about-art,
.about-copy {
  width: 50%;
}

.about-art img {
  width: 576px;
}

.about-copy {
  padding: 0 56px 0 80px;
}

.about-copy h2 {
  margin-bottom: 28px;
}

.about-copy p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.85714;
}

.about-copy .button {
  margin-top: 12px;
}

.services {
  position: relative;
  padding: 0 40px 104px;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--white) 16%, var(--pale) 16%);
}

.services-inner {
  position: relative;
}

.services-photo-wrap {
  position: relative;
}

.services-photo {
  min-height: 480px;
  margin-bottom: 80px;
  border-radius: 8px;
  background: url("assets/images/services.jpg") center / cover no-repeat;
  box-shadow: 0 48px 96px -24px rgba(0, 0, 0, 0.24);
}

.section-mark {
  position: absolute;
  z-index: 2;
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.section-mark-right {
  top: -104px;
  right: -112px;
}

.section-mark-left {
  bottom: -172px;
  left: -142px;
}

.services-heading {
  display: flex;
  min-height: 242px;
  margin-bottom: 56px;
  align-items: flex-end;
  justify-content: space-between;
}

.services-heading h2 {
  font-size: 48px;
}

.services-heading .button {
  margin-bottom: 8px;
}

.service-grid {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 215px 275px;
  border-radius: 2px;
  background: var(--white);
}

.service-card {
  min-height: 208px;
  padding: 32px;
  border-right: 1px solid #e9ecf2;
  border-bottom: 1px solid #e9ecf2;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.service-card:nth-child(even) {
  border-right: 0;
}

.service-card:nth-child(n + 3) {
  border-bottom: 0;
}

.service-card:hover {
  z-index: 1;
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.16);
  transform: translateY(-2px);
}

.card-number {
  margin-bottom: 14px;
  color: var(--magenta);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card > p:last-child {
  margin: 0;
  font-size: 16px;
  line-height: 1.85714;
}

.solutions {
  padding: 105px 40px 104px;
  background: var(--white) url("assets/images/solutions-circles.svg") left center / auto 100% no-repeat;
}

.solutions-inner {
  display: flex;
  align-items: center;
}

.solution-gallery {
  display: flex;
  width: 50%;
  gap: 32px;
}

.gallery-column {
  display: flex;
  width: calc(50% - 16px);
  flex-direction: column;
  gap: 32px;
}

.gallery-column-down {
  padding-top: 82px;
}

.gallery-image {
  position: relative;
  min-height: 246px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--image) center / cover no-repeat;
}

.gallery-image::after {
  position: absolute;
  inset: 0;
  background: rgba(24, 80, 225, 0.4);
  content: "";
}

.solutions-copy {
  width: 50%;
  min-height: 1138px;
  padding: 0 80px;
}

.solutions-copy > h2 {
  margin-bottom: 30px;
}

.solution-block + .solution-block {
  margin-top: 32px;
}

.solution-block h3 {
  margin-bottom: 20px;
  font-size: 24px;
  line-height: 1.2;
}

.solution-block p,
.check-list {
  font-size: 16px;
  line-height: 1.85714;
}

.solution-block {
  padding: 0 10px;
}

.check-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}

.check-list li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 24px;
}

.check-list li::before {
  position: absolute;
  top: 0.65em;
  left: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  content: "";
  transform: translateY(-50%);
}

.why-us {
  padding: 104px 40px;
}

.section-intro {
  min-height: 246px;
  text-align: center;
}

.section-intro > p:last-child {
  margin: 20px 200px 0;
  font-size: 14px;
}

.feature-grid {
  display: grid;
  margin-top: 48px;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.feature-card:first-child {
  padding-right: 16px;
}

.feature-card:nth-child(2) {
  padding-right: 11px;
  padding-left: 5px;
}

.feature-card:last-child {
  padding-right: 5px;
  padding-left: 11px;
}

.feature-card img {
  width: 64px;
  height: 64px;
  margin-bottom: 25px;
  object-fit: contain;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85714;
}

.contact {
  padding: 28px 40px 0;
  background: linear-gradient(to bottom, var(--white) 0 80%, var(--magenta) 80% 100%);
}

.contact-card {
  display: flex;
  height: 806px;
  padding: 50px 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--pale) url("assets/images/circle-bg.png") center / cover no-repeat;
}

.contact-copy,
.contact-form-wrap {
  width: 50%;
}

.contact-copy {
  padding: 24px 24px 24px 64px;
}

.contact-copy h2 {
  margin-bottom: 24px;
  font-size: 43px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 485px;
  font-size: 14px;
}

.address {
  display: flex;
  margin-top: 38px;
  align-items: flex-start;
  gap: 24px;
}

.address .eyebrow {
  margin-bottom: 3px;
}

.address address {
  color: var(--heading);
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
}

.pin {
  position: relative;
  display: block;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.pin::before {
  position: absolute;
  top: 12px;
  left: 15px;
  width: 12px;
  height: 16px;
  border-radius: 9px 9px 9px 0;
  background: var(--magenta);
  content: "";
  transform: rotate(-45deg);
}

.pin::after {
  position: absolute;
  top: 16px;
  left: 19px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--white);
  content: "";
}

.contact-form-wrap {
  padding-left: 80px;
}

.site-footer {
  color: var(--white);
  background: var(--magenta);
}

.legal-main {
  padding: 100px 30px;
  background: var(--white);
}

.legal-document > h1 {
  margin-bottom: 55px;
  font-size: 48px;
  line-height: 1.3;
}

.legal-copy h2 {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.legal-copy p {
  margin: 0 0 16px;
}

.legal-copy strong {
  font-weight: 700;
}

.footer-promo {
  display: flex;
  height: 329px;
  padding: 80px 0 110px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  align-items: center;
}

.footer-logo {
  width: 30%;
}

.footer-logo img {
  width: 288px;
}

.footer-copy {
  width: 70%;
}

.footer-copy h2 {
  margin-bottom: 24px;
  color: var(--pale);
  font-family: "Lato", Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
}

.footer-copy p {
  margin: 0;
  color: var(--pale);
  font-size: 15px;
}

.footer-legal {
  height: 120px;
  padding: 20px 0;
  text-align: center;
}

.footer-legal p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 38px;
  }

  .site-nav {
    gap: 20px;
  }

  .site-logo img {
    width: 185px;
  }

  .solutions-copy {
    padding: 0 30px 0 55px;
  }

  .contact-copy h2 {
    font-size: 36px;
  }

  .footer-promo,
  .footer-legal {
    width: calc(100% - 80px);
  }
}

@media (max-width: 921px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 20px;
  }

  .header-inner {
    width: calc(100% - 80px);
  }

  .site-logo img {
    width: 220px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 40px;
    left: 40px;
    display: none;
    padding: 10px 24px 24px;
    border-radius: 4px;
    background: var(--white);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav > a:not(.button) {
    padding: 15px 2px;
    border-bottom: 1px solid #edf0f4;
  }

  .site-nav .button {
    margin-top: 16px;
  }

  .button {
    min-height: 46px;
    padding: 12px 23px;
  }

  .hero-inner {
    width: 100%;
    padding: 80px 40px 0;
  }

  .hero-copy {
    padding: 40px 0 45px;
  }

  .hero-copy p {
    margin: 22px 0;
  }

  .hero-art {
    margin-right: -24px;
    margin-left: 0;
  }

  .hero-art img {
    width: 100%;
  }

  .about {
    padding: 80px 40px 80px 0;
  }

  .about-copy {
    padding: 0 0 0 24px;
  }

  .about-copy h2 {
    margin-bottom: 20px;
  }

  .services {
    padding: 0 40px 80px;
  }

  .services-photo {
    min-height: 390px;
    margin-bottom: 60px;
  }

  .services-heading h2 {
    font-size: 32px;
  }

  .services-heading {
    min-height: 0;
  }

  .service-grid {
    grid-template-rows: auto;
  }

  .solutions {
    padding: 81px 40px 80px;
  }

  .solution-gallery {
    gap: 18px;
  }

  .gallery-column {
    width: calc(50% - 9px);
    gap: 18px;
  }

  .gallery-image {
    min-height: 180px;
  }

  .solutions-copy {
    min-height: 0;
    padding: 0 0 0 32px;
  }

  .solution-block h3 {
    font-size: 18px;
  }

  .section-intro > p:last-child {
    margin-right: 100px;
    margin-left: 100px;
  }

  .feature-grid {
    gap: 28px;
  }

  .contact-card {
    height: auto;
    min-height: auto;
  }

  .contact-copy {
    padding-left: 40px;
  }

  .contact-copy h2 {
    font-size: 30px;
  }

  .contact-form-wrap {
    padding-left: 25px;
  }

}

@media (max-width: 767px) {
  .header-inner {
    width: calc(100% - 48px);
  }

  .site-nav {
    right: 24px;
    left: 24px;
  }

  .hero {
    background-position: 70% 66vh;
    background-size: 280vw auto;
  }

  .legal-main {
    padding: 50px 20px;
  }

  .legal-document > h1 {
    margin-bottom: 45px;
    font-size: 32px;
  }

  .legal-copy h2 {
    font-size: 22px;
  }

  .hero-inner {
    padding: 96px 24px 0;
    flex-direction: column;
  }

  .hero-copy,
  .hero-art,
  .about-art,
  .about-copy,
  .solution-gallery,
  .solutions-copy,
  .contact-copy,
  .contact-form-wrap {
    width: 100%;
  }

  .hero-copy {
    padding: 24px 0;
  }

  .hero-art {
    margin: 0;
  }

  .hero-art img {
    width: min(100%, 520px);
    margin: 0 auto;
  }

  .about {
    padding: 64px 24px;
  }

  .two-column {
    flex-direction: column;
  }

  .about-art img {
    width: min(100%, 520px);
    margin: 0 auto 40px;
  }

  .about-copy {
    padding: 0;
  }

  .services {
    padding: 0 24px 64px;
    background: linear-gradient(to bottom, var(--white) 8%, var(--pale) 8%);
  }

  .services-photo {
    min-height: 320px;
    margin-bottom: 40px;
  }

  .section-mark-right {
    top: -66px;
    right: -78px;
    width: 130px;
    height: 130px;
  }

  .section-mark-left {
    bottom: -130px;
    left: -90px;
    width: 130px;
    height: 130px;
  }

  .services-heading {
    margin-bottom: 40px;
    align-items: flex-start;
    flex-direction: column;
  }

  .services-heading h2 {
    font-size: 30px;
  }

  .services-heading h2 br,
  .solutions-copy > h2 br,
  .section-intro h2 br,
  .contact-copy h2 br {
    display: none;
  }

  .services-heading .button {
    margin-top: 24px;
  }

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

  .service-card,
  .service-card:nth-child(even),
  .service-card:nth-child(n + 3) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #e9ecf2;
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .solutions {
    padding: 81px 24px 64px;
    background-size: auto 65%;
    background-position: left bottom;
  }

  .solutions-inner {
    flex-direction: column-reverse;
  }

  .solutions-copy {
    padding: 0;
  }

  .solution-gallery {
    margin-top: 48px;
  }

  .gallery-image {
    min-height: 190px;
  }

  .why-us {
    padding: 40px 24px 64px;
  }

  .section-intro {
    min-height: 0;
    text-align: left;
  }

  .section-intro > p:last-child {
    margin: 18px 0 0;
  }

  .feature-grid {
    margin-top: 48px;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feature-card:first-child,
  .feature-card:nth-child(2),
  .feature-card:last-child {
    padding-right: 0;
    padding-left: 0;
  }

  .contact {
    padding: 28px 24px 0;
    background: linear-gradient(to bottom, var(--white) 0 90%, var(--magenta) 90% 100%);
  }

  .contact-card {
    padding: 40px 0 0;
    flex-direction: column;
  }

  .contact-copy {
    padding: 24px;
  }

  .contact-copy h2 {
    font-size: 32px;
  }

  .contact-form-wrap {
    padding: 0;
  }

  .footer-promo {
    width: calc(100% - 48px);
    height: auto;
    padding: 64px 0 50px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-logo,
  .footer-copy {
    width: 100%;
  }

  .footer-logo img {
    width: 250px;
    margin-bottom: 30px;
  }

  .footer-legal {
    width: calc(100% - 48px);
  }
}

@media (max-width: 544px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 25px;
  }

  .site-logo img {
    width: 150px;
  }

  .services-photo {
    min-height: 270px;
  }

  .services-heading h2,
  .contact-copy h2 {
    font-size: 27px;
  }

  .solution-gallery {
    gap: 12px;
  }

  .gallery-column {
    width: calc(50% - 6px);
    gap: 12px;
  }

  .gallery-column-down {
    padding-top: 50px;
  }

  .gallery-image {
    min-height: 142px;
  }

  .footer-copy h2 {
    font-size: 20px;
  }
}

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

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