@charset "UTF-8";
main {
  font-size: 125%;
  line-height: 1.6;
}

p {
  font-size: 1em;
}

h2,
h3 {
  text-wrap: balance;
}

.section-head {
  max-width: 50rem;
  text-wrap: balance;
  text-align: center;
  margin: 3rem auto;
}

.btn.btn-lg {
  padding: 1.25rem 3rem;
}

.wall-illo {
  text-align: center;
}

.container-narrower {
  max-width: 50rem;
  margin: 0 auto;
}

.text-narrow {
  max-width: 30rem;
  margin-left: auto;
  margin-right: auto;
}

.img-shadow {
  box-shadow: 0 17px 54px 0 rgba(92, 92, 92, 0.1);
}

/*
	Testimonials Section
	--------------------
*/
.testimonials-section {
  background-image: url("/img/homepage/product-bg-orange.png");
  background-size: contain;
  background-position: center top;
}

.testimonial-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 2rem;
  font-size: 0.85em;
}

.testimonial-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 0.5em;
  color: #444;
}
.testimonial-item a {
  color: var(--body-bg);
  text-decoration: none;
}
.testimonial-item img {
  border-radius: 50%;
}
.testimonial-item p:last-child {
  margin: 0;
}
.testimonial-item:nth-child(3n) {
  margin-bottom: 2rem;
}
.testimonial-item:nth-child(3n+2) {
  margin-top: 2rem;
}
.testimonial-item:nth-child(3n+1) {
  margin: 1rem 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  margin-bottom: 1rem;
}
.testimonial-author a {
  font-weight: bold;
  color: inherit;
}

@media (max-width: 45em) {
  .testimonial-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: scroll;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
  }
  .testimonial-item {
    width: 100%;
    flex-shrink: 0;
    margin: 0 !important;
    scroll-snap-align: start;
  }
}
/*
	Hero section
	------------
*/
.hero-container {
  overflow-x: clip;
}

.hero-section {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.hero-section > * {
  flex-shrink: 1;
  flex-grow: 1;
  flex-basis: 0;
}

.hero-section-text {
  padding: 5rem 10rem 5rem 0;
  text-wrap: balance;
}

.hero-section-image img {
  margin-top: 0;
  scale: 1.7;
  border-radius: 16px;
  box-shadow: 10px 30px 30px rgba(0, 0, 0, 0.1);
}

.hero-cta {
  text-align: center;
  width: max-content;
  margin: 2rem 0;
}

.hero-cta span {
  display: block;
  font-size: 0.8em;
  opacity: 0.6;
  margin: 0.5rem 0;
}

@media (max-width: 64em) {
  .hero-section {
    flex-direction: column;
  }
  .hero-section-text {
    padding: 0;
    text-align: center;
  }
  .hero-cta {
    margin-inline: auto;
  }
}
/*
	Summary features
	----------------
*/
.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
  margin: 2rem 0;
}
.feature-tabs button {
  flex-grow: 1;
  flex-shrink: 1;
  max-width: 11em;
  appearance: none;
  border-radius: 2em;
  padding: 0.7em;
  text-align: center;
  font-weight: bold;
  background: var(--button-bg);
  color: white;
  transition: color 0.5s, background 0.5s;
}
.feature-tabs button[aria-selected=true] {
  background: white;
  color: var(--button-main-color);
}

.feature-tabs-content {
  display: grid;
  grid-template-columns: 1fr;
  isolation: isolate;
  margin: 3rem 0;
}

.summary-feature {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  opacity: 1;
  align-items: center;
  transition: opacity 0.5s;
  mix-blend-mode: plus-lighter;
}

.summary-feature[aria-hidden=true] {
  opacity: 0;
}

.summary-feature > * {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
}

.summary-feature-text {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  margin: 2rem 0;
}

.summary-feature-text h3 {
  font-size: 1.5em;
  margin: 0 0 1em;
}

.summary-feature-text p {
  opacity: 0.8;
}

.summary-feature-text > div {
  max-width: 400px;
}

@media (max-width: 64em) {
  .summary-feature {
    display: block;
  }
  .summary-feature-text {
    margin: 0 0 2rem;
  }
  .summary-feature figure {
    max-width: 600px;
    margin: 0 auto;
  }
  .hero-section-image {
    margin: 1rem 0;
  }
  .hero-section-image img {
    scale: 1.1;
    border-radius: 6px;
    box-shadow: 0.5rem 0.75rem 1.875rem rgba(0, 15, 50, 0.1);
  }
  .hero-section {
    gap: 0;
  }
  .customer-logos svg {
    max-width: 96px;
  }
}
@media (max-width: 40em) {
  .feature-tabs {
    display: none;
  }
  .feature-tabs-content {
    display: block;
  }
  .summary-feature {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
  .summary-feature[aria-hidden=true] {
    opacity: 1;
  }
}
/*
	Workflow
	--------
*/
.workflow-feature {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 4rem -0.75rem;
  align-items: center;
}

.workflow-section .section-head {
  margin-top: 5rem;
}

.workflow-feature h3 {
  font-size: 1.5em;
}

.workflow-feature > * {
  flex-shrink: 1;
  flex-grow: 1;
  flex-basis: 0;
  padding: 1rem;
}

.workflow-feature > .full-bleed {
  padding: 0;
}

.workflow-feature-reverse {
  flex-direction: row-reverse;
}

.workflow-feature-text {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
}

.workflow-feature-text > div {
  max-width: 400px;
}

@media (max-width: 40em) {
  .workflow-feature {
    flex-direction: column;
  }
}
/*
	Ecosystem section
	-----------------
*/
.ecosystem-section {
  background-image: url("/img/homepage/confetti-left.png"), url("/img/homepage/confetti-right.png"), url("/img/homepage/footer-wide.png");
  background-repeat: no-repeat;
  background-size: 40em auto, 60rem auto, contain;
  background-position: -10% 20rem, 110% top, center bottom;
}

.ecosystem-section .section-head {
  margin: 13rem auto 5rem;
}

.ecosystem-section .join-banner {
  margin: 5rem auto;
  font-weight: bold;
}

.ecosystem-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 4rem;
  margin: 2rem 0;
}
.ecosystem-features li {
  margin: 1rem 0;
}

@media (max-width: 60em) {
  .ecosystem-section {
    background-image: none;
  }
  .ecosystem-section .section-head {
    margin-top: 2rem;
  }
}
@media (max-width: 40em) {
  .ecosystem-features {
    display: block;
  }
}
/*
	Essentials section
	------------------
*/
.essential-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}
.essential-features img {
  max-width: 100%;
  max-height: 15em;
  display: block;
  margin: 0 auto;
}
.essential-features h3 {
  margin: 3rem 0 2rem;
  color: var(--accent-color);
  text-wrap: balance;
}
.essential-features ul {
  list-style-type: "✓ ";
}
.essential-features li {
  margin: 1rem 0;
}
.essential-features ::marker {
  color: var(--accent-color);
}

@media (max-width: 50em) {
  .essential-features {
    display: block;
  }
}
/*
	Join section
*/
.join-section-cta p {
  margin-top: 1em;
  font-size: 0.8em;
  opacity: 0.8;
}

@media (min-width: 50em) {
  .mobile-only {
    display: none;
  }
}
@media (max-width: 50em) {
  .desktop-only {
    display: none;
  }
}