:root {
  --primary: #2E3585;
  --secondary: #195C4E;
  --background: #EFECEC;
  --text: #1c2024;
  --gray: #e8e8ec;
  --light-blue: #F4F6FF;
  --light-gray: #80838d;
  --light-gray-11: #60646c;
  --blue-light-accent: #f5f8ff;
  --blue-dark-accent: #2e3585;
  --blue-dark-accent-2: #222574;
  --blue-dark-accent-3: #5360c4;
  --blue-dark-accent-4: #dfe7ff;
  --blue-dark-accent-5: #ecf0ff;
  --blue-dark-accent-6: #fbe7de;
}

* {
  box-sizing: border-box;
}

ul {
  list-style: none;
}

/* Headings */
h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 60px;
  font-weight: bold;
  line-height: 72px;
}

h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 40px;
  line-height: normal;
  font-weight: 500;
}

h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 32px;
  line-height: normal;
  font-weight: 500;
}

h4 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 18px;
  line-height: normal;
  font-weight: 500;
}


body {
  font-family: "Mulish", sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
}

nav {
  max-width: 1240px;
  margin: auto;
  background-color: #fff;
  margin-top: 12px;
  padding: 17px;
  border-radius: 28px;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.25);
}

.message {
  gap: 10px;
  display: none;
}

.message i {
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 60px;
}

.nav-links a {
  font-family: "Bricolage Grotesque", sans-serif;
  color: var(--light-gray-11);
  font-weight: 500;
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}

nav .cta-button {
  background-color: var(--blue-dark-accent-3);
  border-radius: 26px;
  padding: 9px 44px;
}

.cta-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 400;
}

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

.cta-white:hover {
  background-color: var(--primary);
  border: 2px solid white;
  color: white;
}

/* Header */
@media screen and (max-width: 719px) {
  nav .nav-links {
    display: none;
  }
  header {
    margin: 0 10px;
  }
  nav .cta-button {
    padding: 12px 20px;
  }
}

/* Hero */
.hero {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 1240px;
  margin: 32px auto 0 auto;
  padding: 40px;
  background-color: var(--primary);
  border-radius: 40px;
}

.hero p {
  font-size: 20px;
  font-weight: 200;
  padding: 35px 0;
  color: var(--blue-light-accent);
  padding-right: 95px;
}

.hero .image {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  color: var(--blue-dark-accent-4);
}

.hero .cta-button {
  border-radius: 26px;
  padding: 11px 51px;
  font-weight: bold;
}

@media screen and (max-width: 719px) {
  .hero {
    padding: 10px;
    margin: 0 15px;
    margin-top: 20px;
  }
  .hero h1 {
    font-size: 48px;
    line-height: 60px;
  }
  .hero p {
    font-size: 18px;
    padding: 30px 0;
  }
}

/* How it works */
#how-works h2 {
  color: var(--primary);
  text-align: center;
}

#how-works ul {
  display: flex;
  flex-direction: row;
  gap: 40px;
  margin-top: 40px;
}

#how-works li {
  background-color: white;
  width: 33%;
  border-radius: 28px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#how-works .step {
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  background-color: var(--blue-dark-accent-5);
  font-size: 16px;
  font-weight: bold;
  font-family: "Bricolage Grotesque", sans-serif;
}
#how-works h4 {
  font-family: "Bricolage Grotesque", sans-serif;
  color: var(--text);
  font-weight: bold;
  font-size: 24px;
}

@media screen and (max-width: 719px) {
  #how-works ul{
    flex-direction: column;
  }
  #how-works li {
    width: 100%;
  }
  #how-works h4 {
    font-size: 16px;
  }
}

/* Solutions */
@media screen and (max-width: 719px) {
  .hero {
    flex-direction: column;
  }
  .hero .image {
    margin-top: 40px;
  }
}

/* Page sections */
.content {
  width: 100%;
}

.section {
  max-width: 1240px;
  margin: 80px auto 0 auto;
}

@media screen and (max-width: 719px) {
  .section {
    padding: 0 20px;
  }
}

/* Solutions */
#solutions h2 {
  color: var(--primary);
  text-align: center;
}

#solutions h3 {
  color: var(--primary);
  text-align: center;
}

.solution-list {
  display: flex;
  flex-direction: row;
  margin: 0 auto;
  padding: 32px 0;
  gap: 56px;
  justify-content: center;
}

.solution-list li {
  border-radius: 1.5rem;
  height: 48px;
  line-height: 48px;
  padding: 0 20px;
  color: var(--primary);
  cursor: pointer;
  background-color: var(--gray);
}

.solution-list li:hover {
  color: #fff;
  background: var(--blue-dark-accent-3);
}

.solution-list li.active {
  color: #fff;
  background: var(--blue-dark-accent-3);
}

.content-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.solution {
  width: 3609px;
  display: flex;
  flex-direction: row;
  gap: 40px;
}

.solution::-webkit-scrollbar {
  display: none;
}

.solution li {
  display: flex;
  width: 1203px;
  height: 432px;
  border-radius: 40px;
  background-color: var(--blue-dark-accent-5);
  color: var(--blue-dark-accent-2);
}

.solution img {
  object-fit: contain;
}

.right-content {
  display: flex;
  justify-content: center;
  justify-items: center;
  align-items: center;
  width: 100%;
  text-align: left;
  gap: 200px;
}

.center-content {
  max-width: 400px;
}

