html {
  font-size: 62.5%;
}

* {
  scroll-behavior: smooth;
}

:root {
  --primary-color: #4b68ff;
  --black: #000000;
  --dark-gray: #151515;
  --gray: #595959;
  --white: #ffffff;
  --light-blue: #f4f6ff;
  --background: #f6f6f6;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--black);
  background-color: var(--background);
}

main {
  overflow-x: hidden;
}

.container {
  max-width: 144rem;
  margin: 0 auto;
  padding: 0 3.2rem;
}

header {
  display: flex;
  width: 100%;
  max-width: 160rem;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 5.8rem 0;
  margin-left: auto;
  margin-right: auto;
}

header .button-primary {
  white-space: nowrap;
}

.nav {
  display: flex;
  width: 60rem;
}

.nav-links {
  display: flex;
  width: 60rem;
}

.nav-links li {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 10rem;
  flex: 1;
}

#logo {
  flex-shrink: 0;
}

.button {
  width: 17.5rem;
  height: 4.8rem;
  border-radius: 2.4rem;
  padding: 1.2rem 3.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}

.button.lg {
  width: 20.1rem;
  font-weight: 700;
}

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

.button-gradient {
  background: radial-gradient(
    47.97% 151.23% at 59.5% 33.18%,
    #000000 0%,
    #021b79 53.12%,
    #4b68ff 100%
  );
  color: var(--white);
}

.button-secondary {
  background-color: var(--white);
  color: var(--black);
}

/* Main */

.page-title {
  font-family: "Plus Jakarta Sans";
  font-weight: 600;
  font-size: 6.4rem;
  line-height: 120%;
  letter-spacing: 0%;
  text-align: center;
  color: var(--dark-gray);
  margin-bottom: 2rem;
}

.mail {
  color: var(--primary-color);
}

.terms-of-business {
  padding-top: 6.4rem;
  padding-bottom: 6.4rem;
}

.terms-of-business h2,
.terms-of-business h3 {
  color: var(--dark-gray);
  font-family: "Plus Jakarta Sans";
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 120%;
  letter-spacing: 0%;
  margin-top: 4.8rem;
  margin-bottom: 2.4rem;
}

.terms-of-business p {
  font-family: "Plus Jakarta Sans";
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 160%;
  letter-spacing: 0%;
  color: var(--gray);
  margin-bottom: 2rem;
}

.terms-of-business li {
  font-family: "Plus Jakarta Sans";
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 160%;
  letter-spacing: 0%;
  color: var(--gray);
  margin-bottom: 0.4rem;
}

.terms-of-business strong,
.terms-of-business b {
  font-family: "Plus Jakarta Sans";
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 160%;
  letter-spacing: 0%;
  color: var(--gray);
}

.terms-of-business ol {
  counter-reset: item;
  padding-left: 2.4rem;
  margin-bottom: 2rem;
  list-style-type: none;
}

.terms-of-business ol > li {
  counter-increment: item;
  position: relative;
  padding-left: 2.2rem;
}

.terms-of-business ol > li::before {
  content: counter(item) ".";
  position: absolute;
  left: -2.4rem;
  font-weight: 400;
  color: var(--gray);
}

.terms-of-business ul {
  padding-left: 2.4rem;
  margin-bottom: 2rem;
  list-style-type: none;
}

.terms-of-business ul > li {
  position: relative;
  padding-left: 0.8rem;
}

.terms-of-business ul > li::before {
  content: "•";
  position: absolute;
  left: -2.4rem;
  font-weight: 400;
  color: var(--dark-gray);
}

.terms-of-business li ul,
.terms-of-business li ol {
  margin-top: 2rem;
}
.table-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 129.6rem;
  width: 100%;
  border: 1px solid var(--dark-gray);
  border-bottom: none;
  border-collapse: collapse;
  border-radius: 2.8rem;
  margin-bottom: 2rem;
}
.table-container > * {
  padding: 1.6rem;
  border-right: 1px solid var(--dark-gray);
  border-bottom: 1px solid var(--dark-gray);
  max-width: 43.2rem;
  overflow-wrap: break-word;
  color: var(--gray);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.2;
}
.table-container > .header {
  font-weight: bold;
  background-color: var(--dark-gray);
  color: var(--white);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--gray);
}
.table-container > .header > span {
  font-size: 1.8rem;
}
.table-container > .header:nth-child(1) {
  border-top-left-radius: 2.4rem;
}
.table-container > .header:nth-child(3) {
  border-top-right-radius: 2.4rem;
  border-right: none;
}
.table-container :nth-last-of-type(3) {
  border-bottom-left-radius: 2.4rem;
}
.table-container :nth-last-of-type(1) {
  border-bottom-right-radius: 2.4rem;
}
.table-container > .header:last-child {
  border-right: none;
}
.table-container span {
  display: inline-block;
  margin-right: 1.6rem;
}
.numbering > span {
  margin-bottom: 0.8rem;
}
.block-title {
  margin-bottom: 0.8rem;
}
.row-flex-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.numbering + div {
  border-right: none;
}

