/* investive.co — port of the original Chakra UI theme (Montserrat, brand
 * purples and peach, breakpoints sm 30em / md 48em / lg 62em / xl 80em). */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #1a202c;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: white;
  color: #2d2c2f;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

footer {
  width: 100%;
  height: 100px;
  color: white;
  background-color: #443a42;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ------------------------------------------------------------- Navigation */

.navbar {
  display: grid;
  grid-template-columns: 1fr 5fr 1fr;
}
.navbar-inner {
  grid-column: 2;
  display: grid;
  grid-template-columns: 1fr 5fr;
  align-items: center;
}
.navbar-logo img {
  width: 140px;
  height: 140px;
  object-fit: contain;
}
.navbar-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 18px;
}
.navbar-links a {
  margin-left: 3rem;
  position: relative;
}
.navbar-links a:hover {
  color: #775b68;
}
.navbar-links a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #775b68;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out 0s;
}
.navbar-links a:hover::before {
  visibility: visible;
  transform: scaleX(1);
}
@media (max-width: 47.99em) {
  .navbar {
    grid-template-columns: 1rem 1fr 1rem;
  }
  .navbar-logo img {
    width: 96px;
    height: 96px;
  }
  .navbar-links a {
    margin-left: 1rem;
    font-size: 16px;
  }
}
@media (min-width: 62em) {
  .navbar {
    grid-template-columns: 1fr 3fr 1fr;
  }
}

/* --------------------------------------------------------------- Sections */

.section {
  width: 100%;
}
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  background-color: #fbfef9;
}
.section-inner {
  min-width: 0;
}
.section-grid.bg-blush,
.bg-blush {
  background-color: #faf5f5;
}
.section-grid.bg-plum,
.bg-plum {
  background-color: #6a5a68;
}
.centered {
  text-align: center;
}
@media (min-width: 48em) {
  .cols-wide {
    grid-template-columns: 1fr 5fr 1fr;
  }
  .cols-wide > .section-inner {
    grid-column-start: 2;
  }
}
@media (min-width: 62em) {
  .cols-wide {
    grid-template-columns: 1fr 3fr 1fr;
  }
}
@media (min-width: 30em) {
  .cols-features {
    grid-template-columns: 1fr 5fr 1fr;
  }
  .cols-features > .section-inner {
    grid-column-start: 2;
  }
}
@media (min-width: 62em) {
  .cols-features {
    grid-template-columns: 1fr 2fr 1fr;
  }
  .cols-contact {
    grid-template-columns: 1fr 10fr 1fr;
  }
  .cols-contact > .section-inner {
    grid-column-start: 2;
  }
}

.display {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: -1px;
  color: black;
}
.subtitle {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: -1px;
}
@media (min-width: 30em) {
  .subtitle {
    font-size: 2.5rem;
  }
}
@media (min-width: 48em) {
  .display {
    font-size: 3rem;
  }
}
.lead {
  font-size: 1.15rem;
  line-height: 1.5;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 1rem;
  border: 0;
  border-radius: 0.375rem;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s;
}
.button:focus-visible,
.input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.6);
}
.button-purple {
  background: #805ad5;
  height: 48px;
  width: 170px;
  margin-top: 20px;
}
.button-purple:hover {
  background: #6b46c1;
}
.button-orange {
  background: #dd6b20;
}
.button-orange:hover {
  background: #c05621;
}

/* ------------------------------------------------------------------ About */

.about,
.goals {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 2.5rem 0;
}
.about-text,
.goals-text {
  display: flex;
  flex-direction: column;
  padding: 0 2.5rem;
  color: black;
}
.about-text .lead,
.goals-text .lead {
  margin-top: 20px;
}
.about-image,
.goals-image {
  display: none;
  justify-content: center;
}
.about-image img,
.goals-image img {
  width: 400px;
  height: 400px;
  object-fit: contain;
}
@media (min-width: 62em) {
  .about,
  .goals {
    grid-template-columns: 1fr 1fr;
  }
  .about-text,
  .goals-text {
    padding: 0;
    margin-right: 50px;
  }
  .about-image,
  .goals-image {
    display: flex;
  }
}
.goals {
  padding: 50px 0;
}
.goals-text {
  justify-content: center;
}

/* --------------------------------------------------------------- Features */

#features {
  margin: 30px 0;
}
.features {
  padding: 5rem 0;
}
@media (min-width: 48em) and (max-width: 61.99em) {
  .features {
    padding: 5rem 30px;
  }
}
.features-card {
  background: white;
  border-radius: 10px;
  padding: 2.5rem 0;
  margin-top: 250px;
}
.features-image {
  display: flex;
  justify-content: center;
  margin-top: -330px;
}
.features-image img {
  width: 320px;
  height: 320px;
  object-fit: contain;
}
@media (min-width: 30em) {
  .features-image img {
    width: 350px;
    height: 350px;
  }
}
@media (min-width: 48em) {
  .features-image img {
    width: 600px;
    height: 576px;
  }
}
.features-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 50px;
  padding: 0 1.25rem;
}
@media (min-width: 62em) {
  .features-card {
    margin-top: 300px;
  }
  .features-image {
    margin-top: -400px;
  }
}
.features-text .subtitle {
  margin-bottom: 15px;
}
@media (min-width: 48em) {
  .features-text {
    padding: 0 5rem;
  }
}
@media (min-width: 80em) {
  .features-text {
    padding: 0 2.5rem;
  }
}

/* ------------------------------------------------------------------- Demo */

.demo {
  display: flex;
  justify-content: center;
  padding: 100px 1rem;
}
.demo img {
  object-fit: contain;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  box-shadow: 0 0 93px 0 rgba(148, 148, 148, 0.83);
}

/* ---------------------------------------------------------------- Contact */

.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2.5rem 1.25rem;
  color: white;
}
@media (min-width: 48em) {
  .contact {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 62em) {
  .contact {
    grid-template-columns: 1fr 2fr 2fr;
    gap: 0;
    padding: 5rem 1.25rem 5.5rem;
  }
  .contact-col + .contact-col {
    padding: 0 2.5rem;
  }
}
.contact h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
}
@media (min-width: 30em) {
  .contact h3 {
    font-size: 2rem;
  }
}
.twitter {
  display: inline-block;
  color: white;
  margin-top: 0.25rem;
}
.subscribe {
  display: inline-block;
  margin-top: 0.25rem;
}
.input {
  width: 200px;
  height: 2.5rem;
  margin: 0 0 10px;
  padding: 5px;
  font: inherit;
  font-size: 1em;
  color: black;
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
}
.input::placeholder {
  color: #a0aec0;
}
.contact .input {
  color: white;
}
.notice {
  margin-bottom: 0.5rem;
  max-width: 28rem;
}
.notice-success {
  color: #9ae6b4;
}
.notice-error {
  color: #feb2b2;
}

/* -------------------------------------------------------------------- FAQ */

.faq {
  display: grid;
  grid-template-columns: 1fr 12fr 1fr;
  width: 100%;
  margin-bottom: 100px;
}
@media (min-width: 48em) {
  .faq {
    grid-template-columns: 1fr 3fr 1fr;
  }
}
.faq-inner {
  grid-column: 2;
  display: flex;
  flex-direction: column;
}
.faq-title {
  text-align: center;
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
}
@media (min-width: 48em) {
  .faq-title {
    font-size: 3rem;
  }
}
.faq-item {
  margin: 20px 0;
}
.faq-question {
  font-size: 1.5rem;
}
.faq-answer {
  font-size: 1.15rem;
}
.faq-answer a {
  text-decoration: underline;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