/* Solutions */
@media screen and (max-width: 719px) {
  .solution {
    padding: 0 20px;
  }
  .solution-list {
    width: 600px;
    display: flex;
    flex-direction: row;
    gap: 5px;
  }
  .solution-list li {
    min-width: 176px;
    text-align: center;
  }
  .content-container {
    margin: 40px 0 0 0;
  }
  .solution li {
    width: 100vw;
    padding: 0 20px;
  }

  .right-content {
    gap: 20px;
  }
}

/* Features */
#features h2 {
  color: var(--primary);
  text-align: center;
  max-width: 710px;
  margin: 0 auto;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 0 auto;
  padding-top: 40px;
}

.feature-list li {
  display: flex;
  flex: 1 1 calc(33.333% - 40px);
  height: 144px;
  flex-direction: row;
  align-items: center;
  border-radius: 40px;
  padding: 40px 20px;
  background-color: #fff;
  gap: 20px;
}

#features .icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background-color: var(--light-blue);
  display: flex;
  justify-content: center;
  align-items: center;
}

#features h4 {
  text-align: left;
}

/* Features */
@media screen and (max-width: 719px) {
  #features .feature-list {
    flex-direction: column;
  }

  #features .feature-list li {
    flex: 1;
    width: 100%;
  }
}


/* Testimonials */
#testimonials h2 {
  color: var(--primary);
  text-align: center;
}
#testimonials ul {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 40px;
  margin-top: 40px;
}
#testimonials li {
  width: 410px;
  border-radius: 40px;
  background-color: white;
  padding: 40px 60px;
}
#testimonials .text {
  font-size: 22px;
  font-family: "Bricolage Grotesque", sans-serif;
  line-height: 128%;
  margin-bottom: 20px;
}

#testimonials .author {
  font-size: 16px;
  color: var(--light-gray);
}

@media screen and (max-width: 719px) {
  #testimonials ul {
    flex-direction: column;
  }
  #testimonials li {
    width: 100%;
    height: auto;
  }
}

/* Waitlist */
#waitlist .banner {
  width: 100%;
  background-color: var(--blue-dark-accent-6);
  border-radius: 40px;
  padding: 40px;
}

#waitlist h2 {
  color: var(--blue-dark-accent-2);
}

#waitlist p {
  max-width: 620px;
  color: var(--blue-dark-accent-2);
}

#waitlist form {
  max-width: 595px;
  height: 64px;
  border-radius: 16px;
  padding: 10px;
  background-color: white;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-top: 35px;
  position: relative;
}

#waitlist input[type="email"] {
  flex: 1;
  padding: 0 10px;
  height: 34px;
  outline: none;
}

#waitlist .send {
  min-width: 185px;
  height: 44px;
  color: white;
  border-radius: 16px;
  background-color: #5360c4;
}

#waitlist .mobile-send {
  display: none;
}

@media screen and (max-width: 719px) {
  #waitlist .banner {
    height: auto;
    padding-bottom: 80px;
  }
  #waitlist input[type="email"] {
    width: 50px;
  }
  #waitlist .send {
    display: none;
  }
  #waitlist .mobile-send {
    min-width: 100%;
    height: 44px;
    color: white;
    border-radius: 16px;
    background-color: #5360c4;
    display: block;
    position: absolute;
    top: 40px
  }
  #waitlist form {
    height: 46px;
    flex-direction: column;
  }
  #waitlist input[type="email"] {
    width: 100%;
  }
}

/* FAQ */
#faq {
  display: flex;
  flex-direction: row;
}
#faq h2 {
  color: var(--primary);
  text-align: left;
  max-width: 400px;
}

#faq p {
  color: var(--light-gray-11);
  font-size: 16px;
  margin-top: 24px;
}

#faq summary {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

#faq .title {
  width: 50%;
}
#faq .question-list {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#faq details {
  width: 100%;
  padding: 20px 40px;
  background-color: white;
  font-family: "Bricolage Grotesque", sans-serif;
  color: var(--text);
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

#faq .content-accordion {
  flex: 1;
  margin-top: 20px;
}

#faq details .icon {
  width: 30px;
  height: 30px;
  border-radius: 100%;
  background-color: var(--blue-light-accent);
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 719px) {
  #faq {
    flex-direction: column;
  }
  #faq .title {
    width: 100%;
  }
  #faq h2 {
    max-width: 100%;
  }
  #faq .question-list {
    width: 100%;
  }
  #faq .text {
    width: 100%;
    margin-bottom: 24px;
  }
}

/* Hide minus icon by default */
.minus-icon {
  display: none;
}

/* When accordion is open, toggle icons */
details[open] .plus-icon {
  display: none;
}

details[open] .minus-icon {
  display: inline;
}

footer {
  background-color: var(--blue-dark-accent-2);
  color: white;
  padding: 30px;
  margin-top: 60px;
}

footer .about {
  max-width: 293px;
}

footer p {
  font-size: 16px;
  font-weight: 200;
  padding: 20px 0;
}

footer .social {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.social li {
  width: 44px;
  height: 44px;
  background-color: var(--blue-dark-accent);
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.section-footer {
  max-width: 1240px;
  margin: 0 auto;
}

.copy {
  margin-top: 20px;
  border-top: 1px solid #a9baff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
}
.copy p {
  font-size: 13px;
}

.copy .lang {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}

.copy select {
  outline: none;
  padding-right: 10px;
  font-weight: 200;
}

@media screen and (max-width: 719px) {
  .copy {
    flex-direction: column;
    align-items: flex-start;
  }
}