/* Business */
h5 {
  font-size: 1.8rem;
}
.terms-of-business .secondary-list {
  padding-left: 0;
  margin-left: -2.1rem;
}
.terms-of-business .alpha-list > li::before {
  content: "";
}
.terms-of-business .alpha-list {
  list-style-type: lower-alpha;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

ol.secondary-list {
  counter-reset: section;
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 2rem;
}
ol.secondary-list > li {
  counter-increment: section;
}
ol.tertiary-list {
  counter-reset: subsection;
  list-style-type: none;
  padding-left: 0;
  margin-left: 2.4rem;
}
ol.tertiary-list > li {
  counter-increment: subsection;
  padding-left: 3.2rem;
}

ol.secondary-list--1 > li:before {
  content: "1." counter(section) ". ";
}
ol.tertiary-list--1 > li:before {
  content: "1." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--2 > li:before {
  content: "2." counter(section) ". ";
}
ol.tertiary-list--2 > li:before {
  content: "2." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--3 > li:before {
  content: "3." counter(section) ". ";
}
ol.tertiary-list--3 > li:before {
  content: "3." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--4 > li:before {
  content: "4." counter(section) ". ";
}
ol.tertiary-list--4 > li:before {
  content: "4." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--5 > li:before {
  content: "5." counter(section) ". ";
}
ol.tertiary-list--5 > li:before {
  content: "5." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--6 > li:before {
  content: "6." counter(section) ". ";
}
ol.tertiary-list--6 > li:before {
  content: "6." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--7 > li:before {
  content: "7." counter(section) ". ";
}
ol.tertiary-list--7 > li:before {
  content: "7." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--8 > li:before {
  content: "8." counter(section) ". ";
}
ol.tertiary-list--8 > li:before {
  content: "8." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--9 > li:before {
  content: "9." counter(section) ". ";
}
ol.tertiary-list--9 > li:before {
  content: "9." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--10 > li:before {
  content: "10." counter(section) ". ";
}
ol.tertiary-list--10 > li:before {
  content: "10." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--11 > li:before {
  content: "11." counter(section) ". ";
}
ol.tertiary-list--11 > li:before {
  content: "11." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--12 > li:before {
  content: "12." counter(section) ". ";
}
ol.tertiary-list--12 > li:before {
  content: "12." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--13 > li:before {
  content: "13." counter(section) ". ";
}
ol.tertiary-list--13 > li:before {
  content: "13." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--14 > li:before {
  content: "14." counter(section) ". ";
}
ol.tertiary-list--14 > li:before {
  content: "14." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--15 > li:before {
  content: "15." counter(section) ". ";
}
ol.tertiary-list--15 > li:before {
  content: "15." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--16 > li:before {
  content: "16." counter(section) ". ";
}
ol.tertiary-list--16 > li:before {
  content: "16." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--17 > li:before {
  content: "17." counter(section) ". ";
}
ol.tertiary-list--17 > li:before {
  content: "17." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--18 > li:before {
  content: "18." counter(section) ". ";
}
ol.tertiary-list--18 > li:before {
  content: "18." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--19 > li:before {
  content: "19." counter(section) ". ";
}
ol.tertiary-list--19 > li:before {
  content: "19." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--20 > li:before {
  content: "20." counter(section) ". ";
}
ol.tertiary-list--20 > li:before {
  content: "20." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--21 > li:before {
  content: "21." counter(section) ". ";
}
ol.tertiary-list--21 > li:before {
  content: "21." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--22 > li:before {
  content: "22." counter(section) ". ";
}
ol.tertiary-list--22 > li:before {
  content: "22." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--23 > li:before {
  content: "23." counter(section) ". ";
}
ol.tertiary-list--23 > li:before {
  content: "23." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--24 > li:before {
  content: "24." counter(section) ". ";
}
ol.tertiary-list--24 > li:before {
  content: "24." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--25 > li:before {
  content: "25." counter(section) ". ";
}
ol.tertiary-list--25 > li:before {
  content: "25." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--26 > li:before {
  content: "26." counter(section) ". ";
}
ol.tertiary-list--26 > li:before {
  content: "26." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--27 > li:before {
  content: "27." counter(section) ". ";
}
ol.tertiary-list--27 > li:before {
  content: "27." counter(section) "." counter(subsection) ". ";
}
ol.secondary-list--28 > li:before {
  content: "28." counter(section) ". ";
}
ol.tertiary-list--28 > li:before {
  content: "28." counter(section) "." counter(subsection) ". ";
}

/* Footer section */
.footer {
  box-shadow: -12px 4px 28px 0px #1d20240a;
  background-color: var(--primary-color);
  margin-top: 6.4rem;
  margin-bottom: 32px;
  padding: 5.6rem;
  border-radius: 4rem;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--white);
}
.footer hr {
  border-color: var(--background);
  opacity: 40%;
  margin-top: 3.2rem;
  margin-bottom: 3.2rem;
}
.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom > p {
  font-size: 1.4rem;
}
.footer-top a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.footer-nav {
  display: flex;
  gap: 3.2rem;
}
.footer-nav a {
  white-space: nowrap;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  background-color: var(--primary-color);
  z-index: 1000;
  padding: 2.4rem 1.6rem 3.2rem;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  border-bottom-left-radius: 3.2rem;
  border-bottom-right-radius: 3.2rem;
}

.mobile-menu-icon {
  display: none;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5.6rem;
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  margin-bottom: 3.2rem;
  padding: 0 1.6rem;
}

.mobile-menu-nav a {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  margin-bottom: 2.4rem;
}

.mobile-menu hr {
  border-color: #f6f6f6;
  opacity: 0.4;
  margin: 0;
  width: calc(100% - 3.2rem);
  margin-bottom: 3.2rem;
  margin-left: 1.6rem;
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  padding: 0 1.6rem;
}

.mobile-menu-actions a {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  margin-bottom: 2.4rem;
}

.mobile-menu-actions a:last-child {
  font-weight: 500;
  margin-bottom: 0;
}

@media screen and (max-width: 960px) {
  html {
    font-size: 56%;
  }
  .desktop-only {
    display: none !important;
  }
  /* Main */
  ol.tertiary-list {
    margin-left: 0;
  }
  .terms-of-business ul {
    padding-left: 0;
  }
  /* Footer Section */
  .footer {
    margin-bottom: 3.843rem;
  }
  .footer-top {
    flex-direction: column;
    gap: 3.2rem;
  }
  .footer-top a,
  .footer-bottom a {
    font-size: 1.6rem;
  }
  .footer-nav {
    flex-direction: column;
    align-items: center;
  }
  .footer-bottom {
    flex-direction: column-reverse;
    gap: 3.2rem;
    max-width: 24.6rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-bottom p {
    font-size: 1.2rem;
  }
  .solutions .container {
    grid-template-columns: 1fr;
  }
  #features .container {
    grid-template-columns: 1fr;
  }
  .feature-item:nth-child(2) img {
    margin-left: 0;
  }
}

@media screen and (min-width: 961px) {
  .how-it-works-steps .works-image {
    display: none !important;
  }

  .mobile-menu {
    display: none;
  }
}

/* Responsive */
@media screen and (min-width: 1201px) and (max-width: 1400px) {
  html {
    font-size: 57.5%;
  }
}
@media screen and (min-width: 961px) and (max-width: 1200px) {
  header .button-primary {
    white-space: nowrap;
  }
  .nav,
  .nav-links {
    width: auto;
  }
  .nav-links {
    margin-left: 0.8rem;
  }
  .nav-links li {
    width: 10rem;
  }
  html {
    font-size: 50%;
  }
}
@media screen and (max-width: 960px) {
  .mobile-menu-icon {
    display: block;
  }
  header {
    padding: 1.6rem 2rem 0;
    margin-bottom: 2.8rem;
  }
  header > svg {
    flex-shrink: 0;
  }
  header > a.button-primary {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .container,
  .solutions .container {
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }
}
