/* LEDGO P1 improvements: scoped layer over transferred Flexbe HTML. */
/*
 * Static transfer guard.
 * Flexbe hides some animated sections with opacity: 0 until its runtime marks
 * them as initialized. In the HTML transfer the runtime can fail on Flexbe API
 * calls, so the first screen may stay black even though the content exists.
 */
body.is-view .main-area,
body.is-view .animation-slideup,
body.is-view [class*="animation-"],
body.is-view [data-animation] {
  opacity: 1 !important;
  visibility: visible !important;
}

.ledgo-p1 {
  font-family: Montserrat-Light, Roboto, Helvetica, Arial, sans-serif;
  color: #111;
  background: #fff;
}

.ledgo-p1 * {
  box-sizing: border-box;
}

.ledgo-p1 a {
  color: inherit;
}

.ledgo-p1__inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
}

.ledgo-p1__eyebrow {
  margin: 0 0 14px;
  color: #777;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ledgo-p1 h2,
.ledgo-p1 h3 {
  font-family: Montserrat-Regular, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

.ledgo-p1 h2 {
  max-width: 920px;
  margin: 0 0 18px;
  font-size: 38px;
  line-height: 1.15;
}

.ledgo-p1 h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.25;
}

.ledgo-p1 p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

.ledgo-p1__lead {
  max-width: 860px;
  color: #333;
}

.ledgo-p1__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.ledgo-p1__card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fafafa;
}

.ledgo-p1__card p {
  color: #444;
  font-size: 15px;
  line-height: 1.55;
}

.ledgo-p1__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.ledgo-p1__links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 11px 16px;
  border: 1px solid #111;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
}

.ledgo-p1__links a:first-child {
  color: #fff;
  background: #111;
}

.ledgo-p1__faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 26px;
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid #e8e8e8;
}

.ledgo-p1__faq article {
  min-width: 0;
}

.ledgo-p1__faq h3 {
  font-size: 18px;
}

.ledgo-p1__faq p {
  color: #444;
  font-size: 15px;
  line-height: 1.55;
}

.ledgo-p1--dark {
  color: #fff;
  background: #111;
}

.ledgo-p1--dark .ledgo-p1__eyebrow,
.ledgo-p1--dark .ledgo-p1__lead,
.ledgo-p1--dark .ledgo-p1__card p,
.ledgo-p1--dark .ledgo-p1__faq p {
  color: #d8d8d8;
}

.ledgo-p1--dark .ledgo-p1__card {
  border-color: #333;
  background: #191919;
}

.ledgo-p1--dark .ledgo-p1__links a {
  border-color: #fff;
}

.ledgo-p1--dark .ledgo-p1__links a:first-child {
  color: #111;
  background: #fff;
}

.ledgo-p1--dark .ledgo-p1__faq {
  border-top-color: #333;
}

@media (max-width: 900px) {
  .ledgo-p1__inner {
    width: min(100% - 28px, 680px);
    padding: 54px 0;
  }

  .ledgo-p1 h2 {
    font-size: 30px;
  }

  .ledgo-p1__grid,
  .ledgo-p1__faq {
    grid-template-columns: 1fr;
  }
}
