#auto-escala-preview .ecosystem-page .ecosystem-hero {
  display: grid;
  align-items: center;
  min-height: clamp(460px, 43vw, 620px);
  background:
    linear-gradient(90deg, #000 2%, #000A 42%, transparent 80%),
    url("fundo-oficina-titulo.webp") right center / cover no-repeat,
    #000;
}

#auto-escala-preview .ecosystem-hero h1 {
  max-width: 23ch;
  font-size: clamp(34px, 4.45vw, 66px);
  font-weight: 700;
  text-wrap: wrap;
}

#auto-escala-preview .ecosystem-hero p {
  max-width: 48ch;
}

#auto-escala-preview .ecosystem-page .ecosystem-hero-line {
  margin-bottom: 0;
  padding-inline-start: 16px;
  border-inline-start: 2px solid var(--blue);
  color: var(--white);
  font-weight: 700;
}

#auto-escala-preview .ecosystem-page h2 {
  max-width: 30ch;
  font-weight: 700;
  text-transform: uppercase;
  text-wrap: pretty;
}

#auto-escala-preview .ecosystem-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: start;
  gap: clamp(24px, 5vw, 72px);
}

#auto-escala-preview .ecosystem-page :is(.ecosystem-essence, .ecosystem-people) {
  background: var(--white);
}

#auto-escala-preview .ecosystem-page .ecosystem-fronts {
  background: #F3F4F6;
}

#auto-escala-preview .ecosystem-essence h2 {
  margin-bottom: clamp(22px, 3vw, 44px);
}

#auto-escala-preview .ecosystem-essence .ecosystem-statement {
  align-self: center;
  max-width: 29ch;
  margin: 0;
  padding-inline-start: clamp(16px, 2vw, 28px);
  border-inline-start: 3px solid var(--blue);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: clamp(24px, 2.45vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.025em;
  text-wrap: pretty;
}

#auto-escala-preview .ecosystem-front-list {
  margin: 0;
  padding: 0;
  border-block-start: 1px solid var(--line);
  list-style: none;
}

#auto-escala-preview .ecosystem-front-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding-block: 17px;
  border-block-end: 1px solid var(--line);
}

#auto-escala-preview .ecosystem-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #0098F912;
  color: #006BAF;
}

#auto-escala-preview .ecosystem-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#auto-escala-preview .ecosystem-front-list h3 {
  margin-bottom: 6px;
}

#auto-escala-preview .ecosystem-front-list h3 a {
  text-decoration-color: #0098F980;
  text-decoration-thickness: 1px;
}

#auto-escala-preview .ecosystem-page :is(.ecosystem-front-list li, .ecosystem-tools > div, .ecosystem-essence) p:last-child {
  margin-bottom: 0;
}

#auto-escala-preview .ecosystem-page :is(.ecosystem-method, .ecosystem-future, .ecosystem-invite) {
  background: var(--black);
  color: var(--white);
  border-block-end-color: #FFFFFF24;
}

#auto-escala-preview .ecosystem-page .ecosystem-method {
  background: var(--graphite);
}

#auto-escala-preview .ecosystem-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 36px);
  margin-top: clamp(24px, 3vw, 42px);
}

#auto-escala-preview .ecosystem-tools > div {
  padding-block-start: 18px;
  border-block-start: 1px solid var(--blue);
}

#auto-escala-preview .ecosystem-people-grid {
  /* Use a deeper gold for small type on the white caption area. */
  --mentor-founder-color: #806132;
  gap: clamp(18px, 2.5vw, 36px);
  margin-top: clamp(24px, 3vw, 42px);
}

#auto-escala-preview .ecosystem-people-grid > div {
  min-width: 0;
}

#auto-escala-preview .ecosystem-founder-photo {
  position: relative;
  isolation: isolate;
  margin-bottom: 16px;
  border-radius: 14px;
}

#auto-escala-preview .ecosystem-people-grid .ecosystem-founder-photo img {
  margin-bottom: 0;
}

#auto-escala-preview .ecosystem-people-grid img {
  display: block;
  width: 100%;
  height: clamp(224px, 30vw, 432px);
  margin-bottom: 16px;
  border-radius: 14px;
  background: #102236;
  object-fit: cover;
  object-position: center top;
}

#auto-escala-preview .ecosystem-people-grid p {
  max-width: 35ch;
}

#auto-escala-preview .ecosystem-text-link {
  display: inline-block;
  color: #006BAF;
  font-weight: 600;
}

#auto-escala-preview .ecosystem-future .ecosystem-split {
  align-items: center;
}

#auto-escala-preview .ecosystem-future img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

#auto-escala-preview .ecosystem-future-points {
  margin: 0 0 18px;
  padding-inline-start: 1.25em;
  color: var(--white);
}

#auto-escala-preview .ecosystem-future-points li + li {
  margin-top: 6px;
}

#auto-escala-preview .ecosystem-future-points li::marker {
  color: var(--blue);
}

#auto-escala-preview .ecosystem-future .ecosystem-split p {
  margin-bottom: 0;
}

#auto-escala-preview .ecosystem-page .ecosystem-invite {
  background: #111820;
  text-align: center;
}

#auto-escala-preview .ecosystem-invite :is(h2, p) {
  margin-inline: auto;
}

#auto-escala-preview .ecosystem-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

#auto-escala-preview .ecosystem-actions .action:is(:hover, :active) {
  background: var(--white);
  color: var(--black);
  box-shadow: none;
  text-decoration: none;
}

@media (max-width: 800px) {
  #auto-escala-preview .ecosystem-page .ecosystem-hero {
    min-height: 0;
    background-image:
      linear-gradient(90deg, #000F, #000B 75%, #0008),
      url("fundo-oficina-titulo.webp");
  }

  #auto-escala-preview .ecosystem-split {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  #auto-escala-preview .ecosystem-page .ecosystem-tools {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (width < 768px) {
  #auto-escala-preview .ecosystem-people-grid {
    --mentor-subheading-display: block;
    --mentor-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  #auto-escala-preview .ecosystem-people-grid > div:first-child {
    grid-column: 1 / -1;
  }

  #auto-escala-preview .ecosystem-people-grid img {
    height: auto;
    aspect-ratio: 3 / 4;
    margin-bottom: 10px;
  }

  #auto-escala-preview .ecosystem-people-grid .ecosystem-founder-photo img {
    aspect-ratio: 4 / 5;
  }

  #auto-escala-preview .ecosystem-people-grid > div:not(:first-child) h3 {
    font-size: clamp(16px, 4.2vw, 20px);
    line-height: 1.25;
  }

  #auto-escala-preview .ecosystem-people-grid > div:not(:first-child) p {
    font-size: 14px;
    line-height: 1.5;
  }
}